skysight-inc/HackerNews huggingface dataset:
> Is there any good reason for us to add, learn, and maintain a technology neither of us yet knows?

Absolutely and that reason is, you are still a small team, with a small user base to boot. That's fantastic opportunity to learn a new technology and build on it properly! Remember everything is easier in software engineering if you assume you have no users[1] and your situation is as close as it gets to this ideal. Leverage it.

Plus, as me and others keep saying, Redis (and other proper queues) isn't a complex addition to your infra. This isn't Hadoop, or Kafka, which is a very special type of queue (one way to put it, at least).

> one request per second, and postgres for a queue is more than sufficient for that

Yes I agree but...

> Or would we do just as well to abstract away the queue in the code so that we can switch to redis when we do run into scaling problems?

What I read when I see such statements is this mythical software engineering ideal that with enough abstraction, a migration is just a matter of writing a new class that implements some interface and then changing a config. For a sufficiently complex app infra, that happens almost never because you could never keep the abstraction leaks to an acceptable level.

Another thing, abstraction does not solve all your problems if the underlying implementation is poor fit to begin with. Let me paint you a plausible scenario:

Once you are large enough, you might find your PGQ acting weird and you realize it's because someone in the team wrote code that accesses your queue table like it's an actual table of records, not a queue. So you think, okay let's prevent that from happening. Maybe you add users and permissions to distinguish connections that need to access between tables proper and queue. Maybe you start writing stored procs to check and enforce queue invariants periodically.

Well, guess what, all those problems would've been solved for free if you invested maybe one work day getting a Redis server running when you were a two-person op serving one request per second.

Lastly, scaling a relational DB is an entirely different beast from scaling a queue. Scaling anything does not ever come painless but you can reduce the suffering when it comes. Would you rather scale PG so it can keep acting as a queue or scale a queue that's, you know, really a queue in the first place? Heck the latter might even be solvable by throwing money at the problem (i.e., give it more compute).

[1] Except for the part where you need to make money, of course.
>That doesn't exist - anywhere! You need to follow the rules and the only way to make sure someone is doing things properly (or at least know how to) is either to have them be certified in what they do or have someone who is certified check their work.

Dude, trust me.
Yes there are building and electrical codes. Many are written in blood. The perception that there is no implicit freedom to be found anywhere is unique to our internet worked world where you can pull the tail of the invisible cat and have it yowl at the inspector in short order.

What you are probably struggling with, is the concept of the Social Contract's primacy. There are those that believe what is allowed starts with a yes/no from the biggest baddest enforcer of their idea of the Social Contract. I call these folks Hobbesian. Then there are those who see the Social Contract itself as something subject to the independent acceptance in whole or in part by independent, free-thinking agents. I call these folks Locke-ian. They are famous for the intellectual fireworks that get set off if you lock them in a room together to settle their differences.

The reality is, the truth is something more akin to: let's implement paperwork and objective inspections so people have a safe recourse, but leave the door open for people to do what they want with things they own, and only argue about the more philosophical notes when there is a clear and present breach of decorum by one party or another.

This arrangement tends to keep both parties reasonably happy.
If you're at the scale where your postgres db can be used as a queue and no one on your team has experience running a these systems (most startups) then pretty much anything will work to begin with and as long as you have a clear interface that separates your code from your deps for the queue it'll be easy to swap out.

At $JOB-1 I wrote a `Queue` and `QueueWorker` abstraction that used an environment variable to switch between different queue backends while providing the same interface. Because of this I got everyone up and running with Redis lists as a queue backend and then could add in things like MQTT or RabbitMQ as things evolved. I also defined very loose constraints for the queue interface that made it so the implementer. Essentially there was a `push()` which added something into the queue or failed and returned an error. Then there was an `onWork()` which was called whenever there was work "at least once" meaning your system had to handle multiple instances being delivered the same work item. We would only ack the queue message after `onWork()` completed successfully.

There's not really anything preventing a team from doing this, putting a pin into it, and coming back to it when there's a scalability or reliability concern.
If you think using the title 'Commander of the British Empire' is bad, check this out:

https://www.theguardian.com/uk-news/2020/jun/22/calls-for-re...
That's why I mentioned the OpenStreetMap relation ID, with that you should be able to pull the OSM data and there are usually tools to convert OSM data to whatever you need. What format do you need it in?
Containers aren't Docker. They're a combination of Linux features. Your container runtime might provide health checks and fancy features, but containers do not.

> We're talking about being able to deploy and scale the same app at will in a completely sandboxed and controlled environment. We're talking about treating everything as cattle, from services to system architecture.

