skysight-inc/HackerNews huggingface dataset:
Oh but redis is much more than that.

It's so simple any little script can interact with it in seconds, instead of having to craft complex SQL or import your wrapper. You can call redis from the weirdest places, like from the inside of an nginx config file. You needn't even a compiled driver if that matters.

It's easier to get it to perform. It's possible to get great perfs with PostgreSQL, but you just got them for free with redis. Very hard to screw up. Read, write ? N+1 ? Batching ? Who cares, it will be fast no matter the concurrency or the load.

Sure you can expire with Postgres, but having done so in practice, it's way harder than it looks to get right. With redis, you don't have to care. Set a cache, set a lock with a timeout, store data your are not sure you need. It will all disapear.

Redis is not just key/value. You have sets, so ensuring unicity is a piece of cake, no constraints to define, then insertion to check against. And of course, you have sorted sets, which you are kept ordered at insertion by any number you pair the value with, such as a timestamp/score/index, and truncate by range for extra magic.

And then you have bonuses like hyperloglog which you need an extension for in Posgres. Super handy for stats.

Finally, you have streams, which for most apps will fill the gap for a timeserie database or a way to store your app logs. All that with a 2ms latency at 10k/s requests. None of my projects ever needed more than 1K/s though, even one with 1M users/month.

You have all of that with a dead simple install and basically no maintenance.

In fact, redis by itself consume almost no resource, it's not even worth it to not have it in your toolset. I just install it by default on all my projects: I never regretted it, there is always something it can do for you. It not now, just wait a bit, it's costing you nothing, and something will come up.

So no, let use Postgres for what it's great at, which is being a robust all purpose database. Redis is a fantastic complement to it, not a competitor, just use both.

Unless you are google size, there are little chances you will reach a stage where you need to migrate from any of them.

It's part of those tech that are just too good to be true, like SQLite or Python.

My only regret is that it doesn't exist on windows.

P.S: if you need caching and can't afford redis on a small python script, use Disk Cache, it's awesome: http://www.grantjenks.com/docs/diskcache/index.html
Seems painful. I liked this approach better:

https://github.com/nineties/planckforth

You start with a very tiny address or bytecode interpreter, much smaller than 512 bytes. Then you load several levels of bootstrap interpreters into it until you have a fairly featureful Forth. So that occupies ram but not program space on the target computer. You would load the non-initial stuff from a remote computer that didn't have tiny memory constraints.
It's just numbers game. If you're interested in quick sex and you can send messages to dozens on women with very little effort, you do it. If just one percent signals interest, you already have a win.

Why invest more time and energy than absolutely necessary?
Oh please stop using databases as queues. I spent a disproportionate amount of time in the last 20 years undoing that decision. It doesn’t scale at all well.
Because of a lack of competition, it’s the same issue as the US, but at a smaller scale (at least in most areas you can subscribe to multiple ISPs).

E.g. in The Netherlands you can subscribe to a large number of ISPs. In the largest part of the country either through *DSL or cable. Increasingly also fiber. This is because the government regulated internet access very early on. When the state telephone company was privatized, they were forced to make the infrastructure available to others.

The power of real competition (in contrast to ‘winner takes all’) should not be underestimated. As a result of a free market + some government regulation, anyone in the country can subscribe to an ISP that actually cares about their customers.

Xs4all was a provider that literally grew out of the hacker community and proactively fought for their user’s freedom and privacy rights (e.g. by supporting subscribers in court who were sued by Scientology for revealing information about the Church of Scientology on their Xs4all webpage).

At any rate, at some point Xs4all was bought by one of the largest ISPs (KPN). For a very long time they operated as an independent unit, continuing their strong stance on ethics. The last few years, they have been assimilated more and more by KPN. A few former employees and other supporters decided to start a new ISP, freedom.nl, that carries on the privacy/freedom angle of Xs4all. And with relatively little capital investment they are now up and running and anyone living in The Netherlands can subscribe to them.

