skysight-inc/HackerNews huggingface dataset:
At least the official version that is currently in Debian sid/unstable is having problems downloading vtt:

apt-cache policy youtube-dl
youtube-dl:
Installed: 2021.01.08-1
Candidate: 2021.02.04.1-1

Combining youtube-dl with vtt2txt.py[1] would usually give me a transcript, however this no longer works for me (for now):

$> youtube-dl --skip-download --convert-subs vtt https://www.youtube.com/watch?v=iGLzWdT7vGc

$> find . -name "*.vtt" -exec python vtt2text.py {} \;

[1] https://gist.github.com/glasslion/b2fcad16bc8a9630dbd7a945ab...
> I think a lot of his ideas can be applied to software too

Reportedly his book A Pattern Language inspired the GoF software patterns book.
I didn't notice that the word "algorithm" is now buzzy. OMFG.
Not convinced this is a good analogy.

If we could have gone to the moon at a fraction of the cost, but people had still insisted on doing it the expensive way, just because the expensive approach came first, that would be a better analogy.
Great resource. Most tutorials on SSH tunnels are strangely incomplete. This one seems to cover all the important points, and does so in an approachable way.
This is useful. Every so often I see YouTube videos which seem appealing but are egregiously long.

I'm talking about the "Guy talks at camera" videos which often exceed 40 minutes.

Jeff Geerling or Contrapoints are huge exceptions to this because their content is engaging, well thought out and not "ranty" like the videos I'm talking about.

Maybe I have a low attention span, but at some point I'm going to be incredibly sick of this monologuing, just distill this. Please.
It is not, because 1) it is quite a small part of total electricity consumption (around 1/30 in U.S.), and 2) it is unlikely to be cut down, due to more and more people on the planet and getting higher standard of living.

Important actions are those that are realistic and have an impact. For example, cancelling coal/gas power plants, building more CO2-free power plants, getting rid of combustion motors in naval transport, etc. Everybody can have an AC if we have CO2-free electric energy production.
Classic - assuming anyone who doesn't hold BTC is an idiot.

Followed by a 'Have fun staying poor' to stir some social anxiety and FOMO.

Unfortunately a lot of people keep falling for such statements and the price keeps going up - I have friends buying loads of dogecoin over the past week who told me they have literally no idea what crypto or doge is - but they know for sure that the prices are going to go up over the next month so they don't really care.
I would agree to your idea. Ethernum 2.0 is doing its work towards PoS, althought that is still in the future (maybe ~1.5 yrs). In the long run, Ethernum might become environmental friendly.
"Here's a paper whose coauthors belong to the Bitcoin team discussing efficient confidential transactions that were eventually implemented in Monero (not by the Bitcoin team)."

The knowledge held by the Bitcoin team wouldn't disappear if Bitcoin was shut down. They could still contribute to other crypto projects.
I use a rainbow parentheses addon for my editor. Makes stuff readable even when on a single line.
Bitcoin is actually a (if not the) great accelerator for cheap renewable energy (hydro, solar, etc) by being a market incentive. Even helps reducing methane emissions flaring from oil fields by putting that flaring to productive use (hashing) instead of releasing it into atmosphere, see https://gam.ai/ for instance.
Readability and maintainability are pretty much the only reasons why I wouldn't recommend Lisp for everything. Other than that, Common Lisp has had practically all features you could desire for decades already.

It's not a problem with the syntax, though. The problem is that Lisp is so powerful that programmers can and will create very high level abstractions, the language and conventions encourage it, but a side effect of this is that every part of a program has its own DSL. If in addition there is not good enough documentation or a programmer has a knack for obscure elegance over KISS, then this becomes problematic.

In a nutshell, it's perfectly possible to write clean and easy to read Lisp but not many people do it.

Edit: I forgot to say that the code from Mezzano looks like a positive example of readable and clear-cut Lisp code.
"The trouble with the Internet is that you never know whether a quotation is correct or not." (Leonardo da Vinci)
Harvard astronomer argues that alien vessel paid us a visit
The javascript hate, combined with the elitist / superior programmer attitude, is the lamest thing I ever witnessed in this industry, especially on HN.

