Better HN
topnewbestaskshowjobs
Log inSign up

codeflo

9,663 karma · joined Jun 14, 2010 (16y ago) · 1,502 submissions

Submissions

comment 1y ago · link · parent

Companies of that size are common. It would in isolation even be profitable to serve them. The problem is if you introduce a middle tier that includes SSO, many enterprises will go for that instead of the expensive enterprise tier you want them to buy. Basically, you sacrifice medium companies as customers in order to chase after that sweet enterprise money.

comment 1y ago · link · parent

> People want your software to have more features, have fewer bugs, and not be exploited. So you and every one of your competitors are on an update treadmill. If you ARE stable, you'll probably fall off. If you are on the treadmill you are accumulating code, features, bug fixes, until you either get off or a faster competitor emerges.

Runners on treadmills don't actually move forward.

comment 1y ago · link · parent

That's probably true, but you're describing incentives and social dynamics, not a technological problem. I notice that every other kind of infrastructure in my life that I depend upon is maintained by qualified teams, sometimes for decades, who aren't incentivized to rebuild the thing every six months.

comment 1y ago · link · parent

We as an industry need to seriously tackle the social and market dynamics that lead to this situation. When and why has "stable" become synonymous with "unmaintained"? Why is it that practically every attempt to build a stable abstraction layer has turned out to be significantly less stable than the layer it abstracts over?

comment 1y ago · link · parent

I don't think those explanations are mutually exclusive.

Yes, there's a large cohort of "senior" software engineers who can't actually code. They bullshit their way into jobs until they're fired and then apply for the next one. These are the people you want to filter out with live coding.

But also, someone can fail a live coding interview for reasons other than belonging to that group.

comment 1y ago · link · parent

Raspberry Pi gets a lot of negative comments these days, with unfavorable comparisons to mini PCs at similar price points, which is certainly justified. But I don't know, it's not completely rational, I still love my Raspberry Pis. Especially a Pi 5 with an NVME SSD is a beast in terms of performance. They use very little power, they are tiny, the programmable GPIO pins are awesome. There's still a sense of magic, which for hobby use, is more important than the raw numbers. I just don't get the same "sense of tinkering" when booting a PC.

comment 1y ago · link · parent

This joke is a closer analogy to reality with a small addition. After the friend is suitably impressed:

> "Holy shit a talking dog!" says the friend "This is the most incredible thing that I've ever seen in my life".

this happens:

"Yes," says Fred. "As you can see, it's already at PhD level now, constantly improving, and is on track to replace 50% of the economy in twelve months or sooner."

Confused, the friend asks:

> "What's 3+3?"

> "Eight" says the dog.

> "What is this bullshit you're trying to sell me Fred?"

comment 1y ago · link · parent

> It has a massive phonemic inventory, with 44 unique items. Compare with Spanish's 24, or German's 25.

I'm not sure where you're getting these numbers from, but German has around 45 phonemes according to all sources I could find, depending on how you count: 17 vowels (including two different schwa sounds), 3 diphthongs, 25 consonants.

comment 1y ago · link · parent

Or btrfs. I also think that filesystem snapshots are underrated backup strategy, assuming your data fits on one disk (which should be the case for almost all applications outside of FAANG).

comment 1y ago · link · parent

I wonder to what extent this might be a case where the base model (the pure token prediction model without RLHF) is "taking over". This is a bit tongue-in-cheek, but if you see a chat protocol where an assistant makes 15 random wrong suggestions, the most likely continuation has to be yet another wrong suggestion.

People have also been reporting that ChatGPT's new "memory" feature is poisoning their context. But context is also useful. I think AI companies will have to put a lot of engineering effort into keeping those LLMs on the happy path even with larger and larger contexts.

comment 1y ago · link · parent

I also like the recursion. In essence, you're making a meta-proof about what PA proves, and given that you trust PA, you also trust this meta-proof.

> I think just PA+"PA is consistent" is enough?

It's not clear to me how. I believe PA+"PA is consistent" would allow a model where Goodstein's theorem is true for the standard natural numbers, but that also contains some nonstandard integer N for which Goodstein's theorem is false. I think that's exactly the case that's ruled out by the stronger statement of ω-consistency.

