skysight-inc/HackerNews huggingface dataset:
Ask HN: Can you trust a Chinese phone after replacing the OS?
Xiamoi makes some amazing phones at an affordable price point. They also tend to use flagship Snapdragon processors and release the device tree and kernel source making third party ROM support much easier.

I would like to buy one of these phones with the intent of installing ASOP or lineageOS. I don't mind maintaining the kernel branch myself and backporting fixes. I understand that there are proprietary blobs that run in userspace but I would trust these as I would get them from Snapdragon's official BSP website: codeaurora. I would remove anything that isn't necessary.

Since I am very nice in this field, I had a few questions:

1. Is it possible for Xiamoi to place a hardware backdoor? Or would this be near impossible to do at a large scale especially when using an American SoC?

2. I notice that the firmware for various chips are loaded from the Android image on boot. I assume this is because it's cheaper and allows firmware to be updated. Are there any components in a normal phone where the firmware in some read only flash? This would mean flashing a new ROM/OS would not remove this firmware.

Please note, I am looking for reasonable security. I am not a target in any way so it's unlikely I would be targeted specifically. I just don't like the idea of backdoors and/or malware calling home.
I do agree with you, but if 2008 primary hadn’t happened I don’t think anything he’s done since is notable enough that we’d know who he is.

Just a guess though of course.
Discussed here: https://news.ycombinator.com/item?id=33055100
Writing good titles is pretty difficult. There's lots of SEO advice on title crafting, but not a lot of advice on writing titles with standalone narrative value, since that doesn't generate ad revenue.
I know this is HN, but that guy yelling

"WE GOT WEIGHTS!" felt out of a movie. Those dudes were MAD.
Same.

It took working at a social media company on ad ranking to make the thing stick; I saw how much effort is going into putting stuff in front of my brain that is sorted in terms of the likelihood that I will react to it.
In my experience this site is way more reliable and responsive than almost any other site on the internet. I often click the comment link instead of the main link because the main link is going to send me to some overstuffed landing page with ads and crap like that. Hacker News superpower is it's leanness and kiss approach. I say if it ain't broke, don't fix it.
Many companies are OK with distributed systems but they don't wanna invest the resources to set up proper observability and monitoring.

At those companies fixing a bug that would be relatively straightforward with a monolithic architecture is a humongous pain in the ass.

Technically, programming is not more difficult than it used to be. But in practice it is, due to how expensive and complicated it is to know what is going on, and how little the average manager cares about it.
> But further, I’d never seen the statement from antiracist before…wow. The idea that the only cure for discrimination is discrimination is akin to saying the only cure for violence is violence. It’s abject insanity that such a notion is being advanced in society.

This has been the way it's gone since Kendi wrote How to be an Anti-Racist. It is racism by any other name whether somehow "justified" or not. The books in the catalog of anti-racism include great hits like "White Fragility" further exemplifying the movements innate hatred of a certain skin color. The more you go down the rabbit hole the more you realize it's been a movement to transfer all problems other non-white races have onto white people and use that to promote what is objectively racist and bigoted language and methodology. These "authors" (I use that term loosely here, they are racist demagogues) are a key driver of so-called "diversity hiring" and an overall more difficult workplace because now anything can be conceived in their framework as some sort of anti-PoC swipe. This concept of "increasing representation" has in many places replaced the meritocracy. If anything, this type of movement has an overall negative effect (as exemplified by the pejorative "diversity hire" to refer to a person who is undeserving of their position).

It's not uncommon to get silenced for having the above view of anti-racism though a cursory view of the movement will lead you to the same thing. The reason you are just seeing this now is we've reached the point the average American realized "anti-racism" is cleverly designed newspeak and it's supporters are becoming more fringe by the day. In fact, commonly, criticism of the movement is associated with "marginalizing" the experiences of "people of color" which creates a situation where the movement can do what it wants because the opposite of anti-racism, is, of course racism (in English). If you're criticizing them as the wrong skin color you "benefit from power structures designed to empower white people". There's no winning with them, and that's why the movement has taken so much ground. No one wants to be accused of racism so you end having to do all sorts of backflips through flaming rings just to show how not-racist you are.

I don't have a solution to whatever perceived slights other people feel. I do know that targeting a group of people for punishment based on their skin color is wrong regardless of who it is or what they are.
She said a lot of things. Many of them made no sense. For example, “I thought you had ace high!” as an explanation for why she called him while she had jack high.

It was either a colossally dumb mistake on her part followed by implausible explanations or she bet a ton of money somehow knowing she had him beat with jack high.
YES! I got mildly irritated using that clunky list.
It never occurred to me that one could call it marzipan if it were not made of almonds. I think people in Europe would probably object. I would certainly feel inclined to return it to the shop along with a complaint if I discovered that it was not made of almonds.
Most of the names are sorted! Scroll to the very end...
> You're looking at the Rust reference right?

