skysight-inc/HackerNews huggingface dataset:
A metaphor that just occurred to me.

When it comes to debugging running systems, nobody has it better than doctors. They knock the "system administrator" out and go right in with root access via scalpel to do what they know needs to be done.

SysAdmins can be a huge help in devops culture, but sometimes things go wrong and the surgeon needs to get in there.
This is the linked report: https://www.whitehouse.gov/wp-content/uploads/2022/09/09-202...

I think this is good.

Whether or not blockchain is a good thing, it's very clear that proof-of-stake is an adequate and energy efficient alternative.
> I think it is fair to talk about this and how it can maybe be done better.

I agree, though it's evident that the discussion is stained by the tone of this article.

They aren't approaching this topic with some respect and understanding, while being fully aware that these license changes are aimed at large companies which keep taking, but do not support the open source community.
You can install any services in your nix dev shell environment. Run them however you desire--a bash script that backgrounds their tasks, systemd user services, supervisord, or any other process manager.

edit: A really simple and effective process manager is foreman and its procfile format. I like the golang version of it (simple single binary with zero dependencies): https://github.com/ddollar/forego or https://github.com/mattn/goreman
And the parents that don’t want their kids reading “Ruby Bridges Goes to School” certainly have their own agenda that says quite a bit about America.

If the school / library bans the book and the answer is “if you want YOUR kid to read it buy it yourself” then now we’ve got the problem of the next generation growing up with some kids learning only half of our history.
Doing so would certainly assuage climate change concerns without any huge damage to bitcoin itself, which has enough coins and coon subdivisions to operate successfully. Hopefully bitcoin will see the light and terminate further coin generation.
> In the late 1990s there already was Objective-C.

Objective-C is closer to the original, or at least early, Alan Kay and Smalltalk flavor of object oriented languages. In the late 1990s, we had already had 10 years of C++, so the C++ flavor "C with classes" type of object oriented programming was more familiar to most people.

I'd guess already then, the Smalltalk flavor of Objective-C felt a bit alien to many, who had grown familiar with the C++ flavor.
For Windows & Linux I have currently settled for a "Logitech G413 gaming" keyboard and am very happy with that choice!

I would like to be able to use the old "Apple Extended Keyboard" [1], but on Windows that have not yet been feasible, despite the excellent help from Capsicain [2]
So for now I only use that on my non-labtop Apple computers…

My requirement for a Keyboard are here:

F-keys

Seperated in groups of four (F1-F4, F5-F8 & F9-F12)
F# clearly identfied on key (keyboards with Fn function typically favor the non-F-function)

Arrow keys

Inverted T

Sections seperated with space

Space between alpha / arrow+page up|down / numeric sections
Microsoft Surface fails here

Alpha section

Return key 90 degree angle shaped "danish" (NOT the US horisontal) aka "big enter"
ÆØÅ keys labelled NOT combined with the other nordic letters - only the danish letter (can be improved by painting over the other nordic letters)

Numeric section (aka 'extended keyboard')

Must be present

Arrow section

Delete key same size as normal keys (NOT double height as some Logitech keyboards)

Connection technology

USB (must support KVM without delay)

Fn key

NOT present at all
If present, then
- NOT positioned on the left side of SPACE (will be hit in stead of CTRL, not good)

