skysight-inc/HackerNews huggingface dataset:
One can speed up the AssemblyScript implementation by using StaticArray and adding unchecked() around the indexing - this makes it some 25% faster.

Further by using the smallest stub runtime (= without garbage collector) one can drop filesize by around half, making the smallest implementation even smaller (4.7kb -> 2.8kb uminified). Quite some of that code is the random initialization.. if you do that in JS it may just be smaller than the plain JS implementation.

And still it's a flawed comparison, ASC is using a stable sorting algorithm (with a comparator function). It's difficult to compare approaches based on such small benchmarks, what's really being compared is the built-in sorting algorithm and the bundle size overhead of the different languages.
"Based on the Israeli definition of the West Bank, Barak offered to form a Palestinian state initially on 73% of the West Bank (that is, 27% less than the Green Line borders) and 100% of the Gaza Strip. In 10–25 years, the Palestinian state would expand to a maximum of 92% of the West Bank (91 percent of the West Bank and 1 percent from a land swap).[8][10] From the Palestinian perspective this equated to an offer of a Palestinian state on a maximum of 86% of the West Bank.[8]"

"Israel would retain around 9% in the West Bank in exchange for 1% of land within the Green Line."

https://en.wikipedia.org/wiki/2000_Camp_David_Summit

The issue for the Palestinians is way way deeper than 9% of the 67 lines. Hammas doesn't hide its will to turn Israel proper into an Islamic state. PLO never actually forfeited the right of return which is considered a "sacred" right. If only the issue was as simple as offering 9% more percent.
*EternalBlue
> Do you think "AI prompters" will earn the same amount as animators?

The typical animator doesn't make much. I knew one who worked for a well known movie animation studio. They hire as needed and then let them go easily after the movie is made. He made enough to pay bills, but not much more.
Perhaps explain in the about what you filter out? Along with what the bolding means?! Do you filter out anything else (like spaced/indented/monospace text/code, or even quoted text, which is often not written by the user?). Super thanks for this - interesting!
I predict the end of commercial digital content. AI will eventually be generating what I want, not assisting create what Disney or Activision can sell me.

I am working on a tool to make that happen.

Religious traditions are not sacrosanct, and neither are contemporary civic life traditions. I don’t owe the past carrying on its modern patronage system of copyright maximalism and monopoly ownership of assets to extract rents from.
This guy wrote a whole article outlining how bad and unusable the British pipe standards are and you’re surprised the two (ish) continents that don’t use them are actually pretty happy with their standard and don’t want the other?

NPT has some flaws and complexities but generally while it’s comprehensive conventions and practices mean that for specific types of plumbing you’ll need some specific standard fittings and once you get used to them that’s pretty much that. From gases to liquids. None of this “whoa someone decided to use a tapered one here” you don’t get to chose what fitting you’re feeling like that day, we have building codes and if it’s a pipe in a wall carrying water than there’s a convention (and likely building code) that tells you your pipe, fitting, and which way the threads should turn! (Generally in the broadest strokes: Explosive gases are reverse threaded. Everything else isn’t.)

Anyway we’ve been saying no to bad British ideas since 1776. Don’t blame us outside the Americas the rest of you (and ISO) fell for it.
I see. I recall when I was young that I believed that the universe was on a Planck length grid and then was disabused of this notion but I don't remember why.

Is her work significant? I will check out your book recommendation.
Of my friends, the hard left folks continue to post their angry political opinions but the right wingers are gone. Perhaps by their choice. Perhaps by the choice of the moderators.
The ownership rules make it very difficult to write data structures.

Even the most trivial singly linked lists have caused innumerable blog articles to be penned on how exactly to do that in the most idiomatic Rusty way.

Personally, I don't see any problem with using unsafe Rust in these instances, because linear types are not appropriate model as you don't have a single source and sink.
I was going to paste the same part. If true, it must have been a very strange and toxic working environment, possibly driven by a professional bro culture.
Real life licensed and certified plumber here.