This is only possible in a market where regulation enforces real competition. I thing regulated capitalism is one of the strengths of Europe. It may not always result in the best outcome for shareholders, but it’s definitely great for the general population.

Do we always get it right? No. I lived in Germany for 5 years, and indeed, the ISP options and quality were pretty miserable.
> foraging community

This is completely foreign to me. Do these people drive by bushes and quickly scan for berries and shrooms to pluck? In the actual real world?
This isn’t about taking the poorest white folks in society, looking at their lack of economic empowerment and calling white privilege a flawed concept. IMHO theres more to it than that, and white privilege does exist.

For example, there have been a number of studies that show having a non-white sounding name during a cv screening process leads to far less callbacks, even if the remainder of the CV is identical. Is this not white privilege?

What about how the media treats different crimes. Take a look at the Daily Mail website, arguably the most popular UK tabloid and tell me it’s not designed to paint migrants and minorities in a negative light. For example, when there are acts of violence perpetrated in the name of islam, terrorism as a phrase is used frequently in the headlines. However when white nationalists do the same thing, the phrasing is completely different. Another example would be the coverage of the royals ie Kate vs Meghan.

Acknowledging white privilege doesn’t mean that those poor white folks in post industrial towns have it easy. It means that there are certain areas of society where being white does afford a privilege. It comes down to the tribal mentality at the end of the day. People still seem to like to favour people similar to them.
Type confusion vulnerabilities, in another frequently patched engine (2015)
Try to put this into a spreadsheet: https://mitpress.mit.edu/books/software-design-flexibility
What does "face up" mean? Obviously nobody alive today was responsible for it.
Ukraine has largest everything simply because it’s biggest country in Europe.
Don't forget SKIP LOCKED[0]!

[0]: https://blog.2ndquadrant.com/what-is-select-skip-locked-for-...
PythonProgrammingPuzzles: A Dataset of Python Challenges for AI Research
Do you happen to have a link that points to recorded weather data for the last century that puts numbers alongside your undoubted anecdotal experience? As noted in other comments, here in Transylvania I've seen no such thing. Indeed hot weather seems to have been in increasingly short supply over the past decade or so.
Interestingly, the more ancient Chinese system of ten-day weeks still survives in modern usage to refer to the early / middle / late parts of a month, 上旬 / 中旬 / 下旬.
Anyone know why they dive for them instead of putting creels down? Not sure what creels are called elsewhere but they are like weighted traps that sit on the seabed attached to a line with a buoy at each end.
Also, “Buzzfeed” is a genuinely silly name to have for a news site.
> I don't get this. Why does one need mentorship in filling out an application. I got mine in the mail, filled them out, and sent them in. It never occurred to me I needed someone to guide me.

> My dad (MIT) did tell me many years earlier what was necessary to get into MIT: 1. straight A's 2. high SAT scores 3. an achievement in extracurricular activities

> (MIT rejected me.)

Aren't you confirming that mentorship is needed?
What exactly does this process look like:

"Next, we eliminate some incorrect worlds by testing them against noisy data. This data should come from intermediate steps and can’t be quantified. If the data conflicts with an imagined future, that future is unlikely to occur. Noisy information may be bad for feedback loops, but it’s great for elimination, because the wider range of outcomes is more effective for pruning. It may even be a bit faster than accurate data, since the variance of accurate data is lower!

As we near decision time, we stop the world construction and elimination, and use judgment and experience to pick the best idea out of the remaining ones. Process improvement happens by creating many parallel processes and discarding the ones that are unfit, not by iteratively improving a single process."

I can't quite understand what he is saying.
The Boer war might count, I'm sure there are other examples

> The British response to guerrilla warfare was to set up complex nets of blockhouses, strongpoints, and barbed wire fences, partitioning off the entire conquered territory. In addition, civilian farms and livestock were destroyed as part of a scorched earth policy. Survivors were forced into concentration camps. Very large proportions of these civilians died of hunger and disease, especially the children
I prefer PWA like snapdrop. All you need is a browser.
> It’s sad that some bloodlines don’t make it out of poverty easily, but that’s just how the world works.

