skysight-inc/HackerNews huggingface dataset:
It can.

-Z unstable-options -Zunpretty=hir,typed

// source
pub fn square(num: i32) -> i32 {
num * num
}

// expanded
use ::std::prelude::v1::*;
extern crate std;
pub fn square(num: i32)
-> i32 ({ ((num as i32) * (num as i32) as i32) } as i32)

You can try on https://rust.godbolt.org/
I'm 44yo now... my great grandmother was a school teacher starting in the 1930s, and her 5th grade books for English alone was far more difficult than anything I had through H.S.
https://en.wikipedia.org/wiki/Rabbit%E2%80%93duck_illusion
I disagree. We should have conversations about how our software is used, even if it's a divisive topic.
I'm not sure what a sane ISA has to do here, the parent was comparing a SIMD accelerated program to a non-SIMD program and using that to compare two CPU architectures. Does that seem right to you?
Font-Feature-Settings – CSS: Cascading Style Sheets – MDN
Maybe not phone yet, but tablets (running the same OS) are getting extremely powerful and the apps are coming. [1]

[1] https://www.theverge.com/2018/10/15/17969754/adobe-photoshop...
But a package is still a package, and electricity is still electricity. Neither the post nor the power company care what you're using your electricity for or what you're sending in your packages as long as you pay an appropriate cost for your usage.

A byte from Netflix takes exactly the same number of packets on the wire as a byte from Hulu or a byte from fcc.gov. Charging more for transferring one of these over the others is pure rent seeking.
I'm getting closer and closer to the "just dump it all in a huge bucket and search if you need" strategy. Like many here, I've tried to keep things semi-organized but it's a constant fight against entropy. And filing tens of thousands of emails and files every year just so I can access the 1% that I might need later seems dumb. Why not just search? It might take 10x as long to find via search as it would if it was nicely filed, but if you only need 1% of the files in the long run, you still come out 10x ahead.

Years ago I stopped filing my physical paperwork and instead just scanning with the Fujitsu ScanSnap, which creates searchable PDFs. It's been amazing. I almost never need any of that stuff, but it's there if I do. In fact, given how useless all that stuff is turning out to be, I'm tempted to even stop scanning and just put in a big box and forget about it. If I need it someday, I can dig through the box and find it. Now that I have several years worth of files clogging my Downloads folder, it might be time to just take the same approach there.
I'd argue that expansive view should be coming way, way earlier than high school.

How about before you beat the curiosity and sense of wonder out of 5-8 year olds with times tables, memorizing the dates presidents were born, and repeating the word "prepositional phrase" a thousand times - that would be a good time to start.
Just like "Free Kevin" of old, "Free Shkreli" is a valid thing.
WA Senate passes bill to create a European-style consumer-data privacy law
> would work just as well (minus the windows UAC thing)

The blue UAC prompt and no warning message is the main point, though.

In theory users could manually verify a PGP-signed executable, but that's well outside of the average Windows user's knowledge.
> Surely the solution to this epidemic is to address the underlying drug problems first?

Try this scenario out for size: Tomorrow you go shopping, while leaving the shop, a teenager enters with a gun demanding money, he gets nervous and shoots the cashier and while running out the store shoots you in the leg. Luckily authorities are quickly at the scene, arrest the criminal, and medical personal take the clerks body away. A cop comes by you and says: Geesh, that sure looks bad, but don’t worry, we are hard at work trying to solve the youth criminal behavior at the root of your current condition. And don’t worry after you bleed to death the medics will be able to fit you in the same van as the clerk, so you won’t be that big of a bother for them. Sad though to think, before we started focusing solely on root cause issues, they could have just stopped your bleeding and taken you to the hospital. But I hope you understand, it’s about efficient allocation of resources.
Logan Abbott[0] bought SourceForge back in 2016 and has been cleaning it up ever since[1]:

> Hi, president of SourceForge here. Glad this is trending, albeit a few months later. These articles seem to trend on HN every few months, with many people not realizing SourceForge changed ownership in 2016 and that the new team's been working hard on improving. To be clear, we had nothing to do with the bundled adware decisions of 2015, and when we took over in 2016, the first thing we did was remove the bundled adware, as well as institute malware scans for every project on the site. We're working hard to restore trust, so if we win some of you back that would be cool. However, we're just focused on doing right by our million daily users.

[0] https://news.ycombinator.com/user?id=loganabbott

[1] https://news.ycombinator.com/item?id=17592523
You can be as sorry as you like, however:

1. The original HN mission was to discuss “anything that piques our intellectual curiosity.” That is often technology business, but not necessarily.

2. The very word “hacker” implies a certain culture that has ALWAYS been highly interested in anti-authoritarian subjects. News and politics involving freedom of speech, freedom of journalism, and so forth are nearly always close to the heart of the traditional “hacker culture.”
It’d be impressive if he wasn’t literally one of the shittiest human beings on the face of the earth.
I think you may be surprised how much more ready they are for those than STEM details at that age.
This is not abstract math, and the article does explain what it's doing before presenting the code snippets.

How can you explain or implement gradient descent without math? At some point I think you have to accept that this is a topic that involves math, and you're way better off understanding it on those terms rather than trying to avoid it.
> Based on what I see, it looks like the US Govt is keeping tabs on those persons (journalists) who are sympathetic to the cause of of a group of people (the caravans) intending to breach the country border.

The caravans are lawful asylum seekers that are only crossing at non recognized points because the administration has taken active and dubiously legal efforts to forcibly prevent them from reaching and applying for asylum at regular ports of entry, going so far as to close ports if entry and fire chemical weapons across an international border for that purpose.

Not that being sympathetic to them would be problematic even if that wasn't the case.

> I'm a legal temp immigrant in the US

