skysight-inc/HackerNews huggingface dataset:
It's a bit funny to see an IETF draft for this!

Adding idempotency support to Stripe's API was one of the things I built while an intern in 2015. We've since rewritten it almost entirely, but many the technical decisions made in 2015 still stand.

One of the things that IETF doesn't specify ("an appropriate response") is that Stripe's Idempotency API has a response body has the latest rendering of the resource. Here's what I mean:

# Set tax exempt status
curl /v1/customers/cus_AJ6m5vWl7scnn6 \
-H "Idempotency-Key: aaaaaaaaaa" \
-d tax_exempt=reverse

→ {id: 'cus_AJ6m5vWl7scnn6', object: 'customer', tax_exempt: 'reverse', ...}

# An unrelated request sets the customer's email
curl /v1/customers/cus_AJ6m5vWl7scnn6 \
-H "Idempotency-Key: bbbbbbbbbb" \
-d email='foo@bar.com'

→ {id: 'cus_AJ6m5vWl7scnn6', object: 'customer', tax_exempt: 'reverse', email: 'foo@bar.com', ...}

# Set tax exempt status with the first idempotency key:
curl /v1/customers/cus_AJ6m5vWl7scnn6 \
-H "Idempotency-Key: aaaaaaaaaa" \
-d tax_exempt=reverse

# The customer is re-rendered on the latest version
→ {id: 'cus_AJ6m5vWl7scnn6', object: 'customer', tax_exempt: 'reverse', email: 'foo@bar.com', ...}
I'm still reading my way chronologically through some books written at the time but the early 20th century communists all seem fairly benignly and boringly moderate by modern standards.

I'm intrigued to see how it develops.
It's very different. Law looks at intent.

Napster was an easy litigation mostly because of intent. There was a document trail a mile long that the primary goal of Napster was to facilitate copyright infringement, although on paper, it could be used to share anything.

Cameras, xerox machines, and audio recorders can all be used for infringement, but aren't illegal since that's not their primary purpose. For even finer lines, see the Betamax case. You can also look at cases about different sorts of transformations and transmissions:

- I buy a DVD. It is transferred via USB cable from a DVD player connected to my computer, temporarily copied to computer memory, and then shown on my monitor.

- I buy a DVD. It is transferred via the internet from a DVD player in my data center, via the Internet, temporarily copied to your computer memory, and then shown on your monitor.

