skysight-inc/HackerNews huggingface dataset:
One of the starting points of this article is that the current president has signed an executive order "making English the country's official language".

I think it's important to remind people what executive orders can and can't do. An executive order is an instruction sent to the government itself. It instructs government workers how to perform their job. It is not directed at the American public (though it can and does have an effect on the American public by way of government policy).

As such, this current executive order effectively does nothing. We've attempted to pass laws that make English the national language, but have consistently failed to do so.

And personally, I'm for having English be the national language of America (as a bilingual American myself), but this executive order does not make that so.
The ninetysomethings who revolutionized how we think about strength training
The message I hear is: don't use JS, don't use async. Music to my ears.
Will $100B Be Enough to Save Europe's Heavy Industry?
https://github.com/microsoft/typescript-go/discussions/411

There's more reactions here. I think devs have lost the plot, tbh.
Having 4 spaces as indentation helps people tease out where the branches even are in languages like C or Python or whatever, rather than the 1 or 2 that you see with a lot of Lisp. And those angled parents make lining things up vertically a teeny bit more difficult.
HCI is an interface for the low level parts of the Bluetooth stack to exchange information with the higher levels. If you assume that higher level code is malicious, an OTA vulnerability is straightforward.
A complete opposite approach: same instance for everybody, but you can choose the hours when you sign up. Changing is allowed once every 4 weeks or something.
But the wealthy don't spend their money.

A billionaire doesn't spend more money than a million people on...anything probably.
Appreciate this community. HBD Y!
Scaling Beyond Postgres: How to Choose a Real-Time Analytical Database
This is true of literally anything and everything your compiler emits. In practice the functional style is much easier to optimize to a far greater degree than the imperative style.
I'm forcing myself to use raw CSS in my recent work just so I can gain a better understanding of it. It's nice what you can achieve without JS, but man sometimes it just feels like arranging arcane symbols until you achieve the desired result.
Could have been one managers bad practice.
Pretty much everything:

> While C# does have AOT capabilities nowadays this is not as mature as Go's and not all platforms support it

https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

Only Android is missing from that list (marked as "Experimental"). We could argue about maturity but this is a bit subjective.

> Go also has somewhat better control over data layout

How? C# supports structs, ref structs (stack allocated only structures), explicit stack allocation (`stackalloc`), explicit struct field layouts through annotations, control over method local variable initialization, control over inlining, etc. Hell, C# even supports a somewhat limited version of borrow checking through the `scoped` keyword.

> This is meant to be something of a 1:1 port rather than a rewrite, and the old code uses plain functions and data structures without an OOP style.

C# has been consistently moving into that direction by taking more and more inspiration from F#.

The only reasonable reason would be extensive usage of structural typing which is present in TS and Go but not in C#.
> It's no longer time to roll over

That should be the EU's position. I'm sure the citizens of the EU countries would pay more to equip their military with enough resources to do so.
Oh wow, just found the `MappedAsDataclass` release in 2.0. This is exactly what I'm looking for, thanks!
normally companies that exploded in value at ipo brought lots of competition short term.

i guess that's a thing of the past after quantitative easing scams and the latter capital shift. why fund a competitor if your capital is already riding there? not many people at the roulette anymore.
> I seem to remember a homeless fellow who used a key to extract some change from a vending machine that was surprisingly on UoC property and got a 12-year sentence.

Well, there are two problems there:

- Being in a school is not an aggravating factor (in reality; I'm not making any claim about the law) for that crime;

- Stealing change from a vending machine shouldn't involve a 6-year sentence.

But neither of those really undermines the general concept of crimes on the property "usually" including an aggravating factor for the location.
The first feature I've ever seen anybody go looking for in any of them is the "export to Excel" (or CSV) function.
This happened to me in Twitter a lot of times (back when it was good). I’ve seen different parts of my time wake up at different times – a very peculiar effect.
And what Kosovo is to Serbia.

If you wish to grandstand on this issue you must condemn the war against Serbia also.
Man, this is the third reference to this book I am seeing this week, I need to order this book.
This happens on HN too of course!
Our experience is the opposite, we have a pretty large flow typed code base, and can do a full check in <100ms. When we converted to TS (decided not to merged) we saw typescript was in the multiple minute mark. It’s worth checking out LTI and how the typing on boundaries, enables flow to parallelize and give very precise error messages compared to TS. The third party lib support is however basically dead, except the latest versions of flow are starting to enable ingestion of TS types, so that’s interesting.
I should add that this represents 6% of the 443 gallons the average car uses per year. https://afdc.energy.gov/data/mobile/10308

And 20% of the cost is the electricity to use the product, so that should be discounted if you’re comparing buying new to reusing an older computer, and you should compare the power efficiency.

Assuming an average four year replacement cycle (https://www.statista.com/statistics/1021171/united-states-el...) and excluding use phase power use, we can napkin math annualize it to 243 * 0.8 / 4 = 48.6 kg co2E ~= 5.5 gallons of gas per year ~= 1.2% of average annual passenger car gas consumption.
I am curious why dotnet was not considered - it should run everywhere Go does with added NativeAoT too, so I am especially curious given the folks involved ;)

(FWIW, It must have been a very well thought out rationale.)

Edit: watched the revenant clip from the GH discussion- makes sense. Maybe push NativeAoT to be as good?

I am (positively) surprised Hejlsberg has not used this opportunity to push C#: a rarity in the software world where people never let go of their darlings. :)
This "is known" is doing a lot of heavy lifting. "Is known" 15 years ago, perhaps. Things are changing rapidly.
The Pets.com ads were great.
3D plots might be neat if there was some widespread way of displaying them. Unfortunately we can only make 2D projections of 3D plots on our computer screens and pieces of paper.

Maybe VR will change that at some point. :shrug:
Ah, inception compiling. The issue isn't compiling the Monaco editor, but rather will the Monaco editor compile TypeScript 7 in the browser?

That is a good question.
Calling it a "famine" is a controversial choice.
Clueless executive: "What's that?"
someone approached that problem with a more traditional SAT solver

https://github.com/R-O-C-K-E-T/Factorio-SAT
When I read the title I thought maybe they implemented a typescript to binary (instead of javascript) code compiler that speeds up the program by 10x, it would also have the added benefit of speeding up the compiler by 10x!

I don't think that is too far fetched either since typescript already has most of the type information.
Loads fine for me. Maybe because I'm logged in?
Great example of "well think about it" https://m.youtube.com/watch?v=s_4J4uor3JE&pp=ygUhc2tpdCBraWx...
How many went to the page, expecting to see a showcase of the said graphics and were presented with text in the center: "Friction is a powerful and versatile motion graphics application..."?

And how long did it take you to realize that you need to scroll down?
Gave away a copy to a developer in Brazil, and ordered the Kindle version, and need to order another print copy.

Can't recommend it highly enough --- I found it transformative --- read through it one chapter at a time, then re-worked the code of my current project:

https://github.com/WillAdams/gcodepreview

then went on to the next chapter --- about the halfway point I had the code cleaned up so well that the changes became quite minor.
> “we plan to formally announce the deprecation of the Assistants API with a target sunset date in mid-2026.”

The new Responses API is a step in the right direction, especially with the built-in “handoff” functionality.

For agentic use cases, the new API still feels a bit limited, as there’s a lack of formal “guardrails”/state machine logic built in.

> “Our goal is to give developers a seamless platform experience for building agents”

It will be interesting to see how they move towards this platform, my guess is that we’ll see a graph-based control flow in the coming months.

Now there are countless open-source solutions for this, but most of them fall short and/or add unnecessary obfuscation/complexity.

We’ve been able to build our agentic flows using a combination of tool calling and JSON responses, but there’s still a missing higher order component that no one seems to have cracked yet.
Lying to the security council about the intention to overthrow the government in Libya was probably the main action that changed Russia's view of NATO from "a risk" to "overtly hostile threat". Quite rightly.

It puzzles me why some people (you, but you're not the only one) think that gaining the UN mandate to conduct a humanitarian mission under false pretensions and THEN saying "we came. we saw. he died" exculpates NATO. It makes it so much fucking worse.

The orwellian/Putinesque thinking is evident here also. If you can excuse this you can excuse the invasion of Ukraine just as easily.
Fridgeditions Demo "Children's Art the World Can Enjoy"
Built a prototype of a little twinkle I've had in my eye for some time using v0.dev

It's got my nieces' art on these "Fridge" frames that could be minted on Base L2 and live beyond the fridge on Arweave/IPFS for posterity. They default to Free but could be sold for $1 here and there if family and friends care to support their future Picasso's.

I was wondering if any of you would be at all interested in helping finish the web3 aspects of the build and put something out into the world that could help broaden the lens of users to the space and do some good. I think I could drum up grant money to make it sustainable and being on an L2 costs would be negligible.

Would love any input!
HN has been an outstanding corner of the Internet, seemingly invulnerable to all the trash that has consumed the rest. I'd love to know how HN has avoided the bots and the spam, while retaining a simple and elegant login process.
Yeah, I agree in spirit but I think the answer is more ”it depends” than something where you should feel bad or something if you deviate from it. If washDishes also sends a bunch of metrics/diagnostics or updates a database of your favorite dish washing programs somewhere inside it, that’s probably fine. Otherwise you push the path of least resistance to just be vague instead, then you get a codebase full of functions with names like handle or process.
(in my exp and geo location at least) Hiring and dating are very similar, the more desperate you look the less respect you get. There are a lot of companies out there and an infinite number of ways to make money except getting a job. Good luck!
The idea is not that the Register cut ties with her, but that her personal safety was at risk and she was getting brutally harassed by millions of people and the POTUS-elect. See my other comment for details.
FlippyRAM Study
Lots of The Wire is a little tricky for Americans.
I would not apply unless I was desperate for a job, or if enough time had passed or leadership had changed that I felt sure it was no longer the same company. The way companies treat applicants should be seen as a reflection of how they would treat employees.
I built this for myself too. https://github.com/rhee876527/pushbullet-notifier
Fatalities due to automobile accidents are a major drag. We should've stuck with horses
That is pure speculation without evidence, which isn't helpful. There is evidence in other parts of this subthread.
Something I would like to see is well regulated “Carbon Facts” on products like nutrition facts.
I love it when capitalists complain about capitalism working as intended. Everyone wants a free market until they're just not good enough to compete. Then the whining starts.
I try my best to interpret pithy phrases describing a project as first order approximations, rather than literal statements of truth that perfectly generalize. Pithiness is important for communicating ideas quickly, but precision and pithiness are often in tension with one another. So I adjust my expectations accordingly.

Yes, I agree that the wrong results are bad. But that doesn't invalidate my point. I even went out of my way to clarify that the benchmark wasn't worthless. Benchmarking the small input case is absolutely worth it. You just can't tell much about its scaling properties when your measurement is basically "how fast does the process start and stop." Which, again, to be clear, IT MATTERS. It just probably doesn't matter as much as readers might think it matters when they see it.

So treat my comment as adding helpful context for readers that aren't experts in benchmarking grep tools from someone experienced in... benchmarking grep tools. :-) (And regexes in general. See: https://github.com/BurntSushi/rebar)
That’s… fair, I guess. Both are majority controlled by MANGA, but they are indeed new companies. That’s kinda illuminating: it takes the breakthrough of the century to establish a new name these days, and even then you’ll probably end up selling slices of yourself to the giants.
hi! author of the Doom thing, here. while I won't be the one to try, my answer is "absolutely yes, it will make a massive difference". Sub-1-day Doom-first-frame is probably a possibility now, if not much more because actually the thing that was the largest bottleneck for Doom-in-TypeScript-types was serializing the type to a string, which may well be considerably more than 10x faster. Hopefully someone will try some day!
There's also https://news.ycombinator.com/yli.html, which is the guide for YC startups who want to launch on Hacker News. The formal mechanism is YC-only but the principles apply more broadly.
This is why you shouldn't get into arguments about performance on the internet without highly specified execution environments.

I'm going to take my own advice and go back to work :)
Discord is cool! Anduril is both evil and overvalued. The rest… I mean, I think the names speak for themselves ;)
Is there a human-play benchmark (even informally) for this style of interface? Not saying it's necessary or even relevant, I'm just curious to know what programmatic Factorio feels like -- I imagine spatial reasoning around text prompts would be fairly challenging for human players to navigate as well.
As a whole, of course you have a point - big visualisations when done properly should help with data exploration. However, from my experience they rarely (but not never) do. I think it's specific to the type of data you work with and the visualisation you employ. Let me give an example.

Imagine we have some big data - like an OMIC dataset about chromatin modification differences between smokers and non-smokers. Genomes are large so one way to visualise might be to do a manhattan plot (mentioned here in another comment). Let's (hypothetically) say the pattern in the data is that chromatin in the vicinity of genes related to membrane functioning have more open chromatin marks in smokers compared to non smokers. A manhattan plot will not tell us that. And in order to be able to detect that in our visualisation we had to already know what we were looking for in the first place.

My point in this example is the following: in order to detect that we would have to know what to visualise first (i.e. visualise the genes related to membrane function separately from the rest). But then when we are looking for these kinds of associations - the visualisation becomes unnecessary. We can capture the comparison of interest with a single number (i.e. average difference between smokers vs non-smokers within this group of genes). And then we can test all kinds of associations by running a script with a for-loop in order to check all possible groups of genes we care about and return a number for each. It's much faster than visualisation. And then after this type of EDA is done, the picture would be produced as a result, displaying the effect and highlighting the insights.

I understand your point about visualisation being an indistinguishable part of EDA. But the example I provided above is much closer to my lived experience.
Doesn't do anything in Firefox.
USDA cancels $1B in local food purchasing for schools, food banks
Ticket tracking tools and processes are like the IRS and taxes, just something you have to deal with and do compliantly. They are just a part of the process for working in a software organization. No ticket tracking tool or process is going to magically make software projects suddenly be delivered on time and on budget and have high quality. If the industry knew of a tool, it would be getting investigated by the federal government for having a monopoly because everyone would be using it. Its the people that are most important, not process or tools.

Nobody is going to reward you for becoming an expert at JIRA or for activities in various ceremony meetings, etc. unless you want to become a PM. Focus on delivering working software, working well with others and following the processes. If something being done is just dumb, like if someone is demanding a ticket per every file changed, talk to them about it and the overhead/issues it causes. If you don't own the process the best you can do is ask for changes.
That does not indicate that it's thought to be a quote, [Citation Needed] indicates that it needs a supporting source to validate the statement. It is commonly used on Wikipedia to denote statements on a page that do not have proper supporting information, and should therefore not be uncritically accepted.
Agreed - I was shocked to discover NY State curriculum has nothing about Native Peoples. I mean, the five nations were influential on early colonial life.
Good spot, thanks... I'm reading up, more info here: https://github.com/yt-dlp/yt-dlp/wiki/PO-Token-Guide
Since this is written in metric/si units, I will read it!
Stephen Fry has been out as a gay man for a very long time. It's very hard to believe he could be promoting homophobia.
The reality is that both sides still kill someone begging like that. Both sides are using over at least a 1,000+ drones a day and yet only 1-2 videos of this nature come out every month.
Yep, it's weird and controversial. That's why I wrote a book explaining it and used a pseudonym.

Now: ~60% of devs know some CSS, rest feel guilty

YSAC's pitch: ~10% of devs know lots of CSS, rest avoid it without guilt (they suck and that's okay)

