skysight-inc/HackerNews huggingface dataset:
They are being facetious.

They are from a country where SSN where its a shitty master password for their life, and was wondering if Russia was the same way or if it was potentially implemented better.
>>> “Computers were looked upon as creatures from outer space… Few persons, including casino managers, were vocationally qualified to distinguish myth from reality.”

Good to see some things haven't changed.
In languages like JS/Python, you can mock imports. Actually, sometimes you can mock things defined in the same file if you set things up right.

Basically, the logic not being inlined into the function is enough to provide this behavior in certain languages.

This is not true for other languages, which is why DI frameworks tend to be more useful there.

In go specifically, I just always throw the dependencies behind an interface and shove them into a struct. Then you just create a struct of mocks for your testing.
because I'm doing it for other reasons. trying to make money off it always ends up dominating the discussion and frankly I don't really care. why would I waste my time?

more importantly customers only ever want products that's are adjacent to the systems they already use. systems haven't changed that much in a long time and I'm really bored with chipping away at the edges when there is so much more interesting space to explore
Oh, absolutely. Especially in this crowd. There’s a ton of folks that are convinced that the only measure of success is money and/or fame. American culture, especially amongst entrepreneurial types, has reinforced this.

I’m often accused of “sour grapes,” and “I’m just jealous.”

Makes for a fun conversation.

And yes, it is dumb.

Look at the various posts, here. Whenever someone talks about their company being a "success," they always mention valuations, investments, brand recognition, etc. Open-sourcerers always talk about how many stars their repos have, etc.

Schlubs like me are not really invited to too many VIP tents at Burning Man...
Yes, it was originally for decoding information only.

https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabi... is on the way. I believe the latest Safari preview has it implemented and Chromium should have it shortly as well.
For "serious" studies - for mathematics there are lot of really good books that go through the evolution of the methodologies over the centuries - I've read David Bressoud's "Calculus Reordered" and John Stillwell's "Mathematics and it's history" and can recommend both.

For physics the field is so wide it's hard to pinpoint where to start. On Quantum Physics Jim Baggot's "The meaning of Quantum Theory" is the best introductory text by any measure for "mediacore academics" like myself. It tries to hand hold the reader through the firs steps of the historical evolution of quantum theory and why quantum theory is so weird as it is - as a physics MSc I wish I had read this book two decades ago :)

For "light" approach the newer "Cosmos" series is pretty damn good in highlighting some of the key scientific work of past centuries. Don't let the cute animation fool you, this is deep, deep stuff and the producers should be regarded among the top science communicators. I've never seen a better "generalist" explanation for Faraday's and Maxwell's work, the discovery Cepheid variable stars and lots of other stuff.
I’ve been waiting 15 years for Facebook to die – Cory Doctorow
Is it really a design choice or is it more that he probably barely knows how to operate PowerPoint or Keynote or even a computer for that matter? I suspect it’s actually the latter, and he’d rather not learn how.
I guess the reference is to this:

https://www.thecanadianencyclopedia.ca/en/article/chechen-le...
Why block all HTTP(non-S) traffic when you can inspect its plaintext? At least I assume that was their thinking.
I get most of my pirated niche music from MEGA and Google Drive links, hosted on a blogspot page.
"What Was IBM’s OS/2, and Why Did It Lose to Windows?"

https://www.howtogeek.com/688970/what-was-ibms-os2-and-why-d...

> Also, OS/2 had a chicken-and-egg problem. Its best selling point was its compatibility with MS-DOS and Windows applications. However, this meant few developers took the time to write OS/2-native apps. So, why run OS/2 at all?
> how do you know which members of the struct really need to be populated

Interfaces + duck typing? Your function shouldn’t ask for the struct, but rather for an interface describing what it needs.

Practically, though, I often just ask for the struct because I’m a slob.
They don't get to choose whether it is for the IRS.
Wouldn't this be a very simple example (simple to the point that it's obviously exaggerated and wouldn't happen in a real casino): each spin of the wheel takes it exactly one whole rotation plus one number, which if the dealer always picks up the ball and spins starting from the previous winner would mean the next winner is always the next number around on the wheel?
Recall the quoted passage:

> “If numbers 1, 2, and 3 won the last 3 rounds, [I could determine] what was most likely to win the next 3.”

That is unambiguously claiming not just a contingent bias, but a bias contingent on the previous three rounds. My math was based on a one-round contingent bias. That is already in the realm of extremely unlikely. Three-rounds is just flat-out impossible.
A lot of people consider lean manufacturing a religion and can't seem to see that there are some holes in the plan when you go outside a nation and see that some countries just don't like each other and will use their country's businesses as political capital.
APUE Advanced programming in the unix environment, http://www.apuebook.com/apue3e.html, got me into Google as an SA. If you have some programming skills and know this book front to back then you can also probably get in as an SRE (learn some graphing/charting and stats also!)
> That's what I mean, this kind of decision is made at highest levels of government, and meanwhile the rest of the country is fed propaganda to drag it along.

Propaganda is one thing, the simple facts by themselves sometimes suffice. I'm pretty sure if the true scope of what Germany was up to had been revealed to the United States at an earlier point in time that they would have jumped in unprovoked.

> The conspiratorially-minded amongst us notice the weak state of American defenses at Pearl Harbor in 1941.
They knew that something was up, but not what was up.

> If the Pacific Fleet had decisively repelled the Japanese attack US isolationism might have continued.

No, then they would have been at war. That's with acts of war: they change the status from not being at war to being at war, regardless of whether that is then affirmed by a declaration of war. Plenty of historical examples for this. What the response would have been is anybody's guess but it certainly would have moved the US out of the 'neutral' column with respect to the Axis countries.
Should you get off Twitbookgram?
So far …
They do want that. It’s part of their backup plan for being cut off from the West. That’s why Putin made a big show of meeting with Xi just before the invasion.
Isn't slowing down aging the goal of "longevity"? The word implies extending life, not necessarily renewing it.
Hardly surprising. Your typical WINE user playing C&C will notice if an update in WINE breaks it, and report it to winehq. EA don't give two shits about legacy C&C games that aren't making them money.
My impression of Reddit is that it's riddled with 15-21 year olds. I wonder if there's some accurate demographic data available.
I would add

5. investigate sources of income of all Putin's relatives and relatives of other people under the sanctions. investigate how they obtained citizenships of the European countries, and if the said citizenship was acquired with false statements, rescind the citizenship and deport them immediately.
While it is true that the "2% rule" was informal until recently, it is a fact that Europe has decreased its defense spending significantly over the years, from an average of 2% of GDP in the 90s to 1.5% in 2014 when the agreement to go back up to 2% by 2024 was made. In that time, US defense spending rose from 3.1 to 3.4% of GDP. NATO spending targets aren't "obligations" like you say, but don't be surprised when Americans don't want to support Europe's defense so that Europeans, who constantly hate on the US for being "world police", can afford to spend more on social programs. It's kind of sad that the only thing that got the major European countries to start taking their own defense seriously is a neighboring country being invaded.
UNIX you mean.

That is why so few bother to support Linux OEMs, having some kind of POSIX support is enough for the large majority.

However I still disagree, structured shell with REPL like capabilities like PowerShell are so much better and so much closer to the Xerox PARC experience.
At some point, because machine learning is picking out algorithms from the training data, models will converge on functionally equivalent algorithms with the brain.

At first, it won't look good, because the training data will contain output from the millions of individual brains that produced it. Only the human processes most commonly shared will be learned, and the inference pass does one gigantic single run of a model to produce output. The brain has multiple parallel systems contributing to cognition, with hierarchical structures and cycles. If you could deconstruct transformer models into multiple networks, gradually mapping the architecture to that of a brain, performance should improve.

Even if you can't map at high resolution, every stage between monolithic and full cortical hierarchy should improve performance. At some point, such a system could be used in conjunction with Neuralink or direct bci to allow the brain direct access to a model - a true exocortex. With RETRO and lookup interfaces, you could have the whole of Wikipedia available to you at the speed of thought, or offload specific things like calculation and text memory storage.

