skysight-inc/HackerNews huggingface dataset:
Show HN: Sirkeji – Lightweight, In-Memory Event Streaming Library for Go
Hi HN!

I've been using Sirkeji, a lightweight, in-memory event streaming library, in private projects for over a year, and I'm excited to finally share it as an open-source tool.

Sirkeji is designed for developers who want to build modular, event-centric architectures in Go without external message brokers' complexity or performance overhead. It allows components to produce and consume events seamlessly while maintaining a predictable and decoupled flow of interactions.

Here are some key highlights:

Lightweight and Fast: Optimized for in-memory event streaming with minimal resource overhead.
Decoupled Architecture: Encourages modularity and extensibility by eliminating tightly coupled dependencies.
Easy to Use: A small API surface makes it straightforward to integrate into your projects.
Inspired by History: Named after the Sirkeci Train Station, symbolizing smooth and efficient flows.

Sirkeji has worked well for specific use cases, especially when building event-driven systems where external brokers would be overkill. If you're looking for a way to simplify interactions in your Go applications while keeping them testable, maintainable, and extensible, I think you'll find Sirkeji helpful.

I’d love to hear your thoughts, feedback, and ideas for improvement!
Exactly. Every programming language is a tool in your toolbox, and you should choose the appropriate one for the job at hand. For me, that's Go around 95% of the time.

I have no need to worry about a 24 byte overhead for a slice allocation, if I did have to worry about that, I'd probably use C or Rust.
> It didn't take great vision or foresight to see the uber app back in the early 2010's and see how things will play out vis-a-vis getting rid of the driver

It's not clear to me. The Uber we have today seems to be paying the third party drivers around cost price per kilometer, and doesn't have to allocate capital for purchasing vehicles, nor for cleaning or maintaining those vehicles. An Uber that had to buy a bunch of self-driving vehicles that they would also then have to maintain, clean, and service, seems like a worse, more risky, business than what they are running today.
Another day, another model made by engineers who think their technical prowess needs absolutely no understanding of the subtlety of human creativity
OpenAI blamed NYT for tech problem erasing evidence of copyright abuse
It looks pretty nice, good job!
The bookmarks feature is nice actually, but since I have almost a thousand of them saved in my browser, the page tries to load all of them and I couldn't find anything to remove it only from the new tab page.
I'd strongly suggest you to add a simple feature of custom bookmarks, separated from browser bookmarks.
> You can't just sell early access cars and fix issues as customers experience them.

But then how will you know what you HAVE to fix. /s

To be frank I find the whole Tesla cult to be mind blowing. Seems to be the realization of believing in something that seems so good to be true alwith a company who promises to do so many great things, delivers non road worthy vehicles and people still dedicate their time and money defending them.

Is it sunk cost fallocy? Or just people who just wish Tesla was what they promised they would be?
Usually your steer by wire isn't fixable over the air
It could also be that Musk thinks it's a market where he can avoid liabilities.
Maybe, to eliminate ambiguity (and make it sound cooler), they should call it a "roadworthiness directive", similar to "airworthiness directive" for aircraft. Of course airworthiness directives are issued by the authorities (the FAA in the US), while "recalls" are from the manufacturers, but still...
> Also commenting on random irrelevant changed line because you can't comment on unchanged ones (but they might need changes due to rest of the PR).

Gitea does this as well, it's a real bugbear.
That's very cool. I wanna get one for myself
I think the history, causes, and goals here are getting a bit wobbly. Ryan has been outspoken about what he thinks he did wrong with Node and why he decided to make Deno. I'm obviously not him, so I can't speak much about all of that.

Node compatibility is interesting because it's only useful until it's not. If all these other runtimes eat away enough at node's share, it won't make sense to be compatible with node anymore.

Just to finish the original discussion, as much as I love talking about the current state of js (heh) runtimes: the mention of graaljs supports deno's argument. Oracle, for whatever reason, used "js" rather than "JavaScript".
Safegcd's Implementation Formally Verified
>In the ML/AI era, it quickly becomes very hard to justify ignoring your data

