skysight-inc/HackerNews huggingface dataset:
There's a pretty big difference between East Asian cultures and contemporary American culture, though. The former tend to be shame-based cultures: "I can't succeed, and this is because I am personally a failure." The latter tends to be an anger-based culture: "I can't succeed, and this is because the government / corporations / landlords / George Soros fucked me over."

Elsewhere in the world, this same generation also represents itself as ISIS and revolutionaries in Syria, cartels and gangs in Mexico & central America, and pirates in Somalia. As a developed nation, demographic realities reached America after they reached those countries. We'll see what form it takes here.
That sounds like power management at work. When the drive is not doing anything of course it should turn off.
Why are you comparing advice meant for _solo projects_ to a 10 year old legacy codebase written by many different developers?
Probably one of the more relevant things I did in school was working on the newspapers. I was an engineering major and am still in technology but basically in a totally different field and I'm as much a writer as anything else at this point.
Yeah, I hope for the sake of M1 owners that it is Option B, because it means this is likely a flap about nowt.

That said, it does highlight how bad it is that computers now come with the bit that is most likely to wear out being a non-replaceable part.
Xi Jinping is an even more powerful existential motivator for Taiwan's "Ready! Aye Ready! " attitude to whatever the US desires.

In any case, it's long past time that the US wake up to the fact that the wholesale handover of manufacturing capability to China has put the US in a position of strategic weakness. It's like a pre WWII handover of aircraft manufacturing capability to Hitler.

As for chips, who really knows what secret doors are being put into Chinese chips - not to say that the CIA is not up to the same game.
It is prison-like conditions indeed. I can't think of any explanation for waking teenagers up at 6am for early school starts than child abuse. They have those wake up calls in prison. Except it's worse because they're still developing.
Mining bitcoin no, but other cryptocurrencies yes.

Sounds like with the run crypto is on right now, you can make some pretty decent money.
At first the thought of combining React with Three.js left me scratching my head - but upon closer inspection the added abstraction actually makes sense and it's quite elegant. Thanks for sharing.

Also I had no idea what "frijoles" was, but I now have recipes bookmarked.
Curry-Howard Is a Scam
Grab a revolut account. They're free, and they have a tool called 'digital temporary card' that is good for one use. After the card number is used, it's cycled.

Not affiliated, I'm in Aus and I use my temp card for anything I don't want to be ongoing. Doubles as a breach safeguard (my credit card involved in a DB dump doesn't matter if it was a one-off number).

There's other good reasons to use revolut but will save it :)
Yeah, it's a bug. But don't go crazy over it.

Back in 2016, a Spotify bug resulted in writes of approximately 700GB/day [1]. No SSD died, judging from the lack of a class action lawsuit. And at least for my MBP SSD, I can tell you it is still doing very much alright, despite being thrashed for anywhere between a few weeks to a few months.

Having said that, do apply any temporary fix. Even if the effect will probably be negligible, it's still unnecessary wear.

[1] https://www.extremetech.com/computing/239268-spotify-may-kil...
It's happening all the time all over every social media platform, concurrently with the harassment, and largely ignored. Check out any controversial twitter post and you'll see genuine replies as well as bullshit.

The perception of the general public's social media output as a dungheap is tantamount to saying their posts are worthless and irredeemable, and that social media only has use as a broadcast platform for famous people. I think it's less like a dungheap and more like a big pile of every student paper from the entire world: mostly useless, but even some of the useless ones are genuine and took a lot of effort, and scattered throughout the pile there's some original and useful content.

There's a baby in with the bathwater, is what I'm saying here.
> Let's take maths for example, how much do I really need to spend to be good at maths?

Where are you from?

Things cost more in the US. Look how much we spend on the military. The fact we can and should spend more on edu isn't even debatable.

What needs to be debated is how do we stop the squanderers?
Excel as in microsoft excel!?
The Communist Designer, the Fascist Furniture Dealer, and the Politics of Design
What a cynic way to look at things. Anti-war activists in the 60s didn't want people to think? Pro-democracy protests Warsaw Pact countries, in Hong-Kong? Anti-capitalist activists today, even vegan activists?
10-4, Rubber Duck.
Are people surprised to see low quality code in the wild? Guess what, most code is subpar.
I have a 256GB, bought it exactly two months ago. 55TB written, 3%. Not doing anything crazy with it, it's mostly a Chrome machine.
Yeah. I think the rule should be that you need to be able to run your system; at the point where you're interacting with an external system (one that you don't fix the bugs in yourself), running your system "locally" should treat it as an external system too.
It doesn’t help that it’s called a serial number, and is sequential (hence, serial, but some manufacturers don’t care). num++ is easier than implementing increment_number_string that works on ASCII digits.
America has no choice but to defend Taiwan with the full weight of their resources, because losing Taiwan means they've lost access to the most important resource in the world. Chips are more important than anything. America has nothing without them.
> It is largely free if your means are limited.

