i've joined the two tables on the currency. so : ``` select ... sum( case when currency = 'USD' then amount * exrt.rate when currency = 'EUR' then amou...
i want to convert a flat dict to a nested dict: input = [{"name": "maysam", "age": 27, "localtion": "teh"}, {"name": "john", "age": 20, "localtion": "lon"}, {"name": "hamed"...
do we need to install every package we need for every project? how is this package management thing work in golang? any good links on that? i have a projects/go/ folder and i ...
if __name__ == '__main__': t = sys.argv print(t) shouldn't the code above include the: cat test.json | python nest.py name, age, location json file passed to it? i ...
yea, good question! :) i think it's better if we don't get into a list, because it may get more memory? since it's mutable, and prone to changes, i would use something like th...
Is the gorilla/mux the main and best package for web development in go? any python developers here to tell me if im correct to think mux is the flask of golang?
i downloaded go latest version(1.12.1) and pasted it's folder in /usr/local/ but im still getting 1.10 version. i installed go with apt first time, and purged it from my syste...