HNHacker News
TopNewBestAskShowJobs

theideaofcoffee

1,181 karma · joined October 3, 2017

i don't need no stinkin' caffeine

meet.hn/city/br-Rio-de-Janeiro

I speak for both you and your employer.

technical@theideaofcoffee.com

submissionscomments
theideaofcoffee··on Smashing the Limits: Installing Windows XP in DOSBox-X (2023)
I feel the same way, I feel despair when I think about all of the time wasted for such trivial bullshit. But then I'm told I'm being dramatic and to get back to my Jira stories. Line must go up, huh?
theideaofcoffee··on New Mac Mini with M4
My 7 year old QHD monitor pair through a M1 Pro MBP still looks fantastic. Then again, I do spend most of my day in apple Terminal, but I'm not really in want of anything more. Some other sibling comments are saying Windows 10/11 looks crappy, and I agree, as I have to occasionally switch between the two, I just don't like working in Windows anymore, mostly because of the poor display.
theideaofcoffee··on Show HN: Satoshi9000 analog BTC key generator (mechanical)
Love it. I wonder what the distribution of rolls/tosses for this looks like. This also reminds me of an automated dice roller thingy that someone built with a hopper of dice, a conveyor to bring the dice to the top of a ramp and ocr to record all of the rolls, a "Dice-o-matic" [0]. And a vidja of it in action [1].

[0] http://gamesbyemail.com/news/diceomatic

[1] https://www.youtube.com/watch?v=7n8LNxGbZbs

theideaofcoffee··on World-First Starlink Service on Boeing 777 Launched by Qatar Airways
My airline of choice doesn't have any publicly released plans to upgrade their fleet like that, they are still using Boingo or whatever it's called. They still have their "no voice or video calls" over wifi rule and I hope they stick to that even if they go the way of United and Qatar and Starenshittify their fleet. It's nice to have the technology break that the small amount of friction of having to join the in-flight wifi has for a few hours when I travel by air.
theideaofcoffee··on Why "founder mode" is a rebranding for micromanaging, top-down leaders
I guess this is the first time I’ve seen “founder mode” as a new thing, apparently I’m out of touch. But from what I’ve read and how it matches up with my experience with horrible management in the past, driving down micromanagement and all that, all it is is a fear response. Fear about not having control, fear about not having hired correctly, fear the you’re not as influential as you’ve deluded yourself to be, and on and on, that’s all I can see here. This guy is so wrapped up with having to dictate everything he has to make it miserable for the people that should actually be doing stuff, you know, the people he hired.

If you want to have impact, do less! Have a clear vision above all, be able to articulate it, rally people behind you, micromanagement “founder mode” is just a bandaid over poor fearful, leadership. Sure, micromanage your startup of five people, after that you should have the discretion to hire people to carry out your vision. Otherwise, just get out, you’ll just make your life and everyone else’s less miserable otherwise.

