MurphyA/hacker-news huggingface dataset:
by 1dom | 2025-07-29 15:37:12+00:00
I'm not sure I understand what the offering is here. I read the website, and watched the video, but it doesn't really make sense.

Is Notebook 2.0 just a HTML subset that starts with e.g. <notebook> instead of <html>?

Then what's the notebook kit npm package?

Then there's an editor?

I've come away from the page a little irritated, because starts with hyperbole like "the future of notebooks is here", and then the "hello world" in the new notebook 2.0 format looks like HTML, and a video of what could have just been a generic AI chat window.

Maybe I'm too hungry/tired to make sense of it right now. Will be interesting to read what others think.
by poupeaua | 2025-07-29 15:37:48+00:00
Working with both images and 2D geometry often means juggling multiple libraries, outdated APIs like OpenCV, and complex workflows.

I created Otary to simplify all of that.

It offers a clean, modern interface for visual exploration, quick iteration, and seamless integration of image and geometric operations—all in one place.

Otary is built for anyone working with image processing or 2D geometry at scale—whether you’re a professional building robust systems or a beginner exploring basic tasks.

With a strong focus on code readability and maintainability, Otary simplifies your development workflow. Its API is clean and approachable, yet powerful enough for production use, backed by 98% test coverage from Codecov and an A code quality rating from Codacy.

Otary was developed to be user-friendly: it makes both simple and advanced tasks easier, without compromising on performance or reliability.

You can visit the documentation of the library here: https://alexandrepoupeau.com/otary/
by encom | 2025-07-29 15:37:56+00:00
I have plenty of arguments against Firefox, but engaging in browser holy wars is so tiresome. I used Firefox since before it was called Firefox up until v89 (I think) when I finally had enough. That's when they for the millionth time messed up the UI in new fanciful ways, and removed more features I relied upon daily. It's a pattern going back decades, and the usual tired old argument is, just install this addon to restore the functionality, or add/remove this to userchrome.css, or install whatever from some random Github link. The problem is I first have to spend time and energy finding these things, and then the authors have to keep supporting them in perpetuity. And often it's tiny stupid things like removing "show image" from the context menu, I now have to install an addon for, but it's a feature I use all the time, but their precious telemetry says only 10% (or whatever) of people use it, so it gets axed in the name of minimalism. Inevitably those 10% of users will whine about it on Bugzilla, and inevitably it will be WONTFIXed and comments disabled. I've seen this scenario play out SO MANY TIMES.

I like the idea of Firefox. Not the execution.

After ditching Firefox, I installed Vivaldi, and while it certainly isn't flawless, I can set up every aspect of it how I want, and in the four or so years I've used it - with a few minor exceptions I could revert with in-browser settings - it looks and works exactly how I set it up in 2021.

So in summary, for me it was very much a paper-cuts thing, rather than any single major Mozilla catastrophe.
by CamperBob2 | 2025-07-29 15:38:00+00:00
The OP referred to Germany. Never mind politicians, a quick search brought up a couple of cases where people faced serious penalties including driving bans for flipping off an unmanned speed camera. [1,2] Failure to pay the resulting four-figure fines would certainly have resulted in jail sentences.

I can't find any backing for their assertion that people have gone to jail for obscene gestures toward government entities in either Germany or the UK, but obviously we have already slipped a long way down that particular slope. Apathy doesn't seem like the smart option. It's hard to put it any better than you did yourself: "Here the wolf is clearly visible."

1: https://driving.ca/auto-news/entertainment/middle-finger-to-...

2: https://www.iamexpat.de/expat-info/germany-news/driver-gives...
by brokegrammer | 2025-07-29 15:38:18+00:00
> your application and experience could be still even faster without compilation

I doubt it. Compilation actually improves developer experience and speeds up the process of releasing apps because you have a standardized way to release your app to production.

I seriously can't understand the hate against compilation because it's never been a roadblock for me, especially these days when most builds take a few seconds on slow CPUs. I guess it's cool to hate things for no reason.

> Frameworks also come at a substantial cost. They are highly restrictive, super massive, and almost always unnecessary.

