skysight-inc/HackerNews huggingface dataset:
Looking at this blog-post more carefully... I'm not convinced that this ring buffer is actually correct unfortunately.

> buffer.write.store(buffer.write.load() + write_len)

This is... an atomic load, followed by an add, followed atomic store.

A TRUE lock-free queue would be buffer.write.AtomicAdd(write_len), (which is a singular, atomic add).

There are many other issues here, but this is the most egregious issue I was able to find. The whole thing doesn't work, its completely non-safe and incorrect from a concurrency point of view. Once this particular race condition is solved, there's at least 3 or 4 others that I was able to find that also need to be solved.

EDIT: Here's my counter-example

write = 100 (at the start)
write_len = 10 for both threads.

|-----------------------------------|
| Thread 1 | Thread 2 |
|-----------------------------------|
| write.load (100)| write.load (100)|
| 100+write_len | |
| write.store(110)| 100+write_len |
| | write.store(110)|
|-----------------------------------|

write = 110 after the two threads "added" 10 bytes each

Two items of size 10 were written to the queue, but only +10 bytes happened to the queue. The implementation is completely busted and broken. Just because you're using atomics doesn't mean that you've created an atomic transaction.

It takes great effort and study to actually build atomic transactions out of atomic parts. I would argue that this thread should be a lesson in how easy it is to get multithreaded programming dead wrong.

---------

For a talk that actually gets these details right... I have made a recent submission: https://news.ycombinator.com/item?id=20096907 . Mr. Pikus breaks down how atomics and lock-free programming needs to be done. It takes him roughly 3.5 hours to describe a lock-free concurrent queue. He's not messing around either: its a dense talk on a difficult subject.

Yeah, its not easy. But this is NOT an easy subject by any stretch of the imagination.
Good old starfighter. A common joke was that the best way to acquire one was to buy a plot of land and wait. One would come crashing sooner or later.
I thought "grit" was the watchword a few years ago, but maybe what you're describing is even more recent than that.
And stay there until you get pushed out of the org. It's better to stay specialized as long as you can to avoid upper management.
Reader, Inbox, Trips, etc... what a surprise
> Doesn't this throw up all the red flags of a scam ICO?

Is that a good or bad thing?

There was a short period of time when there was immense profits to be had from buying and quickly flipping obvious scam ICOs.
It's still not free/open/libre source anymore, because you are discriminating against someone, so it's not in-line with the set of freedoms as defined by both OSI and FSF.

Whether this matters to you or not is another question, of course... :)
I'd love to see some experimentation with this. Nice work, thanks for sharing :)
And how do they login on the Android phone with the Apple ID with no changes to the Android app? That's the question OP didn't understand and which your reply completely ignores. While this is an iOS change, it will have effects beyond just iOS.

I think most of us are fully aware an Apple ID survives even if you have no Apple devices without recourse to Apple help links.
Burying an entry in a FAQ does not change the fact people may not read said FAQ. Tor predates Torguard. It's perfectly possible people may be misled, especially since both are "privacy tools"
This is a fantastic idea. I learned Swedish as a child in a very similar fashion through watching tons of movies in english with Swedish subtitles and reading. Having this for digital media seems invaluable.
After listeningt to Epstein's conversation on Econtalk, I don't quite recognize this article's accuracy to his beliefs.

HN linked to a blog post about having a strong bias against books that are made by journalists who aren't experts in the field. I find pop psychology books by journalists with this "anecdote/study/lesson" formula tiring.
Which would make no sense, since it would be a circular argument that would apply to every company with a product to sell.
The data looks a bit like its time resolution is too limited to resolve all the peaks properly. There are some uncharacteristically slow weeks that almost seem like their peaks just fell between two data points.
Apple iTunes Isn’t Shutting Down, It’s Changing
This is in Safari. It's a pretty popular browser.
Could it be that, because you're living there, you're used to the sight? And, conversely, people traveling halfway across Europe to visit Greece are just bored of their own neighbourhood? (sure, most likely many people are missing places they could go that are much closer but less advertised).

