skysight-inc/HackerNews huggingface dataset:
What did he accomplish? Like personally he himself? There is a very specific agenda/propaganda to sell this hard-working, aspiring CEO image (well predating Musk) which I could never justify. They are just megalomaniac narcissists with an extraordinary luck (that is way too downplayed) and sometimes some redeeming quality at least (in the form of some charm, or leadership). Well, I couldn’t list any such for Elon here, but even if I could, why are we worshipping these people? They ain’t working 25 hours each day, the secret to their success is not that early morning yoga whatever and sleeping 2 hours in the office. As I mentioned, luck’s role is way downplayed. It is not too hard to make much money from already much money.
None of that requires or even supports undefined overflow.

> Signed integer expression simplification [...]

This is easily addressed by allowing (but not requiring) implementations to keep wider intermediate results on signed overflow, to a unspecified width at least as wide as the operands.

> the index calculations are typically done using 32-bit int

No, they're done using size_t; that's what size_t is for.

> undefined overflow ensures that a[i] and a[i+1] are adjacent.

No, the fact that i (of type size_t) < length of a <= size of a in bytes <= SIZE_MAX ensures that a[i] and a[i+1] are adjacent.

(Also, note that this does not mean the optimizer is allowed to access memory at &a[i+1], since that might be across a page boundary (or even the wraparound from address ...FFF to 0), which makes adjacency less helpful than one might hope.)

> Value range calculations [...] Loop analysis and optimization [...]

Allowed but not required to retain excess bits on signed overflow.
I usually write about things I really like. I agree with the mental trap that is only writing about new stuff.
Here’s a definition of cost benefit analysis:

A cost-benefit analysis is the process of comparing the projected or estimated costs and benefits (or opportunities) associated with a project decision to determine whether it makes sense from a business perspective.

Generally speaking, cost-benefit analysis involves tallying up all costs of a project or decision and subtracting that amount from the total projected benefits of the project or decision. (Sometimes, this value is represented as a ratio.)

That is simply not the same as applying a tax or surcharge to something to internalize an externality.
Probably the demand is too high because the degrees are too easy to get.

Save for most STEM and subjects that have an external certification (bar exams).
But that's partially because 1100W kettles are less _useful_.

I'm mostly a coffee drinker, and use a bean to cup machine for that. But I still use my kettle a good bit, because it's quicker to boil the kettle and then pour into the pan and bring back to the boil than bringing cold water to the boil in the pan. I've got a 3kW kettle, though, if I had a 1100W one I wouldn't do that because it _wouldn't_ be quicker.
NASA's policy is to avoid uncontrolled reentry when the chance of killing someone is greater than 10^-4.

How valuable is that? We can determine that using the concept of the "statistical value of a human life". For example, the NRC assigns a human life a statistical value of $9M when determining of the cost of some nuclear safety improvement is justified. This is similar to the value used for determining if traffic safety improvements are worthwhile or if medical procedures are justified.

Multiplying, this is saying that it's unacceptable that the cost of a reentry be as a little as $900. This seems quite unreasonable: the cost of avoiding uncontrolled entry should often be much higher than this. And indeed, if you look at what NASA actually does, it often gives wavers of this requirement. This tells me the requirement is of dubious legitimacy, existing more for PR purposes than because it's good policy.

