skysight-inc/HackerNews huggingface dataset:
Locking is no longer 100% reliable as soon as you have horizontal distribution of the same data over multiple nodes (for redundancy, so you can guarantee delivery) instead of sourcing from e.g. a monolithic rdbms. Eventual consistency is the model for a whole lot of distributed systems, e.g. S3 or Mongo. The CAP theorem applies to more than just databases, so MQs tend to use eventual consistency as well, which looks like at-least-once and not guaranteed exactly-once delivery.

While dealing with at-most-once delivery is easier in isolation as an application developer on the consumer side, dealing with lost messages is in practice MUCH MUCH harder on the producer side than idempotent handling where required on the consumer side. You end up building elaborate mechanisms for locking and retries and receipt validation which can all fail.

Just think about emails, there are a lot of situations where you can't be 100% certain whether the other side received the message or not. For something low-priority it may be better to ignore partial failures, but if it's important it may be better to send a second message to guarantee delivery. If you're modeled on never sending the same message twice AND the messages matter, you're in trouble.
that actually happened to me trying to find a human to talk with at Yahoo.

it was kind of hilarious to "hum-hum" my way through his instructions on how to install TeamViewer on Windows. obviously it failed at some point as I wasn't able to keep the pretense...

there are entire call centers dedicated to those scams, it's kind of scary.
Google is rolling out on-device voice recognition too. They’ve integrated it into Gboard:

https://ai.googleblog.com/2019/03/an-all-neural-on-device-sp...
aka WaterFail
If you wanted multiple pull-based consumers for the stream, wouldn't you need a separate SQS queue per consumer, with each queue hooked up to SNS? Perhaps I'm mistaken, but that seems brittle to me. With Kinesis/Kafka, you only need to register a new appName/consumer group on the single queue for fan-out. Plus, both are FIFO by default, at least within a partition.
This is too trivial to share, IMO.

How do you define complexity threshold for something being worth sharing?

More to the point, why do you define that threshold? What benefit is there to saying someone's work that they're sharing has to be sufficiently complicated? Simple things can be immensely useful and well worth sharing.
Complaining about TIM on an entry-level processor seems... questionable.
It makes sense to group hexadecimal numbers by two (nibbles).

In this case 0x1_0000 is the least-significant bit of the third byte.

If that's a bit flag encoded in a 32bit value, I also like 0x0001_0000 for clarity.
Lots of people seem to derive value from Github, especially the social aspects and the exposure it gives to your project.

That said, I'd love a decentralised alternative based on IPFS or somesuch. There's probably something out there already, perhaps this may be impetus enough to cause devs to move? Seems unlikely.
I don't think the London historical offset should be blamed for such errors, nor should New York's nor any other zone's historical, local mean time offsets. If the tzdb is being used in a buggy way, that's on the user - in this case, pytz. Virtually all systems use tzdb in some form but don't blindly take the earliest historical offsets in a common usage pattern.

