skysight-inc/HackerNews huggingface dataset:
> Between shockingly obtrusive GDPR consent forms and outright blocks on Websites from EU consumers,

None of which are required by GDPR. In fact, those obtrusive "consent" forms are usually violations of GDPR.
It needs to be some integration with the actual provider. You should be able to cancel through your CC, but they ought to get notified you canceled.
As much as the idea of GDPR (and specifically cookie consent) is well intentioned, the actual laws themselves aren't great. Cookie consent is especially frustrating because it encourages the creators of the consent popups to use dark patterns to try and trick people into just accepting them.
CSS Length Units
I know you're sharp enough to pick up on imperfect analogies; picking mine apart doesn't really change the overall point. And the impact doesn't have to be fiscal, and I know you know this too. The public good intended by the quotas doesn't go away because more people suddenly want a pill that makes them instantly feel better and more productive.

Increasing caps just because demand increases is the wrong action to take. Taking legal action against entities responsible for massive over-prescription of controlled substances is a step in the right direction.
Yeah, same for me. I think my sons primary school had a policy of no phones, but they also had a (and this I find more ridiculous) policy of kids being dropped off or picked up, so there was no argument of them needing it to get in touch with their parents. He joined an early intake at a secondary and there they had to keep it out of sight. His subsequent schools have required them to be in lockers or out of sight on school grounds or not brought to school at all. He's been to more schools than I wish he'd needed to, and at 15 he's never been to a school (in London) where he was allowed to bring phones out other than with permission (e.g. asking a teacher for permission to call a parent, or if specific tasks were set - rarely - during lessons).

As I said in another comment, I'm more surprised Southwark had this many schools without restrictions, unless this has been exaggerated and many of them already had restrictions anyway and so no reason not to sign up to this...
Sigh, no no no, no, no it's not.

In fact, Mocking is an essential tool for writing _unit_ tests; you know, testing exactly one thing (a 'unit') at a time. In Java for instance, a 'unit' would be a single static method, or a single class. Other languages will have different definitions of these terms, but the essential point would be "smallest reasonable grouping of code that can be executed, preferably deterministically"

The problem is people conflate the various levels of integration tests. You actually should* have both: Full unit test coverage + an integration test to prove all of the pieces work together successfully. Small unit tests with mocks will point you _very quickly_ to exactly where a problem is a codebase by pointing out the effects of contract changes. Large integration tests prove your product meets requirements, and also that individual components (often written by different teams) work together. They are two different things with two different goals.