Can you see how these have nearly identical technology, yet different legally? If you ever take a law class, there are a lot of discussions about how to draw such lines (disclaimer: IANAL, but I've sat in on law classes before).

To be clear, I'm not taking a stance about where this ought to land legally. I don't know. But the analogy to bittorrent, limewire, or KaZaA is a faulty one.
It's basic telemetry. This is all FUD. Like, massive FUD.

It's a standard disclosure notice for when you collect any telemetry data. It's also opt-in, so it doesn't apply unless you opted in for telemtry. They're not selling you.

Renderdoc also has one. We gonna throw a fit over that?

The telemetry fits are really infuriating because they conflate privacy violations with perfectly reasonable behavior.
That's great to hear! Unfortunately I think it's quite rare in the rest of the country for children to be able to walk to school. I've only ever been to places where school buses / cars are the norm.

I was interested to see if studies have been done. I found an article [1] claiming that as of 2009, only 13 percent of American children walked/biked to school.

[1] http://guide.saferoutesinfo.org/introduction/the_decline_of_...
You're being naive. https://www.youtube.com/watch?v=cRXNaUz5LGY
> I would argue that ER in the US has long ceased to be useful, unless the patient is wheeled in by police/paramedics.

Well, in some cases (it varies by time and particular ER) they are less-than-useful for things that don’t urgently require stabilization because they are loaded with cases that do require such stabilization, that's what triage is about. And, yes, lots of them are overloaded.

> I am sure we will get billed an astronomical amount for this, but there were no other options. We have good insurance.

If it is possible you will be billed an astronomical amount, you have “good” insurance, if at all, only in the sense of preserving a somewhat greater degree largely meaningless choice of providers for which you will be partially reimbursed.

Good insurance that has bounded, low out of pocket expense for both urgent care and emergency room visits exists.
AFAIK mainly probe lifetime - at least early on the Soviets had a lot of issues with that.

For Venus you only have to keep the probe working for a month or tu max, for Mars it needs two survive for almost a year at the minimum.
Something Awful forums did this. Toxic users are happy to get banned and then pay another $10 to keep being toxic.
OP could be referring to the overwhelming impact of Trump on Twitter and his penchant toward bullying and violence.

I don't log into Twitter. I don't "surround myself" with any accounts. Yet, the platform is inescapably branded by their inability to police their own content and I could not avoid if even when I tried.
This is why Linux exists. I was pretty disappointed by the compatibility/performance of the M1, so I switched back to my desktop with Manjaro Linux installed on it. Suffice to say, I doubt I'll be using my Macbook unless Apple revives 32-bit libraries or switches back to x86 in some capacity.
Phrases like "Working Hard" and "Success" are relative. To some people, working continuous 40 hour week is working hard. To some, they don't look at the time. Pros and cons to both.

As someone who runs a business, I can tell you that I don't particularly like working on weekends that much but I do find some time (3-4 hours ) to work weekends and catch up on few things that are harder for me on weekdays. So I couldn't care less how many hours I put in. Sometimes it's an entire Saturday. It is my choice and I am doing it because I want to.

So find your balance on whatever works for you. I do however think that it is not easy to build a business just working 40 hour weeks but if you want to be an employee, that can work well.
Fair enough.

It's sad to see everything online turned political and used as ammunition against the other side. I think the reality is that (mostly) everyone wants truth to be discovered and for everyone to be healthy.
They tried to use computers to set prices and plan production, but they failed anyway.

Adam Curtis had a documentary abouth this:
https://youtu.be/h3gwyHNo7MI?t=1484
> bureaucrats and egomaniac get to consolidate power, and the more difficult it is to change things. That's one of the major issues with Marxist-Leninist government structures.

This just means that Marxist-Leninist ideology is not compatible with reality, and does not work.
Weird question, but did anyone felt the urge to start smoking when extremely overworked?
"This kind of surveillance" meaning… crash reports from audio-editing software?

I am absolutely NOT fine with audio-editing software scraping my hard drive, and would uninstall it immediately and request my friends do the same if that came to light.

This isn't that.
While not trying to take away anything from the efforts of OP, I wish this was open source as the original framework is. I usually save the “kitchen sink” page for snippets with bootstrap and use those to build the equivalent UI’s. The messaging around this is all mixed. One time purchase but then says subscription. I won’t be using this as I’m not the intended audience I feel. It’s easy for me to just build a form or layout with bootstrap or ui-kit or name-your-css-framework with their included examples. Sometimes I’ve even bought a complete theme package off of sites like themeforest for the same price. Kudos to them though for trying to make it more accessible to new devs if that was their intent.
sub-sonic, trans-sonic, and supersonic aerodynamics are fundamentally different. You’re calling out some differences, but not covering others.

They are wildly, fundamentally different in behavior.

You’ll notice that supersonic aircraft have different airfoil shapes, different airframe shapes, and wildly different engine configurations because they don’t work the same way.

There is of course air behind the Mach cone, but it is much lower pressure, will often completely separate (airflow wise) from the airfoil shape in ways you would not expect, and the shockwaves/speed of propagation can cause bizarre pressure, lift, and drag issues. You can end up with massive vacuum where you previously had pressure, or pressure where you preciously had vacuum. Transonic flight or high angle of attack flight at supersonic speeds of course produces rapidly changing variations of all these effects.

[https://arc.aiaa.org/doi/abs/10.2514/8.1394?journalCode=jans]

Unlike subsonic flight, the air can’t “get out of the way” in time, leading to potentially catastrophic issues without careful design. Supersonic flight is better categorized as ‘shoving through slow air’ than flight.

What you’re referring to is not wrong - just doesn’t reflect the magnitude of the actual differences
Im glad this was vouched and brought back because it should be on HN. The internet has enabled cancel culture and turned it into a virus, able to infect and destroy anyone, anywhere. Would this level of violence and attack on someone for speaking their mind be so prevalent without the internet? Maybe. The internet has certainly made drive by canceling easier.

I’m not exactly a fan of M&S but jeewiz, why can’t someone say hey “I liked your book” which doesn’t advocate for violence or harm, and be attacked and canceled for it?

Cancel culture is a sickness on society with no end until it consumes everyone. I just hope it turns back and starts consuming the arm chair radicals that support it.

*Edited for grammar and I made a small mistake in clarity.
Hi, @artiscode our subscription plan is one time payment. We don't charge yearly or monthly :)
Just the plain idea that vi had anything to do with GUI is hilarious.
Still, $9K/year is clearly not being spent on gas driving two fully-paid 10 year old japaneses econo-boxes. We can't hide leasing new v8 BMWs every 3 years under "essential transportation costs".
I would love to hear what you all think about addiction, or at least a lack of addiction. I’ve always seemed to have a very low pain tolerance, and over the counter meds just don’t do much for me. On a few occasions I’ve been given stronger drugs like oxytocin and codeine — and the first thing people say is to watch out for their addictive properties. I…don’t seem to crave them, or anything else for that matter. Don’t get me wrong, I crave pain relief after having surgery. But once my wounds are healed, I can have a few pills sitting in my cabinet for months.

It’s the same thing with alcohol, weed, and Adderall. I enjoy their effects, but I’ve never felt that kind of magnetic pull other people seem to fear. I suppose the closest I’ve experienced to addiction is in dark chocolate. I suspect I have a magnesium deficiency that chocolate seems to sate every single time. Could it be that addiction is also a chronic deficiency in other physical needs?
> When I first started my career, I worked a lot. The problems pulled me in, and I’d get so involved I’d be unable to sleep until I solved a problem, sometimes escaping into my dreams if I hadn’t found a natural pause point.

Heck this still happens, and I've been tecching for decades.

I am not a fan of "This one thing applies to everyone" statements.

Also, I think that we develop a blind evaluation of success factors.

For example, a person, hailed as a genius, always writes his/her notes in pencil, on a small pad, they take with them, because inspiration may strike at any time.

They use a pencil, because they may need to add corrections.

So everyone assumes that having a pad and a pencil with them at all times will give them the same success as said genius.

So...how's that working out? Solved FTL yet?

I have also met people that fit the whole "genius" description that are absolutely rigorous about stopping work at certain times, getting sleep, and taking long sabbaticals with no tech nearby. They won't even think about stuff, until they are back on the clock.

Myself, I ain't no gienieyouss, but I manage to get stuff done. I tend to work all the time; mostly because I really like to. I don't need to do it, anymore, but I do.

I work with folks that can't work the same way that I do, but deliver great results. I've learned not to project my own workflows onto others.
The birth rate for developed countries is below replenishment for decades and decades already. See Germany for example: https://www.macrotrends.net/countries/DEU/germany/fertility-...

For 50 years the birthrate per woman is <2. This hardly is a time scale where you can say people did not realise something. I don't see the trend you are describing at all. And this is not isolated. Afaik all developed countries have this trajectory. The solution to overpopulation seems rather simple then. Just make the world developed.
> If you want a meta-analysis that concludes ivermectin is worthless, based upon a different weighting of the same studies, here you go:

There's a critique of the above meta-analysis here, I wouldn't be surprised if it would be retracted:

https://www.reddit.com/r/ivermectin/comments/od6he6/another_...

That meta-analysis also includes the flawed López-Medina RCT:

https://news.ycombinator.com/item?id=27564574

> There are now two large-scale studies being conducted by real research groups. Happy to bet money that ivermectin will have no real impact on case mortality.

It's highly likely that the Oxford PRINCIPLE trial will fail, because it's designed to fail.

* Recruiting people up to 14 days after symptoms, when highest viral load is 2-3 days afterwards, and Ivermectin is most effective when treated on first symptoms.

* No exclusion of vaccinated and those who already had the disease beforehand.

* Treatment only for 3 days.

* Lower than ideal dosage.

Just because it's a large RCT, doesn't automatically make it a high quality study.

https://drive.google.com/file/d/1t4aotN326r4mPB9LDs46HI0e4GI...
You're just picking a point in time and calling that the beginning; every one of those things is based on previous tech with no military background.

Even if it were true that in the distant past a thing had a military application/funding, there's no reason to use their terms for new things which aren't military in nature. No commercial liner calls it's full speed "military power". It's just cosplay at this point.
Is disabling the internet access to the application not a viable short term solution? We can't remove it yet as it is required in an ongoing project.

I am currently denying access to the application via:

flatpak override --unshare=network org.audacityteam.Audacity
While I have no issues with Apple/MacOS (we own several) or Windows (I think the nit-picking is silly) I still remember what Apple did in the PowerPC transition. That left a level of distrust for the company and how it makes decisions.

Context is important here. I wasn't running my own business at the time. I was working for a company that had somewhere around 250 Macs and maybe 10 or 20 PC's.

What happened?

Apple made the transition and, as a result, all software and hardware this company had invested in became obsolete, virtually overnight. We are talking about a non-trivial amount of money and resources.

I saw and experienced the pain that caused first hand. From that point forward I always had this in the back of my mind. As I moved to run my own business with limited funds, the last thing I wanted to face was making any investment that could be subject to that kind of a pole-shift effect. Macs, for the most part, were out.

It's interesting to see the level of nit-picking people on HN tend to apply to a PC running Windows. I think things change when you are responsible for your own bottom line and have to get practical. There's nothing wrong with the hardware or software. At least nothing wrong enough to be a deal-breaker. The proof? Probably tens to hundreds of millions of companies running all kids of businesses just fine using PC's. Compatibility, long term viability, cost and cost of ownership (repairs!) are far more important than being able to right-click an icon to get a convenient function to work.

Microsoft/Windows has always been about long term compatibility. That means things evolve slowly. That's OK.

Aside from that, at least in our case, the engineering software we run won't work on anything else. In some industries you have no other options.

The Linux question and WSL. I don't understand the complaints. I run multiple Linux virtual machines on any of our powerful Windows desktop or laptops. No issues whatsoever. Some of us dual-boot. Other than Linux hardware and other issues, no problems at all. In fact, we carefully select our hardware during builds (or when buying laptops) in order to ensure the greatest level of compatibility with both Windows and Linux software we use.

If there is a solid justification for using an Apple machine, I am all for it. That's why we have several of them. No issues at all. I just don't think the nit-picking is valid or useful any more. If you are in business you just want to get shit done. There's nothing seriously wrong with quality PC hardware and the software ecosystem that runs on it, Linux or Windows.
Hey, let’s not question whether or not someone has read the article.

https://news.ycombinator.com/newsguidelines.html
@jitl thank you for your kind feedback.
Squarespace vs. Coding Your Own Blog
I've always thought the term Climate Destabilization would be better. No one cares if it gets warm. Everyone cares if their way of life gets destabilized.
Generally agree - the goal here was mostly to illustrate how simple a TCP proxy actually could be.

I shiver to think of how many lines of code actually get run with the tokio macro and green threads.
Update: PCI Express 6.0 Draft 0.71 Released, Final Release by End of Year
Yes, you should work more than others - weekends, holidays, evenings, etc. And, no, you should not work more for others.

People should spend their time working for themselves. That could be building new skills, developing your personal brand, starting projects/businesses, etc.

Bonus points for aligning personal benefit projects with your career, so you can develop yourself while being a team player and an esteemed colleague.
When I used Windows and checked Task Manager, it always did some silly work, there was always some I/O, there was always some CPU usage. With Linux it's dead silent. If I don't do anything, Linux does not do anything. I think that the only avenue where Windows might be superior is driver quality, but even that is questionable.
I have a MBP from 2018 and it's awful with wifi6, it always timeouts after a few minutes and I have to restart the wifi on the Mac. It happens on iOS too. No idea why, I'm still investigating.
>>> For example, if I ship a robot which can paint a famous painting, but not the painting itself,

Plot twist: Depending on the jurisdiction, you are responsible for distributing means specifically designed to circumvent copyright, which makes you liable for a much greater punishment, and liable for every reproduction done by your users.

There's a reason that painting robots are sold as general painting robots for various industrial usage, they're not advertised to and shipped with templates to reproduce copyrighted paintings. ;)
This post really resonates with me, specially this line

> Just keep in mind the cost you’re paying, and be extremely cautious if you ever find yourself resenting your downtime.

Currently this is happening to me. Downtime is not an enjoyable experience anymore, the pandemic has just made it worse since I am not even forced to have social interactions. I have feelings of guilt whenever I am not working. And just like the author mentions, it is a hard habit to break. What is worse, I am in my mid twenties; I cannot imagine how hard/impossible it is to break that habit when you have been at it for 30 years.
New Ransomware Attack on July 4th: Vernon Keenan
CppNow 2021: C++11/14 at Scale: What Have We Learned?
A few years ago there was a CCC? talk about registering domains a bitflip away from the intended domain. Which effectively hijacked legitimate web traffic. While the chance of a bitflip is low it added up to a surprisingly large number of requests maybe a few hundred or so. Here is someone doing it for windows.com
https://www.bleepingcomputer.com/news/security/hijacking-tra...
I find the rhythm/meter is very Romance-like but without identifying with any one specific Romance-speaking region, the phonetics vaguely remind me of Brazilian Portuguese.
Because you don’t gain as much as you think when you do this.

Before your external external service touches your integration point and then runs some logic. You mock the external service to unit test the internal logic. Then you run integration tests to exercise the integration point.

In the new world you have an external service talking to an integration point which then passes the data to your internal logic. You don’t need the mocks anymore because you can just call your logic function with your data that would have come from the mock. Great! You run integration tests again to test the integration point. But now you have another linkage at the call site. Your internal logic function now has a dependency on the output of your integration point and that’s an invariant that has to be tested to catch someone modifying one but not the other.

With enough discipline you might be able to make the type system do these kinds of checks for you but IRL very
few people do enough to say catch an external string field changing format slightly.
I can resent the nannying of how much I should work to prevent my burnout.

If I'm driven intrinsically by what I'm doing, leave me alone already. I'll naturally take breaks as my intrinsic motivation waxes and wanes.

If I'm driven extrinsically to do something not fun, and I keep pushing on it, I'll burn out rather easily. In this case, tell me something is important/useful, but also let up to give me the encouragement to take breaks.

All jobs have a mix of both. But my preferred job has more intrinsically motivating work. If I'm gate kept from it, its only annoying to me...
The world’s first mobile microdosing study
Radiology can be dangerous for the patient, the operator and nearby people if misused. I'd like the idea of cheaper equipment for hospitals, but I'd be very worry that any moron can have a x-ray machine at home.

One bad case of installing x-ray machines in shoe stores: https://en.wikipedia.org/wiki/Shoe-fitting_fluoroscope

One good case where Gamma rays are used to test buildings parts and metal objects: https://en.wikipedia.org/wiki/Gamma_spectroscopy
For those that didn't read/skim to the end:

> Alright, if you’ve got this far I’m sure you’ve realised that the whole project is something of a joke.
I was analyzing the network traffic for the app (as i use a self hosted AdGuard Home), but couldn't find which domain it wants. I figured blocking all internet should be fine as Audacity works perfectly fine offline.
Technically the homeless have government health care: Medicaid
Yes, use stubs. But then also have integration tests.

The point is to have easier to write lower overhead unit tests, and then have a few full fat integration tests that put everything together.

Mocking is a terrible middle ground.