I guess 0% would mean a dead CSS, so it's closer to dead, sure.

If you get a more powerful saw, you can either cut down more trees or you can spend less time cutting down trees. CSS is a more powerful saw now. I'm suggesting spending less time cutting down trees instead of cutting down more trees.
Trump and others were attacking her and physically threatening her before she retired. See my other comment for evidence.
Is there some kind of a tool which would provide AI search experience _and mix in the contents from my bookmarks_ (that is, fetch/cache/index/RAG the contents of pages those bookmarks point to) when creating the report? Bookmarking is an useless dumpster fire right now. This could make it useful again.

Currently the failure mode I see quite often in e.g. OpenAIs deep research is it sources its answer from an obviously low-authority source and provides a reference to that as if it's a scientific journal. The answer gets screwed up by that as well, because such sources rarely contain anything of value, and even if other sources are high quality, low quality source(s) mess everything up.

Emphasizing the content I've already curated (via bookmarks) could significantly boost the SNR.
what do their names say to you?
>That country has expansionist ambitions and a superior manufacturing base, which is typically what wins wars.

What country are you referring to. US with Greenland, and Canada?
Y Combinator is 19 years old. Hacker News was launched in February 2007, so it just turned 18.

For the longest time I thought Hacker News must have been some proof of concept for Reddit and must pre-date it, which is not true. Reddit was launched in June 2005, shortly after Y Combinator.
Land the Booster v2
#include <snarky_comment_about_not_using_rust.h>