>Local cultures are diluted everywhere, and when they are preserved in touristy places it's artificial.

There are plenty of things to do when traveling that don't involve bothering local people. I don't see how just looking at the nature, for example, is any less "meaningful".

>Tourism nowadays is largely escapism

Protip: all entertainment is escapism.
Sure, give them Marlboros and Wild Turkey too.
Which seems to have been what they were trying to do; according to this update, the config change which caused the problem was intended to apply to a smaller portion of the network than it actually hit. But automated enforcement of procedures like this can also be tricky; how's a machine supposed to know that "this change was already tried on a smaller part of the network"?
Preprint: https://arxiv.org/abs/1803.00545
You can read high quality ebook editions of some of the other novels mentioned here at Standard Ebooks: https://standardebooks.org/ebooks/h-g-wells/

We'd love help in producing more HG Wells works for people to read for free!
Everything isa belle, surely.
>I would want to see the margins for just operating high speed internet service

You can't really break it out that way. The TV service and internet service use the same physical wire. That's a fixed cost per household and once you have it, it's only marginally more expensive to send TV with the internet. Double so since people without cable packages tend to replace them with streaming services.
Choosing white over red meat does not necessarily reduce CVD risk
Not sure why the down votes that would sure piss me off. I'm very conscious of what I want synced and it only takes a single bug like that to throw away all the effort to keep things separated
"Everything" is a type; "everything" is a variable.
This is such a disingenuous argument.

DSL, cellular, satellite, cable broadband, and fiber broadband are not equivalent.

By your reasoning, as long as POTS exists, dial-up ISPs are a competitive threat.
I'd ask:

1) what type of person are you financially. If you're risk-averse, stocks are preferable since they let you convert into different investment vehicles earlier, whereas if you're risk-tolerant RSUs and options are a bigger gamble - the latter much more so

2) having talked to the teams, which one seems most interesting

I wouldn't worry too much about gossip/social cachet. Speaking as someone who does technical interviews at one of the companies you mentioned, I can say that for engineering positions, interviewers at future employers will only really be interested in whether you can do good engineering work.
I feel like with so many people suffering from Impostor syndrome these days, it's probably "I am a dilettante. He is a polymath".
No, the open source community is not about giving free labor to Amazon. But that's not what we are talking about. We are talking about members of the open source community taking free labor from the community and then pulling back on the open source promise. As someone in the same boat, I'd hate to see a project I contributed to change it's license to something that limits how the applications can be used. If something is licensed as MIT, I expect it to stay MIT.

Furthermore, the presumption that users of the software are now required to contribute back flies in the face of the agreement.

I'm not against people using a license like this. It does however seems a slap in the face to change the license after benefiting from the fact that you are releasing an open source product.

tl;dr: It's a bait and switch, and dislike it.
But really, why be bored? If you find yourself bored, just use the new resources you have at your disposal to do something interesting! Being part of a large company comes with a number of benefits, whether it's access to smart folks, or access to IP, or access to infrastructure, etc etc ... you have an opportunity in front of you. Use it!
> Actually I think a watchdog timer doesn't watch anything except it's timer.

That's exactly how they work. A watchdog is a just a timer with a reset input and expired output, and perhaps a register for the timer period.

A practical example would a be a watchdog that ensures a control loop is in fact running, if not, reset the CPU. Let's say our control loop has a cycle never longer than 10ms. So we set the watchdog timer to 10ms. You wire the watchdog expired output to the reset pin of your CPU and put a line of code at the end of your control loop that sends a reset signal to the watchdog on each loop. If the program halts, the watchdog is allowed to expire firing the reset signal which will hopefully bring the system back without intervention.

