skysight-inc/HackerNews huggingface dataset:
Having worked in both Stockholm and San Francisco, living in the latter is definitely _far_ more expensive. My apartment in Stockholm was _much_ nicer than the one I had in San Francisco, despite having a much lower salary. And that's Stockholm, which has experienced a housing bubble of its own over the past decade, so it's pretty expensive by European standards.

Now, you can get a lot more for your money outside of San Francisco while staying in the US, but that applies to European cities as well.

Don't get me wrong – US pay still outweighs these lower costs as a young engineer without children. If you're planning on starting a family, things get a little muddier. Having a child is free in Sweden, whereas it ranges from thousands to tens of thousands in San Francisco. Childcare in Sweden is progressively prized and never goes above ~$100/month, while it ranges from thousands of dollars a month in San Francisco, to hundreds in other parts of the US. School? Yup, that one's free too – college and the works. Got elderly parents? Elderly care is also subsidized to ~$300 a month (although private alternatives do exist).

However, there's no such thing as a free lunch, and these things do need to be paid for. This is done by many different taxes. Working as a contractor, you become painfully aware of a few of these – I've contracted for an American company while based in Sweden, at American rates, and I still end up with way less than I did working in the US.

First off you have your payroll tax at ~31%. Normally this cost is quietly absorbed by the employer, so from the get-go almost a third of your salary is gone without you knowing it. After that point, you have a progressive income tax that can go as high as 60% – which is what employees see on their pay stubs.

So they're just different models. The European model largely optimizes for a high common denominator, whereas the US model seems to optimize for extremes.
Agree with all of this.

If you want an intermediate step you can just make docker images of your application and deploy and run those manually (again with shell scripts).

You can get a long way that way without having to deal with kubernetes.
Some companies have a rule that if the extension of the business travel is longer than X you get business class. So if your French colleague came from France and then you went somewhere else together, they could've included a whole business pack for the same price as a tourist class.

Not sure this is the case but FYI.
x && !Array.isArray(x) && typeof x === 'object'.

its typical to start off with `var &&` to avoid operations on null & undefined values
That seems disingenuous don't you think.

The only thing they added was a dependency on a closed source 3rd party """cloud""" service. This is basically the open source equivalent to blog spam and should be rightfully put down.

And the post you're replying to isn't even trying to do that! Its just suggesting that hacker news would find more benefit out of the original repo over some closed source cloud bait made by an employee of said proprietary cloud service.
That's conflating actions with motivations, and sexism is a set of discriminatory beliefs and not simply any action that separates based on sex.

It is for example not sexism to say "only women get tax-free tampons" because that (could be) a rule based on concrete difference in irreducible need.

The reason action get called "sexist" is a combination of carelessness in terminology when being upset about suffering things like sexual assault, and the fact that actions are the only availble proxies we have for the private beliefs of people.

(As defined by their genitalia)
> The American Spectator is not the US Spectator, which is also conservative.

Ah right! I was wondering how the Spectator (UK) had fallen so low. That explains it.
I assume people will not miss the market for PCI-E hair dryers which is just now opening up.
Why Everything Is Suddenly Getting More Expensive – and Why It Won’t Stop
You missed other bigger issues with even App Store Connect. On Safari, Apple’s own browser, Safari Password Autofill can’t work very well. Checking “remember this computer” doesn’t seem to last.

I have spent 2 days trying to upload an App Preview (video) and you drag and drop the video file onto the box and absolutely nothing happens, not even an error.

We’re paying $100/year for these tools!
"Hagia Sophia, the largest church in the world for about 1500 years, built in 5 years."

Today it would take 25 and be 250% overbudget, and then require repairs because subcontractor of a subcontractor of a subcontractor fucked up somewhere. And then the IT system in charge of doors wouldn't work.
No, the article is not ignoring difficulty. It simply assumes that the money spent by miners, and hence the network hashrate, will faithfully track the block rewards.

