Better HN
topnewbestaskshowjobs
Log inSign up

lewis1028282

96 karma · joined Mar 26, 2018 (8y ago) · 46 submissions

Submissions

comment 1y ago · link · parent

I use socket activation instead of running reverse proxy with `CAP_NET_BIND`. Caddy supports socket binding, and can handle SSL certs. I now just log-in every week or so and run `journalctl --user -f --since "2025-11-09" --grep "error"` to check for anything going on.

https://github.com/eriksjolund/podman-caddy-socket-activatio...

comment 1y ago · link · parent

The missle that struck MH17 detonated just above the cockpit

comment 2y ago · link · parent

I don't think Linus can merge from GitHub. Linux requires DCO and it to be reviewed by 2 people (or maybe this is outdated now?)

comment 2y ago · link · parent

Some of these issues were solved by Spark. Do agree with the overall point, people shouldn’t be reaching for Hadoop when Postgres would suffice. Indexes are fast. Use them.

comment 2y ago · link · parent

It's easy to hide things in the Python build process as well. Things like using `getattr` instead of . (dot) etc

comment 2y ago · link · parent

What's the recommended way to learn RISC-V assembly (including SIMD)? For ARM I just found a book I liked and did the exercises on my Mac M1 (replacing system call numbers etc and changing page sizes).

comment 6y ago · link · parent

I’ve never seen such an incorrect statement in my life — have you ever been to Europe?

comment 6y ago · link · parent

Yeah but why pay someone to look after databases when I could get them do something else that'll have way more value. Using managed services just reduces how much money I have to spend upfront.

comment 6y ago · link · parent

Yep I just changed the font size to 18px in my dev tools and it looks better. Still don't think serif fonts are the best for a blog but guess that's just my opinion.

comment 6y ago · link · parent

Probably but reading something online is different to print

comment 6y ago · link · parent

The font on that site is awful and too small. I’m on a MacBook Pro Retina 2015

comment 6y ago · link · parent

You can just write char drivers that operate a slab of kernel memory, and implement all the syscalls like open, read, write on that piece of memory.

comment 6y ago · link · parent

Might be a bit controversial but I found writing drivers for Linux on my raspberry pi helped me understand kernels, virtual memory etc. I used Linux Device Drivers (ldd3) which is free online. The book was written for the 2.6 kernel but someone on GitHub updated the code for the latest kernels.

comment 6y ago · link · parent

Looks like the anti-glare coating is coming off too. That happened to my MacBook and Apple replaced the whole screen for free, that's pretty good considering it was 4 years old.

comment 6y ago · link · parent

Isn't that the same with any hardware you get? Someone could intercept your server from Dell and put malware on it.

16.

Show HN: Sebasic a Minimalist Theme for Jekyll(github.com ↗)

1 points · by lewis1028282 · 6y ago · discuss

comment 6y ago · link · parent

That site is awful on mobile and filled with ads. Makes it impossible to read.

comment 6y ago · link · parent

Is CoffeeScript all but dead? I use Ruby and Python a lot so the syntax of CoffeeScript looks great to me!

comment 6y ago · link · parent

>They also have poorly trained pilots, who either aren’t qualified for ILS or aren’t confident in poor conditions - on numerous occasions I’ve been on flights which they’ve diverted (Bristol becomes Birmingham, Bergerac becomes Toulouse, Porto becomes Madrid) because of weather, while other airlines land and take off without issue.

Completely wrong they have the same requirements as any other airline. It's the law to have a APL and a type rating + check rides every 6 months -- just like any European airline.

comment 6y ago · link · parent

What do you do about backups? I saw you only have one DC, are you worried about that DC being flooded etc and losing all your data?

comment 6y ago · link · parent

https://www.lewis8s.codes

I mainly make guides on how to use technologies such as Kubernetes and AWS amplify. Feel free to post any criticism.

comment 6y ago · link · parent

I mean when modern GPUs are $1000 I'm curious how you think $9.99 is too much.

23.

How to Install Arch Linux on a Late 2015 Retina (12,1) MacBook Pro(lewis8s.codes ↗)

4 points · by lewis1028282 · 6y ago · 1 comment

comment 6y ago · link · parent

I run my blog https://www.lewis8s.codes on AWS Amplify. It connects to a GitHub repo and builds it every time there is a commit to master. Uses CloudFront on the backend too.

Costs me around $0.01 per build which isn't bad. Just easier than writing my own script.

comment 6y ago · link · parent

Not really IO is always going to be slow compared to the CPU. The Python interpreter will be blocked 90% of that time waiting for IO anyway.

comment 7y ago · link · parent

I hate the new website it's so slow. Even the blog took 10s to render, why does a blog need to be flashy, just show some text.

comment 7y ago · link · parent

Was U2F or FIDO2 or WebAuth announced for Safari? Chrome, Firefox and Opera have it, about time Safari added it too.

comment 7y ago · link · parent

So just got a new phone and trying to resync my 2FA for AWS but I can't because Gmail is down. Ffs.

comment 7y ago · link · parent

I’m guessing this is the guy who invented the Widlar current mirror?

For anyone wondering ICs need accurate current sources to drive transistors etc and large resistors take up loads of space and vary a lot with temperature so hence so are very expensive to manufacturer, hence why current mirrors are used all over the place. In fact the 1st stage of an op-amp is usually a current mirror.

comment 7y ago · link · parent

Yes but you consented to that.
12