skysight-inc/HackerNews huggingface dataset:
> But here’s how you can mess it up:

> • Not having dynamic error validations before someone goes ahead with the payment. It is as simple as using the Luhn algorithm to make some basic checks.

On the other hand, someone that does validation of their own is far more likely to accidentally filter out valid values. This used to be rather common on email addresses. (I’ve been using almost exclusively @chrismorgan.info addresses since about 2010, and had one rejected exactly once, from a regular expression that thought TLDs were only two or three characters long; I was able to use my skills to bypass the check, and the backend accepted it.) Nowadays, people normally just leave client side validation to whatever <input type="email"> does.

So, payment card numbers. I’ve only ever had a 16-digit one, but they can actually be 10–19 characters long, and some people are sure to have hard-coded maxlength=16 and/or minlength=16 (or equivalent JavaScript checks).

There are also those ridiculous things that insist on splitting the card number into multiple fields (four groups of four characters), but that’s generally just painful to work with rather than actually preventing you from using it.
Trying to support international payment methods in general is a nightmare and the Dutch system is one of the most idiosyncratic. Not saying it's bad for users, but I remember integration of support across different banks being daunting (this was several years ago so things may have improved).
I once spole to a team thay used a wireless controller to control a robot. If that particular wireless controller ran out of battery or lost sognal for any reason, the dongle in the PC kept the command, i.e. move forward, forever. You'd have to chase the robot around.

Thats thw kind of thing you have to test for
> I don't know if it's just that life is so random that the effect of hard work gets washed out by random life choices or what. It's also plausible that working hard just puts you in a very non-creative mindset and creativity is what gets most of the work done in a complex environment in the end.

Don't overestimate how much actual work is getting done by "hard working" people. They put in the time, but procrastination doesn't stop just because you work hard. And that certainly includes the types of "productive" procrastination that doesn't look/feel like procrastination, like making Figures/Powerpoints more pretty or doing another rewrite on a piece of text nobody is ever going to do more with than glance at.

Seriously, otherwise intelligent people can spent an hour re-writing a single email.
This is part of my ongoing campaign to resist the constant attempts to make "aircrafts" the plural of "aircraft". Thanks for your time!
Right, so what is your alternative for paying musicians en masse for their music?
For me, ideally, you don't need to TAB, because the input focus switches automatically.
Ancient Barbegal aqueduct powered 8 pairs of mills (2nd CE Roman France)
You think this is some conspiracy of the U.S government? e.g Intel and other major corporations are not making independent financial decisions?
Does it mean that mostly, they don't have any Visa or Mastercard?
I have used Plan 9, and found it is a poor man's Linux.
Then the platform should have professional paid mods instead. But that would not be economically viable for Reddit. So those teenagers are subsidizing Reddit by their free time.
We did it (past tense) in aviation, up to the point where business pressures pushed things to the edge. That's how MCAS happened and 346 people died -- because due to a profit motive, the minimum number of sensors (1) were installed instead of the desired safe number (3).
Hmm, section 4 https://www.cpushack.com/CPU/cpu4.html is empty?
A hotel in Sweden used an external booking system for breakfast slots (remnants of CoVID, I guess). To receive breakfast, I had to provide name, email address and a phone number. And read a ~15 phone-screens ToS.

Strangely, no one pointed out the obviously fake email address or phone number when I had the breakfast. Perhaps it wasn't needed after all.
No there's no reason that would arise from a systems architecture standpoint. This most definitely was an additive thing, that requires more code than less, in order to reactivate after 30 days (not much more code, but it's not some side effect of some system).

The only reason I could think it's like this for a technical reason is if they put the opt-out "ticket" into some high availability cache system that was hard coded to eject old entries after 30 days, but that would make no sense given YouTube has infra for persistent user configuration already.
> bonus points for the dropdown on expiry date

I usually don't mind those because you can just Tab to them and start typing and it will select the item from the list (if you have guessed the format right, and the dropdowns are native or custom but properly implemented). But why would you ever want that instead of simple MM / YYYY field (or two fields, if you don't want to add masking)?
Agreed. Go is a shining example of Unix philosophy - but I don't mean that as a compliment. I mean it prioritizes ease of implementation over any other concerns and hence forces the user to reinvent many wheels. Forces round things into square holes, regardless of if that interface actually makes sense. And either completely ignores good ideas from other camps or goes sour grapes and claims they're overcomplicated and bad (then quietly tries to hack them on later)

Worse is better than nothing, but when better has been demonstrated to exist, worse is just worse
Yeah, the same thing happened when I move to Germany, but the other way around.

Some app, don't recall which, would not accept my Argentinean phone number.

I now want to try Cargaroo or something like that, but I am not willing to give them my CC information and they don't have paypal.
* Except American's, which are also taxes by the US in addition to where they are currently located.
I've been developing software in Germany for years now, and while offshoring never completely stopped, the trust in offshoring dropped a lot.

