skysight-inc/HackerNews huggingface dataset:
> Is this password-derived key the "account key" which I see in the Proton Mail settings interface?

No, the account key is an OpenPGP key which is encrypted with a key derived from your password. The "key encryption key" is not separately visible. The address keys are in turn encrypted using the account key. (The account keys are also used to encrypt your contacts, for example, which are shared between all your addresses - while the address keys are specific to an email address and are used to encrypt emails etc.)

> Please clarify what key derivation function is being used.

We use bcrypt, in addition to the OpenPGP S2K (i.e. the bcrypt output is fed as the "password" to OpenPGP's key encryption).

We are in the process of rolling out updates to OpenPGP.js and GopenPGP which support Argon2 for the OpenPGP S2K step, after which we'll start using that - but we aren't quite yet.

> Are there instructions for verifying that all this is happening? I think a lot of folks on HN won't be convinced otherwise.

Take a look at https://github.com/ProtonMail/WebClients/blob/main/packages/..., for example. Though to be honest, if you want to verify that we aren't sending the password to the server anywhere, in principle you'd have to check the code of the entire web app (or whichever app you're using). It's all open source, but it's a lot of work, of course. But you can also check the latest audit report: https://proton.me/blog/security-audit. They also verified all of this stuff.

> It's just that I'm going to create an OpenPGP identity for things like signing code commits on git, signing packages I publish. (...) So I was really hoping to be able to use Proton Mail with this identity instead of the key pair that's generated for the account.

Yeah, I understand. Though the typical advice from a cryptographer's perspective would be, it's better to use separate keys for separate purposes; and the simplest way to do that is to generate separate OpenPGP certificates, so that's what we'd generally recommend. But, if you want to generate separate subkeys and sign them all using a common primary key, that's also reasonable enough. And, we can improve the documentation on that, although it's a bit of a niche use case (not for HN of course, but for the general audience it is).

> Thanks for reaching out here on HN. I've been a really happy Proton Mail customer and now I'm even happier.

Thanks, glad to hear! :)
If you crank the speed up 2x you’ll also be speeding through the important parts. I feel like all of this drive towards AI “summarization” is really framing the problem incorrectly. I want all of the filler removed, and just keep the necessary bits.
I don’t think it failed yet, but I’m not renewing my subscription, gifted to me by a friend, for the following reasons:

1. Too many game choices without having to think about spending money for each one is very expensive when the currency is time.

2. Video games will never be Microsoft’s primary business, while video game players and makers are Valve’s. This is why Steam is so much better than Xbox/PC Game Pass.

3. It’s bloody difficult to take screenshots!
The reality of which was best summarised by https://xkcd.com/635/
Other than the trademark and brand recognition, is there anything remaining that a US company would want to purchase and be able to use and support? Is the source code written in English? Is TikTok using operating systems, software, scripts, etc that are only in common use within China and don't have ready replacements that a US company would want to alternatively use? Any proprietary software in use which is owned by a Chinese company that doesn't want to sell it? Has the Chinese parent company written excellent documentation in English that could be provided to a successful bidder to get a US team of developers ready to operate and support a sovereign US instance of TikTok?

Due to these likely and insurmountable problems, it appears that TikTok is already practically "banned" with 9-12 months notice period. "Banned" perhaps not in the sense of users being unable to access TikTok as hosted in data centres outside of the US (related: Apple being pressured into allowing sideloading), but perhaps "banned" from the perspective of sanctions blocking USD$16 billion in revenue in the US, and similar impacts to European revenue, etc.[1]

Will TikTok want to host offshore and cater to US/European customers even though they may receive no revenue from these customers due to financial blockages?

[1] https://www.ft.com/content/275bd036-8bc2-4308-a5c9-d288325b9...
Another issue is books are too long. Especially non-fiction books. Book publishers know no one is going to buy a 50 page book, so there has to be filler and excessive detail to make a book long enough to be sellable.

It ends up just being the same thing over and over again. The author explaining minute details about the day they interviewed someone, what the weather was like, extreme details of the interviewee's facial expressions. The author somehow managing to fit the Stanford Prison Experiment in the book. The author going into excruciating detail about the scientific method. The author giving an unnecessary history of the topic back to when humans were hunter gatherers.

It has been a very long time since I came across a non-fiction book that didn't feel like it could've been 50 pages long. I end up giving up a few chapters in.
OLED will use less for a screen of black and LCD will use less for a screen of white. Now, take whatever average of what content is on the screen and for you, it may be better or may be worse.

White background document editing, etc., will be worse, and this is rather common.
The "point" of the whiteboard interview is to see how you think and converse and interact around your coding process, not (necessarily) how accurate/good you are at writing the code. You could write pseudocode that can't compile, and as long as you can explain the algorithm and talk about its complexity you could "pass" (in theory)

