skysight-inc/HackerNews huggingface dataset:
Here's a detailed guide on binary search in Java, a commonly asked Java Interview Question explained with examples and its implementation.
> perhaps it's too close to China ?

It's mainly built by the Taiwanese.
An epson home cinema projector, Apple TV and a $200 soundbar with subwoofer + a liter of neutral gray paint.

Instant 8’ movie theater in the living room.
I'm also somewhat reminded of the idea of "tabooing words"

https://www.greaterwrong.com/tag/rationalist-taboo

(which is not about words that are themselves taboo in a sociological sense, but about a procedure inspired by the word game Taboo)
It's frustrating though when specific factual words with meaning become redefined and the new definition is what is contentious.

> "We should defund the police"

> No, we should instead invest more in non-police social programs like mental health.

> "Yes, that's what I mean when I say we should defund the police"

> No, we shouldn't defund the police.

How do you proceed from that?

When I was a teenager 15 years ago my friend who studied Gender Studies told me about the concept of "privilege". I was livid. I understood what she was trying to say (I thought) but I was angry that she dared suggest that I had something. I was an immigrant. My family spent time on welfare. I worked super hard in school. Sure, I was white. So? How dare she?

It didn't even occur to me to consider who she was comparing me against.

It took me some time, I did some reading, I understood what the term meant, and I recognized some context (Yes, my parents were on Welfare for 2 months when we moved to the West. But they also had PhDs and were able to find good jobs soon after, etc)

I went back to my friend and I said "look, i agree with your premise. But I still think the word privilege is too contenious. It makes people react negatively.

She said, but that's the academic term. You reacted negatively because you reacted to a mischaracterization of the definition rather than what it actually meant. I thought about it and agreed.

So now it's 15 years later, and I see people my own age - grown men in their 30s and older reacting to terms like privilege with the same vitreol I did as an angry teenager. At a time when there is more information than ever for people to find.

The problem is not the contentious terms. The problem is some (lots) people just don't want to have a reasonable debate no matter what they say. They are entrenched in their ways, uninterested in growing, are arrogant about their beliefs, and lack the empathy to consider the feelings of others.

If you discover new "non contentious" terms, they'll just find a way to make them contentious too.
Save what exactly? Have you been to one before this news? They were not even selling electronics (almost). All I could see was cheap chinese gadgets like handheld fans and screw driver tips. They were dead years ago.
the "o" in o-ring refers to the cross section of the ring if you slice through it
Cool! Sadly, it's really hard to tell whether OOP boilerplate is real or generated.
>But wihtout google play store

With the refresh rate of e-ink, wouldn't the google play store be useless anyway? Most apps would be unbearable (games a non-starter, scrolling a no-no, etc).
Ars has posted an article sourcing the parent, and expanding on some of the context: https://arstechnica.com/information-technology/2021/02/frys-...
DARPA is pushing forward with an open-source stack for 5G, who cares what the companies want.

https://www.linuxfoundation.org/en/press-release/darpa-and-t...
I usually just ask one of the kids working there, you let them put a sticker on what your buying and they get a commission so it's a win-win to me. I go to the one near me every couple weeks and buy something mostly because I can't imagine living without a decent computer parts store to browse in. Heck I bought a DJI drone there it was the same price as on amazon so why not? Support a physical store or they will disappear.
With modern C++ you can use the {fmt} library, which is so awesome it became part of the C++20 standard as `std:: format`.
Like a random thoughts or a daily diary entry.
Yeah, totally resonates with my experience. I went further and have several, completely independent side projects. That is: Build a game with a custom engine (doing that since 2019 now), do some stuff on my car, do some stuff on my pc, write a blog post from time to time or simply just play games. And I'm alternating between them, as my brain pleases. That, personally, gives me the counter-balance to my job as a software engineer, where I HAVE to stay focus on ONE thing for several hours/days.
https://archive.is/09tK8

The (600 page) report, including 100 page abriged version that appears highly readable at a glance: https://www.gov.uk/government/publications/final-report-the-...