I doubt the Chinese care about the political optics enough to waste their time avoiding such a low expected cost outcome. Nor should airlines cancel flights to avoid something like that either -- the cost far exceeds the expected benefit.
That's really not true. Where I went to college has gone from $14,000 to $38,240 in the past 22 years. Inflation would have predicted it be $24,130. That's a private school that back then had a beautiful campus, good food, good wi-fi, a good website and good dorms. (Though, notably, food and dorms don't come out of tuition.)

The price increases are massive, across the board, and not obviously linked to quality of facilities. There's definitely something more than you're suggesting at work here.
Yes until it gets remotely locked as part of a future sanctions package
Remember that 'hacker news' used to be 'startup news'.

In any case, please write that program that you promised here. If it takes you longer than overnight, that's fine.
German in Canada here. I used mine to cook water for pasta as it's usually faster and more efficient than my electric cooktop. Bought one in Canada and it's close to useless for that purpose. My German kettle would bring 1.7L of tap water to a rolling boil in about 4 minutes. My Canadian one needs about 10 minutes to achieve the same.
How do you arrive at 40%? The peninsula has never experienced such a drastic decline since.. ever.

Even through the dotcom bubble and 2008 financial crisis.
> More money in the system doesn’t generally drive prices up in other areas due to supply and demand.

Do you have an example?

Supply and demand is exactly what drives the prices up. People have a huge supply of dollars due to financial aid loans, and cannot spend those dollars on anything but education. With more money available, schools charge more.

It’s the same mechanism as inflation.
It's a common misconception due in large part to Rust's marketing.

Claim: Rust enables you to eliminate many classes of bugs at compile-time. (https://www.rust-lang.org, "Why Rust?", "Reliability")

Reality: Rust enables you to eliminate an extremely limited class of bugs at compile time, and also inserts if statements into your program to detect some other classes of bugs at runtime and crash cleanly.
We don't need to live our lives in low-power mode. There's another way.
Silicon Valley's Horrible Bosses
Rust has an entire type named Infallible.

https://doc.rust-lang.org/core/convert/enum.Infallible.html

Infallible is the type of errors which can't happen. It will some day be a synonym for ! (aka Never, the type of return and break and such things) but even today it's an Empty Type.

Empty Types are in some sense even smaller than the Zero Size Types like the empty tuple. The ZSTs have a value, it's just always the same value and so it needn't be stored anywhere. The Empty Types don't even have a value. So not only do you not need anywhere to store their value, you don't even emit code to handle this value. Generic error handling code evaporates at compile time for Infallible.
Oh, i see, it was posted already. But nobody was interested. Sorry for the dupe.
> What is the rate of flushing in the line to an apartment building

depending on the height of the building - anything more than 6 floors - the water you are drinking is likely pumped to tanks on the roof and fed back down ... want to know what else might be in those tanks? https://www.youtube.com/watch?v=P_9RLbRZJr0

TLDR: I would worry a lot more about the water you put in your mouth sitting in faeces overnight than it sitting in a plastic tube for a week.
No I have a very very correct view of who is buying both the F150 and the Lightning...
Same here. I actually miss watermelons with seeds. They are nearly impossible to find nowadays.
> eBPF has the potential for file-less malware to run hidden from detection

so do ROP chains. There's a lot of fluff in the industry about "file-less" this and "LOL-bin" that, but really this isn't anything new, the fact that people are still writing post exploitation stages that write persistent files to disk is out of sheer laziness/attackers not being forced to do anything different. Forcing attackers to write ROP compilers isn't really a worthwhile goal anyways because you only ever have to do that once as an adversary (and it would take, what, a single person a few weeks?) whereas getting to the point where file detection is so good would take a massive industry wide effort and billions of dollars.

eBPF-for-evil is not a worthwhile concern because it's not meaningfully different or more powerful than the same old techniques we've all known about since the 90s.
My intro take : for base 4 you have a set of number {1 2 3 4}. Imagine you start with 2. Can you use multiplication to get to 1. No. Because it goes to 2 then 4 then 2 …

However if you do base 5 which is a prime. Then {1 2 3 4 5} meant start with any number you can reach the others by multiplication.

(if you use 0…3 and 0…4 you have to mention except 0).

We use 2*N as basis in computer which is non-prime though. The article tried to explain how to use polynomial and certain intel/arm feature to handle this …
The last few months are the height of COVID in China.
This is a bizarre thing to put in the fine print. They're literally just excluding most of the cooking process from their calculation and I can't see any reason why other than to artificially inflate the efficiency stat.
Apple would lose its ability to produce and sell products if a complete boycott of China were to ensue. This would mean Apple's revenue and income would shrivel to almost zero overnight. Its stock valuation would drop 99% or more.

There's no company that could survive such a financial shock. Yes, they have some money in the bank, but that won't save them.
There is also this thing that working in Foxconn factories is apparently very though. And pushing the problem to third-parties seems to be very convenient in terms of reputation and salaries/contract.
Remember hearing about Detroit back in the day? Where the transmission was made down the street from the auto factory. You probably didn't need to go more than 20 miles from the auto factory in Detroit to get 90% of the car parts. If one supplier had a problem, you'd just go to another that was only slightly more distant.

Shenzen is like that. Everything you need for electronics manufacturing of nearly anything is located in the city. This means that if part of the supply chain is disrupted in normal times, you could go get the same part from somewhere else not far away.

Today, the United States auto manufacturing isn't that way... and frankly it isn't even fair to say "United States auto manufacturing" - https://cimg3.ibsrv.net/gimg/www.corvetteforum.com-vbulletin...

So, here's the problem that Anyone building an iPhone would have - where do you get the capacitors on the board from? how much lead time do you need to keep the supply going? What happens if the supplier isn't able to send them? How big of an industrial base do you need to make all the parts and how distributed is that industrial base?
Surprised I haven’t seen anyone mention pair programming here, I bet a lot of its advocates benefit mostly from the body doubling benefits.
Well, if they are indeed that important to the company, then they do have quite a large leverage.
It would probably help Mastodon a lot if they contacted some of the smarter celebrities and set them up with their own personal server. You’d subscribe to Stephen King or Ryan Reynolds by subscribing to their server. They can afford to run popular servers, and there are enough of them that they can absorb a lot of the load.
> achieving maximum effect with minimum means.

As stated above: this is arguably a property of Go, but very definitely not a property of C.

The rest of this is "Go borrows good ideas from C," which nobody doubts. It doesn't establish the kind of successor relationship you've claimed. Most of the ideas mentioned also apply to Rust.
I would be interested to know what they average net tuition price actually paid is. I suspect it is lower than the sticker price, though 38k is sadly low by today’s standards.
Rust seems like a good c alternative for people who haven't already switched to c++ (and for people who have).

For people who can switch to a higher level (ie Garbage Collected) languages what does go have over Java or C# or python?
If anything, remote work actually supports my social needs much more thoroughly than working from an office environment.

At home, I am within a few seconds from my wife (since she is working from home too), which allows for a significantly more rich social environment for myself and her, than having to be in the extended physical proximity of those in distant social tiers (e.g., loose ties, or "work friends").

I value the time I have been able to spend at home so much more than any social connections I may have made at the office; in fact, I focus on getting my stuff done even more quickly precisely so I can return to the quality time that I have to focus on those who truly matter to me.

I am no longer at the age where I care to go for a drink afterwards with work friends. For those of us who have richer social home lives than work lives, remote work is a godsend.
ahh yes, everyone you disagree with is a Nazi......

I figured that tired, worn out, dead horse would be dead now but I guess not
> Why do you think eating less meat would be good?

Just a hunch.

https://www.scientificamerican.com/article/eating-less-red-m...

https://www.nytimes.com/2019/08/21/climate/what-if-we-all-at...

https://ourworld.unu.edu/en/eating-less-meat-essential-to-cu...

https://www.health.harvard.edu/staying-healthy/cutting-red-m...

You know there are vegetables other than corn and they can be grown in quite a few places outside of Iowa right?
You can dynamically create symbols and expect them to be garbage collected as of Ruby 2.2. They only become "immortal" if you use them to define a method, instance variable, or constant. So the common use case of hash keys is fine. One important advantage of symbols versus strings is that Symbol#== is constant time.
The pro-Elon redpill here is that he's already had at least 4 unambiguously successful companies (zip2, Paypal, Tesla, SpaceX). So maybe we are just observing what it takes to be extremely successful: Move fast and break stuff. If you want to be a multibillionaire you're going to have to make a lot of big mistakes, faster than anyone thinks possible.

Additionally I think "verified users get priority in replies" has the potential to be absolutely killer. Everyone knows that clout chasing is huge on Twitter. I could easily see a spiral like so:

* Initially 5% of daily actives buy the check marks, mostly just to own the libs (Fox News loves Elon btw). But the newborn blue checks are everywhere in replies. They're accumulating followers like no tomorrow.

* Others begin to follow suit. $8/month is a small price to pay for clout. Remember, that's what they're all there for. "If anyone tells you they don't want more twitter followers, they're lying."

* 10% of the userbase has bought a blue check. 20%. The anti-Elon folks are holding out. But their voices are growing quieter and quieter.

* The entire tenor of the site begins to change. The loudest voices are the Elon fans who bought the check mark early. His politics become dominant on the site.

* Eventually the anti-Elon folks either ragequit or end up purchasing the checkmark. Petty tyranny and clout chasing are kind of their thing. It's a case of irresistible force meets immovable object. Endgame seems hard to predict.
Are you suggesting that Elon Musk is the new Larry Ellison?
It has to do with the wage premium. it is still widdening for college grads. This needs to change for demand and thus prices and aid to fall. governments subsidize college so much because of the high roi.
Greetings, everyone! It has just months since I graduated with a CompSci degree and I'm busy with my first job in an IB. I've got colleagues I love hanging out with, a decent pay, good WLB and a super neat office (the kind small city kid had never seen)

Yet despite this, I just don't feel like I could do this for next 10 years. There's just something missing - maybe it's challenge, a sense of impact or perhaps passion, can't place it. Somehow, the small-pay startup internship whose job I passed up on, seemed more fun. Everyone seems to have it all figured out with their plans to do MBA, MS etc or continue in the industry and here I am all confused.

So, here I am, trying things .... I guess. I got on the Rust hype by building a terminal application that taught me much. I'm planning to build a homelab to hack around and learn a bit of DevOps and security. I'll be buying a guitar with my first income soon. I've also been enjoying playing football, as I mistakenly missed out on sports in college. Another thing I've recently gotten into is quantitative finance - something I think might be interesting as a career since I also enjoy mathematics, but it seems to be too difficult a career to break in. Anyways, I've got Hull's Options, Trading and Other Derivative and some stochastic calculus books I'm planning to finish this year.

Sorry, it's all messy and over-ambitious but hopefully I'll figure something out :)
It is said that sometimes one can recognize the love of their life at first sight. I say that sometimes one can recognize a disorganized mess in five minutes. And that's what I see in Musk's (early) management of the company.

I have no political leanings, and I'm not particularly interested in the fate of Twitter.

I'm there, I find it instructive, I've learned quite a bit about my areas of interest by reading what other people write on Twitter. I used to tweet more, but I realized that to contribute meaningfully you have to have a position and personality traits that I don't possess.
This is b8
And firing them was just an insanely dumb thing significantly increasing expenses.
There are lots of Roman valves in old villas or places like Pompeii.[1] As you say, the design hasn't changed much!

[1] http://www.shinjovalve.com/news/let-s-talk-about-ancient-rom...
Your experience mirrors mine. My wife and my last serious relationship before - both IRL chance encounter or created through pre-existing friend connections. Some meaningful relationship-ish connections through online dating.
The good thing out of bounds access in a safe language usually isn’t that they don’t panic. It’s that they do panic instead of returning what happened to be adjacent in memory. So v[5] won’t accidentally return w[2] instead.

But out of bounds array access handling isn’t any better in Rust than in other safe languages.
The real benefit of Rust in that scenario is to ensure you don’t access v[0] after freeing v, for example.
what is this junk?
As a 53 year old GenXer I assure you, most of us are fine.

Not all. I know a few who hate technology.
When I quit twitter (years ago), I just changed password to a random string and that's it. Then, twitter suspended my account. Somehow I managed to violate their rules without even being able to log in. Oh well, good riddance.
I imagine part of the efficiency of electric kettles is due to the heating element actually being submerged in the water, or at least directly adjacent to it.

Compare to a stovetop where there's a big heavy pot between the element and the water, and it's not in complete contact with it. Also often the heating element is underneath a piece of glass.
UN in shambles punching the air rn

https://www.unwater.org/water-facts/water-scarcity
Interesting. That's basically read-only root permission, which should probably be handed out sparingly, but it makes sense for isolation purposes to separate out your BPF programs from root.
> Imagine I want to test a function that operates on quite large application state but not all app state is necessary for that function

If not all app state is necessary for that function, it shouldn't require the whole app state in its arguments.

type AppState = { databaseConnection: DatabaseConnection, env : "dev" | "prod", apiToken: string, userId: string, ... } & SomeOtherStuff

const dropTables = (app: Pick<AppState, "databaseConnection"> & {env: "dev"} ) => app.databaseConnection.dropTables()

Conversely, if a function you don't control says it needs the whole app state, believe it.
The PRC is the only internationally recognized successor state to the China of 1895.

You don't have to go back to 1895, though. In 1971, the PRC was given "China's" UN Security Council seat, which had previously been held by the ROC. Most countries withdrew their recognition of the ROC, and recognized the PRC as the sole legitimate representative of China.

> Taiwan has never been part of the country today known as “China”.

Countries continue to exist, even after they have revolutions or civil wars. In the view of international law, "China" has never ceased to exist. The 1911 revolution didn't extinguish it, nor did the end of the civil war in 1949, nor did the international recognition of the PRC as the sole legitimate representative of China in the 1970s.

Taiwan becoming an independent state would be a revolution of sorts. You may support that change, but to pretend that it's not a change? China is not going to be fooled by that.
It's been years of arguments that end with "we'll find something to do together".

Our media consumption habits probably aren't the core problem, being able to easily ignore the other person; because the barrier to entry to time wasters is so low, certainly doesn't help.
I always wonder how they look this stuff up when they're writing the research article. There's no database for the 'oldest plant to be sequenced' and whatnot that you can just look up. If you look it up on Google, who's to say your source is up to date?
I looked up US World News ranking methodology and, to your point, at least 40% is squishy measures like “peer assessment surveys” and “reputation”.

Others, like selectivity, are known to be gamed by encouraging students to apply even when they have no chance of getting in (which carries the additional income of the application fee).
After getting wrongly banned I tried to delete my account but it won’t let me because my account is banned. It tells me to contact them. Every time I tried I got a bot that said, “we reviewed your account and won’t unban you.”

I want them to delete my account.
Pass single payer healthcare so that being fired isn't a potentially life or death scenario and there may be some merit to your comment.

If people are safe whether employed or not then by all means fire at will. It's rude but not morally bankrupt in that case.
If you're leaving twitter, why do you care if someone grabs your username?

Test your convictions here: is twitter going to remain relevant or is it dead?
wow, this sounds like a very extreme case study. could you detail why it took many days to fix that door?
> Those who don't want criminals from poor areas coming into their neighborhoods should oppose all means of entry: close the highways too, and put up a gated wall.

As a matter of fact... https://www.npr.org/2020/07/05/887386869/how-transportation-...
Ok, so it proves that Earth is a black hole with the equator on the event horizon.
>if they had the laize-faire approach some western nations have taken.

Seems like a strawman to suggest that ending zero covid must mean going hands-off like "some western nations".

Also, "tens of millions" sounds like a lot, until you realize they have more than a billion in population.
I think monkey patching is a nice tool to have.
I once had to deal with a vendor provided gem that assumed the product was configured in a specific way (it was not) deep in an internal method. Patching that one method was all I needed to do to get it working.
Infrastructure and supply chain quality in China are on a completely different level to other developing countries. It's not really easy to break this coupling unless you're willing to make significant investments to partners in the new country. Samsung was forced to do that for Vietnam largely due to political instability. Now it's Apple's turn but it'll take several years to ramp up.