No, you aren't. Immigrants are permanent. You can be a legal immigrant or a legal temporary worker or visitor, but you can't be a legal temporary immigrant.
The design constraints of the "input devices" are invariably different. The keyboard and mouse are "precise", while fingers are not. This manifests itself exactly like you see it :(
It's great that The Atlantic is finally putting out articles de-stigmatizing trade school. But, over the past several decades, The Atlantic has been a major contributor to the problem by churning out articles claiming how great and necessary college education is for all and how we should provide more subsidies and loans for higher education, without providing nearly as much attention to the utility of trade school. I'm sure countless Americans who would have been better off going to trade school instead of college have made that poorer decision as a result of The Alantic's editors and readers pushing too much for college degrees.
Oh dang! That's very cool, thank you!
Modernism in the arts has a bit of a path-dependency problem that tends to intentionally obscure the "artistic value" of the bleeding edge from the uninitiated, but which can make the art more meaningful to those who are familiar with the context.

I'll use jazz as an example, since I'm most familiar with that history. You can start with something as approachable, if disorganized as "Jelly Roll Blues"[0], and polish the genre into "Take the A Train" [1] as it became more generally popular. After that, though, the bleeding edge of the genre self-protects itself away from the common ear by growing increasingly obscure, with bop [2], modal jazz [3], free jazz [4??] becoming progressively less approachable to the uninitiated ear, to the point that the the unfamiliar ear can hear the latter and find itself unable to recognize even as "music", while someone familiar with the genre can see the path and appreciate the work in context.

[0] https://www.youtube.com/watch?v=Zt203us6TME

[1] https://www.youtube.com/watch?v=cb2w2m1JmCY

[2] https://www.youtube.com/watch?v=Z2tvlp7RnlM

[3] https://www.youtube.com/watch?v=hwmRQ0PBtXU

[4] https://www.youtube.com/watch?v=ll3CMgiUPuU
Code Signing is more akin to EV than domain verified.

They're checking organisational or individual identity, which is a work intensive process (e.g. "email me your driver's license, business license, and tax return so I can manually review them.")

It might be possible for a charity to run a FOSS code signing CA, but it is unclear who's paying for that since it needs actual staff.
This is textbook whataboutism, no one is saying the other is not corruption, no one is saying other instances are ok. I don't know why you think the discussion is a scale with weight on two sides, with one side being a 'winner'. Crime and bribery are wrong, period.
CEOs don’t go to jail for any of those things. The funniest thing about the Shkreli case to me is that despite the bad press about who he was, what actually put him jail was that he gambled (and won) with a some rich people’s investments and then the SEC threw the book at him.
HN isn't restricted to tech stuff, it's anything that gratifies intellectual curiosity. This doesn't post doesn't qualify.
How does Oregon’s first-in-the-nation rent control law work?
What is tech for? how are we going to keep tech from unintentionally (or otherwise) target humans for unethical purposes?

I see where you are coming from, but this sounds a lot like the white guy who claims he's not a racist because he doesn't see color.

Sorry to say it.
By "strong" I really mean "type inference" over "type deduction", to be clear. But yeah, I could see that.
Wow this is perfect! It wouldn't work well for my work email where I need tk keep track of emails from service providers etc, but this is perfect for personal emails. Thanks :)
Starting with this would help.

Didn't VLC do this? It's not impossible.

http://www.h-online.com/open/news/item/Relicensing-VLC-to-th...
Everything personal is in ./Dropbox and everything work related is in ./Google Drive

How my work and personal files are organised was a source of frustration and annoyance for _years_, I'd be constantly fighting a sisyphean battle of organising the ever growing chaos; then I had a realisation, hierarchical folders/files will _never_ map to my mental model and there's no perfect system. I've learned to live with the chaos.
Or he might've "persuaded" the guards to let him keep having the cell phone sort of like how he paid off the poker debts of some of the inmates.
Why do you say this? That's an incredibly bold claim.
> Funny thing about trust: I trust a developer who drops some $$$ on a code-signing certificate more than I trust a developer who doesn't. Even if it's just $20.

Why? If I expect to make four figures on spreading malware/adware, and I can assuage the nerves of people like you by spending two or three figures on a certificate, I'm going to buy the certificate and make it look all nice and pretty and take your money.

> Your business name and physical address are injected into the certificate. Basically code-signing certificates make it easier for people to find you and sue you if they truly want to. I suspect that's the whole point.

So I have to incorporate in Delaware, make up a fake address, and rent a burner phone for a while. I'm not seeing the downside.

https://www.bizfilings.com/toolkit/research-topics/incorpora...

> Delaware does not require director names and addresses to be listed in the Certificate of Incorporation.
That's why smart AI must also have smart scaling factors. Maybe some randomness. Maybe some imperfections, like players do. I think we should design the best and smartest possible AI and scale it down for average players. Currently we have dumb AI boosted for advanced players. And boosted very naively - by giving them more hp or make them deal more damage.
Exactly. The unspoken context undermines the point. It makes me wonder why articles like this gain any traction. What purpose do they serve?

Is it really a case people have the notion developers min/max their professional skills like it was a video game where only the level of "programming skill" matters?

I doubt anyone who comes across these articles have so little life experience to actually believe the lazy stereotype "developer" = "anime watching shut-in with no life skills and can't function in society."

So what _other_ purpose does the article serve? Who is the audience, and what value do they get? (I have my ideas, I'm just asking rhetorically.)
Mass/cluster suicide is, unfortunately, a poorly understood and researched phenomenon. The Werther-effect seems to be a good first pass at describing what is likely to be a manifestation of many underlying causes [0]. Though this may sound like a broken record: more funding is needed.

Suicide can be described like any other disease [1]. It has a coefficient of communicability/spread. Though I can't find the citation, it is thought that social media has increased this coefficient by ~22x ; meaning that suicide has become much easier to 'catch'. In the US, a fair few suicide 'clusters' have sprung up and many more are likely being hidden by empathetic, yet mis-guided, coroners. One famous one was in at Palo Alto HS in California[2], where a lot of Stanford's Professors sent their kids. Another, still ongoing, is in Colorado Springs' religious High School network[3]. I'll let Newsweek speak for the true horror that is possible via new technology:

>“This is the part that kills me—I know she was texting other kids at the time and letting them know,” he says. She wrote, “My feet are off the floor,” and “Everything is getting hazy and dark.” None of the kids intervened; one responded by suggesting she “unhang.”

Suicide is also prevalent in east Africa currently [1] and there have been spats of it throughout time in a wide variety of place and for a large range of reasons[4].

Even talking about suicide at all, like I am currently doing, can increase it's reach. It's a very tricky thing to research and combat, as a consequence.

PLEASE, if you are feeling suicidal, reach out! Call a friend, a family member, or someone you feel safe with. CALL THIS NUMBER NOW:

1-800-273-8255

[0] Like describing a stuffy nose; it has many causes.

[1] https://en.wikipedia.org/wiki/Epidemiology_of_suicide

[2] https://www.theatlantic.com/magazine/archive/2015/12/the-sil...

[3] https://www.newsweek.com/2016/10/28/teen-suicide-contagious-...

[4] https://en.wikipedia.org/wiki/Suicide_epidemic
Problem is, this assumes that all CAs and their resellers do that verification properly.

https://security.googleblog.com/2015/03/maintaining-digital-...

https://arstechnica.com/information-technology/2017/11/evasi...

"The third key weakness in the code-signing ecosystem was the failure of certificate authorities to verify the identities of people applying for code-signing certificates. Twenty-seven certificates in the group of 111 misappropriated certificates that the researchers identified fell into this class. Twenty-two of the certificates were improperly issued as a result of identity theft of a legitimate company. In some cases, malicious actors impersonated legitimate companies, in some cases ones that had no involvement at all in publishing software. In the remaining five cases, the certificates were issued to fraudulent shell companies. "
>"Running a Business"

The WSJ either intentionally, or unintentionally, is subtly trying to cast this narrative that he is a mafia-boss who is still running is illegal mafia-crew from behind bars. They are doing that simply because it sells papers, I would assume.

If you take away the "business" aspect of it, and just think of it of an asset. Say for instance an inmate owns a house; is it somehow worrisome to imagine a they would want to check up on their asset and make decisions to improve it? Obviously not.

This is just the click-bait style material that "modern journalism" have been reduced to.
Someone breaking into my apartment, and putting an inline USB keylogger on my computer, that is incapable of doing anything but recording keystrokes, to steal my banking login, is both seriously overthinking their crimes, and, at the same time, seriously underachieving.
In Germany, Notepad++ is ubiquitous on Windows computers (every developer has it). Is it like this in the US, too?
Years ago I deleted my Facebook account [the "please everything" request, for what that's worth]. I felt so much better after doing so.

I then soon joined Twitter and consciously curated who I followed. I felt [and still do feel] fine about being on Twitter.

Some months ago I rejoined Facebook. I am consciously curating who I do and don't "friend" or follow. So far, so good. Yes, I am noticing the now-expected targeted ads ... but I prefer them, to be honest. Market me tickets to the Fandango showing of 'Logopolis' please; even if I don't buy, that's much more useful than the usual random jar of some guy's snake oil you'd offer me 20 years ago. Is this me being Institutionalized on tracking? Maybe, but there is an "after the uncanny valley" for tracking/advertising just like there is for robotics and AI. I'm interested to see how that works in relation to echo chambers.
I rarely see code in python that I would both like to touch and that uses techniques of this sort.
What's up with all these psychologists lately trying to play philosopher, turning back to the ancients and commenting on normative concepts (particularly related to morality and politics)?

I'm not against psychologists contributing to discussions on these topics but sometimes the amount of hubris they seem to have in their approach is a bit baffling—they all seem utterly convinced their opinion on the topic is correct and impenetrable—I feel like I rarely see philosophers or political scientists associated with these moralizing titles, it's always "Psychologist discovers everything wrong with the world" or "Psychologist claims our morals are a wreck" etc. etc. Of course, I'm sure my experience is skewed, but it's a weird phenomenon (perhaps its just the coattails of Jordan Peterson's meteoric rise and notoriety).

Edit: to clarify, I'm more so against this notion that the American mind is "coddled". I don't think it's constructive. I think it's an invective meant to produce division and build allegiances, not to intelligently adjust the path we're going down. To say the deployment of particular concepts is the result of "coddling" is of a different nature than calling for increased criticism and scrutiny in our society.
If your compiler correctly enforces security properties (and many languages do attempt to do this, at least in well-defined "safe" subsets), then of course any source code compiled with it is going to be safe. It's the difference between the JavaScript/WASM JIT-powered sandbox on the one hand, and the ActiveX code-signing-based model on the other. Which is safer?
I'm generally happy to see the "or equivalent experience" as someone who squeaked through HS. I picked up programming in my late teens while doing design work and just kind of naturally fell into it. My first 5-7 years working in the field were particularly difficult as more than half the jobs didn't have that as part of the statement, and the HR types typically wouldn't even let you past the gate.
Yes. Literally that. You can't advertise cigarettes on TV. You can't even have a business bank account if you run a medical marijuana dispensary. But somehow you can advertise alcohol on network television during prime time.

Alcohol related deaths are the 3rd highest preventable form of death in the US. It's great that you can responsibly enjoy an IPA with your friends. Pretending it's only fun and good times on the larger scale is naive at best.
I think Vulkan is a good example that a one-size-fits-all 3D API (spanning all GPU vendors, platforms and low-/high-power GPUs) only results in a mess.

And OpenGL was a mess too to be honest, at least after 30 years of development. Vulkan started right off with an even bigger API complexity.

It might actually be a good idea to have a handful of low-level, small-ish GPU-vendor and/or platform-specific 3D-APIs, each of those is most likely less complex and has less design-compromises than Vulkan.
> I'm not sure what you mean by "force" here—are you talking about slavery or genocide? Military takeover?

> Or do you mean something like "show them the results, and convince them it's a good idea"?

Good question, I think our disagreement may actually come down to how we view the definition of "force".

I did mean the former (military/police force). I think the latter is the best (and only moral) way to get things done (winning hearts and minds). But where we may differ is that I believe even democratic laws are force because they are ultimately enforced by police agencies at the barrel of a gun (or threat of imprisonment).

So I don't really see a philosophical difference in imposing universal healthcare at a federal level on a State (pick any conservative state for example) who doesn't want it, or invading another country militarily and forcing them to do it. Both result in the imprisonment or death of people who refuse to be assimilated.

That's why I argue for doing it at the lowest level possible, such as New York State or even better maybe NY City. If somebody wants to "opt out" they can move, which isn't a great solution, but it's certainly easier to move out of the city or state than to move out of the country.

Then at the same time we can evangelize for universal healthcare and demonstrate with our own state that it can work. Once it's proven, I bet many other states would adopt it as well. This extends beyond healthcare IMHO to almost every other facet of law.
In the article, "Senate Bill 5376" hyperlink, opens a short 6 pages PDF entitled "Senate Bill report" that has a summary of the proposed law on page 3 and 4,

The threshold of 100,000 users is interesting, since it's probably to protect startups from too heavy regulation, but not clear if that is 100k DAU or just 100k registered users.

I wonder if other US states have similar laws already, and if they don't, would WA state put itself at risk of seeing fewer startups/small online businesses grow due to burden of regulation and the potential fines?
Jason Evangelho First 24 Hours with Fedora Workstation
> LetsEncrypt is a hack to get HTTP encryption working without shelling out money for meaningless identity "verification".

Have you used Let's Encrypt? It verifies that you own the domain in question. HTTPS requires that the server you're connecting to has been identified.
Hazel, if you want a GUI tool for that sort of thing.
Have you been under a rock? Do you know he’s in jail?
At ~ (tilde) "root", I have 3 major folders.

- Work
- Labs (informal code projects and practice)
- Personal

But I keep my files in Google Drive that are in less need of security.