skysight-inc/HackerNews huggingface dataset:
The Teflon tape is only to be used as a friction modifier as NPT and other tapered threads seal on the threads. Reduced friction means that you can get enough load to deform the metal threads and create a seal. Be careful to not add tape to the first 2 threads as small pieces of Teflon tape can break off and get stuck into valves and things within appliances causing them to leak. There is nothing wrong with pipe dope and I find it to be superior though messy.

Annoyance for those in the states: Big box stores used to advertise fittings as NPT (National pipe thread). NPT being an ANSI spec. They seem to have switched to MIP and FIP for Male Iron Pipe and Female Iron Pipe. These are NPT as well but with a new name? Perhaps they are looking to avoid holding themselves to the spec?

Lead content in brass drinking water rated piping and fittings are being phazed out for obvious reasons. New low lead brass is stronger and does not deform as easily as the older leaded brass fittings. The result is that some fittings are now more difficult to tighten untill leak free.

Pex and crimped copper fittings are not without there own issues. Relying on an o-ring with a 30 year shelf life is problematic when the pipe is behind drywall.

Perhaps one day we will get laser welded copper fittings.
Can confirm this works, but some applications will be slow. Seen a magnitude of difference with x86 JVM containers between Rosetta 2 and native ARM64.
By the same companies that audit crypto banks?
Perhaps the category was improperly named.
Use it if you find it useful. It still has a much better and more vibrant ecosystem for statistics, including Bayesian statistics and certain kinds of time series analysis. Data.table is also a serious "power tool", although other non-Pandas data frame libraries like Polars might be dethroning it. Also GGPlot is still awesome, even if you can now get it in Python with Plotnine.
Probably just use AWS. Or Azure
Whoever gets the stronger adopters gets the name.

A programming language is such a common personal project, it’s inevitable to not see this happen. It also doesn’t help that 95% of these languages aren’t known.
You could overload computeHmac's return value so that it would return either a string or a secret, then you could use it directly with checkHmac, if you wanted, or as a string in other applications.
lock io_mutex;
print \*x;
unlock io_mutex;

Have you ever looked at lock/unlock code? There's a memory + compiler barrier inside of any mutex.

The easiest way to use memory barriers is through locking/unlocking mutexes. Alas, that's too slow for a number of applications, so advanced programmers have begun to use more complicated patterns.
Cool!
Actually, cool is an understatement, but I'm too foreign to Imba to provide feedback on that front.
Pretty sure there is enough to spark a discussion, but few bullet points:

* Imba focused, yet you're greeted by TS example and the Imba demo is too dense to parse quickly

* Not enough short info and too much text to spark my interest for reading