Regarding the threads on common pipe fittings here in Cali:
NPT threads are designed to be cut with a pitch and angle that are self sealing.

Sealing compounds can assist in the lubrication of threads to easily tighten them up but should not be absolutely necessary.

Imo it's an aid to assembly and disassembly and not always necessary depending upon the application.
And in some applications it's forbidden
Yes, I know Wales has some low impact development legislation but look at the history of many of those projects, years of court cases and several tens of thousands of pounds in fees. The successful ones (that I know of) are the ones that incorporated themselves or garnered enough media attention to stop the demolition. I know it sounds lazy but I don't want to start a movement, just build a house. I don't want to cut wheat with a scythe and live in a tipi (can't remember which one but it was one in England that did get permission).

Thanks for the website, I'm amazed how cheap plots are in Ireland. It does look like Ireland has what I'm looking for: reasonably priced house/plot with a couple of acres of land. Those villages even have most of the grid!

But see, that's the problem - all good advice boils down to "move out of England".
I think that you are being too critical of BetterHelp. I had a good experience with them. They have helped me come out of severe depression and significantly improved my quality of life.

There are good and bad therapists on the platform. I've been on and off BetterHelp as a client for a long time, probably since around 2016. Every year, I switch my therapist to see what different branches of psychology can do for me. I have had some genuinely awful therapists. But one can change them easily.

My wife had a bad first impression of BetterHelp, too, because her first therapist was seriously incompetent (offering a live-love-laugh type of therapy, as we called it). She later quite liked the platform when she found a good therapist.

Before the pandemic, the platform was good with refunds, too. They used to offer discounts, and I remember it was pretty easy to get a refund as well. During the pandemic, I wanted to take a break from therapy one month into my 3-month plan, but all they could offer was to pause my subscription, which worked for me.

I think it's easy to make the platform work for you, but it's probably more likely that you will have a bad time than not if you go with your randomly assigned therapist. I hope this additional context is helpful.
US Treasuries – how fragile is the most important market?
I was calling the practice of one-sided storytelling dumb. You're just calling me dumb.
I think r/selfhosted would love this too
That's really cool to hear! Please feel free to reach out on the Matrix chat if you get stuck anywhere: https://matrix.to/#/#mynixos:matrix.org
Strudel: Live coding musical patterns for the web
Aside: has anyone read “100 Go Mistakes and How To Avoid Them” [1] and would care to share their takeaways?

After getting back to it after quite some years I’m still conflicted about the language and its tooling. It’s a frustratingly (and seemingly) primitive/simple language but also a very productive one. I personally don’t love golang but it’s a great tool “for the common programmer / worker”.

The unix philosophy is baked in without the excitement (to me). That’s OK.

Also the stdlib has similarly great / lacking characteristics. It’s strong but then often missing basic functionality that you just don’t want to maintain yourself any more (e.g. try to do a unix like sort / unique on a slice of strings - afaik only lexicographical sorting in there).

I would say that the main driver for my rekindled interest in the language stems from its current Lingua-Franca aspects for “higher level systems programming”. I’m thinking Kubernetes and Terraform here for example.

In many ways but especially in this one it’s similar to Python actually - which I also don’t love at all - but which FWIW found its niche as the current go-to scientific computing and machine learning language / ecosystem.

[1] https://www.manning.com/books/100-go-mistakes-and-how-to-avo...
(2021) btw in case any subsequent releases have changed anything.
Laravel has been great so far for me, I don't think js has any frameworks that are as good. Curious to know how django compares to laravel.
> I think it's a gimmick that some businesses will use for publicity purposes and nothing more

Google "theguardian four day week" and you'll see this outlet has form on the topic.

Q: Can you work a four-day week at full pay if you're employed by Guardian Media Group?
There seems to be a (small) subgroup of txt2img/img2img enthusiastic people who have had gripes trying to relate to or reason with existing artists and their identities(gender, ethnicity, language, etc.) and to me this sits in line with those.
https://www.pennilessparenting.com/2012/12/eating-fish-scrap...
The headline altering feature needs removed. It gets it wrong as often as it gets it right. I'd rather have the original headline, even if it's click bait. If the headline is going to be altered a human needs to be doing it.
Today I am one of the lucky 10,000!
https://xkcd.com/1053/
Ukrainian women have started learning a crucial war skill: how to fly a drone
I'm thinking about getting nand2tetris done and go from there. None of the parts (build CPU using FPGA, bootstrapping compiler and porting an OS) seems to be particularly unreachable theoretically but of course they are all very difficult for me as a non CS guy.
I like to sort CSS properties alphabetically.

#header {
background: grey;
color: white;
display: block;
font-size: 12px;
}
Marketplace. It's awesome for local second hand stuff. I wish it had more/better filtering and search options but I guess that intentional. Still it's better than anything else.
That documentation bit is one of favorite parts of php. I'm sure modern IDEs have it all built in nowadays but when I was writing everything in notepad 20 years ago it was great!
> Remember back when devs were called programmer/analysts? Exactly for that.

