skysight-inc/HackerNews huggingface dataset:
Its great, repo deserves 500+ stars
What features are missing in Django?
A firing squad implies execution. It is quite disingenuous to pretend the quote is about that.

The quote is about her in a war setting with a rifle of her own.

Maybe 'Battle Royale' or 'Hunger Games' as an execution but that is kinda far fetched.
maybe if you could reduce/eliminate labor costs. So indoor robotic farm, setup close to consumers (to reduce transport).

No weeds, no pesticides, very efficient yields in terms of fertilizer etc. year round growth.

With the advantage of a indoor environment being easier for robotics.
that all human vote counter in those areas are miscounting, and all in the same direction.

And you can send observers that can watch the entire process.
I’m not sure what problem that solves that crossing voters of a list doesn’t already solve. What about mail in and early voting?
That's not ukiyo-e, it's a copy ukiyo-e made on a printer. You can just have a real thing that is actually ukiyo-e from original forms. If it's not scam of course.
I'd call the one in OW1 enshittification matchmaking, because it makes games where one side has to lose.
Enhancing Robot Dexterity with Object-Oriented Rewards
I don't think they implied there is. The sentence you quoted is essentially "this is relevant for their article about weird lexical syntax, but (almost definitely) not relevant to their original problem of syntax highlighting".
This to me is the big risk here. A worm hidden in a game mod or something.

I can see it staying in the wild for a long time too. How many of the people that are playing on these cards, or crypto mining, or doing LLM work, are really going to even find out about these vulnerabilities and update the drivers?
I can see entirely stupid ideas being build and getting some investment. Those who build it are happy to have a job even if product is questionable. And those doing funding have hopes they can extract value for themselves or flip it before it fails.

There is enough people that are just happy getting paid or extracting their cut from some part of process... And then there is the dreamers, aka idiots who evangelise.
I was excited about Hack when it came out. Unfortunately PHP took just enough from it to kill it. I gave up on it once Composer stopped supporting it, after backwards compatibility with PHP no longer became a goal.

IMHO Hack's best feature was native support for XHP... which (also unfortunately) isn't something PHP decided to take.
It's not uncommon that I go to Shadertoy and see strange visual artifacts in some shaders including window contents of other applications running on my system, potentially including sensitive information.

It's difficult to make GPU access secure because GPU vendors never really prioritized security, so there's countless ways to do something that's wonky and accidentally leaks memory from something the app isn't supposed to have access to. You can containerize CPU and have strict guarantees that there's no way host memory will map into the container, but AFAIK this isn't a thing on GPUs except in some enterprise cards.
Yes, they cut off support for closed accounts
If you’re targeting a mass market audience they often are the only platforms. For many people their phone is their only computing device.
OpenFOAM seems like an opensource option but I have found it rather impenetrable - there are some youtube videos and pdf tutorials, but they are quite dense and specific and doens't seem to cover the entire pipeline

Happy to hear if people have good resources!
What does the Chinese gospel mean? When I search the web for that phrase, I find a song "God's Glory Shines From the East".
Don't prep for interviews. You have high empathy or are an asshole (not necessarily a bad thing). You are honest, especially about yourself (humility), and can talk to people or you can't. You understand the code or you don't.

I really get tired of working with pretenders, because it is exceptionally clear to everyone else when they are pretending. Just be who you are. If you want to be better at something than you are then dedicate intentional practice towards it until you naturally raise your confidence.