Who cares about the web, right?

While people keep crying about how bad JS is, I (and many others) use it for what it is, a tool with his flaws but also its advantages. I wrote Rust, Python, PHP, a bit of C and honestly JS is still my favourite language to write together with rust.

People are lame.
Actually, chrome added support for `hypthen: auto` not so long ago!
See, this is where the whole argument falls bunks and your ignorance becomes apparent - You believe, wrongly, that the indian constitution only permits the government to "interfere and manage" the affairs of only the majority Hindu religion.

That is a false propaganda spread by the right-wing because the indian constitution also permits the government to oversees the administration of even the minority religious institutes by framing laws and regulations. And they do so. (Some states even have a whole ministry and their own state laws added to it).

E.g:

- Shiromani Gurdwara Parbandhak Committee - This organisation is governed by the Chief Minister of Punjab (an elected politician) and is entrusted with the security and maintenance of all Gurudwaras and religious places of importance of the Sikhs. Delhi Sikh Gurdwaras Act, 1971 defines how Sikh's religious institutes can be administered in the Delhi union territory.

- Waqf Act (1954 and 1995) and the Central Waqf Council of India: The religious and charitable institutions of muslims are administered by Waqfs (Trusts). The Central Waqf Council is headed by a Union Minister, along with 20 other members appointed by the Government of India. They oversee the administration of all the musim waqfs in India, creating the rules and guidelines and advising the state bodies. (By the way, there are now 30 government run Waqf boards in 28 states and other UTs in India).

