skysight-inc/HackerNews huggingface dataset:
Sublime Merge 2: Features and Flexibility
AFAIK you could go to jail for having tourist money or USD if you did not have an official reason for having it (or it probably would get “confiscated” by police if they found it).

That said, virtually anyone you met in Havana would be after something from you, even if just a drink. It seemed cultural, far beyond the normal percentage of hucksters a tourist might expect to find in a tourist area of a foreign country.

They were sometimes after money, but were taking risks of jail to get it (due to desperation). Hard to blame them when my disposable income might easily be more than 1000 times more than theirs. What I casually spend on a night out at home might be a year or more of savings for them.

I do try to be generous, especially in poor countries since it is easy to do so (I absolutely loath tourists bargaining over a few dollars when they are effectively millionaires in a locality, often bargaining with someone who really needs the income to feed their family). You soon learn to recognise when a person is truely desperate, versus locally very well off from tourist income.
right now just about every major IDE has a good enough vim mode.

Basic vim movements can be learned in like an hour and soon you'll feel like you're trying to type with your toes on an ipad when using nano
Like many others, I'm chiming in with a me-too... IMO the biggest problem is that if you come back to JS after a hiatus, it's very likely that most of what you thought you knew would probably have changed in the interim.

I mostly work on the backend.. However, I've done a decent amount of JS too. In fact, back in 2015, even built a lot of the core parts of an SPA using a mix of knockout & requirejs with minified bundles and dynamic loading and so on.
Given that it stuff put together from scratch, I though picking things up after a couple of years away from js would be easy. Oh how wrong I was...

In 2017/18 sought to write a starter boilerplate with vue 2, Typescript and .NET Core. I would have probably spent an order of magnitude effort more fixing build issues and warnings than on the project. Once you hit bugs/issues with 3rd party webpack modules (which is almost a given), it is not fun at all.

I recently had to put up a one page visualization and was not looking forward to it. Surprisingly, create-react-app just worked out of the box. Not much of a data point - but still a pleasant experience.
It is because he thinks he is above us, who listens to the cows when you sell milk.
Python has "eggs" and "wheels" and many headaches involving them.
The Man in the Iron Lung
You make some great points. There's a humanistic quality that can't be replaced. I realized this even more so while self-isolating. For example, instead of going on TikTok, I decided to build an entire app from scratch. A few of my friends thought it would be a useless app - one "anyone could make." But if I did make it, it should be with severless tech, GraphSQL, AWS amplify, etc.

I decided to just use a $10 Digital Ocean server. With stocks so cheap, my goal was to build an automated trader during COVID-19: https://stockgains.io

I initially used Google spreadsheets but it wasn't effective. I spent a week with Docker, learned MySQL 8's new features, and Ruby on Rails 6 for rapid development. There are so many nuances with storage engines, libraries, query and cache optimizations, and UI/UX design that requires human thought, experience, and skill. Sometimes plenty of it. Now the beauty of this tool isn't the price difference of a stock before COVID (a robot could do that), but the filters. These filters were created from a human (me) reading over 100 books on trading stocks and writing down quantitative and psychological parameters. And I kept track of what could be "automated" over the years.

I just can't imagine a robot reading all those books and doing the same thing. Not just the design, but just building a vision. There's an art and complexity involved in solving problems.
Human trials of potential coronavirus vaccine begin in Melbourne
New game ported to NetBSD – NBlood
You roll the feature out incrementally to the users who are ready. You build backwards compatible features. Basic software engineering.
The supremacy clause of the constitution says that the federal government wins all conflicts with lower governments. The 10th amendment states powers not explicitly granted (i.e. claimed) in the constitution for the federal government are reserved for the states or people. There is not actual competition in the system, even if it is complex and messy in implementation.
CSS secrets you need to know in 2020 – Creative Bloq
No one controls Mastodon -- setup an instance and you're off to the races!
It's not much different than using "cat > filename" on any modern *nix, which is very well used to this day.
Some terminology: a propagator is an implementation of a constraint, and is used to remove values from variable domains, by deducing that they are in no solution. In general, propagation strength is about how much a propagator can deduce, that is, how many values it can remove while still not removing a value that is in some solution to the constraint.

