skysight-inc/HackerNews huggingface dataset:
I've been rebuilding my command line YT client based on mpv, fzf, and yt-dlp (compatible with youtube-dl in all the ways that matter). Here's my search command:

ytsearch
========
#! /bin/bash

nresults=$1; shift
query="$@"

yt-dlp -j ytsearch${nresults}:"${query// /+}"

This will give back my results as JSON, which I can save to a file or pipe to `ytplaylist`:

ytplaylist
==========
#! /bin/bash

jq -r '"\(.upload_date) \(.id) \(.duration)\t\(.title)"' "$@" \
| sort | uniq \
| fzf --bind "enter:execute(ytplay {+2})"

Note that, because of the layout of the lines, records get sorted based first on date.

Streaming is done via mpv:

ytplay
======
#! /bin/bash

id=$1; shift
mpv "ytdl://$id" --ytdl-format='best[height<=720]' "$@"

Finally, since I often don't care about saving results, wanting instead to just view the playlist,

yt
==
ytsearch "$@" | ytplaylist

So, if I want to search for videos on butchering cows, I might do

$ yt 5 butcher cow

as a preliminary to make sure I'm getting the sorts of results I want, then do

$ yt 50 butcher cow

and get myself a beer. I could also save the results

$ ytsearch 50 butcher cow > deadbeef.json

and view the results at my leisure with

$ ytplaylist deadbeef.json

`deadbeef.json` will have extensive metadata for each video found, including a channel URL. Suppose with a bit of jq I find the URL for a really good channel; I can then

$ yt-dlp -j $CHANNEL_URL > cool-channel.json

to get a playlist for the entire channel, then operate on it like the results coming back from `ytsearch`.

Happy Friday.
Musicality in human vocal communication: an evolutionary perspective
This is the downright civilized version of what happens in the financial wild west. SBF will likely keep possession of his entrails and his head.
Because financial fraud isn’t a victimless crime.
I do not see any need in my life for the combination of high finance and decentralization. Centralized and highly regulated high finance is bad enough, and already something I try to avoid except when absolutely necessary. My economic life is highly decentralized, but with extremely high trust and very little financialization, so no need for what crypto people mean when they say "decentralization". DeFi, in my life, means the neighbor down the street leaves a you-owe-me note when she drops off eggs, a debt instrument that I can settle using any number of currencies recognized by the local economy; I most often opt to pay in HomeBrewCoin.

> I think the BTC whitepaper is a brilliant example of human ingenuity

I largely have the same problem as hinkley (sibling comment): I had seen most or all of these ideas prior to the emergence of BTC. I first countered Merkle trees... gosh, forever ago. Got really into cryptography in the 90s. Etc. The idea of creating a currency backed by PoW didn't seem ingenious; it seemed like a particularly silly application of otherwise quite useful technologies. AFAICT it still is mostly useless, except that it made some people very wealthy.

Anyways, I'll go back to yelling at kids to stop picking my tulips.
Note that the sentence continued to describe common open source libraries. Rust code may or may not be more complicated than the core Java language but Java as practiced by many people has lots of heavyweight dependencies with various patterns and conventions you have to understand to use them correctly. It's not a linear relationship but the more code you're running the more likely it is that you have something unsafe.

That's also why I mentioned culture: for various reasons, a lot of Java programmers sought ways to make tons of behaviour configurable which also means that there's both plenty of scope for log4j-style mistakes and lots of optional behaviours which might be exploitable even if few people use them. Rust's culture tends not to encourage that kind of thing as much so even though certain types of errors are possible in any language they're not equally common.
More importantly the heads of users and advertisers. I'm taking bets on whether it gets re-instated within a week:)
Deep Learning Machines Are Holographic Memories (2016)
You don’t need the tools at all. If everyone is at (roughly) the same level of decision making ability as the post implies then it follows that disallowing certain decisions (like the price of rent) will always be suboptimal.

This is just pure and simple logic.

What ‘successes’ rent control had are hyped to an abnormal extent, since obviously those with rent controlled apartments are most keen on keeping them, and often they are not the ‘poor’. Again the poor are used here as an excuse for upper middle class bad behavior, locking people out of the city.