Same is true for AMIs and VMs. Containers are the technology, not the pattern.
It feels like there is a really big, unexplained jump from the principles provided to the strategies that are shared.
Theranos was FDA approved. The approval alone is meaningless. Without the results of a clinical trial using your device, it's as good as useless.
I mean he does mention he didn't feel any teeth while inside and that's how he knew it wasn't a shark. So what wounds or physical signs would anyone expect to see in the hospital from being in a cushy whale mouth?
There's a lot of obsession with 'new games are better' amongst modern board gamers that they overlook what's good about the classics and why they are still here today.

I admit I was kind of the same way at first, plowing through hundreds of modern games and mostly ignoring older games, but if you take another look at the classics there's some real gems there. A few other excellent games you don't mention are Shogi (500 BP), Cribbage (420 BP), Fanorona (340 BP), Crokinole (150 BP), and Acquire (60 BP).

Although IMO, Double 6 dominoes is where it's at, not double 12. "All Fives" Dominoes and Partnership Dominoes are highly underrated amongst modern gamers, imo.
You (or whoever is doing ops) will have to pay with your time to operate Redis until the product dies though.

I don't think adding another component (especially one with storage/backup requirements/more complex failover procedures) should be taken lightly.

Paying attention to the tips/tricks/gotchas is something you'd pay once and hopefully document in source code/documentation.

If you piggyback off someone else's work (another team at your job, a cloud-based solution that handles everything, etc) the calculus would change, of course.
Other options that are perhaps faster to use on the fly, are bash/zsh's builtin printf and GNU's printf command, with the %q conversion specifier (modulo the newline/trailing space issue).

> bash$ printf "%q " \"yo" dude"\', it\'s\ me'!' ; echo

> \"yo\ dude\'\, it\'s\ me\!

> $ command printf "%q " \"yo" dude"\', it\'s\ me'!' ; echo

> \"yo\ dude\'\, it\'s\ me\!
> It may have been aware that it was a human, but I have some doubts. If it saw that a human (or really anything larger than it can eat) was amidst the prey it was about to make an eating pass on I'd expect it to either wait for the large thing and prey to separate or would switch to a different target. It would only try to eat that prey if it didn't see the human.

My understanding is that the whale's mouth balloons open for feeding during a pass, blocking their forward vision. This is a significant cause of them getting stuck in nets.
Productivity-oriented collection of lightweight fancy stuff for Scala toolchain
Since the missile is coming from the launching aircraft, both of them will be on roughly the same bearing; certainly early on.

Flying perpendicular to that bearing will thus (hopefully) result in both sets of radar electronics filtering you out.

Should the two bearings diverge at some point, I'd recommend notching against the one armed with the explosive warhead with your name on it.
If you mean that some organization (not an individual) could Direct Debit you, then you have to hive your bank an explicit agreement for that.

If you do not, you reject the payment and it is now the bank problem.

An IBAN is never a secret.
I got interested in MD during high school in the late 90s/early 2000s. I was the only person I knew that owned a MiniDisc recorder/player, and my friends and I recorded what were basically podcasts onto my two boxes of blank discs. It's a damn shame the format didn't catch on in the US, I loved the it.
What is "Q"? You seem to refer to a model that I haven't heard about and I'm curious about it. (And not sure how to Google this one).
> Sc1.5Al0.5W3O12

That's a lot of Scandium, one of the most expensive elements. Typically ~$120/gram. Not making airplanes out of this stuff any time soon.

Hopefully the research unlocks similar crystal structures using cheaper materials, maybe subbing something like titanium or yttrium. Metallurgical substitution is tricky, since often you need to match both electronic (group analogs) and size (row analogs) characteristics.
It bugs me that the normal notation is called "reverse notation". :D
thanks for the hint! I will have a look.
Does this work with SSL-pinning enabled?
Goth or emo?
Seems like fair play to me honestly and can only really be elegantly dealt with on yelps end by tracking who users are and showing them reviews of people with similar preferences.

The logical approach to me given the current system would be vax passport proponents to penalize bars for NOT requiring such passports in the reviews. I think these reviews are fair game but the knife cuts both ways.

Not that I use Yelp since they're extortion racketeers.
As somebody who browses with JS disabled by default: Would you let me give you a 2KiB executable of native code? Probably not. What makes you so much more confident that if I give you 2KiB of JS, that it's not going to exploit you?

We are far past the "do the right thing" plea. At this point, many major sites are simply not on my browsing menu, and I write tools to extract any data that I care about. It is now a systemic issue: How much do you trust random publishers to not attempt to compromise your Web browser?
Follow up:

I agree msrp is rarely paid. Even the uninsured can often get manufacturers discount. You raise a good point that there is a possibility that biogen will update msrp, but I wouldn't hold my breath.
Taking the Americas was always the ideal way to win. Only three borders to defend. The Asia strategy hardly ever worked.

