Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ekimekim
4mo ago
That practice is known as Block booking ( https://en.wikipedia.org/wiki/Block_booking ) and was supposedly ruled illegal in 1948. The more things change, I guess...
2.
▲
by
ekimekim
5mo ago
> Suddenly turning off services when the billing cap is reached is a big reliability risk for customers. And yet this is exactly what happens if you exceed a quota limit, which aren't always well signposted and sometimes require day
3.
▲
by
ekimekim
8mo ago
To provide a concrete example, this bit me in a typescript codebase: type Option<T> = T | undefined function f<T>(value: T): Option<T> { ... } let thing: string | undefined = undefined; let result = f(t
4.
▲
by
ekimekim
11mo ago
There was one in a previous AoC that I think stumped a lot of AI at the time because it involved something that was similar to poker with the same terminology but different rules. The AI couldn't help but fall into a "this is po
5.
▲
by
ekimekim
11mo ago
As always, there is a relevant XKCD: https://xkcd.com/1968/
6.
▲
by
ekimekim
1y ago
Twitch puts the ads directly in the HLS stream, but as seperate segments from the content (a HLS stream is made of many small video files, on twitch they're about 2s long). They're trivial to recognize and filter out (they're
7.
▲
by
ekimekim
1y ago
Twitch is HLS, but they've tightened the buffers and shortened the segments (2s is standard) so that latencies of down to a couple of seconds is common. It's quite impressive, tbh.
8.
▲
by
ekimekim
1y ago
In a weird way it kinda reminds me of `exec` in sh (which replaces the current process instead of creating a child process). Practically, there's little difference between these two scripts: #!/bin/sh foo bar
9.
▲
by
ekimekim
1y ago
I'm surprised they don't see more activity for polar orbits. You want to launch north-west or south-west and into ocean, northern scandanavia seems perfect for that.
10.
▲
by
ekimekim
2y ago
Sure, but the assumption here is that primary and backup (edit: probably, ie. they're not coordinating this) aren't going to the bathroom at the same time. It's also based on the idea that alerts are extremely rare to begin
11.
▲
by
ekimekim
2y ago
When I'm in charge of an on-call rotation I always try to make it very clear that this is not the expectation. In my preferred model of on-call, you have a primary, then after 5min an escalation to secondary, then after 5min an escal
12.
▲
by
ekimekim
2y ago
> I wonder why that C file which maps a more abstract Rust-friendly C-API on top of the existing API can't live inside the Rust directory and build structure This is more or less what the RfL folks are asking for - they have a Rust
13.
▲
by
ekimekim
2y ago
I do use it occasionally - mostly when Windows has thrown up some issue stopping Steam from working properly. eg. I need to dismiss a dialog that is invisible over remote play, or it won't finish logging in until I close a "finish
14.
▲
by
ekimekim
2y ago
This isn't all that different to how I use my gaming PC - it's off in another room, with a monitor that is plugged in but almost always off (I don't think Windows will boot without at least something plugged in?), Steam set t
15.
▲
by
ekimekim
2y ago
What I'm confused by is how they got that far, to the point that 2FA was the only thing in their way. Did they already have this user's password?
16.
▲
by
ekimekim
2y ago
> ownership moves to a new not-for-profit entity based somewhere in Europe, with the exact location still to be finalized. The organization is currently headquartered in Germany, where it was a nonprofit until its charitable status was s
17.
▲
by
ekimekim
2y ago
I'm no expert, but I wouldn't be surprised if it's much, MUCH easier to get "non-critical" systems hooked up to new, better equipment as it would undergo far less checks and approvals.
18.
▲
by
ekimekim
2y ago
It's a commonly-accepted way to refer to "Black in a racial, ethnic or cultural sense", particularly African-American culture. See for example the AP's style guide: https://apnews.com/article/archive
19.
▲
by
ekimekim
2y ago
In most cases this is just based on user agent. It's widespread enough that I just habitually tell requests not to set a User Agent at all (these aren't blocked, but if the UA contains "python" it is).
20.
▲
by
ekimekim
2y ago
> I disagree that strategic voting as a downside outweighs the downsides of RCV or FPTP - especially when FPTP itself is susceptible to strategic voting, too. To clarify, I never intended that as a defence of FPTP. It's awful and I&
21.
▲
by
ekimekim
2y ago
Being vulnerable to strategic voting is a huge downside that outweighs other considerations. As the article mentions, in the real world score voting would just be approval voting where you put a max score on some choices and 0 on others. An
22.
▲
by
ekimekim
2y ago
That's interesting. To me stack traces + default pass up the stack are the distinguishing features of exceptions. Suppose we had a version of the ? operator that automatically appended a call stack to the error value returned. Are yo
23.
▲
by
ekimekim
2y ago
> Result is for expected domain failures. Panics are for programmer errors and unrecoverable constraint violations. The problem is that "unrecoverable constraint violations" happen a lot in practice when you're dealing wit
24.
▲
by
ekimekim
2y ago
Ok, so the original idea of Result<T, Error> was that you have to consider and handle the error at each place. But then people realised that 99% of the time you just want to handle the error by passing it upwards, and so ? was invente
25.
▲
by
ekimekim
2y ago
I've noticed this effect pretty often, as one high-profile article leads people to go looking at the author's other work and then submit it.
26.
▲
by
ekimekim
2y ago
There are two important differences between corporations (even non-for-profit ones) and the government. The first is that citizens have a say in who governs them. If the government does something they don't like, they can (at least in
27.
▲
by
ekimekim
2y ago
There are two concepts which are being used interchangably here. The first is JSON as a data encoding , ie. the particular syntax involving braces and quotes and commas and string escapes. The second is JSON as a data type , ie. a value w
28.
▲
UndefinedBehaviorSanitizer's Unexpected Behavior
(daniel.haxx.se)
48 points
by
ekimekim
2y ago
|
91 comments
29.
▲
by
ekimekim
2y ago
Yes! But your lookup table will need 2^N bits for a function with N inputs. In this way you can easily enumerate all possible functions from N bits to 1 bit. As a fun exercise, you can do this for all 2-bit -> 1-bit functions. There'
30.
▲
by
ekimekim
2y ago
The other problem with not setting limits is that it's very easy to use more than your requests routinely, and you won't know that you're misconfigured until the one day you have a noisy neighbor and you only get what you a
More ›