MurphyA/hacker-news huggingface dataset:
by maratc | 2025-05-14 12:03:46+00:00
The problem with this idea is that it's unattainable.

Let's start with something simpler: a living room. There's no universal design that would fit just any living room. The layout and the set of furniture that would work for my living room will not work for yours. Size, shape, windows, doors, connection to other spaces - everything matters. If you want a great design for your living room, you literally need to start from your specific living room.

There's a great idea -- why don't we come with a resizable (reflowable?) design that could fit any living room in the world? While this idea might be entertaining for an engineer's mind, it doesn't work in practice, unless you can settle for just a mediocre design.

Also, being intellectually honest, we need to attack the strongest Apple we can imagine, not a weak Apple that's easy for us to attack. And that strongest Apple will never adopt this idea because they aim to design the best computer/phone/tablet that they can, and in order to design that they need to start with the computer/phone/tablet.

The idea of a phone connecting to a display/keyboard/mouse and becoming a computer has the problem that you could either optimize your design for what you have with a phone, or for what you have with a display and peripherals. It will never be as good as the system designed from the ground up to be just a single thing. It's always nice to have options, but there won't be any mass adoption for the mediocre combo. It was dead in the water with Palm Foleo in 2007, it's just as dead in the water 18 years later.
by gus_massa | 2025-05-14 12:04:05+00:00
How old are the students?

For a lot of tasks, more important than fluently speaking, is to be able to read. The world is in English. There is a lot of information that is only available in English. Hi from Argentina!

With my older daughter, we used CD to teach English. First she saw a movie in Spanish. Then with the voices in English and Spanish subtitles. Then in English with English subtitles. And then just in English. (She was quite young, so she was happy to see the same movie a looooooooooooooooooot of times. With older students you may need a few movies.)

Your written language is very good. Where did you learn?
by bluGill | 2025-05-14 12:04:36+00:00
Routes should not be created or changed often. People need to rely on transit, if they can't be sure their route will still be there for long they should buy/drive a car even if there is good transit today since they will need that car when the routes change to something that doesn't work.

changing routes is needed of course. Cities chanre and you need to follow that. They don't change fast though. long term routes also drive change as people adqust their life to what they can do.
by wkat4242 | 2025-05-14 12:04:49+00:00
Well, I've done extensive trialling at work during the pandemic (when flying often just wasn't an option at all!) and I do see added value for things like workshops.

Teams has breakout rooms but they are very rigid. You have to switch to one and define them. You can't 'glance over' and see what the other rooms are doing. It's much more flexible to just walk around in a 3D space, work on a shared whiteboard you are standing around, pull in some powerpoints to discuss, and walk over to another group if you're needed (you could see them wave over). At this point it really becomes a real alternative to flying over for a workshop. Thus saving many tonnes of CO2, and much cost in flights and hotels. VR is not quite as good but it's much better at dynamic workshops than a simple video tool like Teams is. Added bonus if you are discussing potential upcoming products that you already have 3D models of. Just picking up a model and going like "Hey why don't we put the USB port on this side", this is really where this shines.