What 18 year olds have any means at all? Surely everyone passes this means test?
You can call a 3.0 GPA "low" but it's also Dean's List at GT....
Getting rich would absolutely be the answer to a lot of my current problems. Sure not every problem, but even for those problems it sure would help.

I'd have more control over my time (no need to work a day job I don't feel passionate about). I have issues with making doctors appointments and things because I still feel kind of awkward taking the day off, if I were rich that would also not be a problem because once you have fuck you money you can absolutely take the day off to go to the dentist.

I'd have more of an ability to set my own schedule meaning I could more readily do things like go learn a martial art or participate in hobby groups.

Like sure I don't think it would solve anything but it seems very much like an out of touch ultra rich thing to say. I don't think most people think being rich would make their lives perfect, just a lot fucking better than they are currently.
I’d love to see that same breakdown for the $1.9T “covid relief” bill in Congress this week.
Well, maybe using 16 years old machine today - but what about using current machine in 16 years ? A lot of stuff has stabilized and has been "good enough" for many use cases for quite a while.
But there are strong network effects. The more people who use a platform, the more apps there are and vice versa.

Other people not caring about openness is like littering. Even if it helps you a little (you don't have to trade against any of the things Apple forces you to trade against), it's a huge problem when everybody does it.
Wow that picture of the Shell Oil 2AB-quad tanker really merits the description of train. That's impressive.
I had this exact issue and had to disable SIP to disable swap because I was swapping over 2TB a day. Everyone I chatted to online about it jumped over themselves to tell me I was an idiot, and I somehow needed to swap even though I have 16gb ram.

Needless to say I'm having a little chuckle. It's a lesson for us all about blindly believing things.
> And so we see Gamestop story fall out of that. In a nutshell a bunch of retail investors (possibly with help from institutional insiders) decided to pump a small cap stock far beyond what the valuation of the company should be. The whole setup requires a significant number of people to buy and hold the asset at a price that makes no sense economically. And in doing so they have locked each other in a game of musical chairs in which they collectively have to pour more and more money into this unsustainable scheme in order to maintain the bubble.

I think this completely misses the point. This isn't just a plain pump-and-dump scheme. Before /r/wallstreetbets got involved, the price of GameStop was being artificially held low by over-zealous shorts. So some investors figured out the shorts were in an untenable position and called their bluff. The extreme high prices are as far as I can tell just part of the process of the stock price returning to a regular equilibrium, whatever that is. Blaming WSB for a valuation that wasn't based in reality is a bit silly when it wasn't based in reality to begin with. Without the shorts, the stock couldn't have spiked as high as it did.

And in the end, GameStop will survive a bit longer (or even thrive, if it can figure out a successful model), and the people it employs will continue to have jobs.

I stopped reading the article when it turned into a rant against Bitcoin. I mean fine, you can criticize Bitcoin if you want but there's more to it than just people investing in currency speculation. If you don't think Bitcoin has any legitimate uses you're just not paying attention.
That only works if you already have be
Brew installed :) you can get it at https://brew.sh
Set up a budget. At least Azure has those, and you can set whatever limit you want. If you hit the limit, the access will be cut off (and VMs shut down, etc). Your data will not be lost, though. When the new billing period rolls around, all will be back to normal.

