skysight-inc/HackerNews huggingface dataset:
What's the security posture of actix-web these days? The impression I got from the temporary deletion of the repo and maintainer switch about six months ago[1] was that actix-web was sort of a research platform rather than a production-ready server. It prioritized performance and ease of development in order to try (successful!) ideas the author had for writing really fast servers, and therefore made uses of unsafe code that many Rust developers thought unsuitable for production.

I don't mean to start drama -- I just feel like if the project is still prioritizing speed and experimentation over safety, that's worth including in comparisons like this, and if it's not anymore (or if I misunderstood the story in the first place), that would be good to know too.

[1] https://steveklabnik.com/writing/a-sad-day-for-rust
The people making these decisions think customers respond better if the UI gets a "visual refresh" from time to time, and they're probably right.

It's human nature to judge by superficial attributes. If you have a perfectly good UI but it never changes, it gives people the feeling that your software is stagnant and out of date.

It's inconvenient for the user, but it catches the user's attention and makes them think about the software. Essentially it boosts brand awareness. It's the same reason that they change the design on a box of granola bars and write "new look, same great taste!" on it.

It also costs engineering / designer labor. And there's a danger of replacing the old design with a newer one that doesn't work as well. The people making these decisions probably know that but think it's worth the cost anyway.
I hope FreeBSD gets it soon too. I know they're working on it.
This is sweet. Is there an equivalent of this library for Go? Particularly with scrolling support
You may be correct about crash and other safety regulations, but the BMW Isetta was powered by a 250cc single cylinder four stroke engine adapted from a motorcycle. That class of engines is quite alive and kicking, they have substantially increased in power output in the mean time.
Then the same would be the case for code duplication which really ought to be unified.
Many recipe sites now have metadata at the top of the page in json-ld or in embedded in the html based on schema.org structured data.

https://developers.google.com/search/docs/guides/intro-struc...

There are apps which can import from these sites. for example "recipe keeper", you can browse third party sites with schema.org recipes from inside the app and it will import them into the app management software.

Structured data typically maps to RDF, which is for graph databases like apache Jena or RDFox, but since most recipe data does not have backlinks or cyclical links, any type of JSON or YAML store should be sufficient.

If you are still updating your app, it would be cool if you could add support for recipes sites with json-ld!
Oh, there are whole other levels of “this was never intended but it is incredible”. Such as DolphinVR. It’s exactly what it sounds like, and stuff like wind waker, f zero, twilight princess is just... really something else with the added dimension. It’s not perfect, but it’s seriously impressive and a really neat way to replay decades old games.
The discussion is really about the Chinese (and American) governments. The US government is really... Not great. See wars in the middle east, spying on its people, military industrial complex, bad environmental record, bad civil rights record and all of these are ongoing problems. I dont think the US government is any better than the Chinese government. They have been responsible for so much instability in the world in the middle east, Africa, south asia and south America even if we just want to focus on how they treat people.
Data Scientists turned against Statistics
Without validation, all the speed and performance is worthless, if a bad formed JSON can break your application
You buy used phones, you can more or less expect them to be repaired. If you want the guarantee of a 'fresh' phone then you should pay the mark-up. Even the seller might not be aware that the phone has been repaired.
> What she is saying instead is that the problem occurs from step 6 onwards: when you find yourself wanting to reuse an abstraction that, regardless of whether it made sense in the first place or not, has outlived its usefulness.

You're 100% correct in this. And what's even more amazing to me is that even after you explicitly calling this out, the majority of people replying to you (and presumably have read the article) still think the problem is between 2 & 3.

The argument she is making is not "don't make abstractions until you're 100% certain they are correct". She is essentially saying make abstractions where appropriate. Some of these abstractions will be wrong. When you start seeing yourself making certain behaviors it's probably because it's the wrong abstraction, so back it out and refactor.

Ultimately that abstraction seemed right based on the info known at the time it was created, now that you know more don't try to cling to it because it was already made. Be ok with backing it out and refactoring.
This is a reasonable overview with a few caveats -

Warp seems to have one of the better api experiences but has significant performance issues.

In the async world I think

https://github.com/stjepang/smol

is going to have a pretty big positive impact on the useability of the whole system so I wouldn't rush to go all in on either async-std or tokio just yet. Last I read it was still having some fairness issues that were next to fix though.

There is also

https://github.com/withoutboats/ringbahn

Which is very disruptive in that io-uring doesn't have a natural async interface?
> I think there's a big cultural challenge with adopting duplication. It goes against most people's career growth objectives.

