skysight-inc/HackerNews huggingface dataset:
>>> Day rates for contractors seem to vary a lot, but 400 - 600 a day, maybe? The contracting scene is still adapting to recent tax law changes, though.

Contracting has taken a massive hit with COVID and with the change in tax rate, that both happened almost at the same time.

Contracting was definitely the way to make it in London. You could charge £500-1000 easily a decade ago with very little taxes. Depends on the skillset. I think that was made it on-par with what you could make in the Silicon Valley and NYC depending on the exchange rate (2016 Brexit really hurt).

Some commenters may rightfully point out that it's not as high as L6 compensation, but it's much easier to get and you don't have to spend $60k for a year of college or a day in a hospital (that's the number one of my US coworker quoted for his daughter).
That looks great. Bookmarked. Thanks for sharing.
If I open a CSV with pandas in debug mode I’m also pretty much free to play with whatever transformations I want, without being restricted by SQL syntax. Saved as a parquet, reloads are also pretty much instantaneous.
Apple’s overall margins are around 35%. Where do you see that iPhone has 60% margins?
Absolutely, hence a toolchain thing.
Attempting 1 Billion Row Inserts in under 1 Minute
At this point, being unvaccinated without an approved medical reason (e.g. immunocompromised) should be treated as a pre-existing condition

What are you talking about?

Under current law, health insurance companies can’t refuse to cover you or charge you more just because you have a “pre-existing condition” — that is, a health problem you had before the date that new health coverage starts.These rules went into effect for plan years beginning on or after January 1, 2014.

https://www.hhs.gov/healthcare/about-the-aca/pre-existing-co...

Please don’t be one of those “if you don’t listen to me I hope you die” types; you can catch more flies with honey.
> there are difficult engineering challenges with the approach of "all state on the server all the time"

There are real world challenges. There's no internet access on the NYC subway. Latency can spike for no apparent reason. Making a webapp a dumb client really only works for wired connections on an intranet.
While bashing on Telegram is basically HNs favorite past time, there aren't many other alternatives that work just as well in the area that I care the most about: being a great chat app. Telegram is fast, has native clients instead of a garbage web ui (or electron based app), has better stickers than the alternatives, is easy to write bots for and has a larger user base where I'm at than any of the alternatives other than WhatsApp.
> let us begin with a file of a hundred-million totally random integers [...] This is objectively the worst case, containing the greatest possible entropy; but also the best case, hiding no surprises.

There is no single worst case for sorting, and in fact most benchmarks use a several different inputs, and even the best algorithms win some and lose some. It's important not to overfit to a specific distribution.

For example, fully random integers can benefit MSB-radix-type sorts, because it's enough to look at a log(n) prefix of the integer to have the data almost sorted, so the later passes have very predictable behavior.

Also the chance of duplicates is negligible, and duplicates are problematic for some quicksort implementations.
So, PBS seems to have done a documentary on this, which was just released an hour ago: https://m.youtube.com/watch?v=a2BIYWHdfTE

Did all of the media outlets organize together for months in advance to be able to release everything today? The content and production quality makes it seem like this release was planned months in advance.

Also, assuming they did, what’s the process all of these news organizations go through in order to plan such a release on the same exact day? The planning of the release in such a coordinated way is almost questionable itself, though it would be good to get insight into this.
That’s unnecessary. The CDC and the WHO are perfectly willing to make statements that contradict the best available evidence even without deliberately suppressing the production of better evidence. It’s easier to just ignore the evidence.

(I don’t think this is malice. A combination of being unwilling to admit mistakes and simply not being very good at one’s job seems more than adequate to explain this.)
If you insert 4 rows into a table, and join it on itself without any conditional criteria, it will result in a cartesian product of 16 rows (Select * from a, a)

Do that cartesian join three more times, and you have over 4 billion results.

Then you simply need to use the random function in conjunction with division, rounding and case statements to get the desired random numbers.
HN Launch: Monie – 5% APY high yield account for USD
Hey everyone, I am Rahul - founder and ceo of Monie.

As high yield accounts are barely surviving above 0% rates, We are bringing crypto originated yield to the masses in a simple savings account like product offering 5% APY on US dollars. Prior to founding Monie, I was heading European operations of a cryptocurrency exchange Bithumb and co-founded an institutional trading and lending desk. We traded almost $1b worth of digital assets on a monthly basis.

At, Monie we are abstracting crypto UX and all the technical complexities which comes with smart contracts and bring you the benefits of the crypto economy in a simple high yield account like product.

We convert USD to stablecoins like USDC and lend them out to institutional players in the crypto space on overcollateralised terms. You can learn how we do this here. https://www.monieapp.com/how-it-works

We work with regulated financial institutions to custody digital assets, US banks and Plaid for bank account linking. We are currently in beta and onboarding users.