I remember, and I am business PM or business analyst and full-stack developer. Like I said in another comment replying to GP, I can totally see why many orgs separate the roles. It's messy. I need to fit the following activities in my schedule:

- Doing user research / speaking to customers

- Project management

- Basic UX, up to wireframing

- Design-as-I-code skills

- And of course, full-stack development, with all that this entails

Let me tell you, it can get crazy. I wouldn't change it for anything because I love being a generalist, but I'm surprised I cope sometimes. I have about 12 years of experience where I've done PM/BA, dev, or both at the same time and I often feel I haven't reached 70% of my potential.

I also hire devs and would only maybe trust 1 in 10 with this breadth of responsibilities. It's not that they aren't smart enough - some are infinitely smarter than me -, it's that they haven't been exposed to this breadth of tasks. Many of them wouldn't want to, either.

The roles have been separated because specialization is a law of nature in many contexts.
The argument is that in a lot of jobs, working 4 days a week isn't significantly less productive than working 5 days a week but you get all the benefits of an extra day off every week (less time/money spent commuting, more free time, etc). If the productivity argument is true, then not only would going to a 4 day work week not have economic downsides, but it would potentially be even better economically.

I'm not sure I 100% buy that argument, but I do think many jobs have a non-linear relationship between time spent working and productivity and you end up reaching the point of diminishing returns. I also think it would be a mistake to assume that 2 days vs 3 days off per week is the optimal trade-off just because that's what we're already used to.
Nope, that's from yet a different set of spying programs - MUSCULAR, INCENSER, TURMOIL, and others [1]. PRISM does it in coordination with companies. One of my favorite leaks was this [2] which is a support manual for NSA agents engaging in real-time Skype spying.

It even includes a technical FAQ with all sorts of troubleshooting issues, like agents wondering why messages they're intercepting might end up getting repeated. The reason there is that when a secondary device (e.g. going from your phone to a computer) syncs, everything is resent to the user, which is in turn also gets sent right on over to the NSA. There were also promises to help agents upset that on occasion the audio and video of whoever they're spying on (again in real time mind you) would get out of sync. It's a tough life being a 21st century spy.

[1] - https://en.wikipedia.org/wiki/MUSCULAR

[2] - https://www.aclu.org/sites/default/files/field_document/Guid...
This would be a fantastic project to build a capture the flag challenge upon. Having to reverse engineer the platform to exploit it...
FYI, Formidable is a very popular npm package for forms: https://www.npmjs.com/package/formidable
Does it? Isn't that literally what being part of any well-functioning organisation is supposed to be like?
Dumping on PHP and Java is a good way to farm for cool kid points.
The failure mode for AI when it comes to cartoons would be barely irritating, whereas for medical diagnostics, it's really important. Aside from that, there's no need to be consistently better. If it's not good, run it again. AI can take 10,000 tries at something in the time it takes human experts to do one. Not super valuable when it comes to questions where your final answer has to be right, like lung cancer. Extremely valuable when only one of your answers has to be right and you just throw the rest away, like a few seconds of a cartoon.
> In math, you create a set of axioms and build logical structures on top of them.