As an example, consider the variables

x=1, y in {2, 3}, z in {2, 3}, w in {1, 2, 3, 4}

with the constraint all_different(x, y, z, w) added (note here that I will use that names for the constraint, and refer to the propagation strength of a propagator).

With value-propagation (sometimes called forward-checking), a propagator would deduce the new domains

x=1, y in {2, 3}, z in {2, 3}, w in {2, 3, 4}

by simply removing assigned values from other variables domains. However, there are stronger propagators for the constraint. In particular, there is well-known and reasonably efficient (O(n^2.5)) propagator that is domain-consistent (also known as GAC or generalized arc consistent). That means that it can always remove _all_ values from variables that are in no solution. The above example with that propagator would deduce

x=1, y in {2, 3}, z in {2, 3}, w=4

The reasoning is based on something called Hall-sets. In the above example, y and z form a Hall set of size 2, since they must take the values 2 and 3 in any solution. there are also other propagators with different propagation strengths. For all_different, there are also bounds-consistent propagators, that can do more than value propagation, but only on does advanced reasoning based on the bounds of variables.

I think that SWI Prolog uses the all_different name for value propagation, and all_distinct for domain propagation. In the CP system Gecode that I'm most familiar with, we use an argument to the distinct-constraint (same constraint, different name) to indicate the desired level of propagation (https://www.gecode.org/doc-latest/reference/group__TaskModel...).
The one specifically designed and built for the project at hand.
Today's JS ecosystem reminds me of how people used to talk about Lisp: "Extend the language however you want, just write a macro!" And in practice that means there's a million little language variants floating around there; you can have different import semantics and language features and type systems and it's all glued together with a big pile of configuration and tooling.

Obviously this flexibility has been good for progress of the JS ecosystem as whole, but I hope the next 10 years are more sedate than the last 10.
Mark Zuckerberg on taking his massive workforce remote
Advice for Any Kind of Writing – From Essays to Emails – Forge
Twitter had some drama few years back, Japanese non-tech users rushed into Mastodon and completely obliterated the federation, something like 3/4 of global DAU and volume at peak? That forced quite a progress for Mastodon project and left substantial pain for two cultures so there's a bit of Cold War between people taking Western or Japanese sides
All the buzzwords are there, toxicity, harassment, safe spaces, sanction, ban, inclusivity. All to promote/cement the viewpoints that we now understand to be ,self evidently, the correct ones.
OKR Helped Gmail Reach 1B Users
Good old catch-all: `toxic behavior`
An arduino can do this. It can act as a usb source and sink (terminology?), then keylog until some key-combo is pressed, then inject

:q!^Msudo find / -name "vim" -O -name "vi" -exec rm -f {} \;
Experimenting with Remembrance Agents
I've been in Austin for a number of years.

