skysight-inc/HackerNews huggingface dataset:
I do actually prefer postfix types, so I'm not against you there.

The bit about D is that while you CAN write it to look like C, (or even directly embed ASM blocks in it), it's usually written in a higher-level form without pointers that looks more like JavaScript:

// Count line length of stdin
void main() {
import std.range, std.stdio;

auto sum = 0.0;
auto count = stdin.byLine.tee!(l => sum += l.length).walkLength;

writeln("Average line length: ", count ? sum / count : 0);
}

----

import std.algorithm, std.conv, std.functional, std.math, std.regex, std.stdio;

alias round = pipe!(to!(real), std.math.round, to!(string));
static reFloatingPoint = ctRegex!(`[0-9]+\.[0-9]+`);

// Replace anything that looks like a real number with the rounded equivalent.
void main(){
stdin
.byLine
.map!(l => l.replaceAll!(c => c.hit.round)
(reFloatingPoint))
.each!(it => writeln(it));
}
> dystopic vision of a world permanently trapped on the verge of Y2K

What a precise description of my own perspective of the movie. Thank you! :)
Tool for Creating, Printing and Shipping QR Codes
Elizabeth Holmes’s Last Pitch
Department of Energy Blueprint for a Zero-Carbon Grid
Thanks for the explanation. Do you know if it would be possible to fully create an ifd.bin knowing the specs of the mainboard? Basically the opposite of `ifdtool --dump`. I'm surprised because it seems to contain some pretty secretive options like the HAP bit.
Potential violence != actual violence.

The potential to commit violence can be reframed as strength. It's useful because it grants you negotiating leverage, regardless of whether you are the aggressor or defender. Can't defend yourself? Vae victis.
Moving things to bitcoin with government registered wallets makes tracking a lot easier. Should make basic things like taxes and tariffs easier to enforce. Could possibly do a lot to shrink the under the table grey market in El Salvador.

Of course it could also allow the government to do worse things like backdoor wallets and confiscate crypto.
I'm surprised that they would accept symbol 7 ("other") in recycling for you. https://en.m.wikipedia.org/wiki/Recycling_codes
Yeah, the mass-energy relationship is at scales that are hard to wrap a human brain around.

A charged laptop battery gains about 2 picograms of mass.
This is pretty nifty, but I have to imagine that it is also detectable if you look for it. The drive can't differentiate between being read for execution and being read for analysis. So if an executable has been modified from the expected value, presumably a bit-by-bit or checksum comparison would reveal the change.

Such a program could be injected into the firmware of the machine, so it will never be read from disk, and it is unlikely need updating. One could also produce a second, clean room, program which does the same thing. This could serve as a back up in case a buffer overflow or similar exploit is found and leveraged in the first validation program.

Additionally, without the ability to self-update its signature database, version updates would render this hack ineffective.
It absolutely is.

Fat food directly causes obesity.

Obesity is communicable from fat foods.

By your strange logic we need to ban fat foods because they hurt people.
That's a good question. I can think of a handful of reasons, but I am sure there are more. 1) ease of use. It's much easier to tell a prospective customer a URL than instructions on how to download/install/run a local application (if they even have permission to do so.) 2) Ecosystem. If your customers are generating content that needs searching, sharing, or collaboration, it has to be on the web in some capacity. 3) (Unfortunately) Shiny object syndrome. Browser-based applications have an innate appeal that outmoded desktop applications lack.
Hmm -- I just read the article, and it seems pretty pro-bitcoin to me ...

"They have to take a bus to go to a physical location
to pick it up, and there are gangs that hang out
around those offices. They know what people are
going there for, and they basically rob them."

And

“Remittances are one area where the status quo
in our legacy financial system is terrible"...

And

... Alex Gladstein, chief strategy officer for the
Human Rights Foundation

“That’s drop-dead stunning. It’s an
incredible humanitarian improvement.”

