skysight-inc/HackerNews huggingface dataset:
As another poster already said, providing namespaces is just one of the functions of modules, the other being encapsulation, i.e. the interface of a module typically exports only a small subset of the internal symbols, the rest being protected from external accesses.

While a function may have local variables that are protected from external accesses, a module can export not only multiple functions, but any other kinds of symbols, e.g. data types or templates, while also being able to keep private any kind of symbol.

In languages like C, which have separate compilation, but without modules, you can partition code in files, then choose for each symbol whether to be public or not, but with modules you can handle groups of related symbols simultaneously, in a simpler way, which also documents the structure of the program.

Moreover, with a well-implemented module system, compilation can be much faster than when using inefficient tricks for specifying the interfaces, like header file textual inclusion.
This is a dangerous axiom which will take you to wrong conclusions. Elected officials may be better, more efficient and less corrupt at a local level, but this does not scale.
If there’s anything 2024 has taught us, is that “tech industry leaders“ are just a bunch of spineless followers who’d rather curl up in a ball and hope no one noticed them than have an original thought that might upset “the man”.
> Rule 3. Fancy algorithms are slow when n is small, and n is usually small. Fancy algorithms have big constants. Until you know that n is frequently going to be big, don't get fancy. (Even if n does get big, use Rule 2 first.) For example, binary trees are always faster than splay trees for workaday problems.

-- Rob Pike, Notes on Programming in C, 1989[0]

Generally speaking, I feel that the bureaucracy involved in a programming project should be proportional to the scale of the project itself. If the 'getting started' tutorial for your programming language demands that I choose a package name for my Hello World program, you fucked up.

[0] https://doc.cat-v.org/bell_labs/pikestyle
My thought after reading that article was “well, I agree with one thing… I sure am sick of the discourse around it.”

I agree that it’s good and not going anywhere, but I also think it’s overhyped at the same time. Both can be true.

The doomerism and hand wringing is a form of hype.
Article 10 of the European Convention on Human Rights is enshrined in legislation in the UK and Ireland, and offers protections for signatories of the convention.

(Edit: Oh, and the Bill of Rights gives parliamentarians quite an extreme version)
Roughly preventative use.
Had a friend who came to me with the same idea. In challenge of the idea I sent a picture of some chopped cucumbers and tomatoes, and an other picture with the same chopped vegetables drizzled with a copious amount of olive oil. I asked if they can tell which one is which. The difference was hundreds of calories and you could not tell which one is which (least of all how much oil there is on the one with the oil.)

That of course feels like a "weird" edge case, but it illustrates the general problem that butter/oil/sugars can pack a lot of calories and have no or almost no visual signature.
An uninteresting complaining article with only clichés like "Nobody asked for it and nobody wants it."
I could not agree more, but you put it up much more eloquent than I did.

I miss VCR rentals, my cassette player and the magic of my first XT computer with MFM disks. I miss the apple //c and hopping online just to check for some information. I miss the craftsmanship of all those self made websites where you kept a list of URL’s. I miss the points where people put stuff on the internet just to share and what they made and were proud of it. I miss the trips with friends to the arcade hall where we would take turns on operation wolf. E-Mailing the friend you made during the holidays and be able to send pictures was some kind of magic.

I truely hate what the internet has become. A centralized corporate greed machine that exploits people and squeezes them for maximum profits. People are more interested in likes and retweets than in genuine contact.

I am getting old… grumpy… bitter because the thing I loved was taken from me.
Humans crave novelty. That's all. I'm sure people were bored of hearing about the internet too.

I'm with you on the optimistic outlook, for the most part. But I think there will also be quite a bit of pain felt by a lot of people (job loss, bad code, bad info, etc.) until we can find ways to correct.
Having been in IT for close to 15 years now, a lot of good minds work in IT a lot of good minds don't.

But I've encountered a lot of stupid (for lack of a better word) people in IT who were convinced they are good at _everything_ just because they grokked algorithms and data structures. Not sure it's a phenomenon unique to IT, but what DOGE is doing is exactly what I mean.
Grep for "alleged".

