skysight-inc/HackerNews huggingface dataset:
How do you propose testing defensive programming? In a good program, most of those checks are not coverable from the public interfaces.

The other problem is that finding tests that cover everything from the public interfaces can be extremely difficult. Most test suites don't achieve full coverage even of theoretically reachable points in the code.
Would DLP projectors which distribute color over time (a color wheel) or multiple light sources combined with dichroic filters, produce uniform squares of color?
That's why AppStore monopolize are such a chore. There is no independent judicial authority if something between Google and a App Provider goes wrong. Google playing legeslative, executive and judiciary in one entity.

There is a reason most people in democratic countries don't like it, if there country has all the powers in one hand. At the same time it seams to be accepted for cooperation, as long as there are big enough.
Belgian healthcare started like that. First, workers personally kept apart a part of their wages. Then people in 1 factory pooled their money together. Then clusters of factories united into 'verbonden', a union-like construct . These where, like a lot of things at the time, grouped by world view:. Christian, socialist, ...

After a while, the governement wanted in, joined the verbonden to landsbonden (Country level insurers grouped by world view) and put themselves in the money stream.

The end result is Belgium having a weird construction half way between private health insurance and country-level health insurance.
>What happens if paper ballot is correct but machine then changes some small percentage of votes randomly when sending upstream?

If it does not change the outcome of the election then it does not have the intended effect. If the margin was so close as to change the election the laws on the books would force a complete manual count regardless. Nevertheless, you are proving my point about the risk limiting audits which would help to catch anomalies like this.

>You say there will be a recount, how would that work?, what would trigger it?, and what could a malicious actor do to prevent it from working?

If the margin is within a certain percentage (depends on the state) it forces a manual count of the ballots. I am advocating the risk limiting audits to help catch the machine acting malicious while printing the correct result on paper.

>Malicious actor that can have firmware modified (that seems like a easy target - compromise company making them), that can work up large crowds and have resources for lawsuits.

The lawsuits would still have to respect the law on the books. No machine is perfect but humans are not perfect either. In this thread I already discussed the incident in NY where they have paper ballots filled out by voters and then scanned. Humans messing up the ballots lead to the discarding of votes because they could not be validated. A combination of machine verifying human while human verifying machine is best.
Your question should be split into two parts:

- Miracle drugs for curing ailments. We have plenty of those.

- Miracle drugs for enhancing beyond normal. Many things which work also have serious side-effects. Most things which are peddled with prescription don't have any effect.
Also check out https://py.cafe/ (I work on this project)

It supports streamlit, dash, virzo and solara. Frameworks like shiny, gradio and panel are planned (maybe even fasthtml).

