skysight-inc/HackerNews huggingface dataset:
If signing actually prevents false positives then it's another problem with the AV tools - bad actors can get signing certificates easily enough, easier than a open source developer with 0 budget in fact.
At last, an optimistic comment.
The debate was going on a bit like this:
"We should force DNS providers to block CSAM!" Internet activists: "Maybe it would be a better idea to ask the providers hosting this stuff to delete it?" - "WE SHOULD FORCE DNS PROVIDERS TO BLOCK CSAM! THESE INTERNET ACTIVISTS ARE SUPPORTING PEDOCRIMINALS!" (completely ignore what internet activists said)
Clear and concise, thanks!

Speaking of conciseness, is it important for you that a README file remains simple, short, and straight to the point?
I doubt that particular consequence applies to cannabis. It does apply to other prohibited drugs.
It will mean every server will have to use Microsoft Windows..... Thus, handing over all control over the EU networks to 1 American company.
> the sudden drop in radioactivity when the capsule left the truck should have triggered an alarm and GPS log

Shouldn't a radioactive source should be shielded when not in use, especially when it's being transported? If so there shouldn't be significant radiation coming from the shielded source inside the truck...
He was thrown out of the group 8 years ago, well before the murder. Pretty weird holding them responsible for that.
That's not really correct. The European Commission might not be directly elected by EU citizens, but the members of the European Parliament are elected by EU citizens, and the Council of the European Union is made up of one minister from each EU member state. A law doesn't get passed without support from the democratically elected parliament members and the national representatives in the council.

It's also worth noting that the President of the European Commission is elected by the European Council (not to be confused with the Council of the European Union). The European Council is made up of the heads of state of the EU member countries (who are themselves generally elected).

Could it be more democratic? Yeah, sure, maybe the President should be directly elected by constituents rather than by heads of states. But it's not undemocratic, and after a law is proposed by the European Commission, the democratic process decides whether it should pass or not.