Right, right, my mistake, this is nothing like the Varana system.
This thread proves to me that every discussion on US/Europe comparison is the same.

There are people from USA who always bash on it (Reddit Bernie Sanders socialist brigades) and Europeans who never visited and feel they have to explain/rationalize widening gap between US and Europe.

I know it all anecdata, but my experience is completely different.

I am from Croatia, I lived there until my late twenties when I got a job in Munich. For the next 6 years I lived (with wife and three children) and worked in Germany, Austria and Netherlands until we moved to USA.

Almost everything is better here. Healthcare, while expensive, is much better. Houses are huge and luxurious, cars are cheaper and more comfortable. Eating out and groceries are also cheaper, even if you buy higher quality items.

And of course, salaries are higher even if you don't work in tech like my wife.
If you are in tech difference is huge, in Germany i was paid 80k € and here in States my first job was 190k $ and to add insult to injury taxes are lowar so my take home is higher.
And I'm not in Bay area, this was in Nebraska. Later we moved to Colorado.

People are very polite and always ready to help. I don't see if we would ever return to Europe.
This. Facebook, Google et al are American but will do everything they can to lock profits in low tax regions outside the U.S and they're also hiring more and more outside the U.S
If Facebook stopped being American tomorrow I'm not sure the effect will be noticeable.
Could you explain a little more about this (Debezium is awesome btw)? So after creating the proper replication slots, you set up change data capture via Debezium, then you listen to the CDC stream from the original DB you are connected to, correct?

This sounds like it might be vulnerable to dead consumers causing WAL to pile up without the right settings/periodic checks.
> via the chinese, who have in more recent times ditched the system.

What? They use the same seven-day week today.

They name the days "one", "two", "three", etc, which was actually an innovation by Christian missionaries in China, not the Chinese themselves. The seventh day is named "day" rather than being numbered, so that the full name is 礼拜天 "the day of worship", anchoring the week firmly to the Christian week.

