skysight-inc/HackerNews huggingface dataset:
I started with Q-Basic about 30 years ago, which came with an IDE which was as powerful as Textedit or Nano. No auto-completion, no refactoring, nothing. Then came Delphi, MS Visual Studio, Visual Basic, Eclipse, IntelliJ/AppCode/Android Studio, Xcode, Visual Studio Code - all in that order.

I came to realize that the more the IDE did for me the worse I became as a programmer!

Today I’m back to plain text editing with a powerful text manipulation tool - (Neo)Vim.

And I program like back in the 90s — I have all file names, methods, the complete code structure of _all_ products and services of our company on my mind. I can see the final solution in my mind before I start typing a single letter. Refactoring is done with regex, it works the same in all programming languages. I work full stack. And I’m really fast. And I’m not tired by having all code and APIs in my mind. Because programming is pure joy again for me. Pure text editing is what makes me fast and having tons of fun. I ship so fast and things very rarely break. Bugs are fixed within minutes because I see the root causes flashing up in my mind.

To me IDEs are for intermediate programmers. It’s a good thing to temporarily improve your skills but I don’t see them as a means to achieve mastery, at least not for the mastery that I could achieve.
> You’d have to not only have over 30 hash collisions

That's trivial. If the attacker can get one image onto your device they can get several.

It's very easy to construct preimages for Apple's neural hash function, including fairly good looking ones (e.g. https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX/issue... )

> collide with another secret hash function

The supposed other 'secret' hash function cannot be secret from the state actors generating the databases.

Also, if it has a similar structure/training, it's not that unlikely that the same images would collide by chance.

> also have a human look at it and agree it’s CP

That's straight-forward: simply use nude or pornographic images which looks like they could be children or ones where without context you can't tell. It's a felony for them to fail to report child porn if they see it in review, and the NCMEC guidance tells people when in doubt to report.

Besides, once someone else has looked at your pictures your privacy has been violated.
Yeah same, I won’t say I have no ideas, but I have none that are commercializable.
If you have a Maven project, IntelliJ will open it and configure itself automatically. The IDE user doesn't need to know anything about Maven build configurations. It just works.
I find it very ironic that the people complaining about "suppressing news" or "violation of rights" are writing comments along the lines of sit down and shut up.
Neither Google nor Microsoft scan pictures people have on their devices running Android or Windows. I'm not sure how that's even applicable to Facebook and Dropbox.
It is not about the encryption, it is about what an "end" is.

Generally, we consider the "end" to be the end user. If someone else can see the message along the way, it is not end to end anymore from a user perspective, even if it is from a network perspective. And Apple has complete control over your device through software updates. So that the leak is from your device or from the network is a mostly meaningless technical detail.
Try 3M Ultrathon. Or go 100% DEET if you haven't tried it already.

I'll take the inevitable "oops, DEET causes horrible cancer" news report in the future for clouds of Asian Tiger mosquitoes surrounding but not landing on me, please.
Americans, Chinese, Europeans, everyone. This is an equal-opportunity privacy rights violation. Investigatory and spy agencies around the world must be thrilled that this is moving forward.

Of course, we’ll accept it and the dullest of us will even cheer it as “doing the right thing” while stating that they “have nothing to hide”.
Or the the history of how oracle created a world wide conspiracy to impose Java has a standard , and if they hadn’t done so Haskell/ Clojure / ( Anything that’s not OOP) would be running everything from Operating System to Back End.

That damn Oracle Conspiracy, and OOP !
Interesting - Galileo's book was published by Lodewijk Elzevir in the Netherlands against the order of the Vatican.

Even more interesting, I think, is that the name and logo of the famous 16th century printer was appropriated by a certain infamous publisher 300 years later according to Wikipedia:

Elsevier was founded in 1880 and adopted the name and logo from the Dutch publishing house Elzevir that was an inspiration and has no connection to the contemporary Elsevier. The Elzevir family operated as booksellers and publishers in the Netherlands; the founder, Lodewijk Elzevir (1542–1617), lived in Leiden and established that business in 1580. As a company logo, Elsevier used the Elzevir family's printer's mark, a tree entwined with a vine and the words Non Solus, which is Latin for "not alone".
Because that then would already be a problem for Facebook, Google, Microsoft, etc that host photos that hacked phones could be uploading today.

And we’re just not seeing that being the case. Because all these providers have been doing this for so many years, including the nearly 17 million photos identified by Facebook last year, you’d figure there would be a lot more noise if this was really going on.

In fact, I would venture to say it’s far easier to hack a Facebook account than it is iCloud that has many on-device-based security protections that a cloud login without mandatory 2FA (and often SMS when it is used).
Free Book: Rethinking Your Job Search in Tech
Are these words that are applied to specific groups that are marginalized?

Oh right, you guys are the real oppressed.
I have to admit that it sort of broke my heart to hear that a university teacher and biology scientist would not get vaccinated.

I'm still trying to cope and understand how someone with this kind of job and discipline would think like that.
>> Suppose your office were next door. Then, you could have a 1-minute commute and enjoy some degree of socialization

I'm a software developer. I don't enjoy socialization with other software developers. Not at all. Not ever. I write code for money, it's called "compensation" for a reason.

People do not seem to be getting the message. I don't want any degree of socialization. None. Zero. Honest question, how can I possibly make this clearer to people like you?
This is nothing new. Back in the late 2000s, I did this to deal with a huge quantity of XML been sent over the wire to desktop PCs. The original version needed 20GB of RAM. I changed it just to pick up the tags needed and parsed the stream as it came. Time was massively reduced too.

I see the same mistakes done with JSON nowadays.

Basically, if you don’t need the DOM in its entirety, don’t parse it all.
Please just stop publishing things on Medium. It's very hostile towards users.

I recommend setting up a static site generator like Hugo (simple) and deploy with something like Netlify (free and quick to setup).
Which they already got busted for and had to pay fines on. If you mean they are still doing it, then provide evidence, don’t just assert its true.
> It's very difficult to find an instance of a miserable genius.

Isaac Newton?
Apple have been pretty clear that a human will review things. That is (I hope) a feature of any system that leads to child porn charges. If not it should be - AI gets things wrong and can be tricked (as can humans but in different ways usually).

But agreed, the technical bits may not be obvious (though apple released I thought a pretty darn complete paper on how it all works).
Be that as it may, there has not been presented any proof that Congress would dictate client-side scanning on users devices.

But it still doesn't change that Apple needs to stop on-device scanning.
Sorry do you live in the US? Do you really think a vaccine mandate is possible here? People will literally fight that with assault rifles. This situation is already tearing our society apart, there is no way any large scale mandatory vaccination project would succeed.
Electric cars are on the cusp of replacing ICE vehicles. By mid-decade, electric cars will be the top-selling models.

Given how far behind it is on electrification and their legacy cost structure, which includes massive pension liabilities and an outmoded dealership network, I have grave doubts about GM's ability to survive their next bankruptcy.
Remote Work Statistics
latter = last, former = first.
One of my personal role models, https://github.com/Gabriel439/, uses mostly vanilla Vim. Maybe they'd be 10x as productive with an IDE, but I doubt it. And in any case, the difference in quality and output between them and me is certainly not the tools.

I don't think the tooling matters at all, unless you work in a very specific field where certain tools may be mandatory.

Whether you look up APIs in documentation or read that same documentation in your editor, who cares? Seeing red squiggles as you type or in a terminal window that refreshes on change? Who cares. It wouldn't even make a difference if you only saw errors when manually starting compilation.

None of it really matters in the end.
It is a pretty good test to find out which people are simply egoistic bastards, who really don't care about others.

Many of them are somewhat stupid, in that they think that it will not affect them personally, and have not really thought about the effects on other people.