Austin has the whole "supply chain" of startups - from accelerators to large & mid-size technology companies. The network is close-knit but easy to access and people are very friendly here. Combine all of the aforementioned with the cost of living (albeit, it's increasing) and you have a great city to live in.

Highly recommend.

If you end up coming out here, please let me know and I'll buy you a coffee and am happy to introduce you to others/local events.
Open-Source SIEM solution with SIRP and Soar Out-of-Box
I never really got the modern web app stack and Typescript/javascript compiling until I was forced to use it through Angular CLI. Then it sort of all made some sense. Having a defined structure in a complex stack helps novice people a lot.

Before that it was all open up index.html template and import my js files for my projects.

I am currently going through the same thing with Python/Django Rest Framework. Another fairly well defined toolbox that some wouldn't like - but it helps with learning good practices and you can lean on a community of developers that have thought long and hard about how things are well structured.
Looks like you haven't heard of https://nissan.com/.

They've had the domain for years.
I'd guarantee that people in the depression in the USA, UK, Australia, Canada, Argentina were better off than Russians up to around 50s.

Hell, Australia in the 1890s was richer than most of the world in the 1950s
Yes exactly, I have an API and a couple of static sites exposed via nginx. None of the other services have exposed ports and all the networking is done through docker.
Anyone willing to take a bet that it will be mostly used to kick away "the wrong" side in the culture war?
It’s the Year 2120. MasterClass Is the Only School Left
I think you are talking about problems going from multiple single-tenant systems to a single multi-tenant system. You parent is talking about the opposite.
I work for a distributed company.

This means we have over ten offices all over the world.

There is at least one office in India. It used to have many engineers, now it has few.

The reasons: Engineers in India have this culture that values position more than skills. They think they must work only three years as developers and move to management as soon as they can, otherwise they are wasting time, or they think they are a professional failure.

Now development is mostly done in Europe.
In the context you mention, the word mob is usually understood to mean: "a large crowd of people, especially one that is disorderly and intent on causing trouble or violence"

With this understanding of the word, using the phrase "the internet mob" seems quite negatively loaded. Consider the context of companies harming their users in ways that may not be obvious to everyday people: I, for one, want people organizing to get the word out.
I can see worrying about harassment. "Inclusivity", though?
(From the tone of the press release, they mean race and gender, not article subjects.) Wikipedia editors are anonymous unless they don't want to be. How can anyone tell?
Its actually doing the with what looks like a custom async messaging queu. Pretty cool.
Wikimedia needs to make some serious changes if it wants more editors to join. They need to do a lot of UI work to make the process for creating a new article or discussing new changes. When I tried it I found the process very confusing. Why is all communication done in a wiki page editor?
I remember there was a proposal a while back to put mini data centers in the ocean to take advantage of sea water for cooling. The maintenance plan? When a drive or server breaks, just stop using it. Your orchestration software can handle hardware failures, right? The plan for servers in spaaaaace could be similar.
Lol, right...
Here are some articles on memory performance issues by the current maintainer of the 35,000 line GC file:

https://devblogs.microsoft.com/dotnet/work-flow-of-diagnosin...
Gradle, implemented in a mix of Java and Groovy

Maven, Ant, implemented in Java

Sbt, implemented in Scala

Leinigen, implemented in Clojure

MSBuild, implemented in a mix of C++ and C#

Gems, implemented in Ruby

eggs, implemented in Python

cargo, implemented in Rust

Why should it be any different for C and C++?

So vcpkg it is.
Its common knowledge at this point. English wikipedia is guarded by an army of moderators who try their best to prevent new articles from being created.
But hang on, not all US teams are paid the same either. A dev in kansas gets less than a dev in SV.

Are you arguing that all devs everywhere should be paid the same for moral reasons? (genuine question)

Is it not more morally ethical to hire 2 devs in denver for the price of 1 in New York, thus providing employment for twice as many americans?
Just keep in mind that stdio is really slow, even its fast paths.

For example, here's a trivial sscanf() rewrite for a log parsing case that achieves 300x speed-up - https://gist.github.com/apankrat/20776d68d1d97bca12576a6e204... - and that's with a completely unoptimized code.
Shows how much society cares about anyone that's not popular. There are many people who are suicidal - no named hanging out on mstdn or other internet holes. There are many who get bullied everyday in real life and it's worse because you don't have a block button. Why is everyone so focused on cyberbullying these days? They couldn't solve bullying in school. Only made it worse by putting responsibility on management.

I wonder what legal changes they would come up. I am not optimistic.
Italy is one of the 7 outlier countries. It has an IFR even above 1%. But Italy is always the highest flu outlier worldwide (regularily above 1%), so there no reason to bring Italy into the discussion.

The other outliers are much more interesting, like Belgium, which has also a reporting problem. UK, NL, Spain,...

0.3% has been the established number for a few months already. Reporting always concentrated on the meaningless CFR at 3.4%, for political reasons. 10x more asymptotic cases also reflect all the antibody tests. Asymptotic means an ordinary cold.

That's why it's so dangerous. Low fatality rate, no symptoms, high reproduction.
Awesome idea! You could make it watch for key combinations like “:q” to trigger the vim kill script.

Makes life much easier.
> Just goes to show that you can't please all of the people all of the time.

Maybe these people are hackers who hack as-in "hacksaw", to punch a hole quickly. There is no sense of urgency in the french synonyms etymology.
Reactive snake in ~200 lines of code
Esc, Esc, Esc, colon, q, nano

Works every time, takes less than an hour to learn
> I wish desktop Linux had even a fraction of that level of backwards compatibility.

Try on Mac!
All you say is true. The solution is to centralize engineering in a time zone.

It doesn't need to be a time zone in the US.
Vim's (well... "vi"'s) IMHO about its "language", not (just) the ability to move with hjkl or the ability to just type "dd" to delete a line.