Aside from the ethics involved, the speed of information consumption will have reached parity with the brain's native performance. Through training or natural development, offloading other functionality to the exocortex will improve on speed, with the biological brain learning to trigger exocortex processes. The neocortex would begin to operate more like an extended hippocampus, sitting at the highest level of the cognitive hierarchy.

This form of augmentation is explored in the Accelerando novel in depth, including the manipulation and temporary loss of the exocortex.

https://en.wikipedia.org/wiki/Accelerando

In 20 years, current gigantic language models should be trivially stored, executed, and trained on microsd sized chips. We'll have better bci, better batteries, better architecture than transformers, and hopefully a much better legal system around data privacy and surveillance.

If we avoid wireheading and obvious Black Mirror pitfalls, we could dodge the AI great filters that are lying in wait.
Russians Rush for Dollars as Sanctions Threaten Ruble Collapse
It's quite interesting. I'm not sure that broad use of Win32/Wine for all types of GUIs would even work well for things like apps communicating with the broader desktop, and accessibility -- never mind that the desktop software stack is already a crumbling tower of complexity.

But I can see it being attractive for full attention/fullscreen apps (like games) that don't use those things or by design bring their own implementations for those things, where the benefit is the reduced decision space for the developer, at the cost of the increased complexity. However, as the article states, ports are often using "compatibility layers" that are just worse versions of Wine though, so for such quasi-ports, there really is no increased complexity in using Wine instead.
I think your basic premise might not be correct. If you only are getting 4 productive hours of work done per day, then something is wrong. I would say you probably only get 4 productive hours of WRITING CODE (maybe much less), but during that long lunch break, or bike ride, or whatever, you are probably thinking about the problem (consciously or not).

If you work part time on two different projects, you simply won't be as productive, because you won't have that "down time" to think about problems.
This was the same conclusion I came to as well. Both for my personal projects, and what I now recommend at work when the subject of potential Linux ports comes up, is that if WINE is good enough to run it why not just do that?
This reminds me of something I read a few years ago (possibly on HN) about a “disease” that was socially transmissible (possibly psychosomatic).

It might have been “swooning”[1], but I can't remember for sure.

Anyone else remember something like this?

[1] https://kellygoshorn.com/archives/2018/04/swooning-a-victori...
Not exactly the question you asked but this Twitter thread talks about, why Putin wants to invade Ukraine:

https://mobile.twitter.com/akheriaty/status/1497835354933526...

Answer: multiple potential reasons = it’s complicated
Maybe in Europe that feels like a meaningful difference, but to me, 80 miles is nothing. Belarus is the odd one out. Poland, Latvia, Lithuania, Estonia, all NATO members. Having Ukraine becoming a NATO member would not present a meaningful strategic change, it's 100% just a personal thing.
> I think we'd get more successes if people didn't didn't do this stuff and instead joined existing projects, or started with the business stuff first and tried to start their own foundations and such.

I think that you're working from a very different definition of "success" than your parent comment. "Success" doesn't have to mean "contributed to GDP". For some people "success" means "I had fun, learned stuff, and expanded myself as a person".
Show HN: Torspray – A simple Python script to bring up multiple Tor bridges
I made this as I wanted to easily bring up multiple bridges and I have found that this was slightly inconvenient to do with tools like clusterssh, so I thought it might be a good idea to have something that's simple to operate.

I don't intend to have people run nodes with this for a long time, but in times like this I felt it would be good if people can provision relays easily.
Costco bundle
I've got a kitchen table from IKEA, it's well made from solid wood. I expect it to last a lifetime.

