skysight-inc/HackerNews huggingface dataset:
That applies to GLSL in general. I tried once to emulate that using C unions, but quickly realized that
there's no solution for v.xz, v.xw, v.yw, etc.

You can write functions like xyz(v) and that works well enough. Even better if you have ufcs or methods.
Ask HN: I'm building a small library for my team. Which books should it have?
I work as the team lead of a QA team and I wanted to create a small library for people in my team - and others', of course - to expand their knowledge outside the technical domain (so, no language reference books, programming cookbooks, etc.).

As an example, I was thinking of adding "The Ideal Team Player" by Lencioni, which I found useful to use as a loose framework when hiring people.

What are your "must-read" books that I should put on this bookshelf?

Thanks!
Porn is exaggerated, often violent and extremely degrading. It’s a product made by actors and producers for money. Nothing more than prostitution on camera. Pornographers know this perfectly well, I don’t see why you’re having a hard time grasping it.
From our own experience Stripe has excellent customer support. I use Stripe for SaaS subscriptions and Square for integrating with my Woocommerce site.
Assuming they fit into the existing manufacturing process, sure. But that still doesn't solve the problem of finding a printer to print those millions of pages.
I'm not sure what people expect of crypto in general yet this thing as a whole has some insane marketcap.
Not disagreeing with you that there is an amount of friction at the moment. However, just to provide some counterpoints:

> All clients are straight up bad but this is mostly personal opinion.

There are a _lot_ of new clients in active development right now. I'm on the private alpha of Ivory by Tapbots (who built the popular Tweetbot client), and it's quite good.

> On public instances there is always the risk of the admins deciding not to run it anymore without notice. In that case you lose all your followers.

Agreed that this is an issue, but there are ways around it. I'm a member of a coop-run instance, social.coop.

> Due to how it's designed; some things are very inconvenient. For example; when I click a link to someone's profile on the internet, I can't see if I follow them or not unless they are on my server. Then I have to copy their url, go to my instance, search and follow.

Agreed, but most clients resolve this.

> it's imho impossible for it to go mainstream.

Strong disagree - I think it's already going mainstream, and lots of non-tech people are picking it up every day.

> Even the concept of "choosing an instance" is confusing for most people. I don't want to just follow or be followed by techbros and edgy artists. I like having normal converstaions with regular people.

Agreed, but this is resolved by just picking one of the big, popular instances. I was on universeodon.com first, and was immediately having "normal" conversations with "regular" people.

Again, your comment absolutely rightfully points out that there _is_ friction there. However, I don't think it's at all insurmountable, and I think it will continue to improve and gain traction.
You seem to not understand duck typing.

Functional tests will test the correct types, too.

Edit:
If you need an object that swims and quacks, you don't need to care if it is a rubber duck or an animal.
Edge is flagging the social.lol mastodon instance, the owner already submitted a reclassification to Microsoft
So...you can actually file disputes? My last interaction with PayPal was when I deposited a few hundred bucks in my account, only to have it immediately terminated for unspecified reasons.

I imagine it was because I hadn't used it in several years, but I will never know because part of the termination notice stated that there would be no way to reinstate it, dispute the account closure, or talk to anyone about it.

That money was essentially stolen by PayPal and I'll never see it again.
Yo, be kinder. Don't accuse people of x, y or z. It's unnecessary. Chill out, and if you're in a bad mood, don't post inflammatory comments on the internet. Peace.
Some Rust programmers, when faced with performing operations on a sum type (like Result) or container, tend to reach for point-free map-filter-reduce code stuffed with higher-order functions, lambdas, trait generics, and return type inference, requiring looking up the documentation or implementation of multiple helper microfunctions, and asking the compiler for the inferred return type. My preference is usually to write imperative code matching over objects or looping over iterators, except in cases like "minimum of list" where the loss of clarity of a loop exceeds the loss of clarity of a reduce() method call.