This is highly subjective. Frameworks have been nothing but a huge productivity boost for me. For example, I can spin up feature-complete API using FastAPI in a few hours instead of spending weeks building my own framework to do the same thing.

> People tend to prefer frameworks when they lack the confidence to build without them

Doubt it. People mostly choose frameworks because they want to get work done instead of wasting their employer's money on non-profitable endeavours.

> for those of us that frequently measure things large frameworks are always a net negative

Could be that you're measuring the wrong thing. At the end of the day, engineers need to ship features so that the company can generate revenue. Frameworks are great at facilitating that process. I'm no Math expert but this seems like a net positive to me.
by olavgg | 2025-07-29 15:38:29+00:00
As a Norwegian, I can say that living here is awesome. Unless, you're a business owner, a founder, or have no work experience. The effects of the wealth tax has been insane. Businesses no longer have money to invest and every business that is not state-owned, is in survival mode.

The majority of the "rich" have already moved to another country. Business owners have to sell their business to a foreigner to be able to pay the wealth tax. These business owners use this money to move to another country and retire. Businesses has stopped hiring people without work experience. Even if you have a computer science / engineering degree. The brain drain has already started. The rich no longer invest in local initiatives like local sports, local businesses or volunteering as they are "disconnected". A lot less tax is being paid and to cover for this we need to withdraw more from the oil fund. It may take a few decades to empty the fund. But I think that money will be wasted within a decade if "hate" against rich continues. https://x.com/elonmusk/status/1857694219244048691

I am seriously worried about the future, and I am considering moving to Sweden. I love building businesses, but I feel that the state is stealing resources I need to build a business that can pay tax for the next generations.

The high sick leave thing is another serious matter. But when politicians deflect responsibility when they've made a mistake, especially when public scrutiny or pressure increases, they send a message to the rest of the Norwegian population that it is fine to take a few months off if work is too hard. This has not happened once, this has happened a few dozen times just the last few years. And founders, they do not have the right for a single day of paid sick leave unless they employ themself and pay extra tax.
by Ajedi32 | 2025-07-29 15:39:08+00:00
You say you're anti-DRM but that sounds like a very pro-DRM stance to me.

Within the bounds of personal use, copyright holders should have no say over what people do with media after it is sold. That goes equally when the entity that buys the media is a company rather than a person. The entire reason DRM is a problem is that it subverts that principle using technical means.
by simonw | 2025-07-29 15:39:42+00:00
That's not an example of copying from an existing Space Invaders implementation. That's an LLM using a CSS animation pattern - one that it's seen thousands (probably millions) of times in the training data.

That's what I expect these things to do: they break down Space Invaders into the components they need to build, then mix and match thousands of different coding patterns (like "animation: glow 2s ease-in-out infinite;") to implement different aspects of that game.

You can see that in the "reasoning" trace here: https://gist.github.com/simonw/9f515c8e32fb791549aeb88304550... - "I'll use a modern design with smooth animations, particle effects, and a retro-futuristic aesthetic."
by lesuorac | 2025-07-29 15:39:42+00:00
> Then think about giant private companies like Stripe or Figma. Now you have to be much larger and more mature, which takes a long time.

I don't think this is accurate.

People are chomping at the bit to invest into private companies through Tokens on Robinhood. Private companies do not want to deal with accountability so they remain private.

> I guess I view it as chicken and egg. If the huge mega corp companies were broken up or heavily regulated maybe smaller companies wouldn’t need mergers and acquisitions as much because they would be more stable in a fair competitive environment.

If you didn't allow small companies like Skype to sell to Microsoft then there wouldn't be a Teams to bully Salesforce.
by WaitWaitWha | 2025-07-29 15:39:42+00:00
I suggest that you maybe missing some details around home-schooled children.

> Homeschooled kids often do well on tests - but they all lack an awareness of the real world because they don't meet republicans or non-christians or whatever is outside of their parents groups.

