MurphyA/hacker-news huggingface dataset:
by thomasmg | 2025-06-11 12:51:00+00:00
From what you describe, I think you have a somewhat special use case: it sounds like you are compiling it. The experiments done in the survey are not: instead, the hash function is used in the form of a data structure, similar to a Bloom filter ("deserialized" in your words). Do you use it for a parser? How many entries do you have? The survey uses millions of entries. "Startup time in the query time": I'm not quite sure what you mean, I'm afraid. Could you describe it?

I'm also not sure what you mean with "check for false positives"... each entry not in the set returns a random value, maybe for you this is a "false positive"? A typical solution for this is to add a "fingerprint" for each entry (just a hash value per entry) - that way there is still some false positive probability, which may or may not be acceptable (it is typically considered acceptable if the hash function is cryptographically secure, and the fingerprint size is big enough: e.g. 128 bits of the SHA-256 sum). Depending on the data, it may be faster to compare the value (eg. in a parser).
by xpe | 2025-06-11 12:51:03+00:00
I can hear the whooshing sound accompanying the snark... I'm talking about how this is communicated. I'd suggest that Apple say something like "200+ developer frameworks" rather than counting up the number of individual methods or functions.

Here is a summarization provided by Claude after I back-and-forthed it a bit:

--

Apple Developer Frameworks

This list represents the vast ecosystem of frameworks available to developers for building applications across Apple's platforms.

I. Foundational Frameworks

These provide the fundamental services and data management capabilities for all applications.

- Core Frameworks: Essential for data types, collections, and low-level services. Examples: Foundation, Core Data, Core Foundation

- Security: Manages user authentication, authorization, and cryptographic services. Examples: CryptoKit, LocalAuthentication, Security

- App Services: Supports core application functionalities and integrations. Examples: Contacts, EventKit, StoreKit, WeatherKit, ClockKit

II. User Interface & Experience

Frameworks for building the visual elements and user interactions of an application.

- UI Frameworks: The primary toolkits for constructing user interfaces. Examples: SwiftUI, UIKit (for iOS/tvOS), AppKit (for macOS)

- Services: Provides access to system-level services with a UI component. Examples: MapKit, CloudKit, Core Location, PassKit

III. Graphics & Media

For creating rich visual content, games, and handling audio/video.

- Graphics & Games: High-performance 2D and 3D graphics rendering and game development. Examples: Metal, SpriteKit, SceneKit, RealityKit

- Media: Manages the playback and processing of audio and video. Examples: AVFoundation, Core Audio, VisionKit

IV. Machine Learning

Enables the integration of intelligent features into applications.

- Core ML & Vision: The foundation for machine learning models and computer vision tasks. Examples: Core ML, Vision, Natural Language, Speech

- V. Platform-Specific Frameworks

The number of available frameworks varies significantly across Apple's operating systems, reflecting the unique capabilities of each platform.

- macOS: ~250+ frameworks

- iOS/iPadOS: ~200+ frameworks

- watchOS: ~50-60 frameworks

- tvOS: ~35-40 frameworks

- visionOS: A growing set of frameworks for spatial computing.
by perrygeo | 2025-06-11 12:51:12+00:00
There's a real biological basis for our reluctance to engage with large groups. Dunbar pins the number at 150 and claims its limited by our brain's computational capacity. Below 150, humans seem to comfortable monitoring our relationship with everyone and able to keep trust high amongst the complexity of interrelationships. Above 150, we start "losing track" and no longer feel a tight connection to the group. More importantly, above this threshold and no one person can police for defectors or bad behavior. Individuals who don't share the same values can hide out in the group and take advantage of it. Once that trust becomes harder to establish, the group dynamic changes and game theory kicks in.

https://www.sciencedirect.com/science/article/abs/pii/004724...
by jqpabc123 | 2025-06-11 12:51:29+00:00
Yes, there may be cases where "faux" support is attractive. These aren't exactly a ringing endorsement of AI since the real objective involves frustration.

For every one of these, there are others where AI inadequacy may just drive customers away. And non-monopolies can't afford to do this.

https://apnews.com/article/mcdonalds-ai-drive-thru-ibm-bebc8...
by unnah | 2025-06-11 12:51:37+00:00
You can put pointers inside data structures on the heap, similarly to what you would do in C. The functions that process those data structures only need local variables (or stack slots) for a few pointers, and with those pointers they can fetch more pointers from the data structures on the heap. In principle the entire program can be structured pretty much identically to C, although in Forth you would typically split the code into smaller functions, and often use the stack instead of local variables.
by taneq | 2025-06-11 12:52:25+00:00
That’s precisely the problem, though. The internet is already rapidly filling with AI-generated slop, and it takes a non-trivial amount of human brain power to determine whether the how-to article you’re reading is actually a reliable source or whether it was churned out to generate ad revenue.