Seen an old JK laser with a two stage hardware watchdog. The engineer who worked on it said the first stage was tied to the NMI pin of the 6809 CPU which resets the control software to a safe state. If that failed, the second stage timed out which meant that something was really wrong (cpu/memory fault) and would shut the machine down.
If you pay bi-yearly, PIA is ~$40. A bit more, but it's still faster and has better apps.
The way I understand it, the whole idea of this relicensing is that you can no longer take someone else's work and build your business competing with them. So no, you can't do that. Seems fair enough to me.
That's a U-2, not a B-2. How is it closer to a flying wing than an airliner?
JAMA study: The cost of brand-name prescription drugs doubles every 7 to 8 years
I didn't installed it on Android, as it asks for too much permisions: why this app requires contact access, call info, etc...?
There are 6 million inhabited census blocks, averaging 52 residents per block. [1]

Even the larger ones still only have a few hundred people (and those are dense, apartment-heavy areas where multiple ISPs are common anyway).

I don't doubt there is some polishing the numbers, but it's still a very granular measure.

[1] https://en.wikipedia.org/wiki/Census_block
> For example: It seems ridiculous now, but at one point authors were significantly squeezed by commercial distros offering support and feature work directly to customers for their packages.

Something similar was discussed a few weeks ago with respect to procps [0] and the struggles of maintaining Open Source projects.

[0] https://news.ycombinator.com/item?id=19936320
It's relevant because RestorePrivacy has a clear bias against TorGuard since it's based within the US. Sven Taylor hasn't reviewed TG yet on purpose, and the fact he mentions 4 year old "VPN.AC" stuff agaisnt TorGuard in the article, just goes to show the article isn't just a news piece but it's obvious he's taking sides. He fails to mention several important bits of information on Nord's response I covered in my video..

News has to be objective. He doesn't mention how A) NordVPN was given a file instead of the file being given to TorGuard first which is extremely weird, B) NordVPN does not mention showing up to TG's house C) Why would NordVPN help TG fix a bug when the two companies have been butting heads for years now? D) NordVPN admits in the blog post that they started the conversation in hope TG would stop "defaming them" which is basically an insinuation of blackmail. E) NordVPN has not denied any actual relationship to Collective Seven yet. I could continue down the alphabet, but you get the picture (watch my video on it).
I would love to agree with that, but I suspect the difference in regulatory outcomes is down to lobbying and relationships, not that some new era is about to dawn in Washington.
Could you expand why for a layperson?
Choose Promise or Observable When Working with Angular?
Another question- How much more do you enjoy your self-made career over your previous engineering career?
Comparing software businesses with traditionally asset-heavy business such as wired telecom is disingenuous.

I hate Telecom monopolies as much as the next guy, but the comparison is so inaccurate to the point of being useless. What's next? Comparing 'Big Tech' to Utilities?
I suspect you and I need to agree to disagree here. You seem to believe the stock market is strongly efficient. Whereas I think it is weakly efficient. We're not going to change each other's minds but I stick to my belief that you could ruin Mark Zuckerberg's day for quite a while selling off the stock. Failing that, donate money to a political candidate like Elizabeth Warren that will ruin his day for you.
> Does Chrome send automated telemetry reports about my browsing to Google when you are not logged in with your Google account?

Yes. And if you sign into Chrome (which now automatically happens if you sign into any Google website, IIRC), it uploads your full browsing history.

> Does Chrome give remote code excecution privileges to Google (Yeah, via the Updater, but that does not really count)?

Yes.

I don't see how you could have done honest research into this and arrived at the conclusions you have.
Perhaps you disabled settings sync ;)
Here's one on G Drive: https://drive.google.com/file/d/1NJ9bio4gz8AJ7RTmYGDKXiWJLCm...

Let me know if this works for you
Wow, that’s like the Chinese version of Operation Earnest Voice.
The book is just a bunch of interviews with founders. The vast majority of content is not from the author - so perhaps it’s worth another look.
There's also "The Mysterious Fall of the Nacirema" [PDF]:
http://faculty.wwu.edu/oussele/331/The%20Mysterious%20Fall%2...
Downvotes are coming from the Mozilla defenders on HN, of which there are many. Many valid criticisms of Mozilla or Firefox's practices are frequently downvoted hard and flagged, which is truly unfortunate
The way governments actually work in practice these days, yes, it would be a nightmare.