Then there's my personal favorite once you know you can't win: "Turtle up" in Australia to drag the end game out for no reason other than spite.
That seems like an extreme oversimplification of history.

The Partition is what happened after the British Empire left. The British were very much NOT in favour of it, and it was a policy created and implemented entirely by the local population and their leaders. Hindu vs Muslim animosity was a long term problem, very deep seated and something the Empire worked hard to keep the peace around. Even as the British implemented independence, they were encouraging the two sides to form a united India and were brokering what were effectively 'peace' conferences to try and ensure that outcome.

However, it didn't work. Once independence was granted the two sides immediately went to war to create the partition.

Thus describing that event as being caused by the British Empire seems doesn't seem fair. The British were the ones suppressing it during the time of Empire and arguing against it even as they granted independence to engage in it.

From https://en.wikipedia.org/wiki/Partition_of_India:

In early 1946, new elections were held in India. With the announcement of the polls, the line had been drawn for Muslim voters to choose between a united Indian State or partition ... The negotiations between the Congress and the Muslim League, however, stumbled over the issue of partition ... Recovering from its performance in the 1937 elections, the Muslim League was finally able to make good on the claim that it and Jinnah alone represented India's Muslims[66] and Jinnah quickly interpreted this vote as a popular demand for a separate homeland ...

Britain had wanted India and its army to remain united to keep India in its system of 'imperial defence' ... Even though the unity of India would have been preserved, the Congress leaders, especially Nehru, believed it would leave the Center weak. On 10 July 1946, Nehru gave a "provocative speech," rejected the idea of grouping the provinces and "effectively torpedoed" both the Cabinet mission plan and the prospect of a United India ...

That very evening, in Calcutta, Hindus were attacked by returning Muslim celebrants, who carried pamphlets distributed earlier which showed a clear connection between violence and the demand for Pakistan, and directly implicated the celebration of Direct Action Day with the outbreak of the cycle of violence that would later be called the "Great Calcutta Killing of August 1946"

Fundamentally, trying to blame the British for religious sectarian violence that occurred the moment independence was granted looks like the standard attempt by certain viewpoints to blame westerners for all the world's problems.
I don't know what the boundaries of eusociality are, but some cellular slime molds and bacteria exhibit a social behavior where they differentiate function based on position in a colony but can also live on their own.
I've used it with a CUDA backend, it does work.
Using a tool without knowing reasonable bounds of the domain, current requirements, and how the tool (redis in this case) solves the problem isn't good advice.

Case in point our team went with Redis, just the default, use it blindly without fully understanding our requirements and how redis helps scale.

2 years later we spent 2 sprints, holding back the release trying to understand RDF vs AOF, and why we're seeing massive spikes in consumption and performance triggering pod eviction, running comparison tests to prove which works better and explaining why, running qa tests (regression, performance, load), introducing postgres for queuing, redoing our code to bypass the sync mechanism between how data flows between redis and postgres, updating dependenciies, migrating existing customer data (various on site locations), explaining this to team members, managers and their managers, installation technicians, support engineers and presenting it at engineering townhalls as a case of bad decisions.

Not worth it.
> 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

The flaw here is ignoring that corporate earnings are not contiguous with GDP at a country level. A country’s earnings cam grow faster than GDP, when overseas profits grow faster than domestic profits. Since most large corporates are multinationals this consideration is highly relevant.

Apple has grown very fast, but since iPhones are mostly assembled in Asia and the software is booked in tax havens like Ireland, very little of that accrues in the form of US GDP.

What’s much more likely than corporate inequality increasing is that US corporates have done a much better job at expanding overseas than large European corporates. This is also why American consumer expenditures are much higher than you’d predict from looking at GDP per capita. iPhones may count as Taiwanese and Irish GDP, but the huge profit margins wind up buying back AAPL stock that is largely held by American shareholders.
Accounts of the Boer concentration camps are horrific. And the scorched earth policy was brutal. I don't think it was a deliberate attempt to exterminate the Boers though. Just to subjugate them enough so the British empire could take what it wanted.
Any non chechens? Because recent beheading of french teacher definitely could play a certain role in that decision.
Meanwhile opponent straps nuclear hand grenadines to a few thousand drones and flies them to your bases. At a fraction of the cost.
In my experience as an army officer, the “wider net” is cast for positions in the army where that fitness isn’t really necessary; ie, logistics units, cooks, admin, etc. I spent all of my time in infantry units and the people in those physically fit, high T jobs are still almost all men that are physically fit and aggressive. And that’s in normal units, so not even counting special forces and rangers. I also met some guys that looked fat and soft that fought like devils when pressed and would run exactly as fast as they needed to to pass a fitness test.
The infinity is an important concept which appears in most areas of the maths and physics. The maths is full of ideas that may seem counterintuitive (eg. "imaginary unit" - the square root value of -1), but as long as they are precisely defined, they can be used in reasoning that gives practical results.

