Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fnord123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
871.
▲
by
fnord123
7y ago
Binary crates. Sandboxed builds (I'll continue to use crates that have a build.rs which can do anything it wants, but I don't like it). Namespacing crates (a la Java) to deal with the name squatting issue.
872.
▲
by
fnord123
7y ago
Rayon uses iterators. Iterators are the dual of first order functions. Iterators are superior because they are more general. (You can implement pmap using iterators. You cannot implement iterators using pmap.)
873.
▲
by
fnord123
7y ago
>I wonder what's so special about Python that it does this much more often than any of the other languages I know. You answered it: > It did a great job of pretending to be an efficient language by having libraries pawn off the h
874.
▲
by
fnord123
7y ago
Isn't this solved with Firefox containers?
875.
▲
by
fnord123
7y ago
That's not true. Some are mixed with fable to an extent such that they aren't people any more. Jesus. Guan Yu. Siddhartha Gautama. Winston Churchill. Steve Jobs.
876.
▲
by
fnord123
7y ago
Neat. :)
877.
▲
by
fnord123
7y ago
1 commit. Is this an opening of a mature project that has been coded in private somewhere? Is this just a code drop on the community? Note: this comes from a developer in Japan. Tantivy's main developer is also based in Japan. @fulmico
878.
▲
by
fnord123
7y ago
Or easy chair: https://www.easychair.org/
879.
▲
by
fnord123
7y ago
>Interval trees reduce to Binary Search Trees when the nodes can't overlap. Interval trees are degenerate R-Trees which can be implemented using GiST which is itself a btree. >Also, Red-Black trees specifically are used in many d
880.
▲
by
fnord123
7y ago
>You need to know the principle of a BST. Unless you're building a database working in a unique scenario, actually traversing it going to be done by some library. Looks like you got stung by the confusion between binary tree and B-T
881.
▲
The Ocean Cleanup
(theoceancleanup.com)
2 points
by
fnord123
7y ago
|
0 comments
882.
▲
by
fnord123
7y ago
The original comment was "JVM startup is sub-second. Still not great for e.g. small command line utilities, but completely fine otherwise." For tooling it matters. Some scripts will have backticks and $() and each use of these cou
883.
▲
by
fnord123
7y ago
JVM startup for `java -version` is around 150ms on my machine: $ time java -version openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment 18.9 (build 11.0.1+13) OpenJDK 64-Bit Server VM 18.9 (build 11.0
884.
▲
by
fnord123
7y ago
++ >> >>> >>= `concat` .
885.
▲
by
fnord123
7y ago
If you spend time with babies you will find they are actually very sociable and giving. Indeed when they are worms they can only scream. But once they can interact they often love sharing and contributing. They don't develop a theory o
886.
▲
by
fnord123
7y ago
I would like a json-game like csv-game[0] that benchmarks all of these together. Here is an example with a /lot/ of C++ parsers: https://github.com/miloyip/nativejson-benchmark [0] https://github.c
887.
▲
by
fnord123
7y ago
This type of article has far too broad a brush. It's like saying don't play 4-4-2 in football (soccer) because we just won a trophy using 3-5-1-1 so 4-4-2 killed your team's chances of success. It's so small minded it&#x
888.
▲
by
fnord123
7y ago
Maybe he's trying to hide potential results from "Boris Johnson restraint" Now get that image out of your mind. ;)
889.
▲
by
fnord123
7y ago
This came up on the Hadoop JIRA lately. Someone submitted an issue several years ago and the team is investigating it now and he was trying to figure out how to get off the notification list. They ended up having to change the reporter. jfc
890.
▲
by
fnord123
7y ago
Good feedback. +1
891.
▲
by
fnord123
7y ago
This looks like the Java if the Java was written by someone who knows Java: List<String> alignText(List<String> texts) { int maxLength = texts.stream().mapToInt(String::length).max().orElse(0); return texts.str
892.
▲
by
fnord123
7y ago
> the most important third-party library in the Python ecosystem has a git history that looks like that[0]? Your link has a typo: https://github.com/numpy/numpy/commits/master
893.
▲
by
fnord123
7y ago
First project I look up on lgtm.com is rust.. Second alert I find is this: https://lgtm.com/projects/g/rust-lang/rust/snapshot/f5aa590b... exist_ok is available from python 3.2, so this isn't a
894.
▲
by
fnord123
7y ago
Underengineering is far more productive but not always possible when you're defining the overarching architecture of a multi team project. Then you have to rely on experience to do things like definelibg interfaces that can be extended
895.
▲
by
fnord123
7y ago
I don't even think it's a phase. From what I see in my own experience, overengineering comes from not having a deadline to deliver an actual working piece of software. Unclear requirements. Fear that the code must be perfect again
896.
▲
by
fnord123
7y ago
2014-04 is absolutely actionable for a browser.
897.
▲
by
fnord123
7y ago
Generally speaking, you can release based on the calendar or based on whenever you think the feature set warrants it. You are advocating the latter which works well on low traffic projects. The former is a better idea on high traffic projec
898.
▲
by
fnord123
7y ago
>And that's the primary reason I stopped playing online games like MTGA and Eternal: playing draft was too expensive and not as fun as playing in person. I've never played them online and just assumed you would get access to al
899.
▲
by
fnord123
7y ago
> You do all those things with C++ (or, for fpga, asic, etc., without). There is exactly zero benefit to dropping to C first. That's my point. The performance tuning is generally not between C++ or C hence why you cannot extrapolate
900.
▲
by
fnord123
7y ago
Maybe in ncmncm's circle they laugh at C developers, but trying to extrapolate that across the finance industry is not credible. Performance at the sharp end comes from preallocating memory, reducing syscalls, removing PIC (drop the GO
More ›