skysight-inc/HackerNews huggingface dataset:
Cobalt-free batteries could power cars of the future
If we're going to be pedantic: No.

Pulp fiction was fiction written for the popular pulp magazines of the 1900s through roughly the 1960s. Those magazines don't really exist anymore. The "modern equivalent of pulp fiction" -- which is to say, the modern equivalent of writing for the pulps, writing to earn a quick buck -- is self-publishing low-effort fare on Kindle Unlimited or something similar. So the guy you were responding to made an apt comparison, IMO.

Interestingly, the pulps that are still hanging on -- like Asimov's Science Fiction Magazine, and like various other fiction magazines -- are today characterized by a very high standard of literary quality. On average, miles better than the self-published Kindle Unlimited stuff that rates highly (for some reason) on Amazon.
I used to have a second hand, well-worn Buffalo Systems pullover and it was fantastic for staying warm whilst wet hiking.
There could be a Darwinian something to the stereotype of drunk UNION sailor
I am not sure that drinking alcohol wastes energy. It contains a lot of calories, more than sugar. I also haven’t heard about people drinking alcohol to lose weight.
Really cool. How would you use config files from other shells like .zshrc? We use direnv and mise to scope binary versions to project directories and just wondering how stuff like that would work.
The son of some family friends decided one day to suddenly give up his life and devote 100% of it to some guru in India. He was moderately religious christian, as most are here in Norway, and I'd spent a lot of time with him as we were of similar age and our families met regularly through our childhood. As such I knew him as quite bright and well informed.

Suddenly he was devoting all his time to studying rites and rituals, almost cutting out contact with is family, and taking up extra jobs so he could send money to this guru.

My dad met this guru once when he visited here in Norway. My dad said he spent way more time talking about the stock market than anything spiritual.

Yet to this day, a couple of decades later, their son is still laboring hard for this guy.

I did get to speak to him a few times after he had converted. For me this whole thing was utterly bewildering.

Looking back at us growing up, I suppose what he was seeking was somewhere to belong. It wasn't about this or that religion specifically, that seemed almost incidental, looking in from the outside.

His life had gotten a new meaning: follow these rites and rituals, and do whatever this guy says. In return he got a sense of belonging.

Still really weird to me, and still very hard for his parents. But their son willingly and with open eyes embraced this.

I've reflected on this several times, and my conclusion is that some people just want to believe, so they can belong.
What it's like to experience the polar night along Norway's rugged coastline
It's pretty useful. Chrome uses one extensively for example (called Oilpan). So does Unreal Engine. GC in C++ is much more widely used than people realize.

The problem is that big programs in the real world often don't have well defined lifetimes for everything. The idea that everything in your app can have its lifetime worked out in advance isn't true when you're modelling the world (a world), or lifetimes are controlled by other people (e.g. website authors).

Generally what you see is that these apps start out trying to do manual memory management, decide it's too difficult to do reliably at scale, and switch to a conservatively GCd heap with a custom collector or Boehm.

Note that Rust doesn't fix this problem. Rust just encodes the assumption of pre-known lifetimes much more strongly in the language. If you're not in such a domain then you have to fall back to refcounting, which is (a) slow and (b) easy to get wrong such that you leak anyway. Early versions of Rust used refcounting for everything and iirc they found anywhere between 10-15% of the resulting binaries was refcounting instructions!
The Chinese fund and own several regional warlords and resource mafias. They can probably bribe and subvert their way into any promising lithium find.
hmm right... wouldn't this work then?

#define free(e) ((void)(e))
British artists team up to fight AI image-generating software
Sounds like anti-freeze keeping the oxygen circulating to the brain.
> Stephen Dolan

I wonder if its JQ man:

https://github.com/stedolan
The only swag I am comfortable with wearing in public are things that look like it might just be a [sweater] with a cool image on it. No way I’m walking around with “Castiron ᴀʟʟ ʏᴏᴜʀ ɪʀᴏɴ ɴᴇᴇᴅs sɪɴᴄᴇ 1887” on my torso.
One of the really interesting comments in the books subreddit chain was someone who was kicked out of his 20 books to 50k group. Apparently the group was discussing the idea of using Fivrr to get content for free - I think this context makes some of these examples much more clear - someone strapped for time just copy and pasting whatever they can in to get a gig. Here is the comment: https://www.reddit.com/r/writing/comments/18n3wej/comment/kf...
Almost my entire family are educators (wife, children, etc.) and we all agree that teacher pay is very low. Specifically, when you break it down at an hourly rate the pay is comically low. I think my wife calculated her pay several years ago at something like $2.00 / hour.

Interestingly, during the height of the pandemic everyone seemed to come around to the fact that teachers didn't get paid enough for the amount of work that they do. This was because parents and caregivers got first hand experience in what teachers go through on a day-to-day basis. However, that sentiment has faded with time and with it the value of a good teacher.
Civil rights groups ask NYC to ban biometric tech in public
This is ethical email marketing.

Here's another bad business advice: don't be a spammer, don't facilitate spamming, don't work with spammers.
I ... am not sure which of the three languages you're familiar with, but I don't think that's remotely correct.

perl has block based lexical scoping and compile time variable name checking.

python and PHP both have neither, which continues to make me sad because I actually -do- believe that explicit is often better than implicit.

perl has dynamic scoping (including for variables inside async functions using the newer 'dynamically' keyword rather than the classic 'local'), which I don't think PHP does at all and python context managers are -slowly- approaching the same level of features as.

perl gives you access to solid async/await support, a defer keyword, more powerful/flexible OO than PHP or python, and a database/ORM stack that really only sqlalchemy is a meaningful competitor to of those I've used in other dynamic languages.

Sure, if you're writing perl like it's still 2004, it -does- kinda suck. But so did PHP 4.

The "why not use" argument is probably better made with respect to modern javascript (I'm really enjoying bun when I have the choice and I can live with node when I don't), since "let" and "use strict;" give you -close- to the same level of variable scoping, plus usable lambdas (though the dynamic scoping still sucks, hence things like React context being ... well, like they are), and the modern JS JITs smoke most things performance-wise.

Oh, and a bunch of people who used perl for systems/sysadmin type stuff have switched to go, which also makes complete sense - but using python after using perl -properly- has a significant tendency to invoke "but where's the other half of the language?" type feelings, and I think that's only somewhat unfair.

(python is still awesome in its own right, and PHP these days is at least tolerable (and I continue to be amazingly impressed by the things people -write- in PHP), but "worse php" is just a -silly- thing to say)

NB: If anybody wants specific examples, please feel free to ask, but this comment already got long enough, I think.
That's a different kind of percentage. The terminology is unfortunate and confusing.

I'm taking about the sense in which you share 50% of the DNA with a sibling or payment.
CAP really should have been formulated as:

When too many nodes fail or are unreachable, do you sacrifice consistency, or availability?

And even then it's misleading, because you can still be consistent and partially sacrifice availability (allow local or mergable updates) or be available but partially consistent (allow updates, but have potential conflicts to resolve, maybe manually, when the partition is healed.)

You can even make different A <-> C tradeoffs per request/transaction.

Distributed system are complex, who knew?
The article is an exaggerated but decently accurate portrayal of many cities and suburbs in the US in 2024.

Europe is, I suppose, not as enshittified so far, but it's a matter of time.
Thanks! Yeah, I attached an image to ChatGPT and it worked great.

I see a lot of examples that use receipts themselves like this, but one idea I had that's kind of similar would be to look at just the "ingredients" list on product labels and parse those, like these examples (under the nutrition labels):

Example 1: https://i.imgur.com/MqpL6yh.png
Example 2: https://i.imgur.com/3FSK0CD.png

However, using things like pytesseract and Google's Cloud Vision API returns mixed results, sometimes missing things, transposing lines, etc.

Any ideas on what I could do to improve being able to extract ingredients lists from food labels? Would I have to start looking into something like Vertex AI and training custom models?

