skysight-inc/HackerNews huggingface dataset:
That's not what was said. They said that a firewall rule can redirect traffic coming in on port 0 to a running service even when a service cannot bind directly to port 0.

Binding with port 0 as argument for AF_INET binds a random available port, not port 0. This is documented behavior of Linux and likely every other OS implementing a BSD-style socket interface.

Also note that ufw is just a tiny, non-standard wrapper for the much more powerful nftables/iptables interfaces
> Well, there are quite a lot of rumors and stigma surrounding COBOL. This intrigued me to find out more about this language, which is best done with some sort of project, in my opinion. You heard right - I had no prior COBOL experience going into this.

I hope they'd write an article about any insights they gained. Like them, I hear of these rumors and stigma, and would be intrigued to learn what a new person to COBOL encountered while implementing this rather complex first project.
Hey there, I built githubrecap.tech over the weekend for fun. It is like spotify wrapped but for github.
Frontend repo: https://github.com/siddarthreddygsr/GithubWrapped
Backend repo: https://github.com/siddarthreddygsr/GithubWrapped-backend/
ProductHunt link: https://www.producthunt.com/posts/github-recap-204
(please upvote if you like it)

Nothing is perfect.. feel free to raise PR's to improve it and I will look into it. Feel free to break stuff, raise PR's to fix stuff or to add features. I plan on making something better next year.
The difference is as subtle as between "I will not sell you my things because you bully my colleague" vs "I hate you so I will break your things".
The undersea terrain in many areas can be quite varied and rocky. In others, endless mud.

It’s not the easiest terrain to bury anything in.

And it’s always hard to access or even see reliably.
One thing to me is fairly obvious: people who are introverts can be social, but only for limited amounts of time.

For example, I like talking a lot, but I can only do it for limited amounts of time. Maybe only a few hours a week. If I'm pushed past that point, I just don't want to chat any more. It's like I'm full of food, but with socialization. After that I find socialization immensely distasteful and irritating.

That's why a 9-5 workplace environment never worked for me. It was forced socialization past my limit. Maybe that's what happened to the guy in this article: they go into defensive mode because they are pushed past their limit.

Extroverts don't understand this concept of limited capacity for socialization.
I have found some informative comparisons on https://www.unixsheikh.com/index.html.

As always, to accurately answer your question, you would need to benchmark your specific circumstances and workload.

Personally I use Debian Bookworm as my desktop. But prefer to use Alpine Linux for servers with external access. I have tried various BSDs, but I find the cognitive load of remembering two different ways of doing many sysadmin tasks an unnecessary burden.
What do you think appeasement was?

It was trying to be reasonable and avoid/manage conflict with a fundamentally unreasonable ‘partner’.
I mean, it literally does make you do things. That's why it's a mental disorder.
> In fact, is there any software engineering principle that isn't pushing for limiting complexity and allowing developers to reason locally?

Both DRY and SOLID lead to codebases that can be worse in this respect.

DRY and SRP limit what will be done in a single method or class, meaning that both the logic will eventually be strewn across the codebase, as well as any changes to that will need to take all of the pieces using the extracted logic into account. Sometimes it makes sense to have something like common services, helper and utility classes, but those can be in direct opposition to local reasoning for any non-trivial logic.

Same for polymorphism and inheritance in general, where you suddenly have to consider a whole class structure (and any logic that might be buried in there) vs the immediate bits of code that you’re working with.

Those might be considered decent enough practices to at least consider, but in practice they will lead to a lot of jumping around the codebase, same for any levels of abstraction (resource/controller, service, mappers, Dto/repository, …) and design patterns.
The normalization of eating dead animal flesh and using other animal products is one of the greatest threats to humanity.

It’s the greatest source and risk for pandemics. The horrible conditions in which the animals are raised means they’re far bigger consumers of antibiotics than humans, greatly reducing the efficacy of antibiotics for humans. It’s one of the larger direct sources of greenhouse gas emissions. It’s one of the greatest sources of water and land pollution. It’s one of the largest reasons for deforestation. And it’s one of the largest sources of land use and clearing while providing only a tiny fraction of the world’s calories (and protein, for that matter).