And only very basic tasks are sent abroad, since cultural differences have made it impossible to trust any output.

Eastern Europe has the advantage of a more closely related culture than India which was the prime offshoring target in the 90s, but as you say the salary differential isn't as large, meaning a lot of companies will think twice about the overhead.
I used to believe that conspirasists and prejudiced people would drop their ignorance in the face of reason but I don't any more.

Chuds are chuds and will never change unless whatever it is suddenly confronts them personally and engages their emotions.

We just have to deal with the fact that our chud brethren are not to be excited or riled up and its best to simply change the subject when they say something ignorant.

Bless their little cotton socks.
Is it just me or do others find the Electron bashing a little over the top as well?

I mean VS Code, Discord, Slack and Obsidian are all in very widespread use and work perfectly fine for me.

Are there alternatives to Electron that require less resources? Tauri seems to be proof that there are.

But I think there is real value in large communities and backing. Electron seems to work perfectly fine to me for everyday use as is evident by the applications mentioned above. I would personally choose Electron over Tauri even for greenfield projects, simply because Electron seems to power applications that are in much more widespread use.
This would benefit from some examples of perceived "good" user experiences in this space.

Also it's a bit lacking on the stateful side of things. For example, a lot of Amazon customers hit "save card details" and then bam, one click checkout forever; making optimisation in this area highly diminished. Similar story and even more true for vendors that support Apple Pay.
Ah, the ToS. I sometimes download a game in my Xbox Series X and the TOS is crazy long. What the fck for?
Is there some way to understand if the payment page is a phishing attack?
The most surefire way of making me not buy something from your site is if you ask for any unnecessary details before telling me the whole price. If I have to create an account or enter an email address, or fill in any field other than my country and "state" before you tell me postage/shipping costs, I will just close the page down.

If I see anything that even feels like a dark pattern, I will just refuse out of principle.
The title should really read: "study drugs make some people worse at problem solving, not better"

Or even "prescription medication that effects brain not always helpful for people who don't need it"

Anecdotal evidence but my problem solving was good before medication and better now that I have the right medication.
Wow, so the sun can spin! I never knew that.

https://www.space.com/does-the-sun-rotate
Sounds like you have a LOT of assumptions and prejudices about everyone on both sides.

What does that say about you, I wonder?
Actually it feels more like Tumblr.

* Tumblr was living from NSFW content and when they banned NSFW content Tumblr basically ceased to exist.

* Reddit is living from free moderation and when they banned 3rd party tools for moderation, because Reddit ones sucks, they might be going in same direction as Tumblr.
Ditto. Renting in London means space is a premium and moves are frequent. I limit myself to one bookshelf. I also try to get everything digitally that I can.
Whilst I agree, and I hope the vessel had adequate insurance for such an eventuality, it's a excellent "training" exercise.

Real world scenarios which don't involve any enemy combatants are invaluable to keep everyone at peak readiness
Same could be said about most innovations; Turing's machine, for example, relies on the work of other mathematicians/logicians. It is true that knowledge is collectively built while profits are only enjoyed by few but PageRank was unique in its own right.
A lot of modern consumer and business oriented GUI apps run on JVMs and they look very platform native too. In finance, I’ve come across many of them. You can take a look at the upstream demo apps for Swing with FlatLaf and for JavaFX (rebranded to OpenFX). They perform nicely. I’ve been struggling with the JetBrains tools’ performance on large JVM projects but given the complexity and reindexing it’s justified, Visual Studio would simply hang indefinitely on such code bases, VS Code just doesn’t do this much.

Then there’s also Kotlin Multiplatform and Jetpack Compose, and now Compose Multiplatform (desktop, mobile, web including JS and WASM). Their DSL is really amazing, truly compositional and resembling the way you do React. To me that’s the path cross-platform GUI will be taking now.

On the .NET side, there’s Avalonia UI and Uno Platform as cross-platform alternatives, with Avalonia UI v11 (pending release) even doing mobile on almost the same code base.
+1. Bash is riddled with absurd footguns. You want to set hack together three git commands and pipe to fzf? Fine. Anything more complex than that? Python, Perl, or any other proper programming language is there for you.
Now as I'm working from home, taking is daytime nap is way much easier.

Also I used to take a nap right away after lunch, but it's not good for my digestive system. So I usually wait 2-3 hours after lunch to take my nap.
> After finding and enabling Elon Mode, greentheonly ventured out to test the system and posted some rough footage of the endeavor. They did not share the literal “Elon Mode” setting on the screen but maintain that it’s real.

I don't believe it. Why not show the screen? This is just tabloid tier stuff.
Would complain, and would use it.
... | xargs grep -Hn regex

This will also be faster, because you fork less.
Is PayPal still a thing in the US? Only one mention in the article, none here in the comments.