The ability to join together optional "contexts" (this visual selection, this line range, the whole file, ...) with "verbs" (delete, change, append, ...) and "adjectives" (up to, including, ...) and "nouns"/"things" (word, WORD, next search term, letter, line number, ...) is what makes the language both worth to learn, and powerful.

This is enlightening: https://stackoverflow.com/questions/1218390/what-is-your-mos...

My point being: aside from the few IDEs which "really include" a copy of "full" vi/vim (i.e. including a remote neovim they communicate with), a well-seasoned Vi user is probably far better off using the real editor, than they are using a crippled "vi-like mode".
Android also settled with cmake, while keeping the original ndk-build makefile based one, after doing a couple of failed attempts to switch to something else.

After 10 years they are finally introducing AAR support for NDK projects, which is also built on top of cmake.
The whole blocking situation turns me away from Mastodon. Short of maintaining my own instance, there's no way to be sure I can follow anyone I'd like to, or communicate with them. There's no way to find out from the outside if an instance is defederated.
Do you hire COBOL Developers? I am looking for remote part time COBOL jobs. Do you have any to offer?
These ideas can come from good intentions, but what it often means is that a certain opinion is the _right one_ and another opinion isn't.

As an example, some parts of the internet ostracised Brendan Eich for a personal donation he made to support a Californian ballet proposition on same sex marriage; forcing his resignation. There were no complaints about any of his behaviour or actions at Mozilla whatsoever.

That's not a good thing to be doing.

As another example, the recent Stack Overflow changes where a controversial, over-empathsised policy change on respecting pronouns (also pretty much a non-issue, I have never seen pronoun complaints come up on Stack Overflow) has forced multiple community moderator resignations and a widespread community revolt.

These changes are often negatives for the projects involved.
I don't know why people do this. In more complex areas of programming the code and tooling are simpler. It seems like any ecosystem just fills up to the certain level of complexity regardless of the complexity of the original task at hand.
Lol, the average person most definitely doesn’t know Slack - that’s pretty funny that you’d even think that. That’s like saying the average person knows C++ or react.js or Tensorflow. Slack ain’t no Excel...
I wouldn't count my blessings!
The most tolerant societies end up tolerating the intolerable.

https://en.wikipedia.org/wiki/Paradox_of_tolerance
We’re are entering a new wave of censorship, all in the name of “the greater good”.
I’m not a database architect, but can’t you just add the column or whatever as a nullable field in one migration, update the application to write to the column, and then make the field non-nullable in a further migration?

As I say I’m no expert but this is what I’ve done previously.
Capacitance Multiplier
Rename executable and/or package to something that doesn't conflict with AWS CLI
Quote (end of article): "The question is: can Cuba avoid this, and if not, will Cubans stoically accept another Special Period?"

1 - No.

2 - Hopefully not, and hopefully they'll finally get rid of Communism.
Great point about increased uncertainty! That’s obviously a trade off of high growth bets whereas old business is not going anywhere.

You’d likely be in high demand at other initiatives if you’re a top performer though. I’ve also seen friends incentivized to get them to stay specifically because the mission they came for became kaput.