I highly recommend something like this if you want to learn the cloud and do not have an employer to sponsor an account for you.

All these suggestions of using a throw-away CC number to avoid paying the bill are just unethical, IMO. No need to resort to those measures.
> The S&P 500 has returned 400% since the crash in a mere 12 yrs. If doubling your money every 6 years does not sound excellent to you, the it's a financial education that is lacking, not real opportunity.

This is rich in hindsight bias and selective reasoning. Picking returns since the minimum is intellectually dishonest. Also the inflation fueling this is also fueling the economic disillusionment of the YOLO Gamestop "investor."

The greater problem I have with your comments is you are focused only on potential high achievers, and seem to have little sympathy for the common man. We don't only need a nation of high achievers with the good education you advocate. We need a nation where the average (really median) person has a future to look forward to, and can achieve at least a modicum of accomplishment and self-respect, if not wealth and prosperity too. YOLO investors as per Gamestop are not the people you are discussing. They are very average people who have very little to look forward to.
>XML is absolutely S-expressions

You need a lot of predefined structure to capture attributes using brackets, much more than you do for dictionaries - which are just ordered pairs in a list when serialized.
Yeah, after posting I was thinking about that.

I have a very lean setup on it with Linux. I don't think it'll last too much longer to be honest.

I mainly use it if I'm on my phone, but find something that a bigger screen/keyboard would help.

But I can't do much on it. Even a RPi has more RAM on it.
China’s first variety show about programmers
I've had my 256GB SSD + 16GB RAM M1 MBA for a little over 2 months now. There was one time that I noticed a strangely large amount of swap usage for no discernible reason, and rebooted immediately. Otherwise, swap doesn't seem to be used that often.

I really don't understand why Apple is apparently incapable of making these laptops use standard, replaceable m.2 NVMe SSDs.

Seeing this thread made me concerned, but it looks like my SSD isn't something to be worried about yet:

SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 34 Celsius
Available Spare: 100%
Available Spare Threshold: 99%
Percentage Used: 0%
Data Units Read: 6,963,442 [3.56 TB]
Data Units Written: 3,626,988 [1.85 TB]
Host Read Commands: 110,283,456
Host Write Commands: 59,878,323
Not for Bitcoin.

Other crypto currencies can work better though.

https://www.nicehash.com/profitability-calculator/nvidia-rtx...

Claims you can earn ~$17 per day if you can get electricity to 10c/kWhr running a single RTX3090 but that's all mining Etherium (DaggerHashimoto) not BTC.
Statistically, it's just as likely, or more likely[1], that the owners inherited the properties, which is how most wealth is acquired.

[1] https://www.washingtonpost.com/us-policy/2019/02/06/people-l...
I have an Iphone 4 that still serves as a remote control for my music setup. The battery was replaced once, 2014 or so.
Doggedly pursuing the elimination of one risk while blinding oneself to all other risks and costs is not good risk-management. The author intuitively knows this, because he's still asking the questions about going to the supermarket or the doctor, but is still writing about "risk" as a single dial that you turn up or down. That's not as useful as thinking about "which risks am I introducing or amplifying by taking this action, and which ones am I mitigating; what total set of (each outcome times its probability) am I willing to accept?" "[x] was a bad risk" is something that history's winners get to decree about [x], which is how we get stories of which oracles had the gods' favor.
The 100s of choices in university are all accredited by the same few accreditation bodies. This is a partial cause of the cookie cutter nature of the degree programs.
I found it weird they removed the network utility app. Doesn't seem like a complicated app to keep up to date.

Sure, you can still use the terminal commands but it was nice to use a gui.