I'm in Germany and order at a lot of specific sites, and while I don't like PayPal as a company or their fee structure, it's usually what keeps me sane. Most cases I don't have to enter anything, no need to create an account or even enter the delivery address. Doesn't get much more convenient than that.
It's definitely preferable and the right thing to do, I wouldn't suggest that doing things my way was the right approach just because of my own discomfort.

One way I've thought of it recently is in terms of Radical Candor and it's concept of "ruinous empathy": if it means changing myself so significantly in my core beliefs and feelings, I think I'd rather be ruined by empathy. Equally, I need my own manager to not be ruinously empathetic, so I appreciate it makes me a bit of a hypocrite.
Related: requiring one specify a US state. I hit this yesterday, with a modern AI SAAS!

Once I hit this with zip code validation. Knowing that the credit card processor doesn't actually check this, I found a particular state (Arkansas) that happened to include my Polish postal code. This worked and I paid my bill.
> First, it's not always easy to map every object operation into either an open read or write.

Heck, even for basic files on disk, and even more so for sockets, the traditional open/read/write/close is starting to feel not so great. There is reason why iouring is hailed as the second coming, and it solves just part of the problems; stuff like fsync apocalypse comes to mind.

And ioctls are imho completely disgusting hack.

Ultimately IO is intrinsically complex topic, and trying to paper over that complexity with simple interfaces is disingenuous and falls flat on edge cases.
That's the wrong question to ask. Stripe supports Apple Pay but whether or not they do, Stripe is a B2B implementation detail that customers shouldn't ever know or think about. A tiny sliver of them may happen to have heard of Stripe, but your average customer hasn't read Payment Systems in the US, by Carol Coye Benson.
If you implement this, please make sure any auto-refocus has visual clues, e.g. looking like a single input field, and behaving like a single field (a TAB moves to the next logical form field).

When inputting license keys in programs, and there were dashes in them, it was always fun encountering an auto-focus across split textfields where you didn't expect it, so you accidentally skipped a field and had to redo it.
Here’s a compilation: https://sdkman.io/jdks
The difference being that youtube videos can make more money for the author. Anyway, it's all open source, so feel free to make a wiki
That's a lot of cogitating on my motives. I'm just an American who hates dealing with non-standard "standards." I hated it with SCSI's connector fiasco. I hated how Sony undermined Firewire (oh, and AES/EBU before that, and kept pushing their MemoryStick long after the world had settled on SD), and that USB failed to learn from the idiocy of SCSI's connector fiasco. And don't even get me started on Lightning.

And there are just plain shitty standards, like ATSC's. Anyway, for adults who have lived through plenty of these standards blunders, it's even more irritating to see them not headed off by the only entity that has a chance of doing so in this instance: the federal government.

The last I heard, CCS 2 was set to be widely adopted. And sure enough, any charging connection that doesn't support DC is absurd. So yes you can argue it's good the government didn't act sooner and mandate one of those earlier short-sighted ones.

Eh, whatever. As long as something dominates the continent I guess it's OK. It's not as if I'm likely to take my car to Europe or Africa on a lark.

I just think we've all had enough of dongles.
The man who tried to redeem the world with logic (2015)
By the time you've done a generated column you might as well go with the articles solution of using text with a check constraint since you're now using the space anyway.
This doesn't say anything meaningful. It just states some obvious things with some sort of implied value judgement with no information about how it's supposed to be bad, aside from the author's lack of experience. "you'll almost certainly wind up with a mixed setup". So what? It's not bad just because you say it is if you don't say why it's supposedly bad.

It's also factually incorrect:

"If you try to share things across architectures, you'll get to find all of the ways that modern systems aren't really set up for that, partly because it's been decades since most environments really tried to do this."

What? Did the author give even ONE example? No.

It has never been the case that environments haven't tried to do this. Ever hear of the Internet? It has every architecture you can imagine. If you support 32 bit and 64 bit x86, you're already "sharing things across architectures" because of how different they are.
If good company and plenty of rest solves the issue then the person doesn't really have ADHD. Even exercise itself is not enough for some poeple

Everyone responds differently to these medications. Some can become addicted or suicidal on one med while for others that same med can be a life changer

For about 30% of people these medications have no effect

I'm not saying sleep, exercise, and other psychotherapy aren't options but some people really benefit from medication
Greentheonly has a proven track record of discoveries in Tesla's firmware.

example: https://www.teslarati.com/tesla-park-assistance-measurement-...
When will Youtube allow me to set tags (or my mood).
I like watching science and math video's in the morning, and music video's in the evening. Both are very distinct, yet Youtube will keep putting music video suggestions in the morning, and math in the evening.
Please allow a "mood" (or category) setting, so I can click "math and science" and only get those kind of suggestions.
The ideal time to nap is 18-25 minutes as you said, but I find it hard to fall asleep at the "right" time. So it's always a trouble to set the alarm for me.
Third time I am hearing about the "happy path" lately. This phrase seems to become popular quickly.
I really want to use Fleet but its vim emulator development is so behind it’s barely usable. (No go-to definition mapping for example)

