Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
gregmac
4y ago
My work setup (in my house) has been entirely based on RDP for a few years now, and I have to say it's great. I basically never physically touch my work laptop unless I'm not working from within my actual office. Two of my three m
302.
▲
by
gregmac
4y ago
For all the effort (and money) put into making a media server as quiet as possible (which is still not silent), I think you're way further ahead to just not put the server in your living room. Instead, put it in the basement/close
303.
▲
by
gregmac
4y ago
The author defines two types of TDD: "weak TDD" and "strong TDD". I'd argue there's another, though I'm not sure what to call it -- "Pragmatic TDD" perhaps? What I care about is having unit tests
304.
▲
by
gregmac
4y ago
> it's impossible to write adequate test coverage up front I'm not sure what you mean by this. Why are the tests you're writing not "adequate" for the code you're testing? If I read into this that you'r
305.
▲
by
gregmac
4y ago
> As I grow older I guess I am growing more fond of statically typed languages. It's easier for my decaying/distracted brain to reason about. There is less mental overhead I suppose I'm not even sure it's an "old
306.
▲
by
gregmac
4y ago
Ok, but how else do you compare two frameworks? The only other real way is to write two programs that do the same thing in both. You need to put in the same degree of runtime/environment-specific optimizations (which, notably, will res
307.
▲
by
gregmac
4y ago
So I've just scanned over this stuff, maybe someone can fill in some gaps for me. There's a list of DID methods "in development" [1]. Is this the list of methods, or is there a centralized registry, or are these just &
308.
▲
by
gregmac
4y ago
> However, cloud providers have often had global outages in the past, and there is no reason to assume that cloud datacenters will be down any less often than your individual servers. A nice thing about being in a big provider is when th
309.
▲
by
gregmac
4y ago
Does anyone remember early cable modems allowing viewing other computers? What allowed that to happen? I didn't know enough about networking at the time, but I recall seeing this at friends houses in maybe the late 90's. You could
310.
▲
by
gregmac
4y ago
Agreed, and displaying this like a tree is then a UI concern. I think you'd get slightly more performance if you were to store "Folder" and "Key" separately -- either three fields or using a parent-child table. You&
311.
▲
by
gregmac
4y ago
I built the first online payment system for my university' frosh week in the early 2000's (before that they only accepted cash). This is pre-shopify/etc, and if you were doing any moderate volume it was worthwhile to use a g
312.
▲
by
gregmac
4y ago
I sometimes stack retroactively. I work on something experimental, then realize it'll be easier to review if I break it down. This often means first a code cleanup that doesn't change any functionality yet, but makes the later cha
313.
▲
by
gregmac
4y ago
> People here complain about estimates, but imagine if you had to bid on every sprint you did, and you couldn't go above your estimate. TFA elaborates on this: > Bidding on contracts is a tough way to win work, by the way. Imagin
314.
▲
by
gregmac
4y ago
You can! Well, sort of. (this is new to me, I was curious as well, so thank you) Native Command Queuing (NCQ) [1] is a SATA extension that lets the drive optimize the order commands are performed in. For HDDs, this means it can do the comma
315.
▲
by
gregmac
4y ago
> The fact that everyone's mad makes me think it may not be too tilted against any party "A good compromise leaves everybody mad" - https://www.gocomics.com/calvinandhobbes/1993/05/01
316.
▲
by
gregmac
4y ago
Maybe I'm naïve, but The type of person that does this seems like the type of person that would do this regularly. That is to say: files a large number of chargebacks, with similar reasons, likely facing merchant disputes with evidence
317.
▲
by
gregmac
4y ago
> Anything that is an annoyance during on-call is a candidate for review and change. What does that mean in practice? Hopefully: "This woke me up last night. It's now the top priority until it's fixed so it never wakes any
318.
▲
by
gregmac
4y ago
I'm not sure what you're getting at here. Mono-repo is entirely a different concept then centralized (eg: SVN) vs distributed (eg: git). I'd also seriously question an org not using git, specifically, despite claiming "c
319.
▲
by
gregmac
4y ago
I've never used a java app that didn't feel like a total clunker, especially with time to start up. This includes simple little utility apps, like testing SMTP servers. I won't dispute electron apps are also often slow, but t
320.
▲
by
gregmac
4y ago
When you're doing a big refactor, this would be awful. Sometimes you need to rip out, add, or replace an entire layer or subsystem, and break everything until you're done. I love the freedom having my own private branch gives me t
321.
▲
by
gregmac
4y ago
I think this is a good overview, I especially like "descriptive, contextual, reactive." I like to ask "who is going to see this message and why? What action should they take?" I've also come to find a few "wide
322.
▲
by
gregmac
4y ago
Warning is actually very useful. One of the biggest logging mistakes I see is people misusing Error. What most developers consider an error -- external service call failed, user gave bad input, or a timeout happened - is often not really a
323.
▲
by
gregmac
4y ago
I will often pick something "expert" on their resume to dig into, if nothing else than to gauge what "expert" means to them. Recently I interviewed someone who emphasized databases on their resume, and later mentioned th
324.
▲
by
gregmac
4y ago
It doesn't have ambient light sensing, but I use Twinkle Tray [1] for controlling multiple monitors at once. It has a time schedule feature, and my hacky-but-functional setup is to have it reduce the brightness a bit every 30 minutes b
325.
▲
by
gregmac
4y ago
I just listened to an interesting podcast interview with the author of this book [1]. He discusses what the GP said above: there's a team of say, 7 people listening, and each person has a specific job, depending on the situation: liste
326.
▲
by
gregmac
4y ago
For context, the original URL was http://www.powerlanguage.co.uk/wordle Now it's https://www.nytimes.com/games/wordle/index.html It's never been wordle.com (or even at any TLD), and desp
327.
▲
by
gregmac
4y ago
Can you be more specific about this, and what you're prioritizing? Eg: Speed? Different UI layout? Fundamentally different design/UX philosophy?
328.
▲
by
gregmac
4y ago
Absolutely -- it's like the PC of Theseus. I'm mixed on the motherboard thing. There's at least one instance where I changed only the motherboard, and so that didn't really feel like a "new" PC. I think it was
329.
▲
by
gregmac
4y ago
I realize different context, but I'm curious how many other HNers do the same as me: I haven't had a fully new personal desktop computer since ~2001. Since I originally built it, it's undergone dozens of upgrades: close to
330.
▲
by
gregmac
4y ago
> it always felt like "podcasts but worse". Even without the live/realtime aspect, I think it can be summed up by: > I would have written a shorter letter, but I did not have the time. > - Blaise Pascal I don'
More ›