The relative security is NOT maintained because while the hashrate declines over coming decades, the profit from an attack will not as long as bitcoin maintains its price.
I find the trick was (and is, really) to meet people online and to make appointments to meet them IRL.
Ubuntu Frame; A secure, LTS display server for embedded displays [pdf]
I mean, everyone loves instant gratification. It's human nature.

One might ask though, if you know you need something only at the last minute, is it really a project or just something you're brute-forcing your way through?

Example, I've been rebuilding a 40 year old VW van. In the US, I'd have just started busting into it, knowing I could walk down to Rock Auto or Pep Boys and get 99% of what I find I need. Here though, I like to drive that van, and camp in it, so I am much more careful about doing repairs. I end up testing an analyzing parts before ordering them (because it can take a month to get them) and thus, end up wasting less, and building my own troubleshooting ability up more. The net result is the same, a car that works, and your way would have been faster, if not a bit more wasteful.

To your other point, I agree! I think a few days to a week would be fine for most things people want, but it's old school "Allow 6-8 weeks for delivery" or "Tomorrow, sometimes today". We know with relative surety the latter is a stress on human workers, so something in the middle which created jobs, without the down side of the high churn work style would be great.
[pdf] Ubuntu Frame | A secure and long term supported display server for embedded displays
I recommend you read (in French, sorry) "L'homme qui en savait beaucoup trop" by Marc Eichinger.
Why does the internet keep breaking?
Apply for the ego boost of getting a job offer. Absolutely do not accept it.
> If you’re using fewer than like 10 boxes and don’t work with many people, you can get away with spooky arcane oldhat sysadmin deploy techniques (scp release to prod hosts, run deploy script, service or cron to keep running)

If you have multiple people on the team that have access to servers, this will shoot you in the foot a year or two later. Good luck replicating that server setup when no one has any clue whatsoever about all the small tweaks that were performed ad-hoc over the years.
Depends who you ask, it's considered quite low in Finance (Goldman Sachs is paying +£100k total. comp for front-office graduates now), but generally, outside of finance & fintech the salaries are quite low.
They’re pivoting to enterprise, eh. So.