Not normative, as stated here[1], linked from the page you cite.

[1] https://doc.rust-lang.org/nomicon/index.html
From IBM management's point of view, I think, the easy win was that even though they discovered RISC in 01974 and shipped it in ROMP in 01981, their competition didn't ship RISC until 01985, in the form of the janky MIPS R2000; ARM 2 and Fujitsu's SPARC MB86900 didn't ship until 01986.

Frank T. Cary and John R. Opel, who led IBM at the time, couldn't care less who young engineers in 02022 revere. Not only are they both dead, but also even at the time their objective was making a lot of money, not fostering engineering excellence, or garnering admiration for their minions.
Move to higher altitude

Marry someone way younger

Be religious

Walk a lot

Fast sometimes or often

Be close to parents relationship wise

Use moisturizer even in 20s

Donate blood or plasma

Keep carbs very low

Always be learning something mental and something else physical

Eat organic

Reduce omega-6 (grass fed meat has less of it AND AVOID all vegetable oils)
I agree with you if you mean that the individuals that first do the targeted group violence are the bad guys. But not if you generalize blame to the group.

Just about any large group of people, whether defined by by race, religion, nationality, or creed, will have bad individuals in it. And so the bad guys can almost always point to people from the other group that "started it".

When someone from the out-group commits an atrocity, it is just more proof of how bad that group is. When someone from the in-group commits an atrocity, it is an exception.
Just announced? Ubisoft+ on Stadia was released like in mid-2021.
Thanks!

If you have any relevant information, would you care to elaborate more on why is it considered industry standard and how did it gain such status?

This is the first time I'm hearing of both the author and the book (which probably says more about me), and it seems kind of odd that the definition differs from what is usually taught in class (at least mine). Of course, it wouldn't be the first time that popular use of some word differs from its original intended meaning, but I'm just interested in the wider historical context.

Thanks again.
Module Federation for distributed front ends – the best of both worlds?
Exploring how we can enable independent release flow in the modern web application
If it’s cheap, go for it. I wouldn’t spend significant dollars as carriers could banish Chinese phones at any time.
exactly, see the README on how to do it. I am not taking responsibility if you do it with HR though
They’re not oblivious, they just don’t care. They’re in extraction mode in the US, the money is going to be reallocated to higher growth regions like China, India and Africa.
I wonder how private universities really are, given the reliance on government backed loan structures and NSF grants.
> Far more likely was she misread J4 as J3, especially as she literally said “threes are good, right?” during her deliberations.

If you watch the video, you'll see that she knows that she doesn't have a 3 - she checks her hand before she calls and also a player at the table asks her if she has a 3 and she says no. Then afterwards she did an interview in which she explains how she thought she had a 3 but that doesn't match what she said at the table.

> She was only 47% to win the hand after her call of the all-in bet and while the play was marginally +EV, it wasn’t much.