But the tool has to be really good. Other solutions like Arthur, Viverse and Spatial could do it really well (Spatial has since gone full consumer-oriented though and has lost many capabilities for business, it's now more of a luxury VRChat). Mesh can not, it is extremely limited. It's the old AltSpaceVR but dumbed down. It would have been better if they kept AltSpace as it was without messing so much with it.
by Loughla | 2025-05-14 12:05:00+00:00
That's not real. People don't live like that. That's just engagement slop for tiktok.

Also, I would argue that it may not be common, but it's much more likely with airbnb versus a hotel chain. Two reasons; more access to the space without witnesses, and the owner is more likely to know if their preferred gender is going to occupy that particular space.

Meaning, hotel staff can be walked in on by other hotel staff, and there is no guarantee that the attractive person you want to see nude is going to get room 203. Whereas you can see who is renting your Airbnb, and you have access to it by yourself all the time.
by have-a-break | 2025-05-14 12:05:01+00:00
Yeah but on the flip side having police show up everytime I leave the house doesn't make me feel comfortable it makes me feel like the police cant do their jobs properly. Or worse I am in some kind of warzone, which is disappointing since my family fled their home country to get away from war.

How about we pay people enough so they don't have to steal and gut the police.
by DoingIsLearning | 2025-05-14 12:05:19+00:00
> This discussion comes up a lot on HN, and it seems to be one where there are answers, but people don't like the answers, so they go back to feigning ignorance.

A real interesting data point that made reconsider some of my assumptions on birth rates in developed nations is Israel.

There is a really interesting piece (albeit with a conservative bias) that can articulate this far better than I can. [0]

[0] https://nationalpost.com/opinion/danielle-kubes-the-truth-be...
by abxyz | 2025-05-14 12:05:30+00:00
Security cameras (like Google Nest) are not the concern people have: hidden cameras are. It is possible to rig an entire property without any chance of guests finding the cameras. The scale at which it happens is a question (and varies based on country) but the illegality isn't the issue. The dissemination of videos and photos secretly recorded of guests and their children is the issue. There are people in prison for doing this but the damage is done, videos and photos of their guests are online forever.
by fazeirony | 2025-05-14 12:06:14+00:00
we moved to a rural area in 2005 with clean, but unfluoridated well water. had a son. brushes twice daily for 2 minutes a time like everyone else in the house.

he had an excessive amount of cavities and the dentist did not use any supplementation. This was painful and unnecessary for my son (we stopped using that dentist when it was clear this isn't 'normal').

i realize this is n=1. but apparently calgary [0] also realized this was having an opposite effect as well. (yes i realize this is slightly different than supplementation in the parent article but the supplementation would have saved my kid from unnecessary cavities.)

[0] https://www.npr.org/2024/12/13/nx-s1-5224138/calgary-removed...

EDIT: clarity on 'supplementation'
by cosmic_cheese | 2025-05-14 12:06:46+00:00
Not saying that Apple has anything better, but I really don’t feel like the problem is adequately solved on Android either.

The easiest thing in my mind would be to use USB mass storage, with the storage presented to the connected computer being virtualized with a layer reconciling changes with actual storage on the fly (which the current MTP implementation already does anyway), solving the problem that USB mass storage traditionally has arising from two systems mounting the same chunk of disk at once.

That would work everywhere and remove the need for a bizarre protocol borrowed from Windows XP.
by mplanchard | 2025-05-14 12:08:00+00:00
Oh yes, I didn’t mean to make it sound like a problem. I personally strongly prefer signature-based typing vs like in Typescript where you can easily be returning an entirely unintentional type and not realize it until you try to use it in an explicitly typed context down the line.

I also imagine it’s much faster for the type-checking pass of the compiler to just look at the signatures.
by jillyboel | 2025-05-14 12:08:09+00:00
> this is mostly called an aparthotel

Which is quite different from, and far more expensive than, a hotel which GP was talking about.

> This is different from Airbnb's where they abuse a residential building for short term stays.

As allowed by local regulations, so not quite abuse. Sure it used to be the wild west several years ago but it's been cracked down on since.
by wink | 2025-05-14 12:08:21+00:00
I'm not sure I agree with this. People are different and not everyone has to enjoy so-called literature that is not pure entertainment.

I have shelves full of books I had read before finishing school, and 90% of what we read in English lessons (I am German) was ok, and yet I hated 90% of what we read (or supposed to read) in our German lessons. Maybe it was the selection, maybe it was implicit bias (I also liked English lessons and my teachers, and didn't like either for German). Just some from memory (annotated Shakespeare was ok, I liked Poe, I liked Huxley)

So no, except for a few you would not manage to convince me to give them a second chance.

And also no for your last point, some Dan Brown novels were ok and I didn't enjoy the rest in the first place ;)
by harshreality | 2025-05-14 12:08:32+00:00
Sometimes asking people will give you true insight, and sometimes it will give you false insight because the people themselves don't consciously know and make things up that seem right but are not; or, a behavior or decision is the product of a chain of other things that's too complex to reason about or communicate easily even if each link in the chain is consciously known.

On South Korea, you might want to consider this chart instead: https://www.macrotrends.net/global-metrics/countries/KOR/sou...

KOR's Fertility rate has been under 1.25 for two decades. It follows then that "stable" population can only be the result of three factors:

1. Pushing the population curve out through longer lives;

2. Immigration;

3. Time-effect offsets of the fertility rate; for instance, if it's the projected fertility rate of females born in a given year, it would take roughly 20-40 years for the fertility rate to have its effect on the population curve.
by joshprice | 2025-05-14 12:08:46+00:00
Rails are definitely inspiration for the way Ash DSLs are used to model your business domain, but Ash takes this idea way further.

Ash models nouns and relationships like ActiveRecord does, but it also models Domains (think DDD bounded contexts) and Resources with the verbs or "actions" of your system.

It also lets you configure generated APIs and your data layer (eg Postgres) so it doesn't stop at just how an ORM may typically model your data.
by kibwen | 2025-05-14 12:08:53+00:00
> Why would a stack frame want to move ownership to its callee

Rust's system of ownership and borrowing effectively lets you hand out "permissions" for data access. The owner gets the maximum permissions, including the ability to hand out references, which grant lesser permissions.

In some cases these permissions are useful for performance, yes. The owner has the permission to eagerly destroy something to instantly free up memory. It also has the permission to "move out" data, which allows you to avoid making unnecessary copies.

But it's useful for other reasons too. For example, threads don't follow a stack discipline; a callee is not guaranteed to terminate before the caller returns, so passing ownership of data sent to another thread is important for correctness.

And naturally, the ability to pass ownership to higher stack frames (from callee to caller) is also necessary for correctness.

In practice, people write functions that need the least permissions necessary. It's overwhelmingly common for callees to take references rather than taking ownership, because what they're doing just doesn't require ownership.
by llm_nerd | 2025-05-14 12:09:24+00:00
This isn't my specialty, and ultimately it really doesn't matter to the core point of this good submission about how the GPU chooses mipmap level to use, however the article gives the impression that we pre-calculate mipmap levels to improve distant aliasing, though the problem they demonstrate is solved with trivial texture filtering.

Mipmaps are a performance optimization[1]. You could just use a 4096x4096 brick texture across your entire game, and then use texture filtering to make it look good both close and far, but that means that rendering a distant wall polygon that might fill just a few pixels of the viewport needs to filter and apply a 16.7 million texel texture, redoing the filtering again and again and evicting everything else from caches just for that one texture. If instead it can apply a 32x32 pre-filtered texture to loads of distant objects, there are obviously massive performance ramifications. Which is why mipmaps are used, letting massive textures be used for those cases where the detail is valuable, without destroying performance when it's just some distant object.

And of course modern engines do the same thing with geometry now, where ideally there is hierarchy of differing level of detail geometry and it will choose the massive-vertices object when it fills the scene, and the tiny, super optimized one when it's just a few pixels.

[1] As one additional note, all major graphics platforms can automatically generate mipmaps for textures...but only if the root is uncompressed. Modern texture compression is hugely compute bound and yields major VRAM savings so almost all games pre-compute the mipmapping and then do the onerous compression in advance.
OWASP PTK v9 with IAST agent for client-side JavaScript
by DenisPodgurskii | 2025-05-14 12:09:38+00:00
Meet first in class in-browser IAST agent for JavaScript! In OWASP PTK v9, we’ve introduced an integrated IAST capability to help surface client-side issues immediately: Taint-Flow Visibility Contextual Findings *Zero-Configuration Deployment
by AStonesThrow | 2025-05-14 12:09:52+00:00
That's a weird article. It's weird how one-sided the story is: because clearly law enforcement would tell a different narrative if they had been asked for comment. It is strange how the father claims that the issue was the football.

But it is strange that, if the park rules say that only children up to Age Five are allowed, why the father thinks this is so unjust and so horrible. It certainly makes sense to me, that keeping small children safe could involve restricting the age group. So many things are restricted to narrow age-groups for children. Because of different maturity and physique and needs.

If these parents deliberately chose an Age Five park to go play in [and they knew exactly what its name is before they even arrived], then they should've made themselves aware of the Park Rules (which are not too far away to read if you walk up to the sign. Park Rules are usually posted near every entrance and every main walkway!) And they have no right to be angry that the police intervened and had a chat with them, even if the "football toss" was an extreme red herring.

I don't see anything wrong in a community wanting parents to know and abide by those rules. They aren't difficult or obscure or unjust.

No, the children are not criminals. A minor is subject to their parents' responsibility, and the parents are the ones who placed their children into the park, and they are responsible for their children being there. Any liability or criminality is going to fall on the responsible adults.
by sph | 2025-05-14 12:10:04+00:00
> It's better to guarantee we encounter all type errors before the program even runs.

This is only valid if you either are writing mission-critical software, or have infinite time.

Your argument doesn’t consider the case that you have a deadline and need to ship, so optimising for productivity, rather than asymptotic typing perfection, is paramount. There is a reason even performance-critical environments, where scripting languages are not very well suited, somehow still lean on them for productivity.

Case in point, game dev (Unreal Engine with its blueprint system, Godot with GDScript, the myriad of game engines in C++ paired with Lua.) Of course in a vacuum game devs would like to write ideal data structures with strong typing so that the game doesn’t crash, but their goal is to ship a game within the decade, so limit the strong typing to performance critical engine and can focus on building and iterating on the core product without consulting type theory books.

The point of Mr. Ousterhout’s argument is that there are only two choices: either we invent the panacea, the mythical productive strong-typed language that gives 100% safety yet enables experimentation, optional typing and compiles to C++ speed native code, or we accept that this is an impossible pipe dream, and we need to use the correct tool for the problem. Again, obvious on the surface, but still a contentious point to this day.
by dankim0124 | 2025-05-14 12:10:26+00:00
This post shares an overview and demo of a plugin I built for IntelliJ.

Rather than focusing on the plugin itself, I dive into the idea behind it and what I learned during the process.

The plugin automates repetitive Java code generation—like interface implementations and test scaffolding—using LLM prompts.

It collects relevant reference classes via custom annotations and builds structured prompts at runtime, powered by GPT-4o and the IntelliJ PSI API.

I’d love to hear your thoughts on the prompt design or overall automation workflow.
by spicyusername | 2025-05-14 12:11:35+00:00
Everyone is going to want to reach for their favorite modern problem, but every point in history is fraught with sociopolitical and economic challenges. Today is not special, in that regard.

My personal favorite reason is just that this is the outcome of birth control. At no other point in history could people decide how many kids they want, and when you give people the choice, they just aren't going to choose very many.
by ajross | 2025-05-14 12:11:36+00:00
Yeah, but the whole purpose here is "flattening the learning curve", and telling people code will work when it won't is doing the opposite.

That bullet, at its most charitable, defines the "idealized goal" of the borrow collector. The actual device is much less capable (as it must be, as the goal is formally undecidable!), and "learning rust" requires understanding how.
by bobbyraduloff | 2025-05-14 12:11:59+00:00
I’m not sure how the solution to “LLMs lie” is “more LLM”. I’ve personally had o3 tell me stuff like: “I ran this query against version 0.10 of DuckDB and verified that it works” when the query contains functions that don’t exist in DuckDB or “this version gets better PageSpeed Insights results” when I know it can’t check those. It happens surprisingly often and it’s super obvious. However, it’s made me seriously wary of the information that it gives which I can’t verify purely based on logic.
by moduspol | 2025-05-14 12:12:04+00:00
Indeed. Likewise, there has never been a time where wide swaths of potential parents feel like they can "afford" having children. Before birth control, it was less of a choice.

This narrative that "people aren't having children because the future is bleak and they're expensive," is wildly overblown. Yes, it's what people say when you ask them. That's not the same as it being the actual reason.
by scajanus | 2025-05-14 12:12:11+00:00
I think this is the result of 1) it being a moving target and 2) HTML and CSS being a de facto standard rather than de jure, where the (differing) implementations define at least part of the spec.

You also can't really embed fonts in a HTML file, you rely on linking instead -- and those can rot. Apparently there has been some work towards it (base64 encoded), but support may vary. And you need to embed the whole font, I don't think you can do character subsets easily.
by ty6853 | 2025-05-14 12:12:12+00:00
Well that and the fact that we did the thing everyone suggested and gave lots of welfare money to descendants of freed slaves and that still didn't solve the cultural problem of them being neglected by greater society.

There are a ton of cities where culturally no matter how rich the people are there is a big cultural divide in certain areas and where there is an othering people are less likely to be kind to those families.
by kspacewalk2 | 2025-05-14 12:12:18+00:00
Like any single-cause explanations of the fertility collapse, it's fairly easy to poke holes in it. Usually, you just name countries as a counter-argument.

For example, North Korea. Better life now than in the 90s, lower fertility.

What hope for the future was there in the 1930s Ukraine, in the middle of an artificial famine that killed millions? Higher fertility than mid-2010s Ukraine (nowadays you can blame the war for an additional drop).

Eritrea and Ethiopia are right next door to each other, they have high birth rates dropping completely in lock-step, despite Eritrea being essentially shut off from the outside world in terms of disruptive tech - no Internet for most, no social media or whatever other bogey man you can come up with and blame for "disrupting the culture".

Countries that are essentially ignoring climate change have falling birth rates too, as do countries where people aren't into Western-style contemplative existential dread.

I haven't come up with an alternative answer, mind you. So far, I've just been noting how easy it is to poke holes in all available single-cause explanations.
by snowwrestler | 2025-05-14 12:12:39+00:00
VRBO did whole-house vacation rentals in the U.S. well before AirBnB. Still around and works well. I’d say we book about half the time through VRBO and half the time through AirBnB.

AirBnB’s differentiator on launch was “rent just one room” in an owner-occupied dwelling. Remember when it was “the sharing economy”? There are still listings like that, but I think most of the money is in whole-dwelling rentals now.
by pjc50 | 2025-05-14 12:13:11+00:00
I deliberately chose the population number graph rather than the birth rate graph because that's the one that actually affects resource usage (housing etc), rather than its first derivative.

If the numbers start dropping to the extent that opportunities open up, I believe that people's views might start changing.

We see localized depopulation of e.g. small Italian or Japanese villages as the local economy dries up. But Korea still has a real and growing economy! It's just perhaps not evenly distributed.
by johnbatch | 2025-05-14 12:13:36+00:00
I staid at a hotel in Lisbon [1]that had a kitchen and washing machine. (And a kids club that would watch the kids)

There ended up being an issue with the dryer not drying. So the hotel staff took a laundry basket of clothes and delivered them washed and folded the next morning. That level of service would not have happened in an Airbnb.

[1] https://www.martinhal.com
by AStonesThrow | 2025-05-14 12:13:49+00:00
Ironically, most people understand "learning curves" counterintuitively.

If a "learning curve" is a simple X-Y graph with "time" and "knowledge" being on each axis respectively, then what sort of learning curve is preferable: a flatter one or a steep one?

Clearly, if you graph large increases of knowledge over shorter periods of time, a steeper learning curve is more preferable. "Flattening the learning curve" makes it worse!

But for some reason, people always reverse this meaning, and so the common idiom breaks down for people who try to reason it out.