skysight-inc/HackerNews huggingface dataset:
> SVB would have held them to maturity had the bank run not happened, and now somebody else will instead

This "somebody" is the government aka the central bank putting these bonds on their balance sheet. This is a new form of quantitative easing.
Businesses must focus on long-term value creation to drive sustainability
I feel like you are implying conspiracy-like behavior, instead of recognizing the absurd rarity of the event:

> "Over a two-year period, nearly 400 pilots, flight attendants and passengers reported receiving medical attention after these “fume events,” and four dozen pilots were described as impaired to the point of being unable to perform their duties, The Times found."

This same two year period flew about 280 million "passengers", obviously not unique, but 400 / 280 000 000 ~= 1 in 15000

I don't think that this is about being covered up so much as obfuscated. That's a low-frequency event.
Ah well the answer is definitely no. Nobody in government or even the airline industry is considering 4th or 5th order effects like this, and likely never will (again, unless we decide to have a planned economy).
Nobody is arguing that they don’t have the right to. This is such an American argument of last resort I have no idea how we always end up here.

I’m not nearly as anti-modern-Microsoft as some of the people here, but even I know that “they have the right to” is moving the goalposts.
I know a few people who worked at Citymapper in senior roles, and the general consensus has always been that there was ultimately no feasible way to monetise.

As others have pointed out, their core value of routing/planning/exploiting Open Data became heavily commoditised by Apple, Google, and the transport operators themselves (e.g. TfL in London). Their belated attempts to monetise payments, data, even running transport itself, haven't been successful: it's a crowded, aggressive market filled with long-time incumbents who have established relationships and deep strategic control points.

As a place to work / founder values... ..well, the reviews on Glassdoor speak for themselves. I can't say I'm grieving for its loss.
You can only reinsure so many times before you arrive in the central bank.
In adopting a French bulldog, you take one off the market, forcing a would-be adopter to instead buy one, which incentivizes the mills.
It does run on either with decent speed. Probably can even do it on a rasberry pi 4.
So when a 5 year old sees a crowded street in Tokyo and remarks “daddy why does everyone have black hair?”

The correct response is, “well junior you’re just seeing things. Please stop making such observations.”
Stylized example of how the game works:

Bet on every number but 0 on a roulette wheel

Not 0: you and your investors make 3 billion this year

0: you and your investors lose your 20 billion you have invested, and the government bails out your depositors who kept 200 billion with you

This stylized bet is a good deal for the investors and management and bad for the government. Sometimes investors lose everything but it's still a very good bet in expectation. This stylized example is a case of "privatized gains, socialized losses".

Then the question is: was SVB reckless? They could have been less reckless by covering their interest rate exposure, but the fed has an equity to deposits ratio requirement, and getting any equity to invest requires a return. IMO they should have either diversified their business or stopped opening new accounts for tech companies because when depositors are uninsured and concentrated in the same industry, that is risky.
> Seems to be standard practice for Chinese companies.

I mean looking at the strings in Huawei's switch firmware revealed Cisco copyright notices. They were too lazy (or didn't understand) how to remove them! [0]

> My current phone is a Xiaomi, looks like my next one won't be (it may not have been anyway, due to a list of minor irritations & larger red flags like impossible to uninstall apps and a default clock app that demands full contacts access in order to be able to set an alarm, but this is definitely another point against).

Wait until you check you network logs!

[0] https://blogs.cisco.com/news/huawei-and-ciscos-source-code-c...
"Application backend" for Fibanocci?
Are class components really on the down & out? I tried going all in on hooks with a complicated app using lots of web workers and generally heavy computation and complex logic (a game). It turned in to a bit of a mess until I went for a refactor into classes and everything became much more clear.

Having a dedicated place to process changes in props and setup/teardown logic is just generally nicer than weird dependency arrays and returning destructors from effects.
model is class with params. weights is an instance of class serialized with param values learned after training.
Interstellar nuclear-powered transport (1968) - https://news.ycombinator.com/item?id=28132756 -
Aug 2021 (34 comments)

