skysight-inc/HackerNews huggingface dataset:
But `Optional` could have been a value type from the start and had effectively zero overhead, especially if it were specialized for primitive types. There are 8 primitive types, so supporting them all with a value-type optional would not have been the end of the world, even if it was only a language level optimization (e.g. optional becomes a 96-bit-128-bit type and the compiler is responsible for ensuring primitives are wrapped/unwrapped specially).

GNU Trove is a collection library that focuses on optimizing for primitive types and is significantly faster that Java collections which require boxing.
The assets might be worth something, but the brand is shot - kept alone, it would have suffered the same sort of bank run that killed the parent entity. HSBC is buying their books and hoping that SVB UK customers will be assuaged into not asking for the money back, now that HSBC is looking after it. Eventually I expect all SVB UK accounts to be moved to HSBC equivalents.

Banks, at the end of the day, are just that: brands built on the belief that they will survive long enough to not lose your money. Once that belief goes, once the brand is over, a bank run is automatic and the bank dies.
Troll the basel III committee for making risk weighted assets on long term mortgage backed securities practically 0.
Selling data on your users sounds like a pretty average move for tech startups though, the connection to "they did it because China discriminates against LGBT" is pretty far-fetched, especially since they still had a minority position when that was happening.

I expect they would've done the same if it had been a SF company that would've bought 60% of it in 2016.
More moral hazard however: when you've got to use 10 banks to be covered by insurance you're not exactly going to do due diligence on them.
$1000 worth of bonds at 2% simple interest rate returns $1200.

The US 10 year treasury interest rate is 3.7% right now. That means you can get $1200 in 10 years with $835 today at 3.7% compounding; 1200 / 1.037^10 = 834.44 and change.

So your $1000 worth of bonds is actually only worth about $835, at best, because that's the market price for a (close as possible to) risk-free investment which matches the return at maturity.

Inflation is the flip-side of this. You can reasonably expect $1200 in 10 years to be worth about what $835 is today. It might be less, it might be more, but it's an estimation with money behind it.
Nowadays the git repository itself is used for installing and updating spacemacs, not the 5 year old releases on github.
> Because that is what a crisis is, and it’s how crisis response works!

That isn't how regulators deal with crises. Governments either execute long-agreed plans or flounder for months before organising to do something half-useful. The financial regulators are unusual in that they seem to struggle with the idea of publicising their plans ahead of the event.

> how can you believe both?

It is pretty normal. One of the reasons a democracy usually does so well is it turns out that the ruling classes in non-democratic nations are both incompetent screw-ups and busy conspiring to keep themselves in power. Then the competition from more evidence-based leadership in a democracy outmanoeuvres them.

The system is supposed to purge itself when there is evidence that the powerful are making big mistakes. Instead we get people who believe "protecting the system" is a good in itself being given a printing press and being told that they can do whatever they need to do. Nobody is talking about printing money yet, but it is the US's response to almost literally every crisis these days so I assume it is coming.

> Do you also honestly believe that you can restrict the fallout of a banking system failure only to those who caused it?

No. Which is why it should have been allowed to fail 10-20 years ago when the damage would have been smaller. Low interest rates and easy money is building up bad habits and large points of failure.
Venture Capital Loses Its Relevance After SVB Fiasco
The article links to an in-depth treatment about the Waiting Time Paradox, https://jakevdp.github.io/blog/2018/09/13/waiting-time-parad.... That article does lots of math that go over my head, so I did a very simple thought / NodeJS REPL experiment:

We look at three busses that are scheduled to arrive at 10min intervals, say, at the full hour, 10 past, and 20 past. We assume passengers arrive at a rate of 1 per minute, so if all three busses arrive on time, 10 will be sitting in the 00:10 bus and 10 in the 00:20 one.

Since 1 passenger arrives each minute, we have, in each group, 1 passenger that has just missed the earlier bus, so has to wait for 10 minutes; 1 passenger that has to wait for 9 minutes, and so on, meaning we have to sum up [ 1 .. n ] and divide by n to get the average waiting time,

