skysight-inc/HackerNews huggingface dataset:
I completely agree. I use strings for json front / back communication as much as possible. A string (or hash) is a unique metric. I have a real-life example where I was working with a junior C # backend developer who was creating code with a lot of errors, and we doubled our progress when we stopped discussing json types. Another good lesson when the frontend code of the code thinks "with its own head" and checks each json input parameter for safety and fewer errors, and strings have less opportunity to check and validate if (!!s) and clean i=parseInt(res.i), parseBool(..), parseObjA(..) looks like typed programming and newcomers to projects can learn the code better.
I actually thought it was a well made parody site, funner zooming/mmhmm, the bs marketing speak. On further inspection it actually looks like it could be useful in presenting slides, like a corporate obs or something.
How about living in just one home, not two? No "pods" or bugs required.
Fascinating battle story.
We should all be arrested for securities fraud.
> second or first or gazilionth home doesnt even matter

Let's try scaling that to everyone on the planet, shall we?
Your opinion is wrong. Full stop. Stating that Black lives matter, and orienting a movement around that statement as an organizing principle, is not polarizing: it’s a recognition and rejection of extant polarization. Polarization which claims lives, specifically Black lives, disproportionately and institutionally. There is nothing racist about naming the phenomenon and challenging it directly. But demanding that the people who have so identified and challenged it find mask the underlying racism in the name of more inclusive language is essentially an argument to recognize and protect racism itself as part of the culture. No thank you.
Quarantine May Negatively Affect Kids’ Immune Systems
What do you mean, us-east-1 is too big to ever go down, amazon says it's super reliable! /s
It seems that everybody understands that Facebook/Twitter/etc have to change or go away in order for this to happen. I'm personally in favour of making social networks just things for people who know each other talk to each other. Maybe a physical proximity thing too.

That's a crushing blow to free speech but I think this experiment has clearly shown what happens when you encourage idiots (of all political views!) to mix with like-minded simpletons. They don't reason with each other, they degrade into lynch mobs, and they're scarily easy to manipulate.

So yes, when —not if— the revolution comes, it'll be nice to see independent thought being fostered out onto the wild internet with Frontpage 2030, and I won't get some algorithm mixing "POTATOES ARE RACIST TRACKING BEACONS" posts in with updates from my family.
There's two answers to this, that both have a bit more nuance than I expect HN to be okay with.

One is that the AWB wasn't a racist provision of the overall bill. The gun control measure was not rooted in racism.

The second is that the bill as a whole wasn't "rooted" in racism. It certainly was a bad bill that had terrible consequences, and we should undue a lot of the damage it did, but the intent of the bill was, in part, to help the black community (and it had support from many people in the black community at the time). Horribly misguided in hindsight though.
Pigma Micron PN Pen
On Lichens:How a Guy from a Montana Trailer Park Overturned 150 Years of Biology
Would it hurt you to be a bit nicer?
This is entirely consistent with my claim, if you read my comments.
Yes apex (insert. .. $lack)
Amazing job! JSON can be improved like HTML 1.0
Might make sense if you view it as a capital improvement. I wouldn’t consider buying a house without fiber, or if I had the option, I would value a house with fiber much more.
Yes it is, it's a small struct.
At SCO in the mid-90s we were playing with very similar ideas to boost DB performance. The main motivation was the same then as it is now, don't block and avoid making system calls into the kernel once up and running. Don't recall if any of the work made it into product.
All this fuss because Linux wouldn't just implement kQueue ... Sigh.
To me the "NULL" of JSON is really the lack of a value. I think having a NULL value could introduce problems.

For example: Did you set `{"address":null}` or did you set `{"address":0x00000000}`? It's important to know the difference, do you need to throw an error or warning? If your NULL value maps to something that is also valid input, how are you supposed to know how to handle the case? If you removed the "address" key on the other hand, you can simply do some exists() functions check.

I think putting types into the JSON spec only serves to create confusion. I think the JSON libraries should offer common helper functions for doing these conversions (e.g. string -> int), but ultimately it's the responsibility of the coder.
Doesn't Shift + "+" do that in the browser?