It's also really nice to integrate this into your documentation:
https://mkdocs.py.cafe/
In France it's mandatory in a company to have a "company union", after 10 employee it's one representative (employee who has part of his paid time dedicated to employees support functions, and it grows to more and more the more employees there is.

Whether those representative act on their own, or join a national union or syndicate, is their own decision, and they're elected every 4 years.

Any meeting or importance between an employee and his employer, he can request one of the representative be present to assist him (and in some type of meeting, it is pretty much mandatory to avoid employer pressuring against).

Etc etc ...

Our system is far from perfect, but at least having SOMEONE in the company to turn to seem to make sense to me.
They’re still iOS apps executed in the same sandbox and notarized by Apple. It’s not like they can suddenly read more data from your device just because you downloaded the binary from Epic’s S3 bucket instead of Apple’s S3 bucket.

Of course Apple would like you to have a vague feeling of fear, uncertainty and doubt about third party distribution. The truth is that the only extra layer of defense provided by Apple’s App Store is an arbitrary review process that is always overwhelmed and easily gamed.
There's been a recent article [1] about a very similar students' project at Darmstadt University. Interesting to see that the post referenced here precedes this by about five years.

[1] https://www.heise.de/en/news/Car-hacking-real-cars-turned-in...
Did you end up passing them?
Google Maps is PEGI 3 though.
Postgres will do to other databases, what Linux did to other Unix(/BSD-like) operating systems (IRIX, SunOs, ...).
Afaik you can do Vapor Lock on Apple - poor mans VBlank detection:
http://deater.net/weave/vmwprod/megademo/vapor_lock.html
There is absolutely no reason you can't make SQLite go all the way. Starting with it is the only thing that makes sense to me.

It is certainly a higher performance solution in the fair comparison of a hermetically sealed VM using SQLite vs application server + Postgres instance + Ethernet cable. We're talking 3-4 orders of magnitude difference in latency. It's not even a contest.

There are also a lot of resilience strategies for SQLite that work so much better. For instance, you can just snapshot your VM in AWS every x minutes. This doesn't work for some businesses, but you can also use one of the log replication libraries (perhaps in combination with snapshots). If snapshots work for your business, it's the most trivial thing imaginable to configure and use. Hosted SQL solutions will never come close to this level of simplicity.

I personally got 4 banks to agree to the snapshot model with SQLite for a frontline application. Losing 15 minutes of state was not a big deal given that we've still not had any outages related to SQLite in the 8+ years we've been using it in prod.
Can Taiwanese activist turned politician Audrey Tang detoxify the internet?
It's interesting that most of these are bog-standard questions asked of candidates, simply turned around. If ChatGPT can do that, the similarity won't be lost on anyone.

Larger companies will start prepping interviewers what to answer, for any questions that aren't already covered in training.

It'll be a new ritual by companies that don't know how to interview, in the designated 5 minutes remaining after the interviewer clicks the stopwatch on the Leetcode hazing. The candidate can ask the standard questions to which no one should expect genuine answers, and the interviewer can recite the corporate-approved useless responses. And then the interviewer will literally check the boxes for which standard questions the candidate asked, and whether they asked that STAR format be used. (And someone who ruins an entire field, by defining psychotic interview rituals, and then turning around and selling candidate prep for those rituals, will then incorporate these checkboxes into the latest edition of the prep, guaranteeing that the ritual will be complete.)

I sometimes get meaningful, genuine answers to some questions about the company, I think partly because I tend to be candid, and maybe some people recognize and respect that. However, I think most people won't answer very candidly, if the candidate is reinforcing the mode by only doing what interview prep says. (For example, most people will realize that honestly answering what a company should improve upon, to any random person who walks in off the street, could get the interviewer fired. Why would they risk that.)
And there is Steam on Desktop. You buy a game once you can play it on every platform with Steam which is all the platforms. If you buy a game in the App Store, you're stuck to places Apple likes.
Yup. With nothing but love for sqlite.
While some people are talking about whether this is a good or bad regulation, the reality is we've moved to another game entirely : whether or not Apple has to follow the law.

No matter what you think about the regulation, it's obvious Apple cannot in any way be allowed to win that one now.

At least in the common charger case it was an industry agreement not a law and they did it when the regulation came, this time it's much more serious.
Let's remember the other fact hidden behind this store of a free to play peddler:

Due to governmental pressure, we have a chance to get a browser that can run uBlock Origin on iOS in the future...
Now I'm just curious if the two ever overlap. A BBQ brothel does kind of sound like a business opportunity.
Wbtc already happened. Bitcoin-pos already happened
Yes, with pycafe that is possible:
https://py.cafe/snippet/asgi/v1#c=H4sIABN3wGYAA41UTW_bMAz9K4...
Unemployment is low, rapidly aging society. Any company that treats it's people this way will find their workers looking for greener pastures.
Is it wrong for people to voice views that you disagree with? The value of HN is hearing differing view points.

It would be nice if people on HN tried to engage in a good willed nature rather than treating discussions like a struggle session.

But to the topic at hand, in rapidly changing sectors, high levels of friction when it comes to employment has a cost. There is no free lunch in economics.

When hiring employees means you’re hiring them effectively for life, it creates disincentives for hiring. Maybe you hiring consultants instead. Or maybe you make do and not hire at all.

No doubt it benefits employees when it comes to job stability. But the cost can be not having those jobs at all. That’s something that has to be considered in the equation.

The other thing is the employee obligations it creates. When I worked in Europe I had to give three months notice to quit. Either that or pay the company the equivalent of the salary I made. As an employee it was a penalty I couldn’t afford and thus opportunities at start ups that needed someone now were out of reach. Employee protections had a real cost to me.

It’s pretty clear that Europe as a whole is willing to pay that cost, but it’s a choice.

Nothing wrong with that, but one can’t make that choice then turn around and wonder why your innovative sectors are lagging other countries.
Yeah at this point the guy is either trolling or very confused.

It's some crazy stuff framing your personal opinion on a controversial subject like that as if it's an established fact when the subject itself is under active studied and hardly "solved".
> If this would be the case, then a SIM-enabled Windows notebook would also be competition for the iPhone.

Can that SIM-enabled Windows notebook do phone calls using the cell operator network (that is, not over the Internet)? If not (that is, if it uses the SIM only for data), then it's not an iPhone competitor. The "smartphone" category (which is where all iPhone competitors reside) requires being both "smart" (that is, with PDA functionality) and being a "phone"; the Librem 5 (and, for instance, the Nokia N900) fits comfortably in that category.
I am in Australia. We are somewhere in between, not as strong as Germany or Western EU countries but infinitely better than US. When some of us were laid off by a US tech firm in 2023 they had to give us prior notice for consultation and not cut off our access immediately like they did in US. This allowed us a week to understand our rights and find out the mistakes in their offer. They had to go back and come back with a new better offer as per Australian laws.

In Australia we have codified National Employment Standards which are strictly enforced.
https://www.fairwork.gov.au/employment-conditions/national-e...
Oh we don't appear to have that level of protections in Germany. If you accept, for example, a demotion (that one could argue is still in line with the job title and description in your contract) via email, it's difficult to contest later. If you do want to contest it, you have to be quick and do it in writing. For something like reducing salary or other benefits, or changing your job title, those need to be counter signed. Problem is, quite often promotions are (deliberately) not offered with contract amendments, so when you're demoted later, the company can argue you've never legally been promoted in the first place. Sounds like a drag, but it's incredibly useful to describe your role and responsibilities in the employment contract, and to insist on an update once promoted.

As for Musk's lawyers, I'd also love to know how exactly that played out, I can imagine all kinds of scenarios, some hilarious. The most likely to me seems that he wasn't exactly involved in this particular case, or any of these cases. People handle it based on what they think he'd want to do, then pass on the bad news if their plots fail somehow. I'm assuming this might be net positive for him in the end: He got away with the forced, incredibly quick culture change and workforce culling and was able to move forward with his strategy immediately. Delaying problems seems to have worked out for him quite a bit in the past.
The name is a prefix of the most popular website in the niche: thereisanaiforthat.com. Maybe some shady SEO tactic?

There are tons of these. Many of them are quite fishy -- they often reach out to you offering you to list your tool for a fee -- there are only a few directories where it's worth to do so.

Btw, was this supposed to be a Show HN?
The "SQLite is just a file" thing is actually an advantage. The example of a website is actually a pretty poor one, since any website that needs to scale beyond a single box has many options. The two easiest ones are:

- Mix static and dynamic content generation (and let's face it, most websites are mostly static from a server perspective)

- Designate a writer node and use any of the multiple SQLite replication features

But, in short, if you use an ORM that supports both SQLite and Postgres you'll have the option to upgrade if your site brings in enough traffic. Which might never happen, and in that case you have a trivial backup strategy and no need to maintain, secure and tweak a database server.
I would say it's not Musk's view itself that is dangerous, more the fact that this clown has a horde of fans.
I think the biggest difference between you and Musk is that you wish you could take stuff back, and Musk appears not to share that desire. And continues to express them. The rockets and energy stuff will keep going for now no matter who's at the helm.
- "“Conversations with their fraud team by phone and text over a period of several hours became progressively more Kafkaesque, including the bizarre suggestion that Zoom conversations with my friend could have been generated by scammers using AI,” he says."

For him to call that suggestion "bizarre" indicates how badly out-of-touch and vulnerable he is to standard 2020's fraud techniques.

But banks should never be allowed to demand private communications; it's a gross indignity and a violation of the very fundamental right of private correspondence. The professor is not wrong to compare to that East German society.

- "but still demanded to see my Austrian’s friend’s tax bill, and past examples of our correspondence."
Hey, thanks for actually engaging with the blog's points instead of "Google kills everything it touches" :)

1. I'm well aware of the PyTorch stack, but this point:

> PyTorch is building towards a multi-backend future isn't really where things are going

>PyTorch supports extensibility of backends (including XLA)

Is my problem. Those backends just never integrate well as I mentioned in the blogpost. I'm not sure if you've ever gone into the weeds, but there are so many (often undocumented) sharp edges when using different backends that they never really work well. For example, how bad Torch:XLA is and the nightmare inducing bugs & errors with it.

> torch.compile is 2 years old, XLA is 7 years old. Compilers take a few years to mature

That was one of my major points - I don't think leaning on torch.compile is the best idea. A compiler would inherently place restrictions that you have to work-around.

This is not dynamic, nor flexible - and it flies in the face of torch's core philosophies just so they can offer more performance to the big labs using PyTorch. For various reasons, I dislike pandering to the rich guy instead of being an independent, open-source entity.

2. Torch/XLA is indeed primarily meant for TPUs - like the quoted announcement, where they declare to be ditching TF:XLA in favour of OpenXLA. But there's still a very real effort to get it working on GPUs - infact, a lab on twitter declared that they're using Torch/XLA on GPUs and will soon™ release details.

XLA's GPU support is great, its compatible across different hardware, its optimized and mature. In short, its a great alternative to the often buggy torch.compile stack - if you fix the torch integration.

So I won't be surprised if in the long-term they lean on XLA. Whether that's a good direction or not is upto the devs to decide unfortunately - not the community.

3. Thank you for pointing that out. I'm not sure about the history of JAX (maybe might make for a good blogpost for JAX devs to write someday), but it seems that it was indeed developed at Google research, though also heavily supported + maintained by DeepMind.

Appreciate you giving the time to comment here though :)
Can you explain some policy benefits that let studios exploit the workers? I’m genuinely not aware, I was under the impression that it’s just supply and demand driving down prices.
It seems the vast majority of people have an opinion on musk, thus it can’t be too hold to have an opinion.

This opinion is not nuanced though, because nuance is tricky and requires more effort than simply categorising into a tribal viewpoint
The IBM/NSA teams discovering differential cryptanalysis and sitting on it until Biham and Shamir independently discovered it a decade later is a better example.

And even then they did use that knowledge to make DES more resistant to it rather than simply ignoring it. It wasn’t made public because at the time - early to mid 70’s it would’ve made most other block ciphers very beakeable. DES wasn’t broken until the late 90’s.

CryptoAG was about backdooring an implementation not an algorithm or finding a novel attack.
Totally agree - I have tried many databases of all flavors, but I always come back to Postgres.

HOWEVER - this blog post is missing a critical point.... the quote should be:

---> Just use Postgres

AND

---> Just use SQL

"Program the machine" stop using abstractions, ORMs, libraries and layers.

Learn how to write SQL - or at least learn how to debug the very good SQL that ChatGPT writes.

Please, use all the very powerful features of Postgres - Full-Text Search, Hstore, Common Table Expressions (CTEs) with Recursive Queries, Window Functions, Foreign Data Wrappers (FDW), put JSON in, get JSON out, Array Data Type, Exclusion Constraints, Range Types, Partial Indexes, Materialized Views, Unlogged Tables, Generated Columns, Event Triggers, Parallel Queries, Query Rewriting with RULES, Logical Replication, PartialIndexes, Policy-Based Row-Level Security (RLS), Publication/Subscription for Logical Replication.

Push all your business logic into big long stored procedures/functions - don't be pulling the data back and munging it in some other language - make the database do the work!

All this stuff you get from programming the machine. Stop using that ORM/lib and write SQL.

EDIT:

People replying saying "only use generic SQL so you cans switch databases!" - to that I say - rubbish!

I nearly wrote a final sentence in the above saying "forget that old wives tale about the dangers of using a databases functionality because you'll need to switch databases in the future and then you'll be stuck!"

Because the reason people switch databases is when they switch to Postgres after finding some other thing didn't get the job done.

The old "tut tut, don't use the true power of a database because you'll need to switch to Oracle/MySQL/SQL server/MongoDB" - that just doesn't hold.
With Pglite it should now be possible to have the cake of Postgres' rich functionality and embed it too
> not because it is easy, but because it is hard.

Terrific reuse! Thank you.
Why would you run Postgres on a different box in such a scenario? A docker run command to get a Postgres instance up and running isn’t any more complicated than linking in Sqlite, maybe even simpler. And you get proper ACID transactions for free.
Cheers, happy to hear that!

There already is a "collapse" button if you bring up the menu top right (maybe its too subtle?). Default browser zoom out (Ctrl -) should also work fine, so you can see all shortcuts at once, e.g. on a second monitor or on a beamer, if you're teaching a group of people.
As far as I understand, because employment is at-will and firing is trivial, most employees in the U.S. do not even have a job contract! This was very mind-blowing to me when I took my first U.S. job, where there was no contract (!!), only a 500-word "offer letter". I guess the reasoning is that if there ever were to be any conflict between employee and employer, the conflict would be settled by ending the employment relationship. So there is no point in the employer promising anything (e.g. number of vacation days) since the employer can costlessly renege on any such promise.
> In another timeline AI would have made Lua popular.

I wonder if it'd have been hated more than Python is - especially with the 1-based indexing...
No, writing XML was the declarative part of Flex (like HTML), but AS3 had it’s own XML type so you could do things like this:

var data:XML = <foo><bar>hello</bar></foo>

and then data was an object instance like you’d expect
Missing sqlite comparison point: data types. SQLite is like JS with column datatypes, except even looser.

The claim about Datomic only working with JVM languages isn't right, it has a rest api there are eg python and js client libs using that.
The Lifecycle of an Instruction Set
I can't tell if this is supposed to be satire x) "awesome list of awesome lists of AI tools"
It does; didn't realize that but it makes sense
Quite shady indeed: https://www.saashub.com/theres-an-ai-alternatives -- see the icon, it's almost the same as https://theresanaiforthat.com/
It's not worth pointing out the technical flaws in the post[1]. It is obvious the author does not have a strong grasp of the tools he is criticising. A better example of this style of post is Oxide's evaluation[2] for control plane storage that actually goes over their specific needs and context.

[1] Ok, just one, Rick Houlihan is currently at MongoDB.

[2] https://rfd.shared.oxide.computer/rfd/53
Performances are better? They like the UI? They really wanted a smartwatch and Apple makes the nicest? Their family uses iMessage? They have a Mac and enjoy the integration?

There are plenty of reasons to have an iPhone even if you deeply dislike the lack of sideloading and the AppStore.
> But certainly I’ve posted some stuff online I wish I could take back

He really doesn't look like someone who wants to take anything back. In the past couple years he basically doubled down on everything unpleasant about him, sadly.

How one can go from having interesting opinions on all sorts of scientific topics to being able to entertain Trump's rumblings for an hour is beyond me, but that's what happened.
yes -- you can both embed them as a hosted video (YouTube / HTML) or use their built-in video player with [sound:filename.mp4]
> If they fire you, they should even have to pay you your salary for those vacation days.

This is required in the US. That's the point of unlimited vacation - since it doesn't accrue, the company doesn't have to pay it out when you leave.
Researcher wants to replace your brain, little by little