It’s a shame this is getting posted in the middle of the night for much of the western world. IMO this is one of the most crucial things our society must address currently. The inability to properly value natural capitol is a root cause of so many problems. If this report gives a framework for (among other things) properly assessing negative externalities than we can’t afford to ignore it.
I can't unsee these sins now
Why are you "sick" of it, what triggers such a response in you?

There's a reason people like to put such a spin on articles like this, and it isn't only because they want more clicks.

It's because it's related to one of the most important questions humankind has ever asked for many centuries.

That, and there are a lot of these reports throughout the history about this. And in very recent times, Pentagon officially recognized such phenomena - phenomena that is very similar to what is described in the article. Is it, then, so unreasonable to use a similar tone in such an article?

Why would you be "so sick" of it? Instead of allowing yourself to wonder at the sheer vastness of the universe and asking yourself similar questions, why would you choose to be so put off by it?
Hi, thanks for the feedback! Yup in fact lots of people have been saying so as well. Luckily this is somewhat of improvement than last time hahah. I'm continuously trying to make it clearer. Thanks again :)
This reads like a parody of the quintessential SV startup.
> Once I got into industry and was working in a group doing real-world compiler development I realized that there is a lot more than just lexical scanning and parsing going on in a compiler, it's tool chain, and runtime.

Lexing and parsing is less than 1% of the job of building a compiler. (Completely ignoring tool chain and runtime.)
Fry's electronics permanently closing all stores nationwide
I think you missed the point here -- the great thing about author's "oj" here is that it takes existing document, with any format, and makes it look nice, in a fully automated way and without changing semantics.