I was laid off for six months last year, and likewise the break proved to be very fruitful for me even if depressing at first and stressful at times. My very best suggestion is to refocus not so much on your prior capabilities, but if you actually want to keep doing that or try something new. I was able to change careers from 15 years of JavaScript/full-stack developer and it has proven amazing. My prior leadership and management experience is actually valued now, I am learning new things, was recently promoted, my time (even during office hours) is highly respected by my leadership, and more. If you change careers or try something new where you are not experienced your compensation might dip at first, but if it increases your happiness it is absolutely worth it.
I find that unlikely. They are very publicly voting D this round. So that implies you are voting R, but that means you likely voted R with Bush. Did you vote against Bush but for Trump?
I only used Hack when I was very briefly working for Facebook. (And I used PHP once before nearly 20 years ago by now for some web site I had 'inherited', back when PHP was truly an awful language)
Except it makes no sense. Java is a language that, while idiomatically a bit boilerplatey, is generally a workhorse for getting shit done.
Having worked on the design of safety structures with mechanical engineers for a few projects, it is far, far cheaper to do a simulation and iterate over designs and situations than do that in a lab or work it out by hand. The type of stuff you can do on paper without FEM tends to be significantly oversimplified.

It doesn't replace things like actual tests, but it makes designing and understanding testing more efficient and more effective. It is also much easier to convince reviewers you've done your job correctly with them.

I'd argue computer simulation has been an important component a majority of mechanical engineering innovation in the last century. If you asked a mechanical engineer to ignore those tools in their job they'd (rightly) throw a fit. We did "just fine" without cars for the majority of humanity, but motorized vehicles significantly changed how we do things and changed the reach of what we can do.
“the odd bad actor” is incredibly optimistic, almost like there is already a bias against ever digitizing or using cryptography for adding security to a manual process with tons of ways to corrupt an election

Elections around the world do not match this optimistic characterization. If they did, we’d all trust the outcomes of:

Belarus’ election of Lukashenko

Venezuela’s election of Maduro

Crimean 2014 referendum

Kosovo’s independence referendum

(Note you probably think the last one was a lot more reliable than the first three — a lot of it has to do with living in a certain part of the world and believing the national media, which is only possible because the voting system and results can be so untrustworthy as to not allow regular people around the world to check anything, so propaganda is given free reign. Science and reliable knowledge usually doesn’t work this way.)

In fact, let’s be clear… the “dictators” WANT the elections to have many ways to corrupt them, they WOULDN’T want a blockchain or merkle tree, that should tell you a lot

And the “war hawks” in countries like USA who oppose their geopolitical rivals also want the elections and referendums to not be secure and clear, so they can cast doubt on them (eg Crimea) while at the same time claiming others (like Kosovo) are completely legit and justify unprecedented actions .

As an aside, the vast majority of both Crimea[1] (94%) and Kosovo[2] (99%) that turned out to vote in referendums in 1991 voted for independence, so we all pretty much know what the public wanted later too, but it doesn’t affect the spin put on the later referendums and conflicts anyway

If elections were secured by cryptography, the People around the world would have far more confidence, rather than listening to their own media propaganda spin the ambiguities, and the wars might even be avoided.

1. https://en.wikipedia.org/wiki/1991_Crimean_autonomy_referend...

2. https://en.wikipedia.org/wiki/1991_Kosovan_independence_refe...
There is the "debt is bad" viewpoint, where paying your loan earlier is seen as a good thing, which is a valid way to look at it, depending on your values.

However, what you described can also be done this way: invest the extra payment amount elsewhere and get interest/capital gains on it, which gives you the lower effective interest rate and the extra liquidity as well. Or in other words, the figures on the spreadsheet need to reflect the opportunity cost of the extra payment, or the lower total interest paid is a misleading mirage.
Ten years ago data engineering was another discipline in software engineering, like backend or frontend. Somewhere along the line the term was co-opted by “I can maybe barely string together some untested airflow pipelines” and it means something much different now.
Weekly and monthly backup rotation with bash and rsync
Rocket launch and re-entry air pollutant and CO2 emissions
The question is reproducibility, the answer is Nix.

It doesn't matter if you're using Python, Rust, C, Haskell, bash or some fresh hell written in PHP 4, perl and a fork of Netscape from 1999.

The answer is Nix. The Nix way _solves_ dependency management.