You don’t need to be an ethical vegan to recognize there’s something horribly wrong here.
Just by reading about it. I've used FreeBSD some as well, I know what knobs and sysrc and the like are about etc., but only as a fun hobby, to see what 'the other side' is like. I walked away feeling the system is if anything closer to Linux than I would have expected.

I am most interested in the out of the box experience. If we're going to compare tuning for maximum performance, we probably need someone who has experience tuning both kinds of boxes for that, to get a minimally biased read.

"Less churn" is always a valuable property, and one the BSDs are famous for, but at least personally I experience manageably little churn on Debian servers as-is. Churn and its consequences seems to come down more to personal familiarity than anything, and so I don't really include it under the banner of technical reasons per se.
You will get the WordPress scans regardless of what you return.
Was going to write approximately this, thanks for beating me to it. Just a bit of sparkling from my own (mostly miserable) experience: the disdain for “normies” comes from them, “normies”, forcing a square peg (me, atypical) into a round hole. There’s zero intention for accommodating for the differences. Predictably, as a result you get an extremely antisocial introvert. But guess what! If you just LEAVE ME BE, respect my silence and self-isolation… I will reach out and try to connect, on my own terms. Usually, by written text, since I don’t parse voices well, and don’t read facial expressions at all.
For practically everyone the local civil time is off from local solar time more than 30 seconds, because very few people live at the exact longitude that corresponds to their time zone. And then you got DST which throws the local time even more off.

This is ignoring the fact that due equation of time, solar noon naturally shifts around tens of minutes over the course of the year.

To drive the point, for example local mean solar time at Buckingham palace is already more than 30 seconds off from Greenwich time.
concerning if true.
I'd attribute malice when this advice comes from supposedly grown-ups.
It’s quite treacherous to identify yourself with labels: introvert, extrovert, conscientious, conservative, liberal, empathetic, neurodivergent, etc.

The act of putting a name on some traits that you have can seem liberating: I finally know what I am, and why I’m different from others, and that’s fine.

On the flipside, once you commit to a label, you lock yourself inside it, and instead of describing, it begins shaping what you are.

It doesn’t help that other people often try very hard to pin us down and assign labels to us forcefully, without considering if we’re OK with that.

The trick is to describe your behavior and separate that from yourself. Instead of being an introvert you can just say that my behavior was introverted, and that was a function of my internal psychological state.

Also, be open to experimenting with what affects that state, and reflect on it. That will remind you that you’re not a constant, you’re a function :)
Took me like a minute to find out who are behind it. Committers on GitHub project point to two profiles:

- https://github.com/88250

- https://github.com/Vanessa219

The first profile has a README (zh-CN, easily translated) introducing themselves as a married couple as well as their career trajectory leading to their current company. Googling the company name leads me to https://www.tianyancha.com/company/3153162387 showing the company’s legal structure, the legal names of the couple, their address, etc. (again, zh-CN but easily translated). Looks like I can view their financial reports too if I have a subscription.

The profiles also link to their social media accounts (on their own dev-focused community).

What more is there to know? At least it’s more than the average ShowHN asking for your email and sometimes credit card. I don’t understand these “couldn’t find much about them” claims.
But it still has to be auditable by humans, so I imagine some sort of LLM tool library over an existing language makes sense. Might be wrong! But langchain tools and pydantic schemas for Input/Output feel like the right abstraction

I can see the argument though, anything moving in that direction already?
No, appeasement is something else. Trying to buy peace by giving them free shipments of grain would be appeasement. NATO isn't trying to buy peace, they're trying to bleed Russia to death at a manageable level of conflict intensity.
Declarative Pipelines do that too (i.e. not only Scripted ones.)
China's EV sales set to overtake traditional cars years ahead of west
https://medium.com/@jason.webb/2d-differential-growth-in-js-...
Plug and Play AI DevBox
I'm building a pre-built AI setup to test various LLMs and have successfully integrated it into my business. I want to share it with everyone here.