avg = ( n ) -> ( [ 1 .. n ].reduce ( sum, a ) -> sum + a ) / n

This gives 5.5, not 5, minutes of average waiting time, so already a little over the naive expectation of dt/2 = 5. Since both sets of passengers are identical otherwise, for our 20 assumed riders, the average waiting time is still 5.5min.

But let's assume the 00:10 bus is late 5min. Late busses are often caused by busy streets, and busy streets mean a lot of people are moving. Regardless, now the busses arrive at 00:00, 00:15, 00:20, meaning there will be 15 people for the 00:10 tour and only 5 for the 00:20 tour, meaning that the first group has an average of avg(15) = 8 minutes to wait, and the second avg(5) = 3. The overall average waiting time is still 5.5min.

But will the 00:20 bus arrive in time? This is in reality a bit unlikely because it will probably experience very similar traffic conditions as the previous tour, meaning its arrival time will be delayed by a similar amount, so we should push its arrival time to 00:25, meaning there are now 10 people instead of 5 waiting for it, so the average waiting time is now closer to (avg(15)+avg(10))/2, which is 6.75, almost 7 minutes instead of the naive assumption of 5.
Hate groups are (and should be) legal (just like "hate speech") until and unless their members, you know, actually break the law.

We don't believe in guilt by association in the USA, and freedom of association is constitutionally protected.
Twitter has an internal root CA problem
The conspiracy theorist in me thinks: given the bullshit layoffs and other fabricated trends such as consistent news stories about a tech crash and a big recession around the corner and given the history,ideology and portfolio of Mr. Thiel and other "bad actors" that precipitsted SVB's collapse, this all maybe part of an attempt to crash the tech sector of the US and blame it for a recession which will allow a re-alignment of power and influence both politically and financially (including things like tech salaries but also at a much bigger scale). In other words, this looks too much like a controlled explosion by a few powerful people in reaction to covid-bailouts and 2020/2022 elections in the US.

Ask yourself who stands to benefit? Mr. Thiel and pals would surely benefit by giving their politicians ammo before elections next year and if they hedge their investments right their wealth will be minimally affected in a tech/US centric recession
Being a hate group isn't illegal.
It's just the nomenclature that I'm used to, compiled languages are so called because there is no VM, it's just machine code that is run while C# and Java still requires the JVM to do JIT compilation at runtime. But it's mostly splitting hairs, there is no agreed upon definition of what makes a languages compiled/interpreted.
Show HN: I revived a game I abandoned 5yo ago and released it for free today
The ecosystem between iPhone and Macbook is second to none, though. Got one from work after years of Linux/Windows, and it is almost flawless. If that stays the same, my next personal laptop will be a macbook.
Not an exaggeration at all.

HN gave me much better education in CS and programming than any traditional source.
Show HN: SwiftGPT – The native macOS app for ChatGPT
(2021)

Discussion at publication time: https://news.ycombinator.com/item?id=28887908
> I wanna know why people will drive around the parking lot hunting for that sweet spot

I wanna know why at my local supermarket a lot of people try to park as soon as they enter the car pack, in effect blocking the entrance lane while they do so (so that in busy times the queue backs up onto local roads). I.e. the entrance lane itself has parking spaces and is adjacent to the store's pedestrian entrance.

A different local supermarket has an entrance lane that forces you to the far side of the car pack before making spaces available. Overall traffic flow is superior because the people who still want to park near the store entrance aren't blocking incoming traffic while they do so.
There's a great podcast that also has an episode about it. Can highly recommend the whole show. https://www.macintosh.fm
The article assumes that the dishwasher needs to be emptied of clean dishes before dirty ones can be put in. This is not the case. The clean dishes will take on the dirty state as soon as dirty dishes are inserted into a machine with clean dishes.
I'm not sure if it's unreasonable.

In videos I've seen of tests of arrows against armour the shafts usually break, so that the weight of the shaft does not fully go into the penetration.

