MurphyA/hacker-news huggingface dataset:
by magundu | 2025-04-07 18:49:41+00:00
Our use case is to execute test scripts in a sandbox mode. This is multi host and multi region setup. We might run millions of test scripts per day.

One of our engineers found https://testcontainers.com. We find it interesting and it seems like it won’t maintain container live. Instead, it start and remove the container for each test. We might need to implement lock mechanism to run only maximum number of containers at a time. I don’t know whether it fits for highly scalable test cases.
by csense | 2025-04-07 18:50:11+00:00
This is confusing.

A 1920x1080 24-bit RAW image is a file of exactly 6,220,800 bytes. There are only a few possible permutations of parameters: Which of the 4 corners comes first, whether the row-major or column-major order, what order the 3 colors are in (RGB or BGR), and whether the colors are stored as planes or not. (Without planes, a pixel's R, G and B bytes are adjacent. With planes, you essentially have three parallel monochrome images, i.e. cat r.raw g.raw b.raw > rgb.raw) [1]

What the article is describing sounds like something that's not a raw file, but a full image format with a header.

[1] One may ask, how does the receiving software know the file is 1920 x 1080 and not, say, 3840 x 540? Or for that matter, a grayscale image of size 5760 x 1080?

The answer is that, with no header, you have to supply that information yourself when importing the image. (E.g. you have to manually type it into a text entry field in your image editor's file import UI.)
by c10ned | 2025-04-07 18:50:22+00:00
Check your software SDR gain, use higher sampling rates and make sure NFC is enabled.

Otherwise, there might be some other nuances I'm not yet aware of, such as some phones not polling on unlock. I did test iPhone 15 Pro and Pixel 7 for initial POC. Others tested modern Samsungs/Xiaomis - worked as a charm.
by bluGill | 2025-04-07 18:50:38+00:00
Unfortunately I have no clue how to get a company to put money into the open source we use. Not just my current company, but any company. I've sometimes been able to get permission to contribute something I build on company time, but often what I really want is someone on the project to spend a year or two maintaining it. Do the boring effort of creating a release. Write that complex feature everyone (including me) wants.

In decades past companies you to pay for my license for Visual Studio (I think of a MSDN subscription), clear case, a dozen different issue/work trackers. However as soon as an open source alternative is used I don't know how to get the money that would have been spent to them.

Come to think of it I'm maintainer of a couple open source projects that I don't use anymore and I don't normally bother even looking at the project either. Either someone needs to pay me to continue maintaining it (remember I don't find them useful myself so I'm not doing it to scratch an itch), or someone needs to take them over from me - but given xz attacks I'm no longer sure how to hand maintenance over.
by hayst4ck | 2025-04-07 18:50:46+00:00
Date: March 31, 2025.

This was written before they were announced.

It is very likely that the alleged impact of tariffs will be quickly forgotten as negotiations conclude and trade imbalances are resolved - Daniel Lacalle

That's enough to not care about this guy or give him any attention at all. Attention legitimizes. Even my comment contributes to legitimization.

Flag, remember who posted it and understand that they are very poorly informed, and move on.
by jmclnx | 2025-04-07 18:50:50+00:00
Yes, still odd, but I can deal with it.

FWIW, I just found out you can sign commits using ssh keys. Due to how pinentry + gnupg + git has issues on OpenBSD with commit signing, I just moved to signing via ssh. I had a workaround, but it was a real hack, now no issues!

20 years, wow seems like yesterday I moved my work items from cvs to git. I miss one item in cvs ($Id$), but I learned to do without it.
by liendolucas | 2025-04-07 18:51:08+00:00
You're assuming something like all or nothing. As I mentioned I do investing regularly, just as if you were saving money after you paid your bills and you have spare money that otherwise would be sitting in your bank account. Even if I had the amount you mentioned it would be at least for me too risky to do that move. I would do it regularly. If people are taking credits to do that, well they are making an extremely risky move as well. Just because the market could go down doesn't mean that you have to make an all-in move.
by bruce511 | 2025-04-07 18:51:35+00:00
It can be tough, and in some cases measurable numbers are hard to find. That can make prioritization hard.

It's worth keeping open the option that "now is not yet the right time".

One key way to understand the situation well is to explore both thd upsides and downsides of the issue. Its almost never an obvious decision and being acquainted with all points of view really helps both to figure out what is right, whether it's worth doing, if now is the right time, and so on.

If it was obviously necessary it would likely already have been done, so it may be necessary, but it might not yet be time.

Sometimes it comes down to groundwork. Finding out who us affected, and how. (And if you can't find those people, that's a clue too.)
by igouy | 2025-04-07 18:52:15+00:00
> unless one does the mistake of redefining some core class and corrupts the entire image

In which case, one does not save that image ;-)

Or if one chose to save a broken image, one goes back to a previous image and reloads all the more recent logged changes up-to and excluding the change that broke things.

https://cuis-smalltalk.github.io/TheCuisBook/The-Change-Log....
by arbitrary_name | 2025-04-07 18:52:25+00:00
The other commenter covered this:

"in the case of Clinton involved bringing it up for nearly a decade, an FBI investigation, an Inspector General's report on the FBI's and DOJ's handling of the case and a three year State Department investigation. It's only fair to apply the same standard here"

Does that clear it up for you? Do you still need justification to treat this seriously? Or are you a person unwilling to try and address poor leadership because of the (R) after their names?
by NelsonMinar | 2025-04-07 18:52:54+00:00
The specific example I was thinking of was unzip: MacOS couldn't handle zip files over 2GB. At least it couldn't back in 2016, with MacOS 10.11.4. I don't know if it's fixed now. if so, yay! But mainline unzip had fixed this in February 2005, so it took at least 11 years for that to propagate to Apple.

I asked a couple of AIs just now and they think most MacOS utilities now work with big files.
by alephnerd | 2025-04-07 18:52:58+00:00
We gave the carrot already thanks to the IRA and CHIPS act, and it's paid off.

Honda wouldn't be considering expanding it's US manufacturing presence without the billions in IRA subsidizes given to Honda to help their EV transition (eg. moving the Honda Accord supply chain to Ohio in 2023-24)

But now is the time for the stick as well, otherwise all the subsidizes spent on IRA would be wasted by parts co-mingling, transshipment, and other loopholes.
by yodon | 2025-04-07 18:52:58+00:00
Since there are currently no posts mentioning this, if you have down time, build something.

Not because it will make you rich, but because it shows you have the grit to actually do something. It will also keep your skills fresh and/or grow them.

These things do make a huge difference to hiring managers.

Hunting for work in a down economy is hard and depressing. Building something is a excellent way to stave off depression. Much better than self-pity, alcohol, drugs, videos games, or doom scrolling.
by mediaman | 2025-04-07 18:53:01+00:00
There is a happy medium between "AI eating the world" and "AI is a scam," that is generally best described as "AI performing valuable but often boring services within enterprises."

We don't often see that because it gets totally drowned out between cynics and moralist scolds battling vapid hype-bros and pumpers, and also because it's boring.

It turns out there's actually a lot of tedious classification, OCR, entity extraction, and enterprise search to be done.

Amusingly much of the money made in SaaS was also in boring products!
by mavsman | 2025-04-07 18:54:19+00:00
I think this was the whole point of the blog post. As someone else mentioned, this didn't have much to do with AI so referencing AI seems purely like an attempt to capture some eyes for publicity.

I'd actually say that _not_ using AI to prepare for an interview is mistake, putting you at a major disadvantage (and there are plenty of honest ways to use it).
by abustamam | 2025-04-07 18:54:56+00:00
I love magic, and illusions in general. I know that Disney's Haunted Mansion doesn't actually have ghosts. But it looks pretty convincing, and watching the documentaries about how they made it is pretty mind-blowing especially considering that they built the original long before I was born.

I look at optical illusions like The Dress™ and am impressed that I cannot force my brain to see it correctly even though I logically know what color it is supposed to be.

Finding new ways that our brains can be fooled despite knowing better is kind of a fun exercise in itself.
by to-too-two | 2025-04-07 18:55:53+00:00
What did you get from it? I read it, but like most self-help books - I felt like it could've been 1/4 the size. The book could've been 10-20 pages.

Once the message is clear, they become a slog IMO. The author was smart in coming up with something catchy like "deep work" to mean, you get shit done and do some of your best work and learning when you have time set aside being distraction free.
by cadence- | 2025-04-07 18:55:57+00:00
I was able to make it work like this:

1. Kill your Claude Desktop app

2. Click "Connect" in the browser extension.

3. Quickly start your Calude Desktop app.

It will work 50% of the time - I guess the timing must be just right for it to work. Hopefully, the developers can improve this.

Now on to testing :)
by namuorg | 2025-04-07 18:56:12+00:00
Can you try again?

