Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,270 karma · joined Nov 23, 2012 (14y ago) · 6,736 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 4mo ago · link · parent

This framing of the banners as cookie banners is a dodge. It's not about cookies.

The cookie banner isn't about the usage of cookies, it's about _the underlying tracking_. You're allowed to "just" use cookies for normal shit! You can make a website where you use cookies to store login state for a user, without a single banner.

The thing is that every company in the world feels the need to add 1000 tracking cookies to anonymous users to track them through conversion funnels (on top of the ad stuff). That's what you have to inform people about

You can use cookies normally without a banner! You can't track without consent! Every cookie banner is actually a "we want to track you" banner. Calling it a cookie banner is playing into the confusion about what those banners actually are meant to communicate

comment 4mo ago · link · parent

while what you're saying is true in theory, you still have to make sure that e.g. your form responses do the right thing. You might think "just return the full page!" but it's extra work that for many people is busywork, and makes it harder to reuse things ("my comment post endpoint returns the rendered comment" becomes "my comment post endpoint needs to know what page the comment is in to return the fully rendered page")

In practice I think it's very easy to make your htmx application JS-requiring.

comment 4mo ago · link · parent

dunno where you're looking, they're 400 USD

But also just type "android mp3 player" into Amazon dot com. You'll find plenty of stuff under $100[0]

[0] https://www.amazon.com/4-02-Player-Bluetooth-WiFi-Speakers/d...

comment 4mo ago · link · parent

Any former Jupyter users using Marimo who have the sales pitch? I'm decently happy using Jupyter Lab but would love to hear what I'm missing out on

comment 4mo ago · link · parent

I've worked with good product people. They come up with good ideas, have great suggestions, leave latitude for implementation issues to guide some of the design, and work well in the constraints. It is kinda amazing because you might be given a good idea/ticket, and it just flows smoothly and naturally (building on top of existing good product design of course)

Having them around is like 100000x better than having just random engineers be doing product design. And "oh just listen to your power users"... come on folks, surely we know about designing our software into a corner right?

I'm saying all this but am very sympathetic to the pain brought by bad product people (or just like ... mid product people. It's a hard space)

comment 4mo ago · link · parent

The thing I've heard now in several places is that China is drawing down its massive secret stockpile (its _greatly_ reduced imports) which counterbalances a huge amount of this

I do generally agree that the theoretical model being _this_ misaligned with the reality in front of us feels a bit hard to use

comment 4mo ago · link · parent

My understanding is there are decent MP3 players by places like Fiio at this point? Haven't used any of em in anger though