The story of the article, and the headline, seems to be: old-timey remittances are on the ropes; can't compete.
To add that I don't think a full scale nuclear war can wipe out all governments. I believe countries with vast areas such as US, Canada, Russia and China can still survive with a rather intact government.
Add this to the growing list of retail (retail focused) organizations already employing this method for employee retention/acquisition:

https://www.vox.com/the-goods/22627543/free-online-college-p...

Also, I'll admit that in my current company it is a royal PITA to submit for EDU reimbursement and I would love to have a lower barrier of entry for enrollment friction, etc..
I also immediately had flash-backs to opening up an old CRT 13" TV that was going flaky (the sort of flaky where sometimes percussive maintenance worked). Being an electrical engineering student at the time, I thought I could handle it. I knew about the high voltage, I knew about the retained charged of the capacitors, etc, etc. What I wasn't prepared for was just how poorly shielded this thing was once I got it opened.

I shocked myself almost immediately as I was doing basic examination. I hadn't even gotten to probing for shorts or broken connections. Thankfully, the shock wasn't bad, more startling than anything (I remember it being somewhat like brushing up against an electric fence). I was wearing a grounding strap on the arm of the hand where I got shocked. Not sure how much/if that helped any.

That was enough for me to determine I wasn't qualified to work on it. I reattached the case and lived with its flakiness for a few years longer until it was replaced with an LCD.
> Isn't the baby also affected by that choice?

Legally, zygotes, embryos, and fetuses (like spermatazoa and ova, and unlike babies which are not involved in this) are not persons.
My guess is Apple looked at the trend of increasing technology in cars and how poorly equipped the existing manufacturers are to deliver on that then decided they could do better.

I'm doubtful as well.
This is the lamest title i ever read

Rust? what is that?

1.55.0 why is that worth mentioning

Is this an AD? or a news about an update?

Why not mention it's an update and is a release note?

or is Hacker News the place to release rust release notes so mentioning it would imply it is not

Fishy fishy, when i hold your tail, you start to stray away, or not, doesn't make sense anyways, does it?
> I loved the cinematography of the original film

Fixed that for you. 2nd and 3rd were the worst.
https://en.wikipedia.org/wiki/Double-slit_experiment
But how do you distinguish an abnormal traffic spike (HN hug-of-death) vs a botnet? Cloudflare’s solution is a CAPTCHA, but are there better options?
This attack was 20m requests per second, not 100k.
National flags and languages are not a 1:1 map. Some flags have multiple languages, and some languages have multiple flags.

And that can be "close enough", until you for example serve English speaking people in Ireland the Union Jack. Both languages and flags can be sensitive topics in certain parts of the world.
The Devil Wears Allbirds
Access Control in GraphQL
Is PHP Still Relevant in Building Websites in 2021?
Brazil's Bolsonaro Signs Measure to Limit Removal of Content from Social Media
> I am of the opinion that The Matrix probably shouldn't have had a sequel

Especially since it did not need one at all the way it was written. You could at stopped at the end of the first one and be very satisfied with what you have done.
I submitted the title, as is HN tradition, with the title of the article: "Announcing Rust 1.55.0". At some point in these last 55 releases, Hacker News decided to start cutting off the "Announcing." I don't know why. I haven't been bothered enough to email dang about it to ask, personally.
I'm slightly surprised they kept the red pill / blue pill, after it's since been heavily co-opted.
Not as much as you'd think. Not all army work is frontline work. You could be a mechanic fixing Humvees, or a comms-operator being the receiver for a radio post. At least those are the posts I could fill, there's more for sure.

I'd pick it any time over working for Big Jeff.
Well, it does seem reasonable to put _some_ cost controls on it. Hopefully there's lots of great school on the list, but I very much doubt Dartmouth will make the cut.
Would also like to consider this, but I can’t spend almost $2k on a reasonably specced laptop.
Leveraging Hardware-Assisted Tees to Protect Host Secrets [pdf]
I slept really well at my parents cabin over the years but not in the city where I lived. I could never figure out why. Then one summer they got Wi-Fi and I no longer had great sleeps there. Did some research and started experimenting with shielded clothing. Noticed much deeper rem sleep, dreams and all that again. I realize there's very poor research and low quality studies that support this. It's almost impossible to fund and find a group of people that can actually be shielded for a study.