But the problem with the relationship between money and government is so significant, a real solution would require dramatic changes all around. So that would mean that government could not be anything like it is today.
Show HN: I built a site that pass/fails everything I make online
Does anyone else think that the lowercase b and d have an excessive x-height?
Great!

Cure cancer or all money goes BYE BYE

You know what,

CURE ALL DISEASE

OR DIE

IT HAS BEEN SOCRATICALLY WRITTEN ...
The $100MM Revenue License...

Once your company surpasses $100MM in revenue you have to negotiate licensing terms.
I don't see what other social structures have to do with my point. You can't just say 'hey other stuff is shit too' as an argument against me saying 'this thing here is broken sometimes'.

My point was we should look deeply at the society we are invested in and understand that the things we endorse and benefit from daily have intrinsic side-effects.

Nothing is perfect, of course object to what you don't like, but be grown up enough to understand your part in it and humble enough to understand no system is perfect.
Reasi | Senior Software Developer | Los Angeles, CA | Remote - US | Full-time | https://reasi.com

Reasi is revolutionizing real estate with a modern, secure, and convenient transaction platform. We're early stage but have already received backing by big players, such as renowned proptech accelerator MetaProp. Compensation is a healthy mix of cash and equity (up to 3%) - ideal for the senior developer tired of building other people's ideas without sharing in the potential for profits.

Imaginary "ideal candidate" laundry list - you don't need all to apply if you're an aggressive learner:

• 5+ years tech leadership on nontrivial projects (that were not necessarily all successful)

• Expertise in most of: PostgreSQL, Node.js, React, TypeScript / modern JavaScript, Solidity, Jest, Docker, networking / HTTP, OOP / FP / infrastructure patterns and practices

• Expertise in one of: real estate domain, blockchain development, DevOps / site reliability, UX / UI design

• Multidisciplinary interest beyond coding, e.g. focusing on product, improving the business, and devising solutions to real estate problems

We focus on results, continuously improve ourselves, and derive strength from diverse backgrounds and experiences. Drop us a line at jobs@reasi.com!
Oh look it's Tom Spark - TorGuard Affiliate Number: #4374

You're not biased at all are you Mr. TorGuard Affiliate?

Mr. TorGuard Affiliate that lists only one VPN (TorGuard) on his website as "God Tier", what a joke.
No, it's still opt-in. There's a prompt which asks you whether you'd like to enable search suggestions.
The vast majority of people don't care about E2E encryption, and those that do still probably prefer RCS to SMS (typing indicators, messages send faster, images aren't compressed as all hell, group chats work, read receipts)
CockroachDB is an excellent project but it doesn't have the massive adoption that would prompt AWS/Azure/GCP to implement it as a managed service.

Companies are much more likely to just go with AWS Aurora than to consider CockroachDB at this point.

I'm still amazed as how promising open source projects continue to undermine themselves with this "commons clause" movement. I hope something good comes out of it but I'm pessimistic.
Rules around NaN aren't Javascripts fault; it's IEEE floating-point idiocy that a given NaN doesn't compare equal to itself.

That is a corruption. It should never be the case that a thing is not itself.
Here's a non-dropbox link https://i.imgur.com/uicVRpb.png
The major issue with Howey has always been that it doesn't account for situations where investors are investing for some benefit other than profit from appreciation or dividends. Howey is particularly difficult to apply when that "other benefit" is personal consumption or when investors are investing for a combination of profit and "other benefit" as is the case with Kin.

For example, what if Mr. Howey had purchased the orange grove expecting to eat 10% of the oranges and leave the remaining 90% subject to the leaseback agreement originally at issue. Is the orange grove agreement still an "investment contract" if Mr. Howey eats 10%? What if he eats 50%? 90%?

What if Mr. Howey planned to sell all of the oranges when the market price was over $X per pound and eat any oranges when the market price was below that amount?

