Better HN
topnewbestaskshowjobs
Log inSign up

bjoli

4,284 karma · joined Aug 4, 2017 (9y ago) · 2,275 submissions

Submissions

comment 4d ago · link · parent

Isnit a cultural, maybe: i found bob to be constructive and to the point.

comment 4d ago · link · parent

Sometimes I like to think of how little performance would be lost and how much would be gained by just collectively deciding to use Option/Result instead of sentinel values.

Things like the dumb (not like I'm any individual being dumb. Just collective accumulated stupidity) a*hole vulnerability some weeks ago. That wasn't even performance sensitive.

comment 5d ago · link · parent

Mutable strings bite again, but I never thought they would actually cause a buffer overflow like this.

comment 1w ago · link · parent

what are you talking about? even without aot, dotnet offers pretty stellar performance.

comment 1w ago · link · parent

i have been seeing a lot better performance, to be honest. It allocates a LOT less.

comment 1w ago · link · parent

when I realised I didn't have time to actually finish my own programming language (there was a big change needed in the type checker and it would have taken months with how much I can use a computer atm), I let claude something like 98% of the work, and it worked very well. The code comments are awful, but the code is ok. recently i have just let it have a go, and the code has grown more than I care for, but generally it has been doing well: https://github.com/bjoli/Bjolang

comment 1w ago · link · parent

I vastly prefer cml, but hopac has a lot of missed opportunities. I vibe coded my own language on top of c# that has a cml that is much more integrated with the language (and no other constructs are available :)). Being able to use events for things like reading from ports, so that you can select over reads and only the winning read actually takes anything from the port is more than nice to have. Or having STM that can be run as an event, so that you can choose over a transaction or a timeout in extreme congestion. Since it is composable, you can abstract away a lot of the details behind simple function calls.

I am kind of curious if it becomes faster when moving to dotnet11.

comment 2w ago · link · parent

Yes. Unless I really need CSP, but then I would much rather use f#+hopac because CML is the bee's knees.

For general concurrency where async doesn't suffice, go is nicer than C#, but hopac is nicer than go.

If go had proper concurrentML I am pretty sure I would use go a lot more. Again: this is for hobby projects where I get to choose freely.

comment 2w ago · link · parent

Go isn't as much fun. And is usually slower for my work until I bump up the GC and then it uses roughly the same amount of memory.

I have also found c# async to be lighter than go's concurrency story, and dotnet11 is going to make that much more clear.

Now: I write software for fun, not for money.

comment 2w ago · link · parent

I thought it was pretty well established that JXL has a big room for improvement when it comes to encoders. There are some fundamental limitations wrt the absolute lowest bitrates, but that the room for improvement in encoders is rather substantial, especially with things like rate-distortion search heuristics.

The comparison is more about who has had the most man-hours and megadollars put into encoders quality than about the inherent limitations about the format.

With that said, I use AVIF, but I do have what can be said to be an irrational preference for JXL.

comment 2w ago · link · parent

Aren't get-in and update-in a poor man's lenses? I find similar abstractions in most functional languages.

comment 2w ago · link · parent

I am just sad core.async is just the same old CSP.

I want to scream every time I have to implement nacks in CSP. It has to be domain specific every time, since there are no first class events.

I do agree that clojure gets a lot right (like an actually well integrated STM layer), the choice to go with CSP seems like a missed opportunity.

comment 2w ago · link · parent

Do you also happen to support the Motorola "shake to turn the flashlight on".

Every time I buy sometning that is not Motorola I regret it, and it is like 85% because of this feature. I don't know how they do it, but it triggers reliably, never misfires.

People always suggest apps that supposedly should allow the same thing, but they never work, which makes me think Motorola uses some lower level sensor access to do it.

comment 2w ago · link · parent

So, many people dont know this, but if you ever meet someone who says measles is natural and strengthens the body tell them about immunological amnesia. Measles in unvaccinated people will damage the immune system for a long time.

People that have had a measles infection will have a significantly higher rate of infection for something like 2-3 years post-measles. You can get things like varicella again. Even EBV (missing disease) can re-emerge, and often sensitivity to influenza increases dramatically.

If you have Bern vaccinated against polio, you will usually need another shot.

A friend of mine, an immunologist, use to say: the idea that an infection makes you stronger only ever (if at all) applies to bacterial infections. With viruses "the fewer infections the better" is true enough that I can stand behind it in my professional role. Even common virus infections can mess you up for a long long time.

comment 3w ago · link · parent

That Röhm wasn't a homosexual nazi? Das war ja wirklich eine Überraschung!

comment 3w ago · link · parent

My question is, did it provide POCs? I have had some security issues flagged that I tried my best to exploit, but failed miserably. Since I do not have any kind of privileged access the LLMs I use have been unwilling to actually prove that it can be exploited.

While I did fix most of the things because while they might not have been exploitable they were bugs waiting to happen, in all but one case I haven't been very impressed by any of the LARGE IMPORTANT SECURITY HOLES that were found.

comment 3w ago · link · parent

There is historical precedence. Ernst Röhm was co-founder of the Sturmabteilung and was openl y gay. And Michael Kühnen for a more modern example.

comment 4w ago · link · parent

Wasn't that the correct decision? They put a deprecation warning on it to inform people it was unsafe in server context, while also keeping it.

It was unsafe and surprisingly easy to DOS servers using it incorrectly. And by "incorrectly", I mean how a lot of (most?) people used it with user data. An API that happens to be safe by accident when people use it should be deprecated.

comment 1mo ago · link · parent

The leader can be a lesbian and still far right. They are against gay marriage, against talking about homosexuality in schools. There were gay Nazis, even high up. Röhm for example.

Iirc Weidel herself has made statements regarding how the society should always promote heteronormativity.

comment 1mo ago · link · parent

He aligns with people like the AfD.

Or as we say: It it sieg heils like a duck...

comment 1mo ago · link · parent

That is the saddest part: there is already a fantastic green thread concurrency for dotnet: hopac. F# then got Task {} and people kind of left hopac behind.

ConcurrentML really brought dotnet's concurrency story into the 1990s.

comment 1mo ago · link · parent

I have done my while neighborhood. Not a single quest left. Not without a sense of pride.

comment 1mo ago · link · parent

Its amazing they still have emacs on there. The flatpak version is useless for any kind of dev work.

comment 1mo ago · link · parent

I fond some llms gemerate awful code comments. Claude is the worst offender I use.

comment 1mo ago · link · parent

There was a hilarious video in The early days of YouTube when someone tried to write Perl using vistas voice recognition.

I haven't seen it in many many years, but at the time it struck my giggle button every time.

comment 1mo ago · link · parent

I am a professional bassoon player. I asked about multiphonic fingerings. It could actually suggest corrections for the fingerings that did not work.

comment 1mo ago · link · parent

The discussion started about "resources to feed the planet". The people most hurt by a lack of resources to feed the planet are not you and I. Framing it as a choice between biodiversity or "eating a lot fewer burgers and steaks" while claiming both is an overpopulation problem is the priviliged position, and saying it is about overpopulation is not going to help anyone.

comment 1mo ago · link · parent

Which of course is a very priviliged way of looking at the choice. The people most affected are the ones hardly using any resources in the first place.

comment 1mo ago · link · parent

Her interview with Arvo Pärt (composer) is amazing. She starts off being very Björk, and as a viewer I wondered where this would go. Turns out they live on the same planet, speaking the same language.

comment 1mo ago · link · parent

Wouldn't it be better multiplying the total of the choices with a random double. That way the random double is always strictly below total and the user isn't bitten by dumb float addition errors?

The only error then is when there are no choices or they set the weights to 0, negative or NaN. I am but a lowly musician though. I can't say I always think floats are simple...

12345
76