There are a few more, under
different titles. I remember reading Dyson’s autobiography a couple of years ago and he mentioned his involvement in the research. Absolutely amazing stuff.
i've been fascinated about rockets since im 3, was drawing engines with turbopumps by 5, but since i read about ecology at 35 i am now convinced we need exactly two types of satellites:

1) earth observation and weather one, to monitor a very dangerous warming on this planet

2) icbm early warning systems, to avoid cooling it very fast.

what argument do you have for more orbital stuff and which type?
Imagine the disconnect as nobody in the company will know what is going on when everything is auto-generated and people are only reading summaries.
There are counter points to this - DDT, Gatling Gun (Inventor thought it would reduce deaths, because you'd need less soldiers), Thalidomide.
Anecdotally, I see it recommended a lot in my feed and I don’t search for it. I know not to go to “Just chatting” basically.

But this doesn’t prevent the other problem where streamers will watch those others on their stream.

I’m not that bothered about it but I think it might be a problem that it’s a part of twitch culture.
Is there a reason for this? Why even have the decimal if 4.9 -> 5.0 is just as significant as 4.8 -> 4.9. Just make it v49 -> v50 and remove the ambiguity. What am I missing?
I'd love to know what percentage of java shops are still stuck on Java 8.
Conciseness is regulated from the 3rd stage of training, RLHF. Alpaca only had the first two stages.
A friend who's written Netflix original shows says that Netflix has a lot of data regarding user watch behavior, and provide specific directions for how shows should be structured to maximize viewer retention. As a theoretical example, they know people tend to lose interest around 60% mark in episode 2, so that's where you have to insert a plot twist.
Every few years I come back to " The Baron In The Trees" and "Palomar", my favorite books from Calvino. Highly recommend, he has a certain way with words. Doesn't take himself seriously but still ponders deeply about things we all can relate.
Too bad it didn't go to emacs.
I worked at twitch for almost 5 years and they had no idea what they were doing at all. Emmett was eternally condescending to staff and continuously listened to whoever was playing politics best. His replacement dan was equally checked out and they had no good tech or content ideas. Tech was a joke, spending 50-80% of some teams time on checking off items in huge spreadsheets to be compliant with new systems and processes that were regularly replaced by new requirements and often required rewriting services that were not in use/working just fine in new languages and frameworks to check new boxes and then the cycle repeated itself.
That’s pretty amazing story, Ada Yonath has a theory of a hypothetical protoribosome 20 years ago and that eventually wins her a share of the 2009 Nobel Prize in Chemistry. Then now to solidify the case for this hypothetical protoribosome, she goes and builds it!
I wish MS will fork Typescript into a new language altogether that transpiles to JS or compiles to WASM.

In that case, they can remove all JS weirdness from it, simplify it, add a proper standard library, and add other good parts from other (especially functional) languages to it.

My wish list for such a language (in addition to what is already in Typescript), in no particular order:

- Generic object literals (Why should generic type inference be limited to functions?)

- Deep support for an alternative to exceptions using a Failable<TResult, TError> type

- Localizable keywords (Why should programming languages be tools of cultural hegemony?)

- Dependent types, with no real distinction between values and types (At a certain point, Typescript’s type system begins to look like a separate Turing-complete language within a language. It’s probably time to do away with this dichotomy entirely somehow)

- Higher-kinded types (This is a pending issue in TS since 2014)

- JSX built-in without the need for any React-like dependency (No need to use it if you don’t like it; in the general sense, it’s just syntactic sugar for composing function invocations)

- No return necessary (the last expression in a block is returned). Thus every flow control construct _can_ (but does not have to) be an expression.

- No null, undefined, or any of all that, in favor of using a Maybe<T> type

- Proper decimal types (it’s shameful for a language to be without it now)

- A reasonably extensive standard library (Math, Stats, Collections (pull & push), String, Objects, Date/Time, Async, Functional, DOM, etc.)

That would be getting close to the perfect language for me.
I don't know why they focus on texts so much more than calls.

I get like 60 scam calls for every scam text. Scam texts are mildly inconvenient. Scam calls on the other hand are far worse. I get so many scam calls I don't pick up any phone numbers not on my contact list, and which causes me to miss several important phone calls a year.
That is something I really dislike about the react-query docs, the examples are code sandboxes. Glad to see they didn't go that path here. I find they add a lot of friction when I am looking for a quick reference.
I absolutely love it! Thanks for making it so simple and clean.
Clone Hand
What kind of hardware is necessary to run non-quantized LLama-30B?
Sigh. We all know what Atom is. This isn’t the same thing.
Low-level exposures will surely be MUCH more frequent than that.

Harm caused by occupational exposure to hazardous chemicals is usually a chronic, cumulative, delayed onset type of thing.
You do realise those tech "bros" are what enables doctors, nurses, plumbers and teachers to have a better work-life?
> That only includes a subset of the total attempts that you would start selecting a door, not all.

In the trial invalidation version of the problem, but not in the problem as stated. The problem as stated provides, the host does not reveal a car (or your original door).

Let me put it another way. If the question had asked, "Conditional on the host not revealing a car (or your original door), what is the probability of winning if you switch?", then that too would be 1/2. My problem is that this is not what is asked. We don't get to answer an easier or different version of the problem. And the reason it matters is because people start spouting woo about how the host's knowledge or intentions are what mattered, when that isn't true at all. What matters, as you have demonstrated and I have tried to clarify (we aren't really disagreeing), is whether we are exploring the conditional probability in the uniform distribution over a sample space where the host might open another door (1/2), or the probability in the uniform distribution over a sample space where he cannot (2/3). If one denies the difference between these versions of the problem, one ends up in woo-space where the host's knowledge or intentions matter. They don't.
> That doesn't mean they'll win this case