- Indian Church Act, 1927 - Till it was repealed in 1960, it dictated the rules on administration of Churches. No new law replaced it. One of the reason being that that Christians forms less than 3% of the population and they often choose to register their movable and immovable properties under the the Societies Registration Act, and not under the Religious Endowment Act or The Charitable and Religious Trust Act, 1920. Thus, many of them come under the more stringent NGO laws in India, voluntary, and are managed more professionally. (After a recent scandal on misuse of church funds and properties in Kerala, the Kerala government plans to introduce a law to oversee their activities more stringently - https://www.thenewsminute.com/article/kerala-draft-bill-regu... ).

So understand clearly that such arguments and propaganda of the right-wing that only Hindu religious institutes are governed by the Government of India is an absolute lie. Their real anger is with the fact that they cannot take-over the Temples and manage and misuse it for their political purposes. It has nothing to do with "secularism".

In fact, with The Religious Institutions (Prevention of Misuse) Act, 1988 the government even clearly defines what it considers to be illegal in any religious institute.

All the rest of your arguments that you believe and are just plain lies of the right-wing, without an iota of truth in them (some are facts that you have been misled into believing is wrong). I can point out the actual facts to you if you cite your sources for them.
True in some cases, but most people are not willing to eat to the point of suffering and will adjust to avoid this. I remember eating a 16” pizza once as a kid and lying in the car afterwards feeling sick, but I never did it again to that extent. Leaving ned a valuable lesson ... still love pizza though ... gluten-free pizza that is.

Food has a different purpose in your state than enjoyment and taste. Did you have siblings that stole your food as a kid? Any ideas why the compulsion to fill your stomach to that point?
A script to check which apps on your Mac don't support Arm64 from Command-line
A Bash script to check which apps on your Mac don't support Arm64 and are running under Rosetta2 from Command-line
Except everything people do with Bitcoin could be done just as well with a less obscenely wasteful coin.
> Bitcoin is an energy currency.

Not a currency, but a digital asset that wastes enormous amounts of energy.
Only recently (I guess 10 years) have we started seeing serious billions poured into this research. The battery tech is improving so fast we might see some serious breakthroughs in the next 10 years regarding materials used and energy density. It's really too soon to say something isn't possible in this landscape
What language does teach avoiding passing functions? C++ is typed, and passing a function just involves telling the compiler "yo, listen up, this parameter foo is a function taking two ints and returns a boolean. Let me know if I messed this up". Okay, actually it's " std::function<bool(int, int)> foo". The whole class of errors described on the article just disappeared.

Sometimes a dynamically typed language is the right tool for a job, but IMHO this mostly holds for auxiliary stuff. Typed languages are more effort during programming/learning, but the benefit is gigantic.

But maybe I'm just too biased because I'm usually involved with "is this fails, people may [literally] die".
Fairy Nuff.

I think we do know of plenty of anti-patterns (ie concrete monstrosities, lack of local walkable amenities) so urban planning is still a Good Thing. If done right.
A Visual Language for Digital Integration
I’m really disappointed with this narrative that natural fibres infused with chemicals are somehow still natural.

“Bamboo fibre” bowls made with plastic for a recent trend: Not just not biodegradable as the name suggests, but also not recyclable.

Like “vegan leather” (made from processed crude oil), these terms only seem to take us away from the products that we are actually looking for when something says “natural”.
I didn't say you need it, but it incentivized the development of those more efficient cryptocurrency technologies by providing a decentralized store of value in which the market could build trust in the interim period where proof-of-stake technologies were still being developed.

What I am saying is that perhaps proof-of-work coins actually bootstrapped proof-of-stake technologies, thus leading to more rapid development of cryptocurrency technology in general.
What Makes a Attractive to Women?
Yeah, I'm not a bit surprised, but in my view there's an even deer systemic reason and we need to fix it.

The overriding issue is that medicos, pharmacists and opioid drug manufacturers should know the dangers of opioids like the back of their hand. I'd even argue that such knowledge is almost a priori in the sense that the vast majority of medical professionals would have already known the essential details before they'd even entered training from the fact that it's common knowledge that opioids are very addictive and dangerous if not managed with considerable care.

As I see it, just about everyone knows the multiple reasons behind the decades-old war on drugs by just about every government anywhere on the planet. Even if the way this war was and is still being conducted is ineffective and counterproductive (which, incidentally, is my view), one would have had to have been Sleeping Beauty and have slept though the past 100 years not to know that narcotic opioids, heroin, morphine, etc. along with stimulants, cocaine, methamphetamine, etc. are at the center of this war. (When I was a kid, drugs were never an issue as fortunately we kids never came across any—not even pot! That's to say, with respect to knowledge about drugs, we kids were about as naïve as it gets, nevertheless, even as a nine or ten year old, I'd heard of heroin and morphine and was very well aware of their dangers!)

What I am saying is that the relationship between opioids and addiction is so well known—and that these facts are so central to medical and pharmacy training—that it's impossible for professionals not to know about such matters. Thus, the fact that everyone wasn't immediately up in arms and pointing to the problem and demanding that something be done about the problem is very strange indeed. I'd go so far as to say that it's a sociological phenomenon worthy of research. It's not just a matter of penalizing and disciplining the perpetrators but getting to the core of why it actually happened given that basic training, existing laws, dispensing protocols, FDA rules, FDA experience etc. any one of which should have been able to prevent the crisis but didn't.)

(In my opinion, the opioid crisis has a similar ring it to what happened at Boeing with the 737 Max where once the notion critical systems engineering and attention to safety details was paramount and inculcated deep within every level of the organization and its work culture but which in recent times vanished. Clearly, we have to get to the heart of the problem and understand it before we can rectify it.)
Union built for sure.
Bitcoin is the best bounty for clean fusion power.

Direct monetary incentives.
All of them. Presumably all of them lived on earth.
I think it's mostly CCP strategy to control as much cryptospace as possible, be it via exchanges or miners. I believe china is in the game of using any method to undermine the western hegemony in the world. This is not even controversial. I'm even willing to believe that the whole covid-19 crisis is leveraged by them for relative power gains. There's not much evidence for this, but that's what I would do.
I think the cryptomining rigs could eventually be claimed by the government to house a large general AI and destroy the crypto market in one swing. If I were the Chinese government I would at least entertain that idea. The fact that people don't care about crypto not being really decentralized makes me believe china would research such ploys.
They are growing their power in any domain they can get away with, this is one of them.