Stiffer shorter arrows have, therefore, a better chance. Thus the men fighting heavily armoured troops may choose crossbows, which with their long reloading time would literally trade number of shots for heavier shots.
> occurs with the same rarity among clergy as it does in the general population.

While this is true, the issue surrounding the Catholic Church is how the have historically handled it. Often it was covered up, the priest moved to a different parish, and it would just happen again and again with the same offenders. So yes the number offending clergy is roughly the same as the general population but failing to prevent known offenders from inflicting life long damage on innocent children is despicable.

https://en.m.wikipedia.org/wiki/Catholic_Church_sex_abuse_ca...
What did you expect, that everyone who knew there was a problem would keep it a secret and hope nobody else noticed?
"Let's resort to old values like Nation God and Morals" is not a solution to a world ancient problem, it has never been, since the ancient world has developed from the Roman empire. New barbarians will come and destroy everything just to recreate anew. I see your worldview as completely flawed in its basis, and authoritarianism brings nothing to the world but fascism, and eventually that really collapses to itself, turning against the people.
And if you think that "a generation will be ruined by Tik Tok" well that's what has been said about Television, Radio, Poetry, Free love, Rock music, Heavy metal, Egalitarianism, Illuminism, Religion and whatever has passed on the world.
These are SV companies plus payroll costs 1.25-1.5x employee salary (benefits, taxes, and insurance don’t appear out of thin air).
It may be a great thing. We have in-person events vs. completely fabricated online wonderland. It might - I hope - mean that people flock back to IRL activities.
For NMR the resolution depends directly on the strength of the magnetic field, so if those superconductors allow higher magnetic fields they also increase resolution. See e.g. the new Bruker 1.2 GHz NMR spectrometer which uses some high-temperature superconductors while the spectrometers with conventional superconductors could not get higher than 1 GHz.

There are other effects at higher fields that are not necessarily positive, so just cranking up the field has limits. But in general higher fields provide more resolution and sensitivity in NMR, and it's quite a big increase.
Thank you for this!

I have an oldish (circa 2014) dual CPU Xeon v3 (24 cores/48 threads) with 128GB RAM gathering dust.

Have been curious on how fast that old heap would run inference on 65B model.

Time to find out now.

Anyone else try LLaMA on older CPUs with plenty of RAM?
I'm also a bit skeptical given they plan to commercialize this and refuse to release any real information about their fabrication process. Would not be the first breakthrough result that can't be replicated, and as the group has already tampered with data before it's not improbable that this is the case again, from a purely Bayesian point of view.

If I was to make such a discovery I'd be hell-bent to have other labs reproduce it independently as fast as possible, as that would, with very high likelihood, earn me a Nobel prize. Not releasing any information about my wonder material because I might want to get a patent on it (which they probably already filed before publishing results anyway) seems just weird.
Catholics are weird and have strange beliefs, but I'm not sure they're looking to find women for casual sex on a gay dating app.
For your interest, I clicked through to your website from Github and it gave me a 'site not secure' prompt from my browser (desktop Firefox).
I don't know about the typescript compiler, but the way around template recursion limits in "classic" C++ template metaprogramming is to figure out a way to make it O(log N) depth instead of O(N) (for some value of N). Like instead of linearly iterating through a range of types through recursion, you divide and conquer. Easier said than done, but possible in some cases.
And another reminder or funfact: apparently a main reason to introduce the obligatory celibate for priests was: "the need to avoid claims on church property by priests' offspring".

https://en.m.wikipedia.org/wiki/Celibacy
Daft Punk and Gorillaz do that to me.

First listen of new albums, it's a no.

Then with each and every listen, it gets better and better.

I have no idea why that is.
"An ultracrepidarian is a person who offers opinions beyond their own knowledge"
[True|False|FileNotFound] ;-)

For what it's worth, Java's also got this class: https://docs.oracle.com/javase/8/docs/api/java/util/Optional...