Turnover in a city is a good thing btw, not a bad one. But cities do seem to design themselves on keeping people out.
I have not found this to be the case in my couple of years since I moved to Apple and would never have guessed Google was better at some point.

Google maps had been a pain point coming from a pretty rural area, Apple does not have this problem.
Gidget seems a bit more of a game with a goal for your program, while Pickcode is meant to allow kids to be creative and make their own projects once they’re guided through the basics
It's prob the reason the average Joe doesn't look at inflation - because its presented in the worst way possible.

I'm not trying to be the best investor or anything like that - but knowing the basic inflation trend I think would be useful to a large % of the population.
Simple: there's no way to do this transaction - at least not scalably. Are you implying that BTC can somehow solve this?
Nervousness and rational fear =\= generalized anxiety disorder.
Zua?
The link as I find it is to a thread moderately excoriating scientists for remaining silent while somewhat-implicated researchers and journals practiced something of a coverup in favor of a natural origins hypothesis.

The post title here could suggest that any such speech is cancerous. Alternately, it could suggest that the scientific community has rendered itself a ripe host for dark conscience based upon some collective rot.
As per the discussion, it looks like Android has moved from using Arimo for “Arial” to using Roboto for “Arial”, which has different metrics. Point being, here in 2022, if one wants a font to preserve metrics across platforms, one needs to provide the fonts as relatively large .woff/.woff2 files. There is no longer a universal font stack out there.
It was Jung, I believe.
It seems a bad idea to me to fly to a country with sparse protections after losing a bunch of sketchy people's money. Prison > Murder
In the original context, the watermelon thing was a genius bit of mockery of late night TV commercials. By the time he got on HBO the whole act was something of a mockery of itself... but still with some joy, for a couple of years, before it got a little meaner and less funny.

RIP, dude. Thanks for all the laughs.
Anxiety ISN'T a normal emotion, but my brain is physically and physiologically broken to produce irrational anxiety for perfectly normal and expected situations, and puts me in fight or flight mode for the most benign things.

But I take a low dose of lexipro. Now I have normal and controllable responses to stressful situations and am NORMAL.

Your characterization of this as essentially drugging yourself to forget anxiety is disgusting, inflammatory, and beyond inaccurate, and what's more is that people pushing such a stupid and unreasonable take are a HUGE hindrance to people seeking care. I used to be afraid that drugs would "make me a different person" but no, in the same way a person with diabetes using supplemental insulin isn't "changing who they are", my brain is broken, and this medication can help to patch the hole.

SSRIs aren't freakin benzos. CBD isn't a hallucinogen. Go reevaluate some things.
The reason the Tomcat filled memory is that for the longest time Java would only run GCs if you were actually running out of memory. The assumption was, if there's RAM there doing nothing then why would you waste CPU and electricity on cleaning up the heap. If you needed that RAM for something else, OK, tell the JVM there's a cap on how much it can use. It'll then do enough GC work to use that much (ish).

The problem is, that wasn't really well advertised or understood, so people would see a Java program using lots of memory and assume that this is how much it really required. The elasticity wasn't apparent. These days the JVM can kick off background collections from time to time to reduce memory usage if the app is idle. However it still won't aggressively collect if the app is running because, again, if you haven't capped it then it figures that it's better to serve requests than do lots of "pointless" GC work.
Not completely related, but here a mockumentary movie about Russians visiting Moon in ~1910-1920s (I guess)

https://www.youtube.com/watch?v=ljKPnQNp_kA

It is beautiful even if you choose any random moment in the middle.
We haven't had an honest president since Carter, and we haven't had a good president since Eisenhower. The math and process of our U.S. electoral system guarantees poor results.
I don't see why crypto is incompatible with regulation and institutions. Crypto is a unit of account, not some magical lawless thing that's doomed to never have a regulation written about it. In fact, places like New York already have pretty strict regulations requiring specific licenses for crypto-related businesses.