Screening interviews do take place in a shared doc or other editor, I believe.
Isn't ventilation most of the time built into offices and hence much better than what you can get in most residentual buildings?
One party rule is almost never a good thing over the long run as politicians tend to become more self-serving and corrupt the longer they don't have to worry about being held accountable to voters. Instead they worry more about being accountable to their party leaders and funders who try to maintain the status-quo. Not sure the duopoly we have in the USA is preferable compared to say a robust democracy with smaller parties forming coalitions.
At this point I don't think the frustration has much to do with the performance but rather RAM is so cheap that intentionally creating a bottleneck to extract another $150 from a customer comes across as greedy, and I am inclined to agree. Maybe the shared memory makes things more expensive but the upgrade cost has always been around the same amount.

It's not quite in the same ballpark as showing apartment or airfare listings without mandatory fees but it is at the ticket booth outside of the stadium.
This is not a bad thing. Kids shouldn't even be exposed to the mind altering dopamine tsunami that is modern media, Youtube, TikTok, Instagram, etc.
I look forward to playing with this. It seems astonishing.
> when a book tried to "teach" me something or instill some world view and I immediately know the intention and found that boring

Entertainment with a message is fucking boring no matter the form. Movies are no better in this respect.

Unless they're done by a genius but then you won't even notice the message.
There's an entire category of these things: https://en.wikipedia.org/wiki/Spite_house

You can even make (somewhat slimy) money by identifying these situations; there's money to be made in spiteful divorces, for example.
Until an "iPhone" can run brew, all my developer tools, steam, epic games launcher, etc it's hardly interesting.
Citation needed

All the good programmers I know have side projects and live and breathe code. None of the mediocre/bad ones I know do.

Think of it this way: what's likely to make you a better programmer: spending half (0.5x) of every day on (a work-mandated subset of) code or spending most (1x) of every day on code? The answer is obviously the latter.

And it sounds weird, but most of my programming knowledge comes from outside of work, even the knowledge that I apply at work. Maybe it's because work naturally discourages exploration since you're focused on the company's priorities. For example, I'm never implementing a collection in C at work (I use `std::vector` and stuff). Yet doing that in my own time taught me why certain operations invalidate iterators -- a thing senior coworkers of mine didn't understand and which helped us catch a bug. :D
Unsure why we're linking to a twitter post that links to the real post.

The real post: https://rubycentral.org/news/anewearforrubycentralevents/
There's a rotational speed of light? Does it mean anything for light to rotate?
I think the author is talking about comp data from levels.fyi https://www.levels.fyi/t/software-engineer?countryId=254&cou...
Guess this proves Havana Syndrome is real after all.
> We had gazpacho soup for starters... I didn't know that gazpacho soup was meant to be served cold. I called over the chef and told him to take it away and bring it back hot! So he did... the looks on their faces still haunt me today! I thought they were laughing at the chef, when all the time they were laughing at me as I ate my piping hot gazpacho soup! I never ate at the Captain's table again. That was the end of my career. – Rimmer, Red Dwarf

https://www.youtube.com/watch?v=3ZGJHDegPcU
You can live entirely without malloc(). You don't need it. You can even allocate memory dynamically without malloc, just call a different API. On Windows, it's typical to use e.g. VirtualAlloc(). So thinking of malloc as runtime seems extremely strange to me.

libc is not the only library that has "global state". There is nothing special about it. You don't need libc (yes, some compilers / platforms somewhat expect you to bundle libc). And malloc is not libc, although some of the functionality in libc uses malloc internally / gives you back memory that you are expected to free().
What's wrong with non-uniform denim jeans on a construction site?

Otherwise I take your point.
I've seen plenty of "apartments" (really just a room) in NYC on Tiktok that don't have proper restrooms (though they do often have a small sink)
If you ever happen to be in Arizona, I highly recommend that you visit the Titan Missile Museum: https://titanmissilemuseum.org/

The site has been carefully maintained and the tour brings you up close to places that only a select few were able to see when they were in operation.
That's one of the ways to negotiate something like this - it saves the landlord money and lets him feel better than the other landlords; if he feels that way he'll likely go ahead; but if he feels he's being scammed, he'll put up a fight even if it costs him more.
Consider a certified tamper-resistant operating system which cryptographically certifies the versions of software it operates, and prohibits uncertified processes from running. The certificate of authenticity verifying the software is made available to the clients which connect to the remote application. This cert specifies all of the program transforms which were required in order to produce the compiled software, and they specify the capabilities required for the transform.

It is certainly a very hard and complex problem but I wouldn’t necessarily go as far as “impossible”. Maybe you know something I don’t know, though.
Doesn't seem plausible to me that Apple will release a "M3 variant" that can drive "tandem OLED" displays. So probably logical to package whatever chip progress (including process improvements) into "M4".