Sure if you buy a $10 coffee table then it's likely to quickly fall apart but they have a lot of better quality products if you look.
When you post comments like this, do you think you’re doing a positive? Advocating for another group by posting a dismissive, context-less comment on a positive post? It just comes off as terribly negative and self-centered (moving the focus to you and your feelings) and derails the topic from the real efforts being made by Poland.
My point is that people can decry a nation for being a “bad actor” all they want (and I’m not saying I wouldn’t agree with that characterization) but that doesn’t ultimately mean a thing because they’re not ultimately beholden to anyone but themselves. Even contracts and agreements with other nations mean nothing if they’re willing to shoulder the consequences.

In many ways, the US and China have each been trying to do very much the same thing as Russia, just taking different routes to doing so. China uses golden handcuffs in Africa and Southeast Asia (plus some strong arming of its direct neighbors), the USA uses direct handouts (cash and goods) and the promise of coming to the military aid of a country to keep others from building up their own economies or arsenals while allowing the US to host their airbases and missile silos around the world, and Russia just takes the direct approach of strong-arming its neighbors into becoming vassal states.
Those louvers don't seal very well at best, and even sealed they have no r value so they are not very useful. They can save ac in summer, but IMO not enough
BP says it will 'exit’ its 20 percent stake in Russian oil giant Rosneft
Interestingly, a large percentage of my incoming spam has a mega.nz reply-to/return-path. Does mega.nz allow anonymous emails, or are these just spoofed?
This leaves out lifecycle management.

Which, yes, some lifecycles are confusing. But using them well can be very beneficial
> why go through all the trouble of setting this up instead of just using AWS.

Because you may want to have control over your hardware, your costs, your network, your software. AWS and most cloud providers are very expensive and mostly lock you in (unless you only use EC2 instances as VM, in which case you are getting terrible value for what you pay). I already have computers and an ISP, so why would I want to rent someone else’s?
On the same note, I could never really get on with Aspect Oriented Programming. Coming from Java world, I got tired of seeing annotations everywhere and understanding what magic is going on. I like simple and straightforward languages.
My brother bought one at xmas for $500. It gets played ~4 hours a week.

yet I sit and type text and browse the web on a flagship gaming omen RTX 3070 laptop and I cant find a game to play...

Our gaming days are dwindling in this house.
https://en.wikipedia.org/wiki/IKEA_effect
These are multinationals with many employees, interests, and assets located worldwide, but also much of their future growth potential. Most are even ran by foreign CEOs.

So playing Googl.. sorry, playing devil's advocate: What are the upsides?
Consistent year-round temperatures is something I thought I'd want right up until I experienced it for a while. Turns out I like having the variety of seasons. I love snow, but not all year. I love the leaves falling, but not all year. I love Spring thunderstorms, but not all year. I even love 110F heat waves, but I'm glad when Fall arrives :).
Sounds pretty serious. Why not take a moment and ask them what they are doing and why their phones help them out, rather than projecting your worst expectations onto them en masse? It'd be much easier to help them out that way, if you are really interested in assisting via your personal values.

Otherwise it appears indistinguishable from shaming them inwardly, which could be even worse than doing it loudly, in person, and giving them a chance to defend themselves.
>What possible mechanism could cause that?

As a pure hypothetical, definitely not saying it's what happened in this case: if the wheel's bias is based on where the ball is initially dropped in, and a human operator is the one that chooses where to drop in the ball, it's possible that the operator does something simple like choosing a spot opposite the number that last won the round and that this human bias affected the result in some way.
I submitted a permalink to the current revision

https://en.wikipedia.org/w/index.php?title=Azov_Battalion&ol...

It seems HN transforms these to

https://en.wikipedia.org/wiki/Main_Page

New submission is here

https://news.ycombinator.com/item?id=30490779
> Warren and Charlie have always struck me as deeply humanist folks. I really like that about them.

Take a look at Munger’s “architecture” for a counter to that argument.
On Owning a Software Problem
Surely, when you say Trump's election, what you really meant was Trump's failure at re-election.

Because man, a lot of people still don't believe that has happened.
The US never had reliable information just pretended so. Ukraine just complained there are missiles being launched from Belarus territory. Asked if this how they are preparing for the negotiations.

