skysight-inc/HackerNews huggingface dataset:
I own an ancient box copy of Adobe Photoshop CS4 and use it just because of muscle memory. Since a year or so, periodically it bullies me with a popup that my unlicensed software is going to be disabled and it shows every 15 minutes regardless if I run Photoshop or not. Can't close it without going to Adobe website.

I'll never going to buy or support anyone in buying anything produced by Adobe. Not going to cry if they go down either.
Meanwhile, if I don't pay off my balance, they ding my credit scores. Seems like they want to have their cake and eat it too.
Over the last couple of years, we have seen an increase in fentanyl hitting the streets, with the cartel bringing the drug across the border to Arizona and California while running the supply upwards to Montana.

Our military is working on cracking down on the situation by increasing the California National Guard deployment and preparing for deployment to stop the trafficking of drugs in the states.
Obsession with pricing the stock is not healthy.

According to western reports, China is at least 15 years ahead of US in Nuclear for example: https://www.reuters.com/business/energy/us-many-15-years-beh...

Or public infrastructure, or transportation, or electric cars etc.

US is stil ahead in some stuff but the list is getting smaller as the market caps getting bigger and people "richer".
Chat Control: Horse Trading While Nobody Is Watching
I switched to Capture One. Not as easy to use as Lightroom, but the RAW processing is actually superior. It's a one time purchase. The professionals can choose to upgrade every year, the casual users can upgrade less frequently.
User is locked out every day when she goes to lunch
I’d flip the question and ask you by what metrics Europes tech sector is performing comparatively well. Employment? Average salary? ARR? I struggle to think of a metric that’s a positive outlier.
Kenya's first nuclear plant: Plans face fierce opposition
Listen, if you don’t trust their ProtonDrive - GPG encrypt before uploading. If you don’t trust their email, GPG your message and paste it in or include as an attachment. There are a lot of ways to be able to use proton without trusting them… and if you are an activist of any sort, like just stop oil or cnd, then I am sure they will be doing all of that.

I am not an activist so I don’t need to jump through such loopholes.

I don’t despise proton as much as I despise most of Silicon Vally though. I just hope they fight every single court order, because there will be lots of good people being targeted. However, I reckon that is wishful thinking.
https://en.wikipedia.org/wiki/Przewalski's_horse

Social structure just like feral horses. Maybe do some research before you tell people they're confused.
A Refresher on GitHub Pages
What if we put the people in charge of an interface, also in charge of the mock for that interface that others can then use in their tests?
Is the 'How to get Scheme' still appropriate even though it was last updated in 2003?
Every country does it from time to time. We are going to see the end of globalisation as we have known it for the last 30+ years. The Russians and the Chinese made everyone realise that it is better to make stuff at home.
For some reason this article gives me flashbacks to the new CTO who comes in and declares 'micro-services' or 'containers' as the perfect solution for some problem that no one has actually run into. The article's author has had their pain points, but it doesn't mean all mocking is bad everywhere in every use case.

I wrote some code recently that detects cycle errors in objects with inheritance and I mocked the DB calls.

- Did I test for DB failures? No, but that's not the goal of the tests.

- Could I have refactored the code to not rely on DB calls? Yes, but every refactor risks the introduction of more bugs.

- Could I have launched a temporary DB instance and used that instead? Yes, but there's no obvious reason that would have been easier and cleaner than mocking DB calls.

In python it wasn't hard to implement. It was the first time I'd used the mock library so naturally there was learning overhead but that's unavoidable - any solution would have learning overhead.
Then he should have said that. Is not clear communication a requirement for CTO these days?

Everything you are describing is about actually testing the database. A database is a complex server and things like db triggers and store procedures should be tested isolation too. And then you have integration tests too.

My team just found a bug that wasn’t covered in a unit test. We found it in a long running API test. And so we added a unit test for the specific low level miss, and a quick integration test too.
> I have started using Alpine for servers - its small and fast.