And it can signal that "We are serious about iPad as a computer", using their latest chip.

Logical alignment to progresses in engineering (and manufacturing) packaged smartly to generate marketing capital for sales and brand value creation.

Wonder how the newer Macs will use these "tandem OLED" capabilities of the M4.
Old (like early 1900s old) industrial spaces are radically different structures than commercial office real estate from the 80s and 90s.
That's my experience. I have to trick my eyes to see it in 'divergent' mode. But all I have to do is cross my eyes and I can see the image. Although, I would see shapes sinking into the page not popping out.
I think I got into reading the most when I hit about 3rd or 4th grade. I think 8-9 years is when the reading possibilities really open up for kids. Its around that time I and many of my friends got into Redwall and Animorphs, and within a few years Harry Potter and books like the Black Cauldron.
Did it flood recently? I was there only a few months ago. I also checked the site and it looks like they are still giving tours?
Unfortunate that they got rid of the SIM card slot, Google Fi only supports physical sims for their "data only" sim feature.
Can anyone explain where the media engine resides and runs?
The great thing about the city is that there's also a loneliness epidemic there.
> Having your own bathroom and kitchen is essentially a requirement for non-marginal US housing.

The question is why, and what's wrong with marginal housing (sounds like a great way to reduce homelessness)

The numbers show that Americans order delivery and eat at restaurants more (and cook less) than they have in recent history.

It's intriguing because while flipping and renovating kitchens to have more space - stoves, ovens, and refrigerators is on the rise, fewer families actively use the space over the last decade. (The same can be said for colleges moving from dorms to apartment style housing)

This especially applies to marginal households, but also significantly to upper middle class -> upper class and dense housing.

That's not to say it's healthy for our diets.
> "I strongly opposed deregulation of finance, in part because I understood that 'freeing' the financial sector would make us all less free in the end," Stiglitz writes in his book.

LOL

> He blames financial deregulation for contributing to the 2008 financial crisis.

Some economists says that it happened due to regulation and monetary policy [1]

