MurphyA/hacker-news huggingface dataset:
by willquack | 2025-05-14 15:43:09+00:00
> That brightness abuse by content

I predict HDR content on the web will eventually be disabled or mitigated on popular browsers similarly to how auto-playing audio content is no longer allowed [1]

Spammers and advertisers haven't caught on yet to how abusively attention grabbing eye-searingly bright HDR content can be, but any day now they will and it'll be everywhere.

1. https://hacks.mozilla.org/2019/02/firefox-66-to-block-automa...
by TheNewsIsHere | 2025-05-14 15:44:06+00:00
Apple’s implementation of enabling access to files is entirely different. I actually much prefer it because it sidesteps the self-dealing permissions bomb that Google just set off.

In iOS, applications can use the File Provider API to present themselves in the Files app. You can move/copy/delete data there using the normal human interface constructs native to iOS, including mouse support and keyboard shortcuts on iPadOS.

Apps can also present the same directory internally (inside the app). Cloud-backed applications can then do useful things like materialization, eviction, and dataless file presence.

It doesn’t allow standing access to the entire filesystem, though. iOS only has support for applications reading outside their sandbox if the apps are from the same developer, and then they can call a pooled storage location for all apps that share the same “Team ID” (e.g., top level developer account/organization).

It’s actually far easier (functionally) to grant access to your entire photo library, so for example you can have an app query and backup your photo library.

“True” filesystem-wide backup requires hooking into the iOS backup/MobileFile hooks. Apple isn’t as hostile to third parties doing that as Google is to anyone accessing their own device data. But the process is more cumbersome by far.
by jsbg | 2025-05-14 15:44:10+00:00
> If I could legally hypothecate my entire tax payment to science funding

That is literally the opposite of how taxes work though. Other people decide how your money is spent. If your financial situation was that of the US govt [0] I also don't think you would act the way you say with your earnings.

[0] https://www.usdebtclock.org/
by vel0city | 2025-05-14 15:44:28+00:00
Considering this whole conversation is about sometimes some people have a little bit of slowness drawing the quick settings area in Windows 11 and I gave commands like "netsh" it should be pretty dang obvious which OS we're talking about. But I guess some people have challenges with context clues.