theideaofcoffee··on No Time Like MEMS Time
Whoops, yep, thanks for the correction! What's a Greek prefix between friends (save for crystal properties).
theideaofcoffee··on No Time Like MEMS Time
MEMS devices absolutely blew my mind the first time I read about them. Thinking: "yeah, this just shouldn't exist". Like, how can you make something with moving parts out of something that normally doesn't move (polycrystalline silicon), and is very fragile at that, all the while doing it at a scale that you require similar processes as 'normal' semiconductors. You can make physical oscillators like the peeps do in this article and have surrounding circuitry to drive and measure them, levers and actuators to mount actual tools onto: probes to manipulate single cells, mirrors to control light (looking at you, DLP) and so many other things. Super interesting!
theideaofcoffee··on How electric trains work and why they make interesting sounds [video]
From what I understand, mostly yes. They are still built up layer-by-layer with standard litho techniques, with pattern masks, ion implantation for the p- and n-type layers, etching, CVD to deposit insulation material (for the 'insulated gate' part of the device). Though they don't have to be nearly as precise, as I understand it as something more sophisticated, like a cpu, they still need to lean on those to make it chooch.
theideaofcoffee··on How electric trains work and why they make interesting sounds [video]
As much as I love the futuristic and sophisticated sounds that electric traction drives make as compared to their fossil-fueled counterparts, I do think that the driving and control systems that actually generate the PWM waveforms that are sent to the motors are even more interesting. Huge, massive IGBTs weighing a kilo+ each chopping up hundreds of thousands of joules/s of energy without destroying themselves, current transformers, contactors, it really tickles parts of my brain. He only spent a handful of seconds on those, would be interesting to hear a deeper dive.
theideaofcoffee··on Let the network tell you where you are
You don't even need to go so far as to sniff traffic on any interface. Most linux distros have either lldpd or lldapad built in which gives a bit higher-level interface to the raw LLDP data on the wire. The BSDs also have it. Bi-directional so info can be updated switch-side too. I've used it in combination with other tools, DHCP and whatnot to do something similar to what she wrote about, have individual machines 'know' where they are in a cabinet or facility and change functionality based on that. Works great!
theideaofcoffee··on Cloudflare auto-mitigated world record 3.8 Tbps DDoS attack
Who cares about justifying an argument to an internet forum when all that cash is being dropped in my account.
theideaofcoffee··on Cloudflare auto-mitigated world record 3.8 Tbps DDoS attack
> And is your argument really “I’ve spun up 16.5 PoP locations before, so I know what I’m talking about?”

Actually quite a few more than that, but yes.

theideaofcoffee··on Cloudflare auto-mitigated world record 3.8 Tbps DDoS attack
Nah, not really. I know the amount of work standing up even 5% of that requires because I've been there, done that, have the sheet metal scars to prove it. It's a lot of effort. It's just not -hard-. After a while it's a copy-paste problem with it bottle-necking around the human: signing documents, waiting for tickets and whatnot, and it's pretty disingenuous to suggest it's not.

And ooh, ooh, I can flippantly dismiss a comment by calling back to that infamous comment as well! [0] You're actually posting this as a former VP? Geez dude, lighten up, they're not paying you anymore.

[0] https://news.ycombinator.com/item?id=40814123

theideaofcoffee··on Cloudflare auto-mitigated world record 3.8 Tbps DDoS attack
Enh. I try to be positive in my comments as much as I can. Whenever the subject of DDoS mitigation by cloudflare comes up, and it seems like they're always tooting their own horn, I struggle to be impressed. By their own info, they have approximately 330 global locations [0]. 3800Gbps divided roughly (remember, anycast, and if their upstreams are well mixed, they're going to see pretty consistent splitting) equally across 330 locations is 'only' ~11.5 Gbps each location. I'm guessing within each PoP is more than a handful of machines dedicated to DDoS mitigation. So sure, they're doing computation on each bit of all of that, but it still doesn't seem all that significant. Toss half a cabinet at mitigation and continue on with your day. These capabilities are available at such commodity prices nowadays it's hardly worth the effort of a full page blog post.

And ok, I'll give some leeway in those numbers looking at the map on the linked page, 35% or so of source traffic is clustered over five countries so that distribution skews and some pops around those source countries are going to be hit harder than others. Still, maybe add an order of magnitude and I'll be a little less dismissive.

[0] https://www.cloudflare.com/network/

theideaofcoffee··on Terminal colours are tricky
Same. There are few things that annoy me more when working in the shell than unexpected emojis in outputs to be cute or more accessible or whatever. I'll take the occasional readline and curses shenanigans but even then there's usually a way to disable those to have pure character outputs and no control chars.
theideaofcoffee··on Terminal colours are tricky
I've reached a point where having well-coordinated colors in my terminal just doesn't concern me, I find it to be a waste of time now. I used to be all about finding the perfect scheme, with the perfect terminal font, cool transparency and whatnot, now I just don't really care. I have more interesting things to work on. Whatever, if you want to, you do you.

Maybe because I've had to work on enough remote consoles without any, or limited, color support where I'm more concerned about the problem at hand than which shade of blue is being output for directories. Ok, I'll admit I adjust the default apple terminal 'pro' scheme colors a bit, adding a bit of contrast to the background because I'm in it all day, but beyond that, nothing. I find coloring has little to no positive effect on my productivity, and in some instances, hinders it. No colors on ls, I actually get a bit annoyed when color escapes reach stdout via logs now, hah. Hell, that extends even to my $PS1. I've never bothered to update it on this system. Crotchety, grizzled ops person perspective maybe?

