Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lqdc13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
511.
▲
by
lqdc13
11y ago
Communism has nothing to do with totalitarianism though. EDIT to clarify: Here is a good link: http://www.differencebetween.net/miscellaneous/difference-be... Basically they are so different that totalitarianism is con
512.
▲
by
lqdc13
11y ago
I wasn't talking about free software as in GPL. Just the free as in beer kind that sometimes happens to also be open source and/or GPL. If you ignore past attempts of implementing communism and limit the discussion to just what it
513.
▲
by
lqdc13
11y ago
Well, I understand where he's coming from. But if you follow this line of reasoning further, you basically say that you should never help anyone - including your immediate family - with anything because they might think you ruined it f
514.
▲
by
lqdc13
11y ago
elaborated above.
515.
▲
by
lqdc13
11y ago
You can view communism in terms of "selfishness" like this too. Everyone selfishly wants bread and the only way they can get it is by contributing their labour. I think "From each according to his ability, to each according t
516.
▲
by
lqdc13
11y ago
This might be a cultural thing, but I think everyone should help their close relatives with computer problems. Sometimes when their relatives need help, people literally give up everything and live with them and help them with everything.
517.
▲
by
lqdc13
11y ago
Free software in its current state is basically communism.
518.
▲
by
lqdc13
11y ago
Yup can't even browse with JS turned off unlike HN/reddit.
519.
▲
by
lqdc13
11y ago
I thought Word 2 Vec isn't "Deep Learning" as both CBOW and skip-gram are "shallow" neural models.
520.
▲
by
lqdc13
11y ago
I'm pretty sure most people would agree their OS is inferior.
521.
▲
by
lqdc13
11y ago
Why not just sample further or use a machine where this dataset fits in memory? A minute to compute the mean seems unreasonable if the goal is to perform more complex tasks in the future.
522.
▲
by
lqdc13
11y ago
Strongly disagree. It is actually much harder to write obfuscated code in Python than in C. It even enforces whitespace... Here is "Hello World" obfuscated in many languages: http://codegolf.stackexchange.com/ques
523.
▲
by
lqdc13
11y ago
What, apart from legal approval is morally or materially different from performing capital punishment on convicted murderers and performing capital punishment on a free citizen? The point is there is a spectrum/grey line.
524.
▲
by
lqdc13
11y ago
It becomes the users' problem when driver support is not available for the new hardware they just bought. So they have to hunt down the PR on github and build it themselves.
525.
▲
by
lqdc13
11y ago
Anyone knows why Firefox pdfjs fails to follow links to chapters correctly?
526.
▲
by
lqdc13
11y ago
I think AMD GPUs are much better at integer operations. NVIDIA ones are good at floating point.
527.
▲
by
lqdc13
11y ago
The other side of the coin is that there are many products that lack that one feature that makes me not use them or makes me less interested in using them. Example is sorting products by some variable or filtering products by some property.
528.
▲
by
lqdc13
11y ago
First thing you should do is optimize data structures IMO. This is the advantage Python has over lower level languages - easy way to implement complicated things. Kind of like Linus's quote: "Bad programmers worry about the co
529.
▲
by
lqdc13
11y ago
I really like when people put a lot of information on the slides. It makes going over past presentations very easy. For example, when a new ML algorithm comes out, the only way to easily grasp how it works without reading a bunch of papers
530.
▲
by
lqdc13
11y ago
Does anyone know if these are/can be good for named entity recognition? I am stuck implementing second order CRFs right now for the lack of a good implementation, and this seems a lot easier.
531.
▲
by
lqdc13
11y ago
For me specifically, StatsModels, sklearn, REPL plotting (more of a language feature) with seaborn/matplotlib, scipy, various NLP libraries, pandas for parsing CSVs and fast vector operations on table-like data, an easy to use requests
532.
▲
by
lqdc13
11y ago
Go unfortunately doesn't have all the awesome Python libs.
533.
▲
by
lqdc13
11y ago
Same thing here. "Q" is just out of the way so I can't go past 36 WPM for that letter. Backspace functionality is frustrating as hell. The algorithm settled in the local minimum. But after doing that for a good 20 minutes, th
534.
▲
by
lqdc13
11y ago
Unless I am not getting something, are the developers expected to manually compile everything that isn't in a bundle? And then recompile again whenever a bundle gets updated?
535.
▲
by
lqdc13
11y ago
Yup, I just checked. They're only using heap for most common. Nevertheless, defaultdict == win for counting things like if we actually wanted unique words in this case.
536.
▲
by
lqdc13
11y ago
Counter is a lot slower though because it uses a heap underneath.
537.
▲
by
lqdc13
11y ago
You're totally right.
538.
▲
by
lqdc13
11y ago
They're not counting duplicates though... Both perl and C++ one use a hash table.
539.
▲
by
lqdc13
11y ago
Yours doesn't hash unique words though
540.
▲
by
lqdc13
11y ago
Basically this whole thing is crazy. First, this can be done with one line in Python. Second, it's almost a page of C++. Third: if done in a 10 lines in python it is around 30% faster than the C++ version and 2x faster than the perl ve
More ›