This already integrates Qwen2.5-Coder 32B, Llama 3.1 70B 405B, FLUX.1 [dev] and Hermes-3-Llama-3.1-8B. It's highly customizable and can be used as a cloud AI, similar to Runpod when it's not in use.

Tech specs:

- AMD Ryzen Threadripper PRO 5955 WX

- 2 x RTX 4090

- 128GB RAM

- SSD NVMe 1TB
How is this "immediate mode"?

I see widgets that are added to a UI using .add()

"You should put this widget in a ui with `ui.add(widget);"

https://github.com/emilk/egui/blob/master/crates/egui/src/wi...

There appears to be a fluent builder API for these widgets. Is that what makes it "immediate mode"?
Show HN: I built and deployed a functional app using v0 with just 5 prompts
Big fan of UnixSheikh!

Yeah, I might just have to spin up a couple of $4 DigitalOcean servers and profile them against an actual running e.g. PHP web app, file server, Django app, etc.

The fact that there doesn't seem to be an overwhelming "Of course X is better than Y" consensus suggests that the differences are within an OOM of each other in nonspecialist cases, though.
This is such a great way to practice! Thank you for creating it! Could you perhaps add pitch indicators on the side and multi touch support? Or maybe it's open source?
New drugs to solve new problems or old problems better would continue receiving protections, and the incentives would remain in place.

How do you think about the nationalisation of generics of existing drugs being detrimental to new drugs' development?
Bringing back fond memories of the happy 90s
Can you suggest some resources to learn more about Websocket scaling? Seems like an interesting topic
> In our own little corner of HN, maybe we can stop celebrating and enabling greed and sociopathy.

It's oxymoronic though, as much as I agree with you this corner of the internet is first and foremost brought by an accelerator which celebrates greed and sociopathy above all.
>>"Kato wanted his journey to draw attention to the earliest migration of humans from Africa and challenge the racist notion that people should “go back to where they come from”. Viewed as a whole, he said the run had underlined the positive aspects of migration and its potential to “create a more culturally connected and enriched global society”.

This is an epic feat and gives me hope for humanity. My hats off to Mr Kato!
I'd have thought allowing _ as a synonym for _1 would have been more aesthetically consistent. That's the path I went with when designing my CL #λ reader macro, personally.
The logic is called every frame
short answer: to make money
Pax: War and Peace in Rome's Golden Age by Tom Holland

Well written, well researched and captivating.
https://www.goodreads.com/en/book/show/62712920-pax
Indux AI – photorealistic product renderings for makers
The game now loads properly.
Well, I think LLMs show that the information density of most current PLs is very low. After all, very small prompts can generate quite a bit of code that seems difficult to reduce using existing PLs.

Alas, the price we have to pay is non-determinism.

So maybe we can figure out how to get a deterministic language that is just as expressive.

One can hope.
They go into a good amount of detail[1] as to what they mean by "immediate mode" (this is linked from one of the windows when you open the page).

[1] https://github.com/emilk/egui#why-immediate-mode
Who know, it may not even be a date?

But seriously, https://xkcd.com/1179/
What about the chicken hawks?
What you mean is from a capitalist perspective. Not all software developers are focused on exploiting their users.
> the narrative that "Russians are just victims of the regime and can't do anything about it" is already fading away.

It's not a narrative, something you want to present to others in order to convince them or something, it's a sad reality for many Russians.[0] It's difficult to understand for someone who hasn't lived in a totalitarian state which can do whatever they want with your life and the lives of your family without absolutely any onsequences, whether you're rich and powerful like Navalny or just a simple pianist like Pavel Kushnir. It's easy to say "do something" if it's not you that risk quite literally everything.

[0] Yes, not all, I know. The percentage debate, or the lack of verifiable numbers, is another issue.
That’s not a standard format. ISO format is yyyy-mm—dd. Also, sorts nicely by time if you sort alphabetically.
I'll have to check out Supersonic for the desktop.

