skysight-inc/HackerNews huggingface dataset:
> Sometimes I wonder if some language communities really are cults. It's the same with Lisp - replace "type system" with "homoiconic" and you have the exact same mantras about ultimate supremacy and "intellectual" superiority. But the proof of the pudding is in the eating and across probably 10 computing devices in my home, not a single one has any Haskell or Lisp programs running on it. Lots of Java, C, C++, Python, Rust, Bash, JavaScript, even Perl (probably) but not a single binary compiled from Haskell or Lisp interpreter to be found. To any reasonable person, that should be a strong signal about the so called "power" and value of their sacred cow.

Xmonad and pandoc are probably the most heavily used Haskell programs. Not necessarily contradicting your overall point, just exhibiting the two examples that someone might reasonably be expected to run into.
The average IQ doesn't allow for that.
> Even if they were if Indians weren't completely backward and uncivilized 70 years is a good enough time to get rid of bad things introduced only for 100 years or so.

If you think Indians were backward and uncivilized, there's no point in engaging further with you.
Step 1: gain confidence talking about containerization. Perhaps come up with a personal project that uses Docker and the public cloud. This should take you around 1-2 months top.

Step 2: Put "Docker, AWS/GCP" in your resume in your "skills" section and in the section that belongs to your current job.

Profit.

If you know about containerization then it doesn't really matter if you have learn it in your side projects or your work. If you pass the interview that means the company is comfortable with your knowledge about containers.

Your CV is whatever you want it to be (with some limitations of course). If HR is expecting to see X in your CV, you can easily put it there if you do your homework. It doesn't really matter if you didn't use X in your last job, just put it there and demonstrate in the interview how well you know X.
Transforming Email Marketing with AI
Ask HN: Where do I find good code to read?
I feel the need to do some code reading, but I don’t know where to find good code (don’t say GitHub).
I don't read "primitive" to mean "modern-day people who live in other countries", but rather "people who lived thousands to tens of thousands of years before us", which is both much closer to the definition of the word and something which would be relevant to understanding why the author fancies that we might need this contraption now and not previously in our evolutionary journey. (And therefore I find it a completely inoffensive description.)

If you take that reading of the word, I think it's fair to say that the 90th percentile in fitness modern human aged 20-40 is less physically fit than the median human aged 20-40 of 10K to 100K years ago likely was.

If you read primitive to mean, say 10-100K years ago, it's definitionally true that humans are more civilized today than we were then, with what we think of and call "civilization" starting well within the last 10K years with the rise of agriculture, and has nothing to do with how one pronounces certain words or holds their pinky while drinking.
I think it's nuanced. IDEs are great, but there's often a lack of good CLI tools and they often show their age. For example, I find checkstyle rather annoying to configure and use.
Same, I was like “wow the RSS FEED is in the NAVIGATION MENU”, and then getting ready to have Miniflux fetch full article content “oh wait it’s a proper full feed is this a config error?!!”
What's the worst that could happen with an `<iframe sandbox="allow-scripts">` on your page (where the iframe will be treated as if it's from a different origin to the current page)? https://codepen.io/ runs custom user JavaScript, HTML and CSS for example via iframes.
That is incredibly helpful information, thank you for taking the time to write that up.

240-260GB is a very small amount of data compared to what I backup, my photos and videos are around 150GB, I’ve got a few archives of family documents / data, an offline copy of my git repos, 35GB of email, any 3D models and related data I’m working on, a collection of specialised software that isn’t easily re-downloadable, daily snapshots of anything I’m working on (quite high churn but important), a couple of SQLite databases from a few apps I use, my collection of purchased ebooks and audiobooks and a few other things from my home server.

Currently I’m using both Backblaze Backup on one of my laptops and Borgbase which I was intending to migrate to once I was happy, it’s OK but I’d probably just be better doing something like you say with a VPS / cloud server somewhere near me in Australia/NZ, have had some performance issues with their hosting / routing and while borg itself has been reliable it’s a pain when you want to quickly browse through your backups or do an ad-hoc cleanup.
> Kinda weird to think that working, useful Windows applications ran on systems with that little memory.