Crypto crises like these are in general due to regulation not having caught up yet, not because companies that involve crypto are inherently un-regulatable. Crypto is speed-running banking regulation over again. It's an ugly process, but the end result will be crypto institutions that are strictly regulated like banks (and/or existing banks will start to handle crypto just like they do any other foreign currency balance).

As for the current state of things, FTX is (was) a Bahamas company not subject to the financial oversight of the general western world. The public would generally hesitate to wire large amounts of money off to some company in the Bahamas, but when it's crypto, people don't think twice about it for some reason. After the FTX blow-up, perhaps more people will. It's hard to prevent people from wiring money off to a company in some other country that has much looser financial regulations, but that's not a crypto problem, it's a financial education problem.
Why NextJS for this?
> massive failures and disappointments.

Compared to whom and what?

What was the standard to which you decided they should be measured against that led to your conclusion?
hARvaRd sTuDY
The part where he was lending out deposits to make big bets looks very problematic, and hopefully illegal.

The CEO described how a feasible 'pyramid' could work with Levine on Bloomberg and it looks like he was doing just that.

This is basically a smart kid breaking all the rules, doing mostly what he was allowed to do legally with all of the misrepresentation and hyper - plus a little bit of illegal stuff which is all you need along with the massive leverage that comes along with it.

But I would say aside from his shenanigans - this is a crypto problem. At the base of the pyramid was an 'asset worth nothing' well ... of of crypto is essentially that.
Eli Lilly Stock Dives After Fake Twitter Account Promises Free Insulin
Affinity Apps V2 – What's New?
That works for a while - when it's an obscure new thing that the government doesn't know to look for. Afterwards, it becomes a public unchangeable ledger of the entire network of illegal trading.
> don't we need to get into evaluating future earnings?

Yes, many flow leverage ratios look at this, e.g. interest to Ebit.
https://news.ycombinator.com/item?id=27907051

TLDR CCS wanted to be backwards compatible, while Tesla planned fast charging to be first class with their standard. At the time, no one was doing fast charging at Supercharger currents (150kw). CCS was bolted on to J1772.
The economy arguments always annoyed me about communism. No country would have an easy time avoiding economic collapse with a US and all her allies global embargo going on for decades. Plus we probably would not have won WWII so quickly if we had not resorted to using a planned economy to turn the nation from an economically depressed state still in the great depression into a global superpower.
Programming is a type work that invites distraction. A lot of Googling, so much advice exist on Reddit/HN which are filled with distractions, countless rabbit holes in every language and libraries, fractions of free time during compilation, etc.

I can easily read, play sports, or practice instrument for a full hours without a single moment of interruption, but it's much more difficult for programming.

To mitigate that, I've employed the following tactics:

1. A browser plugin called Intention, which gently reminds me when I visit one of the sites. I love that it is a gentle reminder, because sometimes the answer I seek is on HN/Reddit. It just makes sure that I'm browsing with deliberation.

2. I have a list of stuff (relevant to the current project) to do always ready by my side. When compilation takes place, rather than context-switching to an entirely different activity, I deal with those small tasks that are still in the same project. If there's nothing else to do, I start writing notes about my current work. I find that keeping such a logbook very helpful, both in maintaining concentration, and in organizing my thoughts. Regardless of what project I'm working on, there's almost always something to work on or think about, anyway.

3. I have dedicated news-reading time where I browse my RSS feeds and HN, and stuff. It reassures my lizard brain that I'm not "missing anything". (And I'm genuinely interested in reading news, and HN). Avoid drama.

4. Physical exercise intermittently. I do a five-minute HIIT every half an hour or so. The adrenaline keeps me mentally refreshed.

5. Ultimately, it's better if you are into the thing you are working on. If you are just not interested at all, it's very difficult to force yourself to concentrate.
This isn't about passing a faang interview as much as joining a startup which gets acquired, and you hang out while your shares vest (bad idea, unless you've got retirement money)

That's a matter of luck rather than timing, although being in a VC-hub really helps.
That’s the default behavior; perhaps you have customized something that changed it.
Well I mean the US is the biggest and richest rich country by a large margin. And has maintained a continuously functioning financial system for centuries now (though I do wish they would let it crash and be replaced sometimes when it so-richly deserved to). So it is kinda hardest to implement here, especially with every state having their own banking rules.

