MurphyA/hacker-news huggingface dataset:
by ehnto | 2025-08-05 07:59:24+00:00
I also believe people throw way too many exceptions. You should be able to be explicit about the outcome of an error case, and not just throw exceptions in a panic.

So alongside swallowed exceptions is throwing exceptions in scenarios that were entirely recoverable, and I think in both scenarios devs just don't understand their program enough and are choosing to panic, or ignore the problem.

I think people often throw exceptions rather than write the code that handles the situation more gracefully. If you knew it could happen, then is it really an exceptional circumstance?
by ccppurcell | 2025-08-05 07:59:32+00:00
I recently did a short stint teaching English to university students. This is English as a second language (possibly unnecessary context) but the level is fairly high. The course was hastily rearranged to prevent the students using llms. They had to hand write their essays under supervision, which made them a real pain to grade btw.

Then I was asked to review the questions for the final exam and I noticed some pretty weird constructions in the sample texts and sentences. Nothing completely grammatically wrong just unusual or semantically off. The example I recall was "... disproportionately affects men and women" but there were other worse examples. You can guess where this is going. But I knew that another native speaker had written the listening texts so I didn't want to directly criticise these, and I thought they might have been pulled from magazines or some corpus. But, of course, the course leader had generated them with chatgpt.
by opo | 2025-08-05 08:00:00+00:00
The Soviets could never have done a large invasion of Japan. They had a few ships that the USA had given them as part of Project Hula, but that is nothing compared to what would be needed for a full scale invasion of Japan.

In comparison, the proposed allied invasion was planned to have 42 aircraft carriers, 24 battleships, and 400 destroyers and destroyer escorts.
by lelanthran | 2025-08-05 08:00:10+00:00
> This calculator get most things right.