theideaofcoffee··on Radio Shack Catalog Archive (1939-2011)
Just pure, utter nostalgia fuel. I spent so many hours flipping through some of those catalogs, I still remember what's on the next page on some year's editions. Sad to no longer have them, but now we have 10x as much in Digikey and friends (and probably more!).

Like some other commenters, things like this were formative in helping me get interested and get really good at electronic-y things. Visits to the store, browsing parts, seeing how things were made and put together were just jet fuel for project ideas.

theideaofcoffee··on How to manage oncall as an engineering manager?
Alert fatigue. Alert fatigue. Alert fatigue. It's the single biggest quality of life thing that you can do to help with the annoyance that is on call. If you know you're in store for the same alert again and again, or perhaps even know that you know you're going to get paged, it's hard to think about anything else. It becomes then a game of normalizing deviance and burnout: "oh, we just ignored that one last time". Ok, why are they alerts then if they can be ignored? It's just going to murder people's spirit after a while.

Someone gets called in the middle of the night? Let them take the morning to recover, no questions asked, better yet, the entire day if it was a particularly hairy issue. This is the time where your mettle as a manager is really tested against your higher-ups. If your people are putting in unscheduled time, you better be ready to cough up something in return.

Figure out what's commonly coming up and root cause those issues so they can finally be put to bed (and your on-call can go back to bed, hah).

Everyone that touches a system gets put on call for that same system. That creates an incentive to make it resilient so they don't have to be roused and so there's less us-vs-them and throwing issues over the wall.

Beyond that, if someone is on call, that's all they should be doing. No deep feature work, they really should be focusing on alerts, what's causing them, how to minimize, triaging and then retro-ing so they're always being pared down.

Lean on your alerting system to tell you the big things: when, why, how often, all that. The idea is you should understand exactly what is happening and why, you can't do much to fix anything if you don't know the why.

Look at your documentation. Can someone that is perhaps less than familiar with a given system easily start to debug things, or do they need to learn the entire thing before they can start fixing? Make sure your documentation is up to date, write runbooks for common issues (better yet, do some sort of automation work to fix those, computers are good at logic like that!), give enough context that being bleary eyed at 3:30am isn't that much of a hindrance. Minimize the chances of having to call in a system's expert to help debug. Everyone should be contributing there (see my fourth line above).

Make sure you are keeping an eye on workload too. You may need to think about increasing the number of people on your team if actual feature work isn't getting done because you're busy fighting fires.

theideaofcoffee··on Show HN: King Thirteen: 2048 with chess pieces, in under 13 KB
Loved the little twist on the mechanics of 2048, instead of just mindlessly pushing down-left-down-left most of the time, you actually had to think about the proper moves of the pieces. Nice to add a second dimension onto the play, had my rusty wheels turning for a little bit before it bit me.
theideaofcoffee··on Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
Oh, this is great. And pretty much the process of what I do when I look at larger codebases, except not as clean and organized. I would normally have a half dozen terminals open into various source files at once trying to build the map in my head. Though it eventually clicks and happens, it's laborious, but it seems like something like this would help immensely. Now, the only thing left is to combine it with an ultrawide monitor.
theideaofcoffee··on Show HN: Hosting my website using my C web server
Same, it was my first language that I got real fluent in. And I feel the same when the prevailing sentiment now is that you're 100% guaranteed to shoot your foot off and make your dog sick if you even look at some C code. I think it's harmful, because wielded responsibly it's super powerful. We shouldn't be discouraging something because it's hard to master, we should be encouraging discretion. And that discretion may take you to a memory-safe language, you may stick with C or something similarly low-level, it all depends.
theideaofcoffee··on Working Turing Machine
Whoosh! It was a joke.
theideaofcoffee··on MI couple running out of time to prove they found Great Lakes' oldest shipwreck
What? No, not at all. That’s a technique that’s taught at the most basic levels of even open water diving. It might be not as ideal if you’re near maximum depths for a general air mix where you might start to run into nitrogen saturation (say longer than 10 mins) at 100+ ft depth, but in the article they were down what seems like no deeper than 15 ft. You could pretty much stay down all day that shallow.