Separately, to express code which creates multiple non-const references into a single object (trivial in any other imperative or OOP language), you need compromises like verbose Cell, overhead RefCell, ugly and footgun-filled UnsafeCell and raw pointers, unsafe confusing (and currently unsound, see https://github.com/rust-lang/rust/issues/63818) Pin, or experimental ghost cells (https://plv.mpi-sws.org/rustbelt/ghostcell/paper.pdf, not sure the current implementations).
Fake buttons definitely can initiate the download of an executable file pretending it's a movie; there's nothing unusual (tech-wise) with it. Once in while, I do experience them.

There are countermeasures in place by some browsers/versions (that is, blocking of downloads with executable extensions), but non-savvy users can be tricked - the concept of file extension/type is not so clear to them, and it also assumes that the user is giving the right attention.
Yes, so? That doens't mean that Stripe isn't the merchant of record. All that matters is whose name shows up on the credit card statement. If that's Stripe - as it usually is because it is their merchant account - then that's Stripe. Bring your own merchant account and it will be your name that shows up. Stripe can be IPSP and PGP depending on the circumstances and the story the OP told here strongly indicates that they are using Stripe as an IPSP.

The difference between a payment service provider and a payment gateway is substantial, in the first case you likely won't ever see the customers card details other than what is required for shipping, in the second you will have all of the data including CVV and expiry and you will have to deal with the associated overhead.
I used one recently in a script and they're definitely not that readable. It always takes some time what "else" means in the context of a loop.

I feel like it would work better with a more explicit keyword, but I don't know which one. `nobreak`?
BYD Yangwang U8 Launched in China with 1100 HP and Four Motors
You would be amazed at what ham operators feel like they can do.
I was wondering if anyone would mention "Reason". The power station is just the setting for the story, the plot is about a humorous argument between the two humans running the station and a robot who they are training to take over their jobs.

I wonder where Asimov got his idea for the technology. Did he just make it up? Or was inspired by existing technology of the 1940s.
Seems cool except I refuse to use the "omg" acronym, you're all free to, but for me I don't find it very tasteful. Even "lol" is pretty dated, it's the complete polar opposite of a domain I'd put next to my name. Will you still like this domain in 20 years? It's like getting a batman tattoo.
Well the UI is terrible, it looks like Facebook, but worse.

The background image on the login page is so low resolution

The country dropdown on the register page is not sorted alphabetically, I can't even signup because it says "State must be between 2 and 10 characters, even though I picked it from the dropdown.

I had to pick an entirely different country to be able to register.

All the images in the "shop" tab are slow to load, and some images don't even load, but instead get 403, and some images are "fake pngs" with the white checkered background

Todos don't work at all, I can't check any of the tasks.

Why do the notes show my name and avatar? Who else would be touching my notes other than myself?

Reporting a comment lists one of the possible reasons as "Hatterd Speech"
FOMO is a sign of the vice of curiosity[0] and pride[1]. The rosier side of what you're doing is that you seem to have a means of at least managing the impulse. Still unfocused, still not perfect, but better than pointless chasing after information.

Perhaps a way to break the habit is a kind of fasting and interruption: when you come across the temptation to indulge a distraction or archive that link, cut yourself off and remind yourself that all you're doing is dissipating your energies and working against your own good and understanding. Instead of nourishing your mind through sustained commitment, you are choosing to wallow in the shallows of the shoreline. To enter the depths, you must let go the shore. That's the decision you face here, and decisions are always a sacrificial act. You give up one thing for another.

[0] Curiosity here refers to a kind of "information gluttony/lust", a kind of wandering eye. It's the same impulse that afflicts busybodies and gossips in that the desire to know has been unhinged from reason. You don't need to know most of that stuff and most of it is of little value to you.

[1] Pride because there's now way you can know everything, not in this life.
AMD Claims Their New Mobile Chip Is 30 Percent Faster Than Apple’s M1 Pro
Apple has done a lot of work to create packaging that is mostly paper, eliminating most of the plastic and foam. Even the little doohickeys to keep the cables neatly coiled are made of paper now.

They have also shrunk the overall size of the boxes. A 2023 14” MacBook Pro is about the same size as a white plastic iBook G4 from 2005, but the box is about half the volume. This also lowers the per-machine shipping costs because they can fit more of them in the plane.
> Wouldn't there also be a counter-argument that shadow stacks aren't needed so long as you're using random stack canaries and/or W^X. Why have those not become universal and why would shadow stacks have a more practical improvement?

Stack canaries can be bypassed if you can find a read vulnerability to disclose a stack canary or disclose the randomness used for generating the canary, or by finding a write vulnerability that permits rewriting the randomness source used for validating the canary. See https://www.s3.eurecom.fr/docs/ifip18_bierbaumer.pdf

Stack canaries and W^X are quite ubiquitous. The biggest exceptions are JIT'd code, I think, though some JIT engines do leverage one or both.

Shadow stacks in principle are more difficult to defeat--read disclosures alone wouldn't suffice--especially if they're hardware enforced like with Intel CET.
Level 2 is good for API’s, level 3 is good for hypermedia browsed by a human.
I'm curious if the results at the very end for the copy-pasted code benchmarks are a result of linking. They seem to have chosen to use mold for C++ and not for Rust after seeing that it gave little benefit for small projects, but I would expect that to change as the project scales.

In addition, I'd be interested in seeing how `cargo check` fares. In practice I do `cargo build` quite rarely, in favor of `cargo check` and `cargo test`.
What’s the best counter-example? I.e., are there actually beautiful, Apple-esque devices being made by startups?
Usually, when there's smoke there's fire. For example, until now I haven't complained about Twilio or AirBnB despite having major issues with both recently. Most of us stay quiet and just switch vendors. People complaining on the internet are a tiny minority of people having issues. This is a well known problem when it comes to bugs with your software too - you'll get one report and find out it happened thousands of times.

And in many cases, you might not have an issue now. But you learn how the company could treat you when there's a problem, and that's something worth learning.
I have this same problem with YouTube videos. I have a Watch Later list of 1800 videos, and it keeps growing.
Strategic partnership with other vendors locking people into Stripe processing?
That number does not reflect those you seem to be referring to. The unemployment rate reflects the ratio of the number of people registered as beneficiaries of unemployment insurance to the number of people registered as employed.

It does not include:
- those who don't work and can't benefit from unemployment insurance (e.g., anyone fired from work for misconduct,
- those who don't work and are not looking for work
- those who don't work and can't work

That makes much more people overall. A recent Pew research published in 2020 estimated that an estimated 29% of unemployed americans are included in that number.[1]

1.https://www.pewresearch.org/fact-tank/2020/04/24/not-all-une...
> Sure, wouldn't want to starve the GPU when the CPU is busy.

Ok, then surely you won't take issue with me describing my x86 desktop as having 1.2TB/s of memory bandwidth? It just happens to be in a NUMA configuration and after all, wouldn't want to starve the GPU when the CPU is busy...

> Don't see a particular difference.

You don't see a difference between 1 memory controller and 2 memory controllers? Compare Zen1 TR/epyc vs. zen2 TR/epyc.

Hint: m1 ultra is like Zen1, and probably ain't the future

Oh yeah and Intel did this, too, with the 56 core xeons a couple years ago. And, like AMD, also quickly moved away from it.
> Why do people still use Stripe?

because Paddle is even worse, they nearly killed our business out of ill-will, stupidity and incompetence.

so far Stripe works a lot better.

one thing that seems essential is having (at least) two payment providers working, so if one is trying to wipe you out, you can just flip a switch and have a working backup. we use FastSpring for all countries that require VAT being remitted, and could extend this to all other countries to prevent any service disruption.
Neat. I use capability URLs quite often to convey secret information without the user needing an account for authentication. Yes, URLs aren't meant to be kept secret, so the resources are only accessible a limited amount of time.

Also very useful for the usual password reset link.

Auth has changed a lot recently and honestly I think a lot of it is crap and leads to far more complex security problems. Not everything of course. There is also a problem that many developers don't know about the intrinsics here.

A good random id generator can be very helpful and provide easy and real security.
Thanks for that. As a new Stripe user I've been worried about this. Waking up one day to find my account locked and money frozen. Sounds like if I simply run a clean business, I don't have much to worry about. Logically that makes sense, it's in your interest for me to keep swiping cards.

Coinbase also has a lot of this type of stuff and I've long suspected the same. It's people doing shady stuff and trying anything they can think of to get their shady money, which Coinbase has frozen.

As for part of the OP's question: Stripe absolutely has one unique thing. Amazing developer infrastructure. And even a lot of stuff built on top of their infrastructure by others. For example: I'm using Laravel Cashier. It saves me so much time building and I can do all sorts of cool stuff with it. Setting up a merchant account with Chase or whatever, you're not going to get all of that.
The alternatives for payment processing are few and far between, often with their own issues like needing to talk to sales and draw up big contracts before they will underwrite you for CC processing.
GitHub is sued, and we may learn something about Creative Commons licensing
from the Heinlein Sci-Fi classic "Stranger in a Strange Land":

https://en.wikipedia.org/wiki/Stranger_in_a_Strange_Land#Gro...
This is my view as well. I guess they have a point with sourcebooks that provide subclasses for existing official classes, but those were never of much interest to me. What I'm interested in is a new campaign setting for use with a specific ruleset.

I understand setting an adventure in Faerun would be a derivative work, but surely it wouldn't if it's in a completely new setting? And repeating stat blocks from the Monster Manual is clearly a violation, but it seems to me I should be able to refer to the Monster Manual, as well as include my own custom stats for original creatures not from the Monster Manual, or even stats that I need to be different from those in the MM.

The fact that something competes is not enough; I can write a novel with wizards and dragons, and as long as I don't include characters or places from Tolkien or Harry Potter, it's not derivative, no matter how many themes and ideas are similar.

Referring to classes and spells from the Player's Handbook shouldn't be a problem, because the Harry Potter Encyclopedia can refer to everything from the Harry Potter book.

Am interesting aspect with publishing an adventure is of course that WotC also publishes adventures for D&D, but my adventure would not be derivative of those adventures; it exists entirely independent from them. It does not exist independently from the core rules (PHB, DMF and MM), but it doesn't compete with those.

If that would still count as a copyright violation, then the Harry Potter Encyclopedia would also be a copyright violation the moment Rowling publishes her own encyclopedia. I think that would be rather weird. Shouldn't a violation be a violation of a specific work, rather than the context around it?
I don't know why teenagers insist on taking a negative work and making it positive, especially when teenagers don't like adding emphasis to words so you have no idea whether they think it's good or bad.

Not that I was completely innocent of this at that age.

/Rant.
> Does this mean that if I have released some MIT licensed, or contributed to a MIT licensed project, I can just call up a big company and tell them to pay me massive amounts of money now or stop using some product I have contributions in immediately?

Companies that got burnt on this now require you to give up rights to any contributions you wish to make before merging (or just not use any of code not written by their employees).
Unfortunately, the concepts we got in C++20 still do not allow for type checking definitions and there isn't a realistic path to get there.

I still think that C++ templates are different than rust macros as they are not a separate pass from type checking.
fwiw, most people know "clay fridge" by the name "zeer pot". pretty easy to DIY.
> You haven't, actually.

This is demonstrably false. Reread the thread.

Me: "How do you plan it?" "If there's supposed to be a moral to the point about tradeoffs, then why not directly talk about what it's supposed to be, rather than mentioning little tangents that are largely irrelevant?" "You really need to elaborate to explain how this basic point illuminates the current discussion in any way." "I'm still waiting for the nuance that you mention." "But if there's some nuance that I'm missing here, then please explain. The only thing you ever mentioned was windmills hurting birds and dams hurting fish"

> But now that you finally have, I think the use of coal to generate electricity would be an example that goes the other way.

> You've spent the past three days disingenuously arguing against the point that tradeoffs exist. Now you've conceded the point.

From my perspective, you've spent the past three days hiding your real views in order to get me to get me to concede a point that in most circumstances would not be worth even mentioning, like 1+1=2. Why? Why did you place so much importance on that, on the (purposely?) vague "tradeoffs exist", unless you believed that my conceding the point commits me to other things that are favorable to your own argument and views? There's a rather simple and obvious reason why I've been resisting what you called "one of the central points, which was Environmental issues are a question of tradeoffs and cost-benefits." The reason I've resisted is that I want to know exactly what I'm agreeing to by conceding that point, and you've refused to say until now. And guess what, I do not agree about coal. So I think I was justified in resisting your point. I definitely don't agree with a laissez-faire market-based approach that always leads to the tragedy of the commons. I think "carbon offsets" are a joke and nothing more than a system to pay to pollute, as usual allowing the wealthiest to do nothing and get away with murder.
> I'm sure there are some good subreddits out there but all of the ones I used to be a part of got taken over by mods who care far too much about the Current Thing To Get Upset About (take your pick). If there are any recommendations for good subs I'm all ears.

It's not misplaced, it's my personal experience. It might differ from your own, but it doesn't make it wrong.

Got any recommendations? /r/$language isn't as good as the $language IRC channels. The rest of the popular "tech" ones (space, futurism, tech) have exactly the issue I outlined above (calling those subreddits 'outrage machines' is a reach, but they _are_ shit, and not really for 'tech' people. Probably because they're popular, maybe because I'm too elitest?).
Hehe amateur - last time I cleared out the tabs on just my phone, I had over 140
They are defined to be non-nestable. Any appearance of */ terminates the comment.
Level 3 combined with HTML fragments as the response representation (rather than JSON or XML) is the fundamental idea behind many "HTML over the wire" toolkits such as HTMX.

https://htmx.org/
Harvard blocks role for former Human Rights Watch head over Israel criticism
I've had a front row seat to many occasions where they did not honor their agreement. Really, e-commerce is so much easier nowadays mainly because you no longer have to deal with banks for the basics. Other than creating your bank account (which, at the moment can take anywhere from three to six months depending on which bank you choose where I live).
Perhaps a good place to start would be your recommended, and superior, alternative?
Know any good ones?
I hoard data. I've been using the Johnny Decimal system with the Dewey Decimal classes for the most part (100'000+ books and documents selectively saved on all subjects). I also have a more dynamic sections with articles, medias, and projects. These don't include libgen or similar collections. I use Recoll to index and search (https://www.lesbonscomptes.com/recoll/pages/index-recoll.htm...).

A few things I've noticed over the years:
1. I obviously don't read all of that stuff, but it's very satisfying to find useful information from an obscure book when looking for something.

2. I cannot find anymore online some of the documents and videos I've saved. So I think that's a win to have them locally, as long as what I'm keeping is potentially useful.

3. To find info, nothing works perfectly. That's why I'm making an effort to use descriptive and structured folders, good filenames (often followed by the original filename), and sometimes an additional text file as meta for context. Still, my bookmarks are a mess.
I'm halfway towards simply flagging such posts. In the long term this simply won't scale.
As long as you were going to pay taxes and weren’t actually defrauding people, might as well file a report in case anything comes of it.
I do similar to this when I am learning something new. Case in point, I'm learning Go. Instead of writing ugly code and learning from that, I read and read and read trying to absorb how to write "idiomatic" Go.

Eventually, I stop. So, with Go, I'll eventually stop, write bad, non-idiomatic code while I'm learning, then I'll eventually write better code.

Not sure why I do this, nobody is going to see the crappy learner projects. I don't put that on github or anything.