There was another comment that mentioned that there's an issue with port killing code on Windows: https://news.ycombinator.com/item?id=43614145

I just published a new version of the @browsermcp/mcp library (version 0.1.1) that handles the error better until I can investigate further so it should hopefully work now if you're using @browsermcp/mcp@latest.

FWIW, Claude Desktop currently has a bug where it tries to start the server twice, which is why the MCP server tries to kill the process from a previous invocation: https://github.com/modelcontextprotocol/servers/issues/812
by hoseyor | 2025-04-07 18:57:50+00:00
Most likely They are not going to be allowed to rest at all. Especially western humanity is basically sanitizing the whole earth below them of human culture and history and storing it away in boxes and vaults, and ephemeral digital files of dubious quality, centralized for some Library of Alexandria or Dresden Bombing atrocity to totally erase all the centralized records of humanity.

No one seems to think of these types of things, especially in todays world where everything is digital and even in places like America there will be nothing left but rather uninteresting rubbish piles of plastic and other toxic remains left where stick and drywall houses and junky metal warehouses used to be.

There will be no silver lined sheathes of common soldiers, no coins of any kind, let alone gold ones, there will be no hidden manuscripts, not even charred scrolls that could be recovered with the use of AI. There will not even be any buildings and castles that stood the test of time for 1000 years, or any new pyramids because it rich and successful don’t build grand and permanent anythings. Humanity will effectively have not only left a huge hole in history starting in about the 1980s, but there won’t even be anything left to discover in the ground from the past the way we are going. And worst, even the digital history is clearly starting to come under attack with censorship and deletion and even the IP rules where corporations just get to delete what they dem you should no longer have.
by abdullahkhalids | 2025-04-07 18:58:29+00:00
In Pakistan Twitter is banned (and blocked by ISPs) because Twitter won't ban the accounts of people/orgs the Pakistani State doesn't like. So, Twitter is not accessible in Pakistan without VPN (which are psuedo banned as well).

