skysight-inc/HackerNews huggingface dataset:
45% of my days salary just for being on call.

1.5x my hourly rate for any call outs.

2x my hourly rate for any call outs on weekends and bank holidays
I don't think this is a healthy way to live. There was another conversation thread started about an hour ago that dives into this really well:

https://news.ycombinator.com/item?id=30602611

I would reiterate my comment on that thread, verbatim:

https://news.ycombinator.com/item?id=30603008
Like all fallacious slippery slopes, the fix here is to simply limit how far down you'll go. So the EU can ban RT, but then (I know this is hard to believe) not shut down all non-state media or stop people on the street to look at their text messages.
Mac Studio
Putin is not that unrealistic, he knows very well that even just one nuke would make Russia a pariah state for the next 100 years at least. Even China would turn their back on them. Turning Russia into a second North Korea was never Putin's plan.
RT Spanish mix quality content with the odd propaganda piece. It's actually the same technique right-wing / left-wing extremists use on social media to gain followers, and it works.
> I'm guessing it's such a small percentage of the world that it might as well be statistically insignificant.

Exactly! The vast majority of content on social media is produced by a vanishingly small slice of the world's population. The views expressed should not be understood as representative.
Discord's official recommendation is to go outside. https://twitter.com/discord/status/1501263121729552385?t=lLX...
Start with WebGPU. There's a great resource here: https://sotrh.github.io/learn-wgpu/.
>What are you expecting to hear?

I want to hear what the Russian people are being told, and I don't want to hear that from 'my sides talking heads', I want to hear it from the perspective of the Russian peoples' own media - without an autocratic authority figure well-known for war-profiteering telling me what to think, I'd rather like to make my own judgement.

Are 'we' so stupid as to not trust our own peoples' ability to observe "obvious propaganda" and come away unaffected, or is it rather that, by censoring Russia, we admit that our own education systems have failed so dismally in the West, that we simply can't trust "The Stupid People" not to fall for 'obvious Russian propaganda'?

I think there is very much an autocratic bent to the reasoning so far.
I wonder if/when Apple starts licensing their M1 design to the server market. The energy savings and performance boost from those chips can make a real difference in cloud offerings.
"Alliansfrihet i fred syftande till neutralitet i krig"[1] has been a cornerstone of Sweden's foreign policy for generations. As a Swede, I'm all for reasoned, measured debate about the pros and cons of joining NATO. It's certainly not something to decide in the heat of the moment.

Then there's the fact that despite its recent smaller slice of Sweden's electoral pie, the Social Democrats are the party to decide this. Andersson has a very large faction of Euroskeptics and NATO skeptics in her party, and going against them risks causing a ton of dissent in an election year.

I'm personally for larger defense spending in Sweden, and if a NATO membership enforces that (we Swedes are quite good at following our international commitments) it's a good thing.

[1] "Avoid alliances in times of peace to remain neutral in war"
Apple Launches the M1 Ultra
Was this the same kind of agreement as this one made with Ukraine when they got rid of their nuclear weapons?

https://en.wikipedia.org/wiki/Budapest_Memorandum_on_Securit...
They certainly knew there would be sanctions, but I don't think they estimated they would be this harsh. Almost nobody in the west even thought they'd be able to unite enough to do what's been done. These sanctions have got to be far harsher than anything they anticipated.
Even if we wanted to maximise happiness in life, that's still very different from minimising ostensible regrets when dying.
If all their models looked the same, the top models wouldn’t signal wealth as well.

Seems you’re a bit sensitive to that.
So you are saying that blocking Apple event on YouTube from being accessible to Russians is going to pressure Russian government?

This is not even sanctions, it's just virtue signalling by companies that results in nothing but disgust.
Russia is not an enemy of any EU country at this time. If we were at war with Russia, I would entirely agree that blocking their media in the EU is justified, and I also agree that any blocking of their media in Ukraine today is justified.

But outside of literal war, free speech is more important.
Treaties aren't set in stone, and novel ones can be invented. If I had to crystal-ball predict what a plausible Ukrainian victory looks like here—that is, the best likely outcome I think they might achieve on a relatively short timetable—it's a negotiated peace that gives some territorial concessions and, for face-saving for Putin/Russia, rejects Ukrainian NATO ambitions... but puts them in a quick-n-dirty EU status that grants them a security agreement of some kind, as they progress on the slower track to full EU membership.

I think if Russia backs them into fully rejecting all security agreements with the West as part of a settlement, they're just in for a takeover by other means, once Russia has its near-term concerns addressed by the peace settlement and can afford to sit back and wait. I think the most likely way out of that (assuming Ukraine achieves one) is a novel arrangement of some kind, more likely with with the EU than NATO, or (waaaay less likely) a new bloc & mutual defense agreement with Sweden and Finland.
In psychology venting is called catharsis.

