Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lqdc13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
631.
▲
by
lqdc13
13y ago
zip to unzip a dict is a very slow approach to do it Instead of mi = dict(zip(m.values(), m.keys())) Do mi = {v: k for (k, v) in m.iteritems()}
632.
▲
by
lqdc13
13y ago
Several of my graduate math professors sometimes failed at solving Calculus problems on the board because they made a mistake somewhere and couldn't evaluate an integral. In Bio classes, almost everyone used Powerpoint. Those who did
633.
▲
by
lqdc13
13y ago
I prefer Powerpoint over white/blackboard because: 1. People make mistakes on the whiteboard 2. You can't save it and review later 3. Even if you write everything down, it would still be less information than what someone could a
634.
▲
by
lqdc13
13y ago
It's about 2x faster in regular CPython 2.7 on my machine. In pypy it is actually way slower than your original one. In many cases, pypy cannot be used, because it's not compatible with all the libraries.
635.
▲
by
lqdc13
13y ago
I updated with a pandas script as well. I think the strength of the languages have in part to do with their libraries. You have to pick the right tools for the right task. The pandas version runs 3x faster than regular python, but 17x slow
636.
▲
by
lqdc13
13y ago
Also there is integer overflow in the C code and maybe others because the sum doesn't fit in 64 bit integer.
637.
▲
by
lqdc13
13y ago
The Python code is terrible. That's not how you code in Python. Also, this implementation seems to take more than 32 GB on my machine. Here is a refactor: https://gist.github.com/lqdc/9149772 Anyway, this problem
638.
▲
by
lqdc13
13y ago
I rather have no data at all than constant disconnects and cut offs for the 2-3 phone calls I place a day. I really wanted to like T-mobile, but their service in SF sucks for me. The other issue I have with them is that if you cancel your m
639.
▲
by
lqdc13
13y ago
The voice calls were cutting out on a Nexus 4 on those streets when walking on the right side of the sidewalk North from Broadway to Bay and walking East on Bay from there. I also never used ATT so I don't know how their service is. Ba
640.
▲
by
lqdc13
13y ago
I live in San Francisco and there is no coverage when walking around the city with T-mobile. Verizon has coverage everywhere. I'm not even talking about elevators. Just sidewalks of major central pedestrian roads like Bay St and Hyde S
641.
▲
by
lqdc13
13y ago
San Francisco, CA. Relocation Assistance provided. Juniper Networks. www.juniper.net You will be working on the team that works with http://www.mykonossoftware.com/ * Above all: interest in coding, security and statisti
642.
▲
by
lqdc13
13y ago
My parents didn't help me either, but I had absolutely no problem with tuition. And it wasn't because I paid it off after every semester. Why not just take out loans and go to a state school? I went to a good engineering state s
643.
▲
Snowden, in Russia, Said to Seek Asylum in a Third Nation
(nytimes.com)
3 points
by
lqdc13
13y ago
|
0 comments
644.
▲
by
lqdc13
13y ago
both result in 100% cpu use in ubuntu + chrome/firefox on 3570k processor. Conclusion: don't use that many sprites.
645.
▲
by
lqdc13
13y ago
There would probably be a few things different. I think the different things could just be replaced by a new different thing. For ex if the words are synonyms, auto-replace it by another synonym. Same with punctuation. But now you need so
646.
▲
by
lqdc13
13y ago
I'm not sure if my case is very strange, but it took me a good 5 months to find a job after having designed a website and having a masters in math with many comp sci classes. I think it's not that easy for everyone to find a job.
647.
▲
by
lqdc13
13y ago
San Francisco, CA. Relocation Assistance Provided (within US). Looking for a Data Scientist/Backend Python Engineer to analyze security data and develop new machine learning models and support the Tornado/Redis/MongoDB/MySQL stack. Will wor
648.
▲
by
lqdc13
13y ago
The main problem with this analysis is that the time on the /newest is not useful without knowing how many users saw it. Maybe staying up for 5 minutes on a Tuesday afternoon is better than an hour on Saturday night.
649.
▲
by
lqdc13
14y ago
Why do the code text boxes have a scroll bar when the code does not leave the text box bounds? Doesn't look very good.