https://edolstra.github.io/pubs/phd-thesis.pdf
Should there be no balance between state size? California always determining the president and ensuring Montana and Rhode Island are never campaigned in?
In paper based systems, you and other volunteers do most of the counting, alongside representatives of all parties. None of the problems I described exist in such a system: you can't add a million votes unless you convince a whole lot of volunteers and representatives of the parties that they are real votes. You can't put multiple votes in unless none of those same people see you. If one volunteer attempts to change a vote, another one will stop them. If you think your vote was miscounted, a re-count can be issued, with even more observers, and the exact same artifacts are available for all to see (how do you fix an error in the Merkle tree, even if everyone agrees it happened?). Even if you have an extremely corrupt county, that doesn't generally matter in the grand scheme of things; and its extremely unlikely, as any citizen in that county can stop the corruption by simply participating in the process themselves.

Wide-scale voter fraud of this kind is simply impossible in a paper system. The only times it happens is like in Belarus, where it's not "an election", it's a public show that looks like an election, but where the result is pre-determined. The Merkle tree would show the same thing there: it's a mock election to make it look like a mock democracy. Lukashenko wouldn't have stopped leading the country even if miraculously the election would have shown he lost. Or, it can happen in other more complex and more discoverable ways, such as busing voters around to physically vote multiple times in multiple (preferably far away) polling places.

As for Estonia, they'll come to regret this system sooner or later. It can work for a while, but there is no doubt that the system will get hacked, or the losing party will be able to convince enough people that it got hacked even if it didn't. Someone will accidentally publish private keys, like in this Colorado case. The system will go down on election day because of a bug. Who knows which one will be first, but it'll end their experiment. The rest of the world will continue with paper voting and not face such problems.
That is just capital cost. You have to add the cost of fuel (and the cost of carbon certificates).
My experience is that this is quite common. Especially at startups but also at fortune 500s there exist staff engineers who have no team and just exist working on whatever catches their fancy that day/month. The grandparent talked about a month long project which is where these engineers tend to live in my experience. Its not that they get no help more that they jump around and maybe grab someone from the team when theyre almost done to integrate the new feature with the existing codebase.
How to Analyze Unbounded Time-Series Data Using Bounded State
99 covers for oil on the wall,
99 covers for oil,
Take one down and pass it around,
...

It's probably stopping to finish each verse.
AFAIK modern HTTP versions like HTTP/3 can request multiple files in a single network packet. So it is basically free to do "another request". As the data request goes out and the data comes in in packets with other "requests".
> I wonder. From first principles, I don't quite understand how cruise ships can be that bad.

Because of tragedy of commons. There is very little environmental regulation affecting shipping. And cruise ships can utilise flags of convenience to skirt the little that there is.

You could totally make them more efficient and less harmful, but that would cost money, and hence hurt shareholder value.

For example, we've been cruising on a sailboat since last April. Germany - Scotland - Madeira - Canary Islands. All areas also frequented by cruise ships. Almost all of our electricity (~1.4kWh per day) comes from solar and wind. We do burn some fuel when becalmed or doing harbour manouvers. Since mid-July we burned 140l of diesel, which comes to 380kg of CO2. Not nothing, but also not terrible.
On top of that we burn about 1l of ethanol per week for cooking purposes.
Building the sailboat of course caused a lot of emissions, but amortised over the 45 years this boat has been sailing, probably aren't too bad. And equipment like sails and ropes are mostly made of recycled plastics, and last many years.

But of course we lack some luxuries that the cruising customers expect. There's no AC, and the only swimming pool available is the sea. Showers are on deck and require boiling some hot water. And worse of all, we don't have the energy budget to run Starlink 24/7, so there's only couple of hours of Internet per day.
You can’t as it will immediately draw out the leeches who will hurl “best practices”, strategic partnerships with scam software vendors and compliance check ticking bullshit at you until you back off.
NTA but in the linked 38north article[0] it says:

>However, not everything is detailed. In addition to numerous buildings having no labels, sensitive areas of the city, such as the Korean Workers’ Party complex in central Pyongyang and the Mirim Parade Training Ground, have no details, roads or building outlines.

