Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
missblit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
missblit
5y ago
> Does chrome not ever get bogged down by javascript? Yes. This is pretty subjective as a user, but I'd classify Chrome as slightly better here. They're close enough that it doesn't usually matter unless you're playin
122.
▲
by
missblit
5y ago
I think there's a couple things here: A dotted blue path indicates a path to walk on. This shows up in public transit or walking directions where part of the trip actually involves walking. A dashed grey arc appears when Google Maps ca
123.
▲
by
missblit
5y ago
Specifically it's well-defined behavior to mutate an object after const_cast-ing away constness if the object wasn't const to begin with (const references or const pointers can refer to non-const objects). In your first example yo
124.
▲
by
missblit
5y ago
You would have been able to but it'd be a bit painful: https://www.irs.gov/taxtopics/tc154 The basic process is to: 1. Contact your employer and have them send you a W2 2. If your employer does not send you your W
125.
▲
by
missblit
5y ago
There was Lego creator, though building part was 3rd person so probably closer to KidCAD than Minecraft. I actually really wanted to like that game as a kid, but either my computer wasn't beefy enough to run it, or it was a buggy crash
126.
▲
by
missblit
5y ago
They really shouldn't be called contracts at all, since intent ("meeting of the minds") is a fundamental part of contract law. Imagine for example if a mortgage contract contained some bizarre inscrutable loophole that as-wri
127.
▲
by
missblit
5y ago
Hickam's Dictum: A man can have as many diseases as he damn well pleases.
128.
▲
by
missblit
5y ago
It mentions the CSS-styling formatting specifier, but skips over the more mundane "printf-style" ones. const obj = {objection: 'overruled'}; console.log( 'console.log is the #%d %s API ever written %f\% no arguing
129.
▲
by
missblit
5y ago
Fantastic can still be used to describe something fantasy-esque in modern usage. Albeit it's probably getting more rare. Like "fantastic voyage", "fantastic beliefs", "fantastic visions".
130.
▲
by
missblit
5y ago
I never did get very far with my NES emulator after getting an actual job (it was plan B for if no one liked my resume), but I do remember that being oddly satisfying [1] [1] https://github.com/missblit/nesnes/blob
131.
▲
by
missblit
5y ago
The current default for the Referer header is to send the complete referrer for same-origin requests, to send the origin for cross-origin requests, and to send nothing if going from HTTPS to HTTP. This is customizable by setting the referre
132.
▲
by
missblit
5y ago
AMP actually supports paywalls: https://amp.dev/documentation/components/amp-access/ This extension is also actually kinda interesting in that it embeds a small domain specific language [1] that's interp
133.
▲
by
missblit
5y ago
You do want to click No. Are you sure that is what you clicked... or was it just what you hovered over before clicking?
134.
▲
by
missblit
5y ago
It also only works if the smart contract is a legal contract, which is something that gets hashed out in court, not in code review. Some cryptocurrency enthusiasts seem to think declaring "code is law" actually makes it so while t
135.
▲
by
missblit
5y ago
The report is trying to suss out how to "play better" for when the next dangerous disease comes along. So talking about how covid-19 was preventable is meaningful because it's treating it as a case-study.
136.
▲
by
missblit
5y ago
Regardless 1000 page documents _are_ the sort of things that full-fledged word processors should be able to support. Writers need to write books, readers need to read books, and computers have more than enough resources to support these use
137.
▲
by
missblit
5y ago
Well except the part of the internet that relies on the Material Icon font (please website designers stop doing this; just use SVGs or something instead!).
138.
▲
by
missblit
5y ago
I mean maybe they just like the taste? I don't really understand it either because I'd usually rather have tasty veggies than imitation meat, but what someone finds tasty is what they find tasty and they don't need to justify
139.
▲
by
missblit
6y ago
A Soviet Union studio made a pretty good movie of Anderson's story: https://en.wikipedia.org/wiki/The_Snow_Queen_(1957_film)
140.
▲
by
missblit
6y ago
I use a NUC as an HTPC, and benefited a lot from tweaking the fan settings in the BIOS. I got it to the point where it's silent when watching a movie or something, and only noisy when under real load.
141.
▲
by
missblit
6y ago
I work with C++ on a daily basis and the position is actually closer to "sandbox anything tricky, and run everything through fuzzers and sanitizers." Anyone who thinks they can overcome 100% of memory-unsafety bugs through looking
142.
▲
by
missblit
6y ago
Why not? Of course you need an up-to-date compiler, but beyond that I've never heard of any fundamental issues in compiling binaries that work on older systems (well besides installing newer compilers or cross-compiling being a real PI
143.
▲
by
missblit
6y ago
Parts of youtube use widevine (I think mainly for movie / TV rentals and the like)
144.
▲
by
missblit
6y ago
Just that iterators is the API that C++ settled on for doing this in a generic way (well concepts in C++20, but I haven't learned that yet). It's totally 100% kosher to write a function that calls `.at()` instead of `operator+=`.
145.
▲
by
missblit
6y ago
The primary purpose of an iterator is to allow algorithms to be written in a generic manner without needing to know details about the type it's operating on. Since the algorithm only operates on the iterator type, any number of collect
146.
▲
by
missblit
6y ago
You can think of it as implementing `seek`, not just `next`. `RandomAccessIterator` implements the `+=` and `-=` operations that `BidirectionalIterator` does not. Algorithms that accept `RandomAccessIterator` can then assume that calling +
147.
▲
by
missblit
6y ago
Rollback proof bugs are rare, but boy howdy are they exciting. I think I've only seen one so far (unless you count bad data / bad state that persists after a bad change is rolled back... which can also be pretty exciting)
148.
▲
by
missblit
6y ago
The reason it works locally is because charset detection works different when loading from a local file than when loading from a webserver. In particular browsers tend to be a lot more enthusiastic about treating local files as unicode than
149.
▲
by
missblit
6y ago
I actually wasn't thinking of social sites when I said "certain workloads". It's true that every server extra has a bit more overhead because of stuff like caching / load balancing / whatnot, but the amount ext
150.
▲
by
missblit
6y ago
Servers can and do scale effectively linearly depending on the workload. The broader point stands though. The more servers you have, the more money a 1% cpu optimization saves you in raw dollar amounts. At a certain scale it always makes se
More ›