As of yet there is no case to win or lose.
Accelerated Diffusers with PyTorch 2.0
If you're interested in investigating timing effects: We collected a dataset last year where we took a snapshot of the newest 1500 stories on HN every minute for several months which should contain the information required. Feel free to play around with it and get in touch with us if you find something interesting!

[1] Dataset: https://osf.io/bnysw/

[2] Exploratory analyses: https://github.com/social-protocols/hacker-news-data
The only problem I have with HN is the endless content. I wish you could say, 'Show me stories that reached the front page', then hide or watch each story as you deem. That way I could clear out the front page like I do my inbox.
Here it is on Nitter if you want to avoid visiting Twitter itself:

https://nitter.net/dmvaldman/status/1636180222759563264
One thing I find strange about the new documentation is how React.createElement is considered a "legacy API". Doesn't JSX transpile into calls to that function anyway?

This worries me a bit because some React wrappers for ClojureScript expose macros that essentially compile to React.createElement() calls, which are now labelled as a legacy API.

It also looks like Class Components are officially deprecated, given that the documentation explicitly states they are not recommended for use in new code.
Web3 and Universal Basic Income: Can Blockchain Solve Income Inequality?
Speaking generally and not just about RTR, people often recognize something is "wrong" and that they're negatively affected, but they also don't really understand what's going on, so they can't do much other than complain when they get screwed over.
Maps was indistinguishable from magic at launch.

Analytics was indistinguishable from Urchin On-Demand at launch. They took a successful $500/m service and made it free w/ an AdSense/AdWords account.
I think we also enjoy playing with other peoples fun passion projects.

It’s different playing with something that someone built because they wanted to build it and it was fun, rather than them having some sense of commercial gain. See: indie games.
DHL Sucks
one thing in regards to that I see the UK as five countries: the fifth country being London.

now regarding how london centric the uk is ? I think it's due to the rampant classism in the uk. the whole "eeww the poors / plebs".