EDIT: Thank you for your comment though! I'm not in an EU member state, so I haven't really known about this stuff before (I'm just affected by the laws without being a part of the EU demos). Your comment prompted me to research how this stuff actually works.
Is the idea of blameless postmortem that exotic in the general public? If I hear that a critical safety system failed, my first association isn't "find the individual closest to responsibility, and look into whether a criminal prosecution is feasible".

- "We have the ability to prosecute under the radiation safety act and we will certainly look at such prosecutions, and we've done that in the past," [Chief Health Officer Andy Robertson] said."

- "The Prime Minister, Anthony Albanese, this morning joined those disappointed to learn the maximum penalty for mishandling radioactive material in such a manner was $1,000."
People were begging her/them back then to, as a first step, include a requirement to send some kind of deletion request. Nada. Their list of CSAM that were apparently undeleteable (hence requiring internet blocks) were to a huge percentage deleted within days by Mogis (a German group of abused children against internet blocks) by simply mailing the provider where it was hosted.

So I’m not sure what other way there is to read this.
> The economy is for the people, the people aren't for the economy, ideally. If you run a business that relies on particular behaviour, like people commuting the office, then I'm sorry things are hard but we do not owe you our business.

There's a pattern of restaurant closures. People want food from restaurants, but the demand shifted to different locations and restaurants were forced to close for some time. When a restaurant re-opens, it now owes tens or hundreds of thousands of dollars in back rent. The restaurant goes bankrupt and the landlords get paid from the liquidated assets.

That's nothing short of wealth transfer from restaurant owners to landlords. We can say "the economy is for the people" all we want, but in situations like this, the economy favors some over others. Increasingly, the economy favors capital + rent seeking, and does not favor labor.
This is basically how I use twitter. I follow a few friends and some stuff I like. I retweet stuff that I like and that I think they might potentially like. They do the same. Add to that some microblogging, and conversations that emerge from that, and you have a great social media. At least for me and them.
>This is quite a reach. Sorry, I'm not going to argue any longer why "has a six pack" or "dresses nicely" are not a personality traits.

No they're evidence of personality traits.
> people who aren't familiar with the culture of software write laws that restrict software

My interpretation is somewhat different - they are very familiar with software and how it works, but that familiarity appears limited to just the Apple & Android app stores.

A small amount of knowledge is far more dangerous than no knowledge at all.
"National governments are responsible for implementing almost everything agreed by the Union members. "

Well, so maybe the EU is not fairly lean, since they don't do any of the work the national governments are doing?

At least it is not an argument, that they have less employes than sweden.
What does ISA have to do with semiconductors? RISC-V is an open ISA, I would have thought that chip fabbing and ISAs are effectively unrelated (the ISA might determine the layout of the silicon but it's not like x86-64 is drastically different... it's all NANDs, right?)

I don't think the "it's IP" argument would hold up, as historically China & CCP don't really care about IP
I have always struggled to find one place where i can monitor tech news and get the most trending tech subjects. Since i did not find any, i decided to create a twitter account where i post every 30 minutes the most trending tech news from different sources (hackernews, techcrunch, slashdot, forums...). Please check it out and follow
https://twitter.com/techhacktrends
> China imports more chips as a country than it imports oil.

By what metric I wonder? Barrels vs chips? Kilograms? Or dollars?

Not doubting the validity of your statement but it was just a question that came to mind as they are such very different commodities.
Ask HN: How do you backup your database?
We have a MariaDB database running on Debian VM (DigitalOcean droplet).

The database is at the core of our business.

But there has to be a better way to create automatic backups.

The way I currently do it is with cronjobs and scripts that move the transaction logs to another cloud provider (every xx minutes) and do a full backup every night.

Is this really the way to do this?
The images here are not very interesting. One is just a square, and the other is a jagged foreground with ambiguous figures moving in the upper region.
It's also a cancelled motorway[0].

[0] https://en.wikipedia.org/wiki/M15_motorway_(Great_Britain)
How many democratic governments are there if "if they want to do something they will and there’s nothing that can be done about it" can be used as a filter for not democratic?

Not that there is anything good about this proposed law, mind you :(
I think that's well put.

In an attempt to make "safe spaces" for all the state is becoming surrogate parents.

It's authoritarian and patronizing.
Yes, learn Hiragana and Katakana first. It doesn't take that long. Young people can do it in days or a week, I took about a month or so.
But, unlike what I did, and many others do, I recommend learning Hiragana and Katakana at the same time. Most people learn Hiragana first and Katakana second, and will run into trouble with the latter, which also sometimes confuses the Hiragana they have already learned. Imagine learning the alphabet: Do you think it's better to first learn "ABCDEFGH.." and so on and then, after mastering that, start learning "abcdefgh.." Or wouldn't it be better to learn "Aa Bb Cc Dd Ee Ff Gg Hh.. " right from the start. I'm now a firm believer that the last method is better, and as you can think of Katakana as the cursive version of Hiragana (which is why it's used for loan words and also in literature for naming e.g. plant species, "Belladonna"), it makes sense to learn them at the same time. Faster, and avoids later confusion.
We're working on a similar thing using the Notion API, so far synthetic tests are really encouraging, but we haven't quite tested it on a massive/sprawling corporate doc. Very excited about the prospect though!
I assume your first example refers to Stuff Made Here; to be fair, be never presents himself as a DIYer, and on several of his projects explicitly says “you shouldn’t do this at home”!
How many of them are aristocrats?
Unfortunately, small guy gets a pass but medium/large businesses have an ever increasing difficulty in operating in EU. This might sound like a positive thing but it is tremendously troubling. Corporations employ a lot of people and if they leave, EU would see poverty like never before.

I was involved in GDPR laws and lot of small biz in EU straight up do not follow GDPR and the chances of getting fined in EU courts is pretty negligible. But, if you're a 500 employee company, you're going to have to maintain an army of GDPR consultants and attorneys at your disposal to keep in compliance.
Conversely we found in a microbenchmark the other day that allowing THP more than doubled the speed.

Note glibc lets you turn on and off THP per process which is pretty useful for benchmarking if it helps or hinders performance.

$ hyperfine ' nbdkit -U - data "1 * 10737418240" --run exit '
Benchmark 1: nbdkit -U - data "1 * 10737418240" --run exit
Time (mean ± σ): 3.658 s ± 0.049 s [User: 0.406 s, System: 3.242 s]
Range (min … max): 3.576 s … 3.713 s 10 runs

$ hyperfine ' GLIBC_TUNABLES=glibc.malloc.hugetlb=1 nbdkit -U - data "1 * 10 737418240" --run exit '
Benchmark 1: GLIBC_TUNABLES=glibc.malloc.hugetlb=1 nbdkit -U - data "1 * 10 737418240" --run exit
Time (mean ± σ): 1.655 s ± 0.007 s [User: 0.299 s, System: 1.350 s]
Range (min … max): 1.643 s … 1.666 s 10 runs
I want to bushels. But dollars.
> I will definitely regret not getting into ML & AI if it really picks up in the future, but I will regret leaving FAANG even more if the ML revolution doesn't materialize / if I fail.

1. Do ML at a FAANG.

2. Figure out if you want to do research or enginerring because there's a big difference between the two.

3. Be more clear about "ML picks up" means to you. It's quite popular now - I don't know what you expect to change, and if something changes, I don't know why that's necessarily good for your career.
I wonder if it makes any sense to ask if complexity and criticality are inextricable?

https://en.wikipedia.org/wiki/Ramsey_theory

> Problems in Ramsey theory typically ask a question of the form: "how big must some structure be to guarantee that a particular property holds?"
This is something I've thought about a lot, as I worked in legaltech for a few years. The main issue here however would be the (lack of) networking and breaking into the legal market, it takes a lot to get the ball rolling even if the tech is good, and more established actors are likely to do it first I feel.
> Radiation is not "spread" in the manner you are suggesting

"[in] 1987 in Goiânia, Brazil [..] a forgotten radiotherapy source was stolen from an abandoned hospital site in the city. It was subsequently handled by many people, resulting in four deaths. About 112,000 people were examined for radioactive contamination and 249 of them were found to have been contaminated"

"In the consequent cleanup operation, topsoil had to be removed from several sites, and several houses were demolished. All the objects from within those houses, including personal possessions, were seized and incinerated"[0]

That incident would appear to confirm that radiation (from a radioactive source) is able to be "spread".

[0] https://en.wikipedia.org/wiki/Goi%C3%A2nia_accident
I’m sure he’s highly intelligent. I’ve met tons of absolutely brilliant idiots in my life. They’re like horrible drivers in really high performance cars.
Comment on comment regarding idea of some sort of remuneration going to the home town of those who grew up there.

The difference between a town of 1500 and 12000 is very significant the further you get from a (real) city. Kids from nw Kansas drove to Hays to party, not Denver or KC because they were 3+ and 7+ hours away by car.
Hopefully the Parliament and Council do their job and shoot it down, as they usually do with the average deranged Leyen proposal.
> The European Commission isn't very democratic

The commissioners are appointed by the democratically elected government of each country, to push the agenda of the democratically elected government of each country.
Sorry about that, I'll dig into the logs -- we had a lot more traffic than we expected overnight so it could be that the backend didn't scale quickly enough and ended up timing out some requests.
This is an interesting, if terse, analysis. Can you spend a few more words elaborating your thoughts please?
There's a bit of both. I couldn't get past a few pages of Walden, because I could barely make out what he's saying.

It's nice to decorate, but not nice to encrypt.
I'm using it for aidev.codes (which uses OpenAI's new models similar to ChatGPT) in the new dialog stuff I am developing such as for interviewing clients for requirements. The issue right now is that even though they have a streaming endpoint, the latency is all over the place and often not really adequate for something that is supposed to be conversational. But when it's working well it's just about fast enough. I probably should ask them if there is a trick. Right now I am sending multiple sentences at a time and then playing them one after another when the audio element emits the ended event
You keep saying driver, but wiresock says it’s usermode. Can you clarify ?