Industrial Leap and Magic?
Google says it’s dropping Material Design components on iOS in favor of UIKit
How to Not Lose Your Job to Low-Code Software
At the height of it I could not kick a rock without hitting someone that had a family member die of COVID. I live in a country with reasonably good healthcare and I would say perfectly acceptable capacity (and I don't interact with a lot of pray-the-sick-away types), so I'm quite curious where you are located that you make such claims.
Advanced Uniflow Steam Engine
You can already cache dockerhub via the docker repo container very easily. In fact, due to the number of builds, it would be foolish not to do this to avoid GBs of downloads all the time.
Very nice! For more on the subject, see this article in the Financial Times [0], which got a nice write up on marginal revolution [1]

[0]: https://www.ft.com/cms/s/0/023562e2-54a6-11e6-befd-2fc0c26b3...

[1]: https://marginalrevolution.com/marginalrevolution/2016/08/la...
The problem, to me, looks like getting 90% of the way there is possible. However, getting from 90% to 99.9% (to get rid of that "wonkyness"), seems to be way way way harder. Magic Leap has made little to no progress in working out the kinks in their product despite raising literally billions of dollars.
AWS Lambda Cold Start Times
> I'd generally much rather drive an hour than walk 20-30 minutes

Why?!
Show HN: Chokoku CAD – 3D CAD on the browser made by junior high school student
This isn't a great solution:

entry = Object.create(null);
entry.name = "Jason";
entry.age = 42;
entry.constructor === Object // false - constructor is undefined.

`entry` is a valid Human here, but fails your check. Actually, just creating a new class that implements the Human interface will cause a similar problem, since the constructor will be the class instead of Object. You don't even really want to exclude arrays here:

entry = []
entry['name'] = "Jason";
entry['age'] = 42;

Again, entry is a valid Human here.
> misinformation

The overlap between the two groups is so large and the justifications so similar that they may as well be the same. It is not useful for clarity, brevity or comprehension to distinguish the two.
When you need to create some software, I guess you start by writing your own OS first?
This is how all OSS works - you build on top of other projects.
Air print is really easy. It’s built into Utunu printer sharing. https://askubuntu.com/questions/26130/how-can-share-my-print...
A 500-Year-Old Law May Affect Your Beer Today
void implies that the return type should is undefined behavior and should not be relied upon, so that something like this

const x = foo();

is incorrect when foo() returns void. 99% of the time x will be undefined (the value) but there are cases where it would not be. For example

arr.forEach(x => x.sort())

sort returns a value as well as having a side effect. But forEach expects a void callback. This code is perfectly fine in JavaScript because forEach does not read the return value of the callback.
I'm bit surprised about lack of financial reward- it can realistically be used to takedown processing servers in rather simple DDoS attack.
Automated blog publishing from Hashnode to Medium and Dev.to
Would be ethnical majority resident of Mussolini's Italia over Stalin's USSR 10/10. Man the bleakness of those options.
Yes.

- VLC has decades of battle hardening and entirely discards all the aforementioned nonsense. In a perfect world, both Discord and VLC would be sandboxed themselves, but I accept that this world is far from perfect. Discord could at least sanitize anything that strays from a filename when passed to VLC.

- Discord is already vulnerable to crashes from multimedia. This has been a long running problem that has not been resolved by sandboxing in Electron. The folks at Discord will not be able to resolve this with code changes in Electron AFAIK. If you can crash it, there is potential for an RCE. What that RCE can effectively accomplish will entirely depend on sandboxing boundaries external to the application, not sandboxing within the application.

In reference to sandboxing, I could make a document that explains how to enable the OS wide sandboxing features of Windows 10 [1] VirtualSecureMode / DeviceGuard / CredentialGuard and Linux SELinux / AppArmor. I don't have one for MacOS. I should add, don't enable the Windows 10 security features if you depend on any virtualization outside of Hyper-V. Enabling those will break all hypervisors that don't rhyme with Hyper-V.

I should add that my solution for Discord is to not preview videos or play them in the client. I click on the links and VLC plays them but that is not the default behavior of the application.

[1] - https://techcommunity.microsoft.com/t5/iis-support-blog/wind...
Progress + report on OCaml multicore has been exceptionally well done for many months [0]? Quite big piece of work, impressive to see it materialising as general public availablity. I wouldn't be worried about higher level abstrations at this stage. Well done runtime part is the most important now.

[0] https://discuss.ocaml.org/search?q=Multicore
THANK YOU! I was looking up and down the net for something like this, couldn't find it for the life of me.
Couod we X-ray large sections of the pyramid?
Just saying, check what a private health insurance costs in the US vs the UK. Even if the NHS is not the best, it's a big market force which makes it very hard for private insurances to fuck you up in the ass like in the US. At least in my country, having my 4 pax family in a premium private insurance costs me close to 400€/m.
People really undervalue self-narration. It works so well in many areas of life. I narrate with my kids, "I'm parenting you this way to get X outcome." Here's my canned start to every interview:

"This interview has a simple three step format. There's no gotchas or narrow trivia here. I'll start by asking you technical questions about the work you say you did until I've gotten the information I need about that. Then there will be a few social questions. Lastly, I'll open it up for you to ask me anything you want about working here."

Doing this seems to help the people with social anxiety and/or autism. Setting specific concrete expectations right up front and then sticking to it really comforts people.
This is a well written article that paints a uncertain long term security picture for PoW coins with capped supply.
While bitcoin may or may not maintain security thanks to high fees resulting from frequent congestion, the picture is much bleaker for capped supply altcoins, that generally command negligible fees (just to deter spam).
I think differences in cost of living and social benefits do not fully explain it, popular as that line of reasoning may be.

A few exceptions aside, Europe just doesn't have VC capital. VC capital translates in Dutch as "risk capital". We have neither the capital nor the risk taking.

A fitting example of this shortcoming is Blendle. Once called the "iTunes for news", this app would let you read articles across news publications and magazines. Imagine the convenience of that, and the massive total addressable market.

I would expect that a US entrepreneur would easily put a few hundred million (if not billions) into the idea, trying to aggressively seize this new market. To try and replicate what Jobs did for music, but this time for news publishers and magazines.

The Dutch/European way is starvation. A peak of 50 employees and a payout to publishers of a few million. Next, the founders barely hanging on by raising another 1 million at best, which is an amount a SC startup may burn in a day or week or so.

The big capital just isn't there. And you need big capital to pay for large amounts of 150K engineers.

A second factor, not sure if true across Europe but definitely in the Netherlands, is that people doing actual work are underappreciated. Trade-based as this countries' legacy is, the "real" business is the finance, sales and purchasing departments. The rest are just "hands", replaceable units. The idea of an ordinary worker earning 100-200K is quite alien to Dutch society.
BestBuy - And I think they even hijacked DNS and rerouted you to the higher priced site if you were on their guest wifi in store.
The point is that the name Magic Leap IS extremely and deeply tarnished, in so many ways, and Magic Leap pretending it's not just makes them look more laughably delusional than they already are (which is extremely), just like Trump still believing that he won the election.

I just posted citations and quotes about just the most obvious three ways Magic Leap tarnished their own reputation from the start:

1) the sex discrimination lawsuit and nepotistic sexist bro culture,