cz to me there's no reason for a bunch of startups to all be concentrated in london, oxford or cambridge.

seems the government wants to encourage regional growth based on remote work.
but yeah they will need to incentivize startups to hire people not just in london but throughout the uk.

prop-tech, is that property tech ? with just 1 - 2 years experience that's a good salary.
> The message this sends is that I should have more well-connected successful friends. Is this empowering?

We can also view it from another perspective. Even in a fair society where everyone has socioeconomic balanced connections, a situation where someone has access to advanced photography/printing tools at the same time this person's girlfriend needs to produce her thesis could still arise.

Looking at the situation positively, we can say that the empowering aspect is that synergic opportunities can arise unexpectedly, enabling outstanding work to be accomplished.

However, it's true that the society we currently live in is far from fair and balanced.
Yep, I'm not a language expert but I remember a South American language, maybe related to Quechua, where a sentences contain a syllable that indicates "I am repeating hearsay, I don't know if this is true". Pretty cool.
> but what I cannot do is bear 5 ads in a row every 30 minutes

This is basically how Television used to operate. I think it was more like, 4 ads every 15 minutes. So way more actually.
There is no way only 5% of people understand this joke.
Are you limiting your argument to software? Because it's been possible to curtail the use of non-software technology. Drugs, guns, cigarettes, drones, etc.

Now even if you look at software, it's not clear to me that it's impossible to stop people from using certain software, as you surmise. If you look at how governments shut down dark markets or how they've taken down certain Bitcoin exchanges or how they've blacklisted certain Bitcoin (and other crypto) public addresses, all these examples show that it's possible to enforce the law even in the software space. Child pornography is another example. Internet infrastructure is very centralized, and governments have over time acquired tools to control how information flows.

Information doesn't want anything. That quote is a freudian way of saying "I want information to be free".
The British version of "home away from home" if you've ever heard it said like that. Basically a place that's not home but you can feel comfortable/familiar as if it were anyways.
> if JD is so bad why do people keep buying them

Why do people keep buying Samsung or Apple when there are better products? They certainly don't respect the right to repair either.

Likewise, people buy JD because it's a well-known brand.

If you asked people what they wanted 100 years ago, they would say they wanted a faster horse. It's hard to advocate for something that people don't realize they don't have.
Since the only thing you are pushing onto the stack are open brackets you don't actually need the stack. Just keep a count of how many brackets would have been on the stack.

Increment the count when you see an open bracket. Decrement the count when you see a close bracket. If the count every goes negative there was a mismatch. If the count does not end up at 0 when you've processed all the brackets there was a mismatch.

It can also be treated as a text transformation problem. Every non-empty string of matched brackets must contain at least one '()', and deleting a '()' from a string does not change whether or not the string is balanced.

That gives an approach of repeatedly finding and deleting '()' from the string until there are no more '()'s to delete. If that gives you an empty string the original string was all matched. If the final string is not empty then the original string had a mismatch. Here's that as a shell script.

#!/bin/sh
S=`echo $1 | tr -c -d '()'`
P=x
while [ "$S" ]; do
if [ "$S" = "$P" ]; then
echo "Mismatch"
exit 1
fi
P=$S
S=`echo $S | sed -e 's/()//g'`
done
echo "All match"
exit 0
Breast and ovarian cancer gene linked to Orkney islands
Something about Twitch chat is magical, even though it is commonly just walls of copypasta, it feels like participating in a real, authentic audience. Often times it is more entertaining that the stream itself, just like on HN you would rush to the comments before even reading TFA to see what other people are saying.

I can't quite pinpoint why YouTube doesn't have the same feeling though.
They didn't just "rip off the entire UI". Couple of years ago the entire sourcecode of Twitch leaked along with user data, SDKs, security tools etc. They used all that to create Kick after Twitch banned slots.