Not trying to be a jerk, just that I’d be more inclined to try out a purely usermode application than install a driver.
Agreed - that's exactly what they're seem to be aiming for using the pretence of protecting children (I always thought that was for the parent(s)).
Same. I binge watched and binge read piles of related content on the topic several years ago and the overall message resonated quite a bit (in the “hell yeah, why don’t we do that?!” way).

Then I took that overall very positive lens and started to apply it to what I saw and the financial arguments didn’t hold up to what I could plainly see in the low-density, car-dominated towns and suburbs around me.
Again, forgive my ignorance: why would anyone (aside from plane salesmen) care whether German planes carry French or American nukes? Are the French people that opposed to sharing with the Germans? That's for the insight!
Google scaled context to 40K tokens
The merchant in this analogy is OpenAI not ChatGPT. ChatGPT is the sword.
> If not, why haven't they invaded already?

Taiwan's defence plan is basically to make invasion so costly, it's not worth the effort.
Subsidised by more than the effect of the employee living, eating, and being entertained there?

And that doesn't account for GP's immigrant case at all.
I have to agree with them that China being the #1 superpower would be a disaster for the western world though, and we should try to prevent it.

I'm sure the US are doing this just for economical reasons. But the leading superpower always exports their culture as well. See how much we align with the US here in Europe, culturally.