Then again, as I'm thinking out loud, I realized if these tools can extract all the text pretty reliably, the order and place doesn't really matter if you create some extractor that's able to just pluck out which words are actual "ingredients" based on some master list or something.
I think any clothes can help building an insulating layer around your body.

I've been doing some cold plunges recently and the difference between still and moving water is staggering, as you quickly get a thermal layer around you. Surely clothes would help with that.
Except that teaching and healthcare are some of the least productive sectors in the economy, which is why they're seeing steadily increasing costs over time. Suggesting that no rent-seeking or socially wasteful effort is occurring in these areas is quite ludicrous.
> We conclude that the maximum probability that panspermia sparked life on Earth is on the order of magnitude of 10-5, or 0.001 percent. Although this probability appears low, under the most optimistic conditions, potentially 4×109 total habitable zone exoplanets exist in our Galaxy, which could indicate a total of 104 habitable worlds harboring life.
Project Valhalla: Java's Epic Quest for Performance Immortality
The whole idea is still really new. Some of the objections being brought up don't necessarily apply. Any building generates a lot of grey water and a drainage issue. Keeping the water local, maybe using some simple treatment techniques, could control the runoff and also make use of it. Buildings usually have one side that gets a lot of sun. There are also many methods being used to advance daylighting including lenses and fiber optic lines. This has so far been expensive, but is competitive with powered lighting systems.

Of course attempts to duplicate existing farms in cities will have issues. Many of these may be resolved. For example, even current farms are beginning to make use of automated weeding and picking machines. This could make it practical to grow in awkward built places that have limited or no safe access.

It is also really important to bear in mind the ugly reality of massive farm failures. When volcanoes blot out the sky for a year or more, which happens every few hundred years, all currently dominant forms of farming fail absolutely and catastrophically. However, in such circumstances some vertical farming setups would have limited challenges. It may be difficult to efficiently and reasonably plan for such scenarios, but we know absolutely that they will happen and it has already been a while since the last really big volcanic event.
As someone who’s the owner of a national conference business my tip is branded chargers. Literally everyone needs them and is incentivized to keep it around.
Money corrupts; bitcoin corrupts absolutely.

https://www.cynicusrex.com/file/cryptocultscience.html
I recently reinstalled my personal laptop to distro hop. the only two files I migrated over were my pgp key and .bash_history, the bash history is around 8000 lines I don’t want to loose.

sometimes I ‘sort | uniq’ the bash history to filter about duplicates
> cannot seem to kill

I live in a cold Canadian city that has a substantial population with drug addictions.

I was talking to a cop one night (he was off duty) and he was telling me about how you eventually learn some of the regular offenders names and stories. He told me how tough some of these guys are. How he'd pick one up for stealing and he's out in -30C with ganggreen on his leg.

"Cockroach energy" he called it.
BMWs from 2000 - ~2013 were... problematic, but BMW has mostly solved all of those smaller issues over the years and I would argue that they're rock solid at this point.

i.e, all to say: I never once needed to worry about replacing those parts, nor did I ever during my multiple years of ownership. I would be shocked if they're an issue on that particular model.
Kinda a naive statement. Around 1/3 of males in the world are circumcised with highest rates in the US, Middle East, and South Korea.

https://my.clevelandclinic.org/health/treatments/16194-circu...
Really? As someone who lives within easy commuting distance of Central London, I'd say the UK is a pretty dire place to be right now.
I actually love these, to my shame.
Incremental stream processing with DDlog (2022)
revolts
More than ten years later this was one of the organiser’s reflection.

> think the best way to understand Graeber is as a writer of speculative nonfiction. He is often wrong on the facts, and more often willing to push them farther than they really ought to be pushed, requiring shallow foundations of evidence to bear a heavy load of very strongly asserted theoretical claims.

https://crookedtimber.org/2023/07/08/debt-4102-days-later/
Related comment with a different solution to the same problem:

https://news.ycombinator.com/item?id=39076976
Yeah... they're getting harder to find due to people catching on, but man they're good.
The chip foundries are just one factor in the importance of Taiwan. What matters more is that control over Taiwan would vastly simplifies to exercise control over what China perceives as their territorial waters (not just as their Exclusive Economic Zone!). The economic impact can be tanked by a national economy and is easily justified in the name of furthering national security, as it would severity weaken US influence in the whole region.
Vomiting won’t retain calories which happens when you are “spectacularly drunk”.
Obligatory meme-y "tell me you're not sanitizing input without telling me". Also not storing hashes of passwords, because then it wouldn't matter what the input is.
Optimistically, perhaps this requirement stems from an overzealous WAF
I especially like recent perls' support for <<~ as a << that strips indentation so you can keep your HERE doc contents indented along with the rest of the code.

(and everybody with a HERE doc implementation that doesn't have that yet should absolutely implement it, people who can't stand perl deserve access to that feature too ;)
Distributed Llama
Ahaha yes, I discovered this after writing :) I think the main argument is still that Europeans don't get as much vitamins/minerals artificially added and 'may' (though not necessarily) be better poised to benefit.

I say may because these things are complicated. I also suspect people here give better respect to food and might be eating a more balanced diet naturally
Eternal rewards are out of jurisdiction.
As something of an old-timer here, there's some amusement, but mostly appreciation that people are discovering that these very old ways of doing things have a lot of potential (and a lot of untapped ideas)

Somewhat relatedly, recently I discovered the colorfully named fff. It's a solid file manager, but what I've used it for is a terminal based filespace navigator (by adding a function that just leaves you in the place you navigated to).

It's funny how it's hard to break the habit of "cd" to move around, despite this being way faster, especially if you're not sure where you're going.

https://github.com/dylanaraps/fff
I find it difficult to believe. It was April -2C air temp in the open ocean and water temp probably 0C or 1C. Even with clothes on or relaxed you'd be dead in 15 minutes.

I live in Canada on the coast and there are many news articles of people drowning after falling into cold water. And those people were in modern cold weather clothing.
skldkfşdldldjjddkldjdlslsdjkd

I’m amazed to learn that we are the only nation that uses keyboard spam for laughing. Why? It’s funny!
As it should be…we don’t want delusional people dreaming of a utopian society that actually becomes lawless and violent when implemented.
In non freezing temperatures bad blood circulation probably is an advantage? There is probably no point in heating your fingers if in cold water for a long time. It will just cool more important organs.
I’m not sure that the choice of the language matters a great deal for an intro course to be honest

There’s no way students can wrap their heads around advanced topics to the point where language selection matters that much

Of course toy languages like Brainfuck, low level stuff like pure assembly or archaic languages like COBOL would be detrimental to learning. But any mainstream language from the last forty years or so will have major crossovers with most others

I fail to see how D is that extreme compared to most other languages or any reason it should be pedagogically dismissed as a first language
> No one reads. If someone does read, he doesn’t understand. If he understands, he immediately forgets.

Because that is a skill that needs practice. The fact that people can't be bothered to learn that skill anymore is, IMO, not an excuse. Yes, we can come up with a pile of metrics and tools that essentially say "you need to share knowledge, but because you behave like children, here is a game that will help you have fun doing it". But we should also not that not everyone loves brand new business tools and spending their life in meetings.

But the root problem is still that people just don't acquire that skill anymore. RFCs are actually accessible, manpages are often great.

And then I believe that some stuff does not need documentation. Either someone can take it over (because they worked on it or because they can read the codebase) or they will just replace it by their own preferred thing. That does not apply to everything, but it does apply to some things.
A good quality well sized tin is always appreciated, no matter the material really.
Genuinely asking: so if he basically copied the entirety of a Stephen king novel except he switched subject and verb ordering for all of the sentences, you don’t consider it at all unethical?
I thought that Section 8 housing has to meet some minimum standards. Are they really that minimal?
Buying your own book is deceptive, but it's not illegal. Just sketchy gamesmanship.