comment 1y ago · link · parent

I'm seriously fed up with all this fact-free AI hype. Whenever an LLM regurgitates training data, it's heralded as the coming of AGI. Whenever it's shown that they can't solve any novel problem, the research is in bad faith (but please make sure to publish the questions so that the next model version can solve them -- of course completely by chance).

Here's a quote from the article:

> How many humans can sit down and correctly work out a thousand Tower of Hanoi steps? There are definitely many humans who could do this. But there are also many humans who can’t. Do those humans not have the ability to reason? Of course they do! They just don’t have the conscientiousness and patience required to correctly go through a thousand iterations of the algorithm by hand. (Footnote: I would like to sit down all the people who are smugly tweeting about this with a pen and paper and get them to produce every solution step for ten-disk Tower of Hanoi.)

In case someone imagines that fancy recursive reasoning is necessary to solve the Towers of Hanoi, here's the algorithm to move 10 (or any even number of) disks from peg A to peg C:

1. Move one disk from peg A to peg B or vice versa, whichever move is legal.

2. Move one disk from peg A to peg C or vice versa, whichever move is legal.

3. Move one disk from peg B to peg C or vice versa, whichever move is legal.

4. Goto 1.

Second-graders can follow that, if motivated enough.

There's now constant, nonstop, obnoxious shouting on every channel about how these AI models have solved the Turing test (one wonders just how stupid these "evaluators" were), are at the level of junior devs (LOL), and actually already have "PhD level" reasoning capabilities.

I don't know who is supposed to be fooled -- we have access to these things, we can try them. One can easily knock out any latest version of GPT-PhD-level-model-of-the-week with a trivial question. Nothing fundamentally changed about that since GPT-2.

The hype and the observable reality are now so far apart that one really has to wonder: Are people this easily gullible? Or do so many people in tech benefit from the hype train that they don't want to rain on the parade?

comment 1y ago · link · parent

I can't shake the feeling that this a dream that was pursued by people who (at least for a time) didn't need the income, and not technology that was under any pressure to actually work. Something like a lifestyle business, but in this case, maybe a lifestyle charity.

The article is full of "community" this and "local people" that, and very low on details. The little that is there raises red flags. For example: The fact that their rented machine shop had to close down is given as an explanation for them having to sell all their machines below cost and then not having the money to buy the machines back when they found a new place. That doesn't add up: temporary storage spaces exist and aren't even expensive, given that you can choose a remote location. It seems like a crucial detail was left out, maybe one that would paint them in a bad light.

I gather that they sell (apparently unsafe?) wood chippers, presses and some injection moulds, probably at cost. I don't understand what else is there. The "version 4" release thing mentioned in the article might be their open-source "academy" [1, 2] that's supposed to teach you how to start your local recycling shop. It includes valuable tips like "add all your expenses" and "don't forget to include taxes" and comes complete with an empty Excel sheet -- I'm sorry, a "Business Calculator". No commits since 2020, so the "version 5" of this guide that they claim to have been working on for five years must be hosted somewhere on a private GitHub fork instead. I'm sure it's awesome. Best of luck.

[1] https://community.preciousplastic.com/academy/business/works...

[2] https://github.com/ONEARMY/precious-plastic-kit

comment 1y ago · link · parent

> have an NPC brief the player on how to find the level exit

No, please, no.

comment 1y ago · link · parent

It isn’t, arguably easier than installing Go (no GOPATH). Rust compile times are really slow compared to Zig or Go though.

(Edit: As this seems to trigger some people: I code in Rust. I’m just stating the facts.)

comment 1y ago · link · parent

I don’t get the difference. In both C and Rust you can have pointers to uninitialized memory. In both languages, you can’t use them except in very specific circumstances (which are AFAIK identical).

There are two actual differences in this regard: C pointers are more ergonomic than Rust pointers. And Rust has an additional feature called references, which enable a lot more aggressive compiler optimizations, but which have the restriction that you can’t have a reference to uninitialized memory.

comment 1y ago · link · parent