(The same effort to rename the days of the week along more Christian lines was also made in Europe, but it didn't take there.)

> the rough translations into anglo-saxon/norse gods applies (tyr/tiw, thor, freija)

I was kind of amused to see "anglo-saxon/norse" followed by "tyr/tiw"; Tyr is the Norse form and Tiw is the English form.

(The goddess honored by Friday was Frig in English, and Thor is of course Thunor -- his name is nothing but the ordinary word "thunder".)
How on earth are you supposed to get meaningful data from a report like this? Does nobody understay the attendant mental health strain of being in the middle of a deadly global pandemic. The fear uncertainty and complete disconnect from family and friends in many cases? And even outside of a pandemic, why should productivity be measured in just work output? Wouldn't it make more sense to look at overall mental health, work/life balance, stress etc? It's widely accepted that workplace stress is increasing, or was before COVID. We're about overdue to try and tackle that surely, before we face a new epidemic of mental health breakdown?
Not sure what you mean by “institutional victim mentality” but I would say that your example is a great example of institutional failure. Ideally kids would get good career advice from many other places (schools etc) which would rectify a lot of the negative damage caused by the bad advice from their parents.
It all happened before we were born. Should the Italians face up to what the Romans did?
> Apple is selling overpriced commodity hardware

This hasn’t been true since the 90s. And the rest of your examples are similarly ignorant of the incredible pace of innovation coming from a lot of these companies. Google ads might not be changing the world, but their peripheral technology certainly is. AWS and Amazon’s core business as well.
Our initial did that too but generating a unique was removed soon after as had expire in there anyways for retries as I mentioned and that is enough.
The closest I've come to this is that my daughter who often plays this in the car while I'm driving can no longer assist me with navigation and other sundry help which I miss and means I guess my driving is slightly more distracted without the help.
Look at SKIP LOCKED in PostgreSQL and MySQL.
This way I can also reason that you are also directly harming people because you breath in Oxygen and breath out CO2.

By shopping for food you are also creating an economical incentive for companies to produce which accelerates climate change.

Please, lets be serious and reasonable.

Bitcoin probably creates more incentives for renewable energy (because it enables to "store" it) than any other initiative.
Same result but unnecessary complexity
Will the Flutter app be open sourced too?
I don’t think the field has changed much in the last 5 years, technology is still technology just with some new fashionable solutions to offer, people are still people.

Sounds like you need a new role. We’re I in your shoes, I’d find something that at least appears to offer good work life balance then start looking into the next big thing. You might love your new job or you’re at least in a better position for a bigger career change.
> I don't think dating apps/sites favor either sex more so than dating in general does.

It's a force multiplier and the dynamics that are already present in dating in general get reinforced. So you end up with 99% of the women competing for the top 1% males and the remaining 99% males competing for nothing at all because all their advances get ignored.

It's just the result of our reproductive strategies exerting an incredible influence on our behavior, more so than we personally realize.
Microsoft buying Nokia had nothing to do with saving the company. Arguably, buying Nokia and running it into the ground was an expensive gamble to push Windows 8 Mobile + Windows 8 desktop at any cost. Which was already failing before the acquisition was even complete. I'm still stunned the Finish government allowed it to happen. Nokia went from, "probably could turn this around" to "smoking wreckage of a company" in less than a year.
I'd need to check, but I think so.

Which is probably why if you don't want loss if consumers go down a proper queue system (RabbitMQ, ActiveMQ, Amazon SQS, Kafka if you don't care about ordering between partitions) is the way I'd go.
./.. never said anything about CS/engineering
Are you sure about that? It's not as if they don't persecute ethnically Han Chinese practitioners of other religions. Why would Islam get a free pass?
The whale seems to have survived. So there's that.
This is way cooler than what I am doing now to learn a language.
I'd be more interested in reading a complaint about richly-endowed universities if I were not faced with the necessity to pay to continue reading past the first screenful.

I'm disinclined to pay, because history indicates that the HN comments are likely to be more useful than the linked item.
The successful companies are sold to the US (Spotify, Skype, etc). The struggling companies are sold to China (Volvo, etc).
And yet they sold so many in multiple funding rounds, an IPO and now employees dump shares on everyone’s retirement accounts

Infinite dilution, baby
Not so sure about this: "An example of a gentle environment is software development. Outcomes are clearly specified, frameworks are common and work well, and your actions receive instant and accurate feedback."
> most of the others do not wire a single cent there

That's a bit exaggerated. I'm sure EU businesses rely on Facebook for advertising or on Google/Microsoft/Amazon for software.
Are you seriously saying people in the north of Europe are happier than in the south? I beg to disagree.

Countries in the north have, for example, much higher suicide rates. I’d actually argue people in the south are happier than in the north. Of course, their economies are weaker. But that doesn’t have to translate directly into unhappiness.
This is a discussion about market share, not quality.
I imagine most people using Redis as a queue were already using it as a cache and just needed some limited queuing ability. Much like how places end up using a DB as a queue.

Using a DB as a queue has been a thing for a very long time. Every billing system I've seen is a form of a queue: at a certain point in the month a process kicks off that scans the DB and bills customers, marking their record as "current".

The challenge is always going to be: what if the worker dies. What if the worker dies, the job is re-ran, and the customer is billed twice. Thank god it's been many years since I've had to touch cron batch jobs or queue workers. The thought of leaving the office knowing some batch job is going to run at 3am and the next morning might be total chaos... shudder.
Turbo - editor made using TurboVision, with support for Unicode: https://github.com/magiblot/turbo
Googlebot will care about it, especially for a site that is primarily images (as opposed to images being merely decorative)?
This is still one of the enduring images that comes to mind: https://rarehistoricalphotos.com/father-hand-belgian-congo-1...