The infinite number of monkeys with typewriters are generating something that sounds enough like Shakespeare that it’s making it harder to find the real thing.
by wilkinsonsmooth | 2025-06-11 12:52:26+00:00
With the discussion specifically the last few days of UI themes on iOS and Android, I haven't really seen any one point out the biggest difference between the two. On Android you can change basically everything you want. You don't like the way the new theme makes your apps looks? Then find something you do like instead. You can change all your app icons, the colours of all your buttons, you can change out your home app altogether. There are certain things you are stuck with depending on your device manufacturer and their own brew of Android, but you can customize the device way more than any Apple device.

That's one of the things that has kept me away from Apple devices, is that you can't change basic things about how they look or operate. It's all on Apple's terms. I also dislike how they add the most basic things, like changing the background on your chats, and act like they just invented it.
by sorcerer-mar | 2025-06-11 12:53:16+00:00
You presumably know this but just to clarify for other readers: it's if you willingly give your data to a third party (the airlines) and the third party willingly gives it to the government, then it's not a violation for the government to use it.

Note there's an exception for cell tower data because courts ruled that cellphones are absolutely necessary for people to live their lives today. They collect so much data that applying Third Party Doctrine to that data is tantamount to a 24/7 100% carte blanche surveillance system across the entire country, so SCOTUS carved this one out.
by fidotron | 2025-06-11 12:53:32+00:00
> FirefoxOS was never going to eat Apple's lunch it was going to eat Google's.

Aside from all else, and what about the very responsive Windows Phone 7 or similarly flawed WebOS? Let alone all the feature phones, Blackberry etc. This was an enormously competitive era, and Google had to do some serious fighting to secure the future of Android at that time.

Phone manufacturers do not exist to serve the bidding of the software builders, they actually have to make money, and doing that requires looking at least superficially competitive. The primary way users experience that is through the graphical interface on the device, hence why my then employer made incredible amounts of money selling game builds for all these other devices to demonstrate how close to iPhone equivalent they were.

It's no accident that the Android golden age began with fusing the UI concepts of WebOS that worked with a rendering pipeline that started to make sense for the hardware it was on.
by deivid | 2025-06-11 12:53:52+00:00
Cool project, but I'm missing what does this "remapping" do that the glasses can't do by themselves?

I see the glasses are connected (via usb-c?) to the OrangePi.

Is this project converting HDMI signal to the Viture protocol? if so, can't you run a screen grabber directly on your machine and send it to the glasses?
by shortformblog | 2025-06-11 12:54:16+00:00
This is good to have. A few months ago I was testing a S3 alternative but running into issues getting it to work. Turned out it was because AWS made changes to the tool that had the effect of blocking non-first-party clients. Just sheer chance on my end, but I imagine that was infuriating for folks who have to rely on that client. There is an obvious need for a compatible client like this that AWS doesn’t manage.
by tveita | 2025-06-11 12:54:28+00:00
Have any social media ban proposals tried to define rigorous criteria for which sites should be covered?

I found this for the the Australian ban: "The legislation does not specify which platforms will be banned. Those decisions will be made later by Australia’s communications minister, who will seek advice from the eSafety Commissioner - an internet regulator that will enforce the rules."

https://www.bbc.com/news/articles/c89vjj0lxx9o
by devon_c | 2025-06-11 12:54:29+00:00
I did research into messenger bots quite awhile ago but stopped for some reason. It might of been that I couldn't trigger it with Hey Meta, but that's before I learnt how to force a friend/groupchat sync. (so might be different now)

It would definitely be better as it's quite a pain for daily use or out and about and more of a tech demo in its current state.
by this_user | 2025-06-11 12:54:42+00:00
I depends on what kind of company you are what and who you need. That may be the problem with Mozilla that they don't really know what they are. They started out as a vehicle for the browser, but then they broadened their mission to some vague notion of "defending the open Internet" or something like that. And since they had enough free cash flow, they were able to get into all kinds of areas and projects where they had no real expertise and set themselves up to fail.

And this is a common management mistake: "We have the money, we need to grow." Meta have basically been doing that for years now, launching all kinds of projects that were mostly failures. But their ad income from FB and IG is more than enough to compensate for that. Google are in a similar position. When was the last time they actually launched a truly successful new product?

Maybe it would be better to let it be. In the case of Mozilla, focus on Firefox on all of the different platforms. On the other hand, not trying to grow is a career risk for management. If you are not implementing a growth strategy, why exactly are we paying you millions per year?
by rgbrenner | 2025-06-11 12:54:46+00:00
I think you misread my comment. I wasn't asking for help. I get consistent good output from Sonnet 4 using RooCode, without needing Gemini for planning.

Edit: I think I know where our miscommunication is happening...

The "think"/"ultrathink" series of magic words are a claudecode specific feature used to control the max thinking tokens in the request. For example, in claude code, saying "ultrathink" sets the max thinking tokens to 32k.