* I still want to read something, so I head to GH repo (I have to search for actual core repo, plus I'm greeted by wall of text again) and when I found it, the README is bare :(

https://github.com/oven-sh/bun and bun.sh are pleasant reads for me. All of this is subjective and might turn be a turn-off for hardcore folks, but that's not really the target audience for Imba anyway :)

And don't fear the direct URL!
Sweden, one of the usual examples when freedom to roam is discussed, has laws agains home invasion including yards, gardens, etc. since at least 800 years. This has nothing to do with property rights, any home regardless of ownership structure is protected. So camping in someone's backyard could most definitely be illegal even if you were to introduce freedom to roam :)
Right, and I'm not in the US, but my point is that even if it is that simple, figuring that out for my country and filling out the form is going to take more than $40 worth of my time, and introduces downside risk that I've gotten it wrong somehow.
In all seriousness though, you could buy one of these emergency air tanks that would let you breath for 6-12 minutes https://a.co/d/fDZXXhv
Hey, head of community at CrowdSec here. Could you elaborate on your situation and the 'opaque' replies from the agent you're receiving in a mail to klaus at crowdsec dot net? Very interested in understanding your issues and hopefully help you to build trust :-)
keep friends that would just tell you the truth. very valuable.
I don’t understand why people need another abstraction layer on top of Redis? What can this do that Redis can’t?
I saw those other 8087+NMI comments, but the 8087 is from 1980, and I thought this fix was older than that.
This will only work if the labor laws allow for easy firing. The 4-day week at a regular market salary will be very attractive and will attract top performers as long as the company has the flexibility to remove the underperformers.
Can't think of anyone this might be happening to right now. Not one person. Definitely not anyone rich or famous.
> Also, in my experience, when someone inexperienced first learns what pipe tape is, they try to apply it to everything.

That’s me. Whoops.
No, it's decent performance. Minimum 25% of native, and even more using Rosetta: https://news.ycombinator.com/item?id=32149080
Years ago I worked on an ill fated game project with the Unreal 1 engine. It is dumbfounding to me to compare that to the modern engine. It's just incredibly sophisticated.
I don't think this is an abstraction layer on top of Redis? It appears to be a reimplementation of Redis in go.
Take the only fatality during the Lewis and Clark expedition; appendicitis.
That and your app depend on 2TB being all in memory NOW so after one error you have to reload it all from disk before serving any request, because you had full fast backup right?
There's a lesson in branding right there.
I like the progress that is being made for running containerized workloads on macOS. In my case I like some of the benefits of running the workload on a remote machine; such as no fan noise, less heat, less power consumption (especially on laptops). However the downsides can be also quite annoying, such as file sync times or IDE input lag.

My current setup is to have both data and workload run on a remote machine and I connect to it via SSH. I can either run neovim inside or use the remote development plugin from VSCode. But as mentioned, the input lag can be very annoying. I’m wondering if there’s another setup where I can still retain some of the upsides of running the workloads remotely and still having a decent user experience (reduced lag)
Yeah but coming from someone who has read a lot of MS produced code I'm a little frightened lol. But if there is one thing MS knows it is compilers.
My point was that small minds use pedantry to compensate for insecurity. I’m sorry that it hits too close to home.
Imba – The Friendly Full-Stack Language
Pretty sure I’ve got it narrowed down to two possibilities
> European city can't breathe

There is no such thing. European cities are not HK.

There are density maps available to check.
This is cool, it's always nice to see inertia.js being used.
I guess the ML techniques don't really belong here because they don't contribute to static analysis itself. They are ancillary techniques for improving the usability of a programming assistance / security tool, or they are techniques for heuristic pattern detection. That's important, but it's just fundamentally a different thing and not what static analysis is.

Static analysis is about producing a description of every possible execution of a program, with the application to software security being that if this description precludes a vulnerability, then the program can't have that vulnerability. In that sense, the job of static analysis is not to find vulnerabilities; it's to show the absence of vulnerabilities. As an artifact of failing to show the absence of vulnerabilities, you get a list of possible vulnerabilities.

ML techniques can help find certain kinds of issues, or help rank found issues. But ML cannot prove the absence of vulnerabilities.

Moreover, software security is not the only application of static analysis. So is program optimization. For that, the compiler absolutely needs to prove that a transformation is legal. 99.9% heuristic confidence doesn't cut it.

I appreciate the focus of this textbook on its subject.
Here's an article by the author of the book about that area from a couple years ago: https://harpers.org/archive/2019/08/the-last-frontier/

There's some of this kind of land in Oregon, too. Subdivided into chunks that are small enough and remote enough to be affordable, but not large enough to live off due to scarce resources (not enough water, poor soils).

This story is particularly tragic: https://magazine.atavist.com/outlaw-country-klamath-county-o...

Closer to where I live in Bend, Oregon, there's one of those remote subdivided areas. A few years back, an article in the paper jumped out at me for a line in it. A guy had asked the sheriff's department to do a wellness check on his brother, who he hadn't heard from for several days. The deputy decided to wait to visit until the next day because it was after dark. I reread that when I saw it in the paper. The sheriff's deputy didn't want to go there after dark. Wow. Turned out the guy was already dead; his wife shot him after he allegedly beat her.

Along the lines of developers selling off land in crazy places, Christmas Valley, OR is also an interesting story: https://en.wikipedia.org/wiki/Christmas_Valley,_Oregon#Penn_...
In short, the web is not a free market of information as originally envisioned. It is a gamed system being rampantly abused.
Keeping in touch with all of my family in Europe.
Frankly speaking the target 5x improvement, if everything works out as desired, doesn’t change too much overall. Python is often magnitudes slower than other languages, oftentimes even other scripting languages. So for me at least it won’t change when I use python and when I decide to use/rewrite in another language.
Not saying this is the case but an outlier (exception) to a rule does not disprove the rule.

So you're right, Elon came in and is making changes quite rapidly but that doesn't mean this is standard for large businesses.
> It's crazy in my view to do this without a scheme to support replacement of older vehicles

Good news - FTA:

> A £110 million scrappage scheme has also been announced, to allow those living within the expanded ULEZ to get money towards a compliant car. Van owners will be allowed to use the cash to retrofit their vehicles to make them compliant.
lots of sites block cloud IP ranges because that's where many of the bots operate from

you need a vps in a commercial IP range to work around this

also doing internet this way will get very expensive due to outbound data costs. vps might be cheaper
Yes.

That number is terrifying.

https://en.wikipedia.org/wiki/Per_mille
Best explanation I have ever heard! Really good examples. Hope to see more.
And now it’s libertarians and Space Karen fans.
What's the difference between Imba and JS/TS? Is it anything other than alternative sytax for JS?

The webpage is not very conclusive on this.
That lines up with 6‰ — that symbol is “per mille”, vs the similar “per cent” or “percent” sign “%”.
I redid my config [0] using Tangerine recently and am very happy with it. Lisps are such a great thing just from a syntax and readability perspective alone. Can't understand all that startup time craze though, my Neovim has always been opening without any perceptible lag without me doing anything to optimize it. Maybe it's just me…

0: https://github.com/d12bb/dotfiles/tree/main/nvim
Elon musk is annoying on twitter, but the people who write think piece articles or provocative tweets about how they’re leaving the platform because of Elon Musk are much worse.
Is this not the same thing as an "ego death"?

https://en.wikipedia.org/wiki/Ego_death
I can't remember the specifics to give you a summary, but this presentation was fascinating: https://youtu.be/eviSykqSUUw
This is very cool.

What does VS Code provide here? The I/O + preview foundational capability? Could you install this as a plug-in to your desktop vs code instance?
From a macroeconomic perspective, this doesn’t seem like the best time to be trying this sort of thing. We already have a labour shortage and a lot of inflationary pressure!

If we had high productivity, high unemployment, and low inflation, then introducing a 4 day week would be a great solution.
Even in a US-only work environment I sometimes use fortnight to avoid the awkward ambiguity of “bi-/semi-weekly”.
Taking a Good Picture of a PCB
Case in point...in the past, I would care about downvotes on a legitimate comment like this, but now I don't really care
Cheap fittings from GENSYM sellers on Amazon/Ebay/Aliexpress will have crappy threads, which will cause you endless pain. I'm guessing this is what inspired the author's rant. I generally try to buy fittings from suppliers that have an incentive to do some quality control. If one thread in a joint isn't perfect you're probably fine, but when both are terribly out of spec, it will never seal.

I see the author used the word "spanner" so I assume they're British which is why they have to earnestly deal with BSP. For fellow Americans, don't get anything BSP/BSPP/BSPT unless you have to (eg hydraulics commonly use BSPP/G-thread, and the bonded rubber washer is not optional).

For pipe tape/dope, the important thing to know is their main purpose is to reduce friction so you can tighten a joint further, which deforms the threads more - packing the threads is a secondary effect. I generally do dope, then 2-3 wraps of tape (in the right direction, of course), then dope again. I generally use the thicker blue tape, but thinner white should be the same with a few more wraps. I learned this trick from an old timer at a hardware store, and it has definitely helped on some recalcitrant joints. I'd rather not find leaks after something is assembled, so I just take the time and do it on most every joint now. (For reference, I mostly deal with 1/4 - 1 inch NPT brass/stainless/copper threads).

Also, not every type of connection takes dope/tape! For example, while US showers generally have NPT-M coming out of the wall, the showerhead generally has a rubber washer that makes the seal, and thus does not need tape. Similarly with flare/compression fittings.

Also, plumbers get paid a lot because it's generally heavily regulated - water supply contamination is one of those things we've refined over centuries and now take for granted. The regulation means they get a middle class wage, which is prohibitively expensive for other individuals to pay owing to high taxes and other overhead. Imagine how much it would cost to hire yourself as a software engineer for half a day.
You are right, I was concentrating more on the second half of the quote which is about someone's personal experience. If what they describe is what they've encountered, it should not have an expiry date.

For the extrapolating "surprisingly large fraction" part, I have no idea. Maybe someone is keeping count on these numbers; it would be interesting to see them.
its still too early, I made a free training system for anyone to use at https://88stacks.com. They get excited at first, but when half the results have multiple arms, weird legs, and all these other issues, they loose interests. Give it some time, we are at the early stages.
You’ve articulated a common bay area mistake of assuming what you happen to be aware of is a comprehensive list of what exists in the bay area. There are still many common warehouse and workshop communities through the bay. There will eventually be wikipedia articles about them, claiming them to be a nexus of culture in their time. And you will read comments on those articles also bemoaning that there’s no such things anymore. :)

