Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stncls
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
stncls
5y ago
Especially given the fact that the table in the baseline code is only 200 bytes. That's less than four AVX-512 registers!
92.
▲
by
stncls
5y ago
This is a very nice article, and I think the three initial objectives are fully attained (simple enough, accurate enough, fast enough). Some of the performance claims have a caveat, though: Lookup tables and micro-benchmarks don't mix
93.
▲
by
stncls
5y ago
The article is not at all by the arXiv people. This is just a paper submitted to arXiv (about arXiv). The confusion is understandable, because the link is to arXiv's experimental HTML5 viewer, not the usual format (which would be: htt
94.
▲
by
stncls
5y ago
But the article link is arXiv's own (admittedly experimental) HTML5 viewer!! And your parent comment is praising it.
95.
▲
by
stncls
5y ago
The authors first list some issues with arXiv. Next, they describe how to fix those issues. Then the good news arrives: this improved arXiv already exists. It's called Authorea.com. All three authors are Authorea.com employees. They do
96.
▲
by
stncls
5y ago
The impetus for the switch stems in part from an issue in the helper macro list_for_each_entry() -- an issue that could be alleviated if declaring variables in a 'for' loop header was allowed [1]. [1] https://lore.kerne
97.
▲
Linux kernel switches from C89 to C11 (or rather, -std=gnu11)
(git.kernel.org)
5 points
by
stncls
5y ago
|
1 comments
98.
▲
by
stncls
5y ago
You are right. The article does acknowledge this, though. https://thephd.dev/to-save-c-we-must-save-abi-fixing-c-funct... The author then argues that it is at least a step forward: > For those of us in large ecosystems w
99.
▲
by
stncls
5y ago
> Everything just works properly Not to mention the drastically lower CPU usage compared to its predecessor [1] and general lack of bugs. > There is a lot of REALLY good software coming out Agreed, but I would still single out PipeWir
100.
▲
by
stncls
5y ago
Intrinsics-heavy code does looks scary because you see tons of weirdly-named functions with no clue as to what they do. However, you can learn the basics in an hour, and read/write small amounts of code (like in the article) very quick
101.
▲
by
stncls
5y ago
From the article: char *forty_two_bee = "42b"; char *end; errno = 0; // remember errno? long i = strtol(forty_two_bee, &end, 10); > This will return 0 No, this will return 42. strtol() parses greedil
102.
▲
by
stncls
5y ago
> But there is a downside. The CT logs are public and can be searched. Firstly, [...] This bit me recently. I have a certificate for homelab.myname.com, and as any public-facing IP address, I get the expected brute force ssh login attemp
103.
▲
by
stncls
5y ago
The arguments I've read for or against undefined behavior are always: 1. fully binary: "[all] UB is nonsense" vs. "[all] UB is necessary for performance" 2. qualitative / anecdotic: "look at this compiler
104.
▲
by
stncls
5y ago
I'm not sure this is what you are asking for, but would this be suitable? > ISO C99 and ISO C++17 support floating-point numbers written not only in the usual decimal notation, such as 1.55e1, but also numbers such as 0x1.fp3 writte
105.
▲
by
stncls
5y ago
One pet peeve of mine is build tools that (are configured to) hide the compiler command lines and instead display pretty green "OK" or red "FAIL" messages. When, invariably, a compilation fails in the middle of the build
106.
▲
We finally got rid of dependabot in NumPy
(twitter.com)
2 points
by
stncls
5y ago
|
0 comments
107.
▲
by
stncls
5y ago
Yes! On this point, it's funny to see how Beeple gets extra animated in this interview to make absolutely clear that he still retains copyright on all his NFT'd artwork: https://m.youtube.com/watch?v=13U573keZ3A&am
108.
▲
by
stncls
5y ago
- written in Python with Qt (PyQt 5 and 6 supported) - GPLv3 - github here: https://github.com/stargateaudio/stargate
109.
▲
by
stncls
5y ago
Thank you. Also, - BSD 3-Clause license - mostly C++ (Qt has other bindings too) - no dependency on DBUS, policykit or consolekit - no Wayland on the roadmap for now (but they are open to porting in the future) - screenshots here: https:&#
110.
▲
by
stncls
5y ago
I really like the idea of applying comparative advantage to dev management. I think it's generally a good idea, and something useful to keep in mind. On the other hand, the original application of comparative advantage -- to economics
111.
▲
by
stncls
5y ago
PhD studies vary a lot depending on (1) the type of CS you're doing and (2) the part of the world you're in. Depending on these factors, a PhD can mean completely different things. (1). Theory CS is very different from more appl
112.
▲
by
stncls
5y ago
For an opposite point of view on the agreement: "Why EU-Qatar deal raises concerns in aviation sector" https://blazetrends.com/why-eu-qatar-deal-raises-concerns-in... Note how the OP article mentions "no fift
113.
▲
Qatar and the European Union Sign Open Skies Agreement
(liveandletsfly.com)
1 points
by
stncls
5y ago
|
1 comments
114.
▲
by
stncls
5y ago
Business leaders often are the coaches themselves. Mentoring, commenting tactics for their teams, and giving great feedback are part of their primary tasks (past a certain size). So do we really want the coaches to have coaches? How deep
115.
▲
by
stncls
5y ago
An example use of Inf is bounds on a value. Say you want to express that x sometimes has upper and/or lower bounds. With Inf you can simply write l <= x <= u accepting that l is sometimes -Inf and u is sometimes +Inf. Wi
116.
▲
by
stncls
5y ago
> I'm puzzled by the fact that the probability term was RAISED to the number of hours, rather then multiplied by it? so the chance isn't linear with the amount of time ? Yes it is not linear. Imagine you are repeatedly throwing
117.
▲
by
stncls
5y ago
> it appears you didn't use the binomial distribution formulas for this You would use binomial distribution formulas if the problem was more complex. Say, if you cared about how many times you get covid infected, or how many times y
118.
▲
by
stncls
5y ago
> whats gives you the best chance of having your lottery ticket drawn - 2 drawings from a pool of 50, or 6 drawings from a pool of 200? The standard trick for this type of probability problem is to reverse the question: What is the proba
119.
▲
by
stncls
5y ago
Those are not necessarily comprehensive benchmarks, but it seems clang is doing very well in many workloads: https://www.phoronix.com/scan.php?page=article&item=clang-lt...
120.
▲
by
stncls
5y ago
> A good tree will have something like log(n) depth so normal recursion should be fine. Yes, this is true for comparison/search/sort/bucketing algorithms. But in other applications (e.g. graph theory, networks, sparse matr
More ›