https://www.macrumors.com/2020/06/23/network-utility-depreca...
It should be clear by now that China is a single-point-of-failure for many industries globally. This is a step in the right direction, and I hope other countries follow suit.
You can also keep an eye on the data counter in activity monitor while it's on. At that kind of numbers you're doing to catch it even if it's periodic: it's got a running total too since the Mac was switched on.
I think comfort is something that affects people.

People in poor countries, the Philippines for example, have fewer opportunities, less ability to save, yet somehow form families, raise kids and look to a better tomorrow.

In rich countries people feel like they’re missing something if they’re not keeping up with the Joneses.

In the Philippines not many people are ashamed of second hand clothing. In Korea that’s just not something people would do.

It’s not pride but it’s also not the best way to deal with reality.
I have a Certificate in GIS and I know a little HTML and CSS and yadda, but I don't really write any programming languages. So I don't have a good sense of where they are drawing the line here for things that fit or don't fit this list.

Their section on Data Visualization on Maps lacks a link to Stamen Design free tiles, available under a creative commons license.

I'm wondering if people here think it's worth submitting a pull request or if that sounds like it is outside of the scope of what they are trying to curate for some reason.

https://free-for.dev/#/?id=data-visualization-on-maps

https://www.reddit.com/r/CitizenPlanners/comments/ezklaq/sta...
He's referring to the Columnar hypothesis [0] - that all so-called "cortical columns" in the neocortex have the same basic computational behavior. There's controversy about this, the main issue being, as you noted, heterogeneity between columns [1].

[0] https://en.m.wikipedia.org/wiki/Cortical_column

[1] https://academic.oup.com/brain/article/125/5/935/328135
>Learning concepts like branch prediction, out-of-order execution, pipelining, register planning, caches, memory management is far far more important than Lexing/Parsing/Intermediate Representations and SSA.

These are incidents of technology. If this were 1970s you'd be talking about in place sorting because we're stuck with tapes for anything past a toy compiler. Something that would be useless in a decade.

The point of education is to teach you how to learn, not how to collect stamps.
What tools are you using to measure this?
My Data Units Written has gone up by 0.3TB in the last hour doing nothing but surfing the web on Safari. I would like to believe that this points to Option B. This is on a 512GB SSD/8GB RAM MBA
The high rate would encourage large consumers on variable rates to shut down, with the difference getting purchased by operators with regulatory obligations to supply power to their customers.

(not saying that effect would be big, just enumerating another aspect of it)
Is there a clear dividing line between fuzzing tests and property based testing? They seem to use different words, but do similar things, like generate interesting input and making sure things still work when that interesting input is applied.

Is the difference instrumentation vs hand written generators and hand written invariants?
Or a Greek Diner in New Jersey?
> has no effect on the economic downturn

I didn't write it had no effect. I wrote it wouldn't have caused a recession.

> purely caused

I didn't say "purely", either.
My brother is a Griddy customer and he probably didn't realize just how high the ceiling was on wholesale electricity prices. Griddy sent out alerts a few days before the storm and encouraged customers to switch providers, but that of course wasn't feasible on such short notice. The electric coop in town needed about a week to activate service. He did what he could instead: turn off water, drain faucets, set thermostat as low as feasible, unplug everything, and move his family into my parents for the week.

He's still looking at a colossal electricity bill this month, but thankfully nowhere near as much as this woman. The last minute escape plan worked out in the end. Not everyone in Texas had these options unfortunately.
2.5 year old 32GB RAM Macbook Pro on Intel for contrast (developer workload over that timeframe):

Percentage Used: 4%
Data Units Read: 151,520,338 [77.5 TB]
Data Units Written: 102,518,209 [52.4 TB]
Host Read Commands: 3,014,199,390
Host Write Commands: 2,371,675,100
NASA's Space Launch System: is cancellation too good?
The code review software I use at work lets reviewers add suggested edits that can be applied with a single click by the author of the commit. I try to use this as often as I can and mark any nits as non-blocking so they can still submit without another round trip if they decide against fixing for whatever reason.