My experience is the complete opposite :D. What I've noticed is that the people who 'deliver' quickly (without much regard for what might be called code quality) and fulfill business requirements without much questioning are perceived as more valuable.

> I've found that my work is often far more limited by the domain/business logic than any sort of programming logic.

I broadly agree with this statement. However, just like a good carpenter knows how to properly build a bookcase, a table, a roof etc. a good developer should understand the programming logic and know how to apply it. Business requirements need to be fulfilled, but it's up to us to decide how to do that. More so, I think it's up to us to push back when we feel business requirements don't make sense from a technical point of view, or even from a business point of view.
Funny enough, I've only ever seen these advertised at the gym I used to work out at (pre-Covid19), on the TVs people watch while riding the exercise bikes. They'd certainly be more effective than that spinny squirmy chair gizmo, although that one might be good for posture.

I still think these things should be rigged up to charge cell phones and whatnot. Lots of unharnessed energy released in exercise.
I think that's the point the parent was making. If you simply don't have enough money to trade profitably with, then… you can't trade profitably.
Ecce Homo feelings. You don't slap a generic OS on top of a classic machine that was designed for something different.
Adding mine to the mix: www.vyl.app
Cool project! One of my earlier projects for learning Scheme was a similar system whose selling point was automatic "smart" ingredient substitution. It's interesting that one of the key selling points of this is it's focus on quickness of search. I can't imagine having so many recipes that a computer would have a hard time searching through them, but then perhaps I'm just not the target audience :)

Aside: I know everyone loves to hate electron/web tech, but being an electronician myself, I can't help but wonder how a web-tech version of this would look. For one, it would be nice to be able to try this out, but the current version is unavailable on my platform (MacOS). An Electron or web version wouldn't have this problem, and a web version would work with an iPad or similar, which is a nicer kitchen tool than any keyboarded-device in my experience. Potential hanging points would be in parsing the recipes, and search. I'd imagine that for search it wouldn't be all that difficult to build up a sufficient index programmatically without mySQL, but I could be wrong. As for parsing, the examples I've seen seem all quite simple, but of course the difficulty in parsing is always the long tail.
What do you mean about the key travel on the keyboard? I’m not familiar with the term in this context.
Though it's for different reasons, Trump is putting large numbers of people in camps himself, and we've seen plenty of evidence of systematic abuse, neglect, and dehumanization. It isn't surprising that he would be sympathetic to another leader who uses similar tactics (even if his advisors make him condemn it to keep up appearances). There's little reason to think he'd do anything different in Xi's position.

Edit: For the downvoters, I am not 'whatabout-ing' or trying to diminish these terrible crimes committed by China's government. But I think it's naive to expect any credible US-led action against it while the leader of the US is committing similar crimes on a lesser (but still massive) scale.
I see you have taken my advice about how you might argue differently! [1] Granted, it's odd to see you double down on anecdotes in the wake of a comment that gave you the citations you were asking for earlier. But it's not up to me to tell you how, or how effectively, you should support your thesis, whatever that actually is.

If you are young and single, it’s dumb to buy a home.

Yes, I'd agree. So why'd you bring up homeownership as though it mattered? I mean, you did that, and I took it on faith that you had some kind of point to make with that, and I examined it on that basis. Now you're saying you had no point in bringing it up in the first place. So, why did you?

I’m blaming parents.

Are you, though? You haven't explicitly assigned blame to anyone until now, and it's interesting to me that you've waited so long. It's also interesting that you didn't do that in all the time you spent talking about people's Reddit posts about how they feel like they've been screwed and they don't know what to do about it. You seemed very happy then with whatever assumption people made, and you didn't see a need to get specific until somebody gave you real pushback. Why is that?

What do you propose the government do differently?

Solve the problem? Do the job its members, official and otherwise, are collectively paid, forcibly and with remarkable exorbitance, to do? I mean, you're asking a software engineer a question that's far outside his competence, and unlike some, I have the good sense to know it's a question I'm not able to answer in detail. One wonders why you'd ask such a person such a question at all.

But I also know there are people whose profession it is to be able to answer that kind of question. Quite a lot of them, actually, between government service proper, the similarly vast NGO industry, and various policy posts in industries other than that one. If you want a detailed answer for how a problem like this gets solved, ask some of those experts, and I'm sure they'll be able to provide. But I don't have to be one of those experts to recognize that a problem exists and badly needs solving.

Anyway, isn't all of this, that a government exists to identify and solve this sort of problem in order to maintain a stable, livable society for everyone, more or less the basic deal implicit in a phrase like "deriving their just powers from the consent of the governed"? I don't know, that's just something I remember hearing once somewhere. It's probably not very important.

