Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wging
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
wging
5y ago
They start off that way, so it is good for that, but that flips around in later problems... coding them is not the hard part. Many require nontrivial mathematical insight to solve in any practical time frame.
272.
▲
by
wging
5y ago
Previous submission: https://news.ycombinator.com/item?id=14686277 (This is not a complaint; I found the post interesting.)
273.
▲
by
wging
5y ago
That hardware is from 2015, though. A fairer comparison would be to current gen Intel. https://en.wikipedia.org/wiki/List_of_Intel_Core_i7_processo...
274.
▲
by
wging
5y ago
I'd say you don't even need to run your local proxy on 80/443 unless it's your public-facing endpoint. Client -> load balancer:80 -> [proxy:8080 -> application:8085] or something is fine. > As for the various
275.
▲
by
wging
5y ago
> if your team runs public web servers, then you need to listen on ports like 80 and 443 while requiring root How common is this case, really? I'd expect most public-facing services, even really high-scale/'special' s
276.
▲
by
wging
5y ago
K is not an esolang and was not designed for golf; it has real users. https://en.wikipedia.org/wiki/K_(programming_language) Also, the primary goal is not always speed... runtime speed or speed of development. There
277.
▲
by
wging
5y ago
You can get around this by mapping Caps Lock to Ctrl, which is easier to press anyway. It's probably a good idea even if you don't use a certain modifier-key-heavy text editor.
278.
▲
by
wging
5y ago
Unless they're doing something wonky like hiding content that is not in the viewport (thus reimplementing scrolling), you may be able to work around that by using ctrl-f from the URL bar, denying them the opportunity to hijack ctrl-f.
279.
▲
by
wging
5y ago
"Scalability! But at what COST?" is another classic in the category (though it's not precisely about on-box parallelism if I recall; the authors' acronym "COST" is the "Configuration that Outperforms a Sin
280.
▲
by
wging
5y ago
The "text of the memo" is really just the article's author not understanding the context of Steve Yegge's years-later retelling, from which that text comes. "His Big Mandate went something along these lines" (Y
281.
▲
by
wging
5y ago
Oof. I didn't realize "harm" was meant so literally. At least it was a one-time thing, though... right? I read "had several thousand WAV audio files that I generated" and expected to read something of the form "
282.
▲
by
wging
5y ago
With requirejs, that work can and should be done at build time. There shouldn't be a dependency waterfall. https://requirejs.org/docs/optimization.html
283.
▲
by
wging
5y ago
The OP says: > This essay is based on the article “Szeged in 1934”, which was compiled by Reuben Hersh from two manuscripts of Lorch’s for a proposed book on mathematics in Hungary. Based on it, yes -- to the extent that you should just
284.
▲
by
wging
5y ago
My suspicion is that this may not tell the full story. For example, availability-wise I bet there are differences between these databases. As just one example, I bet this person wasn't running with a multi-AZ setup for Upstash, since
285.
▲
by
wging
5y ago
They actually do have USB-C power in many models.
286.
▲
by
wging
6y ago
Mentioned in the article, FWIW: > Swimming? Who can forget what happened between 2008 and 2009...
287.
▲
by
wging
6y ago
Red only works if you have color vision. It shouldn't be relied on. (Traffic lights, for example, have a consistent order with red on top.)
288.
▲
by
wging
6y ago
Here's how the persistent vectors work (old article series, but good. hopefully someone will tell us if it's out of date): https://hypirion.com/musings/understanding-persistent-vector...
289.
▲
by
wging
6y ago
See previous discussion for context: https://news.ycombinator.com/item?id=26321962
290.
▲
by
wging
6y ago
I don't quite agree, but this is very early qntm. You might appreciate his later work. https://qntm.org/mmacevedo
291.
▲
by
wging
6y ago
In this situation, a physical toggle switch seems like a good idea. Its state is always inspectable and it stays the way you left it.
292.
▲
by
wging
6y ago
AWS publishes which IPs it owns, so scrubbing headers is not enough for secrecy. (Not that doing something that relies on secrecy is a smart plan for a business, anyway.) https://isitonaws.com/
293.
▲
by
wging
6y ago
Redshift's explanation is pretty good. Among other things, if you only need a few columns there are entire blocks of data you don't need to touch at all. https://docs.aws.amazon.com/redshift/latest/dg
294.
▲
by
wging
6y ago
I like using `<python_executable> -m pip` to avoid all ambiguity about what python version I'm running pip with/installing things for. Usually `python3 -m pip`, or `python3.8 -m pip`.
295.
▲
by
wging
6y ago
The question is "Do you all want a drink?" They're all answering with the logical meaning of "all", where it's yes if and only if every single one of them wants a drink, not the common meaning. Their responses
296.
▲
by
wging
6y ago
Yes. (ok, this one's actually a logic joke...)
297.
▲
by
wging
6y ago
Yes, but the source they link to is quite extensive and interesting: https://www.bloomberg.com/news/features/2021-01-06/xbox-the-...
298.
▲
by
wging
6y ago
That is from 1.1.0, which is quite old.
299.
▲
by
wging
6y ago
Minifiers also reduce variable and function names to a minimal size, one character wherever possible. They do other things too... such as remove semicolons that are not needed (not in general possible, especially if you've gotten rid o
300.
▲
by
wging
6y ago
JVMs are quite smart about this sort of thing, and a nonfinal method can still be inlined, even though the JVM has to safely undo that optimization if a class is loaded. I'm not sure where I learned this originally, but Aleksey Shipile
More ›