skysight-inc/HackerNews huggingface dataset:
I wonder if there's just some cultural / generational stuff happening there too. The fact that the TS compiler is all about compiling a highly complex OOP/functional hybrid language yet is said to use neither objects nor FP seems rather telling. Hejlsberg is famous for designing object oriented languages (Delphi, C#) but the Delphi compiler itself was written largely in assembly, and the C# compiler was for a very long time written in C++ iirc. It's possible that he just doesn't personally like working in the sort of languages he gets paid to design.

There's an interesting contrast here with Java, where javac was ported to Java from C++ very early on in its lifecycle. And the Java AOT compiler (native image) is not only fully written in Java itself, everything from optimizations to code generation, but even the embedded runtime is written in Java too. Whereas in the .NET world Roslyn took quite a long time to come along, it wasn't until .NET 6, and of course MS rejected it from Windows more or less entirely for the same sorts of rationales as what Anders provides here.
I don't understand much of your comment.

Maybe this page will help us come to common understanding: https://knowyourmeme.com/memes/citation-needed
So, no, you've not worked with batteries, battery management systems, or anything of the sort.

Determining battery health is hard.
I've seen these threads (I've done actually quite some digging before reaching to HN), but my problem is that if I'm to make decision I would want to see how both solution compare directly with exactly same model on most recent drivers. Having results from different models, or results older than 2-3 months is not reliable in this case.
I was recently struggling with the best way to randomly construct a well-connected, recurrent topology of neurons until I encountered Percolation theory.

There is a basic natural log scaling rule that essentially guarantees that you will have a well-connected topology (even with random connections) as long as you ensure a minimum # of connections are assigned to each element.

The required fanout at each order of magnitude network size goes something like:

10: ~3 connections
100: ~5 connections
1,000: ~7 connections
10,000: ~10 connections
100,000: ~12 connections
1,000,000: ~14 connections
100,000,000,000: ~26 connections

I've been able to avoid a lot of complicated code by leveraging this.
Suppose the store manager is having a dispute with a kid who keeps skateboarding in the parking lot, so the store manager decides to commit insurance fraud by robbing the store herself and then submits forged video of the kid doing it to the police.

The store manager is in the chain of custody but isn't a suspect, the accused is the kid. The kid doesn't even know who actually committed the crime. How is the kid supposed to prove this?
trying to spread democracy to China through its economy was the biggest mistake the US has made in 50 years.
Ukraine inflicts the faintest little sliver of retaliatory damage against Russia (drones against some Moscow area), and the US is suddenly back.

Merely a suspicion, but this feels very potentially like Musk in 2023, disabling Starlink in Crimea during a Ukraine attack. "No, you may not hurt the aggressor." https://www.bbc.com/news/world-europe-66752264

This feels likely to end up being trying to keep Ukraine from causing any inconvenience to Russia. Again.

Also, it's got to be such an incredibly awful thing to have c6isr (command, control, communications, computers, cyber-defense and combat systems and intelligence, surveillance, and reconnaissance just up and disappear. It's unclear how much the defense-net the US ran, would be so interesting to hear what happened during this past week.

And especially curious to know, how many different weapons systems depended on the US's presence to even function at all? I can't help but expect a bunch of weapon systems basically didn't work at all or became utterly ineffective after the sudden & total abandonment of our ally that happened here, that this was like a nightmare case for the US defense industry showing that all these weapons systems are software dependent, tied whether the now volatile we'll-take-Canada-by-force USA is working with you or not.

