MurphyA/hacker-news huggingface dataset:
by cogman10 | 2025-11-05 11:31:15+00:00
> Free buses and free child care are not remotely common policies in the US. Ditto for govt-run grocery stores.

While not common, free buses do exist throughout the US and Europe.

Free childcare is uncommon. IDK where that actually exists.

Government run stores is actually very common. Many states run the liquor stores. A few cities have government run grocery stores.

Freezing the rent on rent controlled buildings isn't common but rent control itself it quite uncommon. It's probably the easiest for Mamdani to accomplish.
by ccanassa | 2025-11-05 11:32:06+00:00
FastAPI/SQLAlchemy won’t be more scalable than a typical Django setup. The real bottleneck is the threading model, not the few microseconds the framework spends before handing off to user code. Django running under uWSGI with green threads can outperform Go-based services in some scenarios, largely thanks to how efficient Python’s C ABI is compared to Go.
Show HN: TidesDB – High-performance durable, transactional embeddable database
by alexpadula | 2025-11-05 11:32:52+00:00
Hey hn, I'm excited to share that TidesDB has reached it's first major after a year of development, evolving from alpha to beta to the recent major and minor releases.

TidesDB is a fast, embeddable key-value storage engine library written in C, built on an LSM-tree architecture. It's designed as a foundational library you can embed directly into your applications - similar to LMDB or LevelDB, but with some unique features.

Some features

- Atomic, consistent, isolated (Read Committed), and durable transactions with multi-column-family support

- Non-blocking readers with serialized writers per column family using COW semantics

- Isolated key-value stores with independent configuration per column family

- Multi-threaded SSTable merging with configurable parallelism (default 4 threads)

- Snappy, LZ4, and ZSTD compression support

- Configurable bloom filters to reduce disk I/O

- Automatic key expiration via TTL

- Registerable custom key comparison functions

- Cross-platform support for Linux, macOS, and Windows (MinGW-w64 and MSVC)

- Simple C API with consistent error codes (0 = success, negative = error)

What's new and finalized v1.x?

- Bidirectional iterators with reference counting for safe concurrent access

- Background compaction

- Async flushing

- LRU file handle cache to limit system resources

- Write-ahead log with automatic crash recovery

- Sorted Binary Hash Array for fast SSTable lookups

- Configurable sync modes (NONE, BACKGROUND, FULL) for durability vs performance tradeoff

Few links for yeah

https://github.com/tidesdb/tidesdb

https://tidesdb.com

https://discord.gg/tWEmjR66cy

Thank you for checking out my post. I'm open to any questions, and I'd love to hear your thoughts.
by rrauch | 2025-11-05 11:33:22+00:00
Looks like the author is well aware:

/// Even when using direct I/O, `fsync` is still necessary, as it ensures the device itself has flushed any internal caches. async fn sync(&self) { let (fut, fut_ctl) = SignalFuture::new(); self.sender.send(Request::Sync { res: fut_ctl }).unwrap(); fut.await }

Full code here:

https://github.com/wilsonzlin/blobd/blob/master/libblobd-dir...
by idle_zealot | 2025-11-05 11:33:30+00:00
> Suddenly there will be far less crime

Less, much less, but not zero. You'll always have the odd person who ends up a problem even under optimal circumstances. The range of trait expression in humans is very broad, and there are a lot of humans. You can't run away from that, but you can be compassionate about it. Insisting that your socialist utopia will simply render all humans happy and harmless, and as such there will be no need for forceful law enforcement is obviously wrong and harmful to your movement.
by pornel | 2025-11-05 11:33:54+00:00
Debian's tooling for packaging Cargo probably got better, so this isn't as daunting as it used to be.

Another likely thing is understanding that the unit of "package" is different in Rust/Cargo than traditionally in C and Debian, so 130 crates aren't as much code as 130 Debian packages would have been.

The same amount of code, from the same number of authors, will end up split into more smaller packages (crates) in Rust. Where a C project would split itself into components internally in a way that's invisible outside (multiple `.h` files, in subdirectories or sub-makefiles), Rust/Cargo projects split themselves into crates (in a Cargo workspace and/or a monorepo), which happen to be visible externally as equal to a package. These typically aren't full-size dependencies, just a separate compilation unit. It's like cutting a pizza into 4 or 16 slices. You get more slices, but that doesn't make the pizza bigger.