The banks are adding some instant money transfer services in the last few years though.
> Were the Effective Altruism intimations genuine?

SBF was just following the EA maxim: "take advantage of strategies other people are biased against using"
The sequence of events are linked. NeXT was hugely successful as it became the foundation of OS X and without it he'd never have returned. The individual product lines were a multiple amounts of luck too (Mac, iPod, iPhone, etc).
>merging a sequence of PRs from same branch is bad if you squash

For me in this scenario, merging `main` w/ squash commit back into PR2 branch after PR1 gets merged works here.

As an aside — if code review is the bottleneck, it's probably not a huge investment to do some git fenangling to get the above to merge cleanly.

But I don't see how this use case is a dealbreaker or even specific to squash...? Won't you have to incorporate/merge other devs' changes to `main` back into PR2 anyhow, regardless of whether PR1 was a squash, rebase, or full history?
Are we sure there isn't a dark forest thingy going on here?

Benjamin: You work in TV?

Mimi: No, but I watch a lot.

Benjamin: Of course you do. You're creative.

Noah: She came up with the name Noah's Arcade.

Mimi: I just opened my mouth and out it came.

Noah: You're a lucky man, Mr Vanderhoff.

- from Wayne's World, 1992

**

Mr. and Mrs. Vanderhoff were none the wiser. Even Cassandra didn't catch on until the end of the movie when she felt the similarity between Benjamin's unsolicited shoulder rub and the sensation of a literal snake slithering on her skin.

In conclusion, humans can be sneaky creatures. Especially smart ones.

Edit: clarification
Rural is a huge issue and Apple surprisingly seems to actually respond and fix issues - I reported one once and it was fixed the next time I bothered to check, so good on them.

Google still routes you to the middle of a cornfield there, and I don't know how to get that fixed.
I think most of the interview content still exists in its spiritual successor here:

https://interviewfor.red
100% my experience too. GC in Nim is a rounding error at worst and is often statically elided, anyway. Performance is almost entirely about memory access patterns and you have the same access to this as C.

In other words, performance in Nim is entirely down to the algorithm used, which is a nice place to be.
They're the people I'm most familiar with, though they're not the only ones who do it. It seems to be a trait of really smart people in general - including me. I try to be on my guard to know when I've left my wheelhouse but I still sometimes fall victim to believing I have expertise that I don't.
this is literally the financial equivalent of "if it fits your macros"
A countryman between two lawyers is like a fish between two cats.

Benjamin Franklin (with a hint of Einstein) :p
I definitely think it's cool that they have some pretty freaking cheap frames. That said, I didn't pay more than $100 for my frame.

They didn't have that many $100+ glasses at the store. I think the frames that I bought for like $60 (didn't even hit the max, so they were free). Honestly, think they're nicer than most of the frames there.

You can buy oakleys for like $40-70. Even the sale ones tend to look better than the ones on zenni. Some of the nicer zenni's are $40+ anyway.

Of course it is really cool to see decent frames for $20 or less. I'm going to keep it in mind in the future.
Yes, true, I glossed over those benefits of reading more.

I guess my conjecture is that whatever advice you give people to "succeed in business", the monetary rewards for following it will be drastically different if 5% of people follow it vs 95%.

My hunch is that markets adjust to whatever the baseline level of competency is, and I don't see how that's different if there's a lot more small businesses. To succeed in fitness and health you must compete with yourself; to succeed in business you must compete with others.
poll() and EOF (2010)
Similar experiences with Go vs Java and Python. One thing that has stuck with me to this day was how quickly I was able to write a proxy to distribute keys consistently across a set of Redis servers to break out of a bottleneck in an internal processing pipeline.
This is very nice - congratulations! I like that you are thinking about both the product and the content, it really shows your broader vision.

I taught an after school program that started with Scratch and Greenfoot, and I understand some of the problems you describe when starting with block coding.
> Calling them 'buddy buddy' because he doesn't believe the maximalist Ukraine position is the right one is a bit ridiculous?