On other clients these keywords do nothing. In Roo, max thinking tokens is a setting. You can just set it to 32k, and then that's the same as saying "ultrathink" in every prompt in claudecode. But in Roo, I can also setup different settings profiles to use for each mode (with different max thinking token settings), configure the mode prompt, system prompt, etc. No magic keywords needed.. and you have full control over the request.

Claude Code doesn't expose that level of control.
by wilkinsonsmooth | 2025-06-11 12:55:02+00:00
One thing about the Apple Liquid Glass announcement from the other day is neither here nor there is how it was worded. They kept referring to it as a 'new material' and I thought at first it was a joke or something because to me it looked like a UI update. I thought it was all tongue-in-cheek maybe but they just kept up the idea that it was a real physical material for a lot of the post about it.
by clx75 | 2025-06-11 12:55:15+00:00
I am fascinated by the idea of building something like the Lisp Machines or Smalltalk 80 from scratch. Build a Forth in assembly, build a Lisp in Forth, build an OS and computing environment in Lisp. AOT-compile only the Forth interpreter, load and compile the rest from source during system boot, maybe with later stages optimizing the previous stages as the system is assembling itself.

I imagine two languages - Langsam and Schnell - intertwined in some sort of yin-yang fashion. Langsam is slow, dynamic, interpreted, Schnell is fast, static, compiled. Both would be LISPs. Schnell would be implemented as a library in Langsam. If you said (define (add x y) (+ x y)) in Langsam, you would get a Langsam function. If you said (s:define (add (x int) (y int)) (+ x y)) in Langsam, you would get a Langsam function which is a wrapper over a JIT-compiled Schnell function. If you invoke it, the wrapper takes care of the FFI, execution happens at C speed. Most of the complexity typical of a low-level compiled language could be moved into Langsam. I could have sophisticated type systems and C++ template like code generation implemented in a comfortable high level language.

This latter part I managed to partially implement in Clojure and it works (via LLVM), it would be just too much effort to get it completed.
by bettercaust | 2025-06-11 12:55:39+00:00
I'm going to reply here to both comments.

I didn't contest the relationship between regular exercise and health. The questions I raised were: what evidence is there that [malnutrition] is a significant contributor to infectious disease in countries like the US? What evidence is there that an otherwise healthy immune system could be "boosted" with proper nutrition and elimination of environmental toxins to the point that it would have a meaningful impact on infectious disease?

I agree with all of these solutions for encouraging regular exercise, and I'm open to the solutions for encouraging healthier nutrition.
by yupitsme123 | 2025-06-11 12:55:40+00:00
I don't doubt that Trump's goal is to escalate and take advantage of the situation.

But the fact that LA and cities like it accept a high level of lawlessness and destruction of property as "normal" already casts doubt on their willingness or ability to handle the situation.

Their recent track record is not good when it comes to law and order, and people living there deserve to not live in danger or fear of mob destruction.
by em-bee | 2025-06-11 12:56:37+00:00
if you are not already, stay connected to the ladybird dev community. don't complain to them about the difficulty to build, but keep an eye out for others having the same challenges. see if there are others also trying to build on MacOS and share your experience. perhaps together you can overcome the issues.

the majority of ladybird contributors are probably on linux, so mac support may take some extra effort. consider if you can work with a linux container or VM instead.

i just checked their discord, there is a "build-problems" channel, where you may be able to ask for help.

don't give up. one step at a time. we need more alternative browsers, so i hope you will be able to contribute.
by devon_c | 2025-06-11 12:57:03+00:00
I really wish Reality Labs would open up their API but with meta ai and llama I doubt that'll happen.

For open source glasses there's a few potential options, I think omi.me has an open smart glasses project.

I'm surprised no one has found a way to properly jailbreak them, it's a bit out of my wheelhouse but would be fun to try one day.
by avaika | 2025-06-11 12:57:04+00:00
>What happens when the 3 presidents disagree? Maybe the trick is to incentivize consensus-driven decisionmaking?

That's where High Representative for Bosnia and Herzegovina comes into play. This is external guy appointed by the EU (US also was participating in the appointment in the beginning, but they withdrew themselves from the process quite a few years ago). This guy has the power to fire any (like ANY) politician in the country. And the permission to overrule or enforce any law.

This guy is probably controlled by EU and can't turn into dictatorship mode, but you never know. At the very least two times presidents were fired due to political disagreement.

EU considered to discontinue this practice, but local people encouraged EU to leave things as is. Cause nobody trusts politicians and the systems is still pretty corrupt.

Anyway, whatever decision presidents have to make, all 3 must agree. That's why a lot of controversial topics are hanging for eternity (e.g. recognition of Kosovo).