Don’t feel bad, just get out there and be open to what exists. There’s tons yet to discover in the Bay Area and even as we lose spaces we love, others rise.

Edit: and also even if you confine yourself to just hackerspaces (of which there are still several?) then remember that for many of them “barely clinging to life” is pretty much the state some of them have been fine with since their founding and if the pandemic didn’t kill them, they’re probably not likely to die off for real anytime soon.
My guess was chief twit. Is the other one chief invader?
export class TaskController extends Controller {

@use(StoreTaskRequest)

store(request: StoreTaskRequest): void {

const description: string = request.get('description')

}

I've done enough Spring Boot to know I never want to do Spring Boot in my life again.
I don't think they are related.
i dont understand, you can't even use it? this one is very usable :) https://88stacks.com
Perhaps why this was posted, snippet from the article:

> In the workplace, narcissistic collapse can also resemble a tantrum. A boss with NPD, for instance, may impulsively fire people, bully others, or make nasty threats about how they intend to give people consequences.
If you need real time, eg. Teacher interaction in chat with the students I recommend WebRTC. Try to take a look at something like LiveKit, or if you need a little more low level control Pion.
But perhaps pay rises will stagnate and they'll gradually not be competitive with 5-day companies at full pay.

Edit: Oh, it's started already, from the article:

> "With many businesses struggling to afford 10% inflation pay rises, we're starting to see increasing evidence that a four-day week with no loss of pay is being offered as an alternative solution."
X for Y considered harmful. I have an article listing 10 alternatives for X, number 8 may surprise you!
Getting rid of underperformers in regular private sector roles in the UK isn't really that bad; certainly closer to Germany than the US, but on the whole about right. Public sector is another matter; getting rid of dead weight in the civil service is a tough problem and suppresses the salaries of other employees there, leading to a downward spiral.
Only two? It seems most celebrities are going through something like this near constantly. Or at least they are simulating it since the drama attracts more views, reinforcing the celebrity.
Interesting— it’s always been easier for me to get not worked up over Reddit _because_ they are anonymous strangers, and not people I am close with
Ask HN: What's your best clean code tip?
Stream ZIP archives on the fly, with highly parallel micro-service
Meh. Some of this advice is pretty common sense.

Some of it a little cut throat.

I don’t see anything in here that isn’t in a playbook I’ve seen multiple times, do you?
Richard Feynman has a good talk on this tendency to do "cargo cult science" [0]:

The first principle is that you must not fool yourself—and you are the easiest person to fool. So you have to be very careful about that. After you’ve not fooled yourself, it’s easy not to fool other scientists. You just have to be honest in a conventional way after that.

The history of science is rife with examples where eventual well established theories had a hard time getting off the ground because mainstream thinking at the time actively refused to consider them (plate tectonics, inflation, etc). I remember reading quite a few example in Max Tegmark's book Our Mathematical Universe [1].

All this to say, both the current state of our attempts to reach the next frontier of human knowledge (string theory, say) and Sabine's criticisms follow age old traditions of back and forth in science. Both are needed, the former to make actual progress and the later to keep the bad ideas in check.

Having said that, I personally detest the particular populist-with-lack-of-nuance approach Sabine (and others like her) take. I like Sean Carroll's books [2] and his Mindscape podcast [3] for a more nuanced view. For instance, his recent podcast with Raphael Bousso [4] is such a nice overview of the current state of the art Physics. On string theory:

String theory, I think, has given us from my perspective, as far as I can tell, the only consistent candidates for theories of quantum gravity that are in any sense complete. In particular, it has led to the discovery of the AdS/CFT correspondence. That is a lot of letters. But what it means is that there’s a certain class of universes, unfortunately, not including the one that we seem to be living in, but still a very rich set of space times worlds that you can imagine, for which we have a complete quantum theory of gravity. Or at least it could be wrong. We haven’t tested it experimentally. But it’s a very significant statement that you have a theory which is complete in itself, it’s not missing anything. You could put it on a computer and run it, you can calculate things with it. And so that I would say is, from the physics perspective, the number one thing that has come out of String theory, there’s a lot of beautiful mathematical results, and many other applications that the theory has had.

[0] https://calteches.library.caltech.edu/51/2/CargoCult.htm

[1] https://www.goodreads.com/book/show/19395553-our-mathematica...

[2] https://www.preposterousuniverse.com/books-courses/

[3] https://www.preposterousuniverse.com/podcast/

[4] https://www.preposterousuniverse.com/podcast/2022/11/21/218-...
Your go uses `pdqsort` to sort 4 byte ints from 0 to 100, while rust uses a stable sort (`sort_unstable` is equivalent to `pdqsort`) on single byte integers from 0 to 255. Hardly a fair comparison.
Yeah I read this article and think: isn't that a possible reaction for anyone who feels like their world is falling apart? It just happens at a different point for a "narcissistic" person, of which I definitely can recognize some in myself. Just like I can identify with a lot of other things on various spectrums. I don't have much advice on your specific question, other than I happen to have a wonderful woman in my life who taught me some things: laugh at myself, especially when others are teasing me; accept I'm human and don't expect otherwise of myself; things always change, so just be patient and don't do anything drastic in a moment to make things worse.
At that point just hold your breath, with a little practice 3 minutes underwater isn’t stressful. Fins dramatically improve underwater mobility and a Snorkel + mask let’s you stay at the surface while watching what’s below.
Here we go again. Another perfectly reasonable article flagged because all the Musk bootlickers come out from under their bridges and brigade-flag it.
It looks cool.
From this side of the atlantic that always seem quite strange to me, the only way to mix so disparate set of skills is to have two degrees, the software engineering degree of the first group + the HCI and psycology stuff in a second degree for social sciences.
Funny enough, all traits I’ve seen described as “real leadership” recently on Twitter.
Reading the description of both, I can't think why would anyone think they refer to the same thing.
Negotiation is a form of politics, not a separate thing from politics. Good faith negotiation is a principled and often relatively productive form of politics, but it remains politics nonetheless.

> out of self-interest

It's important to note that politics is as frequently driven by values as interests. This is true both in the office and in nation-states. And given that differing values often produce differing visions of excellence, a commitment to excellence doesn't spare people from the efforts/rigors of politics.
Yeah, tmux is not super fast. I really have liked wezterm, everything is just right for me. It does just enough of what tmux does that I use.