Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben509
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
331.
▲
by
ben509
6y ago
It's unusually memorable because it's from a children's book and little kids will demand their parents read the thing a hundred times. It's either been drilled into you as a child, or as a long suffering parent.
332.
▲
by
ben509
6y ago
This one may grow on me, like a tumor.
333.
▲
by
ben509
6y ago
Python is surprisingly bad at managing subprocesses, though. Read the subprocess docs closely, it's quite easy to get deadlocks if you try to compose operations the way you can in bash.
334.
▲
by
ben509
6y ago
I don't think it's a sunk cost fallacy. I think the hesitation is more for social reasons, often not wanting to do a big pull request that's going to be scrutinized.
335.
▲
by
ben509
6y ago
They also tend to impose a degree of discipline. I've often found myself wanting to shove a parameter in somewhere and realized I didn't need the damned thing.
336.
▲
by
ben509
6y ago
I think there are two parts to it. First, you want to push them to get into the habit of solving problems by expressing the question clearly enough that the answer falls naturally from it. That's so fundamental that every aspect of eng
337.
▲
by
ben509
6y ago
And cares so much that Somebody Else needs to donate to them.
338.
▲
by
ben509
6y ago
I do something similar with a generic password manager. I've tried pinging the developers to support the idea directly, but I've been met with incomprehension. Not sure if I'm explaining it wrong, or if it's way more wor
339.
▲
by
ben509
6y ago
I'll propose a test for whether it's true. We'll try writing instructions to a non-technical user how to perform some tasks. Then, we shouldn't know exactly which version they're using, only "I'm using OS
340.
▲
by
ben509
6y ago
A bit of backround: a service typically builds their API first, and then builds the console as a front-end to that API. For most services, everything you can do in the console, you can do via an API call. (I assume Honeycomb is an exception
341.
▲
by
ben509
6y ago
When people don't get humor, they're still picking up on the incongruity in it, and this bothers them.
342.
▲
by
ben509
6y ago
Yup. The worst on Zoom and Google Meet is: a. the person with feedback or background noise causing the video to flip to them b. someone displaying their lunch for everyone to see c. Zoom specialty: obnoxious video backgrounds Zoom helps you
343.
▲
by
ben509
6y ago
Ending the WOD will move us from having organized crime producing drugs to sleazy outfits trying to get rich quick. I don't want to understate what a massive improvement it will be because you'll be buying from someone afraid of g
344.
▲
by
ben509
6y ago
> Except IO is the bottleneck here. If you say IO is the bottleneck, then you're claiming there is no significant difference between python and node. That's what a bottleneck means. > The concurrency model for IO should dete
345.
▲
by
ben509
6y ago
> Nodejs blew everything out of the water Node's JIT comes from a web browser's javascript implementation used by billions of people. It's also had async baked in from day one. Python started single process, added threadin
346.
▲
by
ben509
6y ago
To clarify that the CPython devs aren't being arbitrary here: There have been attempts at per-object or other fine-grained locking, and they appear to be less performant than a GIL, particularly for the single-threaded case. Single-thr
347.
▲
by
ben509
6y ago
Python gets love for a number of choices it made right early on, and that its core langauge is obviously well thought out. Even very old Python is generally readable and clear; except for some colons, it looks like pseudo-code. This is the
348.
▲
by
ben509
6y ago
In a Java web framework, your classes have static fields, so user code or any library can assign values to them. Language support for a request being ephemeral is far more effective than frameworks proposing it as a good practice. And every
349.
▲
by
ben509
6y ago
The point of calling a "fractal" and talking about the "design" is that while you can only look at the surface in an article of reasonable length, it points toward strutural and systemic failings within the language itse
350.
▲
by
ben509
6y ago
The point of laundering money is to hide the origin of the money, and the way to do that is to exchange it for clean money. You can launder money with a business: you pay vendors and employees with the dirty money. But then your receipts ar
351.
▲
by
ben509
6y ago
Nuking a domain with no warning for any reason is nuts. They started to shut it down before the email notification. And any time support or PR is droning on about "muh policies" you know there are problems.
352.
▲
by
ben509
6y ago
Is it even possible? If I'm phishing and I get shut down, I'd just modify my page slightly until it passes the detection. It seems like a problem as hard as detecting spam.
353.
▲
by
ben509
6y ago
Github Actions has macOS builders. Not sure if they have XCode installed, though.
354.
▲
by
ben509
6y ago
The Vigiles were a police force[1] in ancient Rome, so they're not a recent innovation. [1]: https://en.wikipedia.org/wiki/Vigiles#Police_force
355.
▲
by
ben509
6y ago
Schenk v US was partially overturned by Brandenburg v. Ohio. We've come around, though, as Holmes' line of reasoning is very common today. Some details in https://en.wikipedia.org/wiki/Shouting_fire_in_a_crowd
356.
▲
by
ben509
6y ago
What does any of that have to do with curating viewpoints?
357.
▲
by
ben509
6y ago
Even in the OP, the author is already using NSRegularExpression, because Swift doesn't have regular expressions built in. And if Next can write NSRegularExpression, anyone can write their own library that uses a better syntax and that
358.
▲
by
ben509
6y ago
They are honestly fun to write, but then you're doing recursive descent. Having written a significant one, I felt the elegance of the concept was marred by all the workarounds creeping into the code.
359.
▲
by
ben509
6y ago
So regexes tend to be inscrutable and uncomposable largely because of legacy, and partly because your operators naturally clash with the characters you're trying to match. When Larry Wall was designing Rake nee Perl 6, he started by th
360.
▲
by
ben509
6y ago
Sure, Spotlight has been around for at least a decade; it's the little magnifying glass at the right end of the main menubar. It definitely indexes PDFs with a text layer as well as other document formats; I've been running them t
More ›