Though I have a walkman (that kinda sucks cuz it's android.... it's (USB-C AND annoying Android OS) XOR (Proprietary charging cable) from Sony nowadays

> Why can't somebody take simple smartphone hardware and make a modern media player that is not a phone?

Sony Walkmans are this, along with a bunch of the random mp3 players you would find on amazon. I don't know why some other people replying to you are acting like this doesn't exist.

comment 4mo ago · link · parent

> Obviously image gen in svg format is not a particularly hard problem if tackled directly on its own.

I don't understand the truth to this point, and there's a clear difficulty in establishing structure, a thing that you don't need to actually do with raster image gen, right?

Like if you say "please give me 9 circles" you expect circles in the image and not just a bunch of pixel that are vaguely circle-like, right?

comment 4mo ago · link · parent

> To completely ban vibe coded projects just limits the number of users that will use them.

here lies the fundamental misunderstanding by many people in this thread.

Is the objective of Codeberg to host as many projects as possible on its own server? I do not believe so!

The question then becomes "what is Codeberg's objectives?"

It's not to become the world's largest code forge instance! It's to build a set of FOSS tools for FOSS software development. Look at [0], for example, which lists alternatives.

But perhaps most importantly, the FOSS tooling can be self hosted, right? There's still a notion of freedom there.

[0] https://docs.codeberg.org/getting-started/what-is-codeberg/#...

comment 4mo ago · link · parent

> Folks who are okay with LLMs think the regression test suite is the spec and is the guarantee of stability. How else can it be? If you are depending on some behavior not covered in the regression tests, how do you know the next minor release won't break you?

I think this deserves a real response.

First, an analogy. I drive along a cliff with no guardrail. How do I not drive off the cliff? By knowing how to drive. Sometimes people mess up and drive off the cliff

In practice people are operating Postgres as a machine, more than an abstract spec. Minor releases exist, but the changes are made by people operating the machine and who have a fear of making the machine break.

There are also performance characteristics that are part of an informal spec. While you can definitely write regression tests on performance, theres loads of value in stability of internals because people who have problems look into the machine and discuss it.

The internals might change, but there’s a lot of friction. So… you can have a lot of informal knowledge about.

If everyone working on a software stack is bathing in this informal knowledge, then the decision making is based on that. Things like what is meant to be in a minor or major release is understood. And people make those judgement calls.

After all, even if you have regression tests if you’re making changes you’ll need to write new tests! How do you know your new tests are right? That the new behavior is right?

PG is the entire machine. Fortunately we have version numbers, migration strategies, etc. But “here’s a new binary that passes the test suite and… maybe changes everything not covered by tests maybe doesn’t”. Why bother suffering when there are totally reasonable gradual rewrite strategies?

And of course… every bug in the world… got through despite a test suite! What software out there doesn’t have bugs?

And if the behavioral difference in the rewrite does affect people… I guess that’s something right? “Oh this isn’t a bug because it wasn’t covered in regression tests” is not that tenable.

comment 4mo ago · link · parent

Maybe? But this is an argument you can make about most technology adoption (silly recent example: USB-C adoption obviously buffetted by Apple showing up and saying "it's all this now" and having a bunch of people willing to swap everything out for it)

comment 4mo ago · link · parent

Diving a bit more into databases than your current comfort level/current job demands remains a great way to level up.

I've worked with many web developers who get mental blockage around DB tooling (granted, I have similar mental blockage when it comes to some operations stuff like K8s), and you can go far in life without really having to ask _that many questions_.

But going in and finding out how your SQL turns into data gotten from disk/written to disk is very helpful in just "knowing" what might be a decent idea. That and understanding your DB's locking system (or lack thereof...).

Figuring that stuff out can help reduce the surprise level when you can't seem to get a "simple COUNT" working quickly in Postgres or the like...

comment 4mo ago · link · parent

write the tests yourself. Or at least the sketch of the test (to get filled in later). Make a commit of what you do so you can then look at the changes.

If you write the tests the agents have an easier time writing the code!

comment 4mo ago · link · parent

the cynical take is of course that the tests were written by Claude and not validated.

Unfortunately "automatic generation" of unit tests have made a big part of the value of unit tests ("I am telling you what I expect here") disappear.

comment 4mo ago · link · parent

I've recently reached for pyinfra of all things and found it straightforward enough... just an epsilon above a pile of bash scripts.

comment 4mo ago · link · parent

I've been working in Picotron to go through this "program your own Puyo Puyo" book Sega published... it's a very fun environment to work in.

You can boot it up, fullscreen it and totally LARP programming... I guess an amiga with nicer color pallettes?

https://www.lexaloffle.com/bbs/?pid=166998#p strawberry_src is a fun editor to use for all of this

comment 4mo ago · link · parent

> But it’s not the biblical story. At Babel, the loss of common language stops construction whereas in AI-assisted engineering, construction can continue after shared understanding has already collapsed. The lack of an immediate failure is what makes it curious and a bit disorienting. The tower does not fall, and so we do not notice what was lost. It just keeps rising.

I don't think we have hit a long enough timescale to say that we _can_ actually build on top of the AI-assisted engineering work. Tech debt tends to reveal itself later on in the process.

Personally I've totally witnessed AI-assisted work that is clearly heading towards a brick wall quite quickly. I think "mixed feelings" is my optimistic view.

People really discount how well _well engineered abstractions_ are required for AI tooling to not generate absolute garbage. And if people are relying on AI tooling for the abstractions... I think you're really tempting fate in the mid-term.

comment 4mo ago · link · parent

If reselling is allowed a market is created, pushing up prices. But that extra money doesn't go towards anyone involved in the creation of the product! It goes towards scalpers. Though there's a bit of price discovery value....

Without reselling scalpers have no reason to scoop up the tickets.

So if you prevent reselling... then concertgoers just have to do a lottery or something for the scarce resource and people who aren't interested in the concert have no reason to buy the tickets! Just a better experience for everyone except for the scalpers and I guess Taylor Swift cuz she won't know the price ceiling for tickets.

comment 4mo ago · link · parent

Maybe a bit of a dystopian situation but ... I think this was 10 year ago now I went to an Utada Hikaru concert where I had to upload a picture of myself on a dedicated website and when the tickets were scanned I think they had access to that picture

comment 4mo ago · link · parent

kinda sad cuz 10klines you really get into "well I can just sit there and bang at the problem by hand" territory.

Sounds like a fun project....

comment 4mo ago · link · parent

There's other web3 nonsense sprinkled about too. I agree with sibling's view on this (provincial SV mindset).

comment 4mo ago · link · parent

Wild to see NFT nothingburgers next to "real ideas". Also very bizarre to see 2026 thinkpieces floating around in the same space as Gates' internet memos.

Maybe these are more million dollar PDFs than billion dollar ones, if only because there's enough VC money churning around for "friends" to give any idea by people in a certain segment a minimum of funding no matter how bad it is.

comment 4mo ago · link · parent

What would be your goto for the ML training pipeline?

I have the impression that Python basically wins by default in those spaces due to the lack of many good libraries in other languages (except for, like, C++).

But curious if this is just a very outdated view of the world

comment 4mo ago · link · parent

While PG's behavior doesn't guarantee a lack of data corruption, "an extension crashed, all bets are off, tear everything down" is going to give you a much better fighting chance against data corruption vs the alternative.

comment 4mo ago · link · parent

grep works well!

comment 4mo ago · link · parent

Buying Activision was a Phil decision. Not spending 67 billion dollars puts you in a different place

comment 4mo ago · link · parent

Not to minimise compcert's work nor to trivialise the equivalent kind of work in Rust but I wonder how much of the Compcert difficulty on dead code elimination is downstream of C semantic futziness. I know that CompCert has a whole notion of external visibility that it has to deal with that I _think_ would be way more straightforward in Rust.

My experience writing Roq (very limited!!!) is that it also lends towards kinda brute forcing your way through something. If you have your set of proof lemmas and you tie it all together there's not that much incentive to simplify the proofs (that are irrelevant anyways, according to the theories). So the 1200 LoC might be "oh we could have maybe done this in 400 with more thinking but ... well... this is working yeah?"

trying not to trivialize it all. Just kinda hoping that we do have a more provable future ahead of us, and that CompCert represents (hopefully) an upper bound of difficulty just due to the nature of the source language.

comment 4mo ago · link · parent

> The issue was labeled p-critical and i-miscompile, out of +61K rust issues there only 7 (including this one) that are both p-critical and i-miscompile, to me those are the most dangerous kind of bugs a compiler can have, given that they violate the contract between the programmer and the language. They show that not every safe code you write is safe. And also more generally there are only 247 p-critical issues to begin with.

I don't mean this in a snarky way or the like... and I guess the fact there are so few of these are a good indicator that the current processes are working decently well... but I would be very curious on a post-mortem from maintainers on how this bug got through. Miscompiles feel like the scariest sort of thing.

Maybe the deep and dark secret is simply that compiler optimizations are just extremely prone to mistakes and we all are just lucky enough that most messed up optimizations will break _something somewhere_ early enough to not get merged.

comment 4mo ago · link · parent

I really wonder what "randomixed testing" looks like in practice. What is the measure of success/failure?

I undrestand for fuzzing you have a very basic "doesn't crash" metric. Property based tests.... you gotta write properties for the PBTs to work on. What is the randomized testing hitting?

comment 5mo ago · link · parent

There’s s fun subgenre of blog titles in Japanese like なんとか作ってみた/やってみた. Like “we tried something”/“we did something” etc

A great sort of tone setter title format. Basically you know you’re about to just read someone talk about their experience in a casual way. Feel like everyone should try writing blog post titles like that

“I installed Arch Linux on my toaster” “I dug a whole in my back yard” “We made a very big paper airplane” is going to lead to very interesting blog post vibes

1
678
225