[1] https://news.ycombinator.com/item?id=23738859
In reply to a flagged sibling: what's there to see in the edit history? There was an edit war (or maybe I should use the plural, didn't look too closely), which is common on controversial topics, and judging from the talk page it has been resolved with a compromise. Bottom line, dude did coauthor that book, and even the title is telling enough.

Also, unrelated, it's sad that any comment trying to discuss or question what's specifically in the article is quickly downvoted into oblivion -- except this one, curiously -- and only general threads suitable (or unsuitable) for any submission loosely on this topic remain. People are quick to post insinuations about astroturfing too, despite guidelines specifically banning that.
I understand that some people have no choice but to leave their homes, but as you say, getting a library book is almost certainly non-essential. It doesn't make sense that somebody with such a high level of concern would be spending more time in public than was strictly required.
This makes perfect sense if you ignore the existence of every software vendor other than Apple.
Exactly. Don’t forget only 75 years ago, we had a highly developed nation turn to authoritarianism with the support of a majority of the population.

And when Germany invaded West and East, they found plenty of locals will to help them.

We like to think things are different now, but big picture, they really aren’t.
Why should I need to both own a car and rent a car? I'm not made out of money and I suspect I'm not at the bottom of the income pool. And I'm not going to get any kickback for the time that my car is sitting out there, not being driven.

This isn't even a matter of "going on a fishing trip twice a year". A bubble car is not enough of a car to go to IKEA or even an electronics retailer.
Im using https://github.com/olekukonko/tablewriter in Go.
Self-plug but https://animockup.com does :)
Blinding Lights – The Weeknd, Software UI Lyrics
I've noticed that too with posts that relate to China / Hong Kong news.
Loving the simplicity of these
But then they'll be nothing more than awkward PCs running software in slow motion.
To the corporation, all that matters is returns generated for shareholders. None of the things you talked about contribute to that (or at least not very directly), thus they're not valued.
Not OP, but in my book consultant and freelancer are orthogonal terms. You can be both at the same time. Consultants are brought in to address specific problems -- often on a freelance basis. I believe what OP is trying to avoid is being "expensive furniture", "body shopping", essentially being a long term employee without any of the benefits, that sort of thing.
This is possible, but more frequently what happens is that these professional developers will write bad reviews (in HN and elsewhere) about a project because they don't want or don't have time to support their wishes. This causes tremendous friction and makes it more difficult to maintain OSS these days.
I read a review about Udacity. https://onlinecourseing.com/udacity-review/.
Now Iam thinking of giving it a try
Basing it on observation of primary motivators behind the actions of people wherever I see. money, status and power - these are the things our society has been obsessed with for long. Only few people are able to break out of these shackles but they may end up living fugitive life (though a contented one) - society won't celebrate them - won't consider them a truly worthy example to base one's life upon.
Courageous Confusion
Sigh. You are just not connecting the dots.

Yes, the cost to store hydrogen for LONG TERM STORAGE is higher than the cost to store electricity in batteries for SHORT TERM STORAGE. But the cost to store hydrogen for long term storage is LOWER than the cost to store electricity in batteries for the long term.

If you are comparing batteries short term with hydrogen long term, you are comparing apples and oranges.

Your study does NOT say batteries are cheaper than hydrogen for long term storage. They could not possibly be cheaper for that, since there are too few charge/discharge cycles to amortize the batteries' very high cost per kWh of capacity.

You seem to be saying "just use short term storage!". But that's not a legitimate approach, since there are long term variations in supply and demand. Short term storage only applies to short term variations.
AWS Lambda Abuse
Why would it be impossible? The only time I ever happened to stumble upon a GPL violation (more than 10 years ago) I explained it and they said "oops, sorry, we'll fix that". Worth a try, no? I don't think it's naïve. The cost of explaining is minimal and you lose very little by trying. Even if the odds of success are low, it's still makes sense to try as the cost of a lawsuit is so much higher both in time and money.

It's also just basic common courtesy IMO to assume someone made an honest mistake even when you suspect they didn't (because sometimes your suspicions are incorrect).
What could the West have done beyond doing what they were already doing - fighting a war with Germany?

Blown up rail lines leading to the camps? Would the Germans have said “oh, well let them go then.” No, they would have found other ways to murder them.

It’s not that different than China. You want to stop the genocide? Well, prepare for a major war with millions of deaths on both sides.
> I don’t understand how you can say something like that with a clear conscience