It's not marginally +EV to call given the pot odds and she doesn't need to know her exact equity to be cheating, she could be getting binary "you're good" / "you aren't good" signals (and that's much easier to transmit and read without being noticed).

The play on the turn is way too ridiculous. The other thing is why did she return the money after the hand if she won it fairly? Sure, maybe she was intimidated but to me it looked like she cheated, she realised that she's in over her head and tried to make the whole thing go away by returning the money and coming up with a story about the hand she thought she had.
Yes it definitely serves a valid use-case, I feel like someone should try and bring some competition there. A modern equivalent with fewer gotchas, maybe in Rust/Go, maybe using a fuse mount and content-defined chunking (borg/restic/...-style) would be amazing.
"It had also not been shared with longtime Stadia partners, big devs like Ubisoft and Bungie...But Google didn’t even tell their own Stadia team until the day it was announced, so really, no one knew at all."

Hard to tell if this is incredible mismanagement or sheer arrogance.
When you (sarcastically?) said "That's right, CEO needs to focus on those quarterly numbers" it seemed like you were implying that this was someone's argument.

As no one is making this argument, it's rather hard to continue the discussion past that point but I will try. I agree that the CEO can actively seek out new owners that more closely match the CEO's vision, but even then they are working for the existing owners (who must agree to sell) until it is sold, at which point they will be working for the new owners.
I’m inclined to agree. I also feel SO gives newbies the wrong impression about programming.

It’s great to have quick solutions to small problems, but too often newbs stop with the SO answer and move on, which means while they’ve solved their problem in the moment they never spend the time to actually learn the underlying reasons why the solution worked or explore the issue deeper to actually achieve understanding.

The good software engineers I know are all yak shavers. They’re willing to spend extra time learning how something really works and ensuring they fully understand an issue and its solution, even if the issue is just a small part of what they need to accomplish.
> Patent attorney

Interesting career move! Are you using your software skills in any way (ie does it involve software patents?) or was it just a hard gear shift because of other interests/factors?
For those who don't know:

time*n is linear in time and n, but ther symmetry stops there.

time^n is *geometric* (or polynomial) growth over time.

n^time is exponential in time.

time! (factorial) doesn't have a common name that I know. It is (in the long run) faster than any exponential growth.
Hacker News is a relatively lightweight site. It has no images and only serves text.

Adding a CDN would also complicate things, especially for logged in users. HN is server side rendered so they’d need to implement someway to bypass the cache for these users.

Plus, as the site is very discussion heavy, it’d need a very low TTL for cache expiry which would reduce the benefit.
Healthy 50 year old here.

I see a lot of good advice in the comments but the one I don’t see which has had an amazing effect is an annual (or perhaps once every 2 year, if you’re still in your 20s) physical exam with a good physician.

My physician is an accomplished runner and we geek out on things during my physicals. He goes the extra mile on stuff like blood tests as indicators and whatnot.

Aside from that I’ve traditionally been into extreme endurance sports and while I wouldn’t change a thing, except perhaps doing more when I was younger, I’m questioning whether that’s wise or sustainable (injuries and wear-and-tear) for my ongoing health at this point.

It used to take a day or two to recover, but as I get older, it’s in terms of weeks not days.
The c64 opened to a prompt you could easy program vs a browser which could lead you to a programming site.

qBasic was installed on windows machines and didn't require the internet.

People on mobile don't have a keyboard that makes programming fun.

You needed to program to get your computer to fully work before.

It was easier to learn before because you had to and programming was part of operating a computer.
> I have yet to see good evidence IQ tests measure anything more than "how good at IQ tests you are",

See, for example, Schmidt, F. L., & Hunter, J. (2004). General Mental Ability in the World of Work: Occupational Attainment and Job Performance, cited 1600+ times:

> The psychological construct of general mental ability (GMA), introduced by C. Spearman (1904) nearly 100 years ago, has enjoyed a resurgence of interest and attention in recent decades. This article presents the research evidence that GMA predicts both occupational level attained and performance within one’s chosen occupation and does so better than any other ability, trait, or disposition and better than job experience. The sizes of these relationships with GMA are also larger than most found in psychological research.

One main reason why you might not have seen this is that you didn't go out of your way to find it, and the mainstream publications systematically hide, distort, and often blatantly lie about the existing evidence.
Analyzing Tesla AI Day: Language models and computer architecture
related discussions:

https://news.ycombinator.com/item?id=32265000 (Yes, social media is undermining democracy)

https://news.ycombinator.com/item?id=25021503 (Ask HN: Instead of picking a party, why can’t we vote on issues)

https://news.ycombinator.com/item?id=21325295 (Ranked-choice voting is on the ballot in New York City)

https://news.ycombinator.com/item?id=12950566 (Maine Ranked Choice Voting Initiative Approved)

https://news.ycombinator.com/item?id=27597662 (What is ranked-choice voting and why is New York using it?)

https://news.ycombinator.com/item?id=24943441 (Maine Becomes First State to Use Ranked-Choice Voting in a Presidential Election)

https://news.ycombinator.com/item?id=31502540 (Ranked-Choice Voting Is More Democratic, Not Less)

https://news.ycombinator.com/item?id=9477747 (Quadratic Voting)

https://news.ycombinator.com/item?id=18391757 (Instant runoff voting is the system we need)

https://news.ycombinator.com/item?id=24561551 (Ranked-choice voting will be used in Maine’s presidential election, court rules)

https://news.ycombinator.com/item?id=2484677 (A “perfect” voting system)
Investors beware: Crooked financial advisors can slip through regulatory cracks
Oooof. OK, thanks for delivering.
I gained 80 pounds last year and got a 50% raise!
10 years experience is likely senior engineer, so $300-400k total compensation. Staff would be $500-600k, principal probably $900-1000k (I think about 10% of total engineers are >= staff and maybe ~3 >= principal)
Yeah, my first thought was <map>, then I moused over it and noticed how utterly trivial this would be to re-style in comparison.

This is a good approach, I think. It's kinda fine-tuned for reMarkable output, as it's mostly pure black or white pixels, but clearly they're fine with that. And the end result works quite well, and seems as easy or easier to implement.

This is all also kinda made moot by there being a link to an excellent transcript at the bottom. Accessibility needs are better covered by a straightforward alternate page than <map> alone.
Is there more clearer way to send a message “Working with Google does not pay off?”

Google can roll in its arrogance as long as there is no credible search engine competitor or it is chopped to pieces with competion laws.
Hah, exactly. I always check out the first couple of comments before diving into the 10+ MB website.
For children born deaf, sign language can be (and should be) their first language. It turns out, incidentally, that a baby’s ability to form signs comes earlier than their ability to vocalize, even for hearing children, so there are benefits for using sign language even with hearing children. My children learned some basic signs as infants (water, bathroom, more). I really need to get on the ball about learning ASL properly (and my family as well since they’ll need it just as much as me) since my cochleae are on an ineluctable road to deafness and at some point, maybe ten years, maybe thirty, maybe never, I will be unable to hear instead of being merely hearing impaired.
Not at all. We want companies to leverage economies of scale. Efficiency should bring competitive advantage. Google often invests in datacenters in places based around where it's cheaper to power and run them, often owning the energy production.

This is a good thing
Another example: Persipan (https://en.wikipedia.org/wiki/Persipan)
According to the Encyclopedia of Parallel Computing (mentioned in one of the sibling sub-comments of my original comment), you and I are both wrong in what we consider a "race condition". Of course, whether or not the source is an authority on the subject when the popular usage of the word refers to a different concept is questionable, but there's at least a possibility that we're both wrong.

Regardless, that's still one more reason not to be unpleasant to people when correcting them - you might just find yourself in the wrong.
Okay? Do you think you have you quibbled enough? To be clear, I still think it's fine for Wedson to inform him even if the document is not a normative reference/specification? Even if these are just the expectations of API/Rust users?
This is a good explanation.

Newbies drop directly to webpack/react and are overwhelmed or having a lot of trouble getting some details right.

Unfortunately a lot of details that are lost in time are accessible if you go through "build stuff basically from ground" so understanding first "why" we needed these frameworks and what were problems to solve.

There is also bunch of people who go to rediscover basic stuff and they claim "you don't need a framework - vanilla js is enough" - but they also miss context and did not run into problems that were pain points before we had frameworks.
The current events aren't really new though. Universities have been getting steadily more left wing over time, and there's no clear waterline at which point it became 'religion'.

So this can easily be taken as an argument that governments should be divorced from academia. No grants, no student loans, no degree requirements in public sector jobs. Which would be fine, I think. The arguments for why governments should fund academia look very weak these days. It was supposed to be about long range research that the private sector wouldn't fund, but what we see in practice is the private sector funding ultra-long-range research like self driving cars, AI, etc whilst public funding gets guzzled by oceans of non-replicable P-hacked ideology driven pseudo-science. And as for education, well, researchers often don't make the best teachers anyway.
Programming has turned into gluing together mystery meat. You can't make a business case for essentially writing every library you need. It would take too long to have anything like modern stuff. So you always deal with a huge pile of unknowns all of the time. The job consists more of the meta-skill of navigating unchartered waters intelligently, but you get dinged for doing the real job and people doing a terrible job get the rewards. The bad people glue the stuff together without trying to understand it, don't document stuff, pull in any dependency that gets them closer to their goal, and put up a victory flag when the thing does what they want it to do. Then the war goes on day by day dealing with under-documented stuff and a giant pile of dependencies with no internal logic. The hero goes on to do it again, and a team of saps tries to make sense of a Gordian knot for the rest of the product's lifetime.
Showing videos /= what Tesla did with this press release event.
Engineering Leadership in Action. A Framework for Engineering Management
Medieval Dancing Mania
Well if these issues are as universal as they say, continuing across decades and very different cultures and educational systems, then it seems likely that it's just an inherent fact about humans that only about a quarter of them are able to understand the concept of rational numbers.
> I think it's a fair characterization of what was said.

I think inventing Linus quotes is unfair.
But, most importantly, did the orchestras sound better?
https://www.youtube.com/watch?v=IdWmulnsVQw

I found this channel last week at a friend's recommendation, here's his video on nougat. Really interesting to see someone show the reasons behind industrial food production without the automatic condemnation that usually comes with it.
I found this to be hard-ish to get started as well. However, it turns out you just need to write your program to be performant, and know a few tricks to tune the OS and the scheduler. After looking on the internet and failing to find material about this, I wrote a series of blog post for this topic recently, starting with this post: https://shuhaowu.com/blog/2022/01-linux-rt-appdev-part1.html

The series is mostly complete, except one to two posts on more advanced topics like validation and lockless programming.
I'm in the US (Northeast) and have no idea what you're talking about, marzipan isn't especially popular in the first place but where you do find it it's almond by definition. But usually you just make it yourself from almonds if you need it for baking since only specialty stores usually carry it. (E.g. it's not at Whole Foods.)

I've never even heard of making it with a different nut. What part of the US do you live in that you're eating a peanut version? What's it called? (Brand name or candy?)