As a practical matter a great deal of mathematics was and is done prior to being axiomatized.
Ask HN: What is the best writing course for clear and structured thinking?
Sponsian: Another Lost Emperor
Laravel is way ahead of Django in terms of batteries included and developer experience. As a Django user, I’m jealous!
> just rerenders on each change

It is known from experience that this approach does not scale beyond toy examples and very simple websites. UX will begin to suffer from render lag somewhere around the UI complexity of an average webstore.
Healthy relationships have a tendency to grow more slowly. A person with secure attachment tends not to instantaneously fall completely for a stranger and then immediately start treating them like the stranger is the love of their life. That’s a love bomb. It’s the way a young teenager expresses love for their crush.

On the other side of the coin, if you met a new person and they immediately started talking about how they were completely in love with you and showering you with attention and affection that didn’t have any real backing in a developed relationship, it might make you uncomfortable. Unless you are feeling very insecure, in which case this behavior might seem like a gift from the gods.

Over-all it’s the lack of boundaries or long-term plan to follow through that differentiates honeymoon phase from love bombing. The narcissistic person just wants the attention, even if only for a couple of weeks. It can leave the other person feeling used.
Africa's population boom may boost economy, global relevance
One thing that gets left off is the per-request lifecycle. It makes requests easy to think about, but it makes RPC/SQL connection pooling a lot harder, and that's one of the first things you do when you care about performance.
In one of the larger companies in Sweden in the third largest city Malmö that sell to both other companies and consumers none of the staff knew what I was talking about when I mentioned that BSP and NPT are different. Neither people on the floor nor people answering the phone. These were what appeared to be experienced plumbers. It’s amazing.
Unless you're doing something tricky, this is basically it. If you want to implement data structures like cyclic graphs or doubly linked lists things could be trickier. Sometimes people struggle with async because they dive right into that early and it can be a bit tricky if you use async + closures and don't know what you're doing.
Social credit++
> which is unique by virtue of the recency of its founding and actions.

Israel's founding is 74 years now - that's not super recent. When does something like this becomes OK in your eyes? Or is simply exterminating 99% of the natives as was done in Australia, Canada, U.S and New Zealand what makes it OK? Not much of a problem if almost all of them are dead and the remains live in reservoirs right?
Having a dog I have meet a lot of people in my neighborhood, so dogs are a cure of loneliness.
This is the weirdest sentiment out of the entire article. "Only hire A-players" and "monitor them". I know exactly 0 A-hire engineers who would tolerate being monitored. Why wouldn't they leave to go to one of the many companies that would love to have them and where they won't have someone breathing down their neck?

Perhaps it's a take on how bad the job market is right now, but I still disagree. There are far fewer job prospects out there but way more than 0.
> It's pretty verbose, with lots of boilerplate

We recently got constructor promotion which has been really nice
https://stitcher.io/blog/constructor-promotion-in-php-8

> Installing extensions makes it difficult to configure environments.

At least the way I do it, required extensions are just 1 line in a Dockerfile.
This article sucks. Lots of bad info from an inexperienced plumber.

How the US military, nuclear power plants, and plumbers worth their weight in salt do fittings: 3-4 times around the (male) fitting with PTFE tape, then a light amount of pipe dope on top of the PTFE tape.

Also, DO NOT buy the cheap PTFE tape as suggest. Buy the milspec tape. Your big box store will have both and you'll know where that money (a couple dollars at most) went.
This article is about French mathematics education, which is proof-heavy and intuition-light. Elementary math education in the US eschews proofs almost entirely, which is a different problem.