> Ugh I'm glad those days are gone.

I'm quite the opposite... i miss the times when applications could run in a few megs of ram.... nowaday just a browser showing a simple weather report wastes 2 gigs+ of ram.
The amazing thing is that at age 84 and having not made a film in over a decade, Coppola has used a considerable amount of his own personal wealth to film the sci-fi epic Megalopolis, from a concept he came up with in the 1980s. Adam Driver stars, filming is wrapped, and it comes out next year. Should be interesting.

https://en.wikipedia.org/wiki/Megalopolis_(film)
Technically my understanding of terminology is that the branch predictor is responsible for determining which branch to take when speculative execution encounters a branch. Speculative execution is the thing that will invalidate work if the branch predictor was wrong.

Also my understanding based on reading this thread is that a conditional move is harder to speculate across because of the data dependency carried across iteration loops, preventing speculation. With a conditional branch, speculation can keep executing the next loop and most of the time the branch predictor will guess correctly how to execute the next iteration for this problem.
This gets repeated all the time, but from what I can tell is just a power fantasy.

There are no California cities actually rubber stamping all housing, despite numerous cities being very far from compliance.
I always thought garbage websites from garbage companies were the only ones to pop up a subscription window. Bradford Morgan White, why did you turn your website into one of those websites with that "subscribe" popup?
Visualizing Neural Networks
You think a human makes them now?
I must have missed this on my usual peruse of new apps on Flathub. Thanks for making it, will look forward to trying it out.
Speaking of pears is a perilous journey.
Google sign up as the only option is a deal-breaker.
"But anyone who thinks that killing a rival to reassert control is a show of strength, not weakness, is delusional."

In Putin's case, he is stronger, only because he has been severely weakened by this war. The bulk of the article is regarding the disagreeing or arguing with with a dictator, but Prigozhin didn't just disagree with him, he tried to lead the army against him. He cannot be allowed to live after that for Putin to remain in power. And the only way Putin leaves office is in a box.
Grokking Hash Array Mapped Tries (HAMTs)
Power of Methaphor: Jungian archetypes in movies
And then obviously no-one will spend $220 million on a movie anymore because, hey, we can just use generative AI. So I guess subsequent AIs will be based on the outputs of a previous AI? Or will all movies from a certain point onwards be wholly based on a corpus of existing movies used for training? Maybe AI companies will start shooting small film segments in meatspace just for the purpose of training or providing some base input to their models?

The future is gonna be weird, yo.
At some point there was no sort, and then somebody implemented the sort. That's the point in time that I'm talking about.
I think he was dead before then, when he started openly criticizing the war. I think the coup was in response to that.

I'm not sure why he was flying around in Russia though.

The article has a point though: the next Prigozhin might have just learned not to stop a coup as much as not to start to one.
Alberghi diffusi turn villages into hotels
Ignoring the depressingly-predictable classist/colonialist tone

Isn't it an anti-classist tone if anything? It's associating "civilization" with weakness, confinement, and a lack of opportunity, and associating primitive living with fully developed muscles and says it provides for a normal and quick delivery. How is that not an endorsement of primitive living? I don't see how you can call that paragraph colonialist unless you see the word "civilized" and just turn your brain off.
> Basically, the author's criticism is that the language is too powerful, too expressive, people try very abstract things

I think this is a bit unfair. The author's criticism is that people try very abstract things and don't stick the landing. And to an extent I agree, but the problem isn't that Haskell is too powerful, it's that it's just barely powerful enough for too many things. Contra the author, GADTs are not one of those things, and snoyman can pry them from my cold dead hands. But singletons clearly are. So are impredicativity, open type families, type level arithmetic, and Template Haskell. Idiomatic Haskell practically writes itself, but type-level Haskell is at least as hard as C, and it's almost entirely because of how terrible the ergonomics are.

> Third, about backwards compatibility