As for articles: Let's start with the one in the article.

https://psycnet.apa.org/record/2002-13494-002

https://psycnet.apa.org/record/1966-04874-001

https://psycnet.apa.org/record/2002-00162-010

https://www.tandfonline.com/doi/abs/10.1080/10463283.2012.69...

https://study.com/academy/lesson/catharsis-in-psychology-the...
I also bet on the politician I don't want to win, with the thinking that I'll be happy either way.

But in this case there's no actually money on the line, that's not how the linked website works. (PredictIt and others won't take bets on the issue, it appears.)
>"No doubt, one can hardly agree with the opinion that this is some sort of censorship," Peskov said, according to Russian state media. "This sphere - the sphere of fake news - insults and so on, is under strict regulation in many countries of the world, even in European states. This undoubtedly has to be done in our country."

https://www.npr.org/2019/03/18/704600310/russia-criminalizes...
Isn't that kinda the idea though? The argument is that RT is already not "the free press" so the EU banning it is more like banning false advertising than limiting the free press.
My only gripe is that docker runs in a VM and there's nothing like that on macos. Other than that, it's out of my way so meh
As a person who works on a Mac but uses a Windows PC for gaming: a pity this only has USB-C inputs, so you won't be able to connect a PC with an RTX 30xx card to it.

Still very cool though.
Damn. I seen people say, “take my money!” but never felt it myself… until now.

I need/want a “Studio”. Well, I need a new Mac. Well, the “studio” is more than I had hoped for, and certainly more than I need, but now that it’s there, it’s hard to see why I’d get anything else… except the obvious problem of the price.

Still, the price is not that crazy, and the computer is.

Today, I’m “that guy” refreshing until I can order a studio
Is it certain that the Pb causes the lower IQ or maybe there is some other factor and poorer people happen to have higher concentration?
If baseball comes back, you mean. The owners don't really care to open those doors currently.
This question needs to be asked more often. It took me quite a while to realize why I'm more engaged on Twitter than I used to be.

In my case, it's to have a conversation. Before I moved to the United States, I could have all sorts of conversations with people at work, no matter how controversial or stupid or weird. But in the US, the culture is different. There are things that you can't discuss with your coworkers, for various reasons.

When the pandemic hit and I stopped going to the office, that made the problem even worse. Sure, I didn't have any real friends here, but at least there was more randomness and diversity in my social life. I love my family, but it's an extremely limited pool of people to talk to.

So I found myself participating more and more on Twitter, on Imgur, and on certain game forums. Which, in turn, had the same impact on me as Facebook used to before I closed my account.

My own, very personal conclusion, is that the society in the United States suffers from a "disease" of alienating people from each other and isolating them, making them turn to social networks to fill the void left by the absence of what used to be normal, every day way to socialize.

Then again, I'm just a sample of one, so my conclusion is almost certain to be wrong.
Face ID is a terrible compromise to make the "borderless", no-home-button design work at a time where they couldn't get either under-screen fingerprint sensors nor put one on the side or the back. Form over function, as usual.
People change. Your "edgy" tweets and shitty jokes from when you were young and stupid can still haunt you in your adult life.

Case in point: James Gunn ( https://en.wikipedia.org/wiki/James_Gunn#Firing_from_Disney_... )

This is why I rarely interact on Twitter and I have a script that deletes all my tweets that are over X days old. If I say something truely insightful, I'll just make a blog post out of it.
As Finnish pro-verb goes: Silence is gold, speaking silver...
Parent was commenting about the speed of the invasion not the general parallels between Ukraine and Afghanistan.
The website was too much for my top of the range iPhone 12 to handle. Nice work Apple.
Wada Test
> together with forced production

a.k.a. slavery

> For obvious reasons (and very good ones), this is something people won't accept unless the shock is really serious, like a war.

No kidding.

But again, it depends on what the goal of the price control is. In a war the goal is not to make life easier for the consumer -- the goal in that case is to get the consumer to stop consuming what the war machine needs for itself.
I wish someone would go around interviewing reporters like this writer and ask "How long did it take for you to realize that Twitter is not real life? Why do you think you were mislead for so long? How do you plan to avoid similar errors in judgement in the future?"

Except the social status journos have make this like of inquiry uncouth. It is someone both one of the most pressing issues of our media landscape, yet seen as a simple-minded and undignified perspective that sophisticated media won't touch.
The U.S. isn't officially neutral, so lend-lease is pointless in this case. The west is already overtly arming Ukraine.
Their equipment is in bad shape because sanctions have prevented them from buying supplies, parts, tools, and services. When they're able to purchase those (which could be soon [0]), the equipment will be fixed.

All it took to get rid of sanctions on a nation that has never harmed or threatened anyone was for one of their competitors in the petroleum market to invade another nation...

[0] https://www.wsj.com/articles/u-s-officials-meet-with-regime-...
Apple's Mac Studio launches with new M1 Ultra chip in a compact package
I've been holding out on replacing my i7 mac mini until Apple announced its replacement -- and wow that mac studio looks good. The fact I can put linux on it due to the Asahi team's efforts makes it even more attractive.
"Not sure how modular it is with no internal slots."

Given that the GPU and memory are on the chip and unswappable, the vast majority of people will only need to swap out the hard drive. Most people can just get by on external peripherals.
Sold. Been waiting for this for years.

Edit: to clarify I will lurk and wait until it is £200 off on Amazon one day because I don’t need it immediately.
Spotify is on GCP
Apple announces new iPad Air with M1
No 120hz listed in the tech specs, that’s gonna be jarring for people with a M1 macbook pro.
"One of the CppCon organizers and speakers (herein “individual X”, or “X””) has a criminal record. They were convicted of rape and possession of Child Sexual Abuse Imagery in 2011, and are a registered sex offender.

#include <C++> believes that CppCon and the Standard C++ Foundation’s stance on X’s involvement in CppCon is inadequate, inappropriate, and irresponsible. CppCon and the Foundation have chosen to prioritize the prosperity of one sex offender over the physical and mental safety of the C++ community."

Presumably X served his time in prison and is getting on with his life. There have been discussions on HN about the need for felons to re-enter society productively. Doesn't that consideration apply here? Not discriminating against someone for having a criminal record is not the same as "protecting" him.
For energy, it's hard for people to either hoard it, find substitute, or producing more of the good. Reducing consumption is possible only to a limit (when you start freezing and getting sick).
Define "good" and "ok" first.

A good person who doesn't use Twitter (someone who might fix cars, or works on a fishing vessel for example) who is having this little discussion about what is "good" and "ok" might very easily use the wrong words and offend someone.
don't think so.
People that regularly use social media seem to think they know everything or can know everything. Seems myopic from an outside perspective.
Swedish neutrality worked through two world wars and the cold war after that. Whether or not joining NATO is beneficial for Sweden, I have no idea. Deciding right now, after not even two weeks of war in Ukraine, seems rushed so. Rushing this kind of stuff is usually a bad idea.
Agree. They don't care about UX at all.

Trivial example: the Home button that doesn't reliably take you home. It's some sort of home/back hybrid where you're never quite sure what it's going to do (this is on iOS). Instead have two buttons: one for Home and one for Back. Then we'd all know what to expect when we pressed one of them. Not difficult, is it?

More substantive example: poor integration, to the point of being dangerous, with Apple Carplay, and a generally crappily optimised, unresponsive and, yes, dangerous experience for driving with or without it. Every time my Apple Carplay connection fails it's due to Spotify. Every. Single. Time. Screw you, Spotify: I couldn't give a damn about Joe Rogan but if you don't fix your poor quality, dangerous user experience I'll cancel, because it's not worth a horrific car accident just to switch to a different playlist.

(Tangentially, since I mentioned Joe Rogan already, I'm unpleased that a bunch of songs have disappeared from my playlists because of Spotify's poor and purely reactive handling of his podcast. I like the fact that he talks to people from a range of viewpoints, many of which I disagree with: I don't like the fact that it took a social media fiasco and a bunch of artists leaving to label and tag his episodes more responsibly. You should have known what you bought when you acquired rights to his podcast: it's called due diligence. You should have had, and implemented, a business integration plan, in place from day one. Who spends $100M+ without doing this? I'm guessing all you saw is subscriber numbers. Stop being lazy.)

I wish I could reincarnate Steve Jobs so he could go and work at Spotify and fire Daniel Ek and Gustav Söderström in an elevator because I honestly can't think of two individuals more deserving of such a fate.

(Btw, I realise the thinking here is likely that if you have the artists maybe the product doesn't matter so much but, as the Rogan incident shows, having the artists isn't guaranteed. You need subscribers onboard too, to ensure that artists are less tempted by other platforms an options, which means the UX needs to be solid. Clearly it's not at the moment.)
Very interesting - thanks!
Quite the list of signatories, including C. William Maynes (editor of Foreign Policy magazine), Sen. Bill Bradley, Raymond Garthoff (former ambassador to Bulgaria), Morton Halperin (former ACLU director), Sen. Gary Hart, Arthur Hartman (Reagan's ambassador to the Soviet Union), Sen. Mark Hatfield, Sen. Gordon Humphrey, Fred Ikle (the man who proposed sending weapons to the Mujahideen), Sen. Bennett Johnston, James Leonard (ambassador to the UN), former Secretary of the Navy Paul H. Nitze, former Secretary of Defense McNamara, Sen. Sam Nunn, Ambassador to East Germany Herbert S. Okun, commander of US Air Force Japan Robert E. Pursley, CIA Director Stansfield Turner, plus a list of everything from well-known professors to Purple Heart recipients.

In other words - left and right, ACLU and Senators, academia and veterans, a broad swath of the American political landscape - I'm not sure why this perspective doesn't attract more attention these days.
> Maybe people should be trained in snail mail phishing detection too.

This attack would might be even more effective as snail mail actually because in my case, that's where the official notification of recipient account was supposed to be delivered (and was a couple days later). If you can sleuth the email comms to find an address, you'd probably send the fake info to both.

To protect yourself from this attack, always, always, always speak with person to get the account details to which you're sending a large amount of money. Preferably face to face.
As far as I can tell how well standardization works depends on "how close to the humans" it is.

HTTP; TCP; json; xml: all standardize pretty well. Want to standardize your micro services on nginx with data in json? It will work swimmingly and save time because it is one less decision to be made, and overtime everyone will become familiar with how nginx is setup. Standardizing on what json libs to use so that everyone can dig into the json marshalling code without a lot of head scratching would be another big win.

Trying to standardize people never works because they want to do things their own way and view whatever standard you try to impose as wrong.
conflating "banning all independent media" and "banning a media outlet that repeatedly spreads lies" is the exact thing that the liars, hucksters, charlatans, conspiracy theorists all want you to do. Do you really honestly believe that responding with consequences to people doing bad things is the same thing as doing the bad thing? We teach children this but nobody cries foul when a child is put in time out for hitting their classmate.
Who's the arbiter of an OK opinion?
Ernest Becker died like 50 years ago -- how did he do a podcast with Lex Fridman? :)
The clever base between 1 and 2 you are looking for is the golden ratio. I would use it only for bigger numbers though. under 5k 2 is good enough.
Cpp Con/fdn protected convicted rapist/posessor of child sexual abuse imagery
> similar to using a spy server

I hadn't thought of it that way, but I think that's exactly correct.

> How do you inject the createNull version in a test that does not have the [infrastructure] wrapper as a direct dependency?

The short answer is that you create a chain of nullable objects.

Infrastructure "pollutes" its callers, in that having intrastructure in the dependency chain exposes you to the downsides of infrastructure (external state, network calls, unreliability, etc.). So I consider deep dependencies on infrastructure a design smell. Hence A-Frame Architecture.

That said, design is all about tradeoffs, and sometimes a deep dependency on infrastructure is better than the alternatives. Your example of UpperController and Controller is something I'd prefer to avoid, but it's normal for me to have "high-level" infrastructure that depends on "low-level" infrastructure.

For example, let's say we implement a logging wrapper. Under the covers, it depends on CommandLine, a wrapper for stdout. When used by Controller, the chain looks like this:

Controller --> Log --> CommandLine --> process.stdout

CommandLine exposes trackStdout()¹, which allows you to record what was written to stdout, and createNull(), which allows you to create a CommandLine that doesn't actually write to stdout.

¹trackStdout() is a more sophisticated alternative to the "Send Events" and "Send State" (getLastOutput) patterns mentioned in the 2018 article.

But Controller isn't aware of CommandLine. Controller is only aware of Log. Log's use of CommandLine is an encapsulated implementation detail that's hidden from the rest of the world.

So Log also exposes methods to help you test. It has trackOutput(), which allows you to record what was written to the log, and createNull(), which allows you to create a Log that doesn't actually write to the log.

Importantly, here, trackOutput() isn't just calling CommandLine.trackOutput(). It's providing a higher-level abstraction that knows how to deal with structured logs, timestamps, and stack traces.

So in the test of Controller, your code looks like this (JavaScript):

it("logs stuff", () => {
const log = Log.createNull();
const logOutput = log.trackOutput();
const controller = new Controller(log);

controller.doStuff();
assert.deepEqual(logOutput, [
{ message: "my expected log line 1", detail: "some detail" },
{ message: "my expected log line 2", detail: "some other detail" },
]);
});

This isn't a lot of work for Log, because it can use the abstractions provided by CommandLine. In particular, its factory methods look like this:

static create() {
return new Log(CommandLine.create());
}

static createNull() {
return new Log(CommandLine.createNull());
}

I have a video for this example at [2] and the source code is at [3].

[2] https://www.jamesshore.com/v2/projects/lunch-and-learn/testa...

[3] https://github.com/jamesshore/livestream/blob/2020-08-11-end...
People are overcomplicating things

RT ban is commercial in nature (reciprocity). All other news orgs have been banned (de facto) from Russia

People who think there should be no limits to free speech have never been the subject of its downsides.
Getting a Sense of the Russian Soul
I can’t even see the monitor when I click.