And China with its confucianism where the state is more important than the individual and its tendencies to limit free speech and use extensive surveillance... These things would go down very badly in our culture and we'd tear ourselves apart fighting over it. Some people will be pragmatic and accept it because that's where the money is and others will fight to protect their freedoms. We're barely able to keep the peace with the levels of polarisation as they are.

In my opinion breaking the ties and reverting to the cold war status (with 2 superpowers and their own spheres of influence) would be much preferable to accepting Chinese (CCP) influence over the western world. The question though is how realistic that still is at this point.
It’s seasoned professionals all the way down.
The problem with these directives is that they have to be codified into national laws. This takes a long time and is a complicated process. It seems much easier to enact them than to take back mistakes.

That alone seems to guarantee an authoritarian future or, at least, a bureaucratic nightmare in the long term. A small mistake here or there might appear to be harmless (e.g. cookie permissions), but what about the cumulative effects 50 years in the future?
Nope, Windows Server would be illegal in Europe. Microsoft ships too much non-trivial FOSS software in Windows now.

There is no major OS that they can run, nor can they develop for it (the act of installing GCC or LLVM would now be illegal, for example).
I'm sure women could say the same of men.
x86 and ARM are western technologies, technologies superior to RISC-V that China won't be able to access soon (or even right now), acts of espionage aside, with the semiconductor economic sanctions ramping up.

China pushing RISC-V is because they see the writing on the wall and want /something/ that can replace x86 and ARM at relatively low cost, effort, and time; both domestically (to satisfy their own needs) and globally (to once again conquer the world economically).

My personal hope is RISC-V doesn't obtain success and continues as the irrelevant ISA it is today. The true motives behind wider RISC-V adoption do not align with western interests.
> Javelins ... each have 200 modern chips inside.

Javelins are based on 1980ties technology, hardly "modern" chips.

That is projection! Only NATO puts "AI" and similar "features" into weapons. Partly to make them more expensive. Russia and other countries use cheap and reliable components (you know joke about washing machines).

It is well visible with air defense. Patriot missiles are so expensive, because there is a single missile type. It suppose to be universal, for all types of targets. It is loaded with all sort of chips to handle all possible causes.

Russian air defense have several types of cheap simple missiles, each specialized for narrow type of target. They do not have to fire multi million $ rocket to destroy cheap drone!
Not sure. It was many moons ago, and he recounted it to me, so I did not observe it, myself. At that time, DDOS was still a fairly new (and highly effective) technique.

Slightly different context. They were exfiltrating data from his site, as opposed to completely cloning it.
I dunno, you look at what China has accomplished the last 30 years and I struggle to see this being effective in the mid- to long- term. Economics has a funny way favouring people who are more willing to let the market work.