What's that position? Defending themselves from agression by a much larger nuclear power?
In AWS, mostly.

https://www.turningcloud.com/blog/apple-uses-aws
I came to the comments to check if that was correct - I was following that definition and calculated 4:1 in my head, too.

Later he uses the example of purchasing $2000 worth of ($10) stock by paying just $1000 and having the other thousand lent by the brokerage.

As per his definition, $2000 in stocks (assets) minus the $1000 loan (liability) equals $1000 in equity. Then if leverage = equity/liability, in this case it turns out to be 1:1
Recent and related:

NSA guidance on how to protect against software memory safety issues [pdf] - https://news.ycombinator.com/item?id=33553668 - Nov 2022 (90 comments)
There are valid reasons why discussions of crypto turn out so very bad: https://news.ycombinator.com/item?id=33117833
Not debating your other concerns but for mental health isn't self reporting really the only option?
Great find!

Sounds like this term became popular in the 1970s. That was a while ago :)
The industry does not have a great reputation. You will make less money and in worse working conditions, likely with more travel. The machines are cool.

Automation Direct has some starter PLCs that are in the hundreds of dollars, and they have good enough reputations (though you will find shops that turn up their nose at AD). That'll be enough to learn ladder logic. And you can buy servos or steppers and learn motion control as well.

It'll be difficult to get a job without experience at first, but talent is short and you might be able to convince someone to do entry-level work with the material you taught yourself. And then it gets easier.

But you might start missing your old software engineering job.
"> can we STOP the blind short-term speculation on the promise of extreme wealth"

Then there is nothing left to do.

"I can clearly see the revolutionary potential of blockchain."

Started in 2009. 13 years now. How much longer do we need to see the revolutionary potential ? Isn't it obvious that there is no real practical usage ?
CCS was backwards compatible with existing standards, and added stuff to it.

It would have been like USB-C being glued to the top of an old SCSI connector.

Tesla controlled both ends (literally) on theirs and so they could optimize for size/etc.
That’s the impression I got as well, since it never mentions Emacs at all and then describes exactly how Emacs works.
Normally when you say "frames" you mean lenses excluded.
> Because the world is kind of shit right now, and that could be the reason people don't procreate

It's actually the opposite. As people become better off, they have fewer children, because the near certainty that those children will survive.

In developed and egalitarian countries, women frequently delay having children until it is too late. Particularly the very educated.
That's just a bit of a funny thing to do with a homeowner, no?
In 2008 depositors got their money back. In the 19th century they lost it.
I don't see anything here indicating that other manufacturers will start using the Tesla connector. Unfortunately we're already well into the format war with two standards: Tesla and Everyone Else (CCS).

Honestly this feels more like a desperate attempt by Tesla to push back on the trend towards CCS instead of a substantive announcement
FYI Fira Code is one example of a very popular programming font that supports ligatures (67k stars on GitHub) [1]. But totally get the frustration of seeing ligatures on the web and not understanding what was going on!

[1] https://github.com/tonsky/FiraCode
This is what I have in my ~/.vimrc:

" https://vi.stackexchange.com/questions/6/how-can-i-use-the-undofile
if !isdirectory($HOME."/.vim")
call mkdir($HOME."/.vim", "", 0770)
endif
if !isdirectory($HOME."/.vim/undo-dir")
call mkdir($HOME."/.vim/undo-dir", "", 0700)
endif
set undodir=~/.vim/undo-dir
set undofile
At $2 or less per gram it would be much cheaper than plenty of pharma products.
https://www.crescentcanna.com/product/cbd-isolate-powder/
Deleting a virtual card is tremendously easier than revoking my primary credit card number and updating all the vendors that are using it. It's quite easy to use a virtual card once and then delete it immediately. Furthermore, I'm not worried about a virtual card being exposed to unauthorized charges, because (unlike in cryptocurrency-land) chargebacks exist.
2008 had a lot of things the 1800s didn't, like the Fed and FDIC, both of which were very busy.
See `:h undo-persistance` for that feature. In particular you want to do `set undofile` in your vim config