It's paywalled. I also doubt it gets most things right. I've been pointed to so many and I have not yet found that that takes into account all the variables (and there's so few, so if they're leaving it out I'm suspicious!)

> A lot of research shows that once people buy they lose flexibility,

They lose that once their kids are in school.

> feel more stuck,

They're stuck anyway, once the kids are in school.

> cannot access higher paying job in a different places etc.

They cannot do that anyway, once the kids are in school.

All of those disadvantages you list are not even noticed by people with kids in school, hence they don't count as disadvantages.

The only advantage you realistically realise from renting vs owning is the ability to move within a month's notice. If you have kids in school or a spouse who is working in-person, not remote, you won't be moving on a month's notice anyway.

IOW, why optimise for the use-case "Hey, we can move on a months notice!" when that use-case won't come up anyway?

It's like a vegetarian optimising their life around access to meat-only burger joints. Or someone living 2000km from the nearest sea optimising their life for surfing.

No one optimises their life for use-cases that won't come up.
by DiogenesKynikos | 2025-08-05 08:00:40+00:00
Hirohito's surrender speech to the army pointed to the entry of the Soviet Union into the war as the main reason for surrender:

"Now that the Soviet Union has entered the war against us, to continue the war under the present internal and external conditions would be only to increase needlessly the ravages of war finally to the point of endangering the very foundation of the Empire's existence."

Hirohito said different things to different audiences.
by augment_me | 2025-08-05 08:00:54+00:00
Temporary solutions will become permanent solutions unless you explicitly hold yourself to fixing it within a certain time window because it becomes harder the longer time has passed.

This ranges from TODO's in codebases, to unpacked moving boxes, to replacing that sofa you got from your friend, to leaving a toxic relationship.

After a while you acclimatize to the situation and no longer see the issue, and unless something is really broken, it grows harder to motivate yourself to change.
by makeitdouble | 2025-08-05 08:00:56+00:00
> the AI is acting in an official capacity

Probably not.

The same way if your first interviewer tells you the company will pay 5 billions dollars each year if you tattoo their logo on your neck and no official contract is otherwise exchanged, when you come get your check the only one potentially liable will be the dipshit that lied to you.

There is such thing as an oral contract, but it will be a hard battle to prove the company is on the hook and not the individual/AI who misled you.
by Cthulhu_ | 2025-08-05 08:00:57+00:00
But that's only really relevant in the last layer, the backend-for-frontend pattern; as an organization or domain expands, more layers can be added. e.g. in my current job, the back-end is a SAP system that has been around for a long time. The Typescript API layer has a heap of annotations and whatnots on each parameter, which means it's less useful to be directly used in the front-end. What happens instead is that an OpenAPI spec is generated based on the TS / annotations, and that is used to generate an API client or front-end/simplified TS types.

TL;DR, this value prop is limited.
by rcxdude | 2025-08-05 08:02:29+00:00
> No longer do I have to worry about whether my password is stored in Google, or Firefox

Once Google and Firefox start pushing their passkey implementation, you do. One issue with them is user confusion about where the passkey is stored.

And do you have a backup solution for if you lose your physical key? That's the big problem I have in practice at the moment: I would like a physical device for storing credentials, but I 100% cannot have it as a single point of failure. Unfortunately at the moment it seems like I either have a cloud sync vendor lock-in or a single point of failure, or I have the completely impractical solution of enrolling multiple devices, which means I have to carry both around with me, thus making it far more likely I lose both of them!.
by Thorrez | 2025-08-05 08:03:27+00:00
>My fridge: should I improperly close its door, it'll emit some faint noise for like 30 seconds. It's a totally valid important notification, as nobody wants to burn electricity to cold the room while the food goes bad.

Note that it actually won't cool the room. It'll heat the room. The fridge works by putting hot air out the back. The more the fridge cools, the more hot air it puts out. The hot air is always more than the cool air.

If the fridge was vented outdoors, like A/C, then it would cool the room.
by ran3000 | 2025-08-05 08:04:20+00:00
Phrasing looks amazing!

There's a lot of UX work to do for SRS. Do you have a sense of how well the ideas behind Humane SRS translate outside of language learning? I imagine the main challenge would be identifying a steady influx of new cards.

I agree that gains in scheduling accuracy are fairly imperceptible for most students. That's why, over the past few years building https://rember.com, we've focused on UX rather than memory models. People who review hundreds of card a day definitely feel the difference, doing 50 fewer reviews per day is liberating. And now that LLMs can generate decent-quality flashcards, people will build larger and larger collections, so scheduler improvements might suddenly become much more important.

Ultimately, though, the biggest advantages is freeing the SRS designer. I'm sure you've grappled with questions like "is the right unit the card, the note, the deck or something else entirely?" or "what happens to the review history if the student edits a card?". You have to consider how review UX, creation/editing flows, and card organization interact. Decoupling the scheduler from these concerns would help a ton.
by superice | 2025-08-05 08:04:20+00:00
Amount of driven kilometers are also up massively compared to 1985, meaning that per kilometer we did fine on the safety record.

Stop trying to make cars safer, and reduce the amount of driving you need to do. There is a way to have more liberties and have it improve safety instead of fewer. The liberty to commute, do groceries, and go to the gym by bike is huge life improvement, whilst taking nothing away in terms of car liberties.
by yes_really | 2025-08-05 08:04:54+00:00
The fault of this event lies on Japan, not the US. Japan was the aggressor who started the war. Japan was "fighting to the end" and gave no indications it would surrender. It is estimated that the war would go on to 1947 had the bombs not been dropped. That would have caused the deaths of millions or tens oof million more people. It is a tragedy that people died, but the blame lies in Japan's actions, not the US'.
by mort96 | 2025-08-05 08:05:18+00:00
Realistically, car makers are going to find the cheapest way to comply. Adding motors for vibrating the driver's seat costs money. Ditto with adding vibration motors to the steering wheel. Using the motors you already have in the steering mechanism is just software.

So there's a clear incentive to involve the motors which control steering, which is inherently going to feel terrifying.
by coffeeenjoyer | 2025-08-05 08:05:21+00:00
What if they have significant robotic body parts? Or what if they make heavy use of automation processes and they barely click a button to index a page (so they just maniacally click all day long)?

What if robots.txt should refer to the ultimate beneficiaries... one which in this case would be the AI product that uses that content... to serve another ultimate beneficiary, a human user.

The problem here is obviously the higher prices for hosting the content, and less revenue for those that serve ads, have product placement on their sites, etc.

As long as robots.txt is about ethics/money and is enforced by morality, it doesn't matter who it refers to anyway.

Public-shaming enforcement might work in some cases though, but I doubt it will be that useful. We're talking about companies that have trained their AIs on IPs, and tried their best to later hide it. Does shame affect robots, or companies for that matter?

Cloudflare would very much like to be the middleman for monetary transactions between AI services and site owners (https://blog.cloudflare.com/introducing-pay-per-crawl/), but at the moment they don't have a law to hold their back, so articles like these are the best they got.
by m-schuetz | 2025-08-05 08:06:50+00:00
It comes down to language preferences. I find Python to be the worst thing computer science has to offer. No nested scoping in functions, variables leak through branches and loops due to lack of scopes, no classic for loops, but worst of all, installing python packages and frameworks never ever goes smoothly.

I would like to love Jupyter notebooks because Notebooks are great for prototyping, but Jupyter and Python plotting libs are so clunky and slow, I always have to fall back to Node or writing a web page with JS and svg for plotting and prototyping.
by ta12653421 | 2025-08-05 08:06:59+00:00
since i was not sure whats included in IL5, i asked GPT: >> FedRAMP Moderate baseline (as a foundation)

Additional DoD SRG IL5 controls on top of FedRAMP

Physical and logical separation of IL5 workloads from lower-level workloads

U.S. citizenship and background checks for all cloud personnel with access

Hosting and data storage within U.S. territory

Continuous monitoring and incident response plans that meet DoD requirements

DoD-specific access controls and encryption <<<

Thats quite some strict list which most companies would just not pass...
by lolive | 2025-08-05 08:07:37+00:00
Your data in Foundry are available both as tabular content and as a graph at the same time.

Here is a tool to visually explore your graph:

https://www.palantir.com/docs/foundry/vertex/graphs-explore

And here is the search engine to search for your objects (free-text and/or types): https://www.palantir.com/docs/foundry/object-explorer/gettin...

And here is the tool to manage the ontology (the types and relationships of the graph, plus the mapping of the graph to the tabular datasets):

https://www.palantir.com/docs/foundry/ontology-manager/overv...

The UI designer based on the graph data is called Workshop:

https://www.palantir.com/docs/foundry/workshop/overview/

I still have to find a stack where this duality is as integrated as in Foundry.
by mschuster91 | 2025-08-05 08:07:46+00:00
> You seem quite confident for a person who doesn't offer any arguments on why it would happen at all, and why within two decades specifically, especially if you claim it won't be LLM-based.

Rather sooner than later, IMHO the sheer amount of global compute capacity available will be enough to achieve that task. Brute force, basically. Doesn't take much imagination other than looking at how exponential curves work.

> that's good for humanity but I fail to see any of the usual terrible things happening like the "fallout" you mention.

A decent-enough AI, especially an AGI, will displace a lot of white collar workers - creatives are already getting hit hard and that is with AI still not being able to paint realistic fingers, and the typical "paper pusher" jobs will also be replaced by AI. In the "meatspace", aka robots doing tasks that are _for now_ not achievable by robots (say because the haptic feedback is lacking) there has been pretty impressive research happening over the last years. So that's a lot of blue collar / trades jobs going to go away as well when the mechanical bodies are linked up to an AI control system.

> We'll adapt just like we adapted to using LLMs.

Yeah, we just stuck the finger towards those affected. That's not adaptation, that's leaving people to be eaten by the wolves.

We're fast heading for a select few megacorporations holding all the power when it comes to AI, and everyone else will be serfs or outright slaves to them instead of the old scifi dreams where humans would be able to chill out and relax all day.
by zeroflow | 2025-08-05 08:07:47+00:00
That "subscription" is one which I gladly pay due to multiple reasons:

1. It supports the developers(s) 2. The price can be directly attributed to cost for training 3. You can keep the models you trained during your subscription indefinately

That's pretty much the opposite to AgentDVR. I don't need hosted services for remote access or push notifications - I can do that myself. But if I want to abide the license terms, I need to purchase a monthly subscription for remote access over my own VPN.
by Cthulhu_ | 2025-08-05 08:08:08+00:00
> I'd prefer JavaScript kept evolving (think "strict", but "stricter", "stricter still", ...) to a simpler and easier to compile/JIT language.

This is / was ASM.js, a limited subset of JS without all the dynamic behaviour which allowed the interpreter to skip a lot of checks and assumptions. This was deprecated in favor of WASM - basically communicating that if you need the strictness or performance, use a different language.

As for JS strictness, eslint / biome with all the rules engaged will also make it strict.
by Etheryte | 2025-08-05 08:08:19+00:00
This is a topic that often comes up, but once you pry, people usually overlook inflation. As an example, let's say you took out a $300,000 mortgage 30 years ago. The inflation adjusted cost of that today is $634,546 [0], so figuratively you end up paying more than double the sticker price just because of inflation.

[0] https://www.calculator.net/inflation-calculator.html?cstarti...
by ahofmann | 2025-08-05 08:08:54+00:00
I honestly don't understand this. The syntax is one of the most boring parts of a programming language. It is solved by the IDE (and now LLMs). I don't care about syntax, I care about what I can build. Since the beginning of time people argue about things like tabs vs. spaces, or the dollar sign and I honestly don't understand why that is. It just doesn't matter.

Just to be clear: consistency does very much matter. The mental load of reading totally different styles of code is awful and a waste of energy.
by p0d | 2025-08-05 08:09:16+00:00
My advice, make a time machine and travel back 20 years and take your side projects with you. I made a thing 18 years ago that has been making money ever since. If I made it now I would be like an apple in a barrel of apples.

If it's a business you are looking to build then learn to do business. This was my problem and why I made a 6 figure sum over 18 years and not 7.
by ketedrum | 2025-08-05 08:09:22+00:00
if you're gonna keep the left icons-sidebar, its probably a good idea that you label the icons - i think its mentally exhausting for all users to remember what each icon stands for all the time, and also you may want to change the icons themselves in future.

i'd also suggest to inline the left sub-menu: so much space under the left sub menu ends up unused. better to inline it at the top of the page, and widen the main content area.

anyway congrats on what you've achieved so far; looks great and best of luck!
by procaryote | 2025-08-05 08:09:36+00:00
Technically it doesn't... If you drop

echo "hello world"

into a file and chmod +x it, it will run with /bin/sh

You technically only need the shebang to set a specific shell, or options.

... This little quirk allows you to commit crimes like:

//usr/bin/cc -o ${o=$(mktemp)} "$0" && exec -a "$0" "$o" "$@" #include <stdio.h> int main(void){ printf("hello world\n"); return 0; }

which will autocompile and run on execution.

(don't)
by cess11 | 2025-08-05 08:09:46+00:00
You can do

function ($parameter) use ($data) { ... }

to capture stuff from the local environment.

Edit: And you can pass by reference:

> $stuff = [1] = [ 1, ] > $fn = function ($par) use (&$stuff) { $stuff[] = $par; } = Closure($par) {#3980 …2} > $fn(2) = null > $stuff = [ 1, 2, ]

Never done it in practice, though, not sure if there are any footguns besides the obvious hazards in remote mutation.
by augment_me | 2025-08-05 08:10:01+00:00
You can see it from other aspects than just money. For example, renting instead of owning frees up time and gives you much more predictable expenses. From not needing to fix the house to being able to be unemployed with predictable monthly costs.

Home ownership in the west is seen as some sort of pinnacle and goal because of the perceived security it provides, but its also possible to see it as golden handcuffs that force you to stay at safe, predictable jobs for 20 years.
by Cthulhu_ | 2025-08-05 08:10:40+00:00
> But maybe one day browsers will have native TS support?

This may already be a thing; node has native TS support by just ignoring or stripping types from the code, TS feature that can't be easily stripped (iirc namespaces, enums) are deprecated and discouraged nowadays.

TS is not actually that special in terms of running it. TS types are for type checking which isn't done at runtime, running TS is just running the JS parts of the code as-is.
by exasperaited | 2025-08-05 08:11:49+00:00
Right, but these are both more unwieldy.

One filters something with something else, in the real world. Filter water with a mesh etc.

And (in maths, at least) one maps something onto something else. (And less commonly one maps an area onto paper etc.)

Just because you can make your two sentences does not make them natural word order.
by burnt-resistor | 2025-08-05 08:11:54+00:00
So, like a scaled down space-cadet keyboard. ;) Looks neat for people who write a lot of scientific papers.

With 3 modifier keys, this offers 8 potential modes. What's done with the other 2?

Why only 12 keys and 3 modifier keys? Granted, 6+ modifier keys of the SCK is probably 1 or 2 too many.

Also, I miss graphing calculators / CAS like the HP 48 where math symbols were (usually) easier-ish to access.
by muzani | 2025-08-05 08:11:58+00:00
Most likely interactive fiction, but made more interactive with LLMs or something.

You guys can save the world; I've had enough of that in my career. I started programming to build simulations. I put simulations in my MIT application essay. I started playing with sensors and apps to build simulations and have handheld computers. I didn't intend to be making fintech stuff and crime fighting tools. I just wanted to make little pocket cities and super interactive stuff.
by gambiting | 2025-08-05 08:12:26+00:00
Also Strugatsky's "Roadside Picnic" - the "picnic" in question was a visit of aliens on Earth for unknown reasons. They came, they went, no one has actually seen them but they left their trash on our planet, "artifacts" in zones that are cordoned off by governments of Earth - from infinite batteries to multiplying gels and various gravity fields that will rip you apart in a second.. Like you said, some people ascribe all kinds of intentions to this visit, but most likely it's an encounter with a bug for them - they just left their stuff without as much as noticing us at all.
by reitzensteinm | 2025-08-05 08:12:56+00:00
See Tokio's Loom as an example: https://github.com/tokio-rs/loom

In development, you import Loom's mutex. In production, you import a regular mutex. This of course has zero overhead, but the simulation testing itself is usually quite slow. Only one thread can execute at a time, and many iterations are required.
by zvr | 2025-08-05 08:13:17+00:00
I agree with the first part ("current Sentry isn't Open Source"), not with the second one ("unless there's an actual community"). A software can be Open Source without actual development community.

Ah, wait -- you don't say that Open Source requires a community. You state that, if there was interest in the older version of Sentry, then that version could be considered as Open Source. I agree with this one as well, then.

[I considered deleting this comment, but maybe it will be useful to others who have not read closely.]
by dsego | 2025-08-05 08:13:56+00:00
Lane assist works perfectly fine on my Skoda (or I have learned to live with it). Basically it doesn't do anything under 50km/h and then above that it will mostly lightly shake the steering wheel if you drive on the line, and it will steer only in extremes to keep me in my lane, eg. driving fast and crossing a double white line or something, which saved me a few time when I was distracted. Also, sometimes I use my blinker when I think it will engage, eg. road works and I need to cross the solid center line into the oncoming lane.
by 01HNNWZ0MV43FF | 2025-08-05 08:14:05+00:00
Loved it. I have little to add but I will anyway.

He mentions that every war since Napoleon is different, fought with different technology.

It would be nice if war could be traced back to just shifting of technological power. Maybe the development of tanks makes one war inevitable, and the development of ICBMs makes another war inevitable.

And one day if we're very lucky, technology will be Good Enough and it will plateau and things can coalesce into a global government with no border and few standing military. It might be over 100 years, I might not live to see it.

It would be nice if war was not an endemic part of the human condition, but just the shocks and aftershocks of tectonic shifts, and one day the ringing will die out as everything is abundant enough.

But considering the wars before Napoleon, maybe it is endemic.
by muzani | 2025-08-05 08:15:28+00:00
Get a screenshot app. Shottr is awesome. CMD+SHIFT+CTRL+4 and I can take a picture. Paste UI on a GitHub PR. Paste Figma into a LLM. Paste bugs into Slack or a support tool. It does text recognition too, so whenever my wife sends me some kind of ID via a screenshot, I can just copy from that.