When country was trying to choose a national flags, all the parts couldn't find the agreement for a long time. That's why High Representative just approved his own version nobody really liked. So today if you visit the country, you will find Serbian flag in the parts where Serbs live and Croatian flags in the part with Croats. Actual country flag normally is in the parts where majority is Bosnian.
by acdha | 2025-06-11 12:57:05+00:00
A core group of Texas Republicans have for years blocked attempts to require employees to verify worker status because some key donors in that state own construction or agriculture businesses which depend on cheap labor. Having a few raids is good for them politically because it gives them free campaign advertising but it doesn’t cost businesses much since it’s infrequent and the penalties are lower than the amount they save in wages (not to mention indirect benefits like keeping workers from saying anything about unsafe conditions).

https://www.texastribune.org/2025/06/05/texas-e-verify-requi...
by prmoustache | 2025-06-11 12:57:23+00:00
I don't get the thing that by default present cli usage as hard way compared to gui.

This can sometimes be true, but on many ocasion be the opposite: For instance I've been spending 3 hours watching an IT support techician seemingly clicking randomly everywhere to debug why the corporate sec/antivirus on my laptop is saying my configuration is not compliant. The provided gui and accompanied interface to check events is strikingly uninformative, slow and inefficient and having a simple cli tool with a -status or -report flag that would give you the reason it complain would be much easier to everyone involved.
by spwa4 | 2025-06-11 12:57:39+00:00
No, you don't understand. US bad. Middle eastern "natives" good (the absurdity of calling anyone natives in a region that was conquered about 6 times, half the population deported and a fresh group of "loyal" subjects shipped in from elsewhere every 300 years since Julius Caesar vacationed in Egypt is too much for me)

Those natives just committed a large massacre? They're still good. Did a few massacres on their own people on the way? Still good.

US actually got close to a big peace deal? Still bad. The US doing everything for oil? EVIL! (... never mind that without oil the entire region, except Israel, would be worse than Afghanistan in every way imaginable, including human rights)
by kccqzy | 2025-06-11 12:58:25+00:00
I took a brief look at your link. How does this even qualify to be RCU? The read-copy-update paradigm requires that the update step be able to know whether the value to be updated is derived from the recent copy. The set function here doesn't even allow you to atomically compare your read version against the current version. Imagine you are implementing a simple array with RCU; you read the array, make a copy, append to the array, and then you need to atomically compare the array pointer pre-append and set the array just so that you don't lose writes by other threads.
by throwaway290 | 2025-06-11 12:59:37+00:00
When ads are too many blame website owners, as far as I know Google does not hijack websites to put more ads.

Ads done right is the least bad way of supporting free stuff for people who don't want to pay the cost. But people with ubo punish all sites regardless of whether they do ads nicely or not.

You are right now writing in a thread about upcming future where promotion is embedded in the content so that content itself is one big ad disguised as whatever. Do you really think it's a better alternative to clearly delimited and unmistakeable ads?
by quantumHazer | 2025-06-11 12:59:59+00:00
Finally some serious writing about LLMs that doesn’t follow the hype and it faces reality of what can and can’t be useful with these tools.

Really interesting read, although I can’t stand the word “agent” for a for-loop that call recursively an LLM, but this industry is not famous for being sharp with naming things, so here we are.

edit: grammar
by nsagent | 2025-06-11 13:00:03+00:00
Sure, part of the issue is bad hardware support, but most recently I had a Dell laptop for work with Ubuntu on it. It was officially supported, but refused to go to sleep properly, so each morning it would be nearly drained even if it was fully charged the night before.

I had other issues that were not hardware related though. The desktop environment was missing some basic features for things like mouse settings that I had to install community extensions for, which were buggy.

I also had issues with printers, HDMI output, keyboard settings, and more. The list goes on and on. Each was something I spent time on that I haven't had to spend time on with MacOS (it's been a decade and a half since I've used Windows, but I remember it having fewer issues).

BTW, I also dread OS updates on Linux, and that includes server-side. Definitely another pain point that feels more severe than on MacOS.

Anyway, I'm glad that Linux works for some people's usecases, but it feels like it's been in this limbo of quasi-usable for quite a while from my perspective.
by detourdog | 2025-06-11 13:00:21+00:00
The shower is my effort to get away from tile which I find cold to the touch. I also wanted to minimize seams and corners. I have always liked white formica countertops. The only drawback is the it's ability to absorb heat. I don't like the cloudiness of corian.

The 2.0 kitchen countertops will be made of white oak planks like a farm table top. This will be more durable than the formica.
by sevensor | 2025-06-11 13:01:15+00:00
Never? Technical feasibility notwithstanding, nobody is ever going to sell a mass market device that defeats planned obsolescence. That’s the opposite of how our economy works. What they’d do, assuming a competent humanoid robot, is design it iphone style so that you get a good five years and then the software won’t update. At that point you scrap it and buy another one.