Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pragma_x
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
pragma_x
1y ago
I agree. For me, the major stumbling block is what interpreters ship with your typical Linux distro. Python and BASH are usually just... there. Everything else just takes more steps.
92.
▲
by
pragma_x
1y ago
IMO, using something like Python or JavaScript is a good idea if any of the following criteria is met: - Working with data more than executing other binaries - Dominant data processing path is structured (e.g. JSON, XML, binary) - Script re
93.
▲
by
pragma_x
1y ago
Thank you for linking this. I really want to reach for that pun and suggest: "Seat Belts and Airbags for bash safety" as an even better title.
94.
▲
by
pragma_x
1y ago
What's kind of amazing is that Typescript's matching of strings through the type system converges on a first-class PEG in a few places (see string.ts). The rest of the library is really damn succinct for how much lifting it'
95.
▲
by
pragma_x
2y ago
I'm starting to see a pattern here. This describes a technology that rapidly deploys "VM" instances in the cloud which support things like Lambda and single-process containers. At what point do we scale this all back to a m
96.
▲
by
pragma_x
2y ago
Thank you. I was losing my marbles trying to decode what the secret sauce was here.
97.
▲
by
pragma_x
2y ago
Should they be able to? Absolutely. Should they exercise this on projects they manage? Probably not. I ran into this problem years ago. It's not exactly good form to be manager that contributes to the team's project, is at the
98.
▲
by
pragma_x
2y ago
I was immediately reminded of this old gem: https://makezine.com/article/craft/a-homemade-toaster-built-... No idea what it is about toasters, other than their simplicity, but I really love the effort with the fla
99.
▲
by
pragma_x
2y ago
Same here. To be fair, we do have to put up with charging compatibility shenanigans. But that aside, I love this thing.
100.
▲
by
pragma_x
2y ago
FWIW, I took my EV in for a maintenance interval (waste of money BTW - this thing is indestructable), and the mechanic remarked that the brakes looked new. It's 1.5 years old, with factory brakes. Single-pedal mode does the rest. Not
101.
▲
by
pragma_x
2y ago
Even though you need to declare a struct for this (or other) functions to receive these fields, I feel like this is the cleanest approach. What I'm not sure about is if reference, value, or pointer is the best way to let the compiler o
102.
▲
by
pragma_x
2y ago
Exactly. You lose build isolation for those tools, but you have the convenience of shipping something tested and proven (ideally) alongside the project they support. At the same time, this mess all stays isolated from the parent environme
103.
▲
by
pragma_x
2y ago
Ah, okay. So this achieves yet more feature parity with npm/yarn? Sweet.
104.
▲
by
pragma_x
2y ago
This situation has improved over the last 9+ years or so. I agree that's where things started and I felt much the same way at the time. That said, I still strongly dislike that the Go ecosystem conflates a library's repo URL with
105.
▲
by
pragma_x
2y ago
It's been ages since I've done metaprogramming with C++. I had to look this up, since my first reaction was: just use recursion! Yeah, I can see why a for-loop is the preferred way to go here. Turns out that const-call depth is
106.
▲
by
pragma_x
2y ago
As an article posted on HN, I expected this to be about how to cope with losing a self-hosted Linux filesystem. As a resource to deal with "home loss", this is excellent. Also, I'd like to take a moment to appreciate how clo
107.
▲
by
pragma_x
2y ago
Wait, which newspaper did you say you work for again? > A major one.
108.
▲
by
pragma_x
2y ago
> You just feed your TeX document to ghc and it picks the code out of the \begin{code} blocks. This is starting to remind me of Jupyter notebooks, as you are expected to have documentation (well-rendered markdown) blocks and dedicated co
109.
▲
by
pragma_x
2y ago
> Should I possibly think of the frontend as a terminal-like system that can run small programs but is not an application so it's never aware of what's going on? Kinda? Where HTMX sits in my head is on a different evolutionary
110.
▲
by
pragma_x
2y ago
It took almost 30 years to get here. I never thought I'd see the day. What really threw me for a loop is the article author mentions: "I knew plenty of professors who were bothered by [the public static void main thing]." I
111.
▲
by
pragma_x
2y ago
There is also the very real-world consideration of: How do I hire people to maintain this beast? Sometimes, you have to bow to industry trends. Otherwise, you're one or two resignations away from being dead in the water. A Haskell so
112.
▲
by
pragma_x
2y ago
> an extra “look through your changes” procedure A lot of the time, when I do my best to blow past that step, I forget to add new files to the commit. I wind up with all this needless CI activity on push, publish a whole PR for others
113.
▲
by
pragma_x
2y ago
Now that's interesting. Are you talking about the commit author data, or something else? FWIW, this sounds like the kind of thing that signed commits would solve. If the coder/user commits anything that isn't signed, they c
114.
▲
by
pragma_x
2y ago
Maybe I'm misunderstanding the abstract here, but doesn't this also suggest that lonely individuals more readily reach their own conclusions about common ideas and concepts? I can't get away from the thought that all this co
115.
▲
by
pragma_x
2y ago
That is correct. If you install the `electrobun` package via bun or npm, you get a pile of arm64 binaries. These are big enough to ship a web-browser (Electron) so that would explain why they're binaries in the first place.
116.
▲
by
pragma_x
2y ago
Nostalgia is a powerful thing. > This is great, but for the real experience, you need to listen to this album with demonstrably worse gear.
117.
▲
by
pragma_x
2y ago
FWIW, there _is_ work being done on the hobby front for IC fabrication "at home". We're still far from buying a miniature chip-fab-in-a-box product, but current technology makes yesterday's tech far more affordable. We&
118.
▲
by
pragma_x
2y ago
I misread that as "impenetrable" machine learning and thought: "Well, it's about time someone admitted it." Ironically, the low-code examples do a good job of making this space a little more approachable.
119.
▲
by
pragma_x
2y ago
That's great that there's a way to passively optimize that process every day. But it's also bad news considering it's contrary to what you need if you have GERD. https://pmc.ncbi.nlm.nih.gov/articles
120.
▲
by
pragma_x
2y ago
I'm not saying they are in any way all that similar, but if you're doubting what an 8x8 grid can do for a turn-based wargame, may I suggest Into The Breach: https://store.steampowered.com/app/590380/Into_
More ›