HNHacker News
TopNewBestAskShowJobs

bennyp101

1,736 karma · joined June 1, 2013

Email: HN@<first>.<last>.co.uk ---
submissionscomments
bennyp101··on Falsehoods programmers believe about time
Ah ok cool - thanks for the replies!

So I guess its not really something that I need to worry about!

bennyp101··on Falsehoods programmers believe about time
"Months have either 28, 29, 30, or 31 days."

Ok, Im intrigued, are there months that don't? I assume it must be a country specific thing?

bennyp101··on The impact of removing jQuery on our web performance
It's actually a pretty cool thing to browse through - they have some good advice on how to make things accessible and not confuse users. Each pattern tends to have supporting research as to why things should be done like that.
bennyp101··on Tell HN: After 10 years of experiments, custom username emails receive no spam
I’ve noticed the same, I wonder if they filter out emails that contain the company name when selling lists?

I do often get asked if I work for said company when giving it in person or over the phone, and I just say it’s so I know if it gets sold or leaked I know where it came from.

I seem to remember a few years ago I couldn’t sign up to a service with the company name in the email, but that’s the only time I came across that.

bennyp101··on France experiencing worst drought on record
I’m south east too, the last few years the lawn has gone yellow - but this year seems … extra crispy?

I don’t remember the garden at my parents going yellow and crispy 20 years ago.

The “covid heatwave” still had water in some streams, but this year they look positively parched.

There’s a large bucket in my garden in the shade, this year it is dry - it usually has water in it

I grew up here and in nearly 40 years I don’t remember it being this different

bennyp101··on Burger King sent mass email of blank receipts, unclear if hack or internal error
Mine came into the specific email I use for the BK app, but I have only ever ordered BK via Deliveroo, so I guess something went funky with their internal systems
bennyp101··on The ejector seats that fire through the floor
The ending about helicopters got me - I guess I had always assumed that they had some sort of way to get out, but not really put much thought into it.

"Attack helicopters are flying so low that by the time you make the decision to eject and move to take action, you're probably dead anyway, so why add the weight, complexity, vulnerability, cost of an escape system that's almost never likely to be used."

bennyp101··on Pornhub: Judge rules Visa can be sued in abuse claim
That kinda stuff I guess gets uploaded to any sort of “social media” site, so Facebook, twitter, etc, where do they draw the line of just not accepting payments?
bennyp101··on Pornhub: Judge rules Visa can be sued in abuse claim
This seems a very slippery slope.

Whilst the details of what happened are terrible, surely the buck has to stop at MG? Otherwise we enter the whole gun/car manufacturers argument.

It’s not a payment providers job to police user uploads, there are other laws regulating that already.

And if going after visa, surely Mastercard and Amex etc should be on the cards?

bennyp101··on TIFU by using Stripe as a payment processor for my small business
Bit of a bug in your page redirects

curl https://www.pastepay.com

<meta http-equiv="refresh" content="0;URL=https://www.pastepay.com/industry/international-merchants">

curl https://www.pastepay.com/industry/international-merchants

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://www.pastepay.com/">here</a>.</p> </body></html>

bennyp101··on Ask HN: Anyone making software for kiosks, infotainments or similar?
That's basically what I did for some screens around the office (before covid sent us to remote work) - elixir backend with a raspberry pi on the back of each TV, then Drab[0] to update the screen over websockets (liveview wasn't a thing then IIRC)

[0] https://tg.pl/drab

bennyp101··on Ask HN: Is having a personal blog/brand worth it for you?
I've been thinking recently that I wanted to start one, but I don't thin I would have the time to actually commit to something that would be current.

Instead, I'm thinking I might just link my Obsidian to public pages and do it that way, so it's a blog/knowledge dump - and I tend to keep that updated fairly often.

bennyp101··on Eating horsemeat in France
It’s quite common to eat rabbit, pidgin, pheasant in the UK, and duck and lamb are standard dishes
bennyp101··on I'm hosting a website on a RAID0 of 30 floppy drives
The parcel tape holding bits together is just chefs kiss
bennyp101··on I've been abusing HTTP Status Codes in my APIs for years
Depends on the API I guess.

If you are using graphql or jsonrpc or something, then sure return a 200 "The request was ok, but go look in errors"

If you are using REST then I think it is fine to return a 404 - "The thing you wanted doesnt exist". That seems correct to me, the thing you wanted to get doesn't exist.

The fact that /non-existant-path also returns a 404 is also correct, the thing/resource you wanted doesn't exist.

bennyp101··on Why we’ve decided to decommission Gov.uk PaaS
So, what you are trying to say is: "Please stop sending us your well educated and skilled people - we need to spend more money on our country and citizens, not absurd wages for tech"?

That's super kind of you, I think Europe could get back on its feet with that kind of leg up.

bennyp101··on Guest WiFi using a QR code
I do the same thing, I had some little wooden etched boards made up with the ssid and and password on, then on the back is the qrcode for it.

Super easy to hand to a visitor that can either scan or type in.

bennyp101··on Ask HN: Developer Workstation Backups
Any dev related stuff is checked in, so dockerfiles and code, so that’s easy to spin up again.