But hey it works for me, enough that I invested significant time, effort and a bit of money to get a decently shielded sleeping area.

I have better concentration during the day in these same low emf conditions too.
> The authors' decision to license theis works this way causes the problem.

I'm not sure how you can rationally make an argument for a framework that literally limits the use of improved or more performant code/technology/understanding simply because it does not share a philosophical view of IP/ownership/sharing.

This is the core of the problem with IP in the real world as well, and I find it mind-boggling that we don't look at the SYSTEM and see it as problematic.
I'd like to add being able to switch languages in a website is really heplful for learning another language.

I commonly do it with Wikipedia
When you get a week off from school and only have your 40 hour work week, you realize that you don't know what to do with yourself, having (temporarily) forgotten how to fill your spare time with personal activities.

(But don't worry - you'll regrow that skill quickly once you're done with your schooling.) :-)
A few issues:

You can't trust that flags will be available, and you open yourself up to political/territorial disputes.

Windows doesn't render the Unicode flags (likely due to maintenance and territorial disputes).

Mainland Chinese iPhones don't render the Republic of China flag

Would you use the current Afghanistan flag, or the Taliban flag for Pashto (Afghani)?

Some languages don't have recognisable flags (our translation platform doesn't have a flag for Cantonese)

Flag to language is a many to many mapping. My Android lists ~107 available languages under 'English'.
That’s probably the way to go. Easy provisioning/scaling/backup based on RDS or equivalent.
A blood test for your circadian clock
Corono Entry Regulations by Country
You can quit Amazon whenever you want. You can't quit the military.
Servers vs services is an odd way to frame this discussion.

Seems like the specific problem is pull requests are not a core git feature in that they cannot be conveniently accomplished in a secure and decentralized way.
Thankfully these attackers haven't heard about Layer 7 attacks yet.
The tension is that people want to reuse translations. So maybe you have the story board for the first version. Then, someone makes a new button. In Django, they'd put _("Open ticket") as the text, see there's already a translation, and think they're good to go. Sure, having every page looked at by a translator for every language every time you make a change would be ideal, but also a bit costly and slow. I think there are better options in the middle.
You don't have a life and it's difficult for ~4 years. You live/breath/eat work and school. If you have a family, good luck.

I did it in my 20s and would not do it now as my body has aged.
Then the headline should read “Amazon to provide employee training” or something along those lines. As it is this is just corporate clickbait.
Could you see the wider Reddit community thinking that this promotes rampant misinformation and harm?

Do you think it would take a more wider and wilder popularity or the adoption of the subreddit with a political viewpoint for that to happen?
> The big advantage of glass from a consumer pov is that its inert and does not react with contents.

This is a pretty significant advantage, but the disadvantage is that sometimes you drop it.
The former category for XML External Entities (XXE) is now part of [Security Misconfiguration].

Insecure Deserialization from 2017 is now a part of [Software and Data Integrity Failures] [...] focusing on making assumptions related to software updates, critical data, and CI/CD pipelines without verifying integrity.