And even if some math concepts can't be applied to anything practical yet, we never know what will be used to formulate another theory about the stock market behaviour or processes inside the black hole.

Coming back to your question, here's an example: many math constants (pi, e) and functions (sin, cos) can be defined as infinite sums (series). They converge, getting closer and closer to the limit, but they never achieve it.

Using these series it's possible to calculate (in a calculator, Excel, Quake or CAD) values of these functions with any required precision.
Yeah they are measuring inequality but the subtext is that some of US companies are bigger because they have big global brands, which Europe has not produced. Remember Skype and Nokia?
The question of how to properly implement an instruction like xdcbt is interesting. Undoing the damage would be both tricky and expensive. Only doing the L2-skipping when the instruction is executed (as opposed to speculatively executed) would probably be way too late. It seems that such an instruction is probably not practical to implement correctly.

I never asked any of the IBM CPU designers this question (it was too late to make changes so it wasn't relevant) and now I regret that.
This would make the ultimate 3d printing bed.
Well, to be frank when you provide someone your credentials you oprn yourself to a new world of pain.

But this is also the case when you allow your bank to aggregate info from other banks. At least you can hope that they protect it somehow (because of bank regulations, but this is a very thin hope)
Mocking a man’s manhood spurs a reverse MeToo in South Korea
"Unbelievable" is a strong qualifier. Care to give some examples? Genuinely curious.
Get your requirements in check.

How sensitive is your app to latency? How much data and request volume you need to handle?

Do proof of concepts, write thorough load tests and go for what makes sense.

Either way, no matter which tech you choose, make sure monitoring and alarms are in place and that you do regular maintenance exercises.
It's more than that. Most eusocial insects have only one reproductive member per unit - the queen. All of the rest of the members are children of the queen and work to ensure her ability to reproduce, thus maintaining their own gene line. The future queens will be sisters of the non-reproducing insects.

Very vague recollection of mine, but I believe there was a study about the role of homosexuality in propagating the species. In very complex social animals likes humans, we can also ask about the reproductive "utility" of such things as art and music, which don't directly contribute to the basic needs of survival.
This is the https://en.wikipedia.org/wiki/Conjunction_fallacy in disguise. What is more likely; that JS is working correctly for everybody, or that at least one of the article's listed conditions applies and JS is not working correctly for everybody?
> If this is a good strategy, I have always played it wrong -- because I've always tried to take whole continents.

Its not a great strategy, because it doesn't work. If you are taking only one country a turn and keeping only a small connected corr of reinforced countries with the rest weak, then anyone playing a “grab lots of countries quickly" strategy is going to steamroller your weakly defended territory, and if you are only taking one country per turn, you’ll never recover from that.

A thick shell/thin-core strategy can work (especially if it is “talr Australia, then expand a bubble out in Asia), and otherwise looks a lot like the strategy this recommends, but you just have to accept that if a strategy can work, people are likely to recognize it; you can't reliably avoid balancing feedback unless you are playing against inexperienced players or naive AI.

(Also, contrary to the article, IME while Australia is frequently taken early on, its also a major balancing feedback trigger.)
AI Can Now Copy Text Style in Images Using Just a Single Word
Luck is only zero sum if you are playing zero sum games. If your are engaged in mutualistic games, everyone can be lucky together.
> the #1 use-case for casting, to play movies that sit on your device (phone, laptop) on your TV

Is it really, though? I've used "casting" many times, and it was always to cast something that was "on the cloud", never something that was on my phone, to my TV. For example, it's a lot easier to find a specific YouTube video with my phone than with my TV remote.
A forum on the DeepWeb is selling Covid-19 vaccination data of 7.4M Italians
Very few things have "decent scale". 99% of apps can run on a single server with modern hardware.
Police have been told to avoid certain areas in uniform when traveling to and from work. In other areas the police think twice about entering, as people are likely to throw things at the car etc. I have this from a friend in the UK.

If that doesn't qualify as a type of "no go", I don't know where to draw the line. In any case, it's shocking.
I see this! I didn't think to ask if other have. Watching it doesn't help me fall asleep, though.
Breakthrough? No. Good work? Yes.
Ugh, Stems was the only engineering class I took as an undergrad and the whole thing felt like it was stuck in the uncanny valley between the abstract and the concrete. Maybe 33 years later I’d do better with it.
My father had a big book shelf in his office room in our house which spanned two of the walls. As a kid I loved to browse the shelf and pick up different kinds of literature. I remember reading Jules Verne's “Journey to the Center of the Earth“ around the age of 10 and although it was a rather tough read, I was blown away.