And once again, on some Linux machines I've had over the years, doing an ip a command could hang or take a while if the device is in a bad state or being weird. It normally returns almost instantly, but sometimes has been slow to give me the information.
by Suppafly | 2025-05-14 15:44:29+00:00
>I could not use my Google Voice number (that I've had since Grand Central) for most companies that only do SMS 2FA until it became my Google Fi number. Then I guess some flag got set in the database they check against.

I was wondering about that, because I can't get google voice because I have google fi, so clearly it's using the same bank of numbers, but maybe once they are fi, they are ported to T-mobile instead of their own CLEC.
by rayiner | 2025-05-14 15:45:07+00:00
The apartment buildings full of immigrant families with kids are almost exclusively low-SES immigrants. Higher SES immigrants don’t move to those places (and have extremely low birth rates).

You have to remember that high SES immigrants are an extremely small self selected and culturally distinct slice of their home population. Culturally distinct in ways that are hard for Americans to even understand because they don’t have a rigid class system where higher status people culturally diverge from lower status people to the degree, they do in other societies. One major difference is the pre-existing exposure to Western culture.

Extensive exposure to western colonial governments, western non-profits, and western businesses is common among the class of people who emigrate as high-SES immigrants. My family was quite Anglicized even back in Bangladesh. My grandfather’s house was a former British property (my mom comments half a century later about how solidly the British built the tennis courts). At the time I was born my parents weren’t planning on leaving Bangladesh, but my dad adopted the western practice of having a family name (instead of two given names as is our system). My first name is misspelled German, and I never had the nickname Bangladeshis universally use instead of their legal name. I went to a pre-school for British expats (“Catherine’s Playgroup”). After we immigrated, I grew up in a 90% white and asian town in the U.S., spoke English at home, have never set foot in a mosque, etc. My dad was very deliberate in forcing us to assimilate, at least in outward appearances. That’s my particular story, but if you press your high-SES immigrant friends you’ll likely learn about the ways in which they’re very distinct from others in their country—and were long before coming here.

My aunt and uncle, by contrast, live in a Canadian publicly subsidized high-rise that’s entirely low-SES immigrants. Those Bangladeshis are completely different. They’re very religious, socialize primarily within their community, practice arranged marriage and primarily marry within their community, etc. And they were very different from us even when we were all in Bangladesh!
by Tanoc | 2025-05-14 15:45:23+00:00
The way I've been naming computers for about a decade now is formfactor, intent, and architecture. So you end up with SBC-MUSIC-ARM, TOWER-SERVER-INTEL, LAPTOP-TEMP-AMD, and so on and so forth. It's great so long as you don't have more than about fifteen computers. For a while there were three desktops in one room all dedicated to rendering, so they received names that when read in order were a nod towards a certain film: 1TOWER-RED, 2TOWER-ON, and 3TOWER-YOU.
by aidenn0 | 2025-05-14 15:45:31+00:00
I don't think revealed preferences are the only reasonable way to define "preference."

To use an extreme example: Does the homeless alcoholic divorcé really prefer to be homeless and divorced?

For a more abstract example, consider games like the Prisoner's dilemma, where "both defect" is worse for both players than "both cooperate" but choosing to defect always improves the result for a player. Surely both players would prefer the "both cooperate" solution to the "both defect" but without some external force, they end up in a globally suboptimal result.
by horv | 2025-05-14 15:45:37+00:00
> In the long run, yes, maybe things will be net better for all, when the $45M per year has had a chance to make alternative transportation methods to be not just policy enforced, but truly _preferred_ option.

The article highlights that was $45 million in the month of March alone:

"In March, the tolls raised $45 million in net revenue, putting the program on track to generate roughly $500 million in its first year."
by Rastonbury | 2025-05-14 15:45:43+00:00
What I got from that is "fast and intuitive" is the must have. When you have a choice (backend bit), justify you decision. I'd try to use that to stand out or an additional cool feature. When I have to do such homework, I do the requirements to what I think an above average candidate would, they've seen this a million times, then add 1-2 bits of flair/coolness only a handful of people would do to pique their curiosity and want to ask about the next round
by jerf | 2025-05-14 15:45:46+00:00
"often some sort of depressing coming of age story."

I think that while this isn't anywhere near the whole problem, the selection of books is very slanted in certain directions and that is a part of the problem. I'd call it "politics" but people would think I mean left/right, but that's not really what I'm referring to here... there are definitely some tendencies in the books chosen by literature teachers, by the type of people who would become literature teachers, and while there's nothing intrinsically wrong with that, they can end up badly overrepresented.

You've got the broody coming of age stories (which is basically synonymous with "discovering how awful the world is"), the stories about how awful everything is and particularly how awful mankind is, the poems about how depressing everything is, the stories about how nihilistic the author is, the stories that make minimal sense on their own because they are just carrying "literary" symbolism as they make a depressing literary point, etc.

A bit more diversity in some of the literature lists wouldn't go amiss... and again, I'm not really talking about "left/right" or the modern sense of the term, but just, casting a wider net in the general sense. It is not actually illegal or unethical for students to maybe occasionally enjoy a book in school. It is not invalid to maybe study a comedy, an actually funny comedy, in the pursuit of learning about humor, for instance.
by sceptic123 | 2025-05-14 15:46:10+00:00
Feels harsh to jump on them for it, but it seems like they forgot the job spec when doing the take home. From that list Kagi wants to confirm:

- Proficiency in Go - Strong understanding of scaling and maintaining backend systems - Solid understanding of containerization technologies like Docker

Nailing the take home would require a project that demonstrates all three. Of those I think they maybe do okay on the second one, though offloading to paid services is maybe cheating a little there. I don't think they do well at either of the other two though.

From the detailed spec, one might expect the project to demonstrate those things, but the code as submitted just doesn't.
by mike1o1 | 2025-05-14 15:46:56+00:00
I'm also very comfortable with Phoenix and Ecto (and LiveView), and initially found Ash a challenge to wrap my head around. After working through the book and really keeping an open-mind on my next project, I've found it a real joy to work with.

Keep in mind that Ash doesn't really replace Phoenix or LiveView (or Ecto), but it's built on top of it. You can still use Phoenix and LiveView the same way you are today, and just rely on Ash to build your context for you and how you interact with your resources. So I'd say it "replaces" Ecto in that sense (though it's all Ecto under the hood).