[0] https://www.38north.org/2024/01/a-close-up-look-at-north-kor...
Show HN: React app to check your Bitcoin investments
Yes, with infinite time and budget you'd get much better results. That does not sound like an interesting proposition, though.
You have brakes.
I wish it had an index/tags.
Cool. I have learned something new!
So there must be at least three of us. Hi!
Backwards compatibility != Great user experience.
Only if the distribution has zero skewness.

Unless "normally" you mean the normal distribution, which indeed has zero skewness.
“Atlas is autonomously moving engine covers between supplier containers and a mobile sequencing dolly, using ML to detect and localize the environment fixtures and individual bin. There are no prescribed or teleoperated movements.“

https://x.com/BostonDynamics/status/1851624026424197434
Stay HN, HN.

(I say that with appreciation -- I always think of the former as UpperCamelCase because I never used Pascal)
Could you buy organic rice instead?
Yeah. The article is based on known bad patterns and, e.g you should never do use MyEnum::*;
and in other cases compiler gives warning. Are there people who do not want to understand the warnings and do not work in order to remove/suppress them?
The correct course of action is stuffing up the air intake to suffocate the combustion, if this is still a viable option. Otherwise, depart from the vehicle and be ready to call the fire department.
Other group of people who do this is ORM-happy Windows (C#/F#?/...?) devs.

Welcome to quoting everything for the rest of your query life.
Given that Rust seems to be the generalized solution to this problem, would a viable prototype just be a Rust HTTP server with a Ruby interpreter embedded in it? Write the code in some kind of Ruby DSL which then feeds back into Rust?

I ask because I have embedded Ruby in applications before, and I'm looking for an excuse to do it in Rust.
Not sure why you’re assuming the worst of me here.
I think this post should have made a greater distinction between terms and types. The type 4 and the term 4 are separate entities with the same name. Otherwise string <=: string would imply that a function f : string => int could be called as f(string) on the type of strings (which is actually how they handle it Perl6/Raku). Overall it seemed very TS-centric and not much on type theory.
Obligations of the Author
Previously (42 points) https://news.ycombinator.com/item?id=41987113
I am working on an SDL project (not in Rust) and this example made the molehill seem slightly larger:

// whoops, accidentally commented out or deleted this import
// use crate::{SOME_GL_CONSTANT, OTHER_THING}

// uh oh!
match value {
SOME_GL_CONSTANT => ..,
OTHER_THING => ..,
_ => ..,
}

Specifically, I think FFI stuff or an initial Rust rewrite can be a strong incentive to (locally) disable compiler/linter warnings around capitalization because you are more interested in consistency with an existing C API. This turns the molehill into at least a real hill (though not a mountain).
I have "returned" from mainly C++ to mainly C for writing libraries around 2017 (because it's trivial to integrate C code with all those new languages - which can't be said about C++, unless you wrap the C++ code in a C API), and I'm slowly moving to Zig for 'top-level' code. E.g. for the foreseeable future pretty much all my new projects will be Zig at the top and C at the bottom, and AFAIK this is also what most non-trivial Odin projects do.

The nice thing about those new languages is that they don't need a critical mass of users to become useful because they are easy to grasp if you already know C (except for Rust of course), and provide immediate advantages over C while also making it easy to integrate and debug C code (for instance step-debugging from Zig, Odin or Rust into C code 'just works').
Show HN: Blog Posts from Git Commits – A Tiny Tool for the Lazy Dev
I put together a small prototype that might help folks like me who struggle with keeping their website’s blog active just for SEO. It’s a basic tool: you enter your Git repo details (owner, name, branch), pick a date range, and it generates a short blog post from the commits in that period. The idea is to give small businesses and solo devs a way to keep their blog up-to-date with actual product updates without needing to write new content.

Right now, it’s still pretty minimal but I’d really appreciate any feedback, especially if you think this could be useful, or if you have ideas on how it could be improved. Should I keep developing this?
Do you have some examples of pages created with your site?

I got the customer comments in hindi. Perhaps you shoud add a translation.
Thank you! Love your product!
Lessons from Launching Sellio: Navigating Sign-Up Barriers
Hey, Guys,

I recently launched a social commerce platform, Sellio. The goal is to support small businesses by combining social networking with a marketplace. It's been exciting, but I've encountered some unexpected challenges I wanted to share, hoping they might help others in similar positions.

One major observation: sign-up friction. We initially required users to sign up with just Display Name, Email and Pass or with Google to explore the platform, aiming for a quick 7-second process. However, I noticed that a significant portion of visitors (around 30-40%) drop off at this stage, which got me wondering—why are users hesitant to create accounts on new platforms?

In seeking answers, we listened closely to user feedback and monitored site interactions. This insight motivated us to rethink our approach. Soon, we’ll be rolling out a feature allowing users to browse anonymously on Sellio—offering a taste of what we have to offer before needing to commit to registration. I hope this will help users feel more comfortable exploring our platform at their own pace.

I’m not promoting Sellio here, I genuinely want to discuss the psychology behind user sign-ups and engagement on new platforms. For anyone curious to check out the platform and give feedback, feel free to explore it https://selliohub.com). You can also join our Discord community if you're interested let build it together https://discord.gg/3VBAMDmk.

Any advice, feedback, or shared experiences would be super valuable. Thanks, and looking forward to learning from this community!
Hashing an IPv4 address doesn't particularly protect privacy, given the limited address space.
If it does, then the author is sadly misguided and got convinced of someone that isn't true.

The people that download the book from these sites would never have bought them. Having your book downloaded by 10k people doesn't mean you've lost 10k sales, what it does mean is that you've got up to 10k people that wouldn't have bought the book anyway talking about it, effectively becoming word of mouth advertisers.

This isn't quiet as true for movies/tv series etc, because their value (entertainment time/price) is so much lower. Books on the other have usually cost $5-30 and will take 4-30 hours to read through. At that price point, very very few people will download the books to save what amounts to a single meal. Especially if you consider that so few people actually read several books per year (that's essentially $<30 per year "saved" via illegal downloads)