But a lot of them are simply anti-social persons, that don't really give a shit about others.
Week in Review: Student Loans; Disney Surbvey; MLB Investor
Recently, I started to appreciate art more since it feels like I'm trapped in a utilitarian trap. This one bit art is amazing, but I don't know how I could get involved.
CUDA Python Low-Level Bindings
the Value of Diversity in Coding

Strange title on the article itself. There is nothing on this topic in the article or the interview.
> Upvote anything with Rust, Go, SQLite, or Haskell in the title; use the words “orthogonal” and “Pareto” as much as possible.

Don't forget Julia!
That's a ridiculous amount of work for a bit more than 2 years of development and for 159$ per month!

I'm very impressed and I have no idea how I could miss such a project.

I looked into rust game engines last year for work and I had no idea you existed.
We were very heavily biased towards ECS, which made us pick Bevy, but the level of maturity of your project would have made for a good contender.

I'd recommend adding your project to: https://github.com/rust-gamedev/arewegameyet
A web database of all AWS IAM actions
Yes, I live in the US. The way I think vaccine mandates can be done here is for every workplace, business and school to require them. Hopefully the upcoming approval of the Pfizer vaccine should unblock more of this.
(Richie's co-founder here)

Semaglutide was FDA approved for diabetes in 2018 (3 years ago) and in June this year for weight management. It's part of a class of medication called GLP-1 RAs which operate in a similar way (they all stimulate the same GLP-1 receptor). Liraglutide is another common one that was approved by the FDA in 2010 (11 years ago) for diabetes (by the EU in 2009) and for weight management in 2014. So there is a 3 year of history with this particular medication and an 11 year history for this class of medication.

Here's more about the history of GLP-1s and other weight loss if you'd like: https://blogs.sciencemag.org/pipeline/archives/2021/02/15/gl...

The main side effects that people seem to get are nausea and vomiting when adjusting to the dose, this is likely due to the slowing down of food leaving your stomach. This is documented in the study of nearly two thousand people which lasted for 68 weeks here [1] (where you can also see the other side effects).

It's worth noting that, as with any medication, there is a cost-benefit trade-off. In this case it will depend on someone's current weight, what they've tried in the past, and the risks of other conditions e.g. heart disease, diabetes, and their past medical history. Each person that joins Fella has an in-depth discussion about this with an independent obesity physician and is welcome to speak it through with their own PCP too.

https://www.nejm.org/doi/full/10.1056/NEJMoa2032183
If this really was such a problem, then as I said, we’d have been getting reports of this over the past 10+ years it’s already been in place at big cloud providers. So where is all of this ruining of peoples lives by uploading CP on their devices?

Also if you’re a gov actor trying to frame someone, why bother with a pre-image when you could put the real images on it?

None of that is new today — all that’s new is Apple is joining the effort to scan for CSAM, and instead of doing it on server they’re doing it on device right before you upload in a way that attempts to be more secure and private than other efforts.
I haven't been browsing this site for more than like a year, but have found it one of the places on the internet where political discourse seems to be relatively tame and good-faith for the most part. I've also learned a lot from the blog posts you mentioned and really knowledgeable comments on them.
Is it really worse now?
Ehh. I'd argue Apple has a mixed record. It's well known that iCloud backups are unencrypted and often handed over to authorities. In Jan 2020[1], it was reported they planned to encrypt backups, but dropped the rollout due to pressure from the FBI. I'm surprised they don't get called out because the difference between this and San Bernadino makes sense to me from a technical standpoint, from a practical standpoint and to the laymen it seems hypocritical.

In this case, I actually kind of buy Apple's argument that this will make it harder to cowtow to governments (assuming they encrypt iCloud photos at some point). Right now they can scan iCloud data and hand over photos and accounts without user's knowledge. They can do that without informing users (like they currently do with backups). With this in place the database and logic ships with the OS. They would have to implement and ship any changes world-wide. Users will have to install that update. An alternative is Apple silently making a server-side change affecting specific customers or countries. With that said, I do understand people's concern over the change.

[1] https://www.reuters.com/article/us-apple-fbi-icloud-exclusiv...
I too do not choose to join a cult.

Best bet is to find rather boring lifestyle businesses with dependable b2b revenue streams. Nobody gets too worked up about anything, and there's no kool-aid to be drunk.
> It's clear that moral indignation isn't working so far.

This is my favorite HN line in ages, kudos!

PS - in California and signed up for the wait list.
I don't think that follows naturally.

The default if code does not have any notice anywhere is that it is copyrighted, and no license is given to anyone to use it, so any use of it is a violation.

At least in the US, all creative works are copyrighted by default (such as this comment, which does not include a notice of such, but is copyrighted).

Because of that, the default assumption of anyone would be that anything is copyrighted and cannot be used for any purpose outside of fair use unless there is a specific license granting additional usage.
HN is a lot of /r/iamverysmart except some people actually know something.
Oh no, am I the enfant terrible of rust game engines?

Hey, any publicity is good publicity.
Honestly I agree with all points besides mask wearing. It's a habit that has been in other countries (speaking from US perspective here) to wear masks when sick. This is a good habit to have.
Cyber Attack, Possible Serious Breach, at U.S. State Department
Wise response. I wouldn't be surprised if ~20% of any society/state/country is immune compromised in some way, most of those people work across their societies; letting covid run would force them to separate, and eventually end in poverty, this would weaken any society.
> They said: When we chat, I feel like we don’t have much to talk about because I follow you on Facebook and I know about your various adventures.

> Poof! That sucked the air right out of my lungs. Facebook was robbing me of the privilege of sharing my news with my friend – and the other way around.

It seems like we have gone full circle. People argued social networks let’s them connect with others apart. Now, people have nothing to talk about with their friends because they are so connected.

The only argument for Facebook being beneficial seems to be dissolving.
Tap water isn’t chilled. Try stick tap water in a jug in your fridge for an hour.
I'm sure expert witness Bud Abbott could clear this all up for them.
> That's trivial. If the attacker can get one image onto your device they can get several.

At which point everything you brought up about attacks on the hash function is completely irrelevant because the attacker can put actual child porn from the database on your device.
> I just want to clarify that I cannot tell Adam what should he do.

Sure, but do you condone it?

> It is sad that you're judging the whole project by posts of just one guy.

I agree it’s sad, you have put a lot of work into this project and for non-technical
reasons many here myself included are driven away from your project because of Adam’s negativity.

I recommend you stop condoning it, at least publicly.
Trois Sœurs (Agriculture)
HN could really use some kind of tag for when a submission goes to a file instead of a web page.
I wish. I’m at Big Corp where key project collaborators and stakeholders are wildly non technical and there’s no way to use GitHub issues.

They mostly use only email.

What is a more accessible alternative?

I’ve been trying google docs. Thoughts?
But that wouldn't have much effect on cases, unless they simply stop counting cases.
Hate docker? It's overhyped like Rust and Go in here.
I'd love to use this approach if only I could save issues in, you know, git. Which isn't tied to Github.
everything2 used to be more like that.
Ask HN: Are we creating black holes yet?
Do particle accelerators create black holes? Consider four scenarios:

1. Two protons collide head on, creating a quark-gluon plasma. This decays into a shower of particles that fly off in different directions, conserving charge, spin, energy, and momentum.

2. Two protons collide head on, compressing everything far enough to create a microscopic black hole. This very quickly evaporates via Hawking radiation, creating a shower of particles that fly off in different directions, conserving charge, spin, energy, and momentum.

Could we experimentally tell the difference between scenarios 1 and 2?

3. Two protons collide head on, creating a new, unstable particle. This decays into a shower of particles that fly off in different directions, conserving charge, spin, energy, and momentum.

4. Two protons collide head on, compressing everything far enough to create a microscopic black hole. This takes a detectable amount of time before it evaporates via Hawking radiation, creating a shower of particles that fly off in different directions, conserving charge, spin, energy, and momentum.

Could we experimentally tell the difference between scenarios 3 and 4? I think the answer to this question is that yes, we could tell the difference, because if it were a black hole it would decay with a time that depends only on the mass, charge, and spin, and I don't think that unstable particles follow that pattern.
Schema on write is better to live by
I ♥ the acronym G-MAFIA but which company is I?
They aren't a GPL, which is the true distinction. Otherwise, they are a language, and they are used to tell a computer what you want it to do. Seems like programming to me. If you're saying someone isn't a programmer when they only know HTML &/or CSS, it is more accurate to say they are not a GPL programmer.

That said, it's mostly about semantic conventions. And by convention, if you only work with HTML and CSS then calling yourself a programmer would give the wrong impression. "Developer" might be a more accurate designation, really "Front-End Developer". These days such a job with only HTML and CSS would be rare, but there was a time when those two things alone were just fine. Then again standards change: You probably wouldn't call someone an engineer if they only knew how to use tools from 500 years ago. It's just that things move much faster in computer tech.
I'm aware of it, in the example given I used float32. Anyway Max/Min was just example I used other functions from math as well.

Anyway my point was that with generics, they wouldn't need to copy anything, the math package would work with both float32 and float64 and many functions likely would also work on all integers.
Reminds me of a CEO I used to work for who realized that old blog articles (which no-one was reading anyway) were copyrighted of the years they were written, and made a fuss that "no-one is paying attention, these details are important for our image, we need to show that we're up to date". There was no explaining him that this is not how copyright works, what's important was that we remind people of the current year.
I couldn't agree more. The lack of foresight of many people and leaders about this disease distresses me
That's a primary reason we're so serious about it in NZ, also it would kill tens of thousands of our native people.
I used to TA undergraduates in Molecular Bio. It was demoralizing to see how many answers to midterm and final exams were just regurgitated babble-stage nonsense. A hidden Markov model could have outscored half my students.
If you are using systemd's resolved you will have to disable `LLMNR` and enable `ResolveUnicastSingleLabel`. It should look something like this:

$ cat /etc/systemd/resolved.conf
[Resolve]
LLMNR=no
ResolveUnicastSingleLabel=yes
Surprised Pikachu face.
As the previous comment pointed out, its not the net energy that needs to be removed that is the problem.

I.e. its like a kettle that isn't just radiating the stove coil's energy away, it is actually trying to keep your stove coil cool while its turned up to 10!

The same amount of energy movement, but not the same problem at all.
Apache ActiveMQ 5.16.3 has been released
I wasted so much time, first on using other people's frameworks and later on writing my own.

Recursive descent might be a tiny bit more code, but it will never stand in your way.

And you don't have to write absolutely everything by hand; it's perfectly possible to simplify the process somewhat using the full power of the host language to get incremental parsing, look ahead etc:

https://github.com/codr7/swifties/blob/main/Sources/Swifties...
n-gate is my favorite read. It restores my sanity.
The minimum targeted device is sometimes not even capable of running the development environment. Doom was developed on $10k NeXT workstations. Good luck trying to develop Doom on a 386.
> How we moved from MongoDB to a thousand Chinese children memorizing numbers and you should too! [medium.com]
Yes like some vintage newspapers drawings. Especially the shading on that spigot.
> There was a post on HN a while ago which basically was about how using language (and probably, speaking out loud) is actually a `feature' or `technology' of human mind

Really would like to see that post, as I've been vaguely interested in this very topic for quite a while. Is there a chance that you remember any key words that might've been in the title, so I could plug them into the HN search?

From what I gathered so far, one hypothesis is that language development went hand-in-hand with both consciousness and empathy, i.e. social cognition: as we learned to see the world from the viewpoint of others, we also expanded the abilities to communicate with others and think to ourselves.
We should definitely start. Also, do those companies implement such subversive technology in devices they sell you?