On Android I've been using Symfonium which is fantastic. https://play.google.com/store/apps/details?id=app.symfonik.m...
These labels are quite obviously overused. Like most social characteristics, there is a spectrum. I can, and have, gone without seeing another person for months - and I've barely noticed. Now, I go into work five times a week. I do think I come off as odd to people; but I don't mind, I'm not proud of it, but I'm not embarrassed by it either. I am what I am. Earlier in life I put great effort into being "normal" socially, but with great effort also came enormous stress.

I've not struggled with work or partners. There are lots of people who don't seem to mind the occasional oddity or silence in a group. Although, I do occasionally run into some self-righteous lot who try to "fix" me; but I find this condescending. There are lots of ways to be a person, and I am truly fulfilled with the way I am. Most friction this has ever caused is by someone wanting me to be some other way, usually theirs.
Speaking of cameras, I got some Reolink cameras for $40 and they're great. I run then on a wifi that has no internet access, but which I can access through Tailscale, and all functionality works (except notifications, obviously), as the cameras have a LAN only mode.

About this KVM, I really like the Tailscale access ability, though I'm worried about the binary blob.
I know. But they are the best we have. Still much better than Spotify or the other streaming services.
The distance from Helsinki to Tallinn is just above 80 km and there is only a narrow sliver of international waters in between the territorial waters. It is quite well monitored by surface and underwater surveillance.

In this particular case there is no need for a choke point, it already is one.

The ship suspected for this sabotage was promptly escorted to Finnish territorial waters and is guarded by coast guard vessels and helicopters.

This time the ship in question is under Cook Island / New Zealand flag, and they are more likely to cooperate than the previous instances where vessels under Hong Kong and Chinese flags. Apprehending a vessel on international waters requires the nation whose flag it's under to approve.
> What choice does Pete have? There is a certain romance in defying management but that sort of move is ... career limiting in multiple ways. Management are not there to be defied.

Pete's got a choice about whether or not to act with integrity, same as everyone else at pretty much every other fork in the road. If management orders you to do something stupid, ways to act with integrity might include: you can say no, or you can do it under formal or informal protest, or you can do it under the condition that related technical debt is prioritized in a timely fashion, etc. There are usually many options for a proportionate response. Design docs with some formal structure will often increase accountability, or since management isn't reading the code anyway perhaps a bare minimum is a comment for posterity that says "Code written under duress. Senior manager SomeGuy said on SomeDate that this would be temporary and can be rewritten by OtherDate" ?

In terms of acting without integrity, sure it's possible to go through a career/life acting out endless scenarios where you basically enter into a conspiracy with your direct superior to screw the other people at your level and to a lesser extent the company in general, all so that you can possibly go one rung up the ladder and do the same thing again. Setting aside the ethical question of how this effects others, and whether or not this is a soul-crushing and dehumanizing thing for Pete to do to himself.. my guess is that most engineers will avoid this mainly just because they'd find ladder-climbing more boring than problem-solving.

> Management are not there to be defied. [..] Bad managers will demand bad software and only be happy when they find someone to deliver it.

Oof. Lucky that when people talk about engineers working "down in the trenches" or "on the front lines" it's usually just making apps or whatever and not actually soldiering, otherwise the whole "just following orders" thing can get ugly. Bad outcomes may always happen regardless, but it makes a big difference to me whether I'm the one that's responsible.
Surely not! We could be a whole minute off and I’d still be standing on the platform when the train arrived.
The big difference is that with a sale there is paperwork filed with the state showing that the car is yours. If Hertz gets confused and still reports the car stolen that shoukd clear things up with police and prosecutors.