It could become an issue if a for-profit company could serve them legally however, I agree with that. It's hard to really talk about that, though ... It's a pure what-if/speculation after all
It absolutely is -- to be fair the previous versions of Unikraft weren't quite easy or maybe ready for wide consumption, but they took some funding and at the very least their marketing and documentation massively improved.

Hugely impressive.

A little weird that they say "no cold start" versus... "minimal cold start".

Cold starts in milliseconds != no cold starts, though I get it -- marketing is marketing and it's not wrong enough to be egregious :)

That said, super excited that someone has built a huge complex database like Postgres on Unikraft.

Been a while since I kicked the tires on Unikraft but looks like it's time to do it again, because this isn't the only software that could use this model, given an effective unikernel stack.
Sharing my TypeScript Result type for anyone who’s crazy like me and wishes they had “if let” and doesn’t want “.value” everywhere.

You can do this:

const user = await fetchUserDTO(123);
// user is Result<UserDTO, Error>
if(!isOk(user)) { something(user.err); return; }
user.name; // user is narrowed to UserDTO

Source:

export const FailSym: unique symbol = (globalThis as any).____FailSym ?? Symbol('FailSym');
(globalThis as any).____FailSym = FailSym;
export type Result<T, E> = T | {
[FailSym]: true,
err: E
}

export function Ok<T>(val: T): Result<T, never> { return val; }
export function Fail<E>(err: E): Result<never, E> { return {[FailSym]: true, err}; }

export function isOk<T, E>(val: Result<T, E>): val is T { return !(typeof val == 'object' && val != null && FailSym in val); }
export function isFail<T, E>(val: Result<T, E>): val is Result<never, E> { return typeof val == 'object' && val != null && FailSym in val; }

export function resultify<T, E>(promise: Promise<T>): Promise<Result<T, E>> {
return promise.then(Ok, err => Fail(err as any));
}