Strongly agree here, if anything GHC doesn't break backwards compatibility enough. `Num` is an abomination.
Depends what good code is to you.

Good code is different depending on your sense of aesthetics, but also it's purpose.

Good code for an enterprise-life-blood type of system is terrible code for a "let's check if this is an idea" type of prototype (and vice versa).

For a relatively large and mature project, someone might suggest Linux, but it's a bit hardcore in my opinion. FFmpeg is actually really nice, and you can wrap your head around the general idea of how that system works, to the point where you can comfortably add new options and even introduce new codecs and containers in a few days.
You're drawing some arbituary point of even more negligible dilution when mathematically, flat out dumping everything straight into Inawashiro is still merely 1% of WHO limit for safe drinking water. It would already be adequately diluted for human health. It's already likely sufficiently negligible considering the ratio of solution:solvent. Spread that over 30/50 or whatever years over water cycles and different locations and it's even less of an issue. It would be bloody diluted regardless, especially so when titrated on multi decade time scale. I'd happily drink it. And I am not being facetious.

Ultimately, regardless of feasibility, it's simply a solution which they didn't even consider, because again, as you recognized why would they. That's politically suicide even if it's deemed ecologically sound plan. Which circles back to your first point, does any country dump tritium in their local lake? Not publically, and Fukushima is notoriously public politics. But you know what most try to do with nuclear waste? They attempt to engineer supremely expensive local storage solutions, and frequently fail only to spend stupid resources to warehouses it domestically, instead of dumping that into the commons. It's 60 olympic swimming pools worth of water. It's trivial storage problem for nation state. Hence problem 1/2/3 isn't even a problem especially if they bothered with local dumping studies which again, is 3 tankers per day for 30 years. It's nothing. Desalinating 1.25m tons is also trivial, and not even that costly. A 10m gallon / day plant cost less than 100M and sort filter that in a month. Which is peanuts versus aggregate clean up cost, and even potential lost fishing revenue. Cost isn't driving this decision to release, politics is. And it's not regional geopolitics because JP isn't releasing this water out of spite for her neighbours. Let's not forget, it's not PRC but most of region as well as countries across the Pacific not pleased with this decision.

Which ultimately circles back to point 4, and my broader point. LOCALs don't like it. LOCALs vote. Can't risk LOCAL votes even if they're irrational, and EVEN worse if their rational distrust of TEPCO becomes reality down the line. IIRC even more containated water already leeched into ground water. Risk of future leaks, however "safe" this water is, and heads will roll. So the politically expedient solution is to dump into ocean and remove any potential risk. The political math is simple, they would never even consider local disposal or long term local storage due to the risks, so into the ocean it goes. Which again, is fine. Fine in the sense that it's a calculated decision. But let's just acknowledge that's whats actually driving decision making. Less science and more domestic JP politics. They didn't have to dump this water. A 5T economy can afford to store it indefintely and ignore geopolitical shit show. But domestic JP politics want that water gone from JP territory, so into the ocean it goes.
fair enough - i don't use xmonad but i do use pandoc on occasion. in full transparency: it occurred to me that i am familiar with postgrest, though i've never run it personally. still no lisp programs though!
The Entity Component System (ECS) pattern seems to side-step the Rust borrow checker entirely in order to solve the following issues, all at the same time: 1.) allow a "parent" entity to have a reference to a "related" entity, 2.) allow such a reference to a "related" entity to be mutable, 3.) allow multiple "parent" entities to reference the same "related" entity, and 4.) allow the overall system to deallocate a "related" entity at any time without invalidating the state of all the observing "parent" entities.

I have never written a game before, so Catherine West[1] might have very good reasons for choosing ECS, but I... am not so crazy about it. ECS seems to replace Rust references (raw pointers) and/or Rust smart pointers with indexes into one, large "registry" (a container: e.g., a `Vec<T>`) of entities (e.g., `struct` instances). In other words, instead of allowing a Rust pointer (a managed memory address) to keep a piece of memory alive, ECS chooses to have a "registry" keep a piece of memory alive under a particular index, managing allocation and deallocation manually.