Last time I checked, Kick still mostly used Twitch logos and their policy documents were still talking about Twitch, since they didn't even bother looking at them.
Windows is putting Rust in the kernel
> The libertarian / austrian

I am Austrian and I am a bit confused...
I feel the same, but when I complain I get blamed. Or someone chimes in with an illegible type/interface definition that solves my issue but is completely out of reach for all but language experts, which in other languages is not an issue.
Dual Tesla lawsuits pull Elon Musk into right-to-repair war
I suppose I read the article strictly through the lens of an enterprise developer. The only thing that I can see that would apply to my day-to-day work is the named captures in regular expressions:

https://nipafx.dev/java-20-guide/#named-group-in-regular-exp...

Everything else is just not applicable really or just meh.
The assets are impaired at today's interest rates. The yield curve is very inverted (is that gramatically correct??) this signals interest rates will be quite a lot lower in a few years. At that time the assets will not be impaired - they may even be at above-par value.
This article fails to ask the only question that really counts: if the President (or Congress) bans TikTok on national security grounds, would the current SCOTUS majority overturn that on the basis of the 1st Amendment? Nobody can know for sure, but personally, I doubt the answer would be “Yes”. The article makes a lot out of how some District court ruled, but District court rulings are close to useless at foretelling how SCOTUS will rule. It also cites some decades old precedents, but ignores that SCOTUS will likely find some way to distinguish the current case from those precedents, rendering them inapplicable.
Most React codebases benefit from the simplicity of functional components, because they fit into the model most people have of websites + web apps. If you’re doing anything complex, you’re in a very small group.
Can't find the air quality sensor on their bill of materials
Crystal is excellent. I just can’t handle the sluggish compilation times. Has that improved?
Myst First Person Shooter
I find class-based components work better for some things, mainly that need to manage complicated lifecycles that hooks do a pretty bad job of.
From the docs:

We recommend defining components as functions instead of classes.

Not dead but they are not recommended anymore.
Connected my database and it's not showing anything, also no error messages in the UI, some 406s in the dev console. would be interested to try it out
Balloon launch is a god-awful concept. Not only do you have the logistical challenges of air-launch (compounded by carrying a bomb with a minimally controllable vehicle), you also don't have the horizontal velocity of an aircraft to provide additional dynamic pressure at the critical pitch-up first turn phase of flight, AND you have the absymal lifting capabilities of a balloon. Balloon launch is all the downsides of air launch with a few extra thrown in for good measure, with almost zero advantages over traditional air-launch (let alone ground launch)
Our thinking behind BI, we believe, is quite different than how we think Power BI, Looker, and Tableau look at the problem.

Today's large tools require in-depth specialized knowledge on the data as well as how to apply it to create dashboards. Our mission is to create data tools that non-developers can understand, use, and create impact with on day 1.

One feature we're really excited about is how to hold a conversation with your database to fine tune the chart you want in natural language, and have "verified" sources come in to double check what has been produced meets the expectations of the business. Certainly a lot more things on the way as well.
TypeScript is ECMAscript. You remove the types and you get pure ECMAscript, apart from some very minor - and nowadays unneeded - additions such as enums or namespaces.

TS also lets you do what Babel is for, translate the JS to earlier versions of JS. However, that has nothing to do with TypeScript itself, if your target runtimes support all the ECMAscript features you use you don't need to transpile, you only need to remove the type annotations, none of which are code (apart from the leftovers from early days mentioned above).

So you would need to complain about ECMAscript. The decorators in this release, for example, are there because it moved to a stage 3 ECMAscript proposal last year, which means TypeScript must implement it now - because TS ECMAscript and not its own language. So they need to support all of at least stage 3 proposals of ECMAscript.
I think generally you should start with functional components, try to keep things simple, and use class components as the exception and not the rule. My own app is mostly functional components, but I did fall back on a class component in a case where I needed the lifted state of a function reference to remain current across renders.
sorry, meant specifically austrian school of economics there. Austrians the people are cool :)