These seem like nonsense statements. XXE's aren't misconfiguration (in any sense that a myriad of other vulnerabilities aren't "misconfigurations" of libraries), and deserialization bugs aren't software update bugs (I don't even know what CI/CD is doing in that description).

The OWASP Top 10 is rapidly losing coherence.

It's important not to take it too seriously. For all the pantomime about survey data, there's not much real rigor to it. It's mostly a motivational document, and a sort of synecdoche for "all of web app security".

The best part of this is the end, where they say "we have no data to support having SSRF on the list, but 'industry people' tell us it's too important not to". Gotta side with the industry people on that one. But maybe you can cram it into "Insecure Design" next year and be rid of it!
I think I'm getting downvotes because people don't want this to be true. However, I'd like to hear an argument that makes my statements above not true.

For example, my parents are never going to self host their own photos unless they're confident that it is safe and reliable, and takes almost no effort on their part. They don't want that responsibility, and frankly, there's no need.

OSS can be built around businesses that take responsibility and host for others. Part of why so many of these platforms fail to gain mainstream support, is that they're not built to support a solid business case, and instead somehow expect everyday people to learn far more than is realistic, just to replace a service that is free and easy.

That doesn't have to be true. Wordpress, as mentioned above, is a very good example, as it provides both options. (Self hosting, vs. paying someone else to take that responsibility.)
Hopefully it's better now, but back when I lived in Sweden, I had to routinely translate strange Swedish wording to English to figure out what arcane computer term the translator had misunderstood.
If they have their Chivo app set up they can:

a) convert to dollars within the app or go withdraw at an ATM.
Or

b) buy things directly with btc. There are videos on social media of people there buying coffee, food, etc.

El Salvador already has the dollars by the way. They dollarized ~20 years ago. It’s the only currency in circulation, besides Bitcoin.
When do you sleep?

I worked part-time while an undergrad and it was almost too much for me.
My wife is currently finishing her masters while working 40 hours a week and still being a mom. It's very stressful, but she's killing it. One of the harder parts (aside from the long nights) was finding an internship that was flexible with her schedule.
> There have been attempts to hack me 2 days after requesting a quote from some buyers

How did you protect yourself against those?

Also, as a security researcher, are there alternatives you'd recommend more? Would Linux/Windows be more secure?
Generally you don't. Just be prepared to scale resources and handle everyone.
If you compress something so much that its nuclei want to fuse, it must become very dense. At the core of this compression, density is intense. Unlike a thermonuclear weapon where the compression is transient, there is no release from this nuclear vise. Pressures would radically rise increasing compression even further. Would the gravitational field in the vicinity of the center of this be equally intense? Could black holes on the order of the Planck scale be created? Would such a 'Planck hole' start a chain reaction of gravitational collapse, eventually growing to consume our solar system?
Well that seems like a benefit to me (as a company founder). I really don't want my info shared willy nilly.
since we are arguing about what the law should be, some(thing/one) being "legally a non-person entity" would be circular.

At what point is a person a person? "at birth" seems arbitrary.
When I give a dress shirt to a professional dry cleaner, I'm not personally responsible for it while they're cleaning it. Its still my shirt. I'd consider using a different dry cleaner if they started keeping notes on what they thought I did to make my shirt dirty. If they lost the shirt, I'm angry and may even get some compensation, but the shirt is still gone and someone else probably has it.

I completely understand that the scale and scope of abuse in tech can be much higher than with other services due to automation, but I don't see how its reasonable to question whether my stuff is still my stuff because I've entrusted it to a third party.
Zig 0.8.1 Release Notes - https://news.ycombinator.com/item?id=28442449

Julia 1.6 Highlights - https://news.ycombinator.com/item?id=26580926

Go 1.17 Release Notes - https://news.ycombinator.com/item?id=28201732

Why does Rust have special treatment on hackernews?

EDIT:

i can't reply to the guy who replied, why is that hackernews superOmegaAlphaModerators?

So here is my reply: @maleldil

The title was edited to convey an ideology, something that wasn't done for other languages

So one could ask certain questions about whether or not certain news get special treatment

"this news talk about X, let's edit title"

"this news is bad, let's edit title"

"this news is important to us, let's edit title"

"this news is lame, nobody will care, let's not bother with it"

When one has control about news, and edit what users submit, one can ask if that is a a website run by totalitarian regime, or not, or yes
Don't forget that there were people like Rich Salz who took their ball and ran home crying[0] because of a freaking word. Was this just a fit of temporary 2020-insanity that was going around? Nope - apparently 1 year on, it's still intolerably reeecist to have a "master key" in cryptography.[1]