It’s standard training, at least with my NAUI knowledge to practice rescue breathing with another divers spider. My instructor added a few curveballs in that he’d mess up my tank, make me take it off and fix it while without a mask with my eyes closed and breathing off a fellow student’s tank. Nothing to it.

Edit: ok I see you mean as the reporter ostensibly not having any dive training, yeah, probably a bit inadvisable, but they dove with someone with experience and only at shallow depths, the danger is probably a bit overblown after a short amount of instruction. You’re not gonna get bent at 15 ft.

theideaofcoffee··on Hack GPON – how to access, change and edit fibre ONTs
Yep, you could hack in some DWDM and scale with the capabilities of those endpoints, but at the end of the day it's still running over a shared medium. I don't think it's all impending doom and gloom, just a design decision that I think will not age well. It will be done eventually though I think.
theideaofcoffee··on Hack GPON – how to access, change and edit fibre ONTs
It's equivalent to an old POTS party line, just with some makeup covering its shambling corpse (read: ITU G-number) and a bit more razzle-dazzle after strapping on some lasers. We can do better!
theideaofcoffee··on Hack GPON – how to access, change and edit fibre ONTs
GPON is one of those technologies that should have been drowned in the bath before the spec even made it out of its ITU committee. It's just yet another patch papering over how cheap the ISPs were and how they continue to be. Yes, let's add another layer on top of all of the other layers. Now however many millions of links out to subscribers are hamstrung with that decision to split the physical layer up and throw in nonsensical TDM into the mix as well. Good luck squeezing much out beyond 25g in the future, you're just gonna have to rip all of that fiber up anyway and do home runs. Might as well have done it up front with all of the billions that have been given away to the littly piggy piggy ISPs.

I made a comment a few days ago about how I despair when I see anything modern datacenter related. I get the same sort of revulsion when I look at the list of all of the gpon hardware on that page and thing: how much duplicated and wasted effort has gone in to making dozens of different models of the exact same thing. A thing that's not really even needed if a halfway-competent ISP made an investment that's more than the absolute minimum required.

Nice directory democratizing some good reverse engineering, though!

</end soapbox>

theideaofcoffee··on Show HN: Hosting my website using my C web server
This sort of trivializes the effort and the fun of a project like this, doesn't it? Yes, you'll want to put all of your ducks in a row when you go to full production and you've reached full virality and your project is taking 5 million RPS globally and offloading all of that onto a CDN and making sure your clients requests are well respected in terms of cache control and making it secure and putting requests through a waf and and and and and. Yes we know. Lighten up. The comment you're replying to was meant to be lighthearted.
theideaofcoffee··on Show HN: Hosting my website using my C web server
Look ma, I can do it in python!

$ python3 -m http.server

theideaofcoffee··on Show HN: Hosting my website using my C web server
Awesome! I used to think (well, I still do) that getting a barebones service up and running using the system APIs at the lowest level like this is so satisfying. It's sort of magical, really. And to see it serve real traffic! I'm kind of surprised that the vanilla poll() can put up numbers like you were seeing, but I guess it's been a while since I've had to do anything event related/benchmark at that level.

I love the connection-specific functions and related structs and arrays for your connection bookkeeping, as well as the poll fd arrays. It's very reminiscent of how it's done in lots of other open source packages known for high throughput numbers, like nginx, redis, memcached.

Great work!

theideaofcoffee··on Software development topics I've changed my mind on after 6 years in industry
Hard agree. It's all just devolved into cargo cult nonsense, follow the process, to parrot what they think large orgs are doing. And if you have an adequately competent culture, those noobs aren't going to be left hanging, they're going to learn that it's ok to ask to help get unblocked, and that's what should be taught.

And yeah, I also can't agree more with your assessment about status reports being this relic from the past. What is this? The military? "SITREP. NOW!" Such a waste of breath, time, human life.

← PreviousPage 7 of 14Next →