skysight-inc/HackerNews huggingface dataset:
I wrote some Emacs Lisp functions that I use a lot:

1. Toggle how function arguments are indented: either all on the same line, or all on separate lines.

2. Convert arbitrary piece of text into a literal string (i.e. with quotes).

3. Extension to Magit that calls git-grep.

4. Dired function that calls Ghostscript on multiple selected PDFs to combine them into a single PDF.

5. Magit extensions for internal Git commands added by the company I work for (they are all nonsense, but I have to deal with them and it's better to keep this nonsense to a minimum).

----

Stuff I don't use anymore, but used to be useful:

1. Govmomy Emacs Lisp wrapper for select functions that rendered information as Org tables (I don't need to work with VMWare anymore). Not sure if this counts as small, but it wasn't more than some 100-200 lines.

2. Emacs command to incrementally show duplicated lines.
Why is the author talking about null in the intro, which implied using pointers and thus boxed objects and then running benchmarks on integers? That makes no sense to me.
https://blog.waleson.com/2022/03/the-worlds-first-cowboy-key...

Source code here: https://github.com/jtwaleson/cowboy-bike-remote-ble

I’m currently working on finalizing the PCB version, the first one had some flaws so the battery drained really quickly.
Vuhledar, Why Russia Repeats the Same Mistakes
Goodness, they should be careful or someone else might buy a 200 billion dollar disaster with that same coin.
> Any accountholder at SVB is a debitor to SVB.

One with deposits in the bank is a creditor. One with a loan from the bank is a debtor/debitor.
A few minutes thought should reveal multiple issues with this idea.
It looks like Samsung is cheating on 'space zoom' moon photos – AppleInsider
The public messaging on Friday from SVB UK was that they were entirely ring-fenced, all is well etc. But behind the scenes they were going to the Bank of England asking for emergency funding. So by Saturday the wheels were turning on the insolvency processes. I guess the US media was focussed on the US side of things, in the UK there has been a lot of noise about lots of UK startups having money tied up in SVB UK and how things need to be done to sort the situation.
"Magic" is a superstitious programming term.

Python libs can and do use dunder method overrides, operator overloading, and so on. If it was common to rewrite the AST, or have other action-at-a-distance, I'd give this some credit, but those are still century old PL features, and well specified mechanisms, not something one can't reason about.

Python I find to be (and I'd say most find it to be, hence its popularity on fields like Physics and such, even by non-programmers by trade) one of the easiest languages to read programs in and understand their intent.

Which exacly library, say of the 100 most commonly used ones on Pypi to keep this focused, is particularly problematic?
Ok, so given the recent announcements by the fed, treasury, and fdic i would just point out everything I said was right.
Safer hands than HBOS
Always wanted to try it but the biggest barrier to me is that if I were to pick this up, it would not be available on all machines where as vi is.
I found it much easier to install a list of twenty plugins myself.

The problem I had with these projects is that in order to use them, you first have to read the plugin documentation before understanding how to use it.

I used these projects to check what plugins they were using, and then I would go to the plugin Github and check what is does. Then if I like it, I would copy it inside.
The Great Illyrian Revolt
Check out project Oberon by Niklaus Wirth. It involves building a compiler from scratch for an ISA designed from scratch and building an OS for it. You can even put the processor onto an FPGA and run the code you compiled on physical hardware you designed.
From video, it appears to be what you are saying.
That's what the history of bank runs says and why the FDIC was created in the first place.
Defunding of old people's homes (and lack of staff) seems to be a problem in my here in FInland as well. Elders who aren't in good enough condition to live alone end up just flooding ER rooms. Nurses visiting at home may be cheaper, but it's not a working solution for everyone.
F = M * A

Raise the mass of the arrow and it'll hit with more force. There's a sweet spot for piercing heavy cloth armor. If the arrows are too light, they'll bounce right off.
> BoE used special resolution powers to “Transfer to a Private Sector Purchaser”ie “without need for consent of the failed bank, or its shareholders, customers or counterparties”…

> ALSO…Forcing UK arm to subsidiarise with separate assets in August (when it reached £100m insured deposits) essentially frozen in UK by authorities and then able to be handed to HSBC (ie avoiding parent company/ Fed swiping them back to US) seems impressive UK regulatory success

https://twitter.com/faisalislam/status/1635184963414024195
> Chinese-style surveillance tech, unironically

Yeah, now that you mention it the one thing at which AI is really good at is image recognition.

There was this drone video [1] of a busy intersection posted on my country's sub-reddit recently, and from second 0:11 or so the way that the software is able to "recognise" and assign an unique ID to each and every car from that intersection is very Minority Report-y. What's scarier is that this looks like consumer-level stuff, not some fancy state-run surveillance thingie.

I assume the drone is Chinese-made, most probably also the software that made that identification possible.

[1] https://old.reddit.com/r/Romania/comments/11p9o7w/intersec%C...
> suggesting a selective pressure towards surviving starvation in our evolutionary past

our brains use a very large share of our total energy; so that adaptation may just be a requirement of additional brain energy use and not a adaptation particularly for starvation levels higher than other animals.
That’s correct, but they can also lend at net present value of the HTM value using it as collateral.
I think the logos it generates are fun to look at, and probably useful as inspiration or even as a final logo for some smaller projects.

I find the writing style a little bit annoying, like reading 3:30am discord message from one of the people I mentor, but I understand it was written as they developed the product? Maybe some editing would have been nice. Maybe using a thesaurus to find some other swearwords to keep it fresh (I'm only half joking).

There is something in there which definitely confirms some beliefs I personally had about people who make such kinds of "startup-y" closed source products. Consider the following quotes from the article:

> I’m trying to convert a curl I found into an Axios function

> some tweaking using chatGTP

> hour spent trying to convert TWO LINES OF PYTHON INTO NODE.JS [...] GTP chat can’t even do it

> spent 1 hour doing research and using GTP to convert the Python code [...] into node

- Commit messages such as "aaazaez" and "aaa"

> I even was able to fully set up AWS S3 using ChatGTP

> sold the app for $65,000

The next few paragraphs may be a little harsh, but I can't help it.

The most surprising part to me was the absolute lack of explanation or even basic excitement about the inner workings of the AI, or any of the technical details in general. To me, this demonstrates a lack of understanding, or even interest, in the core tech of their product. Being able to explain something is generally the number one sign someone understands what they're doing, and this article does nothing but brag and admit to simply feeding everything to ChatGPT.

It confirms my belief that some of these startup-y products, with their shiny UIs, are likely complete and utter horseshit in terms of testability, readability, and likely only work at all because of very lenient tooling and a lick of luck.

There are a lot of things one could have spent time on during the development of such a product, but really, it shouldn't be "converting python to node" for multiple hours, especially when the core AI part took ~5 hours. It's easy to say when you, like me, have never launched a product that made 65k, but it also is not something you (the possibly unqualified reader) should base your workflow off of.

It's very impressive that it worked for them, and that they were able to capitalize on it, and I think 65k can be a load of money depending on where you live. Don't let this cloud your judgement in thinking you can build a high quality app that will actually last more than one major dependency update into the future.

Whoever bought it for 65k either 1) has the money to throw away, or 2) got shafted.
Or just chasing some girls. Too many jokes about catholic priests having good time with their housemaids.

Young cleric visits a seasoned priest. After the visit, priest can't find his utensils. Thus he mails him:

- I don't want to claim that you stole precious utensils. But after your visit I couldn't find them anymore!

The young cleric replies:

- I don't want to claim that you sleep with your housemaid. But had you slept in your bed, you'd know that utensils are there.
It was the social graph that made Google Reader great not the basic RSS functionality. That was really the game changer. It tapped into your friends feeds, what they liked and read.

You could follow other peoples recommendations, and the user belonged to a network of other users. It also made finding widely shared news items stand out and interesting blogs to follow easier and strengthened the network by doing so.

All the replacements afterwards didn't have this social aspect (or if they did they lacked the network needed for it) so they were like a graveyard socially.
>Having your bank account randomly disappear isn't one of the risks that anyone should have to take.

This bank choose to _avoid_ safety regulations from the 2008 financial crisis, which is completely open information. They used this avoidance to pursue greater risk.

What is "randomly disappear" about putting your money into such a bank?
Almost as if we have some kind of goal. If the diversity of ideas for the future in sci-fi may provide a clue the goal is to make people out of plastic to fight the aliens when they come. They wont come but we will be ready.
Only vaguely related, but when you fill your dishwasher, put the cutlery sorted into the basket. Thus it's just one grab for the forks, spoons and knives each to take them from the machine into their compartment in the cutlery drawer, no more sorting required.
SVB has a ton of bonds that mature (will be cashable) after ten years, but nobody wants to pay for them today because they can make more money placing their cash in a savings account. For a silly analogy, imagine if you had a bunch of cash locked up in a CD, but also had a surprise medical bill. Our parents could very easily look at your books and say “huh, I can advance you 80% of your CD because there is really no chance the CD won’t pay me back once it matures.” Is this a bailout? I don’t think so. It’s different than paying off our drunk uncle’s gambling debts for the 7th time.

And also we probably don’t want to say “haha silly SVB customers, they can wait ten years to get their money back” because none of us want to live in a world where most Americans, most of whom don’t understand all these complexities, start runs on ALL the banks because they think this is the start of a collapse. It becomes self-fulfilling at that point.
Perhaps tpm2-pkcs11 and its ptool are approachable enough? https://github.com/tpm2-software/tpm2-pkcs11/blob/master/doc...
Worth mentioning that HSBC recently announced an absolutely banging quarter and are in a great position to take advantage of this situation.

This is pretty much the old Berkshire playbook, buy distressed assets at giant discounts.
> Apple has 50 billion in reserves, do you think they can find 200 thousand banks to spread that around?

Good question and of course, that's not likely. But then 50B in reserves isn't something you keep in a bank account, it's something you have rolled into several different financial instruments with varying levels of available liquidity.
In this Medium post I've explained a few facts that are essential for making money with the new AI-based services and tools, eg. ChatGPT and Midjourney, that are not always discussed.
Some Japanese kaitenzushi restaurants use these relatively simple automated dishwashers[1] for plates, and I’ve thought for years about ways you could design something similar for households with standardized dishware.

Instead of every cabinet being its own dishwasher, you could have a wall-mounted dishwasher that automatically distributes clean dishes back to the cabinets.

Maybe this will be my retired-and-bored passion project later in life.

1. https://www.youtube.com/watch?v=rAK5f_0kNSA
It's said that no bank (even the best-managed) can withstand a fullscale bank run. So to the extent that the US side of things created a crisis of confidence, that might have been enough to topple SVB UK, even if all of its fundamentals were OK.
So why are only gay priests outed in this way? Straight priests on a dating app would be equally offensive to the spirit in the sky.
> Would conservatives suggest investors really should be paid back first? Unlikely to be popular.

He's obviously not suggesting that, considering how he goes on to say "when liquidated, SVB has the assets to pay off 95 percent of deposits."

There's clear procedures for bankruptcy and equity holders would be on the bottom of the capital stack while depositors would be on the top.
This one liner is the heart of my anemic SSG. The main idea is to remove generated files if the source has been removed.

comm -23 <(awk 'NR>1' "$DSTDIR/build-info") <(find "$SRCDIR" -name "*$EXT" -type f -printf "%P\n" | tee >(gen_index) | xargs -n1 "$0" "$SRCDIR" "$DSTDIR" | sort | tee -a "$DSTDIR/build-info.new") | (cd "$DSTDIR" && xargs rm)

The rest is here: https://gist.github.com/hadrianw/060944011acfcadd889d937b960...
> SVB has the money to pay back almost all of the depositors.

There seems to be this myth floating around that bond losses aren’t real. They are very real.

An 80 cent on the dollar (purchase price) bond is a loss of 20 cents. And it doesn’t matter if the holder holds to maturity.

Welcome to interest rates.

Edit: Fundamental fallacy here is not understanding the time value of money. Thinking of money without the time dimension is like thinking about space without time.

See https://www.investopedia.com/terms/t/timevalueofmoney.asp

Secondary fallacy here is equating value in the financial sense with gain/loss in the accounting sense.
One rule for you another for them.

It’s literally capitalism for the poor (students, diabetics, people being priced out of their homes) and socialism for the rich.
Definitely doesn't seem like you have any data points at all to make a judgement, apart from the revenue collapse of 40%.
As the other commenter said, interest rates. When the rates are low, money are put in the economy and if there are too much money, people start using them for stupid shit like crypto and overhiring. When the money become too much, interest rates are increased to remove money from the economy and people need to optimize there operations, hence no crypto and firing people. SVB made the additional sin that in a too-much-money economy with almost no profits to make stupid risks for high returns which made them fragile. The fragility was exposed and a few days of HN discussion ensues.
Indeed. I think the confidence with which ChatGPT gives (often incorrect) answers and the way you can correct it, makes people feel like it is self-aware but it's not. The way it is presented really makes it easy to anthropomorphise it. It feels like you're talking to a person but really what you're talking to is the echoes of a billion people's murmurs on the internet.

There is a really big step to go for it to be self-learning which is what is one of the things it will need to be self-aware. Right now the tech is just a static model - it will not learn from being corrected. You can often argue with it saying "Hey this is wrong because..." and it will admit you're right. And then it will give the wrong initial answer back the next time.
You're assuming I have a hyper-customized vim setup. Which I absolutely don't, I thought it was implied from my question that I am the opposite. I try to keep my setup as vanilla as possible because the main reason I enjoy vim is its reliability.

And of course when I say reliability, I don't just mean from crashing. I mean from unnecessary work maintaining plugins and their infrastructure.
The majority of people don't need daily bank accounts. The only reason why we are using them is because to dollar notes have not kept up with inflation. A $500 bill from 1900 would be a $17,500 note today. Two of those notes provide more liquidity than the majority of bank accounts in the US.
Does it show footnoted references?
What was the PPP “loan” program if not a direct example of what you claim doesn’t exist?
Where can someone buy it in the US?
Yeah I think the common trope needs an update.

Money doesn't buy happiness, it removes a lot of unhappiness
Databricks faces critical strategic decisions
Does anyone have a script to remove snap? I paste it, maybe it asks me some questions (do I want to do this or that), and it's done?

Installing Ubuntu and setting it up to be usable is a larger and larger pain in the neck.
Mind the Gap When Learning
The article is relevant to software and product development, as well as personal productivity systems.

«There are many models for knowledge acquisition: your lamda s, ooda s, etc. I like the Shewhart cycle, so that’s the one I’ll talk about here…»

«I skimmed Dave Farleys Economies of Speed presentation and learned a neat extension to that model. Between the steps in the cycle, there are gaps …»

«The main point of this article is that if you want to learn more effectively, work in smaller increments.»

The article has a neat little model for how, and describes what may go wrong in between the steps of the cycle.
>Between 2017 and early 2020, Grindr was selling precise location data to ad brokers.

Well, that's quite scummy. Tends to enable bad actors in the first place.

In January 2016, Grindr announced that it had sold a 60% stake in the company for $93 million to a Chinese video game development firm, Kunlun Tech Co Ltd (formerly Beijing Kunlun Tech Co Ltd). In January 2018, Kunlun purchased the remainder of the company for $152 million. [0]

Wasn't exactly the best steward for such a platform. [1][3[4]

But hey, at least the founder feels bad about it. [2]

I was about to suggest that something which amounts to a giant blackmail database is surely a significant national security risk, and further research indicates that it actually changed hands again for that reason. [3][4]

[0] https://en.wikipedia.org/wiki/Grindr

[1] https://en.wikipedia.org/wiki/LGBT_rights_in_China

[2] https://www.queerty.com/grindr-founder-joel-simkhai-believes...

[3] https://techcrunch.com/2020/03/06/grindr-sold-china-national...

[4] https://www.theverge.com/interface/2019/3/28/18285274/grindr...
I wonder how this compares to other cities, e.g. New York
What are some examples of these “cloud broker tools”?
It's absolutely a masterpiece. There's no small amount of irony that THIS is the album that shows them to be Human After All, considering just how much live-action instrumentation is on this album. It demonstrated this flexibility and scope that their typical pure genius sampling hadn't necessarily ascended to.

My favorite track is almost certainly Moroder. What a thing to gift us: a brief autobiography/biopic from the grandfather of electronic music himself, explaining how he came to create the ancestor sounds of what we're listening to... and then on top of which some of the goddamn best drums (and real drums, to boot) and just an absolute banger.

Couple that with Nile Rogers appearing multiple times with some of the best guitar licks... the genius of Contact, building this narrative of an alien from Apollo 17 recordings... and the beautifully textured... almost "chunky" Motherboard. Man, this album is great. I really love Daft Punk.
Dirty dishes can be stored inside or outside the dishwasher. I wouldn’t even consider running a dishwasher at less than ~75% load, unless very unusual circumstances.

Which is why I, as a single household, don’t use mine.
I got pretty far at decoding the signal with a RTL-SDR radio that I bought. It was a OOK code around 433mhz if I recall correctly. But I eventually abandoned that strategy as there was a simpler way to activate the gate through a direct electrical signal. So the device is just acts as a sort of switch now.
You don’t have to value it marked to market. You can value it as net present value of the hold to maturity value. That’s not a liquid price, but it’s the value if used as collateral against a credit line from the feds.
Let's not project your role at Company X onto Twitter. Especially, given that neither of us have worked at Twitter X.0
It really isn't though. Sure, at some level of abstraction, someone, somewhere, will have to pay for it, but this is clearly distinct from one's capacity as a taxpayer. All banks, however, benefit from the trust in banking system, so make sense for them to foot the bill. It's unclear how much of that will directly materially affect the average US depositor compared to letting SVB clients lose their shirt and thus erode the trust of the entire banking system.
Beko is a Turkish company, not Eastern European.
https://www.fdic.gov/deposit/insurance/assessments/proposed....
Because it's a benchmark on Optionals? In Java an Optional<Long> requires boxing, in Rust it does not. You'd expect a "sufficiently smart compiler" to detect this and avoid needless boxing after inlining and escape analysis but clearly that is not the case.

Note that "Long" in Java can be null because it is boxed, "long" (lowercase) however cannot be null, but it also can't be Optional<long>. Java sucks :)

EDIT: I'd love to see a C# version of this.
Spent a time figuring out how to read the Hacker News comments in order
A very basic one. I use Google drive a lot. It's a pain to go to Drive link and then look for the recent files and open it. So, I wrote a Gmail sidebar add in for the same. [1]

It does two things:
1. List the files in order of last modified or last opened. This way I can list 25 latest files and go to the ones opened by me. (no folders needed, just the last opened ones).

2. With last modified date, tells me when the file was modified last. (useful if you collect data in sheets from forms or other stuff, tells you when you have a new lead). Also tells you when the colleague you share a file with has edited it or not.

I wanted to enhance it with adding more stuff like: show diff, so I know what has changed. And then, show the content from a doc right here in sidebar, because well it's easier to type a mail by looking at that.

[1]: https://github.com/ankitmaloo/gmail-sidebar-drive
Someone has to pay for the cost of lending the money. If the aim is to ensure that in the future depositors are always safe, then it might be cheaper to offer anyone an account at a risk free institution rather than backstop commercial banks.
I don't think that bit is about income, rather about chasing finite goals to find happiness on the other side.

It's certainly a trope that many achievements can leave an empty feeling in the space that chasing that dream used to occupy. I think the warning here is not to make your life unbearable to chase happiness after some arbitrary achievement. But I think the advice I appreciate more is just to make sure you're also enjoying the journey, and that you diversify your streams of contentment.

It's nice to have stuff that brings you joy while you search for something new after achieving something you had been focussing on.
Unless your name is Xiang Guangda.