I love to hear what you think, even if it’s just “this product shouldn’t exist in the first place.” If you are in crypto/fintech space or want to be then I would love to have you as a user. Please try us out at https://www.monieapp.com Happy to answer any questions and hear your feedback in the comments!
Make any algorithm lock-free with this one crazy trick
I'm curious about the stories I've read about ProtonMail having connections to the Swiss Government, CIA, etc. One of those stories (there are more): https://privacy-watchdog.io/truth-about-protonmail/

Is this just conspiracy theories, or is there something to actually be concerned about?
Damn, for a second I thought post was because the fourth edition is out. Damn you OP! :)
Which I expect is significantly faster to generate. You could probably combine it with a pipe to avoid all disk IO.
If you are willfully ignorant and cause yourself and others harm, you should be exposed to the full financial cost of your ignorance.

Vaccines are free and widely available; there are no more carrots left to offer the ignorant.
When we say "... but it's a nice problem to have", what we're often doing is indicating that we're complaining in order to vent frustration or anxiety we're feeling, and that the person we're talking to isn't expected to take any action other than offering sympathy. Translate it as "this sucks, but I'll be fine".
Africa’s Covid Crisis Deepens, but Vaccines Are Still Far Off
Thanks for being one of the good guys.
You also need an account to unlock the bootloader.
Second anecdata point for THCV for appetite suppressing, and the host of other benefits including memory improving.
London day rates I've seen for contractors are more like 700 - 900/day on average at places that pay a bit better and 1000+ for specialists. And base salaries I've seen advertised for senior developers at funded startups (e.g. Wagestream, Truelayer) are more like 105k now (more for higher levelings - i.e. Principal/Staff).
Don’t listen to the noise here. Company level command is a valuable asset.

I would suggest that he pursue a PMP or similar certification and use project management as an entry point. The discipline of a combat officer with the music background sounds like a good talent to develop.

I’m surprised and dismayed to hear about the HR reactions.
I don’t wish any harm on anyone though. If you assume I’m unvaccinated because I called someone out on their outdated misunderstanding of how pre-existing conditions work it says more about you than me.
The vast majority of Slavic tribes 0-1100AD were effective democracies...even the majority of Polish kings post-Christian-indoctrination (1000-1800AD) featured an elected monarchy.
I never understood the VM backup as a strategy. Think about backup from a database or application layer/perspective
My understanding from your original comment about “capitalism” was that there is a strong ideological bent to this which is why I mentioned that. We are in agreement on the actions and ends but probably disagree on the means, whereas I come from a strong capitalist bent. I wish we could apply the same no-entity, no regulation, no-taxes, no formal employment model to many other things including housing and education. But for this one thing it’s OK, but for others it’s not. I wish we could let lots of experiments exist free of the strangling governmental structures.
Ask HN: What do you want life to be like in 10 years, and how can we help?
Or without character limit:

What do you want life in the world/your country/your local area/etc to be like in 10 years, and what specific, discrete actions can the rest of us take as individuals in order to help make that vision a reality?

Please interpret as you like wrt geographic scale, topic, etc. Mostly just interested in collecting/understanding what sort of specific actions I (or others (un)/like me) can take in order to actually effect that change.

I believe that simply discussing particular topics with friends and/or sharing links to articles is very underwhelmingly effective with the modern focus on commoditized attention and FOMO dynamics, so I'm hoping for suggestions that are more tactical/discrete than that.
I suspect these opinions would be less likely to get downvoted if you could back them up with data, specifically:

- Assuming you do have a test database in advance that's represented in a file, but for some reason not a SQLite file or other database, how long does it take to load 100M rows in a database of your choice, and how does that compare to the author's results?

- The author does not in fact have a test database in advance, and is generating random data, which I think is what you're saying by "apply your random-number-generating function on a trivial column" - how long would your approach take to generate 100M rows?

- If you generated a database of about the same size in a database of your choice, how do bulk operations on large tables perform in comparison to SQLite? (My understanding is that it's "lite" because it's not client/server, not because its performance is poor.)

I don't think any of these experiments would be terribly hard to run.
It took me like 5 seconds to get an answer for this with a search. Please don't posit wildly speculative scenarios in public forums.
We'll be putting the leakers in the cell beside Assange any day now, right?
Snowden says: “Stop what you're doing and read this. This leak is going to be the story of the year”

https://twitter.com/Snowden/status/1416797153524174854?s=20
https://en.wikipedia.org/wiki/Long_and_short_scale for anyone that's interested in the differences
>It directly leads to mobs, riots, and revolution based on lies, not based on actual injustices.

Would love to see an example. The vast majority of revolutions in human history were results of hunger.
Oracle, DB2, MySQL, SQL Server, and PostgreSQL all support bulk insert. Two obvious use cases are QA Databases and the L part of ETL which pretty much require it.
I'm curious how you'd fair if you pregenerated the data, with periodic COMMITs, and then just sling it at the sqlite3 binary over STDIN and see how it handled that.