Although in practice there isn't much performance difference in my experience.
And FDIC insurance is more on the order of a couple of percent, varying depending on your investment structure.
In your example, the market's saying that $1200 in 10 years won't have the purchasing power of $1200. And the future purchasing power would be closer to $800 than to $1000. Consider an alternative world where inflation is zero but you paid $1200 for a $1000-par bond.

The important concept here is the time value of money.
'Robot lawyer' DoNotPay is being sued because it 'does not have a law degree'
Australia has always been part of the west. It feels culturally like a mix of US and UK. "The west" has never been geographical. It is named like that because the center of gravity has is western Europe and the US and perhaps more importantly in was named in opposition to the Soviet union and so looking from Europe is looks like "the west".
You are completely ignoring that programs are built incrementally and taking them apart on the symbol layer is actually pretty common.
How airless tyres could make punctures extinct
> It is strange to me that Apple would consider releasing a product with such a low sales target. What is the point?

Apple already has many examples of this, including Apple TV and iPod Hi-Fi (the latter of which I had totally forgotten about until now). I don't think the first generation of HomePods sold many units either. Even if the product is a flop the first time around, these experiments still often have value in that you can collect feedback from your customers.
Thanks. So it was related to MP3 playlists. I still don't get it though. Why is it triggering Github to ban accounts? Is it a random glitch, or is some automated process flagging up that people are using Github to store their MP3 archives --and acting accordingly?
It would be a lot more fun if we could make similar jokes about pedophilia in the Muslim and Jewish communities - where it's arguably far more widespread and tolerated.

That we can't reveals an agenda.
The lack of optimisation here isn’t a dealbreaker. The fact that Optional<T> can also be null, because it’s a reference type, makes it a less safe implementation of optionals. That’s why the newer standard library uses static methods in a lot of places, e.g.:

Optional.ofNullable(theField)
> Covering all the deposits out of the FDIC fund when none of the assets are bad debt just makes sense. The shortfall will be assessed from banks next quarter and the assets will be held to maturity by the Fed most likely and the proceeds returned back into FDIC (which will subsequently lower insurance premiums by the banks in the future).

This is completely ignoring the time value of money. Money today is worth more than money in the future. We are transferring real value today and thus making the public, through the other less risky banks, eat the haircut that will happen no matter what. The losses are real.

What this has done is create the following incentives:

For depositors:

1. Bank with the riskiest bank possible since all deposits are covered.

For banks:

1. Become super-risky and extract value as soon as possible through dividends and bonuses. Depositors are covered either way.

The banking system has lost the risk side of things, and it is now a 100% regulated industry. We could remove the banks and have everyone deal with the Fed instead.
> reading https://news.ycombinator.com/item?id=35133241, the plan is to change that. I fear that, by the time they get around to that, lots of code will handle the cases null and Optional containing null differently, making that a breaking change

The post your link links to explains exactly how they intend to avoid this problem.
> Yes, you have brought this up before.[0]

> [0] https://news.ycombinator.com/item?id=8958705

Your link shows I didn’t bring the incident up previously. Your link shows the user thristian did. I added a link to Miller’s critique of Solaris performance and Miller’s wikipedia page.

I do think it’s fitting (rather than ironic) people would bring your first incident of bullying behaviour up in light of your second, but I’ve replied about that further down the thread.
Dr. Botakoz Kassymbekova: “Navalny and his team are brilliant actors.”
Talking about tricks to make python faster, there is an interesting one that is essentially exact polar opposite of what Nuitka does:

Micripython's "viper" just-in-time compiler. It can only be applied to one function at a time, restricts what you can do in such a JIT-ted function quite severely, but resulting speed is pretty much native:

https://docs.micropython.org/en/latest/reference/speed_pytho...
Running my dishwasher twice as much uses much less power each month than 24U of computers upstairs. It's not really that much in the scheme of things.

I've run my full size dishwasher with a single cup, single bowl, and single spoon in it. More than once.