If Hertz botches it so badly that the state paperwork cannot be correctly filed you will find that out shortly after buying the car and can get it corrected.
Last is something that is embarrassingly extractable, which makes it a bad example (you shouldn't write that function anyway in 99% of cases - surely someone wrote it already in stdlib of your language).

It's like taking "list.map(x -> x*x)" as a proof that parallelism is easy.

Most code is not embarrassingly extractable (or at least not at granularity of 3 lines long methods).
This is about converting an already existing mall into something more profitable and productive. If there is not demand for retail space you can convert that into housing instead. It is not "perfect" housing, but it is better than staying vacant.
CATL launches the "world's first ultra-safe" EV skateboard chassis
> Don't modern services solve this problem just by HTTPS-linking back to the service?

Not all of them. That's actually a feature in GMail: it will populate your calendar from the information it reads in your confirmation emails, right?

I would argue that those modern services that send me a huge HTML-only email that only contains noise and a link to their website are downright annoying. It is very nice to receive a text-only update that contains useful information that I can read offline.
It's not because of energy concerns -- if you subsidize electricity prices in certain regions where you want industry to be developing faster, you don't want crypto-miners to take advantage of that. The regions are in the North Caucasus (Chechnya, Dagestan, etc.) and the ones that used to be a part of the Ukraine (some people might disagree with the wording). [0]

Also cryptomining is banned in the winter in some parts of Siberia, where the prices are low due to abundance of hydroelectric power and cryptominers are competing with locals for electricity. [0]

[0] https://tass.ru/ekonomika/22755633
This. I have argued with plenty of developers on why comments are useful, and the counter arguments are always the same.

I believe it boils down to a lack of foresight. At some point in time, someone is going to revisit your code, and even just a small `// Sorry this is awful, we have to X but this was difficult because of Y` will go a long way.

While I (try to) have very fluid opinions in all aspects of programming, the usefulness of comments is not something I (think!) I'll ever budge on. :)
Conformal cyclic cosmology states that the end state of the universe is conformally equivalent to its beginning and that therefore any notion of scale loses its meaning at the end/beginning of a cycle.

So it doesn't collapse. It only gets larger and larger, but since the notion of distance is encoded in the metric, and since only relative distances matter, it's "as if" it restarts once there's nothing left but energy (i.e. nothing to measure distances from or to). It doesn't actually contract and return to T=0, it's more like going to T % N and starting over.

And there are theoretical gravitational artifacts that could be measured in the CMB if the theory is true.
Basically, for now, LLM-generated music is only great for the person creating it and dreaming about overnight success.

My sister was sure she would be a famous DJ after generating a few songs that my mom would swear it was the best thing she had heard in a while. I would like it just to make her happy. After a few weeks she noticed how bad it was, mainly after she couldn't hear "other people's" generated songs.
Or "you're trying to stop me from killing your friend, so now I'll break your things".
> If this is Russia, what are we going to do?

The best option would probably be to travel back in time and not help blow up a Russian natural gas pipeline. [1]

It was a great way to set the precedent that wrecking other countries' undersea infrastructure is a free-for-all.

It's a bit weird how economic terrorism is fine, but only when we are the ones doing it.

----

[1] We could also skip out on peddling the rather embarrassing[2] conspiracy that somehow Russia decided to blow up its own pipeline.

[2] Embarrassing in the sense that so many otherwise intelligent people legitimately believed (and many of them still believe) that farce.
It's in the first paragraph of the linked article, and is expanded on further down.
Thanks for the suggestion! I'm following the website https://teachyourselfcs.com/ , which also mentions this course. It looks very good so far.
And what do you want to do with a high speed train?

They are equipped with a dead man switch, and will shutdown pretty much immediately if not responded to in time. Case in point: the high speed train driver that committed suicide by jumping out of his train two days ago. (May he rest in peace.) And ultimately, they are computer monitored, and will be shutdown if a given set of security procedures are not respected.

French trains have had bombs explode in them in the past, and did not derail. Some have hit landslides at full speed, and did not derail.

High-speed trains are fine, no need for airport-like obnoxious levels of "security".
There's always been a push/astroturfing online towards dense housing against americans because they know sparse populations are harder to control.