Come on Jetbrains, you’re targeting the developer market, get this right!
Okay maybe betteer to compare diving in a janky sub to jumping oit of a plane with a tablecloth for parachute
I'm guessing you have never worked in e-commerce and thus you think that the various problems, especially where credit card transactions occur, could be easily solved if the people implementing the site weren't just so darn stupid?

I also figure you haven't worked in the field because otherwise you'd know the site isn't necessarily in charge of what error codes the card handler is giving.

Although of course the site will be in charge of turning the not necessarily perfectly documented codes and which may vary based on a great number of different factors into error messages.

Which may well be the case, or it may be that whatever third party handler they are using to take care of transactions does a bad job in returning this kind of error message.

Or it may be that there is heightened security about the site right when you are using it and it turns out that in some opaque process the site has no control over the credit card handler is now returning less informative messages for that site and it is the same handler on the site where it does give a good error back.

etc. etc.
Whenever I see examples of LiveView being used it all works seamlessly but the UI always looks very simple, like basic forms, links and buttons. How does one build more custom/complex UI controls with it?
Come on, you can’t honestly say Adderall has no side effects.
Slack is currently eating 600MB of my RAM, for something I check maybe once an hour. You know what I'd like to use my RAM for instead ? Gradle. kotlinc. intellij. Things that I actually use to do my work, and not a bad IRC that wants to make me pay for the privilege of seeing old messages. Electron is a demonstration of laziness and a living proof that software companies do not give a single shit about their users and just want to push more crap, for cheaper, all the time.
> Comparison is the thief of joy.
We used remote.com for this and it was a pretty smooth experience actually. It's not "cheap" (around 600 per month per employee), but not massive relative to the cost of employing someone.
> This controller is a metaphor for something that needs to immediately be regulated so that people like this can never get away with it again.

There is something to be said for protecting people who would sign up for such an experience while misjudging the risk, or assuming that some government agency does provide oversight. Though, customers seem to have been informed that this is not the case: https://twitter.com/FridaGhitis/status/1671120043126423553

But apart from that, if someone wants to build a lego submarine and use it to dive to the Titanic, they should have every right to do so. It is their risk to take. Asking others to pay to join does not change this moral calculus. And yes, the people left on the surface have an ethical responsibility to not unreasonably refuse to rescue them when things to awry.
Oh that crap is super common on restaurant wifi too around here.

The funny thing is that they can't actually validate the email address so most just accept whatever (sometimes with a small extra filter to avoid stuff like a@a.com).
As far as I remember the Theranos people used standard commercial tests, and sold the results as coming from their magic device. So the results were solid - the fraud was elsewhere. I might be remembering this wrong.
You can tone down Google Ads quite a lot: turn off personalisation, turn off the most intrusive types of ads etc; I think that makes them GDPR compliant and thus I do not run GDPR pop-ups because I do nothing else on my sites to need them, though that may have to change.

And FWIW my current Google RPM is much less than your lower figure...
Write once and provide a terrible experience to web, mac, windows, linux and an absolutely unusable piece of crap on iOS and Android.
I would argue "certainly not", since it's had them for more than half its lifetime.
Reverse engineering is already legal and is very explicitly not a copyright violation - that's why we have open source Unix today. You may be thinking of decompilation, but that can be defeated (at least partly) with various techniques.

Not to mention, with so much software moving to SaaS models, access to even the binaries to be able to do reverse engineer them is going to be extremely hard.

Also, embedded devices using GNU utils and Linux would have no reason to allow any access to the code running on them in a world without copyright.
What these people did, is like if you climbwd mound everest and died because they forgot to pack any food, you oxygen doesnt work becauae it's a $10 canister from best-buy, and your tent has holes in it.

Its not what tou did, its how you did it.
I find it's a gamble for me. If paypal redirects and opens in the same browser it's happy days.

If it opens in a new window, it always seems to error out
I wouldn't loose sleep over this if I was working for Midjourney. Copyright lobby is powerful, and when bad actors like Microsoft, Disney etc. jump onto the AI bandwagon and put their legal weight on their side of the lever, everything will turn out well (for them).
> Nowadays, people normally just leave client side validation to whatever <input type="email"> does.

Hah, I wish. SO MANY sites disallow the plus symbol in the email name (e.g. something+else@example.com).

This is a valid email. It should be accepted. Arrrgh.
The game controller on the missing Titanic sub
Wow! Thanks for that very nice write up!
Are the competitors that bad in Germany? Here in Sweden PayPal has one of the worst UIs and the buggiest sites.