* Important Caveat on the word 'should': Testing de-risks a build. However, if your business product is a risk itself (lets say you're hedging a startup on NFTs going wild), then your testing should reflect the amount of risk you're underwilling to spend money on. Unit testing in general speeds up development cycles, but takes time to develop. A good Software Engineering leader recognizes the risks in both the business side and development side and finds a balance. As a product matures, so should the thoroughness of it's testing.
We are hiring a Sr. SRE who is experienced with Python and/or Go, Terraform, K8's, and GCP, AWS, or Azure (we use all three).

commercetools is a scaling, ecommerce Centaur start-up. We can hire in Amsterdam, Berlin, London, Munich, Valencia, New York City, or Durham, NC, USA
I wish there was a safety feature that shut them off when these people ride them on the side walks which they shouldn't be doing.
The career accelerator people kill me. Honestly why do I want to hear from someone who's biggest risk was getting a job talking to people taking big risks.

I have a similar startup backstory to this, for my second venture I went fully to the get paid to do your work camp. It's still hard, harder than anything I've ever done, but it's working out.
New York Times. Last year I wanted to cancel my Athletic subscription and not only do they use the positively colored buttons to cancel the cancellation flow rather than continue with cancelling, once you get to what seems like a final confirmation, it doesn't show anything to confirm it actually was cancelled. I ended up needing to wait until the next bill date to make sure I wasn't charged again. Their support was useless too.
> One of the hurdles you would have to overcome is convincing all of the conferences to go with these reusable e-ink badges.

This is the only thing that matters buisiness-wise, its what I'd expect people who frequent HN do routinely, pitch. It doesn't have to be logical, fun, environmentally friendly, it just has to make it to their level of control. I've seen very illogical things become "standard" with little or no questioning for why it is now this way for no other reason than someone was very good at expressing "this is the way it is and should be" (i.e. they where very good at BS).
Tell HN: GitHub to begin collection of sales tax, may lead to service disruption
I received the following from Github via email just a moment ago. The core concern is the disruption of service -- even with email going out, folks may not be fully informed by the time this starts.

--------------------------

Dear GitHub Customer,

We want to inform you that starting August 19th, 2024, we will begin collecting state-mandated sales tax, where and when applicable, from paying customers in the United States to align GitHub with industry standard regulatory practices. All United States customers are required to update payment information (specifically your address) to ensure the correct sales tax amount is assessed. If you are a paying customer, there will be a tax line on your receipt that provides a breakdown of the applicable taxes for the GitHub products and services you have purchased.

As of today, you will have the ability to make updates on the Payment Information page. Please update your address and provide the following information if applicable:

We have updated the address collection fields to require:
Street Address
City
Zip Code +4 (5-digit ZIP required, +4 as optional)
If you qualify for an exemption or as a tax-exempt entity, you MUST submit an applicable and fully completed sales tax exemption certificate for review and approval on the Payment Information page.
Note: If your organization account is currently on Standard Terms of Service, you need to first update to the GitHub Customer Agreement in order to upload the certificate.
You will have until August 19, 2024 to make these changes. Failure to do so may result in a disruption of service. We will send additional reminder emails up until that date. If you have already updated your information please disregard these additional emails.

To learn more about how to make updates to your payment information, please click here to view a step by step guide. For more information on how to submit a sales tax exemption certificate, please click here.

Thank you for your business,
The GitHub Team
This is true, they'd gotten too complacent and now Bambu is eating their lunch.
Despite the claims of the community note saying this image has been "debunked", it's widely accepted that the IDF fired on their own citizens with Apache helicopters (as the damage in the photo would indicate). They've even admitted to it:

https://x.com/QudsNen/status/1726246179434848262
IMO the problem with that argument is similar to the problem with arguing stopping the kids from touching a whirling sawblade is overprotective - you can let them learn that way, but there is a nontrivial chance they will suffer extreme lasting harm before learning their mistake, so the calculus becomes avoiding the cases where the probability of irrevocable harm is significant.

I'm all in favor of letting kids make mistakes rather than trying to stop them from doing everything, and that past a certain point, your attempts to filter what they consume are doomed in most environments.

But to the best of my ability to judge, not exposing children to unfiltered 0-friction instant gratification for some number of years is going to be somewhat practically necessary to allow them to develop enough experience with longer-term reward seeking to make such decisions based on actual information about the rewards versus just picking the easy button every time.

Otherwise, we've all seen the portrayals for many centuries before cell phones of what happens when you have people who have never had to do long-term planning for significant rewards, and are bored of the lack of texture in just taking the easy hit every time. Cell phones have just commoditized failing the marshmellow experiment.
In general I agree, for instance an Apple Watch crams in so much hardware, that the battery frequently lasts less than a day. Compare that to my Garmin 245, which often lasts 2 weeks on a single charge if it's not using the GPS. It doesn't do as much, but that's fine. I'd love to see more "quiet" tech which eschews the pattern you describe above, and just focusses on doing the thing it's supposed to well so you don't have to think about it. EInk is another promising technology in this area.
Bad article.

Some of the advice is good, like decoupling I/O and logic where that makes sense. But the general idea of mocking being an anti-pattern is overreach.

This kind of thinking is overly rigid/idealistic:

> And with Postgres you can easily copy a test database with a random name from a template for each test. So there is your easy setup.

> You need to test reality. Instead of mocking, invest in end-to-end (E2E) testing.

"Easily" is like "just." The ease or difficulty is relative to skill, time, team size, infrastructure, and so on.

As for testing reality, sure. But there's also a place for unit tests and partial integration tests.

In some situations, mocking makes sense. In others, full E2E testing is better. Sometimes both might make sense in the same project. Use the right tool for the job.
Kubernetes attacked by patent troll Intellectual Ventures
Yeah. But wouldn’t the places where 99.8% of people would publish their pictures count as social media anyway?

Of course, it’s still useful for the remaining 0.2% of us (I’m one of them!) that self-host websites to be careful with the meta data in our photos just as you are rightfully pointing out.
The idea of a multi-lingual programming language is so interesting. The fact that there is a lingua-franca for programming is, ironically, both a huge boon for accessibility and a large hurdle. With a single programming language any programmer only has to learn one language to gain access to the vast majority of programming languages and codebases. But if you are not already a native speaker, learning that common language can be a significant barrier to entry. This isn't new, of course, we've had several eras of different lingua-franca in science, for example (Latin, German, etc.).

Looking at it more, Hedy looks like it solves the latter problem reducing the barrier to entry. I wonder if something like this could be used to also keep the benefit of a common language. It looks like it allows you to choose at the beginning what language to use for authoring code, but could you use it's mapping of keywords across languages to allow a reader to choose the language they view the code in? Would that be sufficient? Maybe not because you still have variable names, function names, etc. that wouldn't have such a mapping. But I wonder how far that kind of auto-translation would get you. And how effective AI-based translation of the remainder would be, especially if paired with some sort of AST-based tooling that helps the AI to use consistent naming for the same symbols, etc. Interesting!
And if you have to mock, at least try to have somebody else write the mock. Testing your understanding of GitHub's API against your understanding of GitHub's API isn't useful. Testing your interpretation of the API behavior against somebody else's interpretation provides a lot more value, even if it isn't nearly as good as testing against the actual API.
For Apple Pay, they did recently introduce this (or maybe it has been a thing for a bit).

https://rr.judge.sh/IMG_1150.PNG
I think he talking about e-mails to and from proton mail and other email providers are not really encrypted. Only mails between proton mail are encrypted.

That would be my guess.
I've mocked a lot in my past. Last 2 years I've been using fakes explicitly, although it has an overhead, I like it as there is less maintenance and refactoring with tests.
> and it learned how to control the lights to direct the worm towards a goal like food.

Oh good. biobots..
Ask HN: Is this the best way to build Google alternative?
The website would be an open-sourced version of Google search, with sections for tech sites, news sites, forums, finance sites, and so forth, similar to Craigslist. The site will be website-only, with no apps and no boosted JavaScript, using only the bare minimum.

The website will be run on donations like Wikipedia, and the links will be edited by users. If a certain website is full of spam and low-quality content, users will downvote it. When the vote reaches a certain threshold, that link will be delisted, similar to the stock market.

We will call this site "The Great Filter" or "The Open Source Search Engine." There will be no venture capitalists, no shady algorithms; everything will be transparent, and the filtering will be entirely done by users.

Unlike videos, which take a lot of bandwidth, this site will be all text and links, which is relatively cheap to host.

What major pitfalls am I overlooking here? One problem I can foresee is shady companies either hiring or bribing one of the editors or the majority of the editors. In that case, how does Wikipedia solve this problem when some countries want specific viewpoints to be represented on Wikipedia?

What do you think of this?
Your title is just fine, better in some ways since it says Computational Chemistry in it.

Which drew me in but it's not a discipline of physical chemistry that I was ever involved with.

I try to do advanced computation in analytical chemistry which is completely different, but when I saw "Explainable" this has got to be table stakes either way.

I was fortunate to get a hold of a benchtop scientific computer back in 1980 so naturally as soon as I could I pursued as much artificial intelligence as possible. Which was nothing artificial at all, I skipped that part entirely and went straight for the jugular.

With 20/20 hindsight ever since, I guess I have intuitively understood that as far as I got was exactly Explainable accurate machine learning of real-space chemical descriptors, and I was using that to help me make more intelligent decisions. Everything in the electronics had to be explainable just as thoroughly as during purely analog times (which was still by far the mainstream to coexist within). When something goes wrong it's only supposed to be the action or inaction of a human that has some explaining to do. It's nice to see some straightforward terminology.

Now these computational chemistry pros take it to the next level whether it is at the bench or not, each time more powerful computers become more accessible it's one more step further beyond blackboards and slide rules. I like having higher-performance computing capabilities at my fingertips too.

For me I have been imagining ever since what it would have been like to have megabytes instead of just kilobytes of memory ;)