- south chinese sea islands

- HK annexation

- pressuring Taiwan and constructing infrastructure towards the island.

- hacking attacks

- tibet (making sure homeland security is maximal)

- the concentration camps with Uyghurs (making sure homeland security is maximal)

- the infrastructural projects in africa to gain access to resources

- the buying of as much european assets (like ports, factories, real estate) as possible.

- the state assisted development of large cyber start-ups/companies (jack ma didn't disappear for nothing)

- the state infiltration of big technology firms like huawei 5g and others.

It seems like a clear picture to me.

One of America's greatest strategical assets is the dollar being the world's reserve currency. It's basically a way to be able to print almost endless amounts of dollars without the punitive danger of inflation. Other countries will buy your excess money to make sure their reserves won't devalue.

If china wants hegemony, they would need to undermine this asset in a subtle way. If bitcoin becomes very mainstream and more stable, then this will become the new reserve currency. With the air of being unbiased. However, china controls many of the levers.

Just my three cents.
There's a big generational tech advantage, so we're seeing big depreciation on older EVS. I expect that trend to continue for at least a few more years. The 2017 Chevy Bolt for example will end up probably costing less than $10k here in two more years. That's pretty cheap.

You also have to keep in mind that the economies of scale for EVS are just ramping up. They're more expensive now brand new but it won't be long at all before they're priced competitively against gas cars at the dealer.

Also, a carbon tax will happen sooner or later. That will push people from all income levels towards electric vehicles.
If you spend the money to put up panels to fund your mining, you'll probably never make a profit from the mining.
Note that it still exposes the connection to all local processes, on both hosts (except network-restricted services or with non-typical host-local firewall rules), though it should be fine, if you're using semi-reasonable passwords.

SSH supports unix domain socket forwarding and even cross unix/ip forwarding with a syntax like:

ssh -L /path/to/sock:/path/to/sock
ssh -L /path/to/sock:localhost:5901
ssh -L 5091:/path/to/sock

Then you can have user-authenticated host and transit secure password-less VNC connections.

Unfortunately I haven't been able to convince tigervnc viewer to connect to a unix domain socket, so I don't have a fully scripted connection, but remmina and tigervnc server work fine.

Also, forwardings / connections fail if the socket already exists when the listening side starts up (often an unclosed leftover), so I rm them before starting the ssh connection / vnc server and it works reliably.
Haha, I was thinking this as well. But to their credit, they're doctors so presumably knew the patient wouldn't have an issue if the defib deactivated in that moment, and they were there in case anything bad happened. An implantable defib, for anyone who doesn't know, is more like a safety device in that it monitors and responds to events versus something like a pacemaker which needs to be on an responding at all times.
I don't think any technology will ever be adopted in a drastic switch, but I can definitely see it happening gradually. Consider some future cloud hosting provider that accepts payment in cryptocurrency (not necessarily Bitcoin) - someone building a SaaS product could charge customers in that currency, and take advantage of financial instruments that are much more difficult to implement with traditional banking (micropayments, smart contracts, etc).
I drove an 1983 Land Rover. The joke is that the other vehicle is your crumple zone, and I’m quite conscious that if I hit anything I will break my nose (again) on the steering wheel.
The FAA are the ones responsible for stopping shit like the 737Max fiasco. Yes, Boeing did it, and many people there deserve to go to prison, but the FAA is supposed to be the guardrail ensuring they can't get away with it in the first place. It was an objective failure, and it has eroded the trust in them - point in case, most other aviation regulators did their own checks on the 737 Max before allowing it back to service, which usually doesn't happen ( EASA trusts FAA's ratings and vice versa).
Last year it transacted more than a trillion dollars in transactions.

It's in the top 20 or so of world currencies, and it's still in its infancy (thus volatility etc).
How exactly someone can "withdraw resources from a dictatorship" using bitcoin?
React Chips
Why not just use proof of stake and get it of all the useless nonce-calculations?
Someone turns up at the website. Assume you’ve never seen them before. You need make up an id “acd” for them. You give them that Id by redirecting them from page to page - a -> c -> d. Now they have 3 icons in their cache. When they come back you need to identify them so you send them to all pages (abcdef). But they only request “b” “e” and “f”. They must have already had “a” “c” and “d” in their cache, so you know that is their id.

Now you know that this is the same person you saw a different time. What you decide to do with that information is another question, but the game here is identifying user between 2 different visits. That’s the fingerprinting attack.
We had to solve this problem for our TPU management system: https://www.tensorfork.com/tpus

The most sensible naming scheme for us was to distinguish them by index. But there were two important differences: TPUs have many sizes, which means some are larger than others; if you're using a v3-256, you're very likely the only researcher doing so. They are also distinguished by type; v3 is more powerful than v2. Finally, they are region-based; the less powerful v2's are in the US, whereas the v3 fleet is mainly EU based.

That led to the convention of tpu-v3-8-euw4a-1, tpu-v2-256-usc1a-0, and so on.

The "tpu-" prefix might seem redundant, but I find it's helpful in conversation. That's a personal preference though, and if I had to do it again I'd probably drop the tpu- prefix entirely.

I found this scheme was horrible for VMs though. TPUs are often used for specific training runs, and the scheme above is easily added to bash files / config scripts. But for VMs, you're often SSH'ing into them all the time.

Ultimately we started naming the VMs after the researchers who originally needed them. Our current primary training box is song.tensorfork.com, named after researcher songpeng who it was created for. So the SSH scheme was pleasant: song@song.tensorfork.com for him, shawn@song.tnesorfork.com for me, arfa@, aydao@, etc.

When arfa neded a VM, I simply named it arfa.

All other more complicated naming schemes failed with time. No one (including me) could remember long VM names, let alone ones with numbers in them.

The other scheme that persisted was to use anime characters, as emersion mentioned. Tensorfork itself runs off of vegeta, which is my personal Hetzner server. "goku" was one of our primary workhorses at one point, due to its large VM size.

Our final two VMs are named "test" and "nuck", which also seem to work quite well (much to my surprise). "Is test down?" is almost completely unambiguous. And it's easy to remember which one is which: "nuck" is in Canada, so therefore "test" is the one in europe.

A pattern emerges here: most of our VM names are short, four-letter identifiers: arfa, song, test, nuck, goku, with vegeta being the standout. All other conventions failed with time.
Yes it would solve the problem. Don't want to look like spam because I replied to a few other comments already but have a look at Cardano Ouroboros
Sure, but in that respect Bitcoin has been redundant for years.
EFI should probably be compared with its electronic counterpart in an electric car... not a carburator. The transmission should be compared with nothing because an electric car doesn't even need one even though Elon tried to put one in Teslas. Also, an electric motor is simpler then a combustion engine and usually is a lot more reliable.
Fungi in the gut prime immunity against infection
More legitimate than mining coins that'll be put in a wallet that ends up in a landfill.
> The enormous costs to build super talls would go much further in myriad other ways, even just by making a few tall or many regular size buildings.

Note that these supertalls only exist in the first place because it's artificially difficult to build regular-sized buildings in Manhattan. It's very unlikely anybody would have bothered building anything in this specific form if not for the onerous zoning codes the developers were skirting when they designed them.

More info: https://www.bloomberg.com/news/articles/2019-06-11/gaming-ne...
You are exactly correct, everyone who ignores does so at their own cost.

Close to one _trillion_ in foregone profits at the moment.

You think this is a fad?
Ah yea, handy to take a gander at the C++ subreddit. Thanks!
Yes, it does solve it. It produces the expected output (`a` should occur twice)

Here's solution that doesn't use itertools.groupby()
https://docs.python.org/3/library/itertools.html?highlight=i...
:

result = []
prev, count = None, 0
for c in s+"\0": # note: assuming "\0" can't be in `s`
if c != prev: # starting new sequence
if count: # save count for old sequence
result.append((prev, count))
prev, count = c, 1 # reset count
else: # continuation of old sequence
count += 1