Posts by Jorge Vidinha • 290 points
6 posts
-
1
votes1
answer81
viewsQ: Concurrent.Utures and Class Object
I am trying to create a class (Processor) that runs a series of functions to get results from a State-to-State API. (STATE) 1- READ data from a table. 2-SEND request for the API to process. 3- WAIT…
-
2
votes1
answer804
viewsA: Count amount of "holes" in the letters of a text
I created a dictionary with letter and value type Dict = {'A':1,'B':2} then iterated by its fruits summarizing values found in Dict. Ps. I would like to see this with list comprehensions or…
-
0
votes2
answers626
viewsA: Separate file lines into tokens - Python
Use the string.split method() , http://www.tutorialspoint.com/python/string_split.htm “split this string”.split(‘ ‘) [‘split’, ‘this’, ‘string’] >>> “split,this,string”.split(‘,’) [‘split’,…
pythonanswered Jorge Vidinha 290 -
7
votes4
answers10456
viewsA: Workbench for Postgresql
Jetbrains' Novissimo Datagrip, PAGA. 30 days free to test and fall in love. If you are already writing code in some IDE of the jetbrains Idea platform you will stay at home.…
postgresqlanswered Jorge Vidinha 290 -
1
votes5
answers9719
viewsA: Copy data from one database to another postgress
I think you’ll need the dblink extension - dblink -- executes a query in a remote database http://www.postgresql.org/docs/9.4/static/contrib-dblink-function.html…
postgresqlanswered Jorge Vidinha 290 -
5
votes1
answer236
viewsQ: Monitoring REST API status
I’m learning and trying to solve a POST case request where a dispatch of a body well wide to be processed by API and the return is a job ID to access the result. It turns out that the time it takes…