>a paradoxical situation in which molecular properties can be accurately predicted, but they are difficult to interpret.

I would say this paradox existed to an extent before machine learning got involved, and that the machine-enhancement could make it more apparent to more people than ever.

Interpretation is the part that's not supposed to be easy or something you are going to be your best at during your first decade.

Better explainable with fuzzy interpretation than mysterious with a false sense of confidence.
Ether is a physical thing, while quantum field is a mathematical model of the physical thing. Don't mix physics and mathematics, please.
> It seems their attitudes changed soon after, perhaps due to their almost total market dominance, and they became aggressive towards their users in the pursuit of profits

It was probably just the advent of new technology that allowed them to rent instead of sell their product, and they can do it at different prices to different customers (price discrimination).
Presumably they mean gig economy aka artists are vastly undervalued.

For instance. It's not that AI is replacing artists. It's that people think you don't need to pay a license for generated images, even when they were clearly and provably stolen from copyright material. The bar was just lowered. If "AI" is used to remove the watermark from Shutterstock people think that's legal now.

So WHEN gig economy workers get picked up by a company. Yes they pay for a software license as a "tax" on going pro. But from personal experience. A vast amount of art and content is made by people from developing economies on Fiver or whatever. Many of those licenses are stolen.

And now everyone thinks you don't need to pay artists anymore. So nobody will generate licenses.

Adobe was basically right. They're just going at it in the maximally enshittified manner.
Different audiences too. SICP is meant for first year college students with little or no CS or programming experience. PAIP assumes no Common Lisp experience, but it's not an introductory text for CS. It's an introductory text for GOFAI and Common Lisp.
In some languages A might free a memory allocation e.g. after communicating with some server.

