skysight-inc/HackerNews huggingface dataset:
Here are the most recent weights for official US CPI calculations: https://www.bls.gov/cpi/tables/relative-importance/2020.htm

Housing is by far the largest component (42%) (contrary to the common misconception that housing is not in the CPI), followed by Food and Beverages (15%) and Transportation (15%). If you want to up-weight food, you must necessarily down-weight some other component. The prime candidate would be shelter (most other categories are already much smaller than food), but that's of course not the answer that CPI-doubters are looking for.
I don't think that's how it works. People you perceive as "naturally thin" probably simply:

* are used to not snacking between meals

* eat when they are hungry, and stop when they are not

* do not drink (excessively)

* are more-than-average active

Calories add up extremely quickly and it's very easy not to notice if you don't pay attention. Say you have one Mars bar per day, as a snack - that makes a difference of 10 kg of body weight per year as compared to someone who skips such a snack (a back-of-the-envelope calculation).
XState is fantastic for isolated pieces of complex state. Like a UI widget with action driven changes or a user’s auth state or a bells-and-whistles API request. But it’s not a replacement for state management as such.

Here’s an example where I refactored a complex usereducer+context to xstate https://swizec.com/blog/react-context-without-context-using-...
Just a Big Sunday Mood
Google bought YouTube in ~2006. If Ruth Porat saw the amount that it bled in its first two years, they would have canceled it then too. GCP is questionable, they're falling behind.

I think the issue is that Google, at the high level, is incapable of thinking long term. It wants to see runaway success in a quarter or two.
Creating Responsive Data Visualisations
YouTube was a $15B business in 2019. Given that Google pays Firefox about $400M for search engine priority for its 4% market share, owning Chrome saves Google about $6B a year in payments for its 60% share. I bet that both maps and google apps for business (of which email is a core piece) are also quite profitable, depending on how cost accounting is done.

Why do you say they are in a "pretty rough spot"?
Those are all great products with excellent IP, but outside of GCP (and maybe a next-gen bet on Waymo), none contribute to revenue lines outside of advertising. In a way, this argument only further underscores the article's point.
I do not use React but I used concepts / implementations of state machines extensively in my native applications (GUI and backend)
The data are all over bls.gov, in far more detail than you will find convenient for processing. See my remarks down the page: https://news.ycombinator.com/item?id=26386293

If they're not giving you a one-page report on the methodology for how they arrived at each individual point-in-time price figure that they recorded, well, I'm sorry, it's true, their methods are in that sense "hidden".
Well there is safety critical work, it's not hypocritical that we dont allow drinking where we know it kills people.

Whats hypocritical is that safety critical work pays worse than being a useless busybody with an inflated title.
How do people separate emotions from sex (i.e. changing/leaving partners). How do people do it without (emotional) bonding with the other person? I always thought the act itself is strongly emotional, isn't it?

Will it be correct to say that cost of sexual freedom is emotional detachment from it?
So it's not 75 dummies, it's 75 people who have to please dummies who can't be just sent a wikipedia link for calculus? That's even worse!
> The government needs money to pay its loans that it took with interest, so what does it do? Detach the currency from anything tangible like gold or other precious metals, then print more money as it desires.

That sounds like a government problem--not a capitalism problem. Though I do agree that this is the heart of the fiat issue.
The terminal is an untrusted device. It would be much more secure if the details could be printed on my device for my confirmation. (It could then sign them to approve the payment.)

Of course this isn't how the payment system was designed as it was designed for cheap, simple cards. The saving grace is that you can perform a chargeback if the transaction is wrong. Not as elegant, but is basically as effective at the end of the day.
Why do you expect that? I've never seen a smartphone that behaved how you expect. Except for stuff like the pinephone, which couldn't be used as a phone for awhile.
If you refer to the communist dictatorship in Romania, well that didn't work out, but to say it failed because of the will to guarantee the basic needs to everyone, that would be a gross misconception.

Regarding Italy:

We have social housing that is crippled by bureocracy and corruption, you have to wait years in line to get a flat, so I can't really say we guarantee that.

We guarantee education, but we couldn't guarantee the same (good) level of education to everyone yet. Also we don't guarantee post high school education. If you need to work because you're poor and you don't have time to pursue a degree, that's mostly your problem.

Food is not guaranteed either, although we have several monetary aids to partially reduce the issue.

Healthcare is guaranteed, and excluding waiting times that are a bit long, I can say that healthcare really worked well for us. Nothing is perfect, but nobody is left to die because of preventable disease. No matter how poor you are, you will be treated.

So I wouldn't say in Italy we ever experienced what I propose, just a tiny taste of it.
This 100%. A lot of people working with code are folks who code as a means to an end rather than as a craft unto itself, and these folks are important because they often have expertise in a domain other than software engineering. Python hits a sweet spot in terms of power and ease-of-learning/ease-of-use that makes it incredibly well-suited to these types of users.
Congrats on the launch! I work for a video-chat startup as well, and although we’re focused on synchronous rather than asynchronous, maybe my perspective will be useful.