Maybe your F-15 can get in the air, but without a battle net, it's not going to be effective at anything. But radars, missile systems... Did they even have basic functionality still intact with the US abandonment?
I was confused by "main menu" so I took a look and it is in the Help menu, for those wondering (I'm on Mac).

I didn't know this existed but will totally use it now! Thanks!
I once cancelled an interview process because the recruiter, after rescheduling twice at the last minute, never appeared on the interview. To top it off, when I told the recruiter how disrespectful the attitude was and that I would be withdrawing from the process, they asked for one last chance because "they had been having back to back calls the whole day".

I'd have let that slip, but then I saw they called me Sergey (my name is Ignacio)...

moral of the story: each person has their own tolerance for mistreatment. Mine, personally, has thinned. Life is too short to eat shit while grinning.
That was one of the cool things to see at the Living Computer Museum when I went a number of years ago. A lot of the machines they had out were more in the category of user hardware, but they had a room with older business machines, various terminals, and such. I remember a few of them running what looked like graphics demos. I looked them up well after my visit. It was a cool bit of history to learn (and see in action).
https://web.archive.org/web/20250311180353/http://stealmytes...
You generally don't want to layer encryption like that. It apparently really does introduce new kinds of attacks, which has been observed in the real world.

The pattern typically used for this is that the key for the high-speed symmetric encryption is split into multiple parts, each of which is encrypted with a separate public key system. One classical, one (or two, now?) with a post-quantum algorithm. As long as each part of the key is big enough, this still means you'd need to crack all the separate public key algorithms, but doesn't introduce any of the layering weaknesses.
I believe LLMs are definitely able to, in some vague sense, understand the code they’re working with. If they’re able to produce meaningful output from the input, especially in abstract problems, they get the gist of what’s being coded, not just the tokens. That’s what they’re storing in their inner representations: higher-level view of the text they’re processing.
These just sound like lost british people with a slight american twang
Yeah, I remember looking into it myself as well, and not finding any easy path. A shame.... Maybe there's a hard way to do it though :)
I’d like to be able to use a 240V hot water kettle to boil water for tea (or for sanitization during an outage). I live in the US and 120V is slow and inefficient, especially at family-scale.
Your FP example is needlessly complicated. No one who does FP regularly would write it like that.

var favoriteFoodsOfFurryPetsOfFamousAuthorsOfLongChineseBooksAboutHistory = books
.filter(book =>
book.pageCount > 100 and
book.language == "Chinese" and
book.subject == "History" and
book.author.mentions > 10_000
)
.flatMap(book => book.author.pets)
.filter(pet => pet.is_furry)
.map(pet => pet.favoriteFood)
.distinct()

Or in Scala:

val favoriteFoodsOfFurryPetsOfFamousAuthorsOfLongChineseBooksAboutHistory = (for {
book <- books if
book.pageCount > 100 &&
book.language == "Chinese" &&
book.subject == "History &&
book.author.metnions > 10_000
pet <- book.author.pets if
pet.is_furry
} yield pet.favoriteFood).distinct

Though, most Scala programmers would prefer higher-order functions over for-comprehensions for this.
I haven't really encountered software engineers who really struggle with functional style in almost 20 years of seeing it in mainstream languages. It's just another tool that one has to learn.

Even the people arguing against functional style are able to understand it.

Strangely, this argument is quite similar to arguments I encounter when someone wants to rid the codebase of all SQL and replace it with ORM calls.
For my purposes, all of the data was also available in HTML format, so the OCR wasn't a problem. I think the issue is the RAG pipeline doesn't take the entire corpus of knowledge into its context when making a response, but uses an index to find one or more relevant documents that it believes are relevant, then uses that small subset as part of the input.

I'm not sure there's a way to get what a lot of people want RAG to be without actually training the model on all of your data, so they can "chat with it" similar to how you can ask ChatGPT about random facts about almost any publicly available information. But I'm not an expert.
> As such, this current executive order effectively does nothing.

That's not true. For example, there was a story the other day of a librarian who was instructed to throw away all passport application forms in Spanish, as they would no longer be accepted.

If you go to the official Spanish page, you can see that the links to the forms are either broken or now redirected to their English version:

https://travel.state.gov/content/travel/es/pasaportes/requis...

That's just one example of many.
Problem: user goes on vacation three time zones west of their usual location, and now they can’t access the site tomorrow.
A resounding failure you mean: they just demoed their SW and didn't provide them in a way where people could build on their research.

And I didn't see much following research, do you have links?

You're the third person (at least) who claim to have Frank working but as the other there's nothing concrete..

I wonder why? Maybe it's a copyright issue..
I'm not denying the facts of the matter, I am denying the conclusion. The circumstances of the situation are relevant. Marshalling cost across IPC boundaries come into play in every single possible situation regardless of language. It is why shared memory architectures exist. It doesn't matter what language is on the other side of the IPC, if the performance gained by using a separate process is not greater than the cost of the communication then you should avoid the IPC. One way to avoid that cost is to share the memory. In the case of code already running in a JavaScript VM a very easy way to share the memory means you do the processing in JavaScript.

That is why I am saying your evidence is a red herring. It is a case where a reasonable decision was made to rewrite in JavaScript/TypeScript but it has nothing to do with the merits of the language and everything to do with the environment that the entire system is running in. They even state the Rust code is fast (and undoubtedly faster than the JS version), just not fast enough to justify the IPC cost.

And it in no way applies to the point I am making, where I explicitly question "starting a new project" for example "my default assumption to use JS runtimes on the server". It's closer to a "Well, actually ..." than an attempt to clarify or provide a reasoned response.

The world is changing before our eyes. The coding LLMs we have already are good but the ones in the pipeline are better. The ones coming next year are likely to be even better. It is time to revisit our long held opinions. And in the case of "reads data from a OS socket/file-descriptor and writes data to a OS socket/file-descriptor", which is the case for a significant number of applications including web servers, I'm starting to doubt that choosing a scripting language for that task, as I once advocated, is a good plan given what I am seeing.
Humans Have Been Perfecting Avocados for 7,500 Years
Minor nit: the "re" part of grep stands for "regular expression". That doesn't seem to be the case with krep so it's a bit misnamed maybe?
Explain what the compromised selection process does here. NIST doesn't control the submissions.
> asserting max statutory damages is something every attorney does at the outset otherwise they'd be waiving that recovery

Meaning that they could not have asked for a lower amount without waiving their rights to all statutory damages? What it sounds like you're saying is that this was just a fluke of the lawyers who drafted the brief abiding by an industry standard that ended up producing an odd result. This seems incredibly unlikely.
Zero-Day Vulnerabilities Exploited in Malware Campaigns in 2024
And that definitely is one of the most severe risks of the human-assisted coding (when humans barely instruct the AI to do the heavy lifting).
https://archive.ph/kkwFj
Trump and Elon doing an hour long commercial for Tesla in front of the White House: https://www.youtube.com/watch?v=TkZdFtvAkGs (I wish I was rickrolling you)
I am very confused on this one. Hasn't the ability to add to calendar been a thing for a long time?
Thanks! The code is currently managed by Nicolas Rougier in a GitHub repository that will be made public next week. This repository hosts the "graphics server protocol" (GSP), an intermediate layer between Datoviz and the future high-level plotting API. For the latter, we’ll need community feedback to shape an API philosophy that aligns with VisPy users' needs—let's aim to publish a write-up this month.

Implementing the API on top of GSP should be relatively straightforward, as the core graphics-related mechanisms are handled by GSP/Datoviz. We've created a Slack channel for discussions—contact me privately if you'd like to join.
3090 is about twice as expensive as 7900 XTX, so out of my budget at this moment. I'm EU based and my absolute top limit is 1000 USD. 7900XTX cost around that and dual Arc A770 cost about 30% less.
The note about using C-14 (introduced from nuclear blasts) to date the age of living cells is fascinating.
Hey, maybe you can have a better hiring practice than datadog with a 5 question test where if you get a single answer wrong in even the smallest of ways you get disqualified from getting a job with them for 6 months.

I'm guessing they lost a wealth of great talent due to this test on how to support a platform that they give to fresh off the street applicants rather than having even a modicum of training about their product. They want you to study it for free, probably as a marketing tactic - but also so they don't have to pay to train employees. it's great like cancer.

Disclaimer: I have never applied to a role with datadog, nor interviewed with them. Just had multiple friends complete the process with mixed results. Seems like you need to put in ~two full weeks of self directed study to pass their on site interview 'exam' where they don't tell you about the exam being 100% or fail (but it is!)
Especially ironic since both Dominic West (McNulty) and Idris Elba (Stringer Bell) are English. Sheffield and Hackney, respectively.

Dominic West, Wire on: https://m.youtube.com/watch?v=4ANAtaQsBL4&t=43s

Wire off: https://m.youtube.com/watch?v=FdbWsX6h4eo&t=3s
https://nextcloud.projectftm.com/index.php/s/gravitycompare
that is really impressive, the 100 year old data compared to recent data.

i'm still amused there's no real explanation of how it works. Like, can i do this with three X 9-DOF sensors in a box? you don't need light or film, you can use a TCO for accuracy in timing... I don't know why it keeps saying 3 pendulums, but a pair, but a "virtual third pendulum".

but what this is, is an analog computer, right?
What range of sensitivity does this offer? My US apartment complex has fluctuating levels of neutral sag 24/7/365 and it’s unclear how that would interact with your hardware.
Do these look the same level of filthy to you? This is the capital city New Delhi (Yamuna River, which is worshipped):

https://www.youtube.com/watch?v=83t0hdJG8AI
Preprint sites bioRxiv and medRxiv launch new era of independence
This is wild. Has to be satire, right?

...right?
Keynes wrote about how this can be done, while kicking the can down the road. Basically debt of all types, and government spending. For the US this would be military expenditures and social welfare for the elderly.

Of course the can can only be kicked down the road so far. So to answer your question more in depth, there was a German exile in England who wrote a book answering this question back in 1867.
If you mean that the Democrats' policy of supporting transgender rights through legislation was hard to defend (not from a scientific or medical standpoint, but from a populist, political one) and Trump effectively attacked it then yes you're right.

If you mean that the messaging on trans rights alienated swing voters then I think it's probably true, but moderates and swing voters do support general anti-discrimination laws but are wary of policies on sports participation and youth medical care.

If you mean that it was the centerpiece of their identity and everything that were campaigning for, and their pivotal, most important issue, then I don't think that's accurate.

But they did deliberately elevate transgender rights as a moral and civil rights issue. This was a trade off (energize progressives, lose some moderates). Conservatives effectively focused on targeted attacks (bathrooms, sports).

I think that maybe the gamble didn't pay off. The messaging should have probably been about protecting from discrimination, and debate should be focused on attacking republican establishment for being aggressive and hateful.

But really all of this doesn't matter. A better candidate, a white or latino strong charismatic man would have beaten Trump.
looks siiiick.
congrats + good luck
Indeed, no one sane will invest in building factory systems on US soil under a Kakistocracy.

Robot platforms are already a difficult business model in the private sector. With the exception of robot vacuums the market just isn't viable in the US yet. Best of luck =3
For me, one of the most annoying things in my workflow is when I'm waiting for the software to catch up. If I'm making a plot, there's a lot of little tweaks I want to do to visually extract the maximum amount of information from a dataset. For example, if I'm making a histogram, I may want to adjust the number of bins, change to log scale, set min/max to remove outliers, and change the plot size on page. For the sake of the argument, let's say I'm working with a set of 8 slices of the dataset, so I need to regenerate 8 plots every time I make a tweak. My workflow is: Code the initial plots with default settings, run numpy to process the data, run matplotlib to display the data, look at the results, make tweaks to the code, circle back to step 2. In that cycle, "wait for matplotlib to finish generating the plots" can often be one of the longest parts of the cycle, and critically it's the vast majority of the cumulative time that I'm waiting rather than actively doing something. Drawing plots should be near instantaneous; there's an entire industry devoted to drawing complicated graphics in 16ms or less, I shouldn't need to wait >100ms for a single 2d grid with some dots and lines on it.

Matplotlib is okay, but there's definitely room for improvement, so why not go for that improvement?
He said support for regular expressions is coming soon: https://news.ycombinator.com/item?id=43335300
I don't agree at all and have pretty extensive experience from writing different kinds of software professionally in different companies to back that up.

Most software out there has very little to do with algorithms, and the problems with it couldn't be solved algorithmically.

Cutting corners for profits is the big issue.
In NileRed’s video “Does cyanide actually smell like almonds?”[0] he purchases some bitter almonds to measure the amount of cyanide in them. He is also worried about the baseless health benefits claims.

[0]https://www.youtube.com/watch?v=WYagO-nup6c
Inside Waymo's Expansion: Cars, New Depots, and What's Next
Back in late 1990s I had xplanet-rendered sun-synchronous rotating Earth as my desktop background. It had the nicknames of our IRC channel regulars placed at their lat/long… it felt cyberpunk af.
Do not! Use a combiner / KDF.
Am I? The modern west are the most evil empires ever in history. I’m sure I can trust what western chauvinists say about their hegemony across the world as they bomb and do regime changes around the world.

A person supporting NATO as “defense” is supporting, for example, the Libyan regime change by the west and NATO.
That's pretty much what happens anyway. The police are going to come collect the footage as soon as the crime is reported and you can't change it after they do.
Only seven countries met WHO air quality standards in 2024, data shows
> Roslyn

It was introduced back then with .NET Framework 4.6 (C# 6) - a loong time ago (July 2015). The OSS .NET has started with Roslyn from the very beginning.

> And the Java AOT compiler (native image) is not only fully written in Java itself, everything from optimizations to code generation, but even the embedded runtime is written in Java too.

NativeAOT uses the same architecture. There is no C++ besides GC and pre-existing compiler back-end (both ILC and RyuJIT drive it during compilation process). Much like GraalVM's Native Image, the VM/host, type system facilities, virtual/interface dispatch and everything else it could possibly need is implemented in C# including the linker (reachability analysis/trimming, kind of like jlink) and optimizations (exact devirtualization, cctor interpreter, etc.).

In the end, it is the TypeScript team members who worked on this port, not Anders Hejlsberg himself, which is my understanding. So we need to take this into account when judging what is being communicated.
Agreed, I'm talking about most of it, I realize there are obscure corners where it's all about algorithms.
Lol exactly
It's unlikely that you would get much performance benefit from AOT compiling a TypeScript codebase. (At least not with a ton of manual optimization of the native code, and if you're going to do that, why not just rewrite in a native-first language?)

JavaScript, like other dynamic languages, runs well with a JIT because the runtime can optimize for hotspots and common patterns (e.g. this method's first argument is generally an object with this shape, so write a fast path for that case). In theory you could write an AOT compiler for TypeScript that made some of those inferences at compile time based on type definitions, but

(a) nobody's done that

(b) it still wouldn't be as fast as native, or much faster than JIT

(c) it would be limited - any optimizations would die as soon as you used an inherently dynamic method like JSON.parse()
Imgui is awesome! Thanks for mentioning imgui-bundle—I hadn’t heard of it before, but it looks great! [1]

[1] https://github.com/pthom/imgui_bundle
Estimating displacement rates of copyrighted content in the EU [pdf] (2015)
Are you really going to try to say that the absurd levels of bile, vitriol, and threats that he received for doing his job during a pandemic has zero knock-on effect for other public health officials?
Considering they list the names and pictures of alleged customers, I'd say yes.

Otherwise, those customers would be open to some kind of fraud charges.
Is there some way i can tell if this is the issue, rather than a software issue? root it and install a terminal emulator and start looking in /proc?

was the flash quality poor on purpose? that's planned obsolescence, too.
The air quality report: https://www.iqair.com/newsroom/waqr-2024-pr

https://www.iqair.com/world-air-quality-report
Starlink was never disabled over Crimea because it was never on. It's illegal to provide services to Russian controlled territory because of US sanctions yet this falsehood keeps getting repeated forever.
Is it possible to sift through the set and create a selection of instances where the self-driving vehicles hit birds, curbs, and run over wildlife critters and train a model specifically on those?

Let’s take some liberty with the fact that if we’re going to train things, shouldn’t we understand the worst case outcomes possible as a ground to check against?