Key travel
As the 'old' A1243 Apple extended keyboard [1] or Microsoft Surface (with ca. 2,2 mm key travel)
As Logitech G413 (larger key travel, 'tactile' switches)
NOT as HP KU-0316 (default with their newer PC's)
Preferably 'scissor' type (not 'membrane' type)

USB hub built-in

Nice, not mandatory

RIGHT CLICK KEY (aka MENU)

Nice, not mandatory (remember to use SHIFT-F10)

[1] https://www.ifixit.com/Device/Apple_Extended_Keyboard_A1243

[2] https://github.com/cajhin/capsicain
I would, too, but the barrier to entry is much higher.

This has been discussed ad-nauseum, but "getting started" with nix (or home-manager, or devshell) is an experience worse than trying to do anything with Linux in 2005.

Cobbling together a bunch of blogposts and docs which kind of, sort of, might let you piece together a config which works after enough iterations and unreadable backtraces is far more difficult than it needs to be, and that's before you get into cases like "I want Python linters in my environment, so I need Python, but I also need access to some modules from Python on the system, which aren't installable (let's say `python-apt`, which cannot be installed from pypi), and..."

For probably the 500th time someone has said it on HN this week, nix will never be really usable or gain wider adoption until someone puts together solid documentation, or even a solid "getting started -- intermediate" guide which can bridge between "let me set up a trivial env" and "I'm running nixos and it's nix all the way down"
Actually this was the much of the reason for the creation of the Raspberry Pi.

Its creator, Eben Upton was a director of studies at Cambridge university and realised that there were fewer CS applicants than in the past and that many of those that did apply knew far much less about computers and programming through there own "tinkering" than previously.

He saw that this was due to modern computers being far more opaque than the systems he had used as a kid (like the BBC Micro). So he decided to build something to address that issue that was open enough to understand the workings and cheap enough that people wouldn't be discouraged from tinkering due to the risk of breaking it.

It seems to have worked quite well...
You can't use bitcoin without coin generation. Coin generation is what enables transactions at all.
I feel like most of the characters on Big Bang Theory were Flanderized pretty quickly.
This perfectly explains why, incredibly smart engineers at ThoughtWorks and the like are using React components to build stateless documentation sites

Perfectly reasonable isn't it?
I'm curious what states like Wyoming, who run advertorials on Bloomberg TV placing themselves as a crypto haven, will think of this. And Florida too, where all the VCs moved. More divisiveness!
If we had more unpopular taxes we could have less taxes (quantity and revenue) overall.
A much fairer law would tax all emissions. But the fossil lobby threw PoW under the bus as a red herring.
> Responsible parents monitor and control the information their kids can access--websites, movies, music, etc.

Responsible parents teach their children to evaluate whatever they may encounter.

Controlling and monitoring neither helps them deal with the real world once they are unsupervised, nor does it work.
> I didn't know phones did this nowadays. I wanted to share it with HN in case anyone else is surprised by it.

OPPO invented this when they started deploying VOOC charging (serious current,) standard Android has since copied it.

They measure the resistance in between data pins periodically. If there is no voltage, but resistance is low, they show this alert.
Well, it's a sad part of culture in 2022 - an enormous abandonment of creativity or authenticity for clicks.

Even sadder that it works.
Ah yes, let's ban random uses of electricity, instead of addressing the root cause: actual emissions being taxed or limited.
Very true. Practice for 3 months and you’ll know 90% of the solutions cold.

For a salary of $700k - staff - it’s easily worth it
has pos been deployed in the wild at large scale yet ?
No, NYT reversed what is actually going on.

This is the government trying to silence parents. The school is a government entity, and has the power associated with being part of the government.

When the parents object, its a bit rich for the government to say that their rights are being infringed by uppity parents.
Living in an Area with High Air Pollution? Consider Positive Pressure Systems
No, I think it's sufficient to see you've staked your position as "children don't have a right to read what they want." People can draw their own conclusions about your character from that.
A Hyundai i10 is very cheap and it consumes very little gasoline.
It will not happen. The Bitcoin lobby is already to strong in the US.

Crypto firms are among the top Democrat donors. Crypto CEO SBF plans on donating $100mil - $1bil in the 2024 election, and calls political donation the highest form of return of investment that exists:

> He was also one of just a handful of donors who spent $10 million-plus backing President Joe Biden in 2020, and in the last year, he’s hired a network of political operatives and spent tens of millions more shaping Democratic House primaries. It was a shocking wave of spending that looked like it could remake the Democratic Party bench in Washington, candidate by candidate. Looking ahead to the 2024 election, he has said he could spend anywhere from $100 million to $1 billion.

https://www.politico.com/news/2022/08/04/democratic-megadono...
> purposefully bloated games to hundreds of gigabytes so that they are harder to pirate

This is an unfair claim. Games aren't purposefully bloated so they are harder to pirate. 4k textures are 16 times larger than 1k textures, so even with large amounts of compression, just the switch to 4k textures will likely make games 10x larger than they were. Games nowadays come with localised audio which is often uncompressed because storage has gotten larger, cheaper and faster, and it drastically reduces the cpu overhead of audio playback which can be a significant chunk of time and is a very noticeable issue when it stutters.

Games also have significantly more content than they had in the earlier days because people demand it. Starfox (a game mentioned in the article) has a "completionist" time [0] of 5 hours - compre that to a game like Monster Hunter Rise (I used this as an example as I'm playing it right now), that has a main story play time of 15 hours [1].

[0] https://howlongtobeat.com/game?id=9035
[1] https://howlongtobeat.com/game?id=83169
Can anyone explain what is the usual expalnation for what happens when two entangled particles are measured? That is, if one of the particles is measured, and the other is not, what happens to the second one? Is there some time where the second particle is still entangled to the first one or is it going to be entangled until measured?
Congress might consider legislation, to limit or eliminate the use of high energy intensity consensus mechanisms for crypto-asset mining,”

so how would they enforce this? by running escrow on every single server to ensure this particular algorithm is not executed..? or would they simply measure energy consumption by the server and demand proof that the load is legitimate?
Yes, but you are quite far from where Russia is, not to speak of China and North Korea.

On the other hand, in Russia police don't use dogs against protesters, so maybe Netherlands are not that far.
Chinese authorities made a call that a book about sheep and wolves was a sedituous political work.

Texas school boards being overtaken with funding from Patriot Mobile, a far-right Christian cell phone company, are making calls that some books are pornographic despite some having been on shelves for decades.

As an Australian parent and grandparent I have no issue with books and songs about butts.

[1] https://www.youtube.com/watch?v=1g_DwDvxGCw

Pornography is often in the eye and the mind of the puritan.

[2] https://www.theguardian.com/us-news/2022/sep/05/texas-phone-...
try a side project? when I think of fun ideas, I always notice how easy it is to bump into computationally hard or complicated stats/ML/math problems left and right, even if it's just a simple game.

I remember one time when I realized this: a TV show character suggested building an app that lets you take a picture of someone's shoes and then give you links where you could buy them. It sounded a) like a pretty good business idea and b) crazy hard to build (the time the show aired was before the Deep Learning proliferation iirc).
Read the report: https://www.whitehouse.gov/wp-content/uploads/2022/09/09-202...

The plan isn't "banning bitcoin".

It's to consider regulation on high-energy usage crypto operations, and then "should these measures prove ineffective at reducing impacts, the Administration should explore executive actions, and Congress might consider legislation, to limit or eliminate the use of high energy intensity consensus mechanisms for crypto-asset mining."

It's unclear why you think this shouldn't be the Administration's role? If it is taking a significant proportion of power across multiple states and affecting power prices and grid stability it seems like it should at least something one branch of the federal government should have an interest in.
Some of Allen Downey's books are free.

Here's Think Python (How to Think Like a Computer Scientist):

https://www.greenteapress.com/thinkpython/thinkpython.pdf
What is announced today?
"this payment will not impact or diminish our academic or student life experience"

Very slippery wording. Their insurance premiums will now presumably be much larger, in which case they'd indeed have to lower spending on other things to cover it. Or possibly they will become un-insurable.
Afaiu, generation of new coins is set to stop at some point in the future. This will not change the power consumption though, miners are still required to process transactions (which might become more expensive, because miners don't get "free" coins anymore)
Correct me if I'm wrong, but as long as citizens can vote on their leaders, you have a democracy.

This has nothing to do with how much power the government has or wants over its citizens. As long as they can vote on different representatives, I don't see a problem for "democracy". I do however see a problem with privacy and freedom, or like you say, a downward trend of civil rights.
Ethereum switching to PoS in 5 days, and a bunch of large blockchains have been running PoS (with various consensus mechanisms) for quite some time now.
In the lecture note 6 about regularization, section 3.4:
the l1 norm of a vector is simply the sum of the absolute values of the coordinates, and hence it
is continuous (and linear). I don't think that the l1 norm is linear since |x+y| # |x| + |y|.
Just out of interest, I wonder what the largest and "most important" thing you've worked on is?
This Advanced Data Structure course [1] which, while not accounting for any particular hardware, had some interesting "cache-oblivious" algorithms (i.e. designed to make the best use of your cache no matter the cache sizes.) Is that the type of work you are thinking about?

[1] https://courses.csail.mit.edu/6.851/fall17/lectures/
Speculation warning.

If their tax collection/law enforcement interest outweighed the part of the financial sector invested in Bitcoin they would have banned it during the Russian sanctions which provided perfect cover.

Instead, after a lot of noise about banning it, they “commissioned a study” which is well known in politics as “we have to save face/pretend to do something for optics”.

Wall St wins, this train has left the station. This is coming from someone who tracked bitcoin since $0.25 and was, to my poverty, convinced that it would be legislatively squashed the second it got on the radar of DC or the Fed.
Well, not exactly. There's a hard limit to the coin generation. Although it won't hit that limit until around 2140[1]. Miners will still be incentivized to keep the network going thanks to transaction fees at that point.

Assuming there's still a civilization and computers at that point, which seems to be a bit up in the air to me (although not because of bitcoin, because of several environmental tipping points we're reaching[2]).

[1]: https://www.investopedia.com/bitcoin-halving-4843769

[2]: https://www.theguardian.com/environment/2022/sep/08/world-on...
Ethereum is about to transition in a fortnightt after years of development and testing.
Companies might simply have to sign statements that they aren't doing forbidden mining, and in doubt auditors are sent.
There is no housing crisis in the country overall.
Given the impending energy crisis in Europe this winter, expect the EU to follow suit.

As much as advocates tout crypto as being extra-governmental, it would honestly take very little to effectively cripple crypto. For example, a ban on financial institutions that want access to the US financial system from dealing in crypto.

When energy becomes a sufficiently important political concern it’s going to be a huge problem for PoW crypto.
>It always was that way.

I don’t think so since the technological structure to support it was not always present.

Western societies have started to copy China because everthing else puts them at a competitive disadvantage.

there is a very helpful theoretical framework by Theodore Kaczynski, that of self-propagating systems, to better understand the evolution of societies:

https://theanarchistlibrary.org/library/ted-kaczynski-why-th...
> Gtk OOP is actually a clone of Motif OOP

And it has the characteristic GNU Lisp-envy-in-C (gnu_lisp_envy_in_c ()) flavour.

And the GNU Network Object Model Environment (GNOME) developers were (with Bonobo et al.) copying COM, if anything.

How did that even happen?
Do you mean literally public domain or books with permissive licenses in general?
To some degree, I agree with you. There's a continuum--you can't just leave children completely alone to choose everything, they lack the maturity and ethical decision-making frameworks to do that. On the other extreme, you shouldn't brainwash them so that as they mature, they can't actually make these decisions on their own.
Looks pretty cool, thank you!
My makefile is pretty simple (3 lines) but I'll see if maybe this is more suitable. :)
I think there’s a strong argument to be made here that the actual code in this scenario is flawed.

What Svelte is doing is simply covering up the flaws in your code by short circuiting an infinite loop scenario which has been coded into your app. This will have unexpected side effects, however.

That being said, I think useEffects is far too overloaded in React, and is currently used for completely orthogonal purposes.

At he very least it’s used for the following completely unrelated purposes.

1. Component setup and graceful dismantling.
2. Syncing with external state.
3. Running code specific to a certain prop being changed.

I think the React team would be highly justified if they created a separate hook for #3 at least. Maybe a usePropsChanged hook that is called when one of the props change, and provides an isChanged function that you can pass a prop to, to check if it’s actually changed (I’m sure someone can come up with a better design than I have in the process of writing this comment).

That would be a semantic which would actually allow you to avoid the code flaw that your code above includes, as opposed to brute force papering it over like Svelte appears to do.
Infinite scrolling is universally bad for one, very simple reason: It breaks the scroll bar.

One of the purposes of a scroll bar is to indicate how long (and/or wide) some piece of content is relative to your window. Another purpose is to indicate your current X/Y position within some piece of content.

Both of those purposes are completely broken with the use of infinite scrolling, because the length (and/or width) of the content keeps changing (increasing) and thus your position in that content also keeps changing.

I shouldn't have to explain how terrible this is from both accessibility and simple practicality standpoints.
Reflections on a Year of Anki, Knowledge Management, Emacs and More
An article I've been writing for the past couple of weeks. I've read a lot about people switching and trying PKM systems but few writings on how the systems performed.
You're absolutely correct.

I was just moving an EBS volume between regions and doing the partitioning and thinking "wow, you just don't do this much anymore".
> The Bitcoin lobby is already to strong in the US.

Banning PoW would benefit Bitcoin; it's the main thing preventing it from becoming more popular right now. Having the government force the Bitcoin community to do what they've been unable to do themselves would be the best of all worlds for them.
When people are attacked because of their race, they do tend to become racist as a self-defense mechanism.
6.851: Advanced Data Structures (2021)
Not sure about that. If you’re competing with an adversary in the cybersecurity space, it’s likely that you’ll go quite far to win. It’s a matter of national security after all, plus it is strictly legal soon to start your activities and slow down the ex-post checks and balances, do you really expect these hackers to self-regulate based on some kind of personal value system, and resist any challenge to these values from colleagues, managers or indeed your adversaries?

Unlikely, plus there have been plenty of reasons to think otherwise. Just look at how the ministries are treating WOB/FOIA requests, frustrating the process, breaking every regulatory deadline and very willing to pay the silly fines for always being way late with taxpayer money. It’s a joke.

Besides, we have the toeslagenschandaal showing how civil servants are completely willing to screw over tens of thousands of civilians, driving people to divorces, bankruptcies, suicides, kids to foster homes etc. We NEED checks and balances, desperately so, also in the Netherlands. God knows what happens when we don’t. NL is relatively good, but it’s all relative, at the end of the day it’s a bunch of humans that will fuck up without good governance.
On the other hand, the government moves slowly.

I argue that, since mining is done in the US, mining is clearly providing more value than the electricity used, since it continues.

The power use is just an excuse.

Of course, the price of electricity should reflect its externalities (i.e. greenhouse gas emissions). That way, the market could find a better solution. But the fossil lobby has got deep pockets.
> Can anyone explain what is the usual expalnation for what happens when two entangled particles are measured?

In the most extreme case of entanglement, the two systems cannot be described separately, but only by some coupled state. I.e., if you have two particles that can be spin up or spin down, you either find them both spin up, or both spin down as an example. That means, if you measure the spin of particle 1 you already know the spin of particle 2. We interpret this as the measurement affecting the other particle instantaneously even though they may be spatially separated. More generally, entanglement just means that there is an extremely strong correlation between the two systems.

> That is, if one of the particles is measured, and the other is not, what happens to the second one? Is there some time where the second particle is still entangled to the first one or is it going to be entangled until measured?

There is immediately no longer any entanglement after one of the particles is measured. If you measure the same observable again you will get the same result, and if you measure an observable incompatible to that observable on one particle you will not affect the other particle.
As I already said, the rich own businesses and those businesses won't sit still and pay carbon taxes if they can avoid them.
Then they make modules using modules and others use their modules to make modules too! Each module has little snippets copied from stack overflow because you inevitably have to have code that does things eventually.