I will assume that in "lack an awareness of the real world", you mean first hand experience with non-scholastic environment of all varieties - If so, this is incorrect. Most home-schooled children have significantly more opportunity to experience "real world" than public school ones. This is because the very nature of home-schooling often involves traveling and often interacting with different people. (e.g., counting money - public school, in class with same teacher same people, home school might take to grocery store and talk to manager who shows how she does it; history - read book, explained by teacher, maybe show pictures, video clips; Home school meet with individuals who lived through or have relatives that told stories, show historical objects.)

If you mean that they lack socialization, that is also incorrect. Homeschool parents often prioritize character development, moral understanding, and meaningful relationships over the large-group peer interactions typical in public schools, which may align better with long-term social fluency but differ from conventional metrics.

Of course, there are terrible outliers where home schooling ends up nothing more just laziness by the parents, and ends disastrously.

[0] Medlin, R. G. (2000). Homeschooling and the question of socialization. Peabody Journal of Education, 75(1–2), 107–123.

Smedley, T. C. (1992). Socialization of home schooled children. [1] Smedley, T. C. (2004). Social Skills: A Comparison Study. National Home Education Research Institute.

[2] McKinley, M. J., Asaro, J., Bergin, J., D’Auria, N., & Gagnon, K. E. (2007). Social skills and satisfaction with social relationships in home-schooled, private-schooled, and public-schooled children. Home School Researcher, 17(3), 1-6.
by PaulHoule | 2025-07-29 15:39:43+00:00
I put a 90mm prime [1] on my Sony, set it to aperture priority, put the strap over someone's head and deputize them to get headshots ("frame it up with the viewfinder and push the button") and they do OK so long as the light is predictable. I wish I could tell the auto mode to let the ISO go higher than it will because I do noise reduction in developing such that there is no real quality loss at 6400.

[1] takes lovely portraits and no focus to deal with
by bwfan123 | 2025-07-29 15:39:54+00:00
Meta interviews in the past have been straight regurgitation of leetcode. They want to measure your flow and typing speed (sarcasm).

So, the interview can now be 2 leetcode hards in 20 min. Earlier, it was typing solution code from rote memory. Now it is furious vibe-coding copy-pasta from one browser window to another.