(I am talking about "Human Style with Colors" here -- this is the cool part, and I don't really expect SEN to take off except to display things on the terminal)

That tabular-like alignment was generated automatically -- I can take any existing JSON data source and the program will automatically make it look nice while not requiring any changes in the consumers or producers of the data.

Compare to Tree Notation, for example this code: https://jtree.treenotation.org/designer/#standard%20iris
has this block with has a clear structure:

sepalLengthCell
extends floatCell
sepalWidthCell
extends floatCell
petalLengthCell
extends floatCell
petalWidthCell
extends floatCell
speciesCell
enum virginica versicolor setosa
highlightScope constant.language

This looks pretty ugly to me. There is clearly the table-like structure, but it is hard to see, because each line is split in 2. If this were JSON/SEN, I could make it look nicer:

sepalLengthCell: { extends: floatCell }
sepalWidthCell: { extends: floatCell }
petalLengthCell: { extends: floatCell }
petalWidthCell: { extends: floatCell }
speciesCell: {
enum: [virginica, versicolor, setosa]
highlightScope: constant.language
}

See how it's all aligned now and how structure comes out? And all at zero effort from my part, it was all computer generated? But with Tree Notation, the above is invalid -- it has different meaning, so the compiler won't accept it. You have to use much uglier vertical method, with all the newlines.

And Pretty JSON can also adapt to display width. Someone with large fonts or small display can request 80 characters wide output, and "speciesCell" will be wrapped. Someone with huge display can request output 250 characters wide, and "speciesCell" will be column-aligned with others. Another thing which is pretty impossible in Table Notation without a lot of work.
Great effort. I compromised and bought a Boox e-reader with a 10" screen, it runs Android so pared with a BT keyboard it is quite the productivity machine for when I need to write an essay or similar offline no distraction activities.
Demand doesn't bring prices down. Or not much anyway.

Everybody would like a Ferrari/Rolex/etc., but they don't get cheaper because of it. In fact, high demand combined with a monopoly means you don't need to lower prices at all. (You lower price to raise demand, but you don't need to if you have strong demand at your current prices).

Competition does lower prices. And with patents competition is impossible. As if for a competitor to make improvements to the process/technology, while still using parts of it (they would still infringe).
Spectral might be bad, but I'd not replace it with a serif font.
I definitely enjoyed learning and using Pascal and Delphi.
The language made so much sense! The code was structured, disciplined, easy to follow. I get the verbosity may not be for everyone, but it also made it much easier to read.

Delphi was also out of everyone's league for application development, and not just basic "forms + DB" apps. Here is a full-scale Civilization game clone written in Delphi: http://www.c-evo.org (I did write a mod for that game, but I was not the core dev)
Buttergate: Why are Canadians complaining about hard butter?
There's one term I always avoid in discussion, and that's Privilege.

Beyond the dictionary definition, privilege already had widely used emotional connotations that made it an insult to call someone privileged.
Which means when you try to talk to people about their White Privilege or Male Privilege, you're alreday starting with a penalty and need to assure them that you're not trying to insult them.

Much easier to have a discussion about the concepts encoded in the terms when you don't use them. I find most people find them quite intuitive and it helps create some empathy, which is usually the point of the exercise
Why would Arizona skies be a crisscross mesh of expanding vapor because a drone in Baghdad assassinated someone?
http://s3.us.archive.org/whereistimbo_music/music.zip
Looks like it was resolved rather fast? What am I missing here?
No. More like a structured explanation. A book.
> Torque screws are superior to Phillips heads because they are far more resistant to cam-out[.]

I work at a repair shop currently, and can confirm this. Give me a Torq or a hex screw any day over a Phillips head.

You do have to be careful with them though, because once they do cam out, you're pretty much dead in the water, while with Phillips you can often hack your way around it.

Edit: I also agree with the rest of the argument. If you've got the budget (and I assume that if Apple is an option, you do), please consider buying something with Linux officially supported. Between Dell, Lenovo, and smaller scale setups like System76, there are plenty of options.
Even before a lot of locations were Fry’s, they were Incredible Universe, a big-box-store concept from Tandy who also owned Radio Shack

https://en.m.wikipedia.org/wiki/Incredible_Universe
For a while there I would find my parts online and then have them price-match in the store. I'd get my item same-day, they'd get the sale. Of course they may have been losing money on those sales, who knows.
>Imagine if you could do legitimate work for 4 straight hours while sitting in the park.

If that work involves scrolling or anything like that, I imagine those "4 straigt hours" having the productivity of 30 minutes in a regular display.
CAC = Customer Acquistion Cost.
NO NEW FEATURES was totally marketing that just went along with not changing the UI. Like you said they added Grand Central Dispatch and Exchange support, they rewrote Finder in Cocoa, released QuickTime X, OpenCL support, and introduced the Mac App Store. They also made significant updates to BootCamp, Safari, and ported stuff to 64-bit. It also had a data loss bug with guest accounts that was later fixed in a point release.

I do think it ended up being a great release, but I don't attribute it to "no new features." I think being the 6th or 7th major release, 3rd with Intel support, 6 years of support, mixed with good release planning and engineering, and luck helped it be so beloved.
Vue3 TriStateCheckbox
"Keto" and "low-carb" are often met with very different reactions. "Oh, I'm avoiding sugars" is completely reasonable, but Keto, not so much. To be more impartial, 'avoiding sugars' generally implies simple sugars (e.g, candy), whereas on Keto, you also avoid complex sugars/carbohydrates. To get more complicated, you're typically still eating vegetables on Keto, so you are consuming complex carbohydrates, truly 0-carb (versus an infinitesimal amount) would be practically impossible.
So I’ve been publishing regularly on my blog for 10 years, over 1500 articles and counting. Ranging from 300 word missives to 3000 word deep digs. A couple books too.

Here’s what I learned:

It’s easier to be prolific. When you write every day it comes easy. Like brushing your teeth. You wake up and you’re full of thoughts on your general topic and you write them down. A quick edit, hit publish, and done. If it goes viral, fantastic. If peopel love it, amazing. If not, no big you try again next time.

And then life happens. You can’t just write every day, you have to create things worth writing about! Experiences, research, work.

You reduce your writing output.

And the ideas dry up. Writing becomes hard. You eke out 2, maybe 3, articles per week and it’s hard work. You struggle. You drag them out of your brain. It doesn’t feel right.

Nothing feels important enough to write about. With 2 at-bats per week, there’s a lot riding on every missive. It’s hard. It’s demoralizing. And it shows in your writing.

The readers can’t tell. Future you can’t tell. Neil Gaiman is right – 5 months from now you won’t see the difference between the writing that was work and the writing that flowed.

But you today, you know. You know you’re rusty. You know it wasn’t as easy as it could be. You see that it’s rough.

And I haven’t found a solution.
The lower bound on this map’s logarithmic scale is ~1000 km. I’d love to see it extended down to the Planck length.
What are the odds something that needs greasing is called zerk and is only one hamming distance away from something else that also vastly benefits from greasing?
I wonder if the designers watched "Postman Pat" [1] as kids.

[1] https://en.wikipedia.org/wiki/Postman_Pat
You can set up alerts and triggers, up to pulling the plug automatically. Not exactly for the faint of heart.

GCP

https://cloud.google.com/billing/docs/how-to/budgets-program...

AWS

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2...

https://aws.amazon.com/about-aws/whats-new/2020/10/announcin...
I just saw this displayed in a Best Buy store, but not on the headlines yet. This one is in North Irving, Texas. I hope it is some other issue and not related to what we discuss here.
https://d3926qxcw0e1bh.cloudfront.net/post_photos/e9/97/e997...
> It's also frustrating that every common term for some concept can easily acquire connotations that suggest a particular affiliation.

Upvoted, but for sake of example I'll mention that your use of "anti-immigrant groups" can be one of those loaded terms. While there likely are some people who are actually against all immigrants, the more common position is to support legal immigration (with differing opinions on how restricted this should be) while being against illegal immigration (with differing opinions on how those who break these laws should be treated).

Since there aren't mainstream groups who think of themselves as universally "anti-immigrant", it tends to be used only as a pejorative. I think a reasonable general principle is to try to use terms that people choose to apply to themselves. On the other hand, I don't know that there is an equivalent descriptor that everyone would consider fair. Language is hard!
> Resolved

So, a bug in resolved (the name resolver daemon), which is resolved (fixed, closed). In case the title threw anyone else.

But also - it's a bug, it was fixed. Is this news? Just that systems using resolved for DNS can now properly do DNSSEC? (I mean that is good news, but I'm curious why it got posted here)
Back in the day operating systems had advanced features for those who needed them.

Nowadays everything is optimized for idiots and functionality that requires more than 2 brain cells to operate is actively being removed, and replaced by liberal amounts of whitespace.

This isn't specific to Mac even. Windows (and to a certain extent Linux with Gnome 3) is also affected.
Or the trillion dollar proprietor of the software can disprove these claims and escape defamation. Why don't you take the first step in the assumptions you pointed out because nobody seems to be interested in damage control.
It seems likely they weren’t the same Bronze Age people like Hesiod, but rather Neolithic, pre-literate ancestors speaking some sort of proto-Indo-European language, the so-called Aryans.* Some of those folks later migrated into India, the north-east shores of the Mediterranean, and Persia (today’s Iran, i.e, “Aryan”), and possibly north west as well.

* Ignore the contemporary racist use of this term, has caused the term to fall out of contemporary scholarly use. Calling them “proto-indo-europeans” isn’t really that inconvenient and avoids unfairly inflaming some people.

It’s surprising how detailed a drawing we can make of these people from linguistic, cultural, archeological and DNA triangulation. Of course there’s no way to confirm the inferences, and there’s a big risk of bias (see what happened with the ancient word aryan!) but there is good scholarship.

I would have avoided even mentioning th A-word but wanted to mention the Persian connection.
If Boeing really learned from that it wouldn't have run redundant wires in the same bundles...
This approach works well in more dynamic languages with some level of introspection that can derive meaningful assertion failures from that code.

Coming from the C# world, the thoughtless use of Assert.* functions leads to the test failure of "Assertion failed: Expected true, got false." in 90% of cases.
Intel iMac I bought in november 2020 (~3 months of use) with 128GB of RAM, so it never swaps:

SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 42 Celsius
Available Spare: 100%
Available Spare Threshold: 99%
Percentage Used: 0%
Data Units Read: 95,824,868 [49.0 TB]
Data Units Written: 89,046,642 [45.5 TB]
Host Read Commands: 1,365,215,816
Host Write Commands: 837,815,676
Controller Busy Time: 0
Power Cycles: 145
Power On Hours: 604

Looking at iosnoop I see dropbox, google drive, backbalze, arq and other programs heavily abusing my SSD with tons of small (4kb) writes.

With age of 105 days, that's 433 GB/day.

My SSD's block size is 45.5TB/89046642 which is ~512kb.

433 GB/day divided by blocksize is 9.8 hertz, meaning I've had apps write ~10 times per second on average.

This corresponds with what I'm seeing at iosnoop. Tons of third party apps open files with O_DIRECT flag or call fsync() right after each write. SQLite databases are most common culprit, since by default it flushes to disk every small insert/replace. And every sqlite database I've seen by third party app just uses defaults (none of them are using WAL, for example).

OS has to flush that to disk if O_DIRECT or fsync() is used, therefore leading to write amplification.

https://www.sqlite.org/atomiccommit.html -- Each insert gets into journal first, that's 4kb there, then index gets updated, that's another 4kb, and then it gets committed to main database, that's another 4kb. There might be more, but in what I'm observing in iosnoop it's coming as multiple of 3.

And since I'm on 512kb SSD blocks, that's 1.5MB per single insert/update.

I forced every sqlite database on my disk to be WAL and changed synchronous to NORMAL from default (FULL), and it reduced I/O activity greatly without any ill side effects in months, most likely developers of these apps aren't even aware of these tunables:

https://www.sqlite.org/pragma.html#pragma_journal_mode
https://www.sqlite.org/pragma.html#pragma_synchronous
Have you been homeless? I have been. Having a place to warmly and safely spend the night is 10000 better than any piece of phone technology and the fact you cannot understand that simple proposition is a show of either shocking callousness or incurable stupidity.
Growing computer-chip shortage alarms Biden and Congress
Submodularity in Ranking, Summarization, and Self-Attention
Epidemics and trust: The case of the Spanish Flu
I see her work referenced here and there - what is she known for exactly?

(I personally can't stand the writing style, but I get the appeal.)
Many iOS apps use Realm DB which is memory mapped and calls fsync on every write. This wasn’t obvious to iPhone/iPad users but will wear out SSDs very quickly.
Supposedly Oshkosh partnered with Ford for their bid. Though, now they're being evasive: https://www.freep.com/story/money/cars/ford/2021/02/23/oshko...
I live in Finland and drive a Tesla. I often hear people saying that EVs are "city cars" and not suitable elsewhere because of cold winter and long distances. Actually the opposite is true.

- In countryside people drive more by average -> more savings

- Practically every house has at least 3*25A power lines (230V) -> 11 kW charging from "red socket"

- EVs are just fine in winter because of quick remote pre-heating, no need to idle the engine etc

Btw, I just made a long trip in -20°C / -4°F. Of course the range is significantly shorter than in summer because heating needs energy, but there are no fundamental problems with the batteries itself.
It's also possible it is an internal US-on-US test of existing air defense systems? It's not like anything as huge as US air defense is totally monolithic, and people in the detection side may not even have need-to-know for the stuff being prototyped by offensive types.
This kind of directive where they won’t let the plane fly again without an inspection is pretty unusual and disruptive. The planes could be at airports all over the world, and the carriers may have to scramble to find people who can do inspections in all those places, plus have parts ready for any that fail inspection. I bet a bunch of flights have to get cancelled or delayed. Usuallt these emergency directives let you comply over a period of days which reduces the operational complexity a lot - you can get it done at your depots, plan out downtimes, and sequence the inspections and repairs so the shop doesn’t have 10 airplanes waiting in line at the same time for the inspection.
Doesn’t the redundancy show they learned something?
I'm oddly delighted at the prospect of seeing new mail delivery vehicles creep around a corner, even if the design seems a little ... odd (to me).
I think the lack of scroll bar goes with an assumption of a trackpad. It also gets rid of most of the context clues that a page goes off the screen or how long a page is. Without a trackpad (ignoring search), it's really difficult to scroll through a very long document or log.
It's extra fun when your language is not only contentious, but incorrect: https://en.wikipedia.org/wiki/Emotional_labor#Definition