Mobile browsers might have something similar.
I don't believe the author was suggesting that the iPad become a Mac.

Steve Jobs drew an analogy to cars and trucks. iPads are like cars; smooth easy rides. Macs are like trucks; much more versatile but a bit trickier to use.

Nobody wants iPads to become trucks.

They just want to ride Lexuses, not Corollas.
How's that? Slippery slope depends on a "relatively small first step". Apple already has other hardware and software platforms that aren't open.
> never before seen in insects

Is this surprising, considering that an estimated 86% of species on Earth and 91% of ocean species remain unidentified?

https://journals.plos.org/plosbiology/article?id=10.1371/jou...
> The part of where this submission and completion information involves a ring buffer mapped to kernel space is unique to Linux

RIO is very similar and predates Linux version by many years: https://docs.microsoft.com/en-us/previous-versions/windows/i...

Main downside, that thing is only for sockets.
I think we all have to agree, we couldn't keep doing the same old things, we need to change.
It's understandable that a browser has to render a wide variety of audio/visual/3D things.

A terminal on the other hand - it literally has to just print text to a screen and he's right that a bunch of hype and over-engineering of a solution for it is silly.

PCs have been outputting text to screen faster than a human can process for over 60 years now (and bonus: using a lot less resources than today's Windows Console of the month).
I've been using nix for this, though on windows I assume its WSL only support, maybe mingw
It's not "may", it's will. It will seriously impact kids immune system development. Masks is a one way door. When society demasks, we will have to face down 1-2 years of lost herd immunity.
Culled mink rise from the dead to Denmark’s horror
> Google and co made this the in thing

The problem was "graph algorithms" used to be like "C pointer indirections"--a task that indicated that you were one notch above the average.

Of course, once Google made this a metric, it lost all meaning.

If you put a condition between someone and $500K, they WILL figure out how to convince you that they passed the condition.
What I took away from your message is that you believe that using a syscall directly would cause your application to require GPL licensing, and that glibc being the code that calls the syscall is what prevents it normally.
I once had a programming assignment for a job interview. I was given a CSV format file sample and asked to submit a custom compression program. I went with creating a symbol dictionary for some fields, variable length encoding for some numerical fields, etc. I wrote it on my iPad using Pythonista mostly during my train journeys to and from my job at the time, with a bit at coffee shops during lunch.
Sure. We're pretty far down the rabbit hole, but I'm responding to people that think my suggestion that Apple might lock down Macs is unfounded. You seem to agree with me that there's some reason to believe it's plausible.
As a German speaker, their choice seems quite natural, because it won't alter the modern pronunciation a lot. I'd even guess that the new spelling might represent a typical Austrian pronunciation with a soft "k" sound more accurately.
There's the ringbahn[0] project, which is a couple of layers wrapping the liburing library; it seems like it's presenting itself as an orthogonal runtime to tokio. Meanwhile, looks like tokio is looking into the feasibility of using io_uring[1], though I'm not sure if it would be using ringbahn or not.

[0]: https://github.com/ringbahn

[1]: https://github.com/tokio-rs/tokio/issues/2411
I agree. Was just using the title given to share the article.
I noticed he didn't know much about Rust. And I really want to learn Rust. Except it seems the installation size is reprehensible. Is there a way to install a minimum version to get started with some fiddling about?
I misread the title as "Australia" and I was only slightly surprised and kind of impressed.
The author clearly does not understand what type checking is about.

In a good strongly-typed language, types don't just prevent errors. They are put to work to perform computation. They choose overloads, and therefore control flow. Different overloads produce different results, therefore data.

In the extreme, the type organization of a library is itself a program, one that runs at compile time, and generates the program that will then be compiled and run.
For those running `make`, add this to you shell init to set the concurrency level via env var:

> expert MAKEFLAGS=-j$(nproc)
I remember NetWare's IPX/SPX network stack used a similar async mechanism. The caller submits a buffer for read and continues to do whatever. When the network card receives the data, it puts them in the caller's buffer. The caller is notified via a callback when the data is ready. All these were fitted in a few K's of memory in a DOS TSR.

All the DOS games at the time used IPX for network play for a reason. TCP was too "big" to fit in memory.
And Shitterton in Dorset: https://www.google.com/maps/place/Shitterton,+Bere+Regis,+Wa...
The world being harsh is true.
And I agree that modern western society seems to simply expect bad things not to happen. Whether it is bullying, other human-human violence or "business can't be let fail".
A simple look at the animal kingdom tells you this is not a sane "expectation".

In this instance, I wasn't planning to censor the story out of existence. Just perhaps wait a bit longer than the other stories would require.

Interesting theory on the mental illness. I won't entirely subscribe to it as I think there are a wide variety of illnesses with a wide variety of causes. Whether this is the "likely source of a lot" remains to be proven I think.
Years ago I used to like Talvin Singh and Nitin Sawhney, and this reminded me of that. Lovely sounds, and I'll be listening to this tonight!

Slight tangent, but anyone got suggestions for Asian electronica (tabla/raga inspired)?
They shouldn't be much different from other engineering jobs. One thing they will look for is "business acumen". Learn all the finance buzz words, pay attention to the market, and credentialize. Finance people seem to love prestige and credentials (just my experiences). A degree which includes finance is good. You can also get a CFA foundations certs. A CFA charter would get you real respect, but I think they have experience requirements for that.
Then there's mushrooms...
Lol. The guy wrote Ardour.
Might know a thing or two.
Exactly. People seem to have skipped the V&V lectures. The code did exactly what it was asked to do. But the system/aero engineers made that decision. Even the lights issue was specified that way in the system diagram.

But the biggest defect was the decision that the pilots didn't have to be told about the risk (to avoid retraining and certification costs). If they had been told the pilots/airlines may well have protested about the lack of redundancy. All those higher ups in Boeing and the FAA should be in prison.
Mozart transcribed Allegri's Miserere just by hearing it once in Sistine chapel
We are not banning people for using Ripcord. We are banning people for using our API in ways that our official client doesn't. This is paramount to our spam detection strategy, which is detecting quirks in requests that try and emulate our official client, in order to send spam. There is a very thin line between "scripts meant to try and emulate our client to send spam in an automated fashion" and "third party client" both try and emulate our client, but perhaps for different intent. However, our systems currently treat these as equals. It is for this reason that we have maintained that 3rd party clients are against our ToS - and most warn you before you use them. Given the vanishingly small user-base of 3rd party clients relative to the tremendous amount of spam-bots that constantly are attacking our platform, it's an unfortunate reality that this is bound to happen.

If you are a real human, and not a spam bot, our general policy is to unban and tell you "hey don't do that again." Which is the outcome that should have (and eventually did) happened here.
Apparently some people downvoted you without clicking the link to see that the route is indeed backwards.
There's two proxies for the HN links: gemini://drewdevault.com/cgi-bin/hn.py and gemini://dioskouroi.xyz/top .

I've seen a forum/board or two, but none have really taken hold.
If you want to listen yourself, websdr, kiwisdr, sdrconsole and sdrsharp all provide some mechanism to listen to HF frequencies over the internet.
Yeah. Now I want to track down that "refuses to eat" story because we're at that picky eater stage!

My feeling was that I would wait a bit longer for the more gruesome story than some of the others.
I love trading LEAPS. I've started sort of swing trading them with the recent volatility.
ahahaha that's not better!

quick trip to Urbandictionary.com folks
Likewise, does anybody ever click Yes to browser notifications? That seems like it would be so intrusive.
> Homicide rate is among the highest of all OECD countries

First off, what is and is not an OECD country is selection bias right from the start. "Among" the highest is subjective as well, and it's far from the highest. Next, the US is a large and diverse country. There are some neighborhoods with very high homicide rates (in Chicago, for example). This is not at all representative of the rest of the country, but it averages into the statistics.

The TV series "Sons of Anarchy" is certainly entertaining, but has nothing to do with reality in the US.

The homicide rate is still very, very low compared to deaths from other causes. It doesn't even rate a mention in lists of deaths from causes. I wouldn't characterize that as "exceptionally violent".

> The US still has legal capital punishment.

28 states have capital punishment, 22 do not. In 2019, 22 people total were executed. While this is 22 too many and it needs to stop, it is statistically insignificant compared to the population of 328,000,000.

> The whole approach to the penal system being very revenge-based

I agree with that, but don't agree it makes society violent.

> The prevalence of sexual violence

I clicked on the reference, expecting to see rates of conviction for sexual violence. It's not there.
What do you see changing?
I think booleans might even be the most problematic, as it's _really_ implementation specific. In C for example you might expect 1 == TRUE, but in other languages this is not the case.

The real problems come in when you handle unexpected cases - and there's no real answer as to whether you return true, false or an error. Personally I think the responsibility should be thrown back at the coder. E.g. I will sometimes do:

if(!(jobj.get("key", "true").contains("f")))fun();

Where "true" is considered safe and default. Generally you need to make some effort to switch it off by making sure an "f" exists somewhere, but either case is fine.

Imagine for example that the value "true" turns on something potentially dangerous, you might want to guard against accidentally switching it on with:

if(jobj.get("key", "false").equals("true"))fun();

So you for sure have to make sure the string is "true" to switch it on, nothing else.
I'm surprised by the failure of imagination of HN readers. Nine times out of ten, HN readers are complaining about the limitations of the iPad; out of the woodwork come those who complain about those who complain.

To my mind, Becky is not arguing that the iPad should become the next Mac. Nowhere in the article is that ever stated. Yet, that's the argument against which so many people are rallying.

It is possible to wish for the iPad to do more whilst preserving what makes iPad … iPad. That's what the bulleted list contains: ideas for allowing a little more complexity whilst preserving simplicity.

There are so many more things the iPad can do that expand on its current capabilities without compromising on the iPad experience — don't let your failure of imagination, your sense of "I like using my iPad this way, so everybody else must too" get in the way of dreaming up new experiences for the world's best-selling tablet and digital stylus.

The iPad has already proven itself a wonderful balance of power and simplicity. Imagine what it could do when just a tiny bit more power is unlocked. Not just for pros, developers. For creative types. For school students. For people with disabilities and other special needs.
> Even that is clickbaity - it fails to account how likely it was to find such a star in that volume of space.

Yeah. I should've been more clear that I was only meaning that as a summary of the article, not as a replacement title.
yeah so two points on that, first the gain at sale can be avoided through 1031 sec of tax code, effectively providing tax shelter, similar to how unrealized gain in stock but even more flexible as it allows you to switch asset classes (like kind swap).

Tax aside, there's also the leverage. I can put down 5% and loan 95% to get 100% of the return of investment with exceedingly low interest the federal banking system subsidized for housing as a necessity, vs. commercial loans, but essentially doing this as business endeavor. By the end of all that, I can even offset income with the interest expense, the only loophole on interest expense remained in tax code. So folks are doing this all day long.

You can't really do that with stock, or you face the ridiculous rate in margin trade.

The leverage plus tax benefit allows wealth accumulation over time.
No.

I'm an adult and can easily ignore things I don't want to read.

IMHO this is an awful idea at every level of analysis.
It was the default workflow when people used to share patch files as attachments on community forums. You could only diff your changes to the latest tip and send these changes to the maintainer as a “fast forward” merge. If the patch broke, you fixed it locally (rebase) and attached a new version for the maintainers to apply.
That someone would completely disband the team and then ignore the knowledge acquired was kind of unpredictable. I mean, what kind of person would do that?!
We have to "thank" Compaq for it as well.

Even with all its management flaws, the Amiga might have survived without the mass production of PC clones.
There is enough evidence of it now that denying the Trump-Russia thing is the conspiracy theory.

Stone and Flynn have been pardoned (for what...), Mueller indicted something like 100 people russian or otherwise.
> I had a few problems ...

Which were?
The AWS outage exposes the fragility of our data-hungry digital economy
I have noticed that the way to make money on the internet is to provide services to people wanting to make money on the internet.
After more than 20 years, the name nesticle still cracks me up. And looking back, it’s nostalgic to remember playing such “old games” that were about 10 years old at the time. Still playing the same ones but they’re now 30 years old.
> Absolute joy? Check your privilege my friend. For vast portions of the population, staying on the farm would be a massive step up from the living hell of their life in modernity.

A husband and wife team of sociologists tried this experiment and set up to live like the late 1800s.

The wife broke down after 3 weeks. The husband likely wasn't very far behind.

The wife spent ALL her time cooking and cleaning. The husband spent his time exhausted from physical work. Period. Repeat ad nauseam. There was a reason families had 10 children back then.

Electricity and the electric motor was HUGE. If you sent people back to the world before electricity, they would regard it as a literal hell.
Looks too good to be true.
He allegedly lied to the Senate while under oath

There's probably something else he did that could be seen as obstruction
Released balloons at Easter from church in central Virginia as a kid. Had Easter egg clamped to the string containing a card with return request and address. Got a response a couple weeks later from someone near Intercourse, PA. Of course I found that hilarious but was also amazed at just how far my balloons flew.
> Ubuntu benchmark tool on the partition editor

Known as "GNOME Disks".

https://en.wikipedia.org/wiki/GNOME_Disks
Seems they fugged up there!
Congratulations, you have demolished my trivial example made to clarify for someone who was having trouble understanding the point of the article. I would much rather you engage the ideas in the article directly, and not the deliberately trivial pedagogical case.
It's under active development, more syscalls keep getting added. Contributions are welcome.
I usually wait, then, when the dust settles I use the usual suspects of google, youtube, and reddit to get a gist of the consensus reality of the thing. Nothing that happens outside my immediate life needs my immediate attention. Unless it's a new book from a favourite author, then I pounce.
Yes try Tabla Beat Science, Karsh Kale and Niraj Chag.

Maybe even Asian Dub Foundation although that might not be electronica.
What's the fastest way to read a file thats 32 (or 64) byte aligned (not bit, but byte)?

I was thinking synchronous open/stat might not be optimal. My current code opens/stat/fadvise that I'll read it all and then mmap entire files handing them off to different threads. What calls do I want?

I wish the article listed the enhanced API calls but I guess i'll be hunting those this weekend
I like LEAPS (1-2 years). I try to pick companies that I believe in so that I xannhold them longer if I want. For example, MSFT and DIS.
Why did we allow the inmates to run the asylum?
The pdf still has the images. Here's the direct link.

www.liberquarterly.eu/articles/10.18352/lq.7874/galley/8079/download/
Thanks so much for that! The ending worked except for the credits
> Weird (to me, an english speaker with no knowledge of modern or 11th century Austrian) that they went with Fugging and not, say, Focking.

All the time, they would have had people scraping away some paint turning the "o" into a "u"...
Home automation: reading my IZAR WMBus PRIOS hot water smart meter
Should have gone with Hugging for wholesome tourism.
If this needs a digital Ocean server, why not just run the whole thing on that?
https://news.ycombinator.com/item?id=25194795

(The submission with the most comments had '?hn' as part of the URL. HN logic doesn't automatically see that as duplicate.)
now the question is, did China know this before they released the virus to stop the Hong Kong riots?
With puts your upside is limited right?
Hi-speed trading is a zero-sum game, like poker. Every single gain is somebody's loss. Either you rip the other guy's heart out and eat it, or he rips your heart out and eats yours. There is no other choice.

Choosing Java over C++ is choosing to be that second guy.

Sure, Java coders are cheaper and easier to hire, and they produce lots more code. But if lots of code is a liability, lots of Java code is a bigger liability.

A trading house with a lot of Java code is a red warning.
Yes, similar to Schelling points, I call these Schelling fulcra. Not "what do people focus on?" but specifically "what issue illustrates our tribal divisions?"