In a sense, ECS dumps Rust memory management in favor of... writing the good, ol', data-and-function -oriented C. Quite needlessly (?), since the same (?) can probably be accomplished with Rust reference counted pointers[2], weak pointers[3] and interior mutability[4].

----- CUT HERE -----

use std::rc::{Rc, Weak};
use std::cell::RefCell;

type WeakMutEntity = Weak<RefCell<Entity>>;

struct Entity {
related: WeakMutEntity,
}

impl Entity {
fn new(related: WeakMutEntity) -> Self {
Self { related }
}

fn use_related(&mut self) {
let Some(related) = self.related.upgrade() else { return; };
related.borrow_mut().use_related();
}
}

let entity1 = Rc::new(RefCell::new(
Entity::new(/* null */ Weak::new())));

let entity2 = Rc::new(RefCell::new(
Entity::new(Rc::downgrade(&entity1))));

entity2.borrow_mut().use_related();

----- CUT HERE -----

If the above does not get the job done, the solution shouldn't be to just abandon the Rust borrow checker; the solution should be to get the Rust Gods to optimize the available pointer types syntax-wise and/or performance-wise.

[1] https://www.youtube.com/watch?v=aKLntZcp27M

[2] https://doc.rust-lang.org/book/ch15-04-rc.html

[3] https://doc.rust-lang.org/book/ch15-06-reference-cycles.html

[4] https://doc.rust-lang.org/book/ch15-05-interior-mutability.h...
Asking about abuse is a standard question in the US now during hospital interactions not just births and not just natural births.
The funny thing about Twitter users is how in real life you can tell who is addicted to Twitter from the way they talk. Every conversation is a Mexican standoff with the Twitter addict as they try to bait you into exposing your Silo against their Silo.
Its infuriating to deal with this type of addict because the rest of society is just trying to coexist while the Twitter addict is trying to root out imaginary threats to the Silo.
I wonder why this discussion about tooling does not include .NET languages or Swift, even if the first class tooling are IDEs such as Visual Studio or Xcode. Most probably because the open source world escapes big tech dependencies?
Sure, employment history matters. But, if you're in a field where some job-seekers can point to relevant concrete work products they've created they may have an advantage over those who can't. Maybe that's not fair but it's the way it often is.
Which isn’t what astronomers mean when they say it’s infinite. They mean actually infinite. There’s no trickery.
> How is that defined, is it part of the non-existing license?

What do you mean? https://github.com/facebookresearch/llama/blob/main/LICENSE
That seems silly. Weaker by what measure? Russia is weaker than before the war in many measurable ways. Putin is weaker in connection to that. He couldn't even leave to visit an ally because neither wanted to be in a difficult position re arrest. That looks very weak.

Killing Prigozhin I don't think it goes one way or the other.
In my career books have paled in comparison to real world experience, and finding myself far outside of my comfort zone. The two major advances I've gained in skill were a) completing a college diploma b) being thrown into the deep-end at a fortune 500. You can read all the books in the world, but challenging work experience will have far more impact.

The 'mental model and scientific process' has less to do with code alone, and more to do with the holistic act of working for a business. Development is just a part of it. Books will teach you best practices (and you should know best practices), but they won't teach you how to be an effective team-member, or cog in the business.
Thanks for sharing. This lines up so well with my experience as a translator in the ER — doctors are constantly catastrophizing and make it seem like everyone is going to die all the time and seemingly massively overtreat/overtest most patients. It really turned me off and decided not to go to medical school. Maybe it’s their version of upselling.
People hear “ai” and think it’s a near-human that cannot merely answer to text but also see, hear and do shopping.
We’re reasonably sure the universe as a whole is infinite. Whether or not you want to accept that as a valid size is up to you, but I’d recommend defining “size” to include ordinals.
Now Available: Broken Money – Lyn Alden
this display of masterful communication leaves me speechless.
Well, it really depends on what you value in your tooling I guess. I tend to appreciate minimalist tooling, and Java definitely doesn't fit that bill.