Is there any advantage to this approach over publishing a separate "zod4" package? That would be just as opt-in and incremental, not bloat download sizes forever, and make it easier to not accidentally import the wrong thing.

comment 1y ago · link · parent

That's not explaining ownership, that motivating it. Which is fine. The thing that's hard to explain and learn is how to read function signatures involving <'a, 'b>(...) -> &'a [&'b str] or whatever. And how to understand and fix the compiler errors in code calling such a function.

comment 1y ago · link · parent

This is an issue that plagues modern open-source libraries in general, but the ones you mention, Winit and Wgpu, are particularly awful examples of this disease. Winit turning the event loop inside out might have had a reason on some platform, though I don't see why the old API couldn't have been supported anymore. Both projects frequently shuffle around their data structures with no rhyme or reason. Everything built on top of them breaks all the time, for tiny perceived gains in naming consistency. I think your suggested term "refuckering" is indeed a nice way to put it.

comment 1y ago · link · parent

As I said,

>> It was home consoles on televisions where people get the idea from that all CRTs were blurry.

The video you linked shows a PS1 game, which proves my point. It's possible you're too young to remember the big difference between a CRT TV and a CRT monitor. Monitors really did show discrete pixels (which was important for tiny text in applications to be readable), while TVs were blurry messes.

comment 1y ago · link · parent

To quote my post that you reply to, it's

> a bad approximation that can only result in unnecessarily blurry images

comment 1y ago · link · parent

> I don't think it has anything to do with display technologies though.

I think your two examples nicely illustrate that it's all about the display technology.

> The computer is running a service that is resizing images from 100x100 pixels to 200x200 pixels. Would the programmer of this server be better off thinking in terms of samples or rectangular subdivisions of a display?

That entirely depends on how the resizing is done. Usually people choose nearest neighbor in scenarios like that to be faithful to the original 100x100 display, and to keep the images sharp. This treats the pixels as squares, which means the programmer should do so as well.

> Alvy Ray Smith, the author of this paper, was coming from the background of developing Renderman for Pixar.

That's meaningful context. I'm sure that in 1995, Pixar movies were exposed onto analog film before being shown in theatres. I'm almost certain this process didn't preserve sharp pixels, so "pixels aren't squares" was perhaps literally true for this technology.

comment 1y ago · link · parent

Good PC monitors (especially in 1995) displayed pixels as almost perfect discrete squares. It was home consoles on televisions where people get the idea from that all CRTs were blurry.

comment 1y ago · link · parent

This classic article is wrong, BTW, there's no nicer way to put it. It applies the wrong theory. It was already wrong in 1995 when monitors where CRTs, and it's way wrong in 2025 in the LCD/OLED era where pixels are truly discrete.

Audio samples are point samples (usually). This is nice, because there's a whole theory on how to upsample point samples without loss of information. But more importantly, this theory works because it matches how your playback hardware functions (for both analog and digital reasons that I won't go into).

Pixels, however, are actually displayed by the hardware as little physical rectangles. Take a magnifying glass and check. Treating them as points is a bad approximation that can only result in unnecessarily blurry images.

I have no idea why this article is quoted so often. Maybe "everybody is doing it wrong" is just a popular article genre. Maybe not everyone is familiar enough with sampling theory to know exactly why it works in audio (to see why those reasons don't apply to graphics).

comment 1y ago · link · parent

Ah, the prequels, famous for their kid-friendly themes like senatorial debates and child murder. Nostalgia is a powerful drug, but I think there are objective ways in which the originals were more competently made than the prequels were that are not explained by the "boomers vs. millenials vs. zoomers" nostalgia angle that you suggest.

comment 1y ago · link · parent

Just to be clear, that "speed-up" is not a good thing: Those 100 years were a lot less deadly in total. The World Wars were even shorter and much deadlier still. A possible next full-blown conflict between major powers will only last hours -- and end civilization.

comment 1y ago · link · parent

Looking at the green screen shots of that Mustafar fight in Episode III: If that was the actual lighting of the in-camera scene, then it's not a mystery at all that everything in that movie looked so fake.
12345
51