Then I have a folder in my home called Sync that has a library and resources folder inside. Documents and Pictures etc are linked to library, and resources contains docs or things that I want to keep.

The sync folder is setup in syncthing to my laptop and nas, then the nas also backups up that to Backblaze.

Dotfiles and ansible books are in GitHub, via chezmoi.

Otherwise I don’t mind if I lose anything else.

bennyp101··on Replibyte – Seed your database with real data
How does it keep personal data safe? I had a look at “how it works” and “faqs” but they don’t answer how you keep stuff safe? It also gets uploaded to S3?

I might have missed it, but I need to know exactly where our PII is stored (so not on a dev laptop), how do you know what to replace and what do you do with any info you do replace?

Edit: To answer my own question, via transformers. But that seems to suggest each dev has to keep it up to date with any schema changes etc

(Also some links are broken on GitHub)

bennyp101··on Ask HN: First-time dad-to-be. What do you wish you'd known back then?
Don't worry if you think you are doing it 'wrong', you aren't - just because a book or person says that "the way to deal with x is y" doesn't mean it will work for your kid - everyone is different, and we're all winging it!

As others have said, make sure you carve out time for yourself and partner - I know it can be scary leaving them for the first time - but seriously, you both need it and it will only make it easier if you do.

Talk about how you are feeling, a lot of people will instinctively ask how the mother is doing (perfectly normal thing to do) but often forget to ask how YOU are doing - you are in charge of a life now, so your brain is gonna be going 100mph figuring out how it all fits together. Talk about it.

Don't buy expensive clothes for the first few years, its pointless. They will be destroyed or outgrown before the tags are off!

Remember, they have no reasoning skills or fear. They are a bundle of love that will be moulded based on your input. They will look to you to see how they should (re)act. If they fall off the sofa and are fine, you have 2 choices how you react. Choose wisely!

Oh, and get as much sleep now as you can, you're gonna need it (and won't have it for a while!) :D

Edit: Also, they are fast! Amazingly so! Once they start crawling, they can be in a different part of the house before you have finished that sip of coffee you just took! Magnetic cupboard locks are great at keeping hands away from things.

bennyp101··on Ask HN: What do you use to build auth?
Currently a lot of stuff is organically grown, but moving to keycloak for a lot of things.
bennyp101··on Only essential services to operate from midnight
Yea I had to read it first to figure it out, so now I know and I’m informed about another nation…

Edit: urgh I know it’s a shit comment, but frankly I’m so disheartened with seeing another country go down it’s just depressing

bennyp101··on What will a Chromium-only Web look like?
I just tried it in FF and it works fine

System requirements for Google Earth

- Google Chrome 67, Firefox 63, Edge 79, or Safari 11.

- Make sure that you turn on hardware acceleration.

But I do know that Apple Business Manager wont run - not sure why as it seems to be a fairly basic interface and says Firefox is supported, but yea I have to use Chrome for that

bennyp101··on I'm making drugs for cats
Yea, isn't that how Viagra came about - "Well it doesn't the blood vessels quite like we wanted, but .... well it does this!"
bennyp101··on Barber schools and license requirements in Rhode Island
"As a place that invokes classic style and traditional masculinity, Rhode Island is a wonderful place to start your career as a barber."

What does that even mean?!

That whole page just makes me not want to join a barber school!

bennyp101··on Tauri 1.0 – Electron Alternative Powered by Rust
Awesome, I've been waiting for a 1.0 release to start playing around (I know its been fairly stable anyway, but still)
bennyp101··on I've locked myself out of my digital life
So I do actually use a safety deposit box at the bank he mentions - and I think it is worth the £20 a month.

It does contain a backup yubikey (which is set as a master for creating new ones) as well as a printed paper copy of my private key. The 2nd slot on it stores the secret key for my 1password so I can get back into that if needed.

I use Authy for 2FA which is backed up with a decent password that I know - but would be pretty tricky to guess.

The bank have a photo of myself and wife, along with signatures - so when you go to access it they compare your photo (I had to show ID last time as I had grown a beard which looked nothing like me) and have you sign to access. So I think even if I had lost my card with my account details on it, I should still be able to get back into my digital life.

Edit: Even if the safety deposit key is destroyed, you can get a replacement for <insert fairly high amount of money> if it came to it.

bennyp101··on GitHub user sends notification to 400k users
A few years ago someone managed to email the whole of the NHS with a test email ... on a Monday morning... [1]

[1] https://arstechnica.com/information-technology/2016/11/nhs-e...

bennyp101··on Show HN: Svelvet – A component library for building interactive flow diagrams
Seems to be - which is cool, Im a fan of Svelte so more community investment is great!

"Svelvet is an open source Svelte component library which seeks to port React Flow functionality over to Svelte." [1]

[1] https://medium.com/@alexander.zambrano/simplify-application-...

bennyp101··on This week's archaeological news: Underground stone circles and ancient trade
Thats cool! Not gonna lie though, I was a little disappointed that it isn't about rocks from Krypton ;)

The whole area seems to be some sort of ancient "thing" that I guess is pretty much lost to time now - definitely interesting!

← PreviousPage 5 of 19Next →