skysight-inc/HackerNews huggingface dataset:
There have been companies like Nokia, SAP, Spotify, ARM, ASML all showing it's not impossible to be #1. This is not even considering the auto sector where Europe dominates by a huge margin. I don't think there is something inherently lacking about Europe to enable business growth. The US obviously enjoys a first mover advantage in the software industry and as a result continues to receive much more VC funding than anyone else.
Statistically, men do better financially after divorce and women do worst. Men are more lonely, depressive and more unhappy. Women are more happy after divorce. Men find new partner sooner after divorce.

Where men ask for custody, they tend to get it. But they are less likely to ask.

Also, alimony for adult women are more of rare. Where they exist they are time limited and awarded only if she stayed at home for multiple years. As in, in double income situation they wont happen.
German speakers can also relate, with "apotheke". Interestingly, apotheke in modern Greek means "storage room", pharmacy is "pharmakeio". Ypotheke does mean mortgage in modern Greek too.
Travel? Hobbies?
> only really lose the easy "fill in a form and off you go" businesses. I don't imagine that's much of a loss

Sounds like you could easily justify soviet bureaucracy with that logic.

> It's also worth pointing out that if someone is falling at the hurdle of just registering and starting a company then the chance of success is very low

You're not wrong about this specifically. But why would I open in a difficult country if I can open in an easy country?
Two ways to "scale". Up or down. FORTH scales down.

Interesting how developers today impicitly assume the term "scale" mean "scale up".
"Sell more shares"? That's not how it works lol
Ask HN: Tools you have made for yourself?
I am looking for tools that you might have built to scratch an itch or quell a regular annoyance. My main motivation for asking is to looking a different things people may have built and a secondary motivation is to learn how they went about it. I'm also interested in tools which are small scripts or a bunch of commands piped into one another that have boosted your quality of life.

Thank you.
As someone in a similar situation, the US is extremely variable. It can be great or it can really suck. If your standard for greatness is that there are parts of it that are great then most countried in the world are great.

What is more interesting is the bottom quintile and the worst it can get. Because you'll find developped cities and rich neighborhoods with high safety and good healthcare in a lot of places. How bad it's likely to get and how much you have to worry as the average person is the better metric.
Someone I know is an illegal immigrant from Central America. She cleans houses for a living. Her husband is also illegal immigrant and he paints houses. Her daughter is going to one of the top private schools in SF, on a full scholarship. She dreams of Yale, and I would bet that she gets it easily.

If you are dedicated to education, there is plenty of opportunity to succeed. It’s sad that some bloodlines don’t make it out of poverty easily, but that’s just how the world works. For those that make the effort, it’s very available.
Another reason why children of academics, doctors and other professionals are likely to have a better shot is simply the age at which their parents had them.

I don't have any data, but I'm sure there aren't a ton of grad students with kids.

Having kids when you are young, kind of puts a limit on how much you can devote to your career.
You really don't need anything fancy to implement a queue using SQL. You need a table with a primary id and a "status" field. An "expired" field can be used instead of the "status". We used the latter because it allows easy retries.

1. SELECT item_id WHERE expire = 0. If this is empty, no items are available.

2. UPDATE SET expire = some_future_time WHERE item_id = $selected_item_id AND expire = 0. Then check whether UPDATE affected any rows. If it did, item_id is yours. If not, loop. If the database has a sane optimizer it'll note at most one document needs locking as the primary id is given.

All this needs is a very weak property: document level atomic UPDATE which can return whether it changed anything. (How weak? MongoDB could do that in 2009.)