It might be very hard for you, the provider. Me as the user I don't care at all about your technical challenges (to put it mildly). I expect you to fix it so I voted my representatives to force you to fix it. Because if the AI can do everything as we are told again and again, I'm sure it can also find a way to purge itself of my data. Sarcasm aside, it's not 2018 anymore and there are more and more practical guidelines how to apply GDPR and everything else, so worst case let the AI swallow those as well and find that way.
Yes. That is very much given. In fact some of it has already happened.

Europe has effectively ceded it's position in Africa to others some time ago.

Aid based approach has led to little tangible benefit for locals, and even less for Europeans. Furthermore, conditions the recipient needed to fulfill were, and still are, often hard to accept for cultural and historical reasons. Add to it the lack of actual power projection and all you have is contempt.

It's pretty visible during any UN vote.

Simply put, investment beats aid, every single time.

The silver lining is that Russia is having it's own issues, not entirely different but similarly horrible. Namely demographic crisis, exacerbated by war and poor public health.
There is also demographic crisis in China, however their government has been wise enough to not go to all out war.
LookSky Helped Me Find the Perfect Outfit in Seconds
I’ve always struggled to find clothes that fit both my body shape and style. That’s why we built LookSky: an AI-powered platform that acts as your personal stylist.

Here’s how it works:

Upload a few details about yourself (body type, preferences, etc.).
Use AI search to find the exact style you’re looking for (e.g., “casual outfit for a beach party”).
Get instant, personalized results.
It’s like having a stylist in your pocket. We’d love your feedback on how we can improve—especially from those familiar with AI or fashion tech.
Anything that increases the time and effort required for both detection and tracking is worth it, and all else being equal a LO aircraft will always be more survivable in a dense A2/AD environment than one without LO features. It's a continuum, not a binary situation where stealth is either perfect or defeated.

The USAF was well aware that it would not be able to preserve the impunity with which F-117s flew over Baghdad in 1991, but that was never the objective.

Shaping remains by far the most important factor for reducing radar cross section, followed by the use of radar-absorbent materials (RAM) in the airframe and the application of a RAM coating on the outside.

The F-35, for instance, gets most of its RCS reduction from shaping and the composition of its fuselage, and was designed with extremely low tolerances in order to rely a lot less on needing a top coating to cover seals, rivets, etc than earlier LO aircraft. So even when the LO coating degrades, as it does on long operational deployments, it doesn't catastrophically increase the F-35's RCS.

That's an example of the sort of incremental improvement I'm referring to. The F-35 has come a long way in terms of LO from earlier US aircraft. Compared to them, it needs a lot less RAM coating, it can use less hazardous materials for that coating meaning you don't need as much specialist equipment to apply it, and it's more resilient to materials degradation. Those are all things it's somewhat difficult for even peer competitors like China to catch up to.
Which could be solved in one swipe by adding a Result<T, Error> sum type, and a ? operator to the language. This is more a self-inflicted limitation of Go, then a general indictment of explicit error handling.
Recall means safety issue, which is necessarily bad. It's nice that they can fix these things over the air, but there was still some elevated risk before they caught it.

Despite this, seems like at least the regular Teslas are among the safest vehicles on the road all things considered.
And? It is targeting 230 employees, and explicitly excluding top management. Employees at Northvolt are often paid slightly below market, because they also warrants. But considering those warrants are probably not worth much anymore, the bonus may be necessary to retain necessary talents.
They exist, but new ones aren't being regularly added...
People who live and/or work in city center where it's near-impossible to park. If the robocab could pick me up, drop me off and find the parking space outside the city center – that'd certainly be a great product.
My repo doesn't re process the audio track: instead it makes the raw ASR text transcript better by feeding it additional info (title and description) and asking the LLM to fix errors.