[1](https://mises.org/quarterly-journal-austrian-economics/subpr...)
I mean, it doesn't even have to be true "root" access. Chromebooks have a containerized linux environment, and aside from the odd bug, the high end ones are actually great dev machines while retaining the "You spend most of your time in the browser so we may as well bake that into the OS" base layer.
Gemini API Quickstart for Flask
So this could be a bit helpful for heavier duty usage while on battery.
Thanks. I really appreciate it.
Your own about page says you're an elite rails dev, it's so bizarre to see you double down about caniuse's purpose being unclear.
Authenticate Your Git Checkouts
I'm sorry, I don't see how that relates to what I was asking. To be clear, I agree, I just don't understand why you chose to write this in reply to what I wrote.
Http clients have pipelining for parallel requests that doesn't require threads. Database calls in Rails 7 now have `load_async`. You can still have other services, outside of Rails. Would that cover it?

P.S. I'm a huge fan of Elixir/Phoenix, but didn't find the big need for concurrency in practice that Rails doesn't address somehow.
PagerDuty Migration Tool for FireHydrant
One of the great NIMBY myths is that there is a lack of developable land in urban areas. Without exception, every North American city has vast swaths of underdeveloped land where shorter, outdated buildings can be torn down and replaced with denser, more modern, energy efficient housing.

WFH is great for some jobs, but many jobs are better in person, and relatively few people have the luxury of an at-home office, especially those within urban areas. Perhaps you're happy with your employer pushing office costs onto you, but I prefer an employer that provides me with an office that I can walk/bike to instead.
I agree with the sentiment that the algorithms and data structure coding interview practices are a terrible measure of a software engineer candidate. There's so many other factors that make a good software engineer and to dismiss a candidate because they can't solve a single problem on the fly is wrong.

In my experience, I've never got an offer after bombing the coding portion of an interview even though I shined in system design and behavioral interview rounds.
I am awaiting the day when a trillion transistors will be put on a mobile device chewing 5W of peak power.

It's going to be a radical future.
> This part of the article is very off-putting to me. You don’t need TikTok to find good books for kids. Kids don’t need to see digital advertisements to make a decision. They need access to a library stocked with recently published books that kids will enjoy.

They need a library stocked with "books that kids will enjoy," recently published doesn't have anything to do with it. It's not like filling the school library up with stuff only published in the last 3 years is what we need to get kids reading.

> The author mentions later on that libraries are being defunded, and this is likely to be the root cause. Rather than spending so many words on speculation it would’ve been nice to see some hard numbers on the subject.

I doubt that's the root cause. Frankly, all the other things seem more significant: making reading education more test-focused and less fun, screens (in a zillion different ways, subtle and obvious), the pandemic breaking peer-influenced reading, etc. They're all probably working together dis-synergisticly.

I also wonder if there's other missing social components. I remember in elementary school feeling that reading "chapter books" was important step to being more mature. Do kids still feel that way? Of course I also often read pulpy junk that was fun or interesting, not serious.

The OP said:

> Connor was more blunt: “Maybe you think a book about a school shooting is really important,” she said, “but kids want to read a fun book. That’s what kids want today—they want to have fun.”

I think that's always been true. IIRC, I always disliked the "important" books I was forced to read for school (e.g. the ones that tended to win important awards from adults and get articles written about them in the New York Times to this day).
I have kids, my older is 11 and reads almost whenever she can. She loves to read herself to sleep at night.

We've taken her to the library since she was a baby where we'd find new baby books to read to her. Over time, we stopped picking out books for her and let her wander the isles, picking whatever seemed interesting to her. She usually chooses a wide assortment of things from comics to YA fiction.

My son is much more interested in screens, but he still reads a lot. Whenever we restrict the screens his next default is to read.

We read a lot to both of them as infants & toddlers. We have a couple bookshelves worth of books in the house, but honestly they spend almost their whole reading time on new-to-them library books. We've hit the library checkout limit pretty much every time we go! And it's no waste - every book is returned read.

> if you have a kid who doesn't have an existing strong reading habit, how do you find books they'd be interested in?

I'd start by taking them to the library and letting them explore. Chances are they'll find something that interests them!
>how do you find books they'd be interested in? Like, that's the goal! You can't just assume the solution.

What a strange question?

If they are interested in fantasy movies give them a fantasy book. If they're interested in mystery, the same. If they're interested in Dinosaurs, the same. How is this some great challenge? The things you like to read about are the same things you already like... Are you implying you know nothing about your daughter?
I don't know, but the M3 MBP I got from work already gives the impression of using barely any power at all. I'm really impressed by Apple Silicon, and I'm seriously reconsidering my decision from years ago to never ever buy Apple again. Why doesn't everybody else use chips like these?
Private home and business solar is big business in South Africa these days. As unreliable as solar is, its more predictable than our national grid, and increasingly cheap. There are also a few options to roll a house solar conversion into your mortgage, which makes it a lot more feasible for middle class people and up.

I'm considering adding solar to my existing inverter/battery setup.
So you didn't click the link? Because ULA wasn't second, rocket labs had 9 launches last year and 24 scheduled this year.

As I said, the launch industry in the US is robust.
Welcome to being old!

Watch a 20-year old creative work on an iPad and you will quickly change your mind. Watch someone who has, "never really used a desktop, [I] just use an iPad" work in Procreate or LumaFusion.

The iPad has amazing software. Better, in many ways, than desktop alternatives if you know how to use it. There are some things they can't do, and the workflow can be less flexible or full featured in some cases, but the speed at which some people (not me) can work on an iPad is mindblowing.

I use a "pro" app on an iPad and I find myself looking around for how to do something and end up having to Google it half the time. When I watch someone who really knows how to use an iPad use the same app they know exactly what gesture to do or where to long tap. I'm like, "How did you know that clicking on that part of the timeline would trigger that selection," and they just look back at you like, "What do you mean? How else would you do it?"

There is a bizarre and almost undocumented design langauge of iPadOS that some people simply seem to know. It often pops up in those little "tap-torials" when a new feature roles out that I either ignore or forget… but other people internalize them.
Pickleball courts!!
The good programmers I know have hobbies outside of coding too (gardening, retro computing, skiing), but coding is still one of them. If it's none of them, that's a red flag because it's never the case for any of the good ones I know.
Yes, I left just before (1 year) the bloodletting began. There was already a whiff that GSU refreshes weren't going to be as generous and perf was going to be tougher.

I predicted the layoffs a year before started.
Gen Westmoreland might provide some insight on the consequences of making enemy KIA the reward function, and the incentives that back-propogates to the classifier.

And to the IDF's credit, as much as I have issue with their absent strategic goals and tactical choices, they are fighting a guerrilla insurgence in one of the most density populated areas in the world.

So, it could have been worse? But it still isn't great.
One of the worst paying jobs I ever had had the "perk" of occassionally driving ~$100k sports cars home, about once per month.

I absolutely beat the shit out of those perks.
Didn’t you want to play a reskinned bejewelled or subway surfer with 8k textures?
Plumbers, engineers.. we’re also all just dealing with $#%^ all day right?
There's nothing to fix. The option is the first thing you see when you turn the car on. It asks you. Telemetry on or off. I pressed off and drove away. Never bothered me again. I'm glad Honda gives me this easy option unlike pretty much everything else I encounter these days.