skysight-inc/HackerNews huggingface dataset:
A blog post series I've been meaning to write for over 3 years now:

* Every database a Postgres 1: Key/Value store

* Every database a Postgres 2: Document stores

* Every database a Postgres 3: Logs (Kafka-esque)

* Every database a Postgres 4: Timeseries

* Every database a Postgres 5: Full Text Search

* Every database a Postgres 6: Message Queues

Low key, you could make almost every single type of database a modern startup needs out of Postgres, and get the benefits (and drawbacks) of Postgres everywhere.

Should you do it? Probably not. Is it good enough for a theoretical ~70% of the startups out there who really don't shuffle around too much data or need to pretend to do any hyper scaling? Maybe.

If anyone from 2ndQuadrant/Citus/EDB see this, please do a series like this, make the solutions open source, and I bet we'd get some pretty decent performance out of Postgres compared to the purpose built solutions (remember, TimescaleDB did amazing compared to InfluxDB, a purpose built tool, not too long ago).

New features like custom table access methods and stuff also shift the capabilities of Postgres a ton. I'm fairly certain I could write a table access method that "just" allocated some memory and gave it to a redis subprocess (or even a compiled-in version) to use.

[EDIT] - It's not clear but the listing is in emacs org mode, those bullet points are expandable and I have tons of notes in each one of these (ex. time series has lots of activity in postgres -- TimescaleDB, native partitioning, Citus, etc). Unfortunately the first bullet point is 43 (!) bullet points down. If someone wants to fund my yak shaving reach out, otherwise someone signal boost this to 2Q/Citus/EDB so professionals can take a stab at it.

[EDIT2] - I forgot some, Postgres actually has:

- Graph support, w/ AgensGraph now known as AGE[0]

- OLAP workloads with Citus Columnar[1] (and zedstore[2]).

[0]: https://age.apache.org

[1]: https://www.citusdata.com/blog/2021/03/05/citus-10-release-o...

[2]: https://github.com/greenplum-db/postgres/tree/zedstore
Not having the ability to side load apps and having only one store is why I buy DON'T buy an iPhone in the first place.
Social media giants? Environment-polluting industry?

BTW, Germany's also a top seller of weapons! We even delivered chemicals to Assad. So yeah, in that area we really are on par.
Almost looks like a video transcript.
The client they released yesterday has no built in payment mechanism, and the site says explicitly that "If you have access to a suitable infrastructure you can use [Wildland] for free".
Yeah but the people commenting here are probably the ones that earn that tech money, not the person working in the service sector for a couple of $ an hour.
Denmark legally discriminates agwinst "non-western" immigrants and officially aims at not taking any refugees at all. France is ruled by a rather right-wing government and has a chance to have a far-right one next. Germany hasn't seen a left-wing government for 16 years, will likely not see it for 4 more years (if ever).

The rest can be easily compromised by economic stagnation, to have good social security you need a lot of wealth, and a lot of immigration from poorer countries
You’d probably already have indices by user then. There also other ways to store the data, for example not as a time series of user actions, but as another data structure. It just depends on your requirements and data model.

The gist of the original article is asking whether you could reduce tech stack complexity and use a single set of technologies for more use cases, allowing to understand the tool you are using better.

Also, note that a traditional database may or may not be the right tool for the job - there are different storage/behavior needs for writing lots of data, processing lots of data and serving the results.
I disagree, tight feedback loops are always better in every scenario than loose ones. What you do with the new information matters though.

E.g. you would always choose to read an accelerometer sensor in a tight loop in a flight control system - however, you wouldn’t just blindly apply the latest reading as an input to your system (accelerometers are extremely noisy, the data looks like complete trash on the front end before applying some kind of averaging filter).

Further down the chain on a flight control computer is also a good counterpoint to this idea that you should prefer a more lossy sample rate.

Control theory is an established field of study. Better to adopt filtering & PID control strategies than to under sample an input.
It's interesting you should note anti-immigration tendencies. I believe those tendencies are fueled by ridiculously liberal immigration laws that essentially allows far too many asylum seekers into Europe. That's why you now see ghettos and zones where the police don't go in France, Sweden and even UK.

