Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stephenr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
931.
▲
by
stephenr
3y ago
For scripts I'm with you on POSIX. I was referring specifically to interactive use: ie why someone would install bash to use as their shell, when zsh is already there.
932.
▲
by
stephenr
3y ago
> Portable POSIX shell scripting is hell on earth but bash scripting with shellsheck can be surprisingly pleasant. Assuming you meant `shellcheck`: you know it works for POSIX compatible shell too right? What's wrong with bash is th
933.
▲
by
stephenr
3y ago
The solution you want is to target posix compatibility; you can choose how strict you want to be with that (ie essentially every posix compatible shell also supports the `local` keyword).
934.
▲
by
stephenr
3y ago
People do it, but why you would when zsh is right there, is beyond me. Possibly the same type of people that target bash specifically in shell scripts I guess.
935.
▲
by
stephenr
3y ago
It's very common now for monitors to support usb-c or Thunderbolt input, and provide power over that link to charge a laptop (or tablet).
936.
▲
by
stephenr
3y ago
I got 6144x3456@60 on my m2 studio ultra from the day it (studio) arrived, back in... I want to say July (so not running sonoma)
937.
▲
by
stephenr
3y ago
PHP already has an opt-in type system that's runtime safe (ie it's not just compiled away like in TS). The major piece of the puzzle missing is generics support, but other type handling is already there.
938.
▲
by
stephenr
3y ago
This may be part of it. Even now in Thailand "fresh" (I use that term very loosely) meat bought from a supermarket can have wildly different times before it has an odour, and that's without considering the wet markets where
939.
▲
by
stephenr
3y ago
Yeah it's slightly obscure for a lot of people I think: most who do know of it seem to associate it purely with arithmetic, and rightly use `$((...))` instead.
940.
▲
by
stephenr
3y ago
Conversely it feels like Google could say "hey we've found a cure for cancer, we just transplant the brain into a healthy 'donor' body" and Google apologists would insist that there's no possible way that could
941.
▲
by
stephenr
3y ago
I don't know if it's just a demand thing or perhaps because I don't really know what "spiral ham" is, but in Australia the only ham you're likely to find cheaper per-kilo than spam is going to be a 2+ kg leg of
942.
▲
by
stephenr
3y ago
As explained by others the parent comment is talking about ESXi, but to answer your question: virtualbox desktop hypervisor is the spam of desktop hypervisors. Everyone has heard of it, it's theoretically comparable to the likes of V
943.
▲
by
stephenr
3y ago
If you want to do (relatively) simple pattern matching in a posix-compliant way, `expr`[1] can match BREs, and even return a capture group. 1: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/e...
944.
▲
by
stephenr
3y ago
If these super pigs are anything like superman or even spider pig I doubt a wall will stop them. Maybe a picket line of apple sauce jars will scare them off.
945.
▲
by
stephenr
3y ago
> genuinely well-intentioned work that the public is unfairly (and often viciously) critical of the motives of If it walks like a duck, quacks like a duck, and shits all over your lawn like a duck, hearing "well he meant well"
946.
▲
by
stephenr
3y ago
Qless is a good language-agnostic queue system; its essentially a bunch of Lua that runs within your redis server(s), and then you have a client library in your language of choice (i know of at least ruby, python, nodejs and php libs for
947.
▲
by
stephenr
3y ago
In theory you get higher effective sending rates, however I've not actually proven how much faster in practice.
948.
▲
by
stephenr
3y ago
> For billing purposes, emails that you send to the Amazon SES mailbox simulator are the same as any other email you send using Amazon SES. In other words, we bill you the same amount for messages that you send to the mailbox simulator a
949.
▲
by
stephenr
3y ago
You saying "no one needs that" doesn't mean it doesn't do more than some arbitrary url parameter or path segment. It means you're choosing not to use it.
950.
▲
by
stephenr
3y ago
> when in practice do you want to do that? Well as you're quite interested in APIs: the accept header is a fantastic way to version a REST API, and even has a built in way to handle clients that can talk to multiple versions of th
951.
▲
by
stephenr
3y ago
How exactly do you specify weighted preferences for several possible types, in the url, in a way that is standardised?
952.
▲
by
stephenr
3y ago
Why? The whole point of content negotiation is the client tells the server which type s it wants the content in, with weights to determine preference; The server then works out the best match for what's requested. Why do you need to a
953.
▲
by
stephenr
3y ago
The part where you started comparing a private room in a shared house/apartment, with a hostel.
954.
▲
by
stephenr
3y ago
> if you want to, go for it They described a high of 4°c as "mild". Fuck that. But that isn't my point: people do all sorts of things to volunteer for others/organisations. Just because you wouldn't do it unpai
955.
▲
by
stephenr
3y ago
I'd wager the volunteers are less annoying to be around.
956.
▲
by
stephenr
3y ago
Why would you expect it to be an entire house for one person? It's a volunteer position in a national park, not Jimmy Carters newest deal: homes for extremely introverted humans.
957.
▲
by
stephenr
3y ago
I think you missed out this part: > Housing is included
958.
▲
by
stephenr
3y ago
... persisting how? Where? Why would this be better than storing what has to be stored, and using some combination of views and generated columns in a regular RDBMS, which has neither of the shortcomings you mentioned, and is language/
959.
▲
by
stephenr
3y ago
Usb4 does not define "type-a" connectors, thus type-a by definition is not "concurrent" with type-c in the usb spec. It is deprecated/legacy (ie still in use but not supported by newer versions of the spec)
960.
▲
by
stephenr
3y ago
M2 SSDs can already saturate even a Thunderbolt port; then there's the alt-mode uses like DisplayPort, or the tunneling in usb4 that essentially gives thunderbolt3 functionality, such as running PCIe devices.
More ›