Not convicted of, but alleged. They are simply digging into DOGE employees and throwing as much shit as they can, in the hopes that something sticks.
I actually didn’t understand this line either, so I asked ChatGPT:

> The phrase "That there’s a ‘there’ there to it" in this context means that "it" (likely AI or some other over-hyped technology) has a kind of undeniable substance or presence — even if it's unwelcome, overwhelming, or problematic. It's not just hype or smoke; it’s real, it’s happening, and it matters — which ironically contributes to the speaker’s frustration and exhaustion.

> It’s a nod to the idea that you can’t ignore it anymore, because it’s not just talk — it’s manifesting in tangible, consequential ways.

> The phrase echoes Gertrude Stein’s famous line about Oakland: “There’s no there there”, which meant a place had no substance or significance. Inverting that to “there’s a ‘there’ there” means this “it” is very much real, unavoidable, and has weight — and that’s part of what makes it so exhausting.

> In short: "It’s not just hype anymore — it's here, it's real, and that sucks."

And now I understand.
Shenmue (Video Game)
Cool, but it's not great seeing a swastika when zooming out..
In all fairness Remote Desktop wasn't all that great, but yeah, here comes another Windows 11-coded shenanigan that I'm sure we'll love.
Tailscale adds a lot of latency in my testing of Moonlight/Sunshine over it
> slandering them

Is anything in the article factually incorrect? If not, then it's not slander. (Well, not libel. Slander involves speech, while libel is for words.)

It seems these websites did exist, and he admitted to doing all this destructive, anti-social hacking as a teenager. These seem to be facts.

Sure, the article is taking a moral stance on that, but most do. And I happen to agree with them that someone like this guy should be nowhere near sensitive governments systems, especially part of a task force of people who are dismantling democracy in the US.
Many mistakes in section 2. The author seems to fundamentally misunderstand block scoping vs lexical scoping, and interactions when deferring execution to the next run of the event loop.

In the first example:

for (let i = 0; i < 3; i++) {
setTimeout(() => console.log(i));
}
// prints "0 1 2" — as expected

let i = 0;
for (i = 0; i < 3; i++) {
setTimeout(() => console.log(i));
}
// prints "3 3 3" — what?

i's scope is outside the for loop in the second example, and the setTimeouts execute in the call stack (e.g. the next run of the event loop), after i has finished incrementing in the first event loop iteration

Consider that you'd have the same issue with the older `var` keyword which is lexically scoped

for (var i = 0; i < 3; i++) {
setTimeout(() => console.log(i));
}
// prints "3 3 3" because i is not block-scoped

If for some reason you really need some work run in the next call stack, and you need to use the value of a variable which is scoped outside the loop and modified inside the loop, you can also define a function (or use an iife) to pass the value of i in the current iteration into (rather than getting the reference of i in the event loop's next call stack)

let i = 0;
for (i = 0; i < 3; i++) {
(
(x)=>setTimeout(()=>console.log(x))
)(i)
}
// prints 1 2 3
His new statement: https://x.com/zach_yadegari/status/1907511557149569190
That is quite a roundabout way to increase anydesk user count.
Is this intellectual fatigue not part of all paradigm shifts? Semi-serious question.
Rustdesk for the win!
I'm thinking Kotlin for my next backend project. Or maybe Unison ;)
The Turing had an interesting approach to naming, not only stealing the Glasgow group's name, but also choosing the initials 'ATI' (in 2015...).

It's recently struggling for relevance.

https://www.ft.com/content/6bfea441-e16c-499a-a887-69f735c29... (https://archive.ph/ujfhb)

I hope they turn it around because the UK need for AI academic coordination/leadership is so high.
What are the downsides of taking a relatively affordable good that people enjoy and making it a luxury good for the rich only?

Is there a word that’s the opposite of “tautology”? Because this question seems like an example. It maps to “what are the downsides of decreasing quality of life for most people”.
Right, the point of raytracing extensions is that there can definitively be wins thanks to specialized circuitry.

What I do wonder, like you mention that older chips could probably use the more optimized structures via software (after all, my naive-ish raytracer is fully in OpenGL and could me modified to use these structures instead), with memory being the big pain-point, what hardware optimizations/specializations are most relevant to get big gains compared to what can be done in "microcode". Circuitry for triangle-intersections, bit-unpacking but considering stack management there's probably other parts left to microcode.
Love me some "Ben Eater does this and crushes it"
Parent already discussed this but at tier-one schools almost everyone (except legacy/athletic of course) has saturated the test score metric. Most applying have a max SAT or ACT. Most have a 4.0+ GPA. A 34 ACT score is in the bottom 40% of MIT applicants as far as I can tell.

The only thing that distinguishes applicants is the soft social stuff.

Japan and South Korea kind of fixed this problem with cram schools and ridiculously overtuned college admission exams. But e.g. KAIST isn’t really comparable to MIT.
I appreciate that! Now maybe they could update the readme accordingly! ;)
What I can't understand is why adults spend hours watching other people play sports on TV.