This happens in the US too (esp nonfiction, and political stuff).
"Most people don't setup their own environment for their first language...."

Since most people probably try out js as their first language (often without knowing what js is) - setting upt the environment and IDE is as simple as open dev tools ..
The underlying concept is using other people's ideas as your own. It's coherent and there's good reason for using it in academia, and probably also in journalism and creative writing.
That's fine. I'll just use `truncate` instead.
Actually they do sanitization by blacklisting

"Blacklist sanitizing cleans the input by removing unwelcomed characters such as line breaks, extra white spaces, tabs, &, and tags."

But still this is not a way, input sanitization is bullshit.

Using query parameters, thus inserting raw input into already built abstract syntax tree of SQL query

is the correct solution since SQL injection is about affecting tree composition
https://archive.is/WTVrj
Yeah, this is the sort of thing that makes one wonder why we haven't been able to settle on a good "mostly text, but maybe a little bit of graphics when necessary kind of a standard."

Like some kind of sixel + html thing or something.
The Shape of Data (2022)
Different but overlapping.
Redundancy Does Not Imply Fault Tolerance (2017)
No, you got it wrong. I would say that the current outcry about Gaza is mostly driven by a false sense of siding with the underdog. But just because some people appear to be the underdog doesn't mean they are right.

And just so you know, I'm not white. Not even probably brown, ethnically. I'm classified as black African, and, and from where I sit, the Middle Eastern nations are not in any position to point fingers at a supposed disregard of brown lives, when one considers how they treat migrants, a lot from Africa. Arab "slavery" of Africans is still a thing

Settler violence is certainly wrong. However Israel also left Gaza years ago and have been rewarded with constant rocket attacks, and more.

> Like, Israel openly claiming that their goal is to basically relocate and displace the local Gaza population is good actually

Fine, tell me what the solution is then. If your response is that Israel ceases to exist, then I guess there is no longer a basis for discussion - good luck - I have no bone in this. But if not, then how is the security of Israel to be ensured? The vast amount of funds that flowed into Gaza has only been used to attack Israel, and Gazans are now much worse off. How is this a wise course of action?
The article starts by mentioning the programmatic interfaces, but the point here is to be better able to write quick, clear scripts, not full programs.

It's solving a -different- problem, and it may not be a problem that you personally have, but as I think the various excited comments rather demonstrate, it absolutely -is- a problem plenty of people -do- have and it's a really nice thing to have available for us.
Self-plagiarism is not the same as stealing someone else's ideas, but it is still ethically wrong if you are e.g. selling an academic article to one publisher, when it is really just an already published article of yours with the title changed.
I think a mix of methods are best. We can use non-GC methods for whatever is easiest to prove is safe. In Python, they then use reference counting by default. Then, a GC when that would be a problem. I also prefer when the GC let's me tell it to immediately delete something which it just checks incrementally. Then, performance-sensitive modules can be coded without GC's using tools like Meta's Infer which work on large modules.

For the GC component, there's two options I'd like to see more exploration of. One is a modern, concurrent GC to reduce the pauses people here are worried about. Immix [1] is an interesting design I remember.

The other option is a runtime supporting multiple, app-specific GC's without much tuning. JX OS was the first variation of that I saw. I just stumbled on this other paper. So, we have a global, memory manager divided up into chunks managed differently across apps or components.

[1] https://www.cs.cornell.edu/courses/cs6120/2019fa/blog/immix/

[2] https://www4.cs.fau.de/Projects/JX/publications.html
(It was in 'Beyond Address Spaces.')

[3] https://dl.acm.org/doi/abs/10.1145/1029873.1029880
That isn’t funny and there isn’t a widely accepted intrinsic value to eternal paradise. You’re just anti-religious and want the excuse to let us all know
Why there are no software engineering jobs anymore [video]
Sure they do. You can tell anyone to "just install IntelliJ" or "just install Xcode" and they'll have a working environment with zero effort. All the popular languages don't require handholding