I am not against immigration but I think Europe should be seriously reconsidering non-western immigration as it will simply clash.

Norway has done terrific integration of immigrants and also is in the process of shutting the gates since the 90s. It seems to be the way forward.
I dunno. If it’s usually the same problem, it should be easy to identify and fix.

Unless we’re talking about a high load, there should be no problem doing this.
It's bad for business journalists who want to cover the celebs of the business world.
There's plenty left to be directly determined by nature after setting maximum values.

You've got far more food than you need. You can't get any taller -- what do you do with it? Should you eat it at all?

How resilient should you be to less-than-ideal input? Say it's unseasonably cold for a few months. Should you get shorter, or is it better to just give up and die?

You don't have enough food. You're not in any danger of starving, but you're not going to reach maximum height, IQ, _and_ athleticism. Which trait(s) should be lowered? By how much?

Genetics doesn't just specify the maximum outcome. It specifies the entire set of possibilities, and how those possibilities are reached.
Someone got really tired of there not being any good complete cross platform streaming alternatives to Chromecast ;-)

That's a huge amount of effort between, love it!
Top Firms Lists InvoZone as Top Software Development Company
I'd argue if you say "the fact is", you should provide a source for that.

So low-paying jobs in the service sector are not an immigrant thing in the US? Did you talk to enough Europeans to know we can only name the BionTech guy as an example of a successful immigrant?
My company (listed in the LSE) started measuring WFH productivity as soon as Covid started. The unstated objective was to demonstrate WFH reduced productivity, to have an argument to force everybody to go back to the office once the pandemic ended. Metrics were devised by the senior leadership team to serve their purpose. We (dev managers) were tasked with collecting these metrics. After 4-5 months all metrics improved across all teams, so the senior leadership team decided to change them. These new metrics improved as well, so the project was stopped and data was destroyed (lest ICs would find out and have arguments to WFH after the pandemic). Now they’ve started talking about our great office in city center, about the gym, the gaming room, the Friday drinks, the office vibe.
Joe Biden overturns bans on TikTok and WeChat
The way you phrase a word affects its interpretation. Imagine for a minute if the term "neurotic feminity" was a common thing, and described how anxiety, depression, and other negative aspects of stereotypically female behavior are actually just unhealthy. People would be upset because the phrasing implies that feminity itself is bad, which is wrong.
An oddly belligerent way of putting it. People without an advanced understanding of software are not all morons. It's true though that Mozilla should have realised some time ago that they need to target advanced users, something they still don't seem to understand.

I agree with the article that Proton is an inferior UI. Fortunately it can easily be disabled, at least for now. [0]

[0] https://news.ycombinator.com/item?id=27433646
Android 12's “Material You” UI debuts in Beta 2
Sorry, on who's side are you really on?
> This assumes ex ante a similar quantity of wealth. Europe’s GDP per capita is lower than America’s.

European GDPs per capita have been by and large lower than the US one since at least 1900, so this doesn't tell us much.

You know, having a continental sized country with continent sized resources and a population all speaking the same language, plus the last conflict on its territory having happened 150+ years ago, seems to be paying off.
Wikipedia has Pokemon as the worlds #1 media franchise, well ahead of Star Wars and Marvel.

Also "Pokémon Go made $1.23 billion revenue in 2020, higher than its peak usage in 2016" https://www.businessofapps.com/data/pokemon-go-statistics/
Whatsapps original purpose wasn’t where it reached its niche. It was in the right place at the right time - it launched as it became easy to distribute apps, and it used free data (wifi or gprs) to undercut sms. This latter fact wasn’t valuable in the west, but was great in poorer countries.

This built up the network, and unlike the European and academic way of building open networks and software (web, linux, email) it captured the walled garden.

I have no idea why it was valued at however many billions though even with that.