For me, I'm building a native app with a GraphQL backend and it has been an amazing productivity increase. With Ash, GraphQL on the backend and React and gql.tada (https://gql-tada.0no.co/) on the front-end providing a fully typed experience, I feel even more productive than using LiveView.

As a quick example - I have an existing derived GraphQL endpoint with a query for getting a resource, and I can have basic filters and sorting out of the box from Ash (i.e. filter by status, sort by name, filter by date greater than X, etc.)

Recently, I needed to build a feature to support adding a tag to a resource. I modeled the relationships (join models, etc.), made the necessary additions to my create/update actions and without _any_ changes to my GraphQL setup, I was able to support filtering my resource by tag (or tags) basically for free.

Can I build that in Ecto directly within my Phoenix context? Of course, but I didn't need to - Ash derived that functionality for me, and built that in, with all of the necessary preloading through dataloader and all of that for me, so the queries are optimized.

Ash is a huge mindset shift, and I think it'd be tough to incorporate it into an existing project, but if you're able to start a new project from scratch, I really recommend you give it an honest try. Especially if you think you might need to have additional data channels (i.e. LiveView and GraphQL or Json API).
by nprateem | 2025-05-14 15:47:05+00:00
Maybe this one can stop writing a fucking essay in code comments.

I'm now no longer surprised just how consistently all the gemini models overcomplicate coding challenges or just plain get them wrong.

Claude is just consistently spot on. A few salient comments for tricky code instead of incessantly telling me what it's changed and what I might want to do, incorrect assumptions when it has the code or is something we've discussed, changing large amounts of unrelated code (eg styles). I could go on.

Shame I'm too tight to pay for Claude RN though...
by ar_lan | 2025-05-14 15:47:31+00:00
I think humans can have different motivations. For your son, it seems to be this.

When I was 12, I originally wanted to make video games, but found that I just loved building things and felt like programming was a magical toolbox. For me, it's not a means to an end, but the journey I actually like - I'm a builder, not a storyteller.
by potato3732842 | 2025-05-14 15:47:31+00:00
>There is quite a strong incentive for the 'expert' to say you 'need to do X' when they will get paid for doing it.

Even if they're not being paid for the work they're still gonna be conservative to cover their own ass because they're accountable to their own licensing board or there's some 3rd party government or perhaps private stats tracking their screw ups or whatever.

This is what you get when you have a subset of the general public hellbent on requiring that nothing get done without consulting a dozen different licensed professionals oversight by multiple departments, etc, etc.

In a "simple" evaluation of incentives there is no incentive to cut the tree if it's not a fairly undeniable hazard but the simplicity has been polluted with a complex spaghetti of requirements.
by vzaliva | 2025-05-14 15:47:35+00:00
"it turns out messages from 5 digit shortcodes often aren't supported over wifi calling."

This does not seems plausible. I live in urban area but do not have good cellural connection at home and my mobile phones are usually route calls via home Wifi. All SMS come through. It is just a low-lever transport and I doubt it cares about message size or numbers.
by Der_Einzige | 2025-05-14 15:47:38+00:00
God damn why do you people sit in denial about this!!?!?!?!?!?