More seriously, what will the new questions look like ? In the age of LLMs how does one measure ability objectively. Is it with extreme underspecification of the probem ?
by indigodaddy | 2025-07-29 15:40:12+00:00
Did pretty well with a boggle clone. I like that it tries to do a single html file (I didn't ask for that but was pleasantly surprised). It didn't include dictionary validation so needed a couple of prompts. Touch selection on mobile isn't the greatest but I've seen plenty worse

https://chat.z.ai/space/z0gcn6qtu8s1-art

https://chat.z.ai/s/74fe4ddc-f528-4d21-9405-0a8b15a96520
by alganet | 2025-07-29 15:40:27+00:00
From a "matriarchical society" perspective, that wouldn't be my problem to solve or even think of. Power implies responsibility. In that frame of reference, the article is a jab to other women, which makes HN a poor audience pool for this kind of discussion and a weird choice.

From a "we woman screwed up and we don't know what to do but we don't want to go back to the way it was" perspective, well, shit happens. I should assume this is not the case, because it would be hypocritical to concoct a text alluding to that while complaining about emotional openness. It's probably not this scenario.

I think this more as a low-stakes kind of "let's make fun of the inversion of roles" situation, which is what it probably is. Men can't complain about feeling alone or emotionally distant. If they do, they'll sound like what they criticized in the past. It's a simple reversal.

The obvious conclusion a hypothetical scumbag male would propose is some kind of balance, in which such reversion reveals the need for a more balanced role. However, this frames the discussion into a "hetero first-world problems" that desensitizes and angers many other audiences, therefore it makes no sense to pursue in the world we currently live in.

This multi-emphatetic commentary could be seen as a way to avoid the discussion completely, and "not making a choice", which is indeed a problem. However, if empathy to how multiple audiences would interpret the situation is seen as weakness, I think there are more problems we need to solve before opening the discussion about emotional vulnerability in men.

I think this can be effectively solved with some generations men who progressively fail to fill increasingly difficult shoes to fill. It's fine, let us be the rethorical sacrifice (not speaking for every men though).

One might interject to my reply as "You said nothing, you fight for nothing", and I would answer "Precisely!"
by greenavocado | 2025-07-29 15:40:36+00:00
The elephant in the room that makes or breaks learning GENERALLY is encoding ability. Spaced repetition is far less effective if you don't build meaningful encodings for knowledge you are learning.

Next up is LEARNING first, then remembering. Grinding trivia is not learning.

Combine elaborative encoding + self-explanation + dual coding as your core encoding triad. Use mnemonics selectively for hard-to-remember facts. Embed spaced and interleaved practice into your review schedule via tools like Anki or RemNote.
by dillstead | 2025-07-29 15:41:00+00:00
I wrote the project entirely for fun, as a learning experience and because of that I have not extensively tested it. At the moment only ELF files of type ET_EXEC can be injected.

I was careful to only inject the thunk (the code that loads the actual relocatable code chunk the the user injects) into the available padding at the end of the text segment, injecting anything larger runs the risk of "sliding" the next segment (usually the data segment) over thereby breaking references to static data from code.
by haar | 2025-07-29 15:41:27+00:00
Apologies if I was unclear.

The more I've used it, the more I've disliked how poor the results it's produced, and the more I've realised I would have been better served by doing it myself and following a methodical path for things that I didn't have experience with.

It's easier to step through a problem as I'm learning and making small changes than an LLM going "It's done, and production ready!" where it just straight up doesn't work for 101 different tiny reasons.
by m4rtink | 2025-07-29 15:41:42+00:00
You can do very low cost rotating gravity if you don't mind some of the downsides. Eq. you can basically split your craft to 2 pieces of ~same weight, connect them with cables and have them rotate around the shared center of mass in the middle.

This scales from two tiny one-person capsules up big habitats, until you end up hitting structural limits of available materials for the cables.

Might be less practical than a full rotating ring, but should be much cheaper & more flexible - you can just winch the cables in and out to regulate gravity or switch back to a combined zero gravity configuration.

The main issue being moving stuff between the two sections - but if you put cargo, fuel, power supply, etc in one section & living space in the other, it should be fine. Or you can have some crawlers going back and forth via the cables.
by ceejayoz | 2025-07-29 15:43:00+00:00
> This is unrelated to sycophancy.

"It's a stunning piece. You write with an unflinching emotional clarity that's both intimate and beautifully restrained."

> They are not some new, surprising development.

OpenAI sure seemed surprised. https://openai.com/index/sycophancy-in-gpt-4o/
by Ensorceled | 2025-07-29 15:43:03+00:00
Not just being inflammatory, but most people who have a "if the government says they need to protect the children, I'm happy to give up a bunch of rights and privacy" reaction tend to be in the "ok with authoritarianism" group.

Also, we are up in arms about the introduction of government tracking is 1) it's not JUST government tracking, the age restricted sites will also get your PII and 2) most people get concerned when governments start getting involved in things regarded as private, like sex, porn, etc. 3) What will require verification is unclear "age restricted content" is pretty open.
by wing-_-nuts | 2025-07-29 15:43:56+00:00
C# as popular and commonly used as java? Hmm either I'm woefully behind the times, most java devs aren't answering SO surveys, or the data is wrong. Then again the fact that C# is used in indie game dev probably gives it a serious boost in the 'evangelical user' category. It is a nice language, I just find java to be far more used in industry.

Also, the editors? I'm sorry I've simply never gotten vsCode when jetbrains and neovim exist, much less N++.

Regardless I think I have to acknowledge that maybe I'm not your average dev. TBH your average dev is probably very happy coding up react widgets in vsCode, and I'm the grouchy greybeard behind the times.
by lostmsu | 2025-07-29 15:44:03+00:00
> "sexy" ... web frameworks, LLMs ... on Macs

Oh my, I don't even know where to start on this one. If programming is sex, web programming is submission. Sure it sounds fun, but not for regular people. As for LLMs I can't imagine a situation where I'd want to run them on Macs and ditch my Nvidia graphics.