There’s nothing special about WhatsApp that signal and telegram don’t do other than that existing network, primarily driven by laziness of the consumer (as there’s no reason you cant have all the apps installed)
100000 hectares is 1000 square kilometers or 30 x 30 km. Not a geographically big area yet.
if everything went smoothly likely the program had some useful output (e.g. grep, awk, sed). If it failed then I'd just run `coredumpctl gdb` ? (and ... abort isn't silent ? here's what I get if something aborts here: https://imgur.com/a/69eF73w)
You could have "state-of-the-art cryptography algorithm" as a link to a page with more details. Or just put the name of the algorithm in brackets afterwards, e.g. "state-of-the-art cryptography algorithm (ChaCha blah AES blah)".
Show HN: HN to Kindle, Read Hacker News on Kindle
This is by design and very common with pub/sub.
As expected, the US makes it to the top ten only if you very single-mindedly value housing (ie. huge suburban houses) and income above everything else such as safety, environment, work–life balance, and actual life satisfaction! Otherwise you see the usual suspects at the top: the Nordics, Canada, New Zealand, Australia, Switzerland, Netherlands, then followed by the US, the UK, Germany etc. Some of the metrics also seem rather dubious: the US scores high in health despite the well-known failings of its healthcare system.
It's the second line of the article...

"A great number of these records were destroyed and a sizeable portion sent to Britain to be kept secret. "

Not all have been destroyed.
Treating employees like business partners – for fun and profit
Ramp up of electric car production isn't innovation?
I mean, there's people who barely do any work while pulling down a decent salary, so I'm not sure who's really the bigger waste of oxygen compared to someone who sits around all day on games. (personally, I disagree with the 'waste of oxygen' viewpoint - life has innate value especially since we're the only intelligent species we know of, even if they aren't valuable in a capitalistic sense).

But it's weird we prefer others being at a bullshit job over just enjoying themselves and not having to work. We'd like to think that everyone who's employed is doing some small part in helping out humanity, but that's definitely not true.

>once one realizes how hard it can be to get back in the saddle.

Is it really that hard though? It can be uncomfortable, sure, but if you can get past that, you're very similar to other people who decide on a later career change, start over in a new place, or are dealing with personal problems later on. The only real struggle is with yourself and being able to admit you're dealing with a problem. Once you do that, most of the stigma falls away except from the harshest critics. The idea that you're 'behind' is very outdated. You can do nothing with your life by working as well.

* This is all from the USA perspective
For use case 1 (job queue) I can only recommend beanstalkd[1]. Simple tcp plain text protocol. Install and forget. Plus you get some really useful features like deferred jobs, burying, kicking, job priorities, etc.

We have literally processed tens of billions of jobs without a single failure.

Old and simple technology that just works

[1] https://beanstalkd.github.io/
Seasoned HN users know that the real gold is in the comments. I wanted a better way to take notes and assimilate knowledge from the HN comments.

So I decided to leverage note taking and library facilities offered by Kindle by sending Hacker News stories to it. Besides, the e-paper goodness is a cherry on the top.

As of now I send topmost HN stories and plan to develop further if others want it like I do.

Your feedback is much appreciated!
I don't get your point. I mean, I agree with the danger of a far-right president in France in '22, and I'd like to see another party in power in Germany, but what does that have to do with the current quality of life?

Right now, the social security system works, does it not? Just from the perspective of a citizen ... I have health and unemployment insurance, good public transportation, I won't get shot in public, the police will less likely kill me, etc.