Yet, all the politicians (both government and non-government), media personalities, and many state run institutions actively run Twitter accounts. So it is one of the primary ways to understand what they are saying.
by ianprayvine | 2025-04-07 18:58:46+00:00
It's a good question, and I'm happy to provide more detail about the Personal Support-Raising requirement. Almost all of Prayvine's users raise their own financial support in order to do their mission/humanitarian work. Typically, this means that they ask their friends, family and faith community to partner with them by providing financial, emotional, and spiritual support for their work.

In order to build a better product for our users, I believe that it's important to deeply understand the challenges that they face, including support raising and having to be accountable to and communicate well with a team of donors and partners.

I do not expect the person in this role to raise 100% of their salary. I anticipate about 1 month of focused fundraising per year, and Prayvine would provide whatever amount of compensation is not covered by this fundraising. Because Prayvine is a non-profit organization, donations are tax-deductible and are subject to IRS laws governing donor intent (e.g. donations given to support this role cannot be used for any other purposes).

I know that this is an unusual requirement for an engineering role, and that the fundraising hurdle can seem daunting or strange. My hope is that for the right person, the ability to make a significant global, humanitarian, and spiritual impact is compelling and attractive enough to outweigh these challenges. I know that it has been for me.

I'm happy to answer other questions about this, or other aspects of the role. Please feel free to contact me directly at jobs@prayvine.org.