In the “Woice” launch-thread, I noted that the power of voice-communication is in its real-time feedback loop that is like a collaborative search algorithm for both identifying and solving problems. My concern is how to keep that algorithm operational while losing the efficiency of real-time feedback.

I think the answer might come from my latest Slack irritant — that threads are only one-level deep. A deep conversation is just as difficult to hold over Slack as it is in real life, as it forces conversations to be linear and single-threaded. Due to that, it is common to “lose the thread” of discussion.

With async communication, it is possible to have a multi-threaded non-linear conversation. While losing the efficiency of being real-time, nested asynchronous communication could enable a broader search space.

A few commenters have mentioned Loom. But imagine if you could reply to a timestamp in Loom with your own video rather than an emoji. In a normal face-to-face conversation, you would interrupt someone to make a comment or question, and this would often change the course of the conversation.

Although face-to-face conversation is on the surface single-threaded and linear, I think good conversations actually hide the non-linear threads in people’s minds as the discussion alternatives between meandering and refocusing, enabling a wide-ranging conversation where many topics are examined and ultimately synthesized. The original thread is never lost even as other threads of relevance come and go.

So that’s my two-cents and I hope it’s helpful: to keep in mind that synchronous communication is only apparently single-threaded and linear, and that when moving to asynchronous you might want to explore how to retain (if not amplify) multi-threaded non-linear communication.
Anecdote.

I also learned to do this from my father, who was a trial lawyer. When I joined the US Army, I regularly got 'smoked' in basic training for talking with my hands. I stoped doing it for several years. A few years after leaving the Army it came back subconsciously.

I also attribute much of my persuasiveness to my ability to convey a story in an animated fashion.
There are some pretty good articles and videos about the subject; some random points:

Puritans, who believed that sex was sinful and suffering was noble.