I really don't get your point. Because there's stuff that could go wrong, the good things we have are irrelevant?
Happens regularly to me, and always depending on the content so you cannot anticipate. Very very annoying.
The thing many of these have in common is that connections help you. In other words, if your parent is in x career, it means that you get a starting bonus if you do the same. On top of this, most children have some knowledge of the job conditions: Familiarity seems to lessen risk (even if it doesn't - it is the reason showers seem safe but airplanes might not).

Legislators seem to get more done if they are well-connected, for example, and a parent introducing you to their connections makes you a better legislator, probably at a younger age than your parent. Yes, you can do some job shadowing at this other dentist's office: I can put in a good word for you at the electrician's union so you can get into the schooling they offer. Yes, you can work at my plumbing company and learn - it isn't like this state requires licenses, so you'll be just fine.
My point was that there is local talent. Just pay US salaries and it will stay put.
This. MD was kind of a weird cross-over between a disk with a filesystem (which the iPod was in its first iterations) and a CD. And it sucked as both - it could not be used as a file system because you had to use Sony's proprietary tools to get anything onto it and off of it, _and_ it sucked as as a CD because the only equipment that could get data off of it would do it either real-time (too slow) or - at best - at 4x realtime. That while CD-R reader drives already could read at 32x realtime. The DRM also had a nice property that you needed a proprietary Sony app to get music onto and off of a MD, this app was horrible _and_ it was only available for Windows.

MDs did indeed stay in widespread use for professional sound recording where convenience was less important than reliability, they were quite reliable. This only turned around once flash storage started becoming fast and affordable.
Occasionally I am humbled to realise that even in IT there are vast fields of knowledge that are so far removed from my ordinary knowledge as to appear almost like magic.

This is one of those moments!

PS: I once wrote a 3D engine, but clearly my knowledge is now so out of date as to be practically stone age compared to this kind of thing...
> are always better in every scenario than loose ones.

Sounds a little unconvincing.

> applying some kind of averaging filter

How do you choose the size of your averaging window?

How do you make sure you don’t catch a systematic bias due to some unrelated event?

Control theory may help in some cases (flight control) but possibly less so in others (stock market).
>So Europe did a better job in distributing wealth more equally

False. Europe did a better job at distributing income due to high taxes but not wealth.

Most Europeans are rich due to accumulation of wealth (specifically old business and real estate) inherited across generations.

Due to that, statistically, Europe does worse than the US wealth inequality as wealth has pooled to the people whose families have been here the longest, the newcomers are just burdened with high income taxes and high property prices, that's why skilled immigrants in STEM who have options and can afford to "shop around" usually avoid Europe in favor of North America.
5 of the 6 most valuable companies on the planet by market cap. Not doing a great job at curbing them.
Sounds a lot like Freemasonry, but unlike Feemasonry, it seems to be actually working as intended.
> girocard [..]

I'm sure you understand this better than I do (and I don't just mean because the language!) but aren't banks like Sparkasse offering any online payment functionality with Girocard ?

eg:

https://www.sparkasse.de/unsere-loesungen/privatkunden/bezah...

"Mit giropay können Sie sicher online bezahlen"
(freely translated): "you can pay safely online with giropay"
But why is equality of outcomes necessary? We see worldwide physical and psychological differences between the sexes, and the reproductive strategies typically used are different. Why shouldn't that reflect in broadly different social norms and roles?
> Not disagreeing with your main point, but isn’t hating on China the new hotness?

Be precise: many of us loves China and Chinese people.

> Anything anti-CCP is almost guaranteed upvotes.

Because we love Chinese people.

Weird but true.

In the same way that we want to stop boats before they cross the Mediterranean so that less people will die crossing.

(However I admit that I think I'm probably in the minority who actually wants to increase spending to support people where they live so they don't have to move.)
Just gotta be rich, then the health care system is awesome.

Its incredible how high maternal mortality is in the US. Like a development country.
My grandmother's parents were in one of these concentration camps. She told stories about how the British used to arrive periodically to kill all the chickens and lifestock and try to maximise famine, and how her dad was a gun-runner for the Boers. She later emigrated to London (!).
It offers no guarantees commonly afforded by databases. I have seen several instances, real life instances of people incorrectly assuming those guarantees when using Redis. So sure, if you know exactly what you're doing, you can use Redis as a database, but the reality is that it's much safer to assume you can't as a first approximation.

Calling people "idiots" here is a public service. I'm sure there are non idiots who can prove me wrong, but they're the minority among production users of Redis that rely on it for non perishable data.
> Less selective colleges with smaller endowments that need the money from fees more are not going to be more economically diverse if they can possibly avoid it.