It is not perfect, it'd sometimes replace words with a synonym, but it is much faster and cheaper.

The low cost of Gemini 1.5 Flash-8B costs $1 per 500 hours of transcript.
They actually hired some serious people. If they keep failing, it's not due to lack of total experience. That experience may not be well utilised, but the potential exists and they're far from kids.
I agree. But Russia is being backed by its Asian allies. They will grind forward albeit slowly.
> The Uber we have today seems to be paying the third party drivers around cost price per kilometer

That doesn't make sense, as the drivers are obviously not operating at a loss.
It looks like 3D on 16 bit / 4th gen consoles. Straight out of StarFox.
It's going to trigger a race to the bottom I think. Robotaxi is going to run into exactly the same challenges that Uber experienced back in the day: significant push-back from existing taxy industries.

In markets where they are allowed to operate they will compete directly with Uber which will probably drive down initial cost (consumers win), but the inevitable enshittification will no doubt take place, just making both options terrible.
True, and in my opinion a proof that Europe has potential to recover. Unfortunately it remains to be seen if they manage to survive oncoming regulator onslaught.

I hope they will.
How is this a problem though? Where are the abusive business models in free libraries?

And yes, the open source libraries that replaced closed source ones are often superior. And that's even before considering that having source code access and the right to distribute modified versions is itself HUGE - a library is immensively more valuable if you can go fix problems yourself instead of being blocked by a vendor that has different priorities from you.

Is your issue simply that open source made some business models obsolete? Because that's just a natural part of progress and not an issue in of itself as far as I'm concerned.

> Consumers and very small companies, on the other hand, are willing to go to extreme effort in order to avoid paying anything, opportunity costs be damned.

That really depends on the kind of software though. Yeah, I'm not going to pay for yet another version some standard tool that has been available for decades with only marginal improvements. But truly unique software can still sell. Games are a good example.

There is also the matter of risk. If an open source project dies then someone else can pick it up or you yourself (in case of developers or small businesses) can make the usually minor changes needed to keep it running. If a proprietary software business dies or just tries to add anti-user features because these days getting money from selling something isn't enough then you are SOL - better hope that a competitor is available and can import all the proprietary data formats.
But then you'd actually respect said EU regulation, wouldn't you. Out of spite, maybe, but respecting nonetheless.
I think at an even smaller scope than robotaxis, having a really convincing level 4 driver assist (dare I say "full self driving" mode) for general consumer vehicles is a decent value proposition. Both for prospective new car buyers and existing owners. EV adoption has still not reached saturation, so giving some compelling reason to buy a Tesla over another car is pretty big.

After a car rolls off the lot its hard to make money on it. Tesla is in a position to actually make money off this, provided their FSD offering is compelling enough. You can extract decently high margin recurring revenue from potential FSD subscriptions.

And despite their shortcomings, I think they are probably the closest auto OEM to making it happen, and they are clearly taking things pretty seriously (multi billion dollar GPU clusters, paying top dollar for talent, having a massive data edge, etc).

I think Waymo is the superior technology as of now, but in the short - medium term, having a compelling FSD product on a consumer car will probably benefit Tesla quite a lot. I'm not too sure how compelling a fully car-less (i.e people only commute via some company's robotaxi fleet) future is in the medium term though, and its business viability, but it seems like a not-unreasonable north star to work towards.
This is a bit of a black and white way of putting it. Yes, much state money is wasted, but not all. Some of the money went to Swedish construction workers for example.
There’s a pretty big difference between traditional auto markers’ “concept cars” and Tesla in 2019 showing off what was supposed to be very close to the final production car. It was also supposed to start at $40k, be bulletproof, have shatterproof glass (at least that one was discredited the minute it was announced), have a boat mode, have over 500mile range, and have a bed ramp. And it was supposed to have a “exoskeleton” design that, spoiler alert, isn’t possible. That was not “here’s this neat concept,” that was “this is the car we’re going to sell you.” Everyone (or at least, everyone in my bubble) knew that every single thing was BS (except maybe the ramp), but still nearly two million people with enough money for a pre-order gobbled it up.
There is a whole section in James May's review where he is confirming with a steel ruler that the surfaces are slightly convex :-)

