Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
gregmac
4y ago
> in most cases what you actually end up with is a settlement. I'm curious, what would that look like in this case (for a GPL violation)? Do you need to track down every single person who contributed code under GPL and get them to a
182.
▲
by
gregmac
4y ago
I have been an Ecobee user for years, and one of the main things that sold me on that is the room sensors. In my house, there's large south-facing windows that let in a lot of sun, and for a lot of the year the north side of the house
183.
▲
by
gregmac
4y ago
> zip ties have sharp "tails" that stick out from the bundle and cut your hands and arms when you reach into a compartment. The guy that ran a computer shop I used to frequent was an ex-Bell tech, and taught me about using flus
184.
▲
by
gregmac
4y ago
How do you maintain this as new base releases are made? Ie: Do you just manually reapply your changes every time? Or just do in-place upgrade and then snapshot that? Personally, by the second time I did this, I'd be writing a script. T
185.
▲
by
gregmac
4y ago
I have a distaste for all of these examples, which comes from the existence of a side-effecting operation: calling do_something() necessitates the need to call a cleanup function, which means there's some state being changed but hidden
186.
▲
by
gregmac
4y ago
Meta also loves the data. https://news.ycombinator.com/item?id=34551367
187.
▲
by
gregmac
4y ago
> Are you writing a library that you want to be kept open when used in a project? GPL will do what you need. I'd argue it doesn't, really. GPL means it can only be used in software released under the GPL, or any network softw
188.
▲
by
gregmac
4y ago
> What the average consumer expects from a service like instant ink is "a subscription for new ink cartridges when needed" and not "a subscription for individual pages". Where does that expectation come from, exactly?
189.
▲
by
gregmac
4y ago
I did the same! I ran MythTV on a PC connected to my TV for a while, but when I wanted to add a second TV I had a really hard time getting a decent fanless client at a reasonable cost (this was mid/late 2000's). I ended up switchi
190.
▲
by
gregmac
4y ago
I once worked to automate billing for a on-prem-ported-to-"SaaS" product, and though it had a seemingly simple billing model ("pay $ per thing monitored per month", with $ negotiated per-customer) the reality turned out
191.
▲
by
gregmac
4y ago
I started out with Arduino but quickly switched to EspHome. There's just so much built in that you don't have to sort out: * Wifi reconnect * Mqtt (and HomeAssistant) integration, with reconnect * Hotspot (initial configuration) s
192.
▲
by
gregmac
4y ago
What use case prompts you to making this statement? It's not a general purpose PC with I/O tacked on, like a Pi is, but more like the reverse: I/O and a wifi/bluetooth chip that also has a small (but powerful) processor.
193.
▲
by
gregmac
4y ago
I'm at the point where I want to see docs on any non-private properties/fields, methods, parameters, classes, etc. I think there's nearly always value to be added: * Explaining required fields, if null/blank/0 is
194.
▲
by
gregmac
4y ago
The comment is missing everything useful. If it was public, I'd definitely ask for docs on it: What is the phone number for? When I read it, is it ready for display as-is or should I be formatting it? Same question when I set it. Can i
195.
▲
by
gregmac
4y ago
Wled [1] install is similar: https://install.wled.me/ [1] https://github.com/Aircoookie/WLED
196.
▲
by
gregmac
4y ago
I found using groups, colors and direction hints gets mostly around the issues. Enough that the benefits outweigh the downsides of switching to something else (that doesn't get source control, requires separate edit/export steps e
197.
▲
by
gregmac
4y ago
> Also it was only a few years ago Sony was caught storing passwords in plaintext so… Unless you trust the service is hashing and salting your password, MFA can be a good idea. Though that site is likely also storing the TOTP shared secr
198.
▲
by
gregmac
4y ago
> experienced users do avoid I think experienced users use the common git workflows, which usually avoids this situation. But, FWIW, this is a litmus test for me of one's true git prowess. Merge commits like "Merged origin/
199.
▲
by
gregmac
4y ago
This doesn't affect anyone else! Other than they don't see noisy, meaningless merge commits. It only takes effect when you are both behind AND ahead of the remote (as in: you have local unpushed commits, and there are remote commi
200.
▲
by
gregmac
4y ago
You can at least configure rebase to be the default: git config --global pull.rebase true I understand why this isn't the "safe" default option.. but at the same time, it's the sane default option for anyone wor
201.
▲
by
gregmac
4y ago
I've dealt with a different situation before and handled it with sharding. It's pretty easy to retrofit in code, and it's not hard to do a one-time move of existing files to the new layout. Simply put, you make an algorithm l
202.
▲
by
gregmac
4y ago
> A reality check, a "what you've seen today was staged", a "don't think this was real, and then make poor life choices". I liked the integrity of that. I think it shows something different from that: "
203.
▲
by
gregmac
4y ago
If this system fails when needed, every cent spent on it will be considered a waste. Nobody is going to say "sure, 300 people died and a couple $150m planes were destroyed.. but we saved a couple million dollars when it was installed
204.
▲
by
gregmac
4y ago
I'm very early (old) millennial. One of my high school chemistry classes stands out as a favorite course of all high school. The teacher was good (likable, engaging, smart) but also did open book tests that had some new never-before-se
205.
▲
by
gregmac
4y ago
Not GP, but I use versioned packages (npm, nuget, etc) for that. They're published just like they're an open source project, ideally using semantic versioning or matching the version of a parent project (in cases where eg we produ
206.
▲
by
gregmac
4y ago
Debugging works extremely well during an interview because: 1. Your evaluation can be interactive: you're watching them step through, can stop and ask questions about their thought process, etc. If it's a theoretical problem (ie:
207.
▲
by
gregmac
4y ago
This is exactly my point. It's even worse in a "school test" situation, because who knows what contrived scenario the instructor has invented depending on what their focus is (eg: DNS vs physical net vs routing vs apache conf
208.
▲
by
gregmac
4y ago
I can think of a couple challenges. Let's say you're debugging "the website won't load." Often debugging is a hunch, and quickly branches. One person will go down the path of trying the same site from another PC. An
209.
▲
by
gregmac
4y ago
I don't follow. If the algorithm is SHA1(SHA256(X)) all an attacker can modify is X. Yes it's possible to find a SHA1() collision, but finding X where the SHA256() will generate a collision -- that is SHA1(SHA256(X)) == SHA1(SHA25
210.
▲
by
gregmac
4y ago
Having never heard of this, it just looks like a list of regex patterns. Am I missing something? There's lots of lists of patterns available [1] If I came across this in code, I still have similar issues to regex. I have to question th
More ›