- 2 Posts
- 32 Comments
Technus@lemmy.zipto Programmer Humor@programming.dev•How To Become A Hacker: A Step-By-Step Guide6·3 months agoThis is the same article that was posted yesterday with the title “Kill DNS”
Technus@lemmy.zipto Programming@programming.dev•Using black magic to make a fast circular buffer.4·6 months agoThis is a neat trick but it works best on Linux and maybe macOS.
Implementing it on Windows requires some luck as you can’t just map adjacent pages, you have to just request two of them and hope the OS gives you two contiguous ones. For example, see this abandoned Rust crate: https://github.com/gnzlbg/slice_deque/blob/045fb28701d3b674b5da413266ca84b3e5a70190/src/mirrored/winapi.rs#L57
If anyone has the opportunity and hasn’t done so yet, I highly recommend seeing them live while you still can. They’re getting up there in years now and Bruce’s voice is starting to show its age. Still great stage shows though.
Same with Judas Priest. Rob Halford is starting to lose his rhythm and he looks like an old man who wandered out of the nursing home.
Technus@lemmy.zipto Programming@programming.dev•Stack Overflow Survey: 80% of developers are unhappy76·9 months agoWill AI steal their jobs? 70% of professional programmers don’t see artificial intelligence as a threat to their work.
If your job can be replaced with GPT, you had a bullshit job to begin with.
What so many people don’t understand is that writing code is only a small part of the job. Figuring out what code to write is where most of the effort goes. That, and massaging the egos of management/the C-suite if you’re a senior.
It’s an ideal that’s only achievable when you’re able to set your own priorities.
Managers and executives generally don’t give two shits about yak shaving.
Tip #1: if you’re gonna post your programming blog to social media, make sure it can handle the traffic…?
Technus@lemmy.zipto Metal@lemmy.world•Can we get a FAVORITE ALBUMS roll call going?English5·11 months agoI grew up downloading songs a la carte and now I use services like Spotify and YouTube Music, so I never paid much attention to albums as a whole.
But there’s a couple of standouts for me, albums I have listened all the way through multiple times, and they’re both from Iron Maiden:
- Rock in Rio live, 2001
Most of my life, I thought concerts were stupid because I’d only been to ones at like, the county fair, with shitty country music from amateur cover artists on blown out speakers and surrounded by drunk and rowdy rednecks.
This is the album that convinced me that live shows were worth seeing. In my opinion, this is the gold standard for live albums. I’ve never seen any other band with so many in their discography, and it makes me wish that other bands released more. But it makes sense: Iron Maiden has always been a show band first, and a studio band second.
The crowd has the perfect amount of presence in the mix. Someome took the time to make sure you can always hear them, adjusting the levels so that they never drown out the band and vice versa. And you can feel how large the audience is. And they’re total putty in Bruce’s experienced hands.
It inspires a real sense of community that I’ve come to crave from live shows, even as an introvert, and it helped kick off a life-long addiction.
- Brave New World, 2000
I think we can all agree that almost every album has a weak track or two. One that’s just boring or doesn’t fit with the rest, that seems just kind of thrown in.
Not this album.
This album heralded the triumphant return of lead vocalist Bruce Dickinson and guitarist Adrian Smith after 7 and 10 years, respectively.
It’s the first album with the full-bodied, punchy Iron Maiden sound that I’ve come to love. Instead of firing Janick Gers to make room for Smith, they just said “fuck it, let’s have three guitarists,” and it fucking works. And they still have the same lineup almost a quarter century later.
Not every song is iconic, but they’re all enjoyable, and several of them would end up being staples of their setlists going forward. (They also played many of them at Rock in Rio as part of the supporting tour.)
It’s not explicitly a concept album, but it very nearly works as one. And the album art is actually really fucking cool (Iron Maiden’s album art is admittedly hit or miss cough Dance of Death cough).
I feel like if your body follows the Unix filesystem structure, you have a real problem.
It’s a glob pattern (edit: tried to find a source that actually showed
**
in use).
That’s why you have backups.
sudo rm /heart/arteries/**/clot
I wonder why I haven’t seen a standard open-source license for this.
Technus@lemmy.zipto Programming@programming.dev•The time I spent three months investigating a 7-year old bug and fixed it in 1 line of code401·1 year agoThis would be a lot more readable with some paragraph breaks.
Any highlights from those in the know?
Elize Ryd dresses like a dominatrix but she’s got varsity cheerleader energy on stage. It’s fucking adorable.
Completely barebones stage show but wasn’t boring for a single moment.
It was $5k worth of training, and well worth it, since you still remember the lesson.
Yep.
That’s also not the most money I’ve ever unintentionally cost an employer.
The applications I’ve built weren’t designed for serverless deployment so I wouldn’t know. It seems like you pay a premium for the convenience though.
I ran up like a $5k bill over a couple weeks by having an application log in a hot loop when it got disconnected from another service in the same cluster. When I wrote that code, I expected the warnings to eventually get hooked up to page us to let us know that something was broken.
Turns out, disconnections happen regularly because ingress connections have like a 30 minute timeout by default. So it would time out, emit like 5 GB of logs before Kubernetes noticed the container was unhealthy and restarted it, rinse and repeat.
I know $5k is chump change at enterprise scale, but this was at a small scale startup during the initial development phase, so it was definitely noticed. Fortunately, the only thing that happened to me was some good-natured ribbing.
It executes on a native thread in the background. That way it doesn’t stall the Javascript execution loop, even if you give it a gigabyte of data to hash.
This title belongs in a “statements made up by the deranged” meme