Not the gp, but my position is that equating a fetus to a person is a fallacy based in the idea that it's a potential person. Which however means it's actually not one. Human beings have language, thought, self-awareness, memories, knowledge, experience, friends, family, hopes and fears. A fetus, wild speculations aside, has none of these. A dna is just a long molecule, not necessary and not enough to attribute humanity. A developed brain and a sense of self instead are both necessary and sufficient. A fetus has neither.
This is the typical trade off of management. You surrender low level control for higher level control and the ability to get more done overall (since you’re coordinating the labor of dozens of people).
The USSR is what happens when you take left wing to the extreme. Go too far replacing free speech with right speech and you get censorship. Censorship requires a heavy police state to enforce.

It's the natural progression.
The interesting part of thost problems is that once you learn how to answer one, you can answer almost all of them. Of course, that was the issue, the answer wouldn't be accepted. It was a shame these problems were used in that manner.
If there is one single article about programming that I hate it is this one. It is completely the wrong message. One should instead be very eager to eliminate duplication. To avoid the pitfalls that the article notes one should create abstractions that are the minimal ones required to remove the duplication to avoid over-engineering. Also one should keep improving the abstractions. That way one can turn the abstraction that turned out to be wrong into the right one. It is the attitude of constant improvement that will make one succeed as opposed to the attitude of fear of changing something that this article seems to encourage. When one does things one learns. When one is afraid to try things everything will just calcify until it is no longer possible to add any new features. What one does need to make the refactoring work is automated tests.
Why does HN sometimes truncate leading words/numbers in submissions? The actual title is "869 Xeon Cores...."
In a large organization, the other thing you notice with trying to fix duplicated code is, if you take on refactoring it all, you are now responsible to make sure everything still works AND that you do not inhibit any future work. You are now responsible for more than you may have bargained for.

Coming up with the right abstraction takes some predicting of future use-cases. It's more than just refactoring work to put it all in one place.
Association of low to moderate alcohol drinking with better cognitive function
This. Most critics here seem to be thinking of "how it used to be" in the good old days, without considering it from the eyes of new users currently being introduced to computers and how they might perceive things.
Counter: Every failed IT project that I have worked on in the last 20 years had too much code. Code is bad. Delete code mercilessly.

Seriously though, the problem are bad abstractions, not just abstractions. A total lack of abstractions is typically a spaghetti you need to read fully to understand.
Like lipstick on a pig.
Trump was putting people in camps? You mean the throngs of asylum seekers?

Slightly different scenario, no?
I write detailed commit messages for every single commit I make(even though commits would be squashed on merges), I write detailed PR descriptions that included before/after screenshots in multiple resolutions whenever relevant. Never once did I have any indication that someone took their time to read descriptions or commit messages.

In my previous job, I received some feedback from my manager that some people complained about code quality of my work, I was dumbfounded, I have no problem with being criticised, but I at least wanted to be able to learn from it and adapt. I went back through every single PR I did at the company and found little to no comments and it made me feel personally attacked with very little evidence. I then went on my peers PRs and see what I could learn from them, most PRs included highly non-descriptive commit messages and descriptions often only included a link to a JIRA ticket which most of the time was only visible to their direct team members and not me. From that I took the position of being more demanding on not just code quality during reviews but also descriptions, I didn't manage to influence a single developer to improve documenting efforts. That was a major reason why I eventually left the company.

I continue to be a believer in taking your time to write good commit messages, I have yet to collect dividends from it however.
Motorcycles and scooters are both a completely different class of vehicle.
How to start a company without losing all your favorite stuff
> You still need to get a bachelor's degree by a regular university to get into oms-cs

I feel like this is absolutely not the case. For software development and adjacent fields (UX/UI design, 2/3D graphics, editing, ...) you definitely need the skills and the degree is a benefit (a door opener) but not a necessity.

That said, if you expected a coursera course to replace a university, you'd first have to deliver on reducing the amount of people who cheat (i.e increasing the prestige of the degree). Nowadays, many IT professionals don't even know what CCNA, AWS CSAP, or RHCSA mean (and all of those are somewhat prestigious in the IT field)

The idea of getting online certificates instead of degrees is dead. The idea evolved into learning skills instead of gathering certificates, and demonstrating your skills. Think Pluralsight, LinkedIn Learning, or LinuxAcademy, which are very much alive and kicking.
Different scenario, similar disregard for basic human rights.
A developer advocate is an extrovert that likes teaching, explaining, answering questions, writing intro docs and code examples; that wants the users to succeed. They also report back to the project managers and programmers about problems: confusion, missing functionality, bugs, possible enhancements, OS and compiler incompatibilities.

No one will use your software if they cannot figure out how to use it.
hi, we have the option to login via LDAP authentication