https://youtu.be/CQzYhMDNLPA?t=216
Definitely: and just giving the LLM context before correcting (in this case the title and description of the video, often written by a person) creates much better transcripts.
Russia does not need to win to still wreak havoc.

Their hybrid warfare has created massive social rifts and political instability across all major Western Democracies.

Unfortunately you do not need a lot of money to do evil, when the devil's whispers are enough to turn citizens of a nation against each other.
Without fail, every single person I’ve seen rave about go’s error handling compares it only to exceptions as if that’s the only alternative.

On the flip side I have yet to find a person who’s familiar with sum types (e.g., Maybe, Option, Result) that finds the golang approach even remotely acceptable.
The decision to fade out nuclear power was made under the assumption of having an alternative reliable energy source (namely Russian gas). If your main assumption suddenly blows up (literally), do you really claim that stubbornly sticking to your original plan is the right way to go?
Nah, it's objectively not good-looking, and in a few years it'll be more obvious. There are probably more than 0 people who still genuinely think the Pontiac Aztek looks good, and they're wrong.
"I used to think that the worst thing in life was to end up alone. It's not. The worst thing in life is to end up with people who make you feel alone." - Robin Williams
Thank you, I rest my case. I didn't even need to bring up the DragonEgg cartel (Chandler?) going down the gcc-llvm-clang pathway used essentially for getting rid of the pesky GPL quoted above. With BSD-style, source code is no longer any of your business (not to mention chrome-chromium differences along the textbook AndroidTV tivoization).
The current Flash-8B model I use costs $1 per 500 hours of transcript.
How is this better than current Uber/Taxicab services? Or the bus, or the tram, or the metro, or a rental ebike/scooter?
> People tend to forget that Golang was created on purpose for poor programmers.

Ergo: if you actually like it, you must not be that great a developer.
I suspect it's designed that way intentionally.

It's a language built to make it hard for new joiners to mindlessly add complexity, as the language itself will fight you. It makes it hard to add dependencies that aren't very visible and vendored in, it makes it hard to change how the language behaves with overloading, preprocessor magic or macros, and so on.

It's built to fit Google specifically, with their army of new grads, and deep investment into reinventing all the dependencies themselves, and having a huge monorepo.

If you're not google, you're gonna have a bad time, which is also good for google.
Curious what city that's in... I rarely see them.
Should we be scared? [asked in all seriousness, not as a quip.]
> I've started caring about semantics a lot more than syntax, which is why I also haven't looked at Zig, Nim, Odin, etc: I am no longer interested in "a better C".

A strange take. Zig, Nim and Odin are about fixing semantics not to bring syntax sugar.
Not sure if it's age, but whenever I see one now, it looks dirty. Maybe it picks up dirt a lot, or owners are afraid to wash them, I dunno.
How does RAII works in concurrent systems ? It seems to me you need to add compile-time object lifetime evaluation (as in rust) which so far incurs a high toll on language complexity.
Flux (the image generator of xAI) is by Black Forest Labs - a german AI company for example.
Stainless steel can definitely rust. Leave your favorite knife in the sink for a few weeks and watch what happens, especially if it has any scratches on it.
Isolating Operating System Processes Part 1
In today's post I will go over process isolation in operating systems and how to start doing the same in Linux. Further into this series I am going to compare what it means to isolate processes in other operating systems as well.

With Linux as a base we will understand how Kernel features in Linux allow us to implement process isolation and by extension, containerization. In future entries into this series we will see how other operating systems implement this functionality as well. For now we will start with process isolation in Linux, understand the tiers to process isolation and then see how we can do similar isolation in other operating systems.