2) blatantly ripping off other people's ideas without credit in the patent applications,

3) the ridiculous TEDX talk and fraudulent claims on the fake video "demos".

But that's just the tip of the iceberg, not even touching on the flaws and shortcomings and fraudulent claims about the hardware and software itself. Magic Leap's terrible reputation has been well covered in many tech and mainstream publications, and is known quite widely both inside and outside of HN.

Here's a starting point if you really don't already know about Magic Leap's well established terrible reputation:

Dented Reality: Magic Leap Sees Slow Sales, Steep Losses:

https://www.theinformation.com/articles/dented-reality-magic...

>Magic Leap had high hopes for sales of its augmented reality headset. Instead, the richly valued startup has seen slow sales of the device, recent layoffs and executive turnover. In the coming years, competition in AR will likely intensify as bigger tech companies enter the market.

HN discussion of that article:

https://news.ycombinator.com/item?id=21725347
I lived in Japan for a few years, and it basically was paradise. There were virtually no downsides in my opinion.
No, you just don’t want to get vaccinated. Everything else is window dressing around that.

The virus will mutate and continue to do so. Eventually your immunity will weaken - will you get the vaccine then? Doubt it. You’ll make up another excuse then instead.

And let’s not pretend you are any more informed about this vaccine than you are any other “highly tested” one. You have no scientific or educated reasoning here and you’re just letting your ego get in the way of things. It’s ok. I do that too. But the quicker you realize you’re caught up in FUD mostly planted by morons and Russian and Chinese state-sponsored democracy dividers the better your life will be.
>Easy! Just never buy a house and only switch jobs at the end of your lease term, and rent forever.

Sounds precariously close to "you'll own nothing and be happy" or something along those lines.
I’ve never lied or stretched the truth with my career.

My mother said to me once “The only thing you have in this world is your reputation. Don’t ruin it.”
you ALWAYS need another pi ;)
Environmentalists thinks it is too expensive to save the environment so they argue we should burn coal? I doubt that.
I've met a few. Unfortunately they walk among us and have the appearance of reasonable people, right up until you discover otherwise.
> What's worse, the trend to supersize language models is never justified, either theoretically (ha ha) or empirically in the relevant literature

What? That's absurd. Large language models are motivated by empirical scaling law. It is actually better justified than other ML research.

Scaling Laws for Neural Language Models: https://arxiv.org/abs/2001.08361
Well I think it also depends on where you are in the EU. I make slightly over $145000 a year (consulting though) in Denmark, but of course most of that disappears in taxes.

I suppose the big attraction of the U.S is being able to keep the money you make and pay less for a lot of things, but for the people talking about attractions of the U.S I don't think I know a lot of people willing to go unless earning a lot more (or if leading companies and have to be in SV for a bit)
>> This is like the amiga.