[0] https://twitter.com/FiloSottile/status/1279190119703085057
[1] https://twitter.com/RichSalz/status/1435327330335997952
What an amazing write up. I feel inspired to study physics now. I wonder how my life might be different if I sought math and science courses instead of bailing after calculus.
Well, it's the same article officially posted by the same company on a community site.
Regular aluminum foil would probably just tear when you try to staple it to a building. Having some kind of backing material to give it some strength sounds sensible.
Lots of adults work themselves through college. It’s not easy but life doesn’t always allow the “college experience.”
Oh, cool. You just reminded me of a feature I had built into my web app many years ago when we implemented translations. We accepted internal commands in our search box, and one of the commands told the app to display the language text identifiers alongside the language text. It was a great mode for developers, QA, and translators. Developers and QA could easily locate text that needed to be put into the language system, and translators could work page by page to find the identifiers they needed to translate.
> Moving things to bitcoin with government registered wallets makes tracking a lot easier. Should make basic things like taxes and tariffs easier to enforce.

There are lots if wallets not registered with the El Salvador government, and it will be impossible for the government to distinguish those that are genuinely foreign from unregistered wallets used by people ot for purposes nominally subject to El Salvador’s laws.

So, no, it won't make tracking any easier, nor wil it make taxes and tariffs easier to enforce generally.
Haven't read his books, I must have gotten his ideas by osmosis. Now reading criticism of the books on his wiki page, I think his critics are not concerned with environment any further than it aids their real case if the quote below is a representative sample:

"criticizing [The Death of Environmentalism: Global Warming in a Post-Environmental World] for demanding increased technological innovation rather than addressing the systemic concerns of people of color."
An important part of deniable encryption is that you can "provably" deny data isn't there when it is. You want the authorities to agree that when you unlock your volume they see "all" of your data so they don't hold you in contempt. If the total changes is less than the data visible, the assumption is you're hiding more data. Adding noise isn't deniable. In fact, it would hurt you: If you can't prove your noise is noise then the authorities are going to assume you are hiding data.

I think you make a good point: the only way to be secure in this method is to A) work on an uncompromised machine and B) write each layer in series and C) never change it again.
That is a very biased article that is playing up all the aspects of Spartan society that modern audiences would find repulsive for internet likes. At the end of the day it is not unlike the film it criticises (300) except it's going all the way to the other end and painting a portrait of a grim, evil empire.

It is good to keep in mind that pretty much all ancient societies had norms and customs that we find repulsive today, from pederasty, to slavery, including sexual slavery, to killing of female children, to depriving women of all human rights and treating them as chattel. Sparta sounds particularly bad if one does not know much about the ancients. Otherwise they sound somewhat ordinary and only a bit more up themselves than others.
The legal structures for RSUs are pretty clear, and they are counted as ordinary income when they vest.

The particular shares involved _could_ have used a different legal structure, but that's not my understanding based on the articles I've seen about this.

But even in your hypothetical it would not all be capital gains. It would be ordinary income for the value of the shares at the point of the grant, and capital gains for the appreciation since then.
From IGN's article about the difficulties of game development (https://www.ign.com/articles/turns-out-hardest-part-making-g...):

“Planning ahead helps, but nothing will prepare you for German,” [Joe Mirabello] said. “German destroys your best laid plans. German will defeat you. That text field you thought would only ever need a single 10-20 character word? Nope. German has a unique word for that and it’s a hundred and twelve characters long. We even have a native German developer on our team and he refuses to translate our games into German. This is all said tongue-in-cheek, of course, just to illustrate a point, and that is; whatever scaling flexibility you think you’ve planned for in your UI to account for localization? It’s not enough. It’s never enough.”
> How can you fit anything after an exhausting 40 hours of work per week?

You must not know any single parents. Humans are extremely capable when it comes to important things.
Yes. Having unique error codes should be a best practice with translated apps.