Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 7mo ago · link · parent

For hardware acceleration you might be interested in the remote hardware acceleration strategy...

https://jellyfin.org/docs/general/post-install/transcoding/h...

The jellyfin DB itself is unfortunately sqlite instead of being DB agnostic. Maybe you could hack together something such that only one node handles writes and everyone else handles reads... if getting multiple cheap nodes gets your more bandwidth. I have to imagine that jellyfin fairly quickly stops being in charge of the media stream directly.

But yeah I think the transcoding and the size of your data pipe is the only "hard" part. The DB read/writes themselves are going to not be an issue (I think)

comment 7mo ago · link · parent

managing deps as a separate project introduces a lot of day-to-day annoyances, especially if the files are actually changed decently often.

comment 7mo ago · link · parent

I was a bit confused about the Mitterand gov't claim, that seems to be a Hollande gov't thing from 2014. In particular after 2011 (with Fukushima on the minds of Europeans... not to debate how much those concerns made sense), and part of policy alignments with the socialist party and the greens

Found this 2023 article with Hollande not feeling the need to apologize for this policy[0]. I would like to point out that here Hollande at least points out the following:

- at the time polling showed 65-80% of people wanting an off-ramp

- this was kinda premised on the idea of leaning into renewables, which feels fine. If you can build a wind farm or solar in some spots might as well! There's not much morally wrong with the tech

There's definitely an argument to saying that its the responsibility of politicians and gov'ts to convince people to make the right decisions, but if 80% of people are like "we want to move our electricity grid to rely more on renewables" it's hard to argue to _not_ do it. And 50% is still 50%!

> Which is economically idiotic, all these plants have 30-40 years or more of productive use ahead of them.

This is the thing I'm not quite sure about. Like Fessenheim (which, IIRC, was the oldest) ended up working for 40+ years. Now... I'm not sure but if this plant was the oldest, then France was decomissioning older plants right? So either all of these politicians are being too "scared" to run the plant for 80 years.... or the lifetime of these plants really are less than 50 years.

I don't know how much of the reduction of nuclear share played a role in everything. We're talking about Hollande, a one-term president, establishing this in the wake of Fukushima. It wasn't the state of things in 2010, right?

I do get the argument of "don't lose the muscle memory" for cost control cases alone. I don't think that "build some renewables because wind is also quite nice when you can use it" is an unreasonable ask either (don't need water to cool wind turbines!).

I do appreciate the color on EPR though. I knew EPR was a bit of a mess but I get what you're saying about building 14 of the same thing vs just one of em.

[0]: https://www.leparisien.fr/politique/aucune-raison-de-faire-u...

comment 7mo ago · link · parent

France is all-in on nuclear. Their reactors are still pretty expensive. Worth it, but expensive. Each reactor is a huge piece of infrastructure where small mistakes compound. No matter how little regulation you have reworking these giant buildings takes a lot of work, if only from the physics of it all.

If there's magic that makes em massively cheaper someone should tell France.

comment 7mo ago · link · parent

I think a lot of people are not hype about AI in their toaster, but... I don't think people are generally turned off form deeper integration in their OS itself. Especially when for some people this is representing ideas similar to how programmer-types get excited about Shortcuts.

Decently accessible automation and discovery, without having to go figure out a bunch of stuff

comment 7mo ago · link · parent

reading this I was wondering about this.

My sort of childlike mental model of satelite imagery of the planet is that we've "covered" everything but does anyone know at what frequency we do get new satelite imagery for places like the antarctic (or, say, the dead middle of the atlantic ocean?)

I imagine that satelite imagery is a bit needs based but maybe every square meter of the earth is captured at least once a couple of months