Problem is it was marketed like a supercomputer and what we got was an Amiga.

Which is fine for the hobbyist nerds who can see the potential. Not so good for literally anyone else.
Sequoia PGP 1.4 Released
Sneaker Does Exist
If the income/ wealth for a given city is not uniformly distributed (not delving into the reasons), having an almost strict usage of land based on higher incomes doesn't seem quite capitalistic as in US/ Canada. Quite a valid point by the narrator.

If housing is a basic need, vested interests are preventing it from becoming cheaper due to how much intertwined it has become with today's economic system. NIMBY is just class warfare with a catchy names and wrapped in supposedly noble intentions while impacting the poorest.
Back during the HQ2 circus, wasn’t Vancouver the city that tried to pitch themselves to Amazon that “we have talent like Seattle, but our average software engineer pay is much lower!”?
Representing Rational Numbers with Python Fractions
We should replace iron rebar with corrosion resistant fiberglass rebar.
It says it only runs on Windows and Mac?... The top 2 platforms which run docker horribly...
That's a perfectly legitimate riposte. A straight downvote isn't.
The last time I was looking for something the guy in hardware told me to go ask the guy in plumbing, who told me to ask the guy in hardware.
Next step up is something like Ansible to manage it all.
That example disappointed me a little.

It was an easy catch because I was told there's an issue, but I'm surprised const arrays don't at least have a warning there. Or even default to having readonly-like behavior
Time millionaires: meet the people pursuing the pleasure of leisure
I'm having some trouble finding your proposal in the thread... how would you do it?
As I understand it, that’s not entirely correct, and the Docker Desktop we all use and … well, _just use_ … is built from a number of components that are or used to be OSS: Docker, Docker Compose, docker-machine, and Kite, amongst others. Granted, Docker Desktop is more polished than Kite was, but it’s also had years of VC money thrown at it so that it’s almost as bloated in appearance as the Dropbox client.

And that’s sort of the problem. I don’t want the Docker Desktop that exists. I want something that does all of the behind-the-scenes stuff that Docker Desktop does and gives me a nearly-identical experience to developing on Linux even though my preference is macOS. I might even pay a _reasonable_ subscription for it.

But the Docker Desktop that is? Not exactly something that I think is worth paying for.
This is not illegal in any country I can think of. Your take around what it exists to do is, IMHO, over the top.

I'm not aware of a country that requires you let people sue you in this sort of situation, or requires that you not terminate their contract if you do.
I have no idea why there's nothing here saying "don't". Go and get a Heroku account, hook it up to your Github repository's master branch for deploys, use Github Actions for CI, and then get on with life.

Yes, you'll pay more for a Heroku Postgres instance than you would for a VPS on Digital Ocean with Postgres running on it, likewise you'll pay more for Heroku Dynos than another VPS to run your application server. On the other side though, your backup, rollback, deploy, and scaling strategies can all be "Heroku does that", and you can focus on the much more valuable job of building a business.
> 2. Self-hosted production and staging server that hosts my web/django app. It has a local postgres db and is encrypted and backed up on S3 every hour.

Did you have any instance where you needed to restore the DB / Have you done restoration tests to ensure this is a feasible solution? Also, since you are using local postgres DB, do you not run into issues like transaction id wraparound ?

Also, how many days of backup you keep on S3? Considering you create 24 backups a day.
It is how you embrace J1939 that makes the difference. In a J1939 dataframe two data words are defined: one open, the other proprietary. The proprietary word can be, and is with JD's implementation, encrypted. Therefore, anything actuated by the proprietary word is operable iff you have the key.
This type of generalization is what allows people to bulldoze details and nuance in favor of bright tribal lines. It’s the same psychological shortcut that folks use when they call any social program ‘socialism’. It’s lazy and destructive.
Android takes snapshots (screenshots) of apps as soon as you switch to another app. When you view the app list, it already has the last view of each app.

But the Xiaomi/MIUI Android sends over those screenshots back to the company is new information.