Why does it matter? They are less selective so anyone has a better chance of getting in.
Some areas are less affected than others. I grew up in Banat, where I definitely noticed that trend. Every winter came with snow to swim in and 40+ summers were rare, now it's the opposite.
What are the most “professional” Rust crates?
I've watched this Jacques Pépin video countless times and the ease with which he casually prepares the two styles of omelets in ~5 minutes and narrates the process amazes me every time. I still can't perfectly replicate the second "classic French omelet" style even after years of effort. https://www.youtube.com/watch?v=X1XoCQm5JSQ&t=8s
> Should you do it? Probably not. Is it good enough for a theoretical ~70% of the startups out there who really don't shuffle around too much data or need to pretend to do any hyper scaling? Maybe.

It's also useful when you want to quickly build a "good enough" version of a feature like search so you can get it in front of your users fast and iterate on their feedback. Most of the time, they'd be quite happy with the results and you don't have to spend time on something like managing Elasticsearch.

I wrote a post on how you can use postgres to add search capabilities with support for queries like

jaguar speed -car

ipad OR iphone

"chocolate chip" recipe

http://www.sheshbabu.com/posts/minimal-viable-search-using-p...
It maybe makes a bit more sense when you consider 'икра' doesn't just mean caviar but alsо fish roe in general and is also applied even more broadly in entirely fishless things like 'икра балкажанная'
But perhaps not when we actually depended on it, and had all the practice/experience that goes with that.
import os
from flask import Flask, request, render_template, redirect
import requests
import shutil

app = Flask(__name__)

@app.route('/handle_form', methods=['POST'])
def handle_form():
f = request.files['file']
f.save(os.getcwd()+'/files/'+f.filename)
return redirect("/", 302);

@app.route("/")
def index():
return render_template("index.html");

if __name__ == "__main__":
app.run(host='0.0.0.0', port=8080, debug=True)

# <!-- index.html -->
# <!DOCTYPE html>
# <html>
# <head>
# <title>Send File</title>
# </head>
# <body>
# <h1>Send File</h1>
# <form action="handle_form" method="post" enctype="multipart/form-data">
# <input type="file" name="file">
# <input type="submit" value="Upload">
# </form>
# </body>
# </html>
The only nice thing to do is: pay their taxes, don't build surveillance systems just to show fascist ads to your users.

Actually, I don't expect companies to do these two things. I expect governments to prevent companies from doing those crappy things. And I expect voters to vote for politicians that do these things.
Might be a good thing in the long run.

The nuclear family was a stupid idea anyway, putting the necessity of income over the necessity of an (extended) family. Children are not supposed to be raised by a single pair of mother and father, that's not how humans have evolved to grow up. Humans have always been raised by the extended family and only in the last two-hundred years we've invented this crazy concept of a 'nuclear family'.
I mean it in the same way you'd put a "not to be operated by morons" sticker on dangerous industrial equipment. Redis offers little to no guarantees, particularly in a cluster, and unless your data is perishable (session state, cache ...) and you now exactly what you're doing, that's less than what most users expect. I've seen it happen several times already.
Compensation wouldn't be necessary if police were held personally accountable for their actions. There are literally no consequences.
never tried to post code on here. didn't realise it wouldn't render.
As one of the 60%, its not about deity worship, but more about a sense of stability. Especially where the monarchy has effectively zero involvement in daily life. When looked at from a P&L basis the crown is pretty good value. Certainly compared to all the alternatives that have been tried.
For reference here's footage of a Pokemon player hitting a police car (2016) https://www.youtube.com/watch?v=dD51pg9iTN8
>Did you talk to enough Europeans to know we can only name the BionTech guy as an example of a successful immigrant?

Please name some for me. Especially in Germany.
https://gitlab.com/wildland/wildland-client is clearly marked with GNU GPLv3 license, and at the bottom of the README there's a licensing info that states: "By contributing to [the Wildland project], you agree that your contributions will be licensed under the GPLv3 License."