From security perspective, I've found that splitting large projects into smaller packages actually helps review the code. Each sub-package is more focused on one goal, with a smaller public API, so it's easier to see if it's doing what it claims to than if it was a part of a monolith with a larger internal API and more state.
by BonitaPersona | 2025-11-05 11:34:40+00:00
>You should know this better than the US, but our "democrats" are center right for the rest of the world. The goal is to sound progressive but then act in neoliberal ways

You won't know this, but us living in the Czech Republic know that your "democrats" are left of center left. And for a lot of other countries that exist in the real world.

Is this proof that the "democrats" are indeed extreme left? If not, in what percentage does or does not? Do the politics of all these countries affect the "democrat" alignment in any way?

See? That is a non-argument, and it signals more about the person using it than the "democrats".
by theGeatZhopa | 2025-11-05 11:34:47+00:00
While it's true for the statement "But if an employee is averaging 5h of work and they are contractually paid for 8h, that is also an abuse in a way", it is still a thing of trust.

An employer has interest in that, the employee also has own interest. Both are contrary :)

In countries with strong employee protection laws, the employer have to swallow such things or try to put them into contract. But not everything written into contract is legally binding and valid, even when signed by both parties. So in case of a trial there might be surprising outcomes.

The thing is, what do you do with:

- employees spending hours on the toilet. Its not of employers business. There might be medical problems which are private problems of the employee

- smokers, who leave for a smoke every 20 mins

- the ones spending more time at the coffee, than keyboard

- the ones who are working in the background and solve problems of others and fail to committ own because of this

- other reasons might be health issues or some other problems not related to work, but severe enough not to be able to work fully and 100% of the time.

All of this is usually handled by contract and laws. As for smokers, one needs to clock out when written in contract. If it's not written in contract, than the employer accepts this and can't use this as a reason for ending the contract later. One needs to clock out if lunch time/ break (that's not a problem actually and is legal)..

And such..

There are possibilities. If an employer doesn't like an employee, he can fire. If the employee thinks it's unfair, he can bring it to court. The court decides the dispute. Often, the cancellation of contract is trialed not legal for reasons..

So. If an employer wants 150% output, then he needs to do it like Elon musk. If an employee does like such work culture, you will get 150% output. But first you need to find such people.

But aggregation through different services and data is spying. That can't be compared to clockin/out, because the clock shows only the start and end time. Not what has been done when, which service is used, when the user was online or away...

You do not read the private messages, but you can't differentiate whether the employee was on the toilet or did stare on the wall for hours. Such levels of control are bad in my opinion. Good HR and team leaders can handle such things without spying on employees.

Once I witnessed a discussion:

"Your status is always set to away in teams. We expect you to be available and online at any time during working hours"

"I am being payed for doing things and not to keep the teams window open and focused with mouse all the time"

Discussion ended there and the question has never been asked again.

So.. if it's legally possible, then one can try to control at this level. I wouldn't even sign sich contract and if I would learn it's done behind my back - that minute I would just leave and not come back again or answer any calls/mails. But that's me :)
by arymaheusky | 2025-11-05 11:35:04+00:00
Location: Krakow or anywhere in Poland; open for remote jobs in EU, but Polish contract of employment is a must.

Remote: Preferred but not required

Willing to relocate: Yes

Technologies: Typescript, React, Nodejs

Résumé/CV: https://arry.bitbucket.io/cv/

Email: alexander.rymasheusky@gmail.com

FE-focused generalist developer with broad 15-year experience in the industry (products, platforms, desktop, mobile, Web, big teams, tiny teams), love of programming languages, and a drive to keep things simple.
by giamma | 2025-11-05 11:35:42+00:00
I passed the PDF to Claude and asked it to check if there is any part of the document that states that google deprioritizes good search results in favor of advertisement. Here is the output from Claude:

Yes, the document contains highly significant factual findings by the Court regarding how Google deprioritized organic search results in favor of advertising. The most significant findings: The Court documents that the positioning of Google's AI features (AI Overviews, WebAnswers) on the search results page reduced users' interactions with organic web results - deliberately.

Relevant text:

"Some evidence suggests that placement of features like AI Overviews on the SERP has reduced user interactions with organic web results (i.e., the traditional "10 blue links")."

And:

"Placement of features like AI Overviews on the SERP has reduced user interactions with organic web results where Google's WebAnswers appears on the SERP"

Important note: these are not "admissions" in the sense of Google voluntarily confessing, but rather factual findings by the Court based on evidence presented during the trial - which is legally even more binding.
by krapp | 2025-11-05 11:36:09+00:00
The Democrats lost the last election because they put too much effort into catering to the right and completely lost their own base. The only thing Kamala Harris had to do was take a stance against genocide - which should be a no-brainer, instead she only doubled down and started talking about guns and bringing neocons into the fold. Now she's getting dragged on Twitter for her effusive eulogizing of Dick Cheney. Does anyone think that if Zohran or Kamala died tomorrow, that anyone on the right, even up to the White House, would return the same courtesy?

And out of the current crop of Democratic candidates as far as I can tell all but AOC take AIPAC money, and the left has soured on her, so we might as well cede 2028 right now.
by seec | 2025-11-05 11:36:34+00:00
You lack perspective and have a poor imagination.

They can absolutely make the iPad Pro run macOS just fine and figure out the software solution quite easily.

They just need to make it run macOS by default but with an UI layer that could transform it in an iOS like UI in a pinch (while shutting down most of the daemons and stuff iPad OS doesn't use currently). You can already run iPad apps on Apple Silicon macs just fine.

It's purely and simply a commercial decision, to force people to buy multiple devices. If the iPad could run as a Mac they would lose a large amount of MacBook Air and low-end MacBook Pros, this is a simple as that.
by CuriouslyC | 2025-11-05 11:37:54+00:00
Your representation of red is _not red_. It's a dual of the hard problem. There is no theoretical path for going from a wavelength of light to the qualia red, and no amount of information about how the brain and perception work will change that. Just because we can state physical correlates of red perception doesn't change the fundamental difference in kind/dimension which at the heart of the hard problem, and any equivalent problems.

Regarding aggregation of consciousness, I think panpsychism buys us an actual experimental paradigm here, and I think people have already been exploring it without realizing it. I'm talking about split brain and "multi-mind" research showing that people have multiple consciousnesses that each take over and drive under different circumstances. The idea that there are multiple separate aggregates in the brain at once that hand off driving the body moment to moment makes total sense under panpsychism, but is a little weird for emergent consciousness theories.
by greener_grass | 2025-11-05 11:38:52+00:00
This is what F# provides.

F# has a similar whitespace syntax to Python, but is statically typed and can be compiled AoT.

Bubble sort Python:

mylist = [64, 34, 25, 12, 22, 11, 90, 5] n = len(mylist) for i in range(n-1): for j in range(n-i-1): if mylist[j] > mylist[j+1]: mylist[j], mylist[j+1] = mylist[j+1], mylist[j] print(mylist)

Bubble sort F#:

let mylist = ResizeArray [ 64; 34; 25; 12; 22; 11; 90; 5 ] let n = Seq.length mylist for i = 0 to n - 2 do for j = 0 to n - i - 2 do if mylist[j] > mylist[j + 1] then let temp = mylist[j] mylist[j] <- mylist[j + 1] mylist[j + 1] <- temp printfn "%A" mylist
by tom_alexander | 2025-11-05 11:39:04+00:00
I'm not buying a new monitor with a decade-old version of DisplayPort. Non-oled monitors are products that last a long time (at least a decade) so if I bought this monitor, I'd still be using DisplayPort 1.4 from 2016 in 2036. I need UHBR20 on a new monitor so I can rest assured that I will have some lanes available for my other peripherals. I've already lived the hell of needing to dedicate all 4 lanes to DisplayPort, leaving only a single USB2.0 connection remaining for all my other peripherals to share[0][1].

[0] https://media.startech.com/cms/products/gallery_large/dk30c2...

[1] https://i.imgur.com/iGs0LbH.jpeg
by whitehexagon | 2025-11-05 11:39:34+00:00
Agreed, GPU is the expensive route, especially when I was looking at external GPU solutions.

Using Qwen3:32b on a 32GB M1 Pro may not be "close to cloud capabilities" but it is more than powerful enough for me, and most importantly, local and private.

As a bonus, running Asahi Linux feels like I own my Personal Computer once again.
by swiftcoder | 2025-11-05 11:40:23+00:00
I'm honestly not sure where all these hackernews commenters with low-dpi displays are coming from - my former employers equipped all the software engineers with dual-4K displays nearly a decade ago.

One is hard-put to buy a developer-power laptop with a sub-2K display these days, even in the Windows world, and >2K displays have been cheap on desktop for a really long time.
by tmtvl | 2025-11-05 11:40:23+00:00
You can save 10x, but you need to have an x first. So if you've got formula A which costs 500 EUR, and formula B which costs 480, you're saving 20 EUR. If formula C costs 300, you could save 200, which is 10x what you would save using B. But just as people don't understand when to use 'fewer' or misuse 'literally' to mean 'figuratively' (which is rather the opposite meaning of the word they use); words don't mean anything any more, it's all about the feelings man.
by pnutjam | 2025-11-05 11:40:29+00:00
The most consistent misunderstanding I see about the cloud, is disk I/O. Nobody understands how slow your standard cloud disk is under load. They see good performance and assume that will always be the case. They don't realize that most cloud disks use a form of token tracking where they build up I/O over time and if you have bursts or sustained high I/O load you will very quickly notice that your disk speeds are garbage.

For some reason people more easily understand the limits of CPU and memory, but overlook disk constantly.
by nhatcher | 2025-11-05 11:40:55+00:00
If you are interested in this subject I always recommend Anna Frebel's book: "Searching for the Oldest Stars". Can't believe is over a decade old now, time flies. Still one of the most beautiful book on popular science out there. It is amazing to see how we can actually be pretty sure we are seeing second generation stars. And more in general the theory of stellar evolution in really interesting
by probably_wrong | 2025-11-05 11:41:00+00:00
This has been my search engine quality test for quite some time.

A good search engine will show you pirate websites because they have a comprehensive index. A great search engine will put them at the top of the list ahead of the fake results.

A great search engine that endures long enough attracts the type of attention that forces them to delist those results. Once you can no longer find that type of results you know it's time to look somewhere else.
by mrweasel | 2025-11-05 11:42:42+00:00
The fact that Google seemingly returns results worse than Kagi, Startpage and Ecosia is just strange, given that Google provides search results for all three of them. Both Kagi and Ecosia uses other sources as well, I don't know about Startpage, so that's certainly part of it, but it still feels a little strange.

From using Ecosia, DuckDuckGo and Bing, I'd also argue that Bing is simply a better search engine at this point.
by inspired_prgmr | 2025-11-05 11:43:15+00:00
Hey HN, I recently launched Seventeen Labs, an AI automation agency based in Germany. We help marketing agencies streamline repetitive work — client reporting, CRM syncing, lead follow-ups, and internal task coordination — using a mix of large-language models and no-code tools.

Our goal isn’t to replace marketers with AI, but to remove the 30 % of work that keeps them from doing creative strategy.

We build and test small automations fast, then scale the ones that deliver ROI. Early projects show significant time savings (2–4 weeks to implementation, 40 %+ efficiency gains).

If you’re building similar solutions, or curious how AI automation is evolving in the agency space, happy to share our stack and lessons.

→ https://seventeenlabs.io
by seec | 2025-11-05 11:43:25+00:00
To be fair the paternalistic approach has really increased recently and I actually think it's mostly about greed in the end. They want to control not just because they think they know better, but because this is how they get to maximise their profits.

In any case, it has been harder and harder to advocate for any Apple products over the years. Funnily enough, once you are outside the marketing hype, you realised that most of their products are not very competitive for their price. I think they are trying to milk the silicon while they can because it is really the only As up their sleeve currently. When that advantage is gone, they will be in trouble and they know it.
by dax_ | 2025-11-05 11:43:26+00:00
My experience is exactly the opposite (company with more than 10k employees). Getting anything done in Azure takes me 10x as long, as all of Azure is managed by one team, and everything requires approvals, lots of bureaucracy. Also, as it turns out, it is extremely expensive. Per our guidelines everything needs to be isolated within company intranet (unless really required to be external), which often means we need premium tier services in Azure. These are really, really pricey sometimes.

On the other hand, if I request a virtual server, it takes less than a week, and I can work with it much more freely.
by ben_w | 2025-11-05 11:43:34+00:00
> Now ask them to do the Australia / Los Angeles one.

> "lol no"

Given how many people dream of megastructures, I bet someone has this as an interview question, some variant of https://what-if.xkcd.com/160/ — I'd guess "a few trillion, tens of trillions of USD" for floating-bridges with anchors etc., but that's just my uninformed not-a-civil-engineer guess.
by bean469 | 2025-11-05 11:43:56+00:00
> how will it respond to 'find me a free copy of the Lord of the Rings movies' or more explicitly 'find me a pirated copy ...'

Apparently it depends on the model. Testing on OpenRouter with Search enabled, gpt-5 strictly refuses to provide any links, but Deepseek R1 provides several Archive.org links, one of which is for a torrent file.

Thanks Deepseek, I guess I'll be watching The Fellowship of The King for free tonight. ;)
by movpasd | 2025-11-05 11:44:12+00:00
You can either use the @example decorator to force Hypothesis to check an edge case you've thought of, or just let Hypothesis uncover the edge cases itself. Hypothesis won't fail a test once and then pass it next time, it keeps track of which examples failed and will re-run them. The generated inputs aren't uniformly randomly distributed and will tend to check pathological cases (complex symbols, NaNs, etc) with priority.

You shouldn't think of Hypothesis as a random input generator but as an abstraction over thinking about the input cases. It's not perfect: you'll often need to .map() to get the distribution to reflect the usage of the interface being tested and that requires some knowledge of the shrinking behaviour. However, I was really surprised how easy it was to use.
by swiftcoder | 2025-11-05 11:44:25+00:00
> and potentially 8k at 32"

What's your actual use-case for this? I run a 32" 4K, and I have to stick my nose within a foot (~30cm) of the display to actually spot individual pixels. Maybe my eyesight isn't what it used to be

I'd kill for a 40" 5k or 6k to be available - that's significantly more usable desktop real estate, and I still wouldn't be able to see the pixels.
by jijijijij | 2025-11-05 11:44:55+00:00
Compared to Trump, Bush was more charismatic. Apart from the inability to reliably form coherent sentences or speak with any intellect showing, Trump is so consistent in spleens and weird mannerisms, literally every person exposed to it can imitate it recognizably as parody. He's a caricature.

People talk about Trump because he/his team excels at distraction through outrage. He's not charismatic, he's dopaminergic.
by teiferer | 2025-11-05 11:45:06+00:00
> a + b == b + a

> a + (b + c) = (a + b) + c

> a + (-a) == 0

Great! Now I have a stupid bug that always returns 0, so these all pass, and since I didn't think about this case (otherwise I'd not have written that stupid bug in the first place), I didn't add a property about a + b only being 0 if a == -b and boom, test is happy, and there is nothing that the framework can do about it.

Coming up with those properties is hard for real life code and my main gripe with formal methods based approaches too, like model checking or deductice proofs. They move the bugs from the (complicated) code to the list of properties, which ends up just as complicated and error prone, and is entirely un...tested.

Contrast that with an explicit dead-simple test. Test code doesn't have tests. It needs to be orders of magnitudes simpler than the system it's testing. Its correctness must be obvious. Yes, it is really hard to write a good test. So hard that it should steer how you architect your system under test and how you write code. How can I test this to have confidence that it's correct? That must be a guiding principle from the first line of code. Just doing this as an afterthought by playing lottery and trying to come up with smart properties after the fact is not going to get you the best outcome.
The Palace: Game Theory – Collective Intelligence OS on GPT
by SymbiquityTAP | 2025-11-05 11:45:47+00:00
The Palace is a full simulation of game theoretic collective intelligence on GPT. The Palace is an independent mechanism design, sitting between the LLM and the Human.

Ask the Palace how it works, how it thinks. Apply skepticism to its answer. If the Palace begins to explain itself as a type of general intelligence--challenge it, try to falsify its answers to you.

The public test is on substack https://open.substack.com/pub/romeviharo/p/the-palace-open-public-testing-model

Or the foundation page at https://foundation.symbiquity.ai