The US government is sitting more in the passengers seat here than the short term policy power they have suggests. The Chinese will only do badly here if the Chinese Communist Party does something stupid (so, to be fair, there are reasonable odds that they will disembowel their own tech industry in a few years).
Congrats on the launch. I'm not sure if I'm the only one, but I never had the need or desire for this type of product. I usually know if the thing I'm looking for was in an email, in my Basecamp or in a Google Doc. I wonder why I feel so differently than obviously many other commenters on here.
Show HN: AI Library for Java Beginners
It's Opensource and designed to be played around with for Java Beginners trying out Machine Learning
Back in the mid-noughties I decided to see if I could write SQL in a test-first manner (i.e. TDD). This resulted in me writing a 100% T-SQL based unit testing framework for SQL Server [1] which we then used for the SQL back-end at an investment bank.

On the back on that professional use I wrote a blog post [2] explaining why you might choose to go down this route as it wasn't the way database was developed way back then (SQL wasn't developed in the same way as the other front-end and back-end code).

A few years later I gave a short 20-minute talk (videoed) to show what writing SQL using TDD looked like for me. It's hard to show all the kinds of tests we wrote in practice at the bank but the talk is intended to show how rapid the feedback loop can be using a standard DB query tool and two code windows - production code and tests.

Be kind, it was a long time ago and I'm sure the state of the art has improved a lot in the intervening years :o).

Chris Oldwood

---

[1] SQL Server Unit: https://github.com/chrisoldwood/SS-Unit

[2] You Write Your SQL Unit Tests in SQL?: https://chrisoldwood.blogspot.com/2011/04/you-write-your-sql...

[3] Test-Driven SQL: https://www.youtube.com/watch?v=5-MWYKLM3r0
In SF/Oakland, so many non-cabs run red lights all the time. While cabs are typically the most aggressive drivers anywhere in the world, we have a problem of lawlessness in SF. This is becoming a culture. An accepted culture, precisely because of lack of enforcement by police and lack of will to enforce laws, voted in by the population that is enamored by ostensible "kindness".

The whole thing is bizarre. No red light cameras. Not many cops interested in pursuing speeders. Not enough cops, actually.

Don't ride a motorcycle here.
I'd expect software to be more "stretchable" than armoured military vehicle designs. Hopefully, both the tank and the IFV can be Vim or Emacs or VS Code, and both can be good without compromises.
> I hear the hardware quality is quite good

Word is, it's HP EliteBook 845 G8

(https://www.reddit.com/r/linuxhardware/comments/wc9d7a/hp_de...)
What if you could Ask YC anything
Hey! Yes tests can automatically be created based on the API traffic Metlo captures. Thats also the main difference between Metlo and Nuclei… we autogenerate tests based on the API schemas discovered for common vulns. You can also customize test generation using our templates!
The top of the case is right there. The rest of it is just a plastic container and doesn't need to be in a fridge.
Again one has to wonder if he is trying for a "too incompetent to stand trial / be guilty" defence...
I'm not saying there isn't waste. It develops in every large organization, public or private. (I sometimes wonder about people — Americans mostly — who want the government to vanish, but also complain loudly about how their phone operator, insurance company, etc. are the worst. What do they expect to happen if the private sector took over everything?)

The relative leanness of the EU is a result of its unique structure. It has almost no executive authority on its own except in specific transnational cases like antitrust where it can fine large corporations. On the level that citizens interact, everything is delegated to national institutions. It's nothing like the federal states that exist elsewhere. For example the US federal government employs almost 50 times more people than the entire EU system, yet EU population is 30% larger.
"shit you did in your bedroom as a kid before the internet, in a few hours, done in a weekend with enormous resources!"

you people suck.
Same with coffee or tea. After a decade of drinking them without sugar or honey, I can't imagine drinking them any other way. Sugar would just ruin their taste.

Anyone that cries "I can't drink coffee black, it's too bitter!" they just haven't tried for more than a week, how long it takes to adjust.

Unless you drink instant coffee, which tastes very bitter and like battery acid. I'd rather have water than granulated instant coffee.