Truly horrific.
Does science fiction exists? Or Pokemon? In case your view is that they don't, you may argue similarly that math is a human made construct (which happen to work well to describe our universe, but it may be just survivorship bias as we use in physics only the math that works. For instance we discard imaginary solutions to classical motion equations).
I do believe it is the right view, math is a man made "language" inspired by physics which is more fundamental.
The big reason is US prioritizes big business and makes conditions most favorable to it, even at the expense of the society.
Still using Troff as my everyday text formatting software. Heirloom Troff works with UTF8 encoding, OTF fonts, Knuth's breaking line algorithm, etc. It does what I want without deciding by itself, has much better support for microtypography then LaTeX, etc.
Fairphone is European and small. There's really interesting enineering under the hood.

If anything, Apple is the counter example of being efficient at innovation. They mainly package and market existing ideas in a really efficient way, but having such a capitalisation actually create so little is a waste.
The same money spent on a lot of smaller companies is much more likely to produce actual innovations
Code 'meaning-making' helps creating more nuanced software
That is an urban legend, at least 100 years old:

https://www.snopes.com/fact-check/know-where-man/

https://quoteinvestigator.com/2017/03/06/tap/
Sony didn’t even care about iPod or MP3 for a few years after 2001, as it didn’t hit its bottom line, release of NW-E400 was the turning point, prior to that it is mostly MiniDisc.
Tight feedback loops are great for software development, but terrible for systems administration. In my career, I regularly have these conversations:

"We did A, it was slow, then we did B, and it was fast." == "Congratulations, you discovered that the cache works, not that B is faster than A."

"We ran this test on AWS image size such-and-such, and it performed 5% better than the competing product that we tested previously." == "That's just noisy neighbours on a multi-tenant platform, you've learned nothing."

"We ran a test and it succeeded, hence it is now working!" == "The system fails nine out of ten times randomly, you just stopped when you had your first success. Try it again."

This ability to spin up a test environment quickly and run it through a scenario can be intoxicating. People try all sorts of random stuff, see a "win", and then call it a day without really doing the legwork to prove that they achieved something meaningful.
Postgres is not as automatic as other tools but is mostly an artifact of it being around so long, and focus being on other things. Few projects have been around and stayed as relevant as postgres.

Most of the time, you really don't need to scale postgres more than vertically (outside of the usual read replicas), and if you have tons of reads (that aren't hitting cache, I guess), then you can scale reads relatively easily. The problem is that the guarantees that postgres gives you around your data are research-level hard -- you either quorum or you 2pc.

Once you start looking into solutions that scale easily, if they don't ding you on performance, things get murky really quick and all of a sudden you hear a lot of "read-your-writes" or "eventual consistency" -- they're weakening the problem so it can be solved easily.

All that said -- Citus and PostgresXL do exist. They're not perfect by any means, but you also have solutions that scale at the table-level like TimescaleDB and others. You can literally use Postgres for something it was never designed for and still be in a manageable situation -- try that with other tools.

All that said, KeyDB[0] looks pretty awesome. Multithreaded, easy clustering, and flash-as-memory in a pinch, I'm way more excited to roll that out than I am Redis these days.

[0]: https://github.com/EQ-Alpha/KeyDB
Yes, the UPDATE command is the exact equivalent of LOCK CMPXCHG (the SELECT can be seen as computing the memory address). So the discussion about that in the comments of https://stackoverflow.com/a/59022356/308851 totally applies: if two queue runner threads pick the same item exactly one will succeed so it can't happen both tries and tries the same item. So there's no busy wait (reminder: a busy wait is where it does nothing just tests a condition), it just goes over every candidate until one succeeds.
Guix and guile are in separate repositories just like nixpkgs and nix.. It wouldn't be nice to mix these. The difference is really about the amount of coevolving the language can make to the specific tasks.
No he is not. The Strike in question is the one run by Jack Maller and the description of using USDT for remittances to ES comes from Miller’s own Medium article.

https://jimmymow.medium.com/announcing-strike-global-2392b90...