Posts by Bene • 303 points
13 posts
-
5
votes2
answers781
viewsQ: Create profiles in application
I need to modify my application so that each user sees its particular content, because each user will have information of its own. I’ve set up the default authentication using make auth and it’s…
-
1
votes1
answer242
viewsQ: How to group numeric sequences?
Friends, I have a csv file with 5k lines in which there are purchase transactions. There is an id for each purchase, it occurs that for a lot where several purchases transactions are made there is…
-
1
votes2
answers1752
views -
0
votes1
answer290
viewsQ: Simple example of p2p blockchain in python, anyone?
Hello, I am interested in blockchain technology to track origin of products to prevent fraud (imported drinks). Someone would have examples and how to start in python. thanks.
-
1
votes1
answer1608
viewsQ: Help with Strike Match Similarity Algorithm
Friends need a help in implementing the algorithm below that looks for similarities: import nltk import pandas as pd def get_bigrams(string): s = string.lower() return [s[i:i+2] for i in…
-
1
votes1
answer309
viewsQ: Alternative to using view variables in mysql
I need to create a view that gets the percentage of each product in relation to the total of products, I made the query below and this working as a normal select: set @total := (SELECT…
-
0
votes1
answer93
viewsQ: Select conditional that takes value from another table
I need to make a conditional select that checks a sum performed that way: select round(sum((`gin`.`Caixa_9L` / 1000)),1) AS `total` from `gin` If this sum above is = 0, I need to take a value of a…
-
1
votes0
answers300
viewsQ: Truncate numbers in a Mysql column
I want to leave all numbers that are entered in my bank with a maximum of 1 decimal place after the comma without rounding Ex: 3.2567 = 3.2 I want to know if I can truncate all the column of the…
-
0
votes0
answers241
viewsQ: Tabulation in excel
Hello I have a spreadsheet with some data on imports from the IRS. On this worksheet I do a tabulation of data, based on one of the columns that comes in this worksheet called "product description",…
-
3
votes0
answers461
viewsQ: Machine Learning using R and excel
Hello I have some data that I tabulate in excel monthly, which is very repetitive. I wonder if there is any way to use machine learning in R to teach an algorithm, based on the data I already have,…
-
2
votes3
answers1376
viewsQ: Retrieve data in Mysql DB using AJAX/PHP to create a badge containing DB item count
I need to get an item count in my Mysql DB using ajax and php. My ajax is like this: <code> $(document).ready(function(){ $('#badgewel').empty(); //Limpa a tabela $.ajax({ type:'get', //método…
-
2
votes3
answers807
viewsQ: Force url forwarding with htaccess password
I need to test a site that I am creating and for that I will let some people access it, I just want to leave access to a specific url that opens the login of the site.…
-
-2
votes1
answer81
viewsQ: View recent products registered with php in thumbnails
I have a page and I need to display at index some 4 Thumbs with the latest products registered in my mysql database, I want to do this using php. If anyone can help thanks. My index uses bootstrap…