Hope you enjoy this one !
> It's not the front shape or slicing people. It's the weight. I have no idea why you think anyone is hand-wringing about slicing people. No one thinks slicing people with hard edges is the problem.

I literally provided links the reply below you mentioned, please read them! they do talk about the weight, but they are much more worried about the shape and its effect on pedestrian collision.

Please read the links, I'll share them here again.

https://www.wired.com/story/a-rubberized-cybertruck-is-ploug...

https://www.transportenvironment.org/uploads/files/2024-10-0...
The idea that each country must culture every product to assure the supply chain is outdated by a generation in Europe.

A lot of those vegetables are produced yet in Almeria. A lot of milk that goes to Italy is produced in France. EU has this issue checked from the first minute and created a supranational agriculture system based on quotes.
I don’t think this implies it can’t be the right tool for the job, even when everyone on the team is a good programmer.

I don’t think it implies that you can’t write good programs in it.
I should do that, let me try.
If it was created on purpose for poor programmers, it seems to have been created to enable poor programmers to write the poor code they wanted to write, instead of making it impossible for poor programmers to write any code.

I guess that's the difference, if you want code, no matter the quality, you have one choice, if you want code that's correct, you have another.
Go is an iteration of C, not of Java.

It's a really bad choice for situations where Java is a good choice as not only is the language limited, the ecosystem around it is also very limited when compared to say Java.

I'm maintaining Go, C# and TypeScript as my main languages as that gives me excellent coverage. I'll add Rust to the mix when I have 6 months where I can accept the productivity drop or have a project where the quality requirements are lower (it only takes a week or two to pick up a language, it's learning how to engineer within the ecosystem which takes the time).
Same in greek! I was pleasantly surprised to see a cat, I think this was a nice touch.
You can call us poor programmers if that boosts your ego. The industry is still built upon people who can build fast. Go allows that and so does Javascript. You might not like it but that's what is earning most people their bread nowadays.
The Developer Survey for The State of Vue.js Report 2025 is now live
And immigration. China will have severe demographic issues in 10-20 years, but the West doesn't have to because everyone wants to come here, and we still have a culture accepting of immigrants. This century we could have China's working age population halve while America's population grows to 500 million or more. America will win in this scenario, and China will fall off like Japan fell off.
A plausibly Pareto performance model
After reading Tim Dellinger's article[^0] on performance, I wondered what distribution the firing system he alludes to would lead to. TL;DR: under some not-too-outlandish assumptions, it certainly quacks like a Pareto distribution.

[^0]: https://timdellinger.substack.com/p/hey-wait-is-employee-per...

If you're interested, do mess around with the code. (I'm not sure if this should be a Show HN.)
For me, the issue with error handling is that while errors are explicitly stated, they are often poorly handled. Rarely have I seen the handling of multiple reasons for why an error might occur, along with tailored approaches to handle each case. This is something very common in older languages like Python or Java
A quote discussing the behavior of people?
Many people against Go's error handling do not advocate for exceptions, but for a combination of an Either/Result type (for recoverable errors) and fully aborting (for unrecoverable errors).
Python has the most opinionated brace style though
Do you have something to read about your study, experiments? Genuinely interested. Perhaps the prompts can be made to tell the LLM it's specifically handling human speech, not written text?
I attribute it to idiocy, but not on the part of Germany today. Sibling comments have already pointed out that a shutdown of nuclear was already decided in 2011 and that you can't just reverse that decision on a whim. I want to add that the shutdown is a culmination of over 60 years of lobbying, first by the Green Party when they were still single-issue radicals in parliament, then by environmental groups like Greenpeace. I like to believe that their intentions have always been good and noble, but to prioritize nuclear over the real polluter (fossil fuels) has always struck me as idiotic. It didn't help that the media constantly painted the search for a final resting place for nuclear waste as an insurmountable crisis, and of course Fukushima basically did the rest.