To be fair, the language needs that tooling to be practical, and the quantity of it isn't helped by its long history so it isn't necessarily the tool makers that are to blame.
It’s funny as servers locally or regionally, co-located close to users, was this stupid legacy thing a couple of years ago.

I remember being at a conference and everyone being amazed that Chick-Fil-A dared the impossible - putting K8S clusters at each store to run operations. Lol.

This business always makes me laugh.
It was tongue in cheek, and you make a great point, the idea every Indian or every European is the same is absurd.

That said, my comment was pointed more towards NASA and the West generally. I have been getting the sense that NASA don't like the demographic of their organisation very much lately which I think is sad given their accomplishments. Were this a video from a NASA control center I expect a lot of people would be commenting on the colour of people's skin and that's a shame. I have been rightly downvoted here for this.

My comment was in poor taste, but I saw an opportunity to poke fun at the absurdity of the Western view of diversity. For whatever reason I've noticed we seem able to recognise the absurdity of the claims we make about diversity when it's not in a Western context. Eg, the idea that to be successful at anything you need people with different skin colours involved is clearly not true – and it's sad this idea is even being entertained by an organisation as well respected as NASA. They should care about hiring the best individuals the US has to offer. At least in my opinion.
In general, a state maintains order by monopolizing violence = army, so it is clear that the Wagner Group, which claims that Putin is responsible for Prigozhin's death, is unlikely to follow Putin, resulting in a very politically unstable situation since there will be two armies in Russia.
Blackberries and Symbian
The page appeares to be hugged to death. Google cache: https://webcache.googleusercontent.com/search?q=cache:uWo0Ni...
https://webcache.googleusercontent.com/search?q=cache:k3QOar...

archive.is WIP https://archive.is/wip/vLSWG
Using AI to Brew Exceptional NA and Low-ABV Beers
I never had the chance to work at the lower levels you seem to have worked with; in any case I don't disagree in principle with your points (and understand some part of the fundamental understanding you mention), but less dependency leads to wheel reinventing which is completely unsustainable in the long run, specially if you need to maximize the value you bring to the table. It has been like this for every field; how can we call this, industrialization?
If you’re looking for alternatives, SonarQube has jumped quite far in the last few releases. I like the coherence of the platform now and i find the default gates aren’t oppressive like they were in days gone by.

I’ve gone all in on them these days, the feedback from sonarlint in the IDE is usually useful.
No, this is not true.

There is branch prediction around the length of loops. This is a case where the processor is not able to accurately predict how long it needs to stay in the loop. The BLT instruction changes the prediction model, causing the processor to be more likely to assume the loop will continue.

Honestly, though, worrying about this level of optimization is generally silly. If you're looping through an array often enough that optimizing the code this way is worth your time, you should use a data structure that automatically maintains the max (and min) values for fast retrieval.
The general theory of relativity predicts that time would run slower, and if that was the case these ancient quasars would demonstrate certain properties when looked at by our telescopes. We then looked at ancient quasars, and the readings we got matched the predictions, with some amount of error.

This can then be used as another piece of experimental data supporting the general theory of relativity, even though you are right that these readings could be achieved through some other bizarre set of circumstances.
There won’t be another Prigozhin. Everyone else would rather serve in heaven than rule in hell.
Wouldn't that be 99 buckets?
Block the Bots That Feed “AI” Models by Scraping Your Website
> In the future we can connect these logs to slack so you can get slack alerts when a developer accidentally DROPs a table.

What can you do about getting me a slack notice BEFORE a developer accidentally drops a table? ;)
Income Mountains
I don't blame them since the stakes are much higher, but it probably doesn't help to say "they can't figure out blockchain" because that doesn't make any sense.

Which 'blockchain'? Blockchain is a singular noun, that's like saying "they can't figure out phone".
I think people wishing for the death of Putin have a real lack of imagination for what comes immediately after.

Maybe the replacement just wants to end the war? How do they do that exactly? I know at least one way with a high probability of success.