It's a machine. It's okay to use it.
The US debt to GDP ratio has been over 120% since 2020. By IMF definition the US is in an economic death spiral. Unless drastic measures are taken (balanced budget amendment, massive cuts in spending for starters) by 2028 the death spiral will be irreversible and the US will be insolvent by 2042.

This is because by 2028 all of the payments we make on the loans for all that printed money will only be going to the interest, not the principal, and the spiral will be inescapable. (unless they change all the rules/trow them away which is where things like war and The Great Reset come in.

What does this have to do with the banks failing? There will be no more stimulus or bailouts, that's what. FDIC will be lucky if they can cover insured funds. Social Security it has already been reported will be bankrupt by 2033. The money supply has already contracted 2% and historically I think only once when that happened we didn't go into a deep recession or depression. Depression because of what I stated above is on the menu.

Cling to your jobs, folks, save all the money you can, cut all unnecessary spending. The next decade if we're lucky will not turned out like last century, but I'm not holding my breath. All that free money given to cronies by politicians leads to this. This is why you have a god standard and don't use fiat currency. So you can' spend money you don't have politicians buying votes with bailouts and handouts.
This is not how investment losses or returns are calculated for accounting purposes, which is what matters when we talk about the solvency of a bank.
It's not moving the goalposts - this is an actual, real, and extremely sneaky loss. Having bonds that will pay out say $100 in eight years time is pretty much exactly equivalent to having the reduced value of those bonds now (say $80) because if you had that reduced amount of money now you could invest it in similar bonds and receive $100 in eight years time. In fact, I think with current interest rates you could even stick it in more liquid bank accounts or short-term bills and likely still receive more interest whilst not being locked in.
I'm unsure of the Church's right to the brand "Catholic." You may be right there.

The "no Catholic is independent" is fairly ridiculous popery. Catholic's can have their own priorities and opinions seperate from the Church. Most do.
It’s interesting to see how different languages deal with nulls and similar constructs.

In some languages like TS, PHP or Kotlin have proper unions that you just handle with branching.

Rust lets you pattern match againt a construct that holds a value or doesn’t. Option is an actual thing there that you need to unpack in order to look inside.

In Clojure nils are everywhere. They tell you that “you’re done” in an eager recursion, or that a map doesn’t have something etc. Many functions return something or nil, and depending on what you’re doing you care about the value vs the logical implication.

nils flow naturally through your program and it’s not something you are worried about, as many functions do nil punning. Well as long as you don’t directly deal with Java - then you have to be more careful.
I dont think you can even get a snickers for an euro. The fed took care of that.
Most of these priests probably did feel they had something to hide, but my point was that even those of us who feel we don't are just as vulnerable as these priests since it's impossible to know what might prejudice someone against you.

Since we're all being tracked and associated with an endlessly growing set of data points, with no assurance of accuracy, who knows what criteria could get your name pulled and added to the next group's hitlist?
Yeah, I read the wiki article to learn a new trick and when reading that paragraph, I've gained more confidence in continuing to use cat :)
No consequences for the rich, as usual. Bring out the guillotines already
I used to use it to avoid the internet ads and the clean interface. I stopped reading RSS after that too, I currently have NetNewsWire, but don't use it as much.
They live in Bali, avg monthly wage is around $900. In that context it sounds pretty good.
They are an investment loss if you need to sell them at a loss, which seems to be the case here.

Also, at some point the difference between opportunity cost and investment loss becomes rather semantic. In a liquid market, you should be able to sell and rebuy your positions every day, which you generally don't do of course, but it does mean that the decision not to sell is similar to the decision to buy: if you wouldn't buy under these circumstances, you should sell.

With these bonds, their low interest makes them less attractive than newer bonds with higher interest, so nobody will want to buy these lower interest bonds at face value when higher interest bonds are available. They'll only buy these at a discount that would make their profit comparable to those of higher interest bonds. So the value drops, so that's a loss.

Personally I've never seen the point in buying low-interest bonds. But then I'm not a banker.
HSBC steps in to buy SVB’s UK banking operation for a pound