The problem is not abstraction, which is necessary to develop new concepts like fractional exponents and i, but motivating the abstraction.
I would add (in 2022) the bolt on support of UTF-8 via a separate set of API functions.
What is wrong with playing on your own team? West can be critical of China just as China can be critical of the west.

And B, I lived in or visited cities where protest were happening (in France, Switzerland, Czechia) and they were covered as one would expect them to be. Could you back your claim?
I don't know if it originates here. But, I first saw it on this page[1]. A great blog about Netscape browser release and product engineering in general.

> Shipping is a feature. A really important feature. Your product must have it.

[1] - https://www.joelonsoftware.com/2009/09/23/the-duct-tape-prog...
edit - added more context
For a small proportion of abused people. It usually works very well for 95%+ of the people in it. It’s definitely not worth throwing it in the trash for those kinds of numbers.
why should that be censored?
The issue is there is no good equivalent to Signal that lets you use a username instead of a phone number as the primary identifier, unless you count OTR, which isn't very user friendly.

https://en.wikipedia.org/wiki/Off-the-Record_Messaging#Imple...
The reviewer was basically mad that he wasn't judgmental enough. Their criticism is a commendation in my eyes.
Large parts of Europe warming twice as fast as the planet, already surpassed 2°C
Thank you - I didn't know about that one! Created a post there now:

https://www.reddit.com/r/selfhosted/comments/z66yo9/mynixos_...
I remember reading The Road Less Travelled, by M. Scott Peck, a long time ago. It dealt with issues of narcissism, addiction, self awareness, hard work, suffering, and growing into being an adult. Parts of it are out of date, and in retrospect, I can see that the book has some big flaws with regard to religion; but it also does a good job of exploring self-centeredness, and where too much can veer off I to unhealty behaviors. I think it might be a good book to add to your reading list.
You could actually already preserve the shadows when using billboards in unreal by using distance field shadows
> ... And ultimately, the story, characters, and writing can matter more than the art.

That is a highly subjective conclusion, and worth consideration.

I still remember watching Ren And Stimpy as a kid when it aired, and later Invader Zim and have a way of recalling the skits/gags in a way that I can only due to those shows hook was the art: mainly because how remarkable it looked for it's time. Ren and Stimpy was something like a cross-between Dali and Goya surrealism (specifically the grotesque works when they did close-ups) that to this day stand up; I recall they sold the rights and it was on some other channel when I was in university on cable tv and it looked like a badly made knock-off as a cash grab so after the short lived nostalgia you realized how bad it was because they didn't take the time to do it like in the 90s.

The same can be said about the Nick era plot/art of Vasquez's work with Invader Zim, the art was so unique and it looked like the harshness in his comics and the plots were always weaving between dark and light in such a way that one questions who this show was really written for; the later Netflix stuff (while more advanced in it's appearance) suffered so much, and I felt the sane way about the comics and kind of dissapointed by his claim to only ever agree to do more Invader Zim work if it could explore the darker side more as he did when Nick canceled syndication. The Moofy was such a whimsical take on the dark foreshadowing of the way media and short lived celebrity would define the coming decades with social media.

And then there were the early Rick and Morty eps which contradict this where both the art is mediocre and generic, and even the characters are clear back to the future rip-offs but the plot and story and execution is so well done that it doesn't need a huge art budget (the Unity episode specifically).
people feel that way about stuff they have to pay for, generally.
Still seems like a superior system for the overwhelming majority of people as compared to something that works for no one.
>they’ve detonated >50kt nukes

Are you sure? Didn't they also detonate a buncha TNT to make it look like a nuke blast once?

(A weird thing to lie about.)
> My complaint is that plumbers frequently do poor work for the money.

Considering the quality of many expensive website and software implementations I've been required to use throughout the years at various jobs, this problem is not unique to plumbers.
Automated JavaScript DJ