Certainly if I was trying to do the same thing in Pg my first thought would be "batched COPY commands".
The case around Jamal Khashoggi is also documented quite well in the documentary: "The Dissident"

It was that movie/documentary where I first heard of Pegasus and how it had been used by the Saudi government.
Jamal Khashoggi’s wife targeted with spyware before his death
Telegram Desktop retirement notice from RPM fussion
>What we generally mean when we say "nice problem to have" is that the preconditions for having this problem are nice to have. i.e. you cannot have this problem unless some other nice thing happens first. This is not at all a reliable predictor of the amount of suffering involved.

Doesn't matter, because at that point you've already made millions/billions...

That's kind of the whole point: that a "nice problem to have" emerges only when it can no longer be a catastrophic loss of your early startup, but an annoyance in your mature and company (perhaps after you're already sold it, IPOed, and made millions). At that point it's not your problem as a CEO/CTO/etc anymore, it's just a case of throwing money at some engineers to fix the thing.

E.g. who gives a fuck if PHP was not robust of the early architecture not scalable enough for Facebook? They've already made billions by the point it became an issue, and they trivially threw money and engineers and fixed it eventually...

Whereas obsessing over the "right future proof" architecture would have likely killed their early momentum, diverted precious resources, and so on...
"Business Starter" accounts are a different category of account that can't join or create a family (To share YouTube Premium, YouTube TV, etc). Also, if you stop paying your email account gets suspended.

Individual is a "normal" Google account and doesn't increase your storage from the default 15GB or support custom domains. But if you stop paying you still have a valid @gmail account and just lose access to the additional features.
"If you're on a watch list that gets your phone flagged for malware then it's not a stretch to assume that you can also be physically watched."

The difference is you need way more resources and funds to physically watch and search a lot of people than to spy on their computer communications or hack in to their phones/laptops.