The real reason is that Windows users are just not very loud.
by mandmandam | 2025-07-29 15:44:05+00:00
> 'Bashing' is a human trait. Software on the internet carries no such emotion.

> software doesn't have this emotion you are trying to personify.

Your best defense against accusations of classism is that you're software??

... Hate to break it to you bud, but bots can have classism built in too. Also, I'm fairly sure bots are banned here. Feel free to see yourself out.
by seanw444 | 2025-07-29 15:44:09+00:00
If you don't plan to do anything graphically-intensive, you don't even need to pass a GPU through. But GPU passthrough is the smoothest experience by far. The downside is that you have to switch display inputs back and forth between passed-through GPU's output, and host output, if you're using the same monitor. And then the easiest way to share a keyboard and mouse between the two is a cheap KVM.

The biggest things are that you probably want a newer kernel, and your motherboard needs proper IOMMU layout to isolate the GPU. This is "the" tutorial if you're interested:

https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Wi...
by alsetmusic | 2025-07-29 15:44:52+00:00
Apple made an advertisement about the PowerMac G4 as a "supercomputer" because of onerous export controls related to encryption way back. It's more cheeky, I think, than serious. But then again, I haven't looked into it beyond just remembering that it happened.

https://www.youtube.com/watch?v=OoxvLq0dFvw
by zackmorris | 2025-07-29 15:45:01+00:00
Right, I should have been more clear about that. Window logic was perhaps the wrong term, since I don't care about resends.

The use case I have in mind is for realtime data synchronization. Say we want to share a state larger than 1500 bytes, then we have to come up with a clever scheme to compress the state or do partial state transfer, which could require knowledge of atomic updates or even database concepts like ACID, which feels over-engineered.

I'd prefer it if the protocol batched datagrams for me. For example, if we send a state of 3000 bytes, that's 2 datagrams at an MTU of 1500. Maybe 1 of those 2 fails so the message gets dropped. When we send a state again, for example in a game that sends updates 10 times per second, maybe the next 2 datagrams make it. So we get the most recent state in 3 datagrams instead of 4, and that's fine.

I'm thinking that a large unreliable message protocol should add a monotonically increasing message number and index id to each datagram. So sending 3000 bytes twice might look like [0][0],[0][1] and [1][0],[1][1]. For each complete message, the receiver could inspect the message number metadata and ignore any previous ones, even if they happen to arrive later.

Looks like UDP datagram loss on the internet is generally less than 1%:

https://stackoverflow.com/questions/15060180/what-are-the-ch...

So I think this scheme would generally "just work" and hiccup every 5 seconds or so when sending 10 messages per second at 2 datagrams each and a 99% success rate, and the outage would only last 100 ms.

We might need more checklist items:

( ) Doesn't provide a way to get the last known Maximum Transmission Unit (MTU)

And optionally:

( ) Doesn't provide a way to get large unreliable message number metadata
by nickpsecurity | 2025-07-29 15:45:03+00:00
I do want to note about the secure, update claim that there is a tension between providing systems that can't receive false updates and giving users control of their hardware. Solutions for the former often prevent the latter.

An alternative would be to have the firmware show a description of the signed content, like version information, that the user must OK. It might show it along with the current version with a warning if versions are downgrading or the whole thing is changing. The warning might tell you to be sure of the source of this update. If it's the same software, and another version, it might be set to automatically update.

If it's the lowest-level, unrecoverable firmware, I like it being hard for attackers to change it. One idea I used to push was putting that in EEPROM with a jumper (or switch) required to update it. The software will have already performed numerous checks from the kernel state to the payload with external inputs (eg networking) shut down. If malicious, it can't do anything without that physical interaction.

The regular, update mechanism which uses other storage is in that EEPROM. It has highly, security-enhanced mechanisms for updates. It might even have it's own partition if it's a microkernel-based system. So, we have one that's hard to attack with software while the other takes physical attack or social engineering. Also, I think a Chromebook or something implemented a ROM/flash combo.