Yes it is taught in a lot of high school classrooms in America and folks love to pontificate with their weird justifications for it!

1. https://www.journals.uchicago.edu/doi/abs/10.1086/691255?af=...

2. https://www.insidehighered.com/views/2018/05/14/teaching-lol...

3. https://highschoolbooks.home.blog/2019/02/08/you-probably-sh...

4. https://www.thenabokovian.org/comment/71

5. https://www.aclu-or.org/en/news/lolita-and-freedom-read
by losvedir | 2025-05-14 15:47:45+00:00
Everything old is new again. From my perspective as a Rails developer in the past, who landed on Elixir/Phoenix 10 years ago, Elixir and Phoenix were both born from Rails devs who were tired of Rails magic, keeping just the structure and bare minimum.

I've watched Ash spring up and build steam over these past several years with a bit of dread. From my perspective, it's kind of counter to the philosophy I liked in Elixir. I don't want to "derive" things based on a definition, for the most part. Elixir tends to avoid codegen and macros as much as possible, and José has recommended that if there _are_ macros, they should be a very light layer over calling functions, which should be the primary interface.

All this is said without having tried Ash, so I could be way off base. But I've been mostly ignoring it and wondering if I'll have to actually use it someday, and then be back in Rails-y magic land. I also use Scala at work, and saw how a philosophical split in the community just kind of trashed the language (from my perspective). It used to be a cool, better Java, but then those dang Haskell type astronauts found it and made everything impossible to understand.

Just taking the automatic Authentication, for example: Phoenix settled on a `mix` generator for it, to actually put the code and logic into the app itself. This is surely informed from José's years of experience maintaining Devise. If the best those two could come up with is a code generator, then I'm skeptical whatever Ash does here will be better. It feels like it's just heading right back to Devise land. And that was a successful place, and Rails and all its gems are still around, but that's kind of the "old world" philosophy and again doesn't square with us old Elixir developers who were Rails refugees.
by Suppafly | 2025-05-14 15:48:11+00:00
>I'm surprised the major cell providers are cool with letting randos operate cell towers that back into an unknown untrusted ISP and their customers will automatically switch to when in range.

A lot of office buildings have these in them. I think the personal ones are how they get around some of the issues with government requiring them to build networks to certain coverage. They just don't build it out and when someone complains they offer them one of these.
by wirybeige | 2025-05-14 15:49:10+00:00
I use HDR for general usage, Windows ruins non-HDR content when HDR is enabled due to their choice of sRGB tf. Luckily every Linux DE has chosen to use the gamma 2.2 tf, and looks fine for general usage.

I use a mini-led monitor, and its quite decent, except for starfields, & makes it very usable even in bright conditions, and HDR video still is better in bright conditions than the equivalent SDR video.

https://github.com/dylanraga/win11hdr-srgb-to-gamma2.2-icm
by tstrimple | 2025-05-14 15:49:57+00:00
And yet the over engineered solution that somehow took a week to complete fell completely flat. I'd guarantee that Kagi has hired developers through this process who only spent a couple hours on it. If I was working on this, I wouldn't have gone beyond three hours. It would have actually been a console app and I would have done something like integrate your unread mail count in your terminal prompt as some "bonus" demonstrating additional thought in the space.

I've worked with IMAP and POP libraries before so am familiar with the fundamentals for building a client and libraries in many languages make this part of the integration very straightforward. Couple that with a "modern" CLI library this should come together very quickly. And I would not have included half a dozen cloud services for a terminal like email client. The project submitted completely missed the mark and they still have no idea why.

If I wanted to create something by meticulously planning out every detail and spoon feeding them to a code monkey with no creative input I'd just use an LLM or outsource to India where you've got to spell out every little detail and still get questionable results back. I've had to do that plenty of times and I don't want to work like that. I want to work with other professionals who can run with a concept and deliver good results without constant oversight and micromanagement. That's clearly not the author of the blog post.
by ToValueFunfetti | 2025-05-14 15:49:59+00:00
>For context, generative AI music is basically unlistenable. I’ve yet to come across a convincing song, let alone 30 seconds worth of viable material.

