skysight-inc/HackerNews huggingface dataset:
In case that was not a troll...

This statement is absolutely wrong. You make it sound like everyone is being rational all the time. Scams are at a similar level of credibility and they do work very well in practice. If I'm told I won't be able to pay rent next month despite working three jobs, which already stressed me out to no end, then it can definitely happen.

But that's not all. Even if we stay rational, we still have the responsibility to consider that the account had been hacked, or that an accounting error happened, etc. That will take some time to resolve. Maybe I'll incur financial cost in addition to wasted time, e.g. by canceling a credit card or involving a lawyer.

What will you do if your prank made me panic, or made me waste resources? Will you take responsibility?

Do you think Deliveroo would find it funny if I send them a bomb threat in response? It's just a joke after all! Yes they had to close their office and it cost them millions, but... it was just a prank, so chill, dude. Haha.

It's a funny as hitting someone's head with a shovel.
The world desperately needs a replacement for YAML.

TOML is fine for configuration, but not an adequate solution for representing arbitrary data.

JSON is a fine data exchange format, but is not particularly human-friendly, and is especially poor for editable content: Lacks comments, multi-line strings, is far too strict about unimportant syntax, etc.

Jsonnet (a derivative of Google's internal configuration language) is very good, but has failed to reach widespread adoption.

Cue is a newer Jsonnet-inspired language that ticks a lot of boxes for me (strict, schema support, human-readable, compact), but has not seen wide adoption.

Protobuf has a JSON-like text format that's friendlier, but I don't think it's widely adopted, and as I recall, it inherits a lot of Protobufisms.

Dhall is interesting, but a bit too complex to replace YAML.

Starlark is a neat language, but has the same problem as Dhall. It's essentially a stripped-down Python.

Amazon Ion [1] is neat, but I've not seen any adoption outside of AWS.

NestedText [2] looks promising, but it's just a Python library.

StrictYAML [3] is a nice attempt at cleaning up YAML. But we need a new language with wide adoption across many popular languages, and this is Python only.

Any others?

[1] https://amzn.github.io/ion-docs/

[2] https://nestedtext.org/

[3] https://github.com/crdoconnor/strictyaml/
what measures are in place to detect illicit material? On that note, do you have a content policy? Someone's got to gatekeep and decide what's cool to upload and what's not?
yeah, and there are literally crypto gambling games out there too. I'd really advise not to play any of them, though
Ghostery, at least in the past, has sold user data. ABP allows companies to pay to whitelist their ads[1], and is somewhat bloated in my experience.

I highly recommend uBlock Origin. Their manifesto[2] most closely aligns with my beliefs on how my browser should behave: "The user decides what web content is acceptable or not in their browser."

1: https://adblockplus.org/en/about#monetization

2: https://github.com/gorhill/uBlock/blob/master/MANIFESTO.md
Sorry, I didn't mean not programming with it, but entering the discussion of why I don't trust the company management anymore.

Free Pascal + Lazarus is a fine free alternative if the language suits you.
I think you're right that this issue should be viewed both as an Amazon problem, and a public infrastructure problem.

Frankly, it's insane to me that we don't consider public bathrooms to be an important component of public infrastructure.

But that doesn't take away Amazon's role in the process either.
Windows 2000 was such a surprise. The "look" was not vastly improved from 98se, but for a power user it was clearly a better OS. Everyone I met who had tried Windows 2000 a similar reaction - this is really good stuff.

I feel like Win 2k was "underappreciated" because of that surprise, but also to the point of the author. The visual design was not a huge improvement over previous editions. I'm sure it didn't "feel" like an upgrade.
Decentralized energy production via solar cells on every roof is the future. It is simple, cheap and safe from terrorist attacks. Nuclear power is not simple, not cheap and a security nightmare.
Is Performant a Word?
Toilets are available. Not enough toilets are available for public use
Please stop perpetuating the myth that cats are "arseholes".

Cats, much like dogs, and every other non-human on the planet, have different drives and understandings than a human. Just because we aren't capable of fully understanding those drives isn't a reason to denigrate them.

The next time your cat does something that is outside of your understanding, please have a little compassion.
They are permitted in certain cases, not in others. It is proposed to widen the former list for C++23.

All this is an argument for "rule of zero": write your classes in a way that the default copy and move constructors and destructor do the right thing. That gives the compiler latitude to do the right thing in places that it otherwise could not.

Some code obliged to do extra work will be able to do less of it when compiled with a compiler that knows C++23, provided you have followed rule of zero.
The system I'm typing on runs Windows Server 2019, which has the Windows 7-era calculator and very little ability to use UWP apps, and I still do my math with Speedcrunch, Desmos, or an emulated TI-84 Plus CE via CEmu.

The Windows 7 calculator is a solid basic calculator, but I think most power users in that time used third-party options or something like a spreadsheet. Microsoft clearly thinks of the calculator as a demo application for UWP and XAML, as evidenced by them open-sourcing it, sort of like how Apple treats TextEdit like a Cocoa text rendering demo. If you want a serious calculator or a serious text editor, you're better off looking outside these bundled tools.
I didn’t say what you’re saying I said. Making inferences based on my posts and presenting those inferences as unequivocal statements I’ve made is... well, not helpful. I think alternate perspectives and legitimate concerns about all technologies should be discussed without devolving into accusations that I’m against the platform.
indeed it looks like I posted the wrong one!
Those are very different things. The whole point behind loot boxes is that you never know what you're going to get, and it might be quite rare/valuable. With both Blue Apron like boxes and airplane tickets you know and select exactly what you're going to get.
It's not a great thing.

But having met drivers (taxi, truck, etc) from around in world and in different countries. This is quite common.

Again, not great.

But a fairly "standard" thing in the transportation industry.

I remember seeing bottles in New York City yellow cabs and wondered why they always had empty bottles beside their seats -- until one day a friend told me.

I was grossed out. But then I noticed it more and more and more.

One day I was driving from Portland, Maine to New York City and I had to go, but the next rest stop was miles away, and this was a place in Connecticut that literally had no place to even pull over. It was that, or...

I looked around and there was a bottle, and I did it. Hehe.
XP and previous versions were susceptible to root kits. Once you had one the the OS was toast. Removing them and mitigating the impact used to be a prolific business. At the end it was so bad that companies were forced to migrate to Windows 7. Windows 7 introduced a protection feature that somewhat randomized the once predictable memory locations of the kernel drivers. Root kits disappeared as a common occurrence. XP in the hands of a lay user will be trashed almost immediately if exposed to the internet.
Java simply stole the show. It had GC, namespaces, huge ecosystem and free.
I'd argue this was only the end of the AAA industry, as they all shifted towards monetization, but has catalyzed the growth of indie games — which are more expressive and artistic than ever before.

Games like Outer Wilds removed any notion for what a game could look and feel and play like, for me
The access to water is the bug, not a feature since seismic events allow radioactive materials into water, like learned at fukashima. Access to sunlight is more prevalent than to non seismicly active areas. Here is the only nuke in construction in the US, and it's long been a debacle.
https://www.bizjournals.com/jacksonville/news/2019/03/22/pla...
ZeroTier reverts to Apache after 4 years, and there’s a GPL version from 2019.

So, older versions are indeed open source, and new versions will eventually be so as well.

What’s your objection to the BSL? It seems like a great way to provide ongoing funding to open source, and guarantees popular commercially developed software won’t end up as abandonware.
You assume the drivers would shift usage to use a facility vs a bottle.

Say using the bottle shaves off 15-30mins compared to the bathroom. I’m sure many would still prefer to get home 15-30min early.
Viral expansion of any tool depends on (pardon the pandemic reference) a super spreader event or 10.
Success needs:
1 A killer app. Pascal/Turbo Pascal, Email/nascent Internet, VisiCalc/Apple II, 123/IBM PC.
2 decade long over night success like Python

I acquired my "10K hour" badge with Pascal in the late 70s (CDC Cyber 6600) and Mid 80s (PC) and then again with Perl (late 80s to early 2Ks) when each of these
peaked. Coming back to the 2015+ versions (Lazarus / Perl 5.24+) of both was nostalgic but the communities were in the backwaters of programming due to viral success of some many others.

A compelling event would have to happen to elevate them again. It could happen: Something pushed Ada to almost triple its "popularity" ( to < 1%.) According to PYPL (https://pypl.github.io/PYPL.html) in the last year.
I've seen the exact same behavior. I didn't realize it was behind an environment variable. I passed a package to the command and for the next week I was dealing with issues from everything being upgraded.
It’s not factually accurate to claim that chrome is “slow”, especially vis-a-vis Firefox.
Don't worry, the article takes the mainstream position that Satanism, to the extent it even exists, is nothing but edgelordery for harmless fun.
I've been aware of property-based testing for a number of years now, but never had a good opportunity to give it a try. Then the past year I had a piece of serialisation/de-serialisation code, which was the perfect opportunity for a rather simple property-based test. That gave me the hang of it, and found two (minor, but still) bugs.

Then recently I had a fairly larger, more error prone piece of work that lend itself very well to property-based testing, and it's been a godsend. It helped me discover a number of bugs, this time with the risk of causing privilege escalation. And since the proptests started succeeding reliably, I've been very confident that a rather complex piece of code now actually does what it's supposed to.

If you're working in JavaScript, I can recommend fast-check [1].

Another interesting approach, that I haven't yet tried, is Quickstrom [2], basically Puppeteer for proptests. It opens a webpage in a browser, performs some random interactions (pressing buttons, entering data, etc.), and then verifies that properties you specified still hold.

[1] https://dubzzz.github.io/fast-check.github.com/

[2] https://quickstrom.io/
Brexit Ruined Easter for Britain’s Chocolate Makers
> We have rules against speculation.

This is so broad I am not sure which laws you reference. Most of the laws I am aware of talk about how bmuch money you must have to be allowed to speculate.

> Math will never be outlawed,

I wish I shared you certainty. We currently have laws about exporting some types of Math (cryptography) and we have lots politicians interested in placing further restrictions on cryptography.
Interesting. I figured treaties would need to be compatible with current law to be valid.
I switched from Windows to OS X over 7 years ago and this is the first time I've ever learned about Quicklook. Looks like a great feature.
Tomato Tomato. As another person clarified, I'm probably trying to switch to the most recent window of a given application. For all practical purposes, the window and the application are the same thing. There may be additional windows of that app, but they are all that app.
People try to write just about anything today for "content".
Depending on the processor, it can also be the difference between instructions in a tight loop only needing to be decoded once (because of micro-op caching) vs. decoded each loop iteration.
Exactly right. This is like all the people here who thought they could unstick the Ever Given.
The author was testing these browsers on an iPhone — but neglected to note that Apple actually prevents other browser engines on iOS.

So if you use Firefox or Brave on an iPhone, you’re simply using Safari with a different “skin.” This skin can clearly do some content blocking, and it can provide a different browser UI — but it cannot change the fundamental web technologies that are available in the browser.

As such, Safari is basically the new IE6 — it lags all other modern browsers and prevents websites from taking advantage of nice new features. (Yes, some of these features are available with polyfills but others are not polyfillable.)

I wish the author had noted this, given the high visibility of the NYT. More people need to know about Apple’s neutering of browsers on iOS. It’s crippling the growth of the web.

One specific example: Safari still doesn’t support AudioWorklet, which means iOS users get lower-quality slowdown in my product Soundslice (a feature we rolled out last week: https://www.soundslice.com/blog/199/introducing-enhanced-slo...). If more iOS users knew about this, perhaps they’d lobby Apple for better web support.
Why no traffic shown inland on the Mississippi?
This would benefit from a 2019 tag.
The reason there's no(few) public bathrooms in the US is that we're not allowed to charge for them (with the noble goal of human rights) as opposed to the EU/UK.

So the first malcontent that spreads feces all over the walls and blocks up the toilet with a syringe gets the whole thing shut down.

http://psmag.com/economics/dont-pay-toilets-america-bathroom...
Indeed, I won't believe anyone that asserts they can fit on their head all UB usecases that are documented on the standard (> 200).

Nowadays I just use it for native library wrappers, as it is better than plain C, but still hoping for FFI improvements on the languages I use that will reduce that need even further.
Nowadays I hear a lot of people commenting about how excellent the quality of Japanese products are. How they have a "craftsmanship" culture where a master will spend his whole life perfecting a craft, etc. Recently read a reddit thread about a Japanese man making whisky in the 19th century. Overall a lot of praises for the Japanese on how they pursue excellence.

Amazing how fast attitudes change. Just a few decades back, Japanese goods and Made in Japan had the same cheap, low quality reputation as Made in China goods today. I even distinctly remembered the same "Japanese people as a culture don't care about quality" comments which is the same as some people nowadays complaining that Chinese people have "chabuduo"(just enough) attitudes. Or the same accusations of no creativity.

Funny how drastically these "deep-rooted" cultural attitudes in Japanese people have changed. Or maybe its not the culture of Japan that has changed but the perceptions others have of it. I reckon the same is for China.
> I like Pascal but its scope rules are Crazy compared to C/Java/C#, nerveless Pascal compiler is reported faster than Java one

Admittedly a long time since I used Pascal proper, but my recollection (and a quick search seems to confirm) that its scope rules are "simply" lexical scoping. Variables are visible only within the area they are declared and not outside, and variables can shadow variables from a higher level. So a global variable can become shadowed by a procedure variable. That's pretty much the same as the other languages use.
Original article: https://www.nasa.gov/mission_pages/chandra/images/first-x-ra...
IMO tinc is really awesome. I've been using it for years to connect my servers, laptops and desktops into a VPN.

Including my RPI (running PiHole in my LAN) into the tinc VPN gave me an easy way to access my home network from anywhere in the world. One of my dedicated servers would automatically take care of routing the traffic and I can just `ssh foo@10.0.0.42` to connect to the RPI and be inside my home network.

IIRC tinc implements some tricks like TCP/UDP hole punching. So best case I end up with an actual p2p connection between my remote device and home network after connecting via tinc.
The author probably doesn't know this.
From Human Beings to Human Civilization, a Complexity Profile
I've been keeping a Keepass database on Dropbox (encrypted with password + key file, neither of which are stored on Dropbox, obviously) for a while, and haven't noticed any issues with syncing. I'm mostly using it from a single device, though, but I don't think it should be likely for the sharing to introduce problems even if I made heavier use of multiple devices. It's not like the database is constantly being modified.

This might be a bit of a lazy solution, but it has been working well enough for me.
What happens with 42.zip and other zip bombs? https://www.bamsoftware.com/hacks/zipbomb/
Glad to hear that.
But I am pessimistic about reaching a deal both sides would consider fair. Right now the basin water is divided by Egypt(85%) and Sudan(15%) with Ethiopia and the other 8 or 9 Nile basin countries allocated 0. Egyptian negotiation tactic over the past decade has been aimed at forcing Ethiopia to ratify this water share. The recent comments by your leader about war if "Egypt's water" is reduced is indicative of that.

For the Ethiopian side(and the rest of the Nile basin countries), this is outrageously unfair. Most people here recognize the water is a lifeline for Egypt and are against reducing Egypt's share by a consequential amount. But Egyptian intent of holding onto the 85/
I've lost hope that Linux will ever be able to provide an experience on the level of the Mac, I'd like to move away from Apple myself too.

Unfortunately the modularity of Linux, despite being it's strength means that it can never possibly provide a UI/UX as coherent and interoperable as the Mac.

How can you provide things like spell checking, font rendering, copy/paste, drag and drop, password sync, across every widget and text field in the OS if every framework an application is built with and every part of the OS chain can be swapped out for something else and they're all made with distributed teams with no one at the helm to be the one to say "Drag and drop is broken in your app, you might not use it or care but others do, you need to fix it". or "Why does the text look weird in your app?"

This worries me because "M1 feels like Apple actually care about the Mac again" I completely disagree with this, I think Apple is aiming to have Macs running mostly iOS applications in the near future and MacOS will eventually be deprecated once we hit critical mass of that.

Not to mention the specific things I point out here that make the Mac great are being eroded away as more and more Mac apps are just electron wrapped React with custom text field components that disable OS spell checking and things like that.
I don't agree. I think some people are just too lazy to think of a good, funny joke that may or may not be offensive to some, but that in any case does not make anyone truly worried. These did and still do exist.
Something they missed, which was a feature i found notable when I first used NeXTSTEP, was that all text was selectable, even in dialog boxes; useful for copying and pasting messages, etc. But here in this web app, they seem to have gone out of their way to make all text non-selectable.
Not a crime IMO, but a little prank, and the principle understood it. It was pleasurable to read btw!
Did you actually look at the graph? It's quite disconcerting.
Apparently the Finnish were just getting started.
Most of these complaints are not from/about truckers (though they probably pee in bottles too), it's about the delivery van drivers. The issue is that the route schedules they are given are so tight that there is no time to stop at a bathroom.

It is true that a lot of public toilets have been closed for the past year but these complaints go back to long before that happened.
I can’t believe this was overlooked by a prestigious publication.
What is the more common case: a user switches to a hidden app and then does NOT want to actually see a window from that app, or the user switches to an app and wants to see it.

I don't need to do research to answer this question. If a user switches to an app, it's because they want to use that app. And using most apps depends heavily on being able to see them.

If I want to control things without a UI, I'll go to terminal.
tl;dr

“It’s to the point where I’m thinking of borrowing a Renault van and just driving to the Netherlands myself,” Mr. Cop said. “It’s a 10-hour drive each way. But I’m not sure I have another choice.”
No matter who gives this observation, the presentation will always have a patronizing tone.

It’s really the discussion here on HN that’s curing it, which is fine. Someone had to get us the meat before we could cook it. There’s a lot of consensus here and good counter points that aren’t all damning (half it can be chalked up to inexperience, or effort vs value debates, eg TDD, impressionable developers, etc).
Wait til they find out about pilots :)
Fair, yeah I considered that though it doesn’t seem they have updated it
I'm always amazed about the amount of data leakage that happens due to binaries including full paths. I'm shocked whenever I see a crash and the error message mentioned `f:/username...`. There are also stories about computer viruses that have been reverse engineered and the information about the author was extracted from the file path. And it's not just small companies. I've seen paths leaked from production software coming out of Microsoft and Google.
I think with airplane tickets the costs can be quite variable, but you're right it doesn't make you want to buy more boxes.

With Blue Apron, the quality of ingredients always ends up shifting... some weeks were terrible, and it was always like "oh, maybe next week's box will be better?" In the end, it always ended up not being worth the price of subscription. I think sometimes they'd skimp on the cost/quality of a box, and then lead you to think that staying subscribed for the next week would be worth it.

Not completely analogous to loot boxes, but I think in both cases the design is still influenced by variable rewards systems, just not as obvious as loot boxes.
Could you link the article you mean? This sounds pretty interesting.