(Not the same thing but am reminded of how despite the importance of the internet and undersea cables for fixing things, there are _very very few_ boats that can actually repair them. Maybe there aren't that many satellites pointing at some parts of the globe)

comment 7mo ago · link · parent

https://www.amazon.com.au/Generative-Design-Visualize-Progra... for anyone who is interested in a guided experience of writing this stuff, I have this book. Filled with examples, conceptual explanations (sometimes having someone explain something very simple to you is helpful!) and a lot of nice pictures.

I think there are newer versions of this book, though I haven't tried finding it. It's a hefty coffee table book as-is

comment 8mo ago · link · parent

I think that on linux docker is not nearly as resource intensive as on Mac. Not sure of the actual (for example) memory pressures due to things like not sharing shared libs between processes, granted

comment 8mo ago · link · parent

am I crazy for thinking that the 16GB Pi 5 is just there to absorb money from people who purchase the most expensive version of things? Like really nobody needs that much RAM on a Pi?

comment 8mo ago · link · parent

Old web stuff is still around. RSS feeds are out there. Some parts of masto are generally chill and filled with people having interesting convos.

You don't have to give up on everything to participate, but it can be a space to go to if you're tired of every social interaction being mediated by (I'm being glib) hustlers

comment 8mo ago · link · parent

I'll bite: how do we take advantage of ZFS layering if not via the docker-style layering?

I find dockerfile layering to be unsatisfying because step 5 might depend on step 2 but not 3 or 4... the linearisation of a DAG makes them harder to maintain and harder to cache cleanly (with us also having monster single-line CMDs all in the main of image results).

So is there a better way that people are using?

comment 8mo ago · link · parent

Please can we just have a 2FA step on publishing? Do we really need a release to be entirely and fully automated?

It won't stop all attacks but definitely would stop some of these

comment 8mo ago · link · parent

Proofs of what?

Proofs tend to get generated upstream of people trying to investigate something concrete about our models.

A computer might be able to autonomously prove that some function might have some property, and this prove is entirely useless when nobody cares about that function!

Imagine if you had an autonomous SaaS generator. You end up with “flipping these pixels from red to blue as a servis” , “adding 14 to numbers as a service”, “writing the word ‘dog’ into a database as a service”.

That is what autonomous proof discovery might end up being. A bunch of things that might be true but not many people around to care.

I do think there’s a loooot of value in the more restricted “testing the truthfulness of an idea with automation as a step 1”, and this is something that is happening a lot already by my understanding.

comment 8mo ago · link · parent

iOS keyboard autocomplete

comment 8mo ago · link · parent

Yeah at this point I’d really like for pypi to insist on 2FA and email workflows for approving a release.

Yeah it means you don’t get zero click releases. Maybe boto gets special treatment

comment 8mo ago · link · parent

I've been practicing drawing on my iPad.

Not having to use stuff like whiteout and having undo is quite nice. Getting layers "for free" is nice. I've given myself permission to even do some digital manipulation like resizing on the fly rather than redrawing some eye.

But watching some pros go at it on paper + pen, I do get this feeling that when you don't have the undo button you really do gotta force yourself to get good at the nitty gritty. Really you need to get good at drawing lines nicely the first time when you're inking to paper.

Also, when going through this stuff slowly and annoyingly, or tracing other people's art, you really start internalizing things like how some visual effect is gotten by just a handful of lines. 6 well placed lines gives you a notion of very voluminous hair for example.

it does feel like touching the lower level parts of a craft can help so much with having good fundamentals at a higher level.

Who hasn't, as a kid, thought "Oh I can draw bubble letters" and then realize that it's actually kinda tough, and then after mastering it have some new appreciation for spacing lines out properly and knowing where the pen goes?

Seems like a useful way to get a feel for things. Everyone "knows" how perspective work, yet a lot of people can't commit it to a page. There's clearly some understanding for how things work hidden in being able to do the thing, isn't there?

comment 8mo ago · link · parent

Even there the "problem" was left-pad being used by one or two projects used in "everything".

So the problem isn't that everyone is picking up small deps, but that _some_ people who write libs that are very popular are picking up small deps and causing this to happen.

This is different because it doesn't really say that all JS developers are looking to include left-pad. But I _do_ think that lots of library authors are too excited to make these kinds of dep trees

comment 8mo ago · link · parent

I think the fact that everyone cites the same is-number package when saying this is indicative of something though.

Like I legit think that we are all imagining this cultural problem that's widespread. My claim (and I tried to do some graph theory stuff on this in the past and gave up) is that in fact we are seeing something downstream of a few "bad actors" who are going way too deep on this.

I also dislike things like webpack making every plugin an external dep but at least I vaguely understand that.

comment 8mo ago · link · parent

I think on the first point, we have to start calling out authors of packages which (IMO) have built out these deptrees to their own subpackages basically entirely for the purpose of getting high download counts on their github account

Like seriously... at 50 million downloads maybe you should vendor some shit in.

Packages like this which have _7 lines of code_ should not exist! The metadata of the lockfile is bigger than the minified version of this code!

At one point in the past like 5% of create-react-app's dep list was all from one author who had built out their own little depgraph in a library they controlled. That person also included download counts on their Github page. They have since "fixed" the main entrypoint to the rats nest though, thankfully.

https://www.npmjs.com/package/has-symbols

https://www.npmjs.com/package/is-string

https://github.com/ljharb

comment 8mo ago · link · parent

In your metaphor the equivalent would be that you see that the chopsticks have splinters and are cleaning it

But everyone I met who does splinter cleanup does it _every time_ even without a cursory inspection. So the metaphor is… maybe more apt that you are cleaning a plate despite not seeing whether it’s clean or not first

comment 8mo ago · link · parent

I don't exactly know the system for which restaurants pull out of the disposable chopsticks but I think that for example "normal" tempura, katsudon, or like soba restaurants will tend to be those.

I almost associate the cheapo reusable plastic chopsticks with some food courts or Matsuya at this point.

comment 8mo ago · link · parent

> 1. I have seen Japanese people do approximately half of the things on the list.

There are people in Japan who are rude or who do not have as good manners or etiquette when they are eating alone!

If everyone followed all manners all the times they wouldn't really be encoded woould they?

comment 8mo ago · link · parent

I go to your house to have food. You give me a fork and knife. I go to your kitchen to wash the fork and knife for good measure.

comment 8mo ago · link · parent

This is a stupidly annoying problem because it's _very easy_ to accidentally spawn children that won't get killed up in many kill situations because the distinction between processes and process groupes papered over by the fact that shells will be nice enough to kill via process group.

But if your program is some TUI in raw mode its ctrl+c handler is often just killing itself... leaving its children along! Process groups in Unix are a stupid mess and the default being "a process can go away with the subprocess sticking around" rather than the inverse has just caused so many of these long-standing issues.

comment 8mo ago · link · parent

Uncharacteristically unclear marketing from Stripe!

You're gonna have to give me more to go off of than this.

1
101112
225