Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mypalmike
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
mypalmike
2y ago
That was precisely the goal of many high level languages.
32.
▲
by
mypalmike
2y ago
Designing biological tools is not a commonly accepted bar for AGI.
33.
▲
by
mypalmike
2y ago
So true. My first parser was for a little text adventure I wrote. I didn't know parsing was a thing people might write about, so I just muddled through some text manipulation in Atari BASIC it until it worked. Even sorting was somethin
34.
▲
by
mypalmike
2y ago
Someone has obviously simplified the code. Oops.
35.
▲
by
mypalmike
2y ago
If the memory's lifetime correctly coincides with the function (which is why you might use alloca in the first place), I don't see how this would be a memory leak nor why it would lead to a crash. Maybe on systems which limit stac
36.
▲
by
mypalmike
2y ago
One Punch Man
37.
▲
by
mypalmike
2y ago
Bit of an aside... In my experience, game companies are particularly prone to treating engineers like children in this and other ways.
38.
▲
by
mypalmike
2y ago
And the Dutch East India Company before that.
39.
▲
by
mypalmike
2y ago
There are multi-actuator hard drives out there. I don't know if any of them separate read heads from write heads, but it would certainly seem possible for such a drive to exist.
40.
▲
by
mypalmike
2y ago
Your question piqued my curiosity, so I did some googling... Apparently sharpies do work in space, though NASA seems to prefer the Duro brand of marker. https://airandspace.si.edu/stories/editorial/saga-writing-sp.
41.
▲
by
mypalmike
2y ago
Agreed. I was mostly trying to give the briefest overview I could for a hn comment. I don't love spring, but I've seen the benefits from having a well-organized, declarative graph of the top-level objects (i.e. the core objects th
42.
▲
by
mypalmike
2y ago
It's primarily a technique used in object oriented programming. So it's hard to translate to Haskell. The big picture of what a DI framework does is let you declare your structural object graph using a config file or decorators an
43.
▲
by
mypalmike
2y ago
I think that's much shorter than real life outcomes. Just last week, I was looking for some old data. I dug through a small collection of cheap CD-R backups from 30 years ago (hard to believe the tech is that old!). Probably 12 discs i
44.
▲
by
mypalmike
2y ago
The most amazing of these exceptions is Microsoft Windows 11, which still uses local time on the hardware clock, a legacy of decisions made over 40 years ago. Raymond Chen defended this practice (20 years ago) https://devblogs.mi
45.
▲
by
mypalmike
2y ago
Same in the UK if you don't declare and pay taxes. Source: Cigarette smugglers were caught on every episode of "Customs UK".
46.
▲
by
mypalmike
2y ago
Certainly a response to the burgeoning right to repair laws in various places. A counterexample to the "you can't legislate morality" crowd.
47.
▲
by
mypalmike
2y ago
Yes it's easy to strain metaphors.
48.
▲
by
mypalmike
2y ago
The discussion was about the additional risk to the customer, not the vendor.
49.
▲
by
mypalmike
2y ago
Not generally, no. Driving that car with the sketchy suspension is cheaper than getting it fixed.
50.
▲
by
mypalmike
2y ago
There's a law that as any discussion on hn grows, the odds that someone chimes in about some new thing being just a rehash of an old thing approaches 1.
51.
▲
by
mypalmike
2y ago
Except it really is clickbait. It's a really cool development in 3D print technology, but it's not a tiny printer.
52.
▲
by
mypalmike
2y ago
I get value from LLMs just about every day, mostly through the Copilot plugin for VSCode. Yesterday, for example, I had some ts React class-based components I'd written which I wanted to convert to functional components. Select all, &q
53.
▲
by
mypalmike
2y ago
The company promised there is a "LAM", or "Large Action Model" which uses AI to perform actions. The claim is that it can perform actions on-the-fly that the Rabbit devs never considered, rather than simply turning NLU i
54.
▲
by
mypalmike
2y ago
I wonder where this need to deny the impressiveness of LLMs is rooted. Maybe fear or ego.
55.
▲
by
mypalmike
2y ago
No. Maybe an example helps. You have a users table with username as natural PK. You have an access table with timestamps of users hitting a service, with FK of username. If you query the access table for a range of timestamps and just want
56.
▲
by
mypalmike
2y ago
Conversely, certain queries can be much faster by using natural keys when the FK is all that you need in the result rather than additional fields in the primary table. In this case, the primary table doesn't need to be queried at all.
57.
▲
by
mypalmike
2y ago
Sure, but it was fairly obvious to the critical eye that neither blockchain nor VR/metaverse were likely to have much impact beyond a few niches. Neither solves problems many people actually have. And a lot of the tech world rightly sc
58.
▲
by
mypalmike
2y ago
My experience is very different. Often it (ChatGPT or Copilot, depending on what I'm trying to accomplish) gets things right the first time. When it doesn't, it's usually close enough that a bit of manual modification is all
59.
▲
by
mypalmike
2y ago
I wonder how common it is to learn to add FK indexes in Postgres after watching a system be surprisingly slow. I learned the same lesson in a very similar way.
60.
▲
by
mypalmike
2y ago
I worked at a game company in the 90s that shipped a strategy game with a bug where the AI would literally never attack the player. I think the cause was some last minute copy/paste while rushing to deliver the game to the publisher. I
More ›