If B also frees that memory then there is a bug. Presumably this means B's tests are wrong/incomplete. If B was mocking A to avoid the IO, you might not find out.
Step-by-step guide: https://docs.github.com/en/billing/managing-your-github-bill...

Sales tax exemption process: https://docs.github.com/en/billing/managing-your-github-bill...
I'm not familiar with what Helium would be used for on the capsule. Is it just used as compressed gas for the thrusters?
To be fair, the same thing can be said about humans. Sometimes one will attack a person for no apparent reason and with no warning.
I'm not an electrical engineer, but I am pretty sure that every cable that moves should be made from stranded wires. Stranded wires last longer when bent repeatedly.

Solid wires are used for fixed installation (eg. inside walls). Any cable with solid conductors must be mounted in such a way that it does not move or bend during use.

Electrical resistance is very similar for solid vs stranded conductors.
Right but the salary ranges here are not that tipping point. Sure, a coke is a coke, but how many people can even consider the other options when it's 5 dozen for $10 for that or 5.99 for 8 Aura Boras? Having significant excess income allows you to stop making minimum choices and start choosing for quality, which leads to lots of benefits. For example, you may want to source your groceries from local farms and small grocers, which keeps money in the local economy rather than pushing it back to shareholders at kroger or amazon. You can afford high quality natural materials for your clothing a la the boots problem, leading to both greater longevity of your own personal wardrobe and also a reduction in microplastics down the road. You can consider the full range of brands of sodas, some of which are both smaller creators and perhaps zero calorie too, making you slightly healthier and at the same time pushing competition in favor of newer innovative companies.

I think what we are seeing in these data is that people with less than enough money to have even started to conceive of these decision points simply don't factor it into their perceived desires for more income at all, and that has a sort of cliff effect on desired salary increases that falls off once people actually get out of the rut of survival wages. No one at 200k is being forced to buy the cheapest everything and pinching the pennies, but theyre also in no way "set for life" unless they've indeed been doing so.
Or maybe the purpose of the system is what it does. Why assume the intended primary purpose of the planning system can't be making constituents happy by preventing construction?
But now they have them... for WebAssembly.
It takes minimal skills or effort to grow pot.

This is closer to banning moonshine which was arguably fairly effective.
At least you have a choice. Other parents have little choice but to send their kids to the same school as everyone else in the neighbourhood. London-based academies are not going to be as exclusive as independent (private) schools.
Sounds promising.
Feral horses run in herds. They are descended from animals that were already bred for domestication. You are confusing cause and effect.

Wild horses are extinct.
U.S. SEC's Crypto Enforcer David Hirsch Quits
Explosive drones would be a destructive device. I don't know about drone mounted firearms though.
Thanks, that does seem useful knowledge, although a stacktrace and memory dump aren't super helpful to me, because on Windows I'm the end user, not a kernel or driver dev.

Much more useful is being able to see what application I was using and/or what button I clicked immediately before the crash. Sometimes it's an asynchronous process or background-task hardware failure that has nothing to do with the foreground task, but often there's something in the foreground that can give some helpful clues about the chain of events that led to the crash. If the BSOD could be configured to take a screenshot on crash that would be even better than a frozen screen, but I suspect the complexity of implementing such a thing would be significant.
It’s not hard at all. In fact, I use an iPhone, and they have an iMessage “service” or whatever it is called where I just text them for account related things. Every year I text them for a discounted renewal on my wife’s car. Last year I cancelled service on my car because I just wasn’t using it often enough. Of course they started offering a discounted price, but when I countered that I’m just not using it, they completed the cancellation without issue. Guess I’ve been lucky.
That's exactly what I think when I read one of these "EU stifles innovation" comments. It sounds to me like the equivalent of not wanting socialized healthcare because "the poors" might get it, not caring about the fact that you're the one who will benefit.

This is the "everyone in the US is a temporarily embarrassed millionaire" of consumer rights. Everyone in the US is a temporarily embarrassed capitalist overlord.
That was my first reaction as well, but apparently as far a Python goes, numpy 2 code is fully compatible with numpy 1 code [0], with exception of single "byte_bounds" function (which sounds super rare, so I doubt it'd be a problem)

So at least the migration path for python modules is clear: upgrade to be numpy 2 compatible, wait for critical mass, start adding numpy 2 features. Sounds way better than python2 -> python3 migration, for example.

However, the fact that I had to look at 3rd party page to find this out is IMHO a big documentation problem. It should be plastered in all announcements, on documentation and migration page: "there is a common subset for python code of numpy 1 and 2, so you can upgrade now, no need to wait for full adoption"

[0] https://docs.astral.sh/ruff/rules/numpy2-deprecation/