Fun fact: for many years the ECMAScript spec states explicitly that JavaScript implementations (i.e., a browser's implementation of JS) should use the wrong time zone information! Wrong in the sense of using an offset for _today_ rather than the offset that was applicable at the time of _the Date object_. Maybe they've changed that in recent years, I can't remember, but here's more info: https://codeofmatt.com/javascript-date-type-is-horribly-brok...
A relevant perspective for the tech community is this:

- Index funds will buy whatever there is that passes a filter (eg market cap)

- Private companies like Uber now rival the size of large cap firms

- So if you can pull it off, you can find a buyer for your VC backed firm who doesn't think.
Canva security breach: hacker claims to have stolen the data of 139M users
Scite: Bs Detector for Science
Note that it's not my code, nor am I familiar with it. I just had it lying around on my disk to try out Alacritty.

Here's the line in question: https://github.com/jwilm/alacritty/blob/master/alacritty_ter...

I agree 0x1_000 or 0x10_000 would make more sense, but it doesn't look like the actual value used is hugely significant.
While no one knows how this will play out, I'm very curious what are experts in various economic camps saying about it, what predictions and warnings are being issued and what logic they are basing that on?
Jesus this scroll-hijacking is an abomination.
Five Powerful Robots You Shouldn’t Miss
Any chance I can have a Mac Mini with a 3700X in please?
Up here in the UK. Though Reddit can yo-yo between up and down though out the day more frequently than a whores knickers.
The part I like best about your utopia is the irony that it leaves all native english countries out by design.

"Thanks for giving us this tongue that has allowed us to transcend as humans, now GTFO"
By normative beliefs I refer to your “motivations”, not intermediate ends.
Maybe I read too many horror stories when I was younger, but the concept of a "digital dark age" has stayed with me. I never fully trust online resources to be there after a wildfire, flood, or multiple changes of storage format.
My preferred solution is for Facebook to assess whether a video is presented as accurate but has been altered with intent to deceive. If so, it is tagged "This video has been flagged as deceptive. Click here for details".

Yes, from time to time I might disagree with Facebook about the accuracy or intent of a video, but it would be an improvement on the status quo.
Yeah, I think this might finally be the reason to replace my old Haswell.
Tell me, how do you search and collaborate on code that's fully distributed (in the git sense)?
> Red implies that the deleted lines are more important than the added lines

I've never gotten that impression. I and my coworkers & classmates usually highlight text using the standard yellow highlighter, occasionally using other snazzy highlighter colours - red sometimes included, but usually not.

The associations that leak in from other domains are green=good/go, red=bad/stop. It's very easy to mentally remap the colours to the intuitive green=new, red=old.
Yaaaay, there is a project that integrates it with vuetify my favourite vue UI kit:

https://github.com/iliyaZelenko/tiptap-vuetify
> Did you ever think that you might want to put the user experience first?

I like react for SPA because it means It makes it easy to build a pretty solid user experience. The best example I had was when I was building the login + info portal for inflight wifi. We used server-side rendered React to give them an operational page without JS, and then enhanced it when the JS loaded in, and then precached additional content to make the pages load instantly.

The react + webpack ecosystem made this _really_ easy. Inlining the critical css for the base type + login form was stupid simple.

At the end of the day, there are lots of tools and its up to developers to find the best tools for the job. Sometimes, developers make the right choice. Other times, developers make the wrong choice. If you have a dysfunctional team/org, you're probably not going to build much great regardless of the tools you choose.
FAQ on the security breach on the Canva site:

https://support.canva.com/contact/customer-support/may-24-se...
You are right, but it's kind of beside the point given the context is web libraries. jQuery is built on top of the DOM API, so it's a library on top of an abstraction. It is just as simple to learn, so why not learn the core abstraction, with which all other DOM based abstractions are built from?

jQuery will eventually go away while the DOM API is part of the web's core stack. Maybe it changes over time, but there will likely be a DOM API as long as there are HTML based browsers.
I'm a fan of index funds but part of me can't help but wonder if this development will result in actively-managed funds and wealthy individual investors having outsized influence on market direction?
.filter() is not a method on the NodeList though, it only has forEach(), and even that is quite recent.

This is why people convert it to an array, and one of many reasons the standard JS API (and the DOM one in particular) are annoying to work with.
Millions of senior citizens can’t afford food – and they’re not all living in p
Would creating a GPL or BSD licensed project and then contribute to that work (in case the employer allows work on FOSS)? Then one would presumably be free to start a business using that software after quitting. Also if it's BSD licensed there's nothing preventing one from close sourcing the stuff after quitting. Of course the code would potentially already be out in the world and used if it's in a public repo...
There are many other parts to this story of centralization, not all of them bad. Centralized solutions are always more efficient than decentralized ones, for both graph-theory reasons and economies of scale. They also tend to be more convenient to use for typical use cases. Centralization of trust also has utility. Then there are the nefarious reasons to centralize - control and influence.
Git is DVCS, D means Distributed. Anyone can run their git and manage incoming contributions by email, which is distributed, and what git is built to use. See https://drewdevault.com/2018/07/23/Git-is-already-distribute...
That's the challenge of distributed systems :) it really boils down to how you want failures to be handled.

If you ack before processing, and then you crash, those messages are lost (assuming you can't recover from the crash and you are not using something like a two-phase commit).

If you ack after processing, you may fail after the messages have been processed but before you've been able to ack them. This leads to duplicates, in which case you better hope your work units are idempotent. If they are not, you can always keep a separate table of message IDs that have been processed, and check against it.

Either way, it's hard, complex and there are thousands of intermediate failure cases you have to think about. And for each possible solution (2pc, separate table of message IDs for idempotency, etc) you bring more complexity and problems to the table.
I love this article. Nice re-framing of color choices.

This makes me think it would be nice to have at least two functionally distinct comment types: remarks (to be visually hilighted), and temporarily disabled code (to be visually suppressed). I suppose comment lines (remarks) and comment blocks (code) could be used for this, but as the author points out this would need to be a widely adopted convention.
>What is surprising is ... we haven't determined the context of a comment and chosen to highlight depending on that context.

My syntax highlighter does do this, for every language I can think of - and so does essentially every code editor software I can remember using. The most popular editors even have the power to collapse doc comments, and I believe some do by default.
Python Async World Simplified
Strongly disagreed on that. Not everything is about outperforming the rest of the world.

Could be betting that the US pharmaceutical won't go the same way at the same time than the US tech sector, where you have other investments. Could be that's it's one of the only 10 funds you have access to.
I would like to see it anyway.
Any good alternatives for electrical and computer articles? Hacker News is good but lacking on the circuit side.
On the flip side I would never want my real business to shut off. Hobby project yes! Real business no,
I actually phrased that statement that way to avoid and speculation about what might be possible, as it would be a distraction from the point I am making.

As it happens, I think it is probable that such a model is possible in principle, and also that a complete model would not be understandable (in which case, Bonnini's paradox would apply, but it is not the reason why we currently don't have such a model).

With regard to cognitive closure, I think the first sentence of the article you link to is trivially true, but I have yet to find a good argument against physicalism in matters of the mind, and philosophers cannot agree among themselves. I think it is interesting how little attention is said about biology in these arguments (Paul Churchland is one exception.)
Thats sad. NLP started off as a more scientific take on Hypnosis, as california required certification for hypno, but none for other, identical processes, hence the name change. However the 'inventors' left it in the hands of people who made it a sketchy MLM pyramid of trainers trainings. There IS some good insight, but most of it ia just rehashed lessons from Milton H Erickson retold by Richard Bandler. Then came the pickup artist trend, also latching on to similar techniques. That said, most 'Neuro Linguistic Programming' published in the last 20 years is mostly crap.
> Argumentum ad populum. That's not an indicator of something being better.

And that was not claimed. The point made was that they are _popular_ because they are "easy"; no comment on being "better".
Why would there be a link between trivial and worth sharing?

On the contrary, I find that a lot of tools I'm happy to have are the trivials one.

Who have never used whoami for example ? It's two chained system calls, but I'm still glad it's baked in and I don't have to rewrite it everywhere I use it.
I seriously wish they went with Motorola. Almost all phones are officially unlockable. They are also available at reasonable price (€100-200 - Moto G4 to newer ones).
Sorry US hn readers, we Europeans do not (may be rarely have) have locked/carrier controlled phones.
From a pricing perspective it looks like the first two chapters out of seven are free, and then it would cost 30$ a month to continue (or 12$/month yearly).
That's actually pretty funny though!
It could mean a “pre”biotic diet (which feeds your good gut bacteria). Generally, that means:

- Increase fiber intake - especially vegetables, beans, lentils, and complex grains like oatmeal

- Avoid added sugar and processed carbs

- Avoid excess caffeine, which has a diuretic effect and can increase anxiety

Easy to say - hard to do :)
Episode 425 – DeveloperOnFire – The Path Leads to Who You Are
Someone who needs to cooperate with you on your project cares.

Someone who needs to clone your repository (e.g. you're a dependency for their project) cares.

Someone tired of using an inactive repo and trying to get an overview of healthy forks cares.

Someone whose project uses GitHub for more than just a raw git repo (e.g. issues, wiki, releases with precompiled/crossplatform binaries) cares.

Someone searching for answers who encounters a link to some GitHub gist cares.
I love the assertion that a stock reflects some sort of real value. They don’t, the market is an irrational pile of crap, and that’s why index funds are the best. They take the cream of the crap.
> If we as a society deem that type of content to be improper

I don't think there is any consent for this.
Qualcomm's Snapdragon 8cx smashes Intel Core i5 in new PCMark10 benchmarks
I mainly loved the various cultural aspects, differences after the jump. The Red vs the rest. The Red had a Soviet/Chinese vibe.
Wow! So many things to address! Yay.

> These are all simple platitudes, provided without reference. Imagine believing that 'socialism is just a phase' -- as if the entire history of the USSR, the Eastern bloc, most of Asia, and the 20th century history of labor and social activism can be reduced to just 'idealistic children'!

Any cursory study of the history of the USSR, Cuba, Marxist China, Cambodia, etc shows a very small minority group of radical, violent thugs taking power through intimidation, assassination, political propaganda and getting lucky from the presence of destabilized imperialistic regimes. It was indeed 'just a phase' and a god-awful phase at that. As an example, the proletariat that Lenin and the Bolsheviks claimed to liberate hated the Bolsheviks, and instead supported the Socialist Revolutionaries, who were actually a center-left agrarian reform party who won the first and only election in revolutionary Russia (1917) before being disbanded by Lenin.

> Among my age cohort (29), most of my peers have received an élite education, and this included a study of Hegel, Marx, Adam Smith, Kropotkin, Lenin, Trotsky, Deleuze, etc. Nearly all of us identify as socialists of varying stripes (syndicalists, trade unionists, communists, anarchists, and so on)

I don't see your point here. People with elite educations can obviously go both ways. I myself have an education from an elite institution, for instance. And obviously many people without so-called elite educations have been known to support leftist politics.

> Nearly everyone I've interacted with who has espoused similar views to yourself has in fact never read even the introductory text of socialism, and this ignorance leads to debate in bad faith.

While that's definitely something I can't argue with, but I'll say that I have closely read Hegel, Marx, Smith, Trotsky, Engels...that said, political persuasion tends to be based on moral precepts more than intellectual ones. Political differences in human societies far precede reading. It's a fair point that debating particular ideas requires the reading of those ideas, but it's also a fair point that practice trumps theory -- I don't need to read anything to know that Capitalist China is better than Communist China on all meaningful metrics of human development and thriving; that Capitalist Korea is better than Communist Korea, etc.

> In the interest of meeting the debate on its own terms, you should have at least read an introductory pamphlet presented by your opponent. We have of course, The Communist Manifesto. It's a 20 page propaganda pamphlet that has been translated for over a century now into every language, and is of course freely available on the internet. You should be able to get through it in a few hours.

Don't know how to deal with the patronization here. I've read it! Although of Marx's writing, I find Das Kapital to be the most persuasive, though weak as a justification for political action.
Wikipedia is a collaborative one

And is accessible in China

Unless has change

No dangerous

Laughable in my opinion
Be careful, some employers consider any work done on any project during work hours (or on company equipment) their property.
My dad is in his mid 60s and has been happily using Ubuntu for the better part of a year. He now no longer has to worry about most malware or windows updates interrupting his workflow. I think you are really overestimating the complexity of using Linux as a normal user.
Can you post the alias?
Deploy a Serverless Symfony Web App on AWS Lambda Using Bref
"Ultarmently"

https://www.greggblanchard.com/easiest-way-to-spell-check-a-... spell check a website
Shame that HN works like that. Anyway, upvoted your comments too ;) Thanks for creating tiptap, you rock!!!!
It's true in the places where they decided to use green for adding lines and red for removing them.

That said I don't think it matters. The benefit of not making removing lines look like a bad thing is definitely outweighed by the cost of not making it obvious which colour means which. Was olive for lines added? I can never remember...
I hope that the outcome you describe occurs. However, it seems equally likely that a centralised alternative will appear in China, just as there are local Chinese variants of the services Google, FB, et al. provide. Indeed, this would be in the interests of the government, who would then be able to have GitHub without the political ructions that accompany it.
An editor is certainly neither required nor wanted. If you like that, then please read established newspapers and let people have their fun.
I was just highlighting that there are differences.

Though that temps are higher because of that, resulting in more work for the cooler, is not ideal for a CPU that's apart from that great for a HTPC.
Git is not a search / discovery platform. Publish the same git repository to several platforms and you can collaborate in a distributed and decentralized way through each of those platforms.

Nothing stops you from publishing the same project to both github and gitlab.
This might be how we enter full scale cyberwarfare.
A few years ago I got a ~$3500 Amazon bill when someone broke into my account (through keys I'd inadvertently added to GitHub)[1].

I had no expectation of that money being waived, but Amazon did anyway.

Since then I've had billing alerts turned on at about the $150 mark (which is about double what my personal monthly Amazon bill is).

[1]: https://news.ycombinator.com/item?id=6911908
Hmm, are there many Ocean going birds that can fly at 50mph?
If you've watched season one of The Good Place you've seen the Huntington Garden - it was used for quite a few of the outdoor locations for the Neighborhood.
The circle with the X is weird design, because it looks like a button that's supposed to close something, but as long as you don't click it, the article is perfectly readable. You just need to resist your reflexes to click any X in sight.
I benchmarked few image processing algorithms (opencv) on my iphone xs. I was surprised processing was faster than on my quadcore i7 macbook pro 2012. Sure cpu is 6 generation behind but there haven't been much performance improvements in the last 7 years on x64. Probably around + ~50% single thread.
Well, simply put: don't use Firebase.

I know I've seen at least 4 articles about 'OMG Surprise horrific billing" with them. And to be quite frank, you can buy a EC2 instance, throw Postgres on it, and have a stable bill (Except for bandwidth costs, but that's trivial... usually).

I'm sure Firebase has good features, but this surprise billing is terrifying. They can't even offer a warning "10 min average indicates a bill roughly XX,000$/mo". I could not suggest it in good faith for anything, especially since it doesn't have a hard cutoff.
I used to swear by syntax highlighting, but then I tried turning it off after hearing of someone else who tried and never went back.

That was five years ago. It felt weird for about ten seconds. These days I find code with syntax highlighting very noisy and almost impossible to deep read.

It's quite possible that it was always like this, but that I was numbed to the effects and lacked reference points.

Whatever the case, I don't miss it at all.
This may be controversial, but that would be one of the few parts of the trade war that I wouldn’t mind.

Non-Chinese business must operate with a Chinese partner to do business in the mainland. Many assume that this structure is intended to leak secrets and the Chinese company will end up taking over and competing.

To be a “fair” actor in the global economy, China should allow foreign businesses to operate in the mainland, subject to Chinese law.
Amazon is selling entire houses for less than $20k – with free shipping