Seriously though... thx! this is directly applicable to current interests and the code is not a jumbled mess.
That person looks to be surrendering; killing a prisoner of war is already a war crime. Drones don't change this.
Very good ideas I will try to include them.

Thinking models... You can use them. In fact I started the project with them but not sure they help too much for this task. They definitely make it slower
$ echo foo > /tmp/test
$ krep -c foo /tmp/test
Found 4 matches
This seems reductive. Not all goods have inelastic demand and no substitutes or alternatives. Not every industry is supply limited. Said differently, not everything is immune to competition.

If cost of housing goes up, building and moving become more attractive by comparison. Instead of saving 500/mo by commuting, now you might save $1000 by relocating.

Rate limit edit: I said commuting, not going going to live in some random place.
I tried scaling up the original into an intentionally convoluted nonsensical problem to see how a more complicated solution would look like for each approach. Do these look right? And which seems the most readable?

# Functional approach

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()

# Procedural approach

var favoriteFoodsOfFurryPetsOfFamousAuthorsOfLongChineseBooksAboutHistory = set()
for book in books:
if len(book.pageCount > 100) and
book.language == "Chinese" and
book.subject == "History" and
book.author.mentions > 10_000:
for pet in book.author.pets:
if pet.is_furry:
favoriteFoodsOfFurryPetsOfFamousAuthorsOfLongChineseBooksAboutHistory.add(pet.favoriteFood)

# Comprehension approach

var favoriteFoodsOfFurryPetsOfFamousAuthorsOfLongChineseBooksAboutHistory = {
pet.favoriteFood for pet in
pets for pets in
[book.author.pets for book in
books if len(book.pageCount > 100) and
book.language == "Chinese" and
book.subject == "History" and
book.author.mentions > 10_000]
if pet.is_furry
}

FWIW, for more complex problems, I think the second one is the most readable.
I don't think it makes us work more, but I think it makes us less satisfied with our lives. Which ultimately fuels the consumerism and pleasure-seeking.
Related:

On Ocracoke Island, the only American dialect that is not identified as American - https://news.ycombinator.com/item?id=20262253 - June 2019 (73 comments)

I'm pretty sure there have been other threads about this and related topics (for example Tangier Island)...anyone?
There are plenty of other reasons to consider TypeScript, but again, what code execution are referring to? The V8 JavaScript engine?