skysight-inc/HackerNews huggingface dataset:
For simple deployments, consider whether you need a reverse proxy at all.

I have IPv6 everywhere, with each service getting its own IPv6 address. Each service is managed in inetd-style (via systemd-socket-proxyd ), and so essentially listens directly.

For services that need to serve IPv4, I have a reverse proxy on my network edge that demuxes on TLS SNI to the corresponding IPv6 address.

The advantage here is never having to deal with complex applications, with their complex and changing configuration.
Collection of Motoi Sadakane and Copilot inc., looking at something
Bacteria preparing for space by making themselves drug resistant highlights their misplaced priorities.
I think you're going overboard on what's required. Take anybody who is simultaneously offered a substantial monetary incentive (let's say 4 years of total current/vesting comp), and also threatened with the release of something that we'll say is little more than moderately embarrassing. And this dev is being asked to do something that stands basically 0 risks of consequences/exposure for himself due to plausible deniability.

For instance, this is the heartbleed bug: "memcpy(bp, pl, payload);". You're copying (horrible naming conventions) payload bytes from pl to bp, without ensuring that the size of pl is >= payload, so an attacker can trivially get random bytes from memory. Somehow nobody caught one of the most blatant overflow vulnerabilities, even though memcpy calls are likely one of the very first places you'd check for this exact issue. Many people think it was intentional because of this, but obviously there's zero evidence, because it's basically impossible for evidence for this to exist. And so accordingly there were also 0 direct consequences, besides being in the spotlight for a few minutes and have a bunch of people ask him how it felt to be responsible for such a huge exploit. "It was a simple programming mistake" ad infinitum.

So, in this context - who's going to say no? If any group, criminal or national, wanted to corrupt people - I really don't think it'd be hard at all. Mixing the carrot and the stick really changes the dynamics vs a basic blackmail thing where it's exclusively a personal loss (and with no guarantee that the criminal won't come back in 3 months to do it again). To me, the fact we've basically never had anybody come forward claiming they were a victim of such an effort means that no agency (or criminal organization) anywhere has ever tried this, or that it works essentially 100% of the time.
No. You want an intersection that is safe for everyone outside of cars, and bollards help do that. If drivers aren’t capable of negotiating streets with them, then they shouldn’t be driving, or they should be driving a smaller vehicle. The idea that we should be building our streets to make driving easier is exactly how we’ve ended up with so many people being killed by cars every year in the US. Car centric design is a failed experiment of the last 75 years.
Thank you, that's truly excellent! And although it is a little bit technical and more complex than the more standard proofs, it is exactly what it claims to be, a non-circular trigonometric proof of the Pythagorean Theorem. They use a key trigonometric identity sin(2*a) = 2*sin(a)*cos(a), which indeed is quite easy to prove without assuming the Pythagorean Theorem.
Hopefully the next part covers some of the compilers available on the 68k personal computers of the late mid to late 80s. MegaMax and Manx come to mind a some of the more prominent examples.
It jumps straight to “I’m not going to list all the reasons”. Ok, maybe just the biggest one or two reasons? Is lexicographer sorting that helpful?
What's the irony, what's the arrogance? You can't just say "what if" without proof (I mean, say whatever you want.. but..) Back up your accusations with simple explanations please, I am not going to go watch 30 minutes of video to suss out your evidence.

Israel is the host country to the second largest Palestinian population on earth. I went to the Dead Sea the other day and passed by dozens of Palestinian cars on the road (not Israeli Arabs, which are another huge population- the Palestinians have different license plates).

If the goal of Israel was genocide, the number of civilian casualties would be FAR FAR greater than they are. I know programmers aren't necessarily mathematicians, but come on people, this is kindergarten stuff.

Look up the number of civilian casualties in America's fight against ISIS.

Hamas goes out of their way to use civilians as human shields. Just yesterday Israel had to try and carefully distinguish as a dual UNRWA / Hamas headquarters was put out of commission.

The narrative that Israel is commiting genocide in this war is so ridiculously stupid, a failure of basic math skills a 5 year old could do, the only way to believe it is to be horribly misinformed, or to want to believe it.

Al Jazeera incites violence by knowingly pushing misinformation on an audience who wants to believe it, to fan the flames of hate.

On Holocaust day especially, it's insane to expect Israel to provide resources for blood libels to her enemy in times of war.
That's not really DEI. That's just targeting schools with skills gaps, and it might have turned out to be mostly white. To be DEI, they'd have to be chosen because of ethnicity, gender, etc.
GM, Brooks Brothers, Washington Mutual, JC Penney, Hertz, Blockbuster, Sears, WeWork, Kodak, ...
There is a draft for a UUID variant called v7 which is basically the same like ulid

It is absolutely valid

In particular when you want ids to be in mostly ascending order but where you can’t use an auto incrementing int

It’s sortable is a key feature because it can help make searching tables more efficient in situations where the data is naturally tied to the time at which the entry was made and your queries relate to time also

For example, if you append rows with ulid or uuid v7, then you can binary search the records in the file without first sorting or making an extra index of the ids as they are already for the most part in ascending order
There's a catch-22 here because if a footpath is unsafe people won't walk there. So there will no incidents not because it's safe or because people don't want to walk there, but because it's unsafe.

Or to put it in another way: https://i.redd.it/auq600rozlsc1.png – pretty sure that road has very low cyclists and very low cycle accidents.

Of course not every road should have cycle lanes and bollards, but in general there's a huge lack of attention to the safety of anything that's a non-car.
I doubt this is a controversial point, at least not in this crowd, but I'd love to see some good legislation around what it means to sell digital products, and how they are allowed to change or not allowed to change over time, whether they can be retracted, etc.

We see companies retracting licences for content regularly now (probably because we're 10+ years into these services being popular and contracts once deemed "long" are starting to expire), and we see unreasonable requirements being put on consumers after purchase. While all cases I've seen so far have been well within the terms of sale/service, they clearly go against user expectations, and consumers are clearly not accounting for these possibilities when purchasing (rightly so in my opinion). Just saying "that's the contract" isn't working, it's time for governments to step in and lay down some ground rules.
I've been working on thanks.dev for over two years now & reading this report is disappointing to say the least. Why not spend the time to explain the value XZ Utils created for all the commercial users & what companies can do to better supporting maintainers with hundreds of issues experiencing burnout from their unpaid work? OpenSSF should instead promote FOSS programs like https://frontendmasters.com/blog/how-were-supporting-open-so... & how they help their open source community stay active. Working in open source is a social contract & corporates need to be better citizens if they want to reduce their risk profile.
The Role of User's Habits in Startup's Success – and How They Can Backfire?
> Weird. Looks like they're running Board of Directors elections. [0]

Just so you know: The X.Org Foundation also oversees Wayland.
I think it might be too late. I know it's a popular game, but this really killed its momentum.
And other cars!
Another Former Boeing Employee on 737 program dies
For real. I have the same experience. I'm 19, freelance developer writing Python among other things. Except I never learned Python syntax, and maybe never will.
Cracked had some amazing articles
Not that vast (in the US).

https://upload.wikimedia.org/wikipedia/commons/e/ef/1994-_Mo...
Consumer activity and protest does work from time to time. One lesson to learn about these sort of statements here is not to make them during weekend. In the end backing down here at least for a while is a sensible action.
How to ensure that your data science team has an impact on your bottomline?
> And so the cosmic scales apparently require that this person be discriminated against [...] because of the colour of their skin and what wasn’t done to them.

The scale was already tipped because of race. Is it unfair to try to tip it back? Is there no way at all to reasonably apply pressure?

Even if your answer is that it's unfair, it should be easy for you to understand why some people try.

And if any attempt to adjust the scale counts as "discrimination", then "discrimination" is not necessarily a dirty word.

> not on the basis of anything they’ve done, or have had done for them, [...] Regardless of all other hardships and lack of opportunity they may have experienced their whole life.

Well, if you had a way to measure that, it would help a lot. But if you don't have a way to measure it, I feel like disregarding it is probably reasonable.

"Don't try to fix problem X, because for some people problem X compensates for problem Y" is a pretty bad reason not to try to fix X. (With problem X being racism and problem Y being the other discrimination this white poor person faced.)
I think it's more that it leads to brain drain. Be it by misinformation, by discouraging anyone who doesn't fit [demographic of leadership], or by simply not giving proper code reviews in the name of politeness. All 3 ways creep up and the code base suffers from lack of care, and/or lack of talent.

We can certainly debate how effective old methods were (and yes, I have no doubt Torvald's old behavior turned off many a talent) and how we can improve on them, but in a more general viewpoint we need to remember that many open source code bases are, or started as, volunteers providing their knowledge in their free time. It doesn't take much to make them walk to the next repo. Or not contribute to OS at all.
Great resources! Thank you for making this.

I'm attaching here a DRL framework I made for music generation, similar to OpenAI Gym. If anyone wants to test the algorithms OP includes, you are welcome to use it. Issues and PRs are also welcome.

https://github.com/chaosprint/RaveForce
I came to the conclusion a while back that Wayland just doesn't matter very much.

As long as Chromium and Firefox plus the GUI mode of Emacs works under X11, that is all 90% of users need/use.
I'm using a reverse proxy just to terminate TLS. Pretty sure it is possible to do that at a service level, but don't think it's worth the trouble.
Building OpenGPTs: A Fully Open-Source GPT Store Alternative
Excited to share the v0 of OpenGPTs-platform https://github.com/OpenGPTs-platform , an open-source project aimed at replicating and surpassing the "GPT store" with a focus on minimal abstraction, high modularity, and extensibility. Our platform is built to seamlessly integrate a wide array of tools, empowering the community to contribute and expand beyond the existing capabilities of conventional platforms. The initial release features an enhanced "Assistants API" with tools like "retrieval", identical to the one from the GPT store, and a custom "web_retrieval" tool designed for efficient retrieval of information from pre-indexed websites, developed in collaboration with https://huggingface.co/spaces/seansullivan/Better_Langchain_... .
Check out our project on GitHub and watch our demo on YouTube https://www.youtube.com/watch?v=yPdIEKb3jWc . Join our Discord community https://discord.gg/23aZEjyjp2 to get involved and help us shape the future of OpenGPTs!
Zig is probably not so much popular as go or rust. But it seems like a great middle ground. It interops with existing c code. Even has it own compiler for c. Bun project is one of the major projects using it.
> Imperialism is often described as beginning around the 18th century.

Yea, because otherwise it might include the Roman Empire ;)
I've been doing something that includes a type character as the first character - followed by 11 random base58 digits. This allows > 2^64 possible ids and a type in ~12 bytes. I occasionally wish they were ordered, but most of my tables usually have a 'created_at' field anyway should ordering matter.

I feel like uuid / ulid are just overkill for most situations - and they're long and kinda ugly imo.
The way you're talking (Linux is a "slow complicated OS") means you're likely some dark wizard in a tower somewhere inventing either the apocalypse or the next great consumer experience.

For that reason I thank you for your likely many contributions to obscure open source projects and gosh speed on your endeavors.
One of the biggest risks for companies is securing dormant code, it's perfectly fine for a project to be no longer sexy enough to maintain. Platforms like thanks.dev have already proven how reward & recognition can help promote development in an ecosystem https://www.youtube.com/watch?v=e5FV-AnKPlo&t=1s
Forbidding the expression of whole categories of feeling and encouraging falsehood in the expression of affection is revolting.
The main driver behind lexically sortable identifiers is that you generally insert into databases in time order so if your ids are sorted by time then you are appending to the end of the table. If, on the other hand, your ids are random (e.g. the prevalent UUIDv4) then your database is spending all it's time shuffling everything around to insert your new rows in the middle of everything.

Once you have time-based identifiers as primary keys you can do fancy things like using some id you know was generated at time x as a where clause on some other table to dramatically cut down the search space. This kind of dirty trick can really improve performance sometimes when it really matters.

However, the main contender for lexically sorted IDs is ... UUIDs! The new UUID specs have ULID versions of UUIDs.

The new UUID spec includes lexically sortable variants, of which UUIDv7 is gaining widespread support. https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122b...

That spec lists 16 prior lexically-sortable identifiers, and has good motivation for adding time sorting to the UUID standard.

Two things I particularly like about the UUIDv7 standard is that it is easy to swap into existing codebases that are using UUIDv4, and that it is easy to extract the timestamp part in systems that don't know about it and are treating it as a string e.g. in lots of databases you can do some sql like TIMESTAMP_MILLIS(CAST(CONCAT("0x", LEFT(REPLACE(id, '-', ''), 12)) AS INT64)). This is a massive advantage over systems that use non-hex encodings.

So these days, use UUIDv7 if you want to generate your ID outside of a database and the time the id was created is not a secret; else use UUIDv4. Your database will thank you.
While I'm sure -I'm- not the target market for a new Windows manager, it really is helpful to understand up front why a project exists.

Sometimes it's a different feature set. Sometimes it's the same (or reduced) feature set or an emphasis on performance. Sometimes it's the side effect of using a new language. Sometimes it's just an exercise in learning.

While these things are all completely valid (and more besides) the underlying reason is usually helpful when deciding if I am "willing to give it a try". Context matters, and it's helpful to understand if the developer's context is compatible with my context.
>All for 35$ a month

There is a reason currency symbols like $ and £ exist and are placed at the front of the number, not at the end.

The symbol and its presence at the front of the number is an anti-fraud token.

The anti-fraud token at the front of the number, with no space between the token and the number, prevents black hats from modifying bank wiring instructions, invoices, checks, and the like, through the addition or removal of an extra digit at the front of the number.

Fraud and embezzlement have always been concerns in business, and paper records (or photos of paper records) remain both a common part of business and a common vector for fraud, which is why the placement of the anti-fraud currency token remains relevant after all these centuries.

A period (or comma depending on locale) at the back end of the number followed by the count of cents or similar acts as a second anti-fraud token preventing manipulation of the amount through addition or removal of an additional digit on the back end of the number.

We say "one hundred dollars" because the phrase form requires the token at the end on the printed page, but we write $100 (short for $100.00) because the numeric form requires the token at the front on the printed page.

It was also conventional historically in high stakes contexts like contracts and checks to write out the final or total amount a second time in words, again as an anti-fraud token ("in the amount of one hundred dollars"), this time with the word "dollars" at the end of the phrase to prevent fraud where a transfer of "one hundred" becomes a transfer of "one hundred and ninety nine". The phrase form is commonly more difficult to modify on paper and also serves as a checksum to validate against the numeric form of the amount.
Ask HN: How do you switch between multiple programming languages while coding?
Whenever I'm coding in multiple languages, I end up mixing the syntax and making syntactical errors. For example, I would end up writing "def" in NodeJS or "function" in Python. (Same with manipulating arrays and so many other basic things)

Does it happen to you too? How do you ensure you're able to switch quickly and effectively between programming languages while coding?

Any tips or tricks are appreciated.
HN has traditionally been a bit more resistant to humor, even slightly more witty humor.
> the incredible amount of time and editorial space devoted to Yusuf al-Qaradawi on the arabic channel (before his death). The man had an audience of 60 million people for a decade and a half, and could reasonably be called the face of Al Jazeera Arabic. He has caused a lot of problems through that platform that hopefuly only the most radicalized westerner won't view as monstrous.

I don't know Arabic, but I am Muslim, and Yusuf al Qaradawi is probably most known as a preeminent Islamic scholar. Any mosque you go to will likely have a work by him because his scholarship on the Quran and Hadith (not necessarily his views on current events) are very renowned. I'm not sure what makes him so radical and evil to be honest. He has written tons of scholarly works about Islam, interpretation of Islamic rules and laws, etc. And from looking online I see he was on Al Jazeera hosting a program called "Sharia and Life". These kinds of call-a-sheikh / Islamic info shows are pretty common in the Muslim world and probably have more viewership than news channels. Something Americans probably might not understand...

But it makes total sense for Al Jazeera Arabic (a channel with possibly a 90% Muslim viewership) to have a Muslim ask-a-sheikh show.
I don't understand the last part of your statement?
How much reasoning capability LLM’s have is up for debate.

With a true AGI you could just tell it to keep people’s personal information confidential and expect that it would understand that instruction.
A lot of roads in British and European cities are not like that at all; it's not uncommon that they're narrow enough that they're one-way streets because it's wide enough for only one car.

I just picked a random location in Bristol: https://www.google.com/maps/@51.4365588,-2.5893081,3a,75y,28... – lots of Bristol streets are like that, and lots of streets in other cities are like that.

In some places what you're saying does apply, but by and large, it's not like American road design.
Why is everyone talking about inflation? Creating a device like a modern GPU in the times of the Manhattan Project would have required building a supercomputer way bigger and more expensive than the Project itself. Tech has simply become super cheap, requiring less materials and all the research has already been paid.
“No strings attached, no access to the rest of the world without our permission”. I think you’re not seeing the strings for the wall.
Lix is a modern, delicious implementation of the Nix package manager
Nah, everyone still loves the game and the studio, so I think it'll be okay. In the future, though, they will be less likely to buy a Sony published game. It was all Sony with this decision, and the studio was publicly upset and in some opposition to what was happening. Personally, I think we need:

1) Data protection laws so it isn't profitable anymore to attach useless accounts to games or make games online-only for a similar reason.

2) Consumer laws so that if a change happened with a digital product that removed a feature or made the product worse in some way that they'd have to offer refunds for users.

Those two things would go a long way in today's digital world. Perhaps there could be an omnibus bill to enshrine these ideas into law, and maybe a few others like net neutrality and dare I say some law to prevent cloud providers from holding your data hostage for extreme outbound transfer fees.
I grew up in Tennessee amongst many similar people, but they had those views before NAFTA and the shipping off of US manufacturing jobs. Those views are their traditional religious views which predate electricity, tbh.
Earlier discussion: https://news.ycombinator.com/item?id=40175893
Lesson 4: mediocrity has become the most effective path to fame in a modern (and mediocre) world.

What's next? An article that explains why the bill stacks up when you log all denied fw packets?
> The notion of substantial motivation or hobby to go into STEM is absolutely ridiculous.

Pretty much all the ones I know that are good at it love it. Just like musicians and athletes.

Sure, there are those in it for the money. They're usually the tweeners.

> Nowadays college students are much more practical.

I'm not so sure about that. There's a large number of math avoiders in college, and when they graduate discover their degree is worth a minimum wage job.
> then publicly updated that to say that a Hamas investigation had called her credibility into question

I don't think there's much of a question, the claims were just fabricated, according to Hamas themselves.

By "publicly updated", do you just mean quietly deleting the articles with false information? As far as I know, they never acknowledged the error and published a retraction, which calls into question their legitimacy as a news organization.
It looks like in the end US manufacturers benefit twice from the war.
There sure is a lot of effort invested in changing hair color, given that we're blind to it.
> always amazed by the quality and craft of works produced in the periods before roughly the 1960s

Survivorship bias. I have a 19th century Eerie Company cast iron pan. It’s beautiful. It is not representative of most cast iron of the era. We can cast far better iron today, we just don’t devote those production processes to making pans.
Who allows these bad decisions to happen in the first place? How much engineering / design time was wasted on such a bad idea?