That's the Howey grey area in which Kin is operating. Many people likely purchased small amounts of Kin with the expectation that they might use some of it for in-app purchases and hold some anticipating a profit from it appreciating in value.

Other cases that have been litigated in the wake of Howey that you might find interesting, though not necessarily helpful in applying Howey to cryptocurrency:

- United Housing Foundation v Forman[1] (1975) where "stock" issued by a housing corporation that provided a reduction in rent was _not_ an investment contract (or security at all).

- SEC v Edwards[2] (2004) where a fixed-rate leaseback agreement for payphones _was_ a security.

- SEC v Lauer[3] (1994) where the court was... flexible in their interpretation of the Howey test, finding a "common enterprise" existed where there was only one investor.

The Lauer opinion was particularly important for demonstrating that courts look to the "economic reality of the transaction" when determining whether something is or isn't a security.

[1] https://supreme.justia.com/cases/federal/us/421/837/

[2] https://www.casebriefs.com/blog/law/securities-regulation/se...

[3] https://www.courtlistener.com/opinion/1459162/ussec-v-lauer/
The majority of open source projects need to be usable without installing proprietary dependencies. Whatever you might think of CockroachDB's choice, this means that any other project depending on them makes their users deal with that license too, and while CockroachDB might be willing to push that on their users, that doesn't mean other projects want to follow them down that path and lose their users in the process.

Leaving aside any license compatibility issues, an open source project with a proprietary dependency will lose users compared to an open source project with entirely open dependencies. This also causes problems for some Linux distributions.
Does this mean we can't have our own login system anymore? If so how will you authenticate with APIs? You need to login to get tokens.
The government is at least supposed to serve the populace, even if it has a spotty record of actually doing so. Corporations, on the other hand, don't even have to pretend to have society's best interests in mind.
Here, watch this you troll: https://youtu.be/ppbZ3tFQ1ts
It also pulls the rug out from under other projects depending on them.
If you enjoyed this, you might also like David Maculay's "Motel of the Mysteries", which imagines a 41st-century archaeologist attempting to interpret a 20th-century motel (and getting it hilariously wrong).

> Perhaps the single most important article in the chamber was the ICE (No. 14). This container, whose function evolved from the Canopic jars of earliest times, was designed to preserve, at least symbolically, the major internal organs of the deceased for eternity. The Yanks, who revered long and complex descriptions, called the container an Internal Component Enclosure.

https://www.amazon.com/Motel-Mysteries-David-Macaulay/dp/039...
I wonder if the standard for excessive profits truly measures profit and not simply price increases and deceptive service charges.

If it is the later I can say I have definitely been harmed by cost cutting measures related to quality of service within telecom. Contractors who don't have enough training and are overworked have completely supplanted full time personnel who know their company's product and can provide competent support.
I think that you wanted your first link to be:

[0] https://www.adafruit.com/product/3406
True, but it's aggrevating that Apple never bothered to do this properly themselves. Plenty of developers have macbooks and I would think it's enough market share for them to ship newer versions or at least heavily support homebrew.
mozilla has open source projects for both speech-to-text and text-to-speech, among other things

https://github.com/mozilla/DeepSpeech

https://voice.mozilla.org/en
Nurses aren't regulated by HIPAA, hospitals and medical device companies are and they fight HIPAA all the time. Bankers don't deal with margin requirements...you're thinking of investors. Contractors don't fight building codes because they just work for others, but developers (that hire the contractors) do, as do realtors. Brokers do fight broker licensing all the time, because it restricts what they can profitably sell.

Really, the only example you provided that was correct was that daycares don't fight the safety standards imbued into the day care licensing requirements. (Yes, daycare is a licensed business in most states.)

Generally, regulation is not popular amongst the regulated industry. However, the lack of regulation is far less popular than the fear of unregulated competition in some markets where "startups" try to "disrupt" the status quo by imposing externalities on society rather than absorbing them internally as they would if they adhered to regulations.