I think nits are valuable but are absolutely not the focus of code review. Personally I'd rather see a few small nits on review of my code than just approval because that suggests the reviewer engaged with the code for more than just a quick glance.
It is a great bookstore. I live here, and pre-plague used to go maybe every other month or so.

One of the (many) awful casualties of our real estate costs is the infinite bookstore. They just can't afford to stock a book that sells on alternate years.

And no, Amazon doesn't substitute. I don't go to City Lights to buy a book, even though I usually end up also doing that.
I blame the blacks.
> You can still boot alternative operating systems, disable system protections, and compile and run your own code (even the kernel!).

Except that the hardware is undocumented and complex, so there aren't any alternative operating systems that can actually use it. The people who have it "running" don't actually have working drivers for components required for ordinary usage.
It'll reduce writes but it doesn't explain the huge numbers. Considering the atime updates are only ever one block.
I feel like the downside is that those libraries are always one step behind the assertion you actually want. Our codebase at work uses something called "testify" for whatever reason, and it's always missing the things I want to test. For errors, it doesn't have any As/Is support; it just does an exact string match. That's all you get, so people are forced to write worse tests (or change the library, but guess what 99.9% of "line programmers" are going to do.)

If you demand your pet assertion, you have to maintain some extension on top of the library you use, or wait for upstream to add it -- leading to the maintainer having to maintain a 2000 function library of everyone's pet assertions, which isn't fun, and which they probably won't do.

Another problem with assertion libraries is that edge cases are buried in details far away from the test you're writing. What equality function does To.BeEqual() use? Is null equal to undefined? You really have to hope it doesn't matter. But if the assertion is the if condition, you're not adding any new semantics to your language; you know what == does, and the code says ==, so you don't have to guess.

Finally, error output suffers the more generic you make it. You can review a screenful of hand-written assertions, but autogenerated error output always seems to be one screen per error, meaning that you have to do more looking around to fix multiple tests. Minor complaint, but it's the nature of writing a formatter for interface{} vs. exactly what your test tests.

Overall I find it not worth it. Most of the time you'll be writing a table-driven test, and you're only writing the assertions a handful of times for tens of test cases. (A comment below complains that table-driven tests don't point you at the failure; giving you a vague error like "test 42: fail". I personally add a free-form "name" to every test case to avoid that particular problem.)

My main complaint with Go is how the official style guides don't make conventions around the hand-rolled assertions clear. At least when I was learning Go at Google, you pretty much had to use the form:

if got, want := len(foobars), test.wantFoobarCount; got != want {
t.Errorf("foobar count:\n got: %v\n want: %v", got, want)
}

or your code would not be approved. (The style points here are: the variables should always be called got and want, the output should be in got, want order, and the colons on got and want should be aligned.) Nobody in the real world does this, for whatever reason, and there is no "Code Review Comments" to point to to say why it should be got, want and not want, got. (Why? Because it's arbitrary and someone else already picked.)
I've been using Mavericks as my main OS since March. It's a tad newer than Snow Leopard, but not by much, and I've modified it to be even more Snow Leopard-like. As you might imagine, I've run into many software compatibility issues, and I need to be extra cautious about security. But on the whole, it's been a huge improvement.

The biggest difference is the contrast. Mavericks's UI uses a wide variety of lights and darks grays, which I find both easier on my eyes and more comfortable to use. In Mojave, application windows would blur together somewhat, becoming messy and hard to work with. I can't quite explain it, but Mavericks's higher contrast UI keeps the windows separated, so I'm able to track them with less brain power.

I can also use Applescript and Automator without being interrupted by incessant permission prompts. I can activate the Dashboard from anywhere, to check my calendar, notes, etc without breaking my flow. And day-to-day, I just encounter a lot less general glitchiness. Mail doesn't randomly make itself the frontmost window, and random Apple processes don't start suddenly consuming CPU.

I like it here. I have no plans to leave.