Source code at https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/... (We cooked this up for Drupal in 2009 but I am reasonably sure we didn't invent anything new.)

Of course, this is not the fastest job queue there is but it is quite often good enough.
I remember one of the first incidents they were involved in was the witch hunt for the Boston bombers. It's nice that they've come a long way since then.
hi yasith, fancy running into you here :p
I don't get this part - 2 weeks PTO - OK - tech companies are flexible in looking for good talent - if you're getting paid 2x you can work 6months a year to break even. Now taking off 6 months unpaid isn't realistic - but a month off isn't that unusual.

And the healthcare part what are you even talking about - what employer doesn't provide healthcare in tech ? You'll likely have a good plan an better coverage than NHS (eg. decent dental)
Latin used the V for both V and U today, right? How did those two get separated? Why did we get "virus" and not "virvs" or "uirus"? I guess they were pronounced differently back then too?
This is the most accurate thing I've read today.
Europe had iPhone precursors before iPhones were a thing.

https://en.wikipedia.org/wiki/Nokia_Communicator

And don't forget ARM was initially a UK/EU design. Arduino and Pi still are.

Also not doing so badly with fintech and entertainment.

https://www.information-age.com/value-of-european-tech-compa...
Every cost causes a difference at the margin. Businesses are fragile when small. And most of these costs are just economic dead weight, ridiculous paper proof of work schemes where all you're really proving is that you've wasted a certain amount of time and money.

If I were to identify one big flaw, it would be that EU governments don't recognize that small businesses can't do regulatory compliance as much, so they should be exempted. Or you get no small business formation that can turn into large businesses.
Women constitute the majority of both medical students and law students in the United States. See https://www.aamc.org/news-insights/press-releases/majority-u... and https://www.jurist.org/commentary/2019/03/pisarcik-women-out...

Although that won't necessarily translate to a majority of practitioners because women are much more likely to suspend or leave a career for family.

There's a similar, albeit trailing, trend for business school. https://www.mba.com/information-and-news/research-and-data/w...
This week in KDE: Plasma 5.22 arrives
It's a side effect of an acquisition, the original ownership has changed hands.
> A Docker image is really just a chroot + some cgroups resource limits.

No, because an image specifies nothing about the runtime. Just add a Kernel and bootloader and one can boot most images. Further most container runtimes include a lot more than chroot and resource limits. Namespace isolation (process, user, network), seccomp rules, SELinux contexts, etc.
My arsenal is Redis to SQLite to pg.
> They went through proper trials...

No they haven't. They were approved for emergency use only. New vaccines usually take 6-7 years to complete clinical trials.

https://www.modernatx.com/covid19vaccine-eua/
It is odd that no one attempted to improve the situation when the metrics started to decline for the WFH group. The only way I could see this happening if the metrics didn't have much correlation with actual results. Presumably this is a real business after all and actual results matter.

Personally I am a little skeptical however since everything sounds so contrived.
But are Ivy League universities really that much better at training people or is their success mostly due to skimming from the top of the applicant pool? If the latter, then it seems like those students would do just as well if they didn't exist and nothing's really lost or gained either way by their exclusivity.

If they have a magic recipe for creating success, why can't other universities copy it? Does it depend on scarce elite professors? In that case, they probably can't scale themselves up either.
> French investors for example are really stingy and you won’t get somebody to just throw a few millions at you to see if you succeed

Isn't that...normal? Where did the attitude come from - that startups are somehow entitled to funding worth of several lifetime median incomes, for their half-baked business ideas that are unlikely to ever turn profit? That if the country doesn't shower the founders with angel investor money just for showing up, they are somehow unreasonably risk-averse and stingy.

As an example - Docker, arguably the most influential software of the past decade, was developed in France. HN has derided French investors for not investing in it, leading to the company relocation to US. Afaik, Docker is still burning money, with no end in sight, and will continue to do so indefinitely unless a buyout at ridiculous valuation happens. Looks like...the stingy French investors were right after all...
This article is truly bizarre.

The main point it makes is that the top 500 US companies grew faster than the top 500 European ones in the last decade or so.

But then it quickly mention, without any further analysis, that both their GDP actually grew at a similar pace. So the entire EU economy grew at the same speed than the US one but not its 500 bigger companies. So all else being equals it means that the smaller US companies grew more slowly and that this article is simply mesuring increasing corporate inequalities (if there is such a thing).

It then goes on to say, without much evidence, that this is actually good as economies of scale, supposedly more investment in R&D and increasing concentration should imply more innovation.

If this article actually wants to discuss innovation, why don't it use recognised tools to do so? If you take the global innovation index, the number of Nobel price per 100'000 habitants, the number of registered patents per year or simply the size of the economy, all point to a very healthy European continent.

I will even go further and say that the US should monitor much more closely increasing concentration as typically the ISPs or the energy distribution sectors show that concentration can be good for the shareholders but devastating for the consumer.
This is a really damaging take. In any area imaginable, a low barrier to entry has been proven to breed more people on the high end of skill and commitment. There's nothing wrong with folks who don't want to deal with dehumanizing red tape.
I'd rather give up the Californian consumer objects actually.
> if a woman is basically the mirror image of a man (degree, high paying job, spends most of the day at an office),

I have to be perfectly honest, but to me, this is entrepreneurialism, not intellectualism. Someone might go to college and get some massive degrees to become i.e a lawyer or a senior dev, or a doctor, but ... those are trade skills. There's a fair amount of overlap, but to me, intellectualism is something distinct.

For many of us, intellectualism is the "philo" part of "philosophy"; the love of knowledge. Not knowledge as a means to an end; as a means to a high-powered, eat-your whole-day career. But rather; knowledge for its own sake - knowledge that exists as a sort of purpose for life (whether secular or spiritual, it's practically the pursuit of curiosity and knowledge-seeking as a sort of borderline religious calling).

Guys like that are looking for a woman (or man, if they're so inclined) they can have fulfilling conversations with, every day, for the rest of their life. And it's not something you can do with your "pals"; there are some of these conversations you can only have with a soul mate. Hell, there are some of them you can only have with your lover - not a friend-with-benefits (which, sadly, includes a lot of spouses), but someone you've been willing to be truly vulnerable with and expose the depths of your soul to.

But yeah; for a lot of us, they have to have the same deep love of knowledge, curiosity, and sense of wonder about life - or there can't be love, there.
Just as a point of order (and because I don't like giving Gordon Ramsay credit for things either), Jaques Pépin popularized that technique for scrambled eggs when Ramsay was ten years old.

He remains a delight to watch!

https://www.youtube.com/watch?v=bqKq0bQHnZU
"Fantastical" is probably more used for that nowadays (and that very rarely), but it didn't occur to me that there could be any other explanation, as in Greek we use "fantastic" for both meanings commonly, ie "fantastic job" and "fantastic world" (imaginary world).
Glancing at your crypto implementation[1], it seems to contain newbie mistakes - eg no public key crypto involved in your public keys, usage of low level raw crypto algorithm primitives from libsodium without session, replay etc related security concerns, no signs of design requiremnts re what security guarantees it's trying to provide, no PK key management, etc. You're also hand rolling wire protocol code in C++, manipulating raw bytes and lengths, which is a receipe for memory safety vulnerabilities.

Use an pre vetted implementation of a good security protocol for this, or if this is a hobby project, spend some time reading up on crypto protocol design.

[1] https://github.com/LANDrop/LANDrop/blob/master/LANDrop/crypt...
Whaaat? That's crazy, thanks for that!
There doesn’t seem to be any evidence provided as to whether this is actually an effect way of detecting cancerous moles. Given that that’s probably the most important question to answer for something like this, I’m going to assume there isn’t any evidence or else it would have been front and centre of the site.
You might be able to get away with that for a development environment ala Vagrant. But doing that in production sounds scary, and I'm saying that as a mere dev (who has very little to do with ops).
You have a shitty role

Go to another company
How to code using a Chain of Responsibility design pattern?
“The main thing that I learned about conspiracy theory, is that conspiracy theorists believe in a conspiracy because that is more comforting. The truth of the world is that it is actually chaotic. The truth is that it is not The Iluminati, or The Jewish Banking Conspiracy, or the Gray Alien Theory.

The truth is far more frightening - Nobody is in control.

The world is rudderless.”

~~ Alan Moore
Software often does not rely on huge capital. There‘s a bunch of European companies that have a good chance of doing exceptionally well (klarna, trade republic, celonis, biontech come to my mind, for example).
> There's a group missing here. We're discussing stories talking about a demographic of women that are unhappy with the men they date, and also about a demographic of men that aren't dating at all

We are not doing that. There is a lot of discussion about men who cant find partners. The common assumption in those is that women are never single if they dont want it. There is occasional pearl clutching about women who dont seek stable long term partner.

On HN, there is basically no discussion about what women think or want. And where such discussion is, what women say is ignored and instead male guesses are taken as gospel - even if man making those guesses interacts exclusively with males and dont know any woman close enough for her to tell him what she thinks.
coordination problem. Europe provides no competitive advantage to any first mover.
for whatever it's worth, my bio dad has been super hard on me, but it did push me to into going all out in terms of starting a career albeit at much psychological pain. was it worth it? i dont know maybe few years of pain for life long career.
This idea of giving entrepreneurs second chances is idiotic. It makes no sense. They say it's because of learning/experience. That's total BS.

You've learned 10 times as much when you've had to launch your business with 0 funding and struggled to compete against multi-million dollar VC-funded meme stocks and the corporate hivemind for 10 years. That's real learning/experience.

I can tell you how the whole pyramid scheme works from beginning to end. Maybe the whole point of the 'second chances' mindset is that people who failed are more likely to become dishonest and engage in illegal activity or cover-up the second time to avoid failing again. They are more desperate the second time, but trust me, they're no wiser.
Women can be influenced by toxic masculinity as well.
Eh if you've been following him for long enough you've seen him get onto kicks and off again. He did a vegan month for a while, but that's gone. Once upon a time he was convinced that using baking soda (something you'll see him use a lot more than most) was the way to perfect, fast caramelized onions. It took a while but Daniel Gritzker and others eventually convinced him he was wrong.

None of this is bad -- the food lab is the cook book most often open in my kitchen and I love his videos -- but develop your own taste and understand the palates of those you're cooking for, don't just assume that whatever Kenji does is right.
Ask for code reviews where they explain the code line by line and overall approach.

Ask for detailed estimates and breakdown on a problem they never heard before, and insist on an initial approach to the solutoin, then verify with what is delivered.

When you do either of these, make sure there are experienced technical people asking questions. Anyone who is technical will not mind explaining code or solutions on the spot. At the very least there should be open conversations on approach, and usually you won't be able to hold that conversation if you are not doing the job.
> Redis EXPIRE doesn't actually delete any data after it expires though.

I guess OP likes the simplicity that built-in expiration provides. In your example - all selects reading the value will need to have this expiration check. And also some scheduled process will have to be written to actually delete the values.
That sounds like a donor list thing ? I'm talking about more day to day stuff. Like recently my friend had a seizure while driving, thankfully he was at a red light, but lost his licence etc. He had to wait 2 and a half months for diagnostic scans. He went private and got it done in a week. Other friend had herniated disk, 6 months till his appointment with a specialist. Also went private and got surgery done in a month or so.
I guess you could compare the face with the Identity you have on file when the employee joined.
Says "scientific fact" on the landing page. No scientific paper cited.
Right. And this article reminds me of people trying to use a SQL database like a filesystem. "Lock file before update otherwise it will get overwritten".

Don't use record lock as like it's an attribute of a row. Add a column on the table called "status" and use it.
It was heavily used in radio as well, almost ubiquitous for recording outside interviews etc for later broadcast.
The EU doesn't build Googles or Amazons, because those companies are inherently unhealthy monopolies. But it has built numerous tech successes, including Nokia, Spotify, Wise, Airbus, and others.

In reality the EU has curbed the imperial pretensions of aggressive US corporates numerous times - including Microsoft, Google, Amazon, Apple, and (soon) Facebook.
It's just wrong to say you are doing something and giving it to someone else. At the very least they are lying and that is not professional.
True. However, since cache is usually transient, adding this key-value store/cache is as easy as "docker run redis". No need to provision block storage, and it's really lightweight in comparison.

(that being said, I try really hard not to judge; after all, i'm not without fault: it's 2021 and i'm using bash over cgi-bin to serve web pages for my own hobby projects :))) )
>Europe has no homogeneous consumer market for tech giants like the US or China which can propel tech firms to gigantic size.

Yet they use Google and Facebook all the same. WhatsApp was an American company that wasn't even used in America but dominates Europe.

As far as domestic companies go, Nokia was a former megacorp and SAP is still one today, which proves that big tech has always been a possibility there. However, they were founded ages ago.
The point the author is missing is that most people are not deliberately choosing Redis.

They use packages such as celery which happen use Redis under the hood but the user doesn‘t have to deal with these details other than pasting some Redis connection URL somewhere.
I use a gopro 9 with the strongest stabilization setting. I haven’t tried horizon leveling yet but that’s a good idea to test.
The problem is it's hard to get right. I saw a documentary where people broke out of the dream and it caused all sorts of issues, they were able break out other people using pills and teach them to fly and other unrealistic things.

I guess it's just not ready yet.
Closer than other kids but with regression to the mean (of the population).
Ran into the same problem with my a recent website. I think I am still going to create at least one smaller version for mobile.

Additionally to your technique I defined a really small image as a background image in order to get a “progressive loading for avif” kind of effect on slower connections.

https://gutshaeuser-ostpreussen.de/
They presumably didn’t mean a fork between bitcoin and Ethereum, but the variety of forks on those chains.

Ok, well, how many times has the main bitcoin chain had a, uh, so there was the fixing some underflow really early on iirc, I think that counts, but I think that was a soft fork? Has the main bitcoin chain ever had a successful hard fork? I don’t know.

Anyway.
I recently switched from rolling my own table to SQS.

The main issue is making a job queue dispatcher and runner which most people aren't familiar with.
I do know. Apparently you downvoted my sibling response to you as too simplistic, but I was clearly responding to someone where the embedded bare drive situation is irrelevant.

When it comes to what non bare flash drives do, you can start here: http://www.vldb.org/pvldb/vol13/p519-kakaraparthy.pdf

This paper is imperfect and the following citations are worth skimming. There's a cohort of similar papers chasing the same basic question in recent years that aren't densely cited amongst each other.

Go here next: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.46... but note that's just a jumping off point to the more recent papers.

It's hard to gain a full understanding of this layer because it's the basis of intense competition, hence held closely by controller manufacturers.

I'm far from world expert on this, but have read a lot about it and can answer with what I know to the best of my ability.
Ah yes, another American-centric viewpoint (which is correct, no qualms about that part) but in other countries (probably with the exclusion of inner reaches of Africa and, uhm, Canada) MiniDisc (at the late 1990's and early 2000's)... is just there: a reliable way to have portable copies of your music.

P.S. British viewpoint by Techmoan (which pointed out the American-centric "MiniDisc is a failure"): https://www.youtube.com/watch?v=kU3BceoMuaA

P.P.S. A direct rebuttal (to the point it was titled "The (Not) Forgotten Audio Format That (Never) Failed"): https://www.youtube.com/watch?v=CCK89V4NpJY
Selfie on Mars
Note that this article mentions Agaricus augustus as an edible mushroom, even though it is now known to have carcinogenic properties
This seems a bit silly. We might be able to use only postgres, but this seems harder than using Postgres and Redis.

Any time someone says ‘this works for small workloads’ I hear, ‘we’ll eventually have to migrate this’.

That’s not a problem if you are talking about introducing a hugely complex piece of infrastructure, but Redis is hardly that.