I'm curious about "fast" here, as for "small" I don't care much - you mean benchmarks doing better on Alpine or fast in which terms?
On HN, you can be sure there are several people who literally believe the world would be better without any regulations or laws forcing businesses to do anything. This place is the pinnacle of anarcho-capitalism.
The funny part of this behavior is (I'd imagine) Adobe would make far more money if they just offered simple plans and a "cancel any time" option alongside a "pay once for one year of upgrades and then that version works/is supported until the support window ends" option.

So many great businesses have been ruined by the need for endless growth leading to dark patterns.
China is not neutral

China supporting Russia in massive military expansion, US says. Beijing helping with drone production, space-based capabilities and ballistic missile production https://www.theguardian.com/world/2024/apr/12/china-supporti...

China is lead by a dictator

Biden calls Xi a dictator https://www.reuters.com/world/biden-calls-xi-dictator-after-...

Germany's foreign minister called Xi Jinping a “dictator” https://www.cnn.com/2023/09/19/china/china-germany-xi-dictat...
Unit testing proves correctness in regard to the test written (not necessarily the correctness of the application itself). They're similar in that they are both typically fast to run, and that they check an aspect of the program for correctness.
Sicp has a js version just fyi
One of the primary issues noted in the article is that not enough cardholders were floating their monthly rent, and instead they were immediately paying it off just to collect rewards.
> Had they done it, the case could be dismissed.

You mean this case? Why should that get it dismissed?

This is about abusive (and unlawful) business practices, not a lack of knowledge on the consumer's end. If the customer had full knowledge of the terms before agreeing it would still be unlawful, the law generally doesn't care that the two parties consented to an abusive business relationship.
I think to have an honest conversation about universal healthcare is to admit that it would cause health care rationing. Costs would be tighter across the board, and the best experiences of health care services enjoyed with (many) corporate plans would degrade, relatively speaking (unless supplemental private insurance continues). Doctors would probably make less profit, not just insurers.

I think it's okay to talk honestly about that. There's a LOT of waste and purely indulgent service in the current system. And as a person striking out on a business venture, I don't need concierge health services. I need a health safety net.

I think it hurts the conversation about UHC when that's waved away - telling people that they'll be bringing the best of low deductible in-network, gratuitously provided services to everyone.

UHC isn't about bringing great service to everyone, it's about bringing a higher level of minimal coverage to everyone.
> Cook said he would “never claim” that its new Apple Intelligence system won’t generate false or misleading information with 100 percent confidence.

Well yeah, no shit, that's the technology they're using. Imagining making the opposite claim: that their system will never suffer from the inherent limitations of the underlying technology. The article even has a short paragraph mentioning that literally nobody else can make any stronger claims than this, yet it's presented as a headline-worthy statement.
Regulation isn't going to stop innovation that much, or the tech industry wouldn't be in california. The primary difference is that the US is one homogenous, huge market.

If I build something in California, to California's laws, and it becomes a success, I can immediately sell it across the entire rest of the US, and I can expand across the US, using the same employment contracts as in california, same lawyers as in california, etc.

Sure, later on I can save money by making the Delaware version of my product with more cancerous chemicals, or have stricter NDAs in my Florida contracts.

But if I start with California regulations, I can expand to the entire US with a small team of employees.

There's nothing like that in Europe. If my product works in Germany, I'll need a french, spanish, italian translation to sell it in these countries. I can't just hire people from these countries either — they've got different holidays, different work hours, different unions I'll have to deal with. Different tax codes and agencies. And often these are conflicting with one another.

In the US, I need one or two support shifts in one or two languages. In the EU I need 27. In the US, I need one version of the product, with one plug. In the EU, unless I'm okay with 10A and a plastic chassis, I need a dozen different versions.

And even if the product can be used universally, European culture is significantly more diverse than US culture.

Is a phone call at 7am or 8pm more appropriate? Depends on whether you're in Germany or Spain. When a job applicant includes a photo of themselves and lists their parents' degrees and jobs on their own CV, is that appropriate or not? In Germany, that's often expected, in many other regions, a huge no-go.

To be successful in the US, I need to build one company. To be successful in the EU, I need to build a multinational corporation with 27 local branches.
I own this cable. You literally put the cable in the left side at an orientation that has the display facing upwards. I feel like I'm missing something!

It's bidirectional so you can just twist the cable so the display is facing up..
Everyone’s definition of overprotective parenting is different. But we do know the harms of smartphones. Many of us have decided to curb it as much as we can, just as we want to mitigate pre-adult drinking and marijuana consumption (or at least demonstrate an environment that produces the least harms).

For me I don’t mind her running around in a forest school or climbing on trees. Modern playgrounds are surprisingly sterile and overly safe.
Meta is already working on this [1], not sure it can replace NVIDIA for training large models within that time frame however. The ecosystem around their chips is what gives a huge competitive advantage, not having to build entire libraries and optimize a ton of code goes a long way in adoptions and retention.

N.B.: there are other 3rd-party competitors like Cerebras [2] who offer all-in-one solutions for their giant wafers along with libraries and data centers but I’m not sure behemoths would migrate to these offerings either

[1] https://ai.meta.com/blog/next-generation-meta-training-infer...

[2] https://www.cerebras.net/
Show HN: Compare crypto lending platforms
At the moment, the website is in beta version (only 4 platforms are connected). It turns out that not all platforms have available APIs to retrieve such data
> When you add UI-driven tests (and you should have some),

I disagree. If you want to send your test suite into the toilet, add a headless browser driver and nondeterministic assertions based on it. Most output that becomes UI can be tested; the rest can be checked by a quick QA.
I remember doing laser cooling of rubidium atoms in physics class. It's really cool how it works:

* Rubidium will absorb photons of a certain wavelength and re-emit it in a random direction. Since photons have momentum, it will get some net momentum change from absorbing photons all coming from a particular direction, but the re-emissions are in random directions so they have net zero momentum.

* Shine laser light at it from all directions but at a wavelength slightly longer than the wavelength at which it will absorb. Now, if the rubidium atom is moving, the light hitting it head on will be Doppler shifted into the wavelength that it absorbs, slowing it down, whereas the other light wouldn't affect it. So, no matter how it is moving, it will slow down.

Rubidium is a good material since it has an S shell on the outside as though it were a big hydrogen atom, but it is so massive that it is a lot nicer to work with for this application.
Maybe use pglite (which wraps postgres-wasm)? Readme indicates it can run in-memory.

Doesn't solve your testing-data question, but it'll save you from spinning up a new DB.

https://github.com/electric-sql/pglite/

https://github.com/electric-sql/postgres-wasm
My joke was to ask who is in charge, the pot grower or the plants? You get people who don't know personal hygiene, cant cook, cant run an agenda, cant read a book, cant pay their bills in time, cant keep a cactus alive. They cant do any of those things if their life depended on it. Then all of a sudden they are busy every waking hour doing all of those things to perfection and they talk like professors. Not to mention the possible consequences. If the plants had legs, arms, a brain and access to the internet they would be doing and thinking precisely the same things. Who do you think has the pants on?
That's dirt cheap for a software you can make a living off. For FEA or CFD one would need to shell off in the order of 50-100k plus 20k per year. 1500? I would.
I don't understand your argument: what has DJI - a manufacturer of personal use drones - with the US military wanting to build weaponized drones in the US?
like this? https://www.youtube.com/watch?v=9Q24UxF-6ns
Yes changing contracts implies updating tests. They should.

Refactoring under the same contract should not lead to refactoring of tests. Unless of course you introduce a new dependency you have to mock ? That's just one example.

If your code changes a lot it has nothing to do with tests being hard to change. It has to do with the code it tests changes too often. Poor contracts perhaps.

And just like the parent comment. Tests are not about finding or solving bugs, they are about regressions and making sure your contracts are correctly implemented.
The `return 0;` is optional for main() in C, so the function body could be made to consist solely of inline assembly.
Why do people talk about hallucinations? Pretty deceptive word of you ask me.

Not an expert though, but isn’t that behaviour inherent to how it works? Bit of a misnomer and giving people the wrong idea of what is going on here.
Let Tim Cook
You made my day with woulda shoulda cuda.

I’m going to watch finding NeMo now
Discussions:

(30 points, 15 hours ago, 49 comments) https://news.ycombinator.com/item?id=40701868

(27 points, 7 hours ago, 87 comments) https://news.ycombinator.com/item?id=40704435
Thanks for the feedback, I'll try to be clearer in the future. I didn't intend to communicate that it was a quote. I meant to communicate that it was tenuous to describe it as torture.
great .com domain names were the cheat-code I was blindly searching for. The unfair advantage they present allowed me to compete head-to-head with larger entities. I still play in these waters.
Cryptomator is great for the ProtonDrive example:
https://cryptomator.org/
To make certification easier they've declared it as a 737.
And errors are pilot errors.
> My experience is that credit cards are predatory and offer an easy alternative to basic fiscal responsibility: Living within your means (more humbly than you might want), knowing what expenses you should expect and planning for them.

There's a wrinkle here: basic fiscal responsibility currently exists at odds with the reality most people need to exist within to be content.

30 years ago, a middle-aged person in the United States could generally (though not always) count upon financial progress, and this mirrored most of American history. Financial progress is a synonym for societal progress in many ways.

That's no longer the case. A middle-aged person today is less likely to own property, have adequate savings, be debt-free, etc. than their parents were.

Credit has become a way to numb the fact that more and more of the money never trickles down. The fact that it's available and so widely used points to a society that's looking for that easy alternative, but not to basic fiscal responsibility; instead, one to basic access to the value created by labor.
Journalists get it wrong, again. Sigh. It will never replace GNSS. It's quantum inertial navigation (QIN) that double-integrates acceleration like another method, requiring external position, heading, and velocity (re)calibration and drifts without them. It has absolutely no idea where it is from only itself.
Demolish the SF Central Freeway. Build homes, parks and transit
What I don't fully understand is why TSMC's stock isn't skyrocketing as well. Isn't nvidia totally dependent on them, how can they scale to meet their sky-high evaluation without TSMC expanding massively as well.
Maybe that was the plan, but the article makes it sound like the money is flowing the other way: renters can use it to get a bit of money out of Wells Fargo, which is why they lose money on it.

Just because companies are trying to make money doesn’t mean they succeed.
I just bought this cart a few weeks ago (love the old GBC rumble carts!) and I was impressed that it had link-cable multiplayer. It's a really good game!

Thank you for the technical note on the multiplayer implementation -- that's really cool!
I agree we'll need to work out the kinks, but the big difference is it's hard to see a path towards a gazillion $$$ upside for Proton, while with OpenAI it seemed inevitable. Maybe the AI/ML space will be perfect for a hybrid organization in 30-50 years?
They should release a home-user version with some restrictions unpalatable for commercial use - eg. "Can only edit 5 files per month" or "All edited images get non-commercial use licenses attached".

Or even "May only be used during evenings and weekends".
The problem with the CRUD situations is I haven't seen a database that resets to precondition states quickly.
Uh, laws exist?
I strongly dislike paying for subscription software that I don't use very frequently[1], but I do pay for the Photoshop & Lightroom bundle. At ~$10 / month, it ends up being a lot less than I paid for updating "perpetual" licenses to those products frequently enough (every two years?) to get the new features.

[1] I'm a hobbyist photographer, but not a pro.
https://www.reddit.com/r/ShittySysadmin/comments/1di1cjl/i_l...
Sounds like he’s pretty well informed then. That’s good. 0% error rate is unrealistic in AI models, humans must curate.
I graduated HS in 1999. If I were a teacher, I'd require the students turn off their phones and put them in a clear bag with their name on it on a box on my desk. Then they get their phones back at the end of class.

Simple solution, no?
WTF do you mean? All led lamps are PWM meaning they flicker meaning they are not at 100% over time.
Just paid the May server bill for Tech Interview Experience
Product - https://techinterviewexp.site

I had decided to shut down this project after the end of May but I have reached out to InterviewBit,
Indeed, and Naukri, if they want to integrate this into their site after I got a comment in one of my Reddit posts.
(Tweet about shutting it down - https://x.com/hsnice16/status/1794097280871452800)

I got a comment that why not try integrating your site into job portals, it could be really helpful there, after which I messaged a few job portals and teams I thought this could be helpful.

I haven't gotten any response from them yet, so will wait for the rejection at least.
(Reddit post comment tweet - https://x.com/hsnice16/status/1801537565725458520)

P.S. I am also willing to sell this project for $2000, as I am not able to work on this, but it has the potential to generate revenue either through target marketing for teams or through Adsense. You could also find more new ways.

To this writing, the total last 24 hours Page Views count is 28. Out of these 12 are direct users and others are coming from Twitter and LinkedIn.

I also launched this on Peerlist
(https://peerlist.io/hsnice16/project/interview-experience) and got 6
comments, 29 votes, 359 views, and 131 clicks. It got 6th position out
of 33 projects listed that week.

I also launched it on ProductHunt
(https://www.producthunt.com/products/interview-experience#interview-experience)
and there it got, 15 upvotes and 5 comments.

Let me know if you have any thoughts on this.
> our culture is now composed of poor critical thinkers who are poorly educated, lack sophistication and nuance, and accordingly have terrible taste

That’s really begging the question, isn’t it? Can you explain why your claim above should be true today (and especially not true/less true years ago)?
If a government says "Give us everything you have on this user", and Proton gives them a sheet of paper that says "Here's the primary email for the account, we don't have access to anything else", the order is legally complied with.

Granted, I don't know much of how Swiss legal processes work, but I do know Switzerland has the best privacy laws when it comes to VPNs (which is why a lot of VPNs use Switzerland). Switzerland even has laws on their books that prevent them from compelling no-log VPNs based in Switzerland to log specific users.
as far as I know the lightpad block is no longer in production, so if you want it you have to look around the used market.
Link:

https://www.legislation.gov.uk/ukpga/2006/40/part/7/chapter/...
The part about forcing 14 minutes per operation terrifies me.

If I'm on the table, and something unexpected comes up, how much pressure is the surgeon under to take a short cut to ensure he stays under 14 minutes? Or make a mistake because he's rushing to meet the deadline.

I'm a pretty staunch capitalist, but this further reinforces for me that medicine needs to be completely divorced from the profit motive. Costs should only be considered in order to treat more patients better with the available resources. But never to increase executive pay or shareholders' stock price.
Because "fabrication" seems worse, if more accurate.
isn't that just mocking with extra steps?
Isn’t hallucinating inherent to biological brains too?

It’s normal in small degrees even for mentally healthy individuals.
It's obviously an analogy, but it seems pretty fitting to me? What would you call it?
I provided an instance of Proton giving the IP address and Device ID of a user after the French authorities requested it.

In their own policy:

> “In addition to the items listed in our privacy policy, in extreme criminal cases, ProtonMail may also be obligated to monitor the IP addresses which are being used to access the ProtonMail accounts which are engaged in criminal activities.”

So there's no question whether or not they do it, it's more of how often they do it and for what. The French case was a big deal because it didn't seem to meet the "extreme criminal case" threshold, and yet the logging was still carried out.
"Windows 11 Recall gets a feature that lets you analyze what is on screen" and

...notifies authorities automatically.

...displays relevant advertisements immediately.

This feature sounds much better than the forever history but kind of makes the naming 'Recall' unfitting.

edit:
This very fast feature change and addition makes me feel in danger using a machine with Copilot capabilities.
Keep seeing DJI drones at local police dept open houses. They even have a "drone unit" that specializes in SAR, hazardous recon type scenarios. Given extensive existing use throughout US local law enforcement, fire depts etc, not sure if this will actually happen.

Or maybe they all mass-migrate to Anduril solutions?