Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strictfp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
strictfp
7y ago
You have misunderstood this movement. It's not about fairness or stopping discriminatory behavior. It's about banning all opinions except the sanctioned one. "Do not speak unless you are one of us, do not think unless you hav
242.
▲
by
strictfp
7y ago
Guilt tripping much? Also, that work ethic attitude isn't exactly healthy, just a chimera confusing bullheadedness with productivity.
243.
▲
by
strictfp
7y ago
Optimistic locking makes better progress than pessimistic locking in a non-heavily-contended case ;P
244.
▲
by
strictfp
7y ago
1) A typesafe variant of this example, caught by the compiler, is what he implements further down 2) There is. Rust has the Drop trait, which guarantees destruction when going out of scope. Even better than `with` statements since the API d
245.
▲
by
strictfp
7y ago
Internet only allowed us to witness another iteration of implemention of the nasty methods already employed by nations, corporations and other entities to assert their power over the general population; information hiding, secrecy, isolatio
246.
▲
by
strictfp
7y ago
Apple payments APIs are the worst APIs I've ever worked with. They're inconsistent, badly documented, have unannounced breaking changes and contain so many gotchas it isn't funny. For example, some of the most relevant data i
247.
▲
by
strictfp
7y ago
So, one busy process performs a file operation that triggers a system restore checkpoint, and the OS locks the entire drive during this file operation? Sounds strange to me. Is the problem that the checkpointing critical section has the sam
248.
▲
by
strictfp
7y ago
OR you could just write Replace invalid ASCII char. Fixes rake error 'invalid byte sequence in US-ASCII'. I don't want your entire life story in my commit log.
249.
▲
by
strictfp
7y ago
Same with electric toothbrushes. They lodge the battery in between electronics, probably because they realized people were replacing them.
250.
▲
by
strictfp
7y ago
It could have evolved into REST (which it didn't, but they're deceptively similar).
251.
▲
by
strictfp
7y ago
And then there was Inferno
252.
▲
by
strictfp
7y ago
At the very least, there's the real time clock.
253.
▲
by
strictfp
7y ago
We're getting generators as well? Awesome.
254.
▲
by
strictfp
7y ago
IMO it's not that clear-cut. A VM is safer than a webpage which is safer than an nacl-plugin, which in turn is safer than an UAP app. But in the end you risk privilege escalation for everything which isn't airgapped.
255.
▲
by
strictfp
7y ago
They could have just added it as a flag to plugins, showing a clear security warning, potentially requiring a review.
256.
▲
by
strictfp
7y ago
Or "[object Object]"
257.
▲
by
strictfp
7y ago
Sure, but fixing the bigger problems, such as stress in the workplace, would have many more benefits. Ans as far as the analogy goes, it might be hard to fix the entire surface of the earth, but that's a strawman, because we have plent
258.
▲
by
strictfp
7y ago
The actual reason is that sysadmins don't have arcane requirements of what you can install in your Docker images. It will continue to be popular until sysadmins accomodate developers, or until the sysadmins catch on and start restricti
259.
▲
by
strictfp
7y ago
The same coping mechanism is being used in NLP. I have a feeling it's just a way of dealing with an environment which isn't healthy for the human being. It would be better to adjust the environment.
260.
▲
by
strictfp
7y ago
I've heard the phrase "forming an algebra" being used for delaying effects by means of recording the intents into a data structure. So for instance a function which initially performs file i/o as a side effect, could ins
261.
▲
by
strictfp
7y ago
I might have misread what Guido is writing in the article then; " So how does a PEG parser solve these annoyances? By using an infinite lookahead buffer! The typical implementation of a PEG parser uses something called “packrat parsing
262.
▲
by
strictfp
7y ago
Ok, thank you for clarifying. If you don't mind me asking, is the manual approach to lookahead common to most PEG parsers? And if so, why would packrat be associated with infinite lookahead?
263.
▲
by
strictfp
7y ago
My understanding is Pest doesn't use packrat, and thus doesn't have the unbounded lookahead mentioned in the article. I figure that unbounded lookahead comes with a lot of downsides, and my opinion is that Pest solves lookahead in
264.
▲
by
strictfp
7y ago
I recently used the Rust "Pest" PEG parser, and it took an interesting approach to lookahead. It delegates the problem to the grammar writer. For instance, you are responsible for declaring any possible branches with choice operat
265.
▲
by
strictfp
7y ago
Bought the IKEA charger because it was so slick and compact. Very happy with both charger and batteries, can recommend. Crazy low price as well, but to me that wasn't a factor. Charger review here: https://lygte-info.dk/
266.
▲
by
strictfp
7y ago
This story is basically about a 10x coder and architect which acheives his 10x by belittling others by means of architecture astronauting and personal job security.
267.
▲
by
strictfp
7y ago
Yeah, well Rust isn't exactly a success story in that regard if you ask me. A couple of weeks ago I tried to figure out how to format a float properly in Rust, and the way they made it work is a lot worse than straight up printf-style
268.
▲
by
strictfp
7y ago
This is why I'm always advocating for political engagement for fighting these kind of issues. It's not exactly hard for a government to ban or forbid circumventing their monitoring. It does take time, but they're about to cat
269.
▲
by
strictfp
7y ago
Also, why abandon printf-style? All languages tend to converge to printf over time, it's simply the most tried and tested model out there!
270.
▲
by
strictfp
7y ago
doesntanyurlyoucomeupwithexist.com
More ›