Cheers, Ian (founder/CEO)
by VWWHFSfQ | 2025-04-07 18:58:51+00:00
> one of the reasons for lua's low adoption

I think moreso is the complete lack of any "batteries included" whatsoever. Not even something so basic as sockets are supported by Lua's stdlib. The ecosystem has had to fill so many gaps and a lot of that is dependent on Leafo and LuaRocks.

I'm hoping the great mlua Rust crate will help build the ecosystem since now it's mostly trivial to build easily-distributable native Lua packages in Rust.
by blokey | 2025-04-07 18:59:45+00:00
For the same reason we spent £1.8m "licensing" iText PDF for Java..... And removing it with extreme prejudice immediately afterwards.

We had very keen developer upgrade all the libraries in our codebase as a "reducing technical debt" task that they decided to undertake themselves.

They couldn't get something working and posted a stack-trace to ask for help..... Some enterprising sales person in iText saw it and emailed them offering to help and asked a question about what they were running and the developer effectively told them they were running version 5 which they didn't even check (or possibly understand) is relicensed under AGPL or commercial license.

The legal threats from iText and the resulting fallout means we now do not allow developers access to the internet from their machines, even via a proxy, they have a separate RDP machine for that.

And they can only pull in libraries that are scanned via jFrog xRay and ensure the license of said library is "acceptable".

On the plus side, means we're doing something about supply-chain vulnerabilities.
by abustamam | 2025-04-07 18:59:48+00:00
That's interesting, that's a good point though.

Fundamentally, patriotism is no different than other kinds of celebrity worship, but practically, more people are willing to do terrible things in the name of patriotism than they are for any A List celebrity. Can substitute patriotism with religion as well. Patriotism seems more akin to religion to me, now that I think of it. I don't know if that is good or bad.
by LinuxBender | 2025-04-07 19:00:00+00:00
I am not an expert in global economics but it may be worth mentioning that both Chairman Xi and Donald Trump have very strong personalities and neither wish to be seen giving in or losing so I could envision this dragging out to it's eventuality whatever that may be. China are losing their workforce and I suspect Donald's advisors are betting on that being a stress point that may force Xi to give in to economic pressure. I could even see this situation being intentional and planned in advance to weaken China prior to any proxy wars. The USA are only about 17% of China's global trade output and only 8.6% of their imports so maybe I am incorrect. For what it's worth I am not on anyone's team so I expect all sides will hate my opinions.
by 9rx | 2025-04-07 19:01:35+00:00
"Yes" doesn't explain your perspective, though. Obviously you can make money selling to other businesses. Nobody would think otherwise and the discussion that was taking place fundamentally wouldn't have been possible if that weren't the case. But what is it that you want to add to the discussion? That is what is not clear.

You put in time to tell us something. It is no doubt interesting. But, unfortunately, it got lost along the way. I am still interested in whatever it may be.
by red75prime | 2025-04-07 19:02:18+00:00
I thought that it might be a rare chance to invoke the NFL theorem appropriately, but I guess I was wrong. The NFL talks about a uniform distribution of problems. A case that is probably never the case. At least for habitable universes.

Nevertheless, the theorem basically states that there are games where AlphaZero will be beaten by another algorithm. Even if those games are nonsensical from our point of view.
by keybored | 2025-04-07 19:02:51+00:00
From the perspective of the business, you need to generate more money than your wage plus whatever else expenses that are associated with your employment. This surplus is what adds up to the profit.

Let’s just put the simplistic “be a profit center” thing at face value. The funny thing is that you can generate 10% surplus or 5X surplus. The difference in benefit to the company is large. But your benefit might not be much. Maybe a wage increase, maybe not. Maybe better job security.

Now others have already questioned the “profit center” line here. With so much alienation in the work force it becomes laughable to claim that you can point to a group of individuals as “the profit center” or “the cost center”. This reeks of political jockying. Is Sales the profit center? Without Sales nothing would be sold... but without Engineering there would be no product.

What ends up happening is that the people who insist the loudest are the ones who get promoted to Profit Center. Maybe.
by refulgentis | 2025-04-07 19:02:56+00:00
I think the ball is being hidden here while responding to a strawman, here's me waving the ball around high in the air:

I agree: other than innumerable exceptions*, 1st amendment says you don't get punished for just speaking something.

* slander & death threats are scratching the surface, a brief tour of SEC cases alone would leave you with hundreds. Easiest one for you to see why the simplistic view espoused is blinkered, is probably...idk, disturbing the peace.
by diggan | 2025-04-07 19:03:05+00:00
> Except that Llama 4's license restricts you from using its multimodal features in the European union

The EU restrictions were added in 3.2's Use Policy, while 3.1 License introduced the restrictions on using model output for training other models. I've collated the changes here: https://notes.victor.earth/how-llamas-licenses-have-evolved-...

Besides that, I agree with what you're saying.
by econ | 2025-04-07 19:03:09+00:00
Or you simply account for it and provide equally challenging tasks adjusted for the tools of the time. Give them access to the best LLMs money can buy.

After all, they will grow up next to these things. They will do the homework today, by the time they graduate the LLM will take their job. There might be human large langage model managers for a while, soon to be replaced by the age of idea men.
by neilv | 2025-04-07 19:03:14+00:00
Incidentally, I really-really like that they asked questions based on the person's resume.

That was typical before some students got handed a lot of dotcom boom money.

(And then somehow most interviews throughout the industry became based on what a CS student with no experience thought professional software development was about. Then it became about everyone playing to the bad metrics and rituals that had been institutionalized.)

You can ask questions based on a resume without them disclosing IP, nor the appearance of it.

That resume-based questions thwarted a cheater in this case was a bonus.
Ask HN: Exercises to learn new programming languages
by jareds | 2025-04-07 19:03:22+00:00
Are there any good sites that provide exercises for learning a new programming language with out focusing on algorithms? I'm currently using AI tools with Python to write code with out much Python experience. While I can read and understand the code I feel like I have a surface level understanding of Python syntax. I'd like to go through exercises that focus on language features like loops, maps, etc, instead of algorithm focused sites such as LeetCode.
by loloquwowndueo | 2025-04-07 19:03:39+00:00
Look at the camera, not at the other person’s eyes on your screen. You are not maintaining “eye contact” but the other person will think you are. Genius!

It’s actually fun how in video calls everybody thinks they’re doing eye contact by looking at other people’s faces on screen which in reality makes them look down and not straight at the camera.
by palmotea | 2025-04-07 19:03:44+00:00
>> I think that Trump’s approach, while more theoretically valid than it is being given credit for, is the wrong one.

> I disagree that Trumps approach is "theoretically valid". So do 16 Nobel Prize-winning economists and the entire stock market.

Trump being wrong doesn't mean "16 Nobel Prize-winning economists and the entire stock market" is right if they disagree with him.

Actually, I'd bet "16 Nobel Prize-winning economists and the entire stock market" have a myopic view that misses a lot of important things. Make a tradeoff that favors one of the things they miss for something they're myopically focused on? They'll scream bloody murder, but no one should listen to them until they wise up and expand their view (which they probably won't, because economics is miasma of dogma and numbers).
by lolinder | 2025-04-07 19:04:04+00:00
> a company that is figuring out how to run back the extinction process

Are they, though? This isn't a dire wolf, it's a wolf with a few genes tweaked to make it look more like a dire wolf. I see no evidence that they have any intention of pursuing the far more arduous task of actually preserving an endangered species or restoring one with all of its actual DNA, and I don't see a compelling reason to believe that introducing a lookalike in the wild will do anything to fill the gap left by the real thing.
by m00x | 2025-04-07 19:05:03+00:00
It's a bacteria, so it causes an infection.

Your body should be able to get rid of it by itself, but if it can't, the infection will grow and be fatal.

It's not just in Malaysia, but typically these cases are rare so it being widespread is worrisome. We have MRSA in North-America, but hospital processes eliminate most of the spread of bacteria through thorough cleaning.

It's not much to worry about if you're in a first-world country, but this may cause a lot of deaths in these countries, and force them to spend more on cleaning procedures.