Some even pay for premium channels to watch it.
It doesn't give me a rush of power or control, I just like solving puzzles, and locks are puzzles.
EXACTLY! All the excitement over more and more automation means almost no one will have income to buy anything because almost everyone will be unemployed. So what is the use of producing goods and providing services then, even at lower cost? I don't know.

As for UBI, who is going to provide the money? I've never heard anyone talk about how that is supposed to work. YOUR comment is the first time I have ever heard, well, read, that point brought up. The government can't pay for UBI because there will no longer be a tax base of income earners due to lack of income. Companies can only contribute to the extent that they have customers. I suppose that a super-efficient, low labor economy could be almost entirely export-driven but that assumes the rest of the world isn't in the same situation.
Although I haven't followed his project at all, one fully free alternative which gives similar insight (how logic gates build up to a full computer) is the nand2tetris[1] course. It starts with just a nand gate and then creates all necessary components to make a simple programmable computer, all simulated virtually so you don't need any physical components.

1. https://www.nand2tetris.org/
There is no way its off that much.

Standard for cutting is about 500 calories deficit, for 1lbs lost a week. Lets say 2500 calories daily standard. That's 20%. If food packaging was off by 30%, food nutrition planning would be worthless, but we know it isn't because we see fairly consistent results from weightlifters (assuming they're actually weighing their food and not eyeballing/using a PoS app like this)
Tdap Vaccination for Pregnant Women
I have recently switched to Rustdesk and it has worked quite well for my use case.
Show HN: The SQLite Drivers 25.04 Benchmarks Game (Golang)
Changes since 25.03 (https://pkg.go.dev/modernc.org/sqlite-bench@v1.0.0#readme-tl...)

- No changes in ranking.

- Scorecard changes:

- modernc: -3 points
- mattn: -7 points
- ncruces: +10 points
Recently I had a convo starting with: "Maybe we can use AI to infer whether we are dealing with an experiment or a control based on the metadata of these public studies."

These data are tables, people call "controls" anything from "control" to "ctrl" to "ctr" to "t0", either in the file name, a random column, etc etc etc. It worked well and I'm glad we tried it. In time I think we will derive value from deciding to use it. I'm glad nobody tuned out.
Go's behaviour never made much sense because, unlike JS/C#/Java, Go has pointers. So if you really want to capture the variable itself and not its current value at the specific iteration, you can (and should) just capture the pointer to it.

But even in C#/Java/JS, it never made much sense either since a) you almost always want to capture the current value, not variable itself; b) if you really want the variable itself, you can put it into a 1-element array and capture the array (which how people evade Java's requirement that the captured variables must be "final" anyway) and use arr[0] everywhere instead.
yep
https://youtu.be/L-azf9ecvfo
Haha thank god. I really confused myself reading that. I am truly an idiot today.
You didn't actually answer GP's question.
Technical debt, so hot right now.
> You get 16 Ascalon cores per Blackhole card.

No you don't, you get licensed SiFive X280 cores, which are slow in order cores with 512-bit vector registers (dual issue 256-bit ALUs).

See: https://docs.tenstorrent.com/aibs/blackhole/specifications.h...

and the SiFive X280 page: https://www.sifive.com/cores/intelligence-x280
SEEKING WORK | USA | Remote or on-site locally

Hi, Logram here! We're a small US-based team doing web app/API development. Helping early to mid-stage startups build a solid foundation is our bread and butter. We're available for short or long-term contracts working independently or integrated into your team.

Rates range between $90/hr - $140/hr depending on the nature of the work. We also offer fixed price contracts as well. We do not subcontract.

---

Email: hi@logram.io
Site: https://logram.io
Availability: As needed
Services: Web/API development
Technologies: C#, TypeScript, React, Tailwind, PostgreSQL, AWS, Docker
> Thanks to Brad Avenson for suggesting (facetiously) that we fill our products & packaging with “dry, inert gas,”

This is what we do with crisp packets. Noble gases don't let the crisps go rancid.
I know it is uncouth to discuss appearances of people, but I have noticed a clear pattern when it comes to the women that get sucked into core of the MAGA sphere: Obnoxiously overuse of fillers, too much (and too dark) mascara and eyeliner, straightened hair, use of botox which results in a deadpan face.

My pet theory is that POTUS and his gang mostly enjoy younger women working around them, so anyone over 30 will do anything in their power to "look young".
Trump's Trade War Escalates as China Retaliates with 34% Tariffs
What's with the random musky quote shoved in there...
How many of those projects are actually being completed? These articles tend to tout announcements, and the projects tend to fall through.

Just looking at the first article from FT:

LG - committed to a new manufacturing plant in TN... in 2017. Completed in 2019. Both under Trump. Expanded more a few years later - under Biden. What is the status on their 2023 commit?

Hanwa - Georgia facility opened in 2019. Under Trump. What is the status of commits under Biden?

LONGi - this is the only one of the three I can find immediate evidence for following-through with their factory in Ohio (joint venture with Invenergy/Illuminate USA)
Since people’s behavior in these cases is different (as you say) perhaps “we” should instead accept that the situations are different enough to merit different behavior?
The way it's been phrased, it seems like if you want to use the code to run a small webshop for some goods, you can use it, but if you're actively trying to run a resale platform, that's when you get in trouble.

I don't think not being open source is that big of a deal in this situation, they aren't the only player in this space anyway. (Woocommerce to my knowledge still dominates the "small business webshop" market and probably always will for as long as the typical shared webhost webstack is still an AMP stack.)
People on HN have too much to lose. Who is willing to put their personal wealth and livelihood at risk to protest? We are witnessing the fall of democracy and the middle class will stand aside and let it happen.
The problem with the SAT is that too many people can score above 1500. In the 1500-1600 range, you might have only made 1-2 mistakes on the entire test -- it's more luck than skill at that point. You could maybe improve things by having a harder test for the elite schools, but the Asian model is not ideal either. I live in Japan, where many kids will spend their evenings in cram school (after a day of regular school) to prepare for the absurdly competitive college entrance exams. As I recall, South Korea actually restricts air travel on the day of their entrance exams so some kids won't be disadvantaged by being distracted by the noise of the overflight.

It's true that this model is more fair, and that's good, but it still feels wrong. There are way too many professions where you're de-facto locked out if you didn't get the right credentials at the right age, regardless of your practical skills. That results in us putting teenagers through these absurd trials for no real reason.
Sent an email to you but never got a response. Are you still hiring?
Another study that states obvious facts. Of course listening to music boosts your well-being, heck, doing anything you enjoy doing tends to do so.
Governments cling to private cloud despite inexorable public cloud adoption
How does an app know that this piece of chicken cordon bleu is actually filled with more bacon and cheese than chicken?
I think it's the opposite. Those songs are good because you find someone can relate to you and therefore you would feel less lonely. Maybe not less sad, but more connected.
Normally I would agree that you can just choose not to engage with the [current thing], but AI is so pervasive that you will be confronted by the consequences of this technology whether you like it or not. These annoying hype cycles don't usually raise the internets noise floor permanently, or DDoS random sites while trying to strip mine their data, or break core assumptions about being able to trust what you see and hear.
When I converted my home from gas to electric my utility bills nearly doubled
verify the email and then refresh.
The article and follow up comments addresses that. As an example when talking about just the box the game comes in, "the quotes I’ve gotten in the US–even from companies that specialize in making boxes–are literally almost the cost of making the entire game". He also mentions that some of the machines needed to make certain pieces don't exist in the US and would have to be imported from China, and thus you'd have to pay tariffs on the machines.

He does mention that he's started to think about fundamentally redesigning his future games in a way that makes it possible to cheaply manufacture and package them in the US.
As are tariffs.
Can confirm, this isn't just an IT thing. Physicians are a prime example—people tend to put doctors on a pedestal, and some doctors start believing they know everything about everything, even when it's clearly outside their wheelhouse. Being smart in one area doesn’t automatically make you an expert in another, but it’s easy for everyone involved to forget that.
Truth Seeking Is Not a Pathology
I believe when we talk about this there's a big misunderstanding between Copyright, Trademarks, and Fair use.

Indy, with its logo, whiplash, and hat, is a trademark from Disney.
I don't know the specific stuff; but if you sell a t-shirt with Indiana Jones, or you put the logo there... you might be sued due to trademark violation.

If you make copies of anything developed, sold, or licensed by Disney (movies, comics, books, etc) you'll have a copyright violation.

The issue we have with AI and LLM is that:
- The models compress information and can make a lot of copies of it very cheaply.
- Artist wages are quite low. Higher that what you'd pay OpenAI, but not enough to make a living even unless you're hired by a big company (like Marvel or DC) and they give you regular work ($100-120 for a cover, $50-80/page interior work. One page needs about one day to draw.)
- AI used a lot of images from the internet to train models. Most of them were pirated.
- And, of course, it is replacing low-paying jobs for artist.

Also, do not forget it might make verbatim copies of copyrighted art if the model just memorized the picture / text.
According to the Supreme Court ruling[1], college admissions where explicitly taking race into account, either as a proxy for or in addition to socioeconomic status.

[1] https://www.supremecourt.gov/opinions/22pdf/20-1199_hgdj.pdf
China announces zero-tariff treatment for least developed countries
I'd like to understand why `document.all` is slower than `getElementById`. Couldn't any even somewhat decent optimizing compiler trivially compile the first to the latter? Like, I don't mean in weird cases like `const all = document.all; return all[v]`, or iterating over it, just the general one where someone directly does `document.all.foo` or `document.all[v]`, ie the 99.99% case. When faced with the choice to compile those accesses to getElementById calls, or patch the ecmascript standard to put IE-compat workarounds in there, it seems kinda nuts to me that they would choose the latter, so I bet there'a good reason that I'm missing.
Good thing we have AI to explain to us why AI sucks.
Common expressions such as f = O(n) are not formal at all -- the "=" symbol does not represent equality, and the "n" symbol does not represent a number.
Seems pretty pointless, unless I'm missing a key point (perfectly possible)

No, you got it. Any case where the keys used for E2EE are not created and managed out of band by the client is not really E2EE. If a server can update the code used to manage the keys i.e. javascript it can also swap out keys, obtain keys, etc... Everything a lawful order to intercept would require.
Manufacturers operate on a much longer timeline than 3,5 days. But your point is totally valid, about the flip-flopping. One reason might be because Trump is using tariffs as an economic weapon. Once he gets the concessions he wants (I don't know exactly what those are for... e.g. Canada) he then can say, okay, I won't tariff you after all.
I imagine it just autofills the information and then you can edit it to make it more accurate

You'd have to be kind of stupid to expect it to actually be 100% accurate for all meals
AI is my full time job and I generally agree. Love answering questions about the nitty gritty specifics of how it _works_, bored to tears of “do you think it will”