This one pops into my head every couple months:

https://youtube.com/watch?v=4gYStWmO1jQ

It's not really my genre, so my judgment is perhaps clouded. Also, I find the dumb lyrics entertaining and they were probably written by a human (though obviously an AI could be prompted to do just as well). I am a fan of unique character in vocals and I love that it pronounces "A-R-A" as "ah-ahr-ah", but the little bridge at 1:40 does nothing for me.
by drguthals | 2025-05-14 15:50:13+00:00
"I know this goes against the current trend / state-of-the-art of using vision models to basically “see” the PDF like a human and “read” the text, but it would be really nice to be able to actually understand what a PDF file contains."

Some combination of this is what we're building at Tensorlake (full disclosure I work there). Where you can "see" the PDF like a human and "understand" the contents, not JUST "read" the text. Because the contents of PDFs are usually in tables, images, text, formulas, hand-writing.

Being able to then "understand what a PDF file contains" is important (I think) for that understand part though. And so then we parse the PDF and run multiple models to extract markdown chunks/JSON so that you can ingest the actual data into other applications (AI agents, LLMs, or frankly whatever you want).

https://tensorlake.ai
by dahart | 2025-05-14 15:50:56+00:00
> The eye perceives at about 10 hz.

Not sure what this means; the eye doesn’t perceive anything. Maybe you’re thinking of saccades or round-trip response times or something else? Those are in the ~100ms range, but that’s different from whether the eye can see something.

This paper shows pictures can be recognized at 13ms, which is faster than 60hz, and that’s for full scenes, not even motion tracking or small localized changes. https://link.springer.com/article/10.3758/s13414-013-0605-z
by d_burfoot | 2025-05-14 15:50:57+00:00
The key to the power of the LLM is that the training process can learn effectively from vast corpora of unlabelled text. Unfortunately, there is no comparably vast database of medical images.

In order to "crack" radiology, the AI companies would need to launch an enormous data collection program involving thousands of hospitals across the world. Every time you got an MRI or X-Ray, you would sign some disclosure form that allowed your images to be anonymously submitted to the central data repository. This kind of project is very easy to describe, but very difficult to execute.
by zinekeller | 2025-05-14 15:50:59+00:00
Eh, assuming it's 4G LTE (or above), it's literally the same thing as Wi-Fi calling. This is technically called IMS (IP Multimedia Subsystem, https://en.wikipedia.org/wiki/IP_Multimedia_Subsystem), and is powered by "magic" DNS (no kidding, everything points to 3gppnetwork.org) and literal IP + IPSEC. Even when your phone is connected to Wi-Fi, it enters a special mode called IWLAN which powers your Wi-Fi calling, SMS, and RCS. The only actual factor here is if the ISP that you have versus your mobile network has a good peering.
Ask HN: Is Cloudflair Reasonable?
by coderatlarge | 2025-05-14 15:51:04+00:00
as someone who has to live behind a great firewall, I find myself using Expressvpn and other VPN products by necessity - as a result I end up staring at cloudflair pages much more often than I would expect. i can’t help but feel that cloudflair is making vpn users’ lives miserable for their own gain. is there any evidence either way?
by gwbas1c | 2025-05-14 15:52:04+00:00
> I don't own a single 4k or HDR display

Don't feel like you have to. I bought a giant fancy TV with it, and even though it's impressive, it's kinda like ultra-hifi-audio. I don't miss it when I watch the same show on one of my older TVs.

If you ever do get it, I suggest doing for a TV that you watch with your full attention, and watching TV / movies in the dark. It's not very useful on a TV that you might turn on while doing housework; but very useful when you are actively watching TV with your full attention.