skysight-inc/HackerNews huggingface dataset:
It's a fine algorithm, but in left-right those atomic increments/decrements on read can be costly, up to some 200x slower than the read itself. The "wait until" steps in the writer can also be an issue if the atomic decrements in the reads are not signalling writer wakeups, in a pre-emptive scheduling environment.

The description doesn't mention the memory barriers that are also required, and which are also a little costly on some architectures.

This is still better than a mutex or reader-writer lock for performance. (But it has different read-after-write behaviour than a mutex, so they aren't directly comparable; sometimes you still need a mutex).

Where possible and optimising specifically for wait-free read performance, I would aim for RCU-style reads for speed.

RCU reads are as fast as normal reads, because they are atomic-free as well as wait-free, and on almost all architectures do not require barrier instructions either. However the writes are more expensive and sometimes a lot more complicated. It is possible to combine left-right and RCU into a hybrid algorithm that uses fixed memory with grace periods, to combine the no-allocation property with the fast atomic-free reads property.
My post was downvoted. Here's where the numbers are: https://www.unaids.org/en/resources/fact-sheet

It says:

New HIV infections have been reduced by 52% since the peak in 1997.

In 2020, around 1.5 million [1.0 million–2.0 million] people were newly infected with HIV, compared to 3.0 million [2.1 million–4.2 million] people in 1997.
Women and girls accounted for 50% of all new infections in 2020.

The assertion that 86% of new infections are in the gay community is false
The actual bits are public information though. You can't steal those like you can steal atoms.
Had you said the Nasdaq was entering a meltdown, I'd have thought it a bit hyperbolic but wouldn't have disagreed.

Your claim was that tech is in "full meltdown" and you were talking about falling state revenues for California would drop so dramatically that "the state will face a reckoning unlike any its ever seen".

In my opinion, large tech company stock declines won't have much impact on California revenues. Only their relocations would. There's no "full meltdown" or anything like it happening to "tech". On the contrary, I'd bet that each of the MANGA companies with the possible exception of Netflix grow their revenue in the coming year and that their employees will pay more in taxes to California in 2022 than they did in 2021.

Let's check back in a year and see how our predictions fared :)
Hopefully you're accounting for inflation and asset price drops.
https://wwe.youtube.com/watch?v=d_zt3kGW1NM
Although not directly related.
Now you have two problems. Or in this case, probably more than two.
Show HN: An Accountability/Productivity Coach
It’s not a perfect analogy but it’s the same reason we have laws that require seatbelts. In theory this impinges on the liberty of adults, but in practice the it obviously saves lives.

When people commit harm to themselves out of ignorance, I think it’s reasonable for a government to step in.

Note that I think it’s reasonable to fundamentally disagree from a libertarian standpoint but I don’t see many reasonable people arguing against seatbelt laws.
For comparison, most humans can't draw a bicycle:

https://www.wired.com/2016/04/can-draw-bikes-memory-definite...
Monkeypox is not sexually transmitted any more that covid or ebola is sexually transmitted. Not to be harsh, but you could have found this out (https://en.wikipedia.org/wiki/Monkeypox#Transmission) in addition how gay men have sex by just reading Wikipedia. Gay men also engage in oral sex and other forms of non-penetrative sex (https://en.wikipedia.org/wiki/Gay_sexual_practices), for the record. Dan Savage is an extremely entertaining source for further information. At any rate, a condom would be largely ineffective with a fitted N95 and other personal safety gear given the mode of transmission and proximity of partners. Vigorously making out seems completely adequate here, no need to get all wound up about anal sex.
I do a ton of backpacking/camping/overlanding/etc and most places you can reach by car have at least some kind of reception. It's not like you will always be 100% off the grid.

If you just need a way to stay in touch, one option is to use a satellite SMS service, like the Garmin inReach.

Though, if you really want to run that setup 24/7, 600W of panels and a 2kW battery should do it. Bump that up to 800W and 3kW and you won't have any worries.

You can also add a small gas generator to the mix for emergencies.
Me.

...
...
...

Obviously "/s", obviously joking, but meant to highlight that there are a few parties that would all answer "me" and truly mean it, often not in a positive way.
Is this seriously supposed to be anything but hyperbole? It's not a question of how hard a given job is, but how much demand there is for a given job. If someone wants this job and wants it so much that they're willing to do it for less, I'm not saying no. Not unless there's some special skill that these existing QA people have that the rest of the labor pool lacks.

If someone else is capable of doing my job for half the pay, then hats off to them, and they deserve it.
Viruses trade nothing, it's not a decision but just the result of evolution.
And because the PCRE library is integrated in a huge number of languages (it's almost hard to find a language that doesn't have it - I'm looking at you JavaScript), these types of REGEXs are actually widely available.
Not a full story, but you can tell GPT-3 Instruct to "Rewrite the following the text in the style of X" and it does an interesting job.
so what happens if the company's smart contract has a bug in it, and the customer takes advantage of it?

In an analogous situation, if a shop mis-labels the price of an item (let's say, they forgot a zero or two for a $1000 item), the customer theoretically has the legal basis to purchase it at the labeled price. How is this scenario any different to a block chain contract with a bug?
This reminds me of Google's 'The Selfish Ledger' thought experiment video from a few years ago: https://www.youtube.com/watch?v=QDVVo14A_fo
Errol Morris interview with the Believer (2004)
Electron makes the problem of flashing totally solved. I have a 1TB SSD for exactly this reason, so I don't have to worry about what's light and what isn't.
Visited India this spring/summer. Kolkata was deadly hot at 39C. Mumbai was bearable at 33C. Inner/central cities at an elevation was cooler at 30C. And I haven't even traveled to North India where the heatwave reports are coming from. I dare not.

Nowhere was it liveable in the afternoon. One couldn't walk outside after 10 am without sweating. Dehydration was a real danger. The difference in temperatures between direct sunlight and under a shaded tree was significant. Shops closed in the afternoon and opened back at 5 pm, running until midnight. Older houses made of stone and with cross ventilation were much cooler than newer concrete units that did not account for cross ventilation. Malls are the go-to place for people instead of parks or beaches because of availability of air conditioning. Cars are quickly becoming more popular. People prefer Uber to autos (tuktuks) because of AC.

I'm afraid the subcontinent will have to transition to a evening/night economy in the summer forever.
It definitely makes you wonder how many brilliant Black minds were/are wasted due to conditions imposed on them by racism/ws.
I built this site so that you could be held accountable to the goals you are trying to achieve. We contact you on a regular interval (according to your needs)

We help with building habits on good things like;

Fitness Goals

Sideproject Goals

Healthy Eating Habits

We don't use an automated bot to send you a text message, or phone call, we contact you with a REAL PERSON so that you can share you feelings through out the day, we also share you the best tips to keep you motivated and encouraged.
probably porn and politics
I miss c9 which was bought by Amazon. It had a VM running behind it with a terminal so I was able to do .net core development. A couple times I wasn't home and wanted to fix a bug in my project so I was able to login to c9, spin up my project in the browser and it committed back to github.
I gave the LIC IPO a miss
Speaking of dreams, how many senses can dreams simulate? If dreams are the brain’s means of making sense of the world and entertaining us while it defragments, do we need more than those senses simulated to be fully mentally immersed in something that feels real? Will travel become the only trip for the nose and taste buds?
For human-to-human, Monkeypox can transmit (according to current knowledge) by prolonged skin contact (or broken skin), by inhalation, or by eyes/nose/mouth. Put another way - like most viruses, it has to get into your body somehow, and most transmission vectors you can imagine work.

So like, you could get it from infected bedding if you had a cut, or it rubbed into your eye, or ....

Whether anything helps depends on whether it cuts down on most avenues above.

The sex part is mostly irrelevant, except that it is a very direct avenue to get it into your body vs "being coughed on" or "having cuts".

Chalk this one up to the media - someone identified that the current origination seems to have been a rave or two (or whatever), and that it can transmit sexually, and so now all the stories are about how it transmits by gay sex and blah blah blah. It's clickbait.

In that sense, lots of viruses transmit well by sex, monkeypox is not special or unique, nor is this likely to be the main transmission method as cases increase, even if it was the original transmission method. It has never been the main transmission mechanism of previous outbreaks.

I mean, heck, the fact that the media is focusing on the sex transmission helps guarantees it will transmit effectively the other ways - people think they are safe if they aren't having sex, but they are not!

The one part that isn't well-evaluated is the whole "how far do droplets travel" part. Right now the view of the CDC is that it requires prolonged face-to-face contact to get it that way because droplets can't travel very far (they are pretty heavy). The view of COVID started the same way.

It often ends up rarely that simple ;)
Does Cloud9 on Amazon no longer let you do that? I used it back in college but haven't really kept up with its current status.
Don't want to be too critical, interesting experiment, but I found the story and pictures rather boring.

I think it shows that it is still a tool, and can be used creatively, or not, depending on the creative skill of the artist.

Contrast this with the now classic piece: https://arr.am/2020/07/31/human-intelligence-an-ai-op-ed/
GitHub Sponsors Launches in India
I owe my life to a helmet; I sustained a brain injury from a motocross accident as a kid which I would be here had I been helmet-less. Damn you to hell Pedal Me.
The central african variant of monkeypox has a fatality rate of 10% in children under 16.
The cases now are the western african variant with a fatality rate of 1% for children.

Rates are also different with better health care.
It is often in the contract or in the general terms of the commercial agreement so you have to watch out what you are signing. Especially if you work at a company which is somewhat known in the industry - the sales departments of SaaS companies start acting like sharks just because you use their product for some niche use-case on which the business doesn't really depend.
Redshift had architectural issues from Day 1. Too many knobs to turn, and it's just not something customers wanted to do. I know, because we built a whole company around selling Redshift performance tuning.

Everything that's been added in terms of functionality is just window dressing in IMHO. BigQuery and in particular Snowflake have a superior architecture, with the separation of storage and compute.

Also, someone mentions in on the thread, the Redshift marketing was horrible.

Features, features, features, features, etc.

Compare that to Snowflake, and how their message evolved:

"The Cloud Warehouse"
"Data Cloud"

So much more compelling. Also, Snowflake had a killer sales and marketing team.

Many other, little things. The Redshift team was constrained by what the AWS Console would give them. Snowflake could build more, better admin features. Redshift tried to mitigate that by acquiring a client (Datarow), but from what I heard, the acquisition never got integrated.

Having said that, set-up and configured the right way, Redshift was faster and cheaper than any other data warehouse on the market. Except - nobody wanted to spend the time on properly configuring their cluster. People just wanted their warehouse to work, and that's what BigQuery and Snowflake delivered. Even when that meant paying more.

The time you spent tuning Redshift for performance, you spent on tuning Snowflake and BigQuery for cost. Pick your poison. But again, people didn't care about the money - they just wanted things to work.

I didn't really see BigQuery as competition, simply because that meant switching clouds.

What I did hear is that analytics teams preferred GCP overall, and I think that has driven a lot of cloud workloads from AWS and GCP, because in the last few years analytics teams started to be decision market in many companies.

IMHO, GCP has the much better analytics portfolio than AWS. By now, also the better sales team. It's been really smart by GCP to bet on data science and analytics because of data gravity. Once you have the data in your cloud, it attracts workloads.

Snowflake is what eventually killed our performance tuning business. You can find my post-mortem on our company on Medium.

As you can probably tell, I know more about the whole analytics ecosystem than I bargained for.
I am expecting a recession. All publicly traded asset classes will be going down. I should have mentioned shorting as a good strategy.
"Long-term consistency trumps short term intensity" - Bruce Lee
https://www.dannyok.com/blog/2015/9/26/long-term-consistency...
Oh please, I've had investors sign legal documents that they'll invest, be legally obligated, and then reneg on those during crypto winter or some other downturn. More than once. The only thing you can rely on is the big ones with a reputation to uphold.
WARNING to people reading this comment: The correct URL is haveibeenpwned.com
Let me burn up my hard-earned karma to answer your question honestly. I hope you catch this before it’s flagged and downvoted into oblivion

Yes, the H1B system is grossly abused. Yes, it is a hush-hush topic in Silicon Valley and on this site.

The evidence is right there in front of us. 40 years ago, the USA was the clear leader in technology. We had no trouble producing both factory workers and tech geniuses. We were literally the envy of the world. Doctors were paid more than they are now, we made our own cars from scratch, and our press pretended not to be partisan a lot of the time.

Other countries got smart and started sending their students here, in the cases of countries like China, as official acts in their national interest.

Along with the H1B visa problem, the US has been leading in massive numbers of immigrants, legal and illegal, who are not asked to respect citizenship in their own country. Imagine China, Denmark, Iceland, or Japan doing something like that. It would be unthinkable to them.

The biggest villain is of course the citizens of the United States. They no longer encourage their children to tackle Issues that may be difficult for them or that may make them feel bad as they struggle to learn. They no longer regard the founding principles as unique and precious, which they most certainly are. They no longer view the United States as uniquely suited to help move the world forward in civil rights or ingenuity.

And finally, our political class doesn’t give a shit about citizens. Republicans and Democrats are equally rife with corruption and exist only to preserve their own power. The uniparty sends our children and our treasure to wars where no national interest is present. Our three letter institutions violate their own principles, the law, and the sovereignty of other countries routinely.

Anyone who has read the history of Rome or Britain or China can see where we are in the lifecycle of this special experiment called the United States of America. It is a tragedy not only for us, but for the rest of the world as well.
> The videos "has an agenda" but it seems a bit easy to accept the idea that constantly launching satelites into space is pretty expensive.

The idea is to use starship which should be really cheap.
That’s the way it is! If you’re going to do stuff like that, learning how to crash gracefully is something you should learn up front. Tuck and roll!
In transmits through close contact, so it's more likely that the rave is the reason and not that's a gay rave
Back at my old job in ~2016, we built a cheap homegrown data warehouse via Postgres, SQLite and Lambda.

Basically, it worked like this:

- All of our data lived in compressed SQLite DBs on S3.

- Upon receiving a query, Postgres would use a custom foreign data wrapper we built.

- This FDW would forward the query to a web service.

- This web service would start one lambda per SQLite file. Each lambda would fetch the file, query it, and return the result to the web service.

- This web service would re-issue lambdas as needed and return the results to the FDW.

- Postgres (hosted on a memory-optimized EC2 instance) would aggregate.

It was straight magic. Separated compute + storage with basically zero cost and better performance than Redshift and Vertica. All of our data was time-series data, so it was extraordinarily easy to partition.

Also, it was also considerably cheaper than Athena. On Athena, our queries would cost us ~$5/TB (which hasn't changed today!), so it was easily >$100 for most queries and we were running thousands of queries per hour.

I still think, to this day, that the inevitable open-source solution for DWs might look like this. Insert your data as SQLite or DuckDB into a bucket, pop in a Postgres extension, create a FDW, and `terraform apply` the lambdas + api gateway. It'll be harder for non-timeseries data but you can probably make something that stores other partitions.
Intro for those who aren't familiar:

TinyUSB allows a programmable chip (e.g. ESP32, SAM, STM32) to read USB flash drives, or behave as a keyboard and mouse.

A similar library for Arduino is V-USB.

https://hackaday.com/tag/tinyusb/

Question for the experts: is it possible to do USB pass-through monitoring?

Specifically, I have an Apple Magic Keyboard connected to the Dell work PC. I'd like to capture the F7-F12 keys, and use them to control the music on my iPod. Currently I use an AutoHotKey script to send serial commands from the PC, but having 2 FTDI cables plugged in sometimes causes issues.

Yes, I'm effectively suggesting a keylogger, but without trying to record the keystrokes, just use them to trigger another UART. It could also be really nice to remap the Command key to Ctrl (again, I work around this with AutoHotKey, but it's imperfect).
From what I understand, in the US the FCC licensing for fixed location transmitters, relocatable transmitters, and transmitting while in motion are different (sorry can't remember the official terms). These stations may not be approved to transmit while in motion, and so Starlink may put technical restrictions in place to prevent use while moving. The license applications they put in for ruggedised terminals, intended for marine use and the like, requested ability to transmit in motion, but I think these are standard terminals (certainly not gimbled or gyro stabilzed) and aren't covered by that license. We'll have to wait and see until people start receiving stations and testing them out.
It’s still around - https://aws.amazon.com/cloud9/

Personally, I’m using Tailscale + VS Code with the Remote-SSH plug-in, accessing my home server.
Is there any data on how that interacts with political cycles, which party gets power, and if these changes have been timed in a way that consistently benefits one party?
Pretty cool article (I read the article but not the research paper).

I presume they used captured salamanders for the test. I do wonder if the tests would be the same if they used zoo raised salamanders that never had the chance to use their skydiving abilities. Nature vs nurture.
Why do you have to miss it? Any of the contemporary online IDEs can do more than that now (I ran docker containers in github codespaces) and you can theme it like Ace if that's your thing.
Belgium already has a compulsory 21 day quarantine for monkeypox in place after some cases were linked to two rave events, one in Spain and the other in Belgium.

People are already spreading misinformation online about the disease.

This article is from an Utah and most likely Mormon news source, so expect some bias:

https://www.deseret.com/2022/5/23/23138042/monkeypox-2022-be...
"The ends they want" - as opposed to the ends the recipients want (as expressed through an admittedly imperfect democratic system) - is exactly what I object to. Most "donations" are made to advance a personal agenda at least in part; even when the donor sincerely believes they're doing what's best for people, that's usually a reflection of their personal politics and you'll often find other people believing the exact opposite. It's fine to fund personal causes, admirable even, but you shouldn't be given a tax break for it.
No, but there is a (public) status of the PhD position.
I fail to understand why people feel the need to make pedantic comments like this.

Of course the virus isn't trading, but there is an evolutionary tradeoff
Any idea what sort of degradation occurs when a cell is ridiculously (like 10x) over capacity? I wonder if it will lose carrrier entirely, or just FIFO / round robing the oversaturated connections.

I just bought one to bypass the waitlist. The magic number for them to beat is worst case 5mbit down, 3 up and 66ms, <1TB cap.

Our current internet is as expensive as these starlink plans. The waitlist here is 2+ years, and this area is full of rural nerds. I'd guess they just got 1000 "RV" orders from my county.
It's a coincidence not a causality.
Some could have happened on a "straight" rave.
The Symbolic and the Real
I've had the pleasure of working with a world class infra team that managed our Airflow setup on Kubernetes and this made working with it a wonderful experience. At the same time, early in my career, I used Airflow with a team that didn't understand the technology (myself included) and it was a nightmare.

I'm now at a tiny company without the infra to support Airflow, so I tested all the managed airflow providers (Composer, MWAA, and Astronomer) and ultimately settled on Astronomer. I also spent some time creating a framework that generates Dags from configuration and now 90% of my new etls just involve creating a config and a sql query. Pretty happy with my current setup and my only complaint is that Astronomer won't let you exec into a Task pod, which is actually kind of a big deal, but still better than having to manage a k8s cluster.
Why rely on human ingenuity in 100 years to cope with the effects, when we can use the same inginuity right now to prevent it?
This has always been the case in the past, but these boards are build around the SOM's. You can just buy these as off-the-shelf components (not counting lead-time issues..). This makes FPGAs much more accessible especially for smaller companies, or not so high-volume projects. You would still need to design something to connect the SOM to, but much simpler than the entire PCB.
This is the way. One could call it "sysadmin lawn care". Pure constructive laziness. Plus, we have way more birds and other animals than other "traditional" yards nearby.
Have their actions backed that assertion up?