Mass computer surveillance is practical, easy, and affordable.. mass physical surveillance is much harder, much more expensive, and impractical to do effectively on large populations.
IMO there is a lot of misattribution happening where any anomalous weather event is immediately blamed on climate change when it could just be a rare event. After all we had record breaking events before climate change. I saw this flawed attribution from virtually every newspaper headline claiming the recent Pacific Northwest heat wave was caused by climate change despite there being no evidence to establish such strong causality and no continuous pattern of such events (Seattle last had triple digit temperatures in 2009). The same attribution issue also happens with wildfires even though the main reasons wildfires are worse in modern times, at least in the western US, is due to how forests have been logged, regrown, regulated, and managed (see https://www.ted.com/talks/paul_hessburg_why_wildfires_have_g...).

Leaving that aside, warming (as a planet wide average) is happening and will have big impacts. It won’t be a threat to the species however - that is it won’t be an existential threat. So whether we get ahead of it is a somewhat subjective question. If we experience millions of deaths but most of humanity is fine, will we consider ourselves to be ahead of it? We probably don’t need to go to extremes to mitigate the worst of future climate change impacts. There is a lot of focus on personal transportation for example, resulting in bans on petrol cars that don’t make sense to me. If we instead more widely adopt nuclear power, and also hold populations within some limits, we can probably avoid a lot of the impact while continuing to retain a modern standard of living.
i.e. messages can be out of order, so no transcript consistency, is that what you're saying?
Which card do you use? Is there any NFC/RFID available?
Thanks. Signed up for Pusher and tested the channel. Pretty neat.
If your client is an otherwise idle system with the latest browser, a fast wired connection, and the developers carefully monitor time to render.

In most cases, at least one of those is not true and the developers are using something like CRA so your site has a number of users who see tens of seconds of nothing while their Android phone downloads and runs a 1MB JS bundle. Bonus points if the marketing department has tossed in a tag manager which delays that even longer.
I would like you, or someone more knowledgeable in the field to argue that the response is not accurate:

> Re-ordering

Exposed no information about the plaintext and needs additional work to become a fully fledged exploit, patched anyway.

> Re-sending: This is a purely theoretical point that has no bearing on the security of messages but is inconvenient for researchers who want to formally analyze the protocol.

Researchers being able to analyze the protocol to find faults - good thing. But can't this also work against people trying to break the protocol?

> Implementation problems - "For an analogy, imagine a door with multiple locks, one of which could be unlocked — the door to your messages could still not be opened because it had more than one lock"

I think this contradicts with the summary above, which is "recover some plaintext", which does not make sense given the analogy. Can someone explain? Possibly the only serious issue found.

> RSA Decryption: "This may sound scary but was not possible in practice"

If it's not possible in practice that seems like a bunch of other well established crypto protocols I know where it's just infeasible to brute force with currently available non state resources.
I despise Trump in general but I have to admit this is the ONE good thing I've heard about the bastard.
How to Build Real-Time Chat App with Express, ReactJS, and Socket.io?
It might seem quite challenging when you read the topic – How to build a Chat App with Express, React, and Socket.io?
Thank you for your feedback.

I'm a non native English speaker, so I would like to ask if you can point out a few places you feel they are off putting.

I would really really love to fix those.
Perhaps it should be. Sadly it will probably pass quickly for other headlines. Will any changes in privacy control happen?
Will someone make and market a new secure phone? That would need interesting.
If you know you're going to want this type of parallelism and simple deployments, use languages that have better threading stories.

That said, one place I worked had a legacy Python service on 16+ core machines. We happened to deploy with dpkg, apt, and docker (I wouldn't necessarily recommend this), and the start script spun up cpu count - 1 instances with CPU affinity set. There was something like nginx for routing out in front.
I also feel your frustration, but if one isn't convinced by "You may get this virus and die," then I don't think they'll be convinced by "You may get this virus, die, and your family will be in crippling debt."
https://www.mobygames.com/browse/games/educational/ might be a good start
Study Claiming Face Masks Harmful, Increase CO_2 for Children Is Retracted
Strictly speaking, no. But even if they did, it's a real stretch to try to say that people hiring sex workers are morally on the same level as men pimping teenage girls.
If you can have encrypted group chats, then clearly you must be able to join and synchronize an encrypted conversation with more than one device. Encrypted group chats exist in Signal and other applications, so clearly this is possible.

(There are other mechanisms (to have encrypted group chats) than just pretending each device is a separate chat member, but I thought this was an intuitive way to understand how that could securely work.)

Regarding giving metadata to governments: I want that. If someone commits a crime, then sure the government should be able to request the data on this person (it might exonerate them or implicate them, though of course it's only ever supportive and never a sole reason to convict). The governments that most people here chose are not evil. Dragnet surveillance is not good, but individual data requests for individual persons after a judge approved it? That makes sense to me, at least from the perspective of the Netherlands. If Telegram doesn't comply with these requests (and that's a big if, because I heard otherwise), it would be a reason why democratic country might rightfully ban Telegram.

But anyway that's perhaps a more political discussion rather than technical. Telegram has the data, just like every other centralized platform either collects or can be forced to collect it.
Interesting, I didn't even know you had external parties providing league based (I'm guessing) match making. All matches in Dota 2 run through the official valve coordinator or are pre-made lobbies. There is a LAN only build iirc, but not widely available to the public.
Ethics says we shouldn't be okay with surveillance predators.
That paper is interesting as a perspective on project management. Some points:

- Showrunners, at least in the US, are primarily writers. Not directors. Not managers. The directors and managers work for them. Their primary job is the creative concept, expressed in writing as a script. Their secondary job is to make it all happen.

Outside of TV, this is rare in industry. It was once the case in aircraft design, where one person did the original drawings, and others filled in the details. Many great aircraft resulted. Plus many duds.

It's interesting that, in TV, writers are in charge. In film, directors are in charge. This comes from stage productions, where the director uses the actors as a debug tool. A normal part of getting a new play working involves the actors on stage in practice clothes, the director in the front row of the auditorium, and running through each scene of the play with repeated changes. Film directors who came from the theater tended to require too many takes to get a scene right. That's what resulted in "pre-visualization", where the movie is made twice, once in a skeletal low-budget form, then for real. That comes from cartoons, where a basic tool was a board with a card and a sketch for each scene. The cartoon emerged as incremental improvement from the storyboard. It's a basic tool of effects-heavy films today. (As someone said of a Star Wars movie, "Three years of pre-production, three months of principal photography, three years of post-production")

The fundamental question here is, how and when do you debug the user experience? The earlier in the process you can do that, the cheaper it is to fix.

- The section on showrunners spending too much time tweaking post-production is apt. It can be even worse for films, where the time schedule isn't so tight. I once heard someone involved with "Space Jam" (1996, not the sequel) describe trying to get right the animation sequence where the players' "talent" is sucked out. Each morning, there was a screening, and the execs would critique that scene ("The slime needs to be thicker, and it needs more purple".) The animators would spend the rest of the day fixing that. Second shift did rendering and output to film. Third shift did film development and printing. Next morning, the cycle would repeat. That went on for a month. Today you can cycle that faster, but it's still "I'll know it when I see it".
Right, and they are doing it all for commercial reasons as well. Their followers = money.
For example, the radix sort implementation is cheating here:

for (auto& v : buckets) v.reserve((end - begin)/128);

It's assuming uniform distribution of the buckets, so it can make a very accurate guess and avoid extra allocations. If that line is removed for the general case, I would expect things to get a lot slower.
I would be curious to see a comparison with a good implementation of in-place radix sort. For example there is one available in boost.