It's interesting that Belarus dictator said he would personally guarantee all airplanes based in his country would be grounded until the delegation would return to Ukraine. But did NOT say he would give the same guarantee for air assets based in Russia...
I’m sure it works really well.
Note that Ethereum is switching to proof of stake this year, almost surely before Q4. It's true that this upgrade has been coming for years, and it's also true that it's actually arriving this year (if interested, see https://eth2.news).

After Ethereum switches to proof of stake, global demand for GPUs will plummet as GPUs are uncompetitive for BTC mining, and beyond BTC, ETH is by far the largest remaining proof of work coin.
> Now it is called "pirate" to access research, which was financed by the people?

Yes it is. The fact there was tax payer money involved doesn't mean any contract with the private sector must be free. Up to the people who found the research to require that it should be published in other means. Grant money comes with many conditions and it's usually not one of them. And when it is, it is respected, from my experience.
Is trying to beat the highest depth of stockfish in chess not competitive? It is a sequence of deterministic, open-information multiple-choice actions.
Find local Discord servers with bots and people tracking stocks and sales going on. Within less than a week, you should be able to get your hands on one.

Yes, it's absolutely stupid to have to commit to this for a full week to just be able to buy a console.
For fellow MIT nerds you might enjoy this article about Kenji from Feb 2020 in The Tech https://thetech.com/2020/02/20/kenji-lopez-alt

Enjoyed this article and how personal it was. Helen Rosner is a great writer.
"Arab mujahdeen"? That word just proves you know nothing and arent interested in learning because a tiny fact check would tell you that you meant Afghan mujhadeen let alone knowing that off the top of your head when making your intellictually dishonest point. Another proof of you lack of knowledge is the racist anti immigrant sentiment. Pakistan and Iran accept the largest number of refugees in the world mostly from Afghanistan.
And I am guessing your hostile attitude has nothing to do with the fact that its AlJezera and not Fox News, which btw sided with Putin up until very recently, saying this.
I am not sure if you are a right wing grifter or have conditioned into one by the likes of Joe Rogan, Tucker Carlson and CS grad's favourite Nazi, Jordan Peterson but I reccomend you diversify your news sources. Try Some More News, Renagade Cut, or The Damage Report for once if you cant stomach Ari Melbar, Racheal Madow, or John Oliver.
Yeah, after toilet paper and masks another real life lesson of the Bullwhip effect.
Could be. Maybe it's just the sub's I find myself in. Or some kind of selection bias.
> Although I do think there will be an oversupply "crisis", I think the article is too optimistic about the timing.

Same. When looking at DigiKey and Mouser they've got confirmed dates well into 2023 for loads of parts.

Here's a random example I was looking at yesterday[1]. Sure they have a few in stock, but once those are gone the next batch is due next summer.

edit: another example[2], no stock and 39k due next summer.

[1]: https://www.mouser.com/ProductDetail/Texas-Instruments/TLC59...

[2]: https://www.mouser.com/ProductDetail/Texas-Instruments/TLV62...
It's funny because if you read past the headlines and try to understand the motivations of Russia, much of it boils down to wanting to "keep the more corrosive elements of US culture" at bay, which makes this a desired side-effect.
The problem that I had was I couldn't figure out what string I needed to pass here. I found some docs in the AV1 spec like:

> For example, codecs="av01.0.04M.10.0.112.09.16.09.0" represents AV1 Main Profile, level 3.0, Main tier, 10-bit content, non-monochrome, with 4:2:0 chroma subsampling co-located with (0, 0) luma sample, ITU-R BT.2100 color primaries, ITU-R BT.2100 PQ transfer characteristics, ITU-R BT.2100 YCbCr color matrix, and studio swing representation.

But how the hell am I supposed to reliably figure that out. It would be awesome if the browser devtools or the Media API could spit out the right string for a video file.
Or just buy a car that has moved past the dealership model. There are a few now, and if the free market wins it should slowly replace the dealer model…

Literally 4-5k saved off every car if you order direct from the manufacturer.
Anonymous hackers launch cyberwar against Russia
I get spoofed ones.
I don't approve this move.