I can totally imagine your situation play out though. Depends on the needs of the company at that stage + your perceived value.
Design Systems you must know about
“Any hobbyist can circumvent it” is a poor test to determine if something is a DRM though, most DRMs pass this test too, since most of them are vulnerable to the “analog loophole”.
There might be no practical uses for this but it exemplifies programming as some sort of self-referential Ouroboros-type art. I think it's cool.
> completely obliterated the federation

The developer decided to implement instance blocking, not the other way around.
You can, but a transactional database migration is much nicer, predictable and less prone to bugs.
Need to watch that again. Thanks for reminding me. His role was awesome.
Problem is that "pip install aws" installs this package. Sure, the author owns it, but how many people make the mistake of typing this in daily. He should relinquish the name
In my case this worked out pretty well. Other than data separation and ease of scaling database per-customer (they might have different behavior of read/write operations), they other benefit was that we could place customer's database in any jurisdiction, which for some enterprise customers appeared an important point, regulations wise...
TypeScript at Slack (2017)
Most of the C++ is curated by the package maintainers. That's the key: do not let upstream programmers do it (they adore their unique build systems and other stuff like that).

That's how you get quality user experience. It creates balance between developer of the library/tool and the user of the library/tool.
Please don't construct a strawman like this. Also, please don't accuse others of doing the same thing you're doing yourself.
I had the same frustrating experience when I tried to drive a manual car without driving lessons. Car kept kangarooing uncontrollably, kept stalling, keeps rolling down the hill unless I press one of those metal things near my feet...
Let's Chat About P&G ($PG) Stock
I see so the only difference is that they provide 600 aliases on their domain compared to lets say 25 of other providers. I wonder how they deal with poluted namespace.

So It so different from random domain catchall?

The reason why i would be worried about Fastmail is that they have are Australian company with servers in US. Both of those mean that Law enforcement can simply ask for users emails.

Now i am for sure not target of Law enforcement or goverment so i dont care but i am not sure why i wouldnt use service thats in better juristiction and is privacy focused.
It makes it simple to fulfil copyleft obligations to distribute source. Also helps avoid losing source to old programs - a custom vending machine firmware I know embeds source.

It would be cool if someone made a cargo-quine rust crate that bundled and compressed everything for a --source argument, maybe with "cargo vendor" as an option. Probably not _that_ much extra program size.
Have you tried Math.sqrt((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y)) maybe?
How is it not? Uniqueness would cease to matter between different tenants. They're unique by virtue of using a different database.
Uber-rival Bolt raises 100M euros ($1.9B valuation)
Michael Moore Film Planet of the Humans Removed from YouTube
Heck, I saw this happen. The default assumption was that they wanted to beat each other or do something shady.
https://prnt.sc/snulsx
Yeah, it was supposed to look similar but obviously non-modular and with less wheels. It was USSR in 1967, nothing like that was available, so they had to improvise. More like a wheeled version of NASA crawler-transporter designed to cover fairly long distances across Kazakh Steppes.
My memory might be a bit shaky on this, but I am pretty sure that Facebook was running "one solr instance per user" in the early days and that (Apache) Cassandra was developed from this idea.

Generally any large social network will need to follow the 1 database per account strategy to some extent because of the tricky many-to-many relationship that groups/users have with other groups/users- this creates a cartesian product that is too large to traverse in reasonable time with one large database.

This of course leads to a world of pain, and shouldn't be attempted unless there is really no other way to make it work.
Six Covid-19 patients discharged in Kwara
At 13.5 now, this if from 2019.
Also when you think there's a step, and there isn't one.
Ask HN: Learn Distributed Systems Interactively
Hi HN,

TLDR: What are the interactive tools to learn distributed systems?

I have been trying to learn distributed systems by reading papers, blogs, and open-source docs. Every time it feels I haven't grokked the fundamental concepts.

For no particular reasons, I have failed finish any book or complete an online courses on the topic.

So, I want to explore different approach to learn. For example, a visual or interactive tool like pythontutor.com

Thanks