The likelihood of something happening in real life. Most people will live their whole life without getting into a violent situation, which keeps it a fictional one, but almost all will be confronted with a sexual one. Violence in media will not beget violence in real life, generally speaking (if it did, given how much violence there is in video games and movies, we'd have a Problem), but sex in media will normalize it. Or that's the theory anyway.

Another one: Sex is always happy, a happy relationship, people looking pleased with themselves after the saxophone-music-pan-out smoking a cigarette (to invoke the 80's trope). Violence is almost always bad, the hero in agony, the bad guy coming to a gruesome end (falling off Nakatomi Plaza, into helicopter blades or a jet turbine, getting roundhouse kicked into defeat, etc), etc. It's a punishment, whereas sex in a film is depicted as a reward. Generally speaking.
This makes me think of a AAA game I was part of where, in early production, it was announced we would target an older audience to be able to stay true to what we were depicting. The art director said not to worry about sales because our actual fan base was adults, anyway.

And then, slowly over the course of the project, the targeted age rating kept decreasing because it was projected we would then sell more.
Since when is a compiled language with JIT/AOT toolchain slower than an interpreter?

They reach for VB.NET when there is nothing left for VBA.
https://news.ycombinator.com/item?id=26386135
On a tangential note, wonder how much emphasis Apple will put on the TV+. I doubt it’s popular and whether people actually want to sign up for it. Are there numbers out there for the subscribers for it? How many are paying customers and choose to stay on after the free period is over?
It’s a good idea; every React dev struggles with these questions at one point or another. Keep it up!
Ask NH: Where to go from Front end Development?
Hi, NH!

I'm a frontend developer in my mid-thirties with more than five years of experience and a CS degree. Mostly, I have been working with React, Redux, and its ecosystem.

Currently, I am working as a frontend developer with an average salary in one of the top IT companies in my country.
In the past several months, I've been asking myself the same questions, "What's next?" and "What skills should I gain to stay in the game as long as possible?". I am pretty bored with my daily tasks which fill my whole working day and drains my energy, and sometimes it feels pointless. So I think there's nothing for me there.

Therefore I think about switching my career from Frontend Developer to a new role. It might take a lot of time and effort, but unfortunately, I don't see another way. I have no obligation except to choose the right goal and move towards it.

Now I'm considering several options:

1. machine-learning. In 2012 I took the Machine Learning online course by Andrew Ng and the Artificial Intelligence online course by Peter Norvig. It was hard and very interesting. These courses left the brightest impression on me.

2. product manager. Yes, it is not a technical role. But I'd like to dive more into the business part of the project. It will help me to gather new skills which will remain useful in the future.

3. change project or company or even country and try to become fullstack developer. But I don't understand where will this take me in 10 years.

What do you think?
Have you ever change your career path or role in your mid-thirties, and how it's going?
Unfortunately, that is not the attitude that ended apartheid in South Africa and it is not the attitude that will end the Israeli apartheid system.
I see what you’re saying, I could certainly be overconfident in my own ability to spot masters of the craft, as you put it.
They differ in magnitude, and (according to some) duration. Roughly speaking, a depression is a loss of more than 10% of economic output:

https://www.thoughtco.com/difference-between-a-recession-and...
Bad move. Malala isn’t trendy anymore.
>Today, there are people that live wholesome lives with multiple consensual sexual partners, search for polyamory.

"Wholesome" as self-reported in their merry period.

And getting that to work as random pockets of individuals here and there is different as having it be a stable basis for society.
Not familiar with that course, but there are definitely applications for proof-writing to show that code does what you expect and/or satisfies certain properties - the seL4 microkernel [1] is probably the highest-profile example - but it quickly becomes impractical beyond small programs, or if the code wasn't written with proving in mind initially.

IMO the most "practical" application for those methods is in strengthening type systems to allow more expressive constraints - one small example that comes to mind is Idris [2] allowing you to explicitly mark certain functions as total [3] and fail type-checking if they don't return a value for every possible input.

The main thing to keep in mind with TLA+ is that it's not really meant for validating code, it's more for showing that your design is consistent and satisfies safety requirements (e.g. "no temporary node failure should result in data loss"). However, having a TLA+ specification usually makes the implementation fairly straightforward, especially in languages/environments with message-passing concurrency.

You can use TLAPS [4] to write proofs-by-induction similar to yours for TLA+ specifications, but IMO the real power is in model-checking them with TLC, which gives you a lot of the advantages of formal methods with much less proof work.

[1] https://github.com/seL4/l4v

[2] https://www.idris-lang.org/

[3] https://idris.readthedocs.io/en/latest/tutorial/typesfuns.ht...

[4] https://tla.msr-inria.inria.fr/tlaps/content/Home.html
I do wonder about GCP. Microsoft and Amazon make money on their cloud computing, while Google is losing billions on GCP every year.
Depends on which way the power flows. Perhaps if Israel becomes depended on European electricity some of its more offensive behaviors can be moderated.
> If you believe someone's genitals determine how they should be treated socially, you are being transphobic. I personally think that is a stupid standard, but that is the standard that has been set for transphobia.

I cannot tell if you're trolling or just intentionally ignoring all the related nuance. You must understand there are some circumstances when it is acceptable to acknowledge that a trans women has a bio male body.

According to this "trans women should always be treated as women in ANY context" opinion what is a doctor to do when a trans women gets prostate cancer? "Sorry, that's a man-only disease, and you're a woman, so it's impossible you have it"???
This was annoying when gas prices were very high. We had a van with a massive tank and the pre-auth wasn't enough. We would hit the limit and need to drive to the next pump to continue.
European Super Grid
Show HN: OpsDrill Incident Response Escape Room
Hi HN, I'm excited to share a playable, but early prototype.

I have been coaching software teams on how to do better incident response during their on-call shifts.

I built a game that is a mixture of realistic and puzzle game elements, so that a team can practice resolving outages and working together.

I'm trying to help Incident Commanders, SREs, DevOps, and service engineers who have PagerDuty.
I have a pretty imperfect understanding of inflation, but wouldn’t increased food and energy prices mean that a consumer will have less money to spend on discretionary purchases? Ie, aren’t food price rises DEflationary?
Yo that's my hacker news screen name :D
I'm not going to debate US politics with American but this page [0] shows me Israel is not exception in American policy. As I said before probably one of the few successful attempt to encourage a democracy.

[0] https://en.wikipedia.org/wiki/Foreign_policy_of_the_United_S...
There is a parallel here with Boeing and 737 MAX. In both cases an executive or high-level manager interfered with the engineers.

In the case of Boeing it actually started right from the beginning with the decision to create a kludge based on very dated designs to try to meet new requirements and save a buck rather than create a new design.

Engineers should be in charge of engineering companies and they should also continue to be incentivised to operate as engineering supervisors in those roles rather than just salespeople or accountants.

I actually think it's not just the people or the incentives but the nature of money. It's a fundamental technology but I think we should find ways to upgrade it as a high technology so that it integrates better all of our values that might not currently be in the bottom line.
>Will it be correct to say that cost of sexual freedom is emotional detachment from it?

Yes, that's what several generations had to discover.
The Tidyverse is great, but vanilla R is a monstrosity. After five years of heavy use, I still don't really understand the random idiosyncracies of its various types. Arrays and lists and dataframes and tibbles are confusingly named, and operations that work on one type often balk at the others, without telling you what's wrong. I have lost many many nerves with it.
An Upgrade to Reduce the Supply of Ethereum Gets a Launch Date
"The proposal reduces the volatility of transaction fees by burning the fees, paid in ETH, instead of paying miners.

Although miners will lose money, analysts think that the upgrade could pump the price of Ethereum and make it cheaper to use."
>Because I'm responding to the very top comment about assuming good intent and the people already agreeing with it. I'm not arguing that what happened in the article is verified true.

And this is the frustrating part about this terrible article. There is simply not enough information to make a value judgment. The principle of "assuming good intent" may be a great general principle but of course, it will not and should not apply in every situation. Should it apply in this situation? I don't know. We're left having to speculate because the journalist in question didn't even bother to do basic due diligence.

>I made no claims. I asked the question.

OK I answered.

>Then you're just assuming good faith on behalf of the offending party

Like you, I made no claims either way. I wish journalists would be more responsible.
The call to action for a Coca Cola commercial is go out and buy Coca Cola. What’s the call to action for NFL players wearing pink gloves?
Surely a prestige piece for Apple, but it's kinda unfortunate it will go their profit-making venture and not to some public media.
Save the money in a way that encourages economic growth (buy stocks, invest in a small business, etc).
Dupe: https://news.ycombinator.com/item?id=26382633
They said the costs are increasing due to the data centers they are building. Their revenues have been increasing at a steady tick and if you check their blog they seem to have a steady stream of new customers

https://cloud.google.com/press-releases
I wouldn't call it 'both sides'. For one, there are more than two sides. For the other, George Sergin is very much some-kind-of Austrian. Perhaps the most interesting one.

See also eg https://www.alt-m.org/2015/07/29/there-was-no-place-like-can...
I don't think they were looking for serious advice on removing the icons, but simply lamenting how absurd it is that multiple of the default apps on a phone released nine months ago are now broken.
"I went to Stanford, how do you feel about the quality of the CS program at Howard? Why would you not apply to Stanford?"

... or any variation thereof is entirely a useless, antagonistic interview question. A school's relative "quality" holds little relevance to the applicant's merit. And the claimed comments that interviewers would imply, or outright state, that perhaps the applicant should have gone somewhere other than a HBCU are a varying combination of elitist, condescending, ignorant or racist.
it's almost time to eat the rich
Alternatively, the saudi government moves to Solaris because Oracle will run an office in the country if they buy enough Oracle Cloud licenses.
What's nonsense is dismissing the idea and the work that's been done because there are people looking for a cash grab. Following from that logic, you should throw your routeur in the garbage dump. After all, the early days of the Internet were filled with shady companies selling buzzwords. So the Internet is by essence trash, right ?

NFTs are revolutionary for digital assets and allow for something beyond the world of licences as well as much greater scaling.
nah, if anything aggressive financial models seem to work better, because they increase the limit of what people spend on a game. People pay $30 just to own a mount now; and its easy to make a lot of mounts for people who buy them. A fighting game like Dead or Alive costs you literally a thousand dollars for a "complete" version with all DLC. To the point where they just toss the base game for free.

Something like Genshin Impact prints money hand over fist compared to other games. If anything, the worry is that it works too well and drives out less aggressive games.
> Does it survive contact with reality in KSA (and other locations that don't share western liberties)? What is the internal messaging to employees of multinationals investing so much in DEI when they work in (or travel to) KSA?

Was that not enough information to tell, at very least, that KSA refers to a location?
aah no worries about that, I didnt take it as snark :) I was asking the original OP since almost everywhere I had seen them as #3.
Ten Years After Fukushima
Oops. Misread that American comma thousands separator as a decimal one, thinking it was close to 50%. That makes a huge difference.
Yes it is a move of insisting that his wife take more power. I think it is very noble.
It massively hurts readability and can quickly become messy in my experience. If you're running on multiple targets and testing on host, then you have an #ifdef spaghetti in no time.

In all the codebases I have worked on, they started like this because it is easy, but then moved on to interfaces/templates because maintainability is an issue with this method.
This used to be common with tips at restaurants. The would take your card to the back and swipe it, then come back with the receipt. The receipt had a box for a tip. When you left they would then charge the card for the total including the tip.

With chip cards restaurants now tend to bring the card machine to the table. This way you can enter the tip on the machine and complete the payment without the card leaving your hand. I don't know if this is because the machine is there anyways or because chip payments need to know the amount when the transaction is authorized.
So they're forcing me how to spend my money. What if I don't want to engage in interest (practically all companies deal with interest in one form or another), so when I buy their stocks I'm dealing with interest in some form.
Wow, I'd like to hear more about the subsea cable [1] technology used. In terms of economics and geopolitics, this sounds like a win-win scenario. Perhaps necessity will force the eastern Mediterranean to re-emerge as an economic powerhouse. Southern Italy, Croatia, Turkey, and Egypt should pay attention.

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