Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
gregmac
3y ago
Doesn't that still use unscoped global variables, though? That, to me, is the thing that causes unmaintainable spaghetti code more than anything else (in any language).
122.
▲
by
gregmac
3y ago
How does this work with apps? Many spew entries all over the registry (adding stuff to startup, context menus, special icons, etc), and it seems like those entries are also often responsible for the issues in the first place. Keeping those
123.
▲
by
gregmac
3y ago
> somehow GOTOs and line numbers would turn you into a bad programmer for life I think the opposite. It's super simple to understand as a beginner and is a low barrier to entry. The key is likely aligning when to introduce someone t
124.
▲
by
gregmac
3y ago
I suspect it's also a lot cheaper during model development. UI changes with physical buttons mean changing molds, screen-printed text, electrical connections, etc. With a touchscreen, you plan "touchscreen here" and the UI ca
125.
▲
by
gregmac
3y ago
> After debuting in Las Vegas in January 2024, self-service screening could potentially roll out to additional airports depending on its success. How is "success" measured?
126.
▲
by
gregmac
3y ago
> WASM, Android, and iOS targeting is subpar How so?
127.
▲
by
gregmac
3y ago
I have two unifi access points inside and another two outside due to brick exterior walls that blocks most wifi. It seamlessly switches, to the point I can be on a video call on my phone and wander around without any interruptions.
128.
▲
by
gregmac
3y ago
Tips: get an "installer bit" -- this is a really long, flexible drill bit that lets you cut a hole for the mounting plate, and drill directly from there down into the floor below. In the ideal case, no drywall patching is needed a
129.
▲
by
gregmac
3y ago
The majority of the complaint here is really that: * many new homes use metal "structured cabling" boxes (which block wifi signals) * the box is not in a central location (eg: usually in a corner of the basement near where cabling
130.
▲
by
gregmac
3y ago
> I will address a point that has not really been raised before about clause 11 and names containing computer code. [..] My understanding is that the clause is to guard against SQL injection into the Companies House register, because any
131.
▲
by
gregmac
3y ago
Agree the naming is a bit confusing. They're all types of JSON Web Tokens (JWT), though. They're also defined in separate RFCs, but reference back to the JWT one. They're all made of base64url-encodes segments, separated by
132.
▲
by
gregmac
3y ago
Genuinely curious.. how well does this really work, with a real fridge? All the photos I've ever seen are of a staged fridge someone clearly spent an hour or two carefully arranging, and usually between 20% and 50% capacity. Our frid
133.
▲
by
gregmac
3y ago
There's probably more danger in accessing non-famous people, such as looking for dirt on a friend's wife, son-in-law, ex-wife's new boyfriend, etc.
134.
▲
by
gregmac
3y ago
> partly due to a junk integration for this device cobbled together by an amateur Judge for yourself, here's the code: https://github.com/home-assistant/core/tree/5523e9947d82ac14... (before it was re
135.
▲
by
gregmac
3y ago
I missed the manual config at first, and being able to quickly fix things, but it turns out it's not so bad, and I think because of: 1 - Most setups are done once 2 - Stability and quality has improved in recent years, and you don'
136.
▲
by
gregmac
3y ago
I installed that on a housemate's PC and waited for his reaction in the next couple days... But it never came. And so I forgot about it. I moved out. It must have been a couple months later (we were and still are good friends), we'
137.
▲
by
gregmac
3y ago
> Because there's very little effort required to flag articles for deletion, and the burden to keep is often on the contributors doing research on a 7-day timeframe if there are even just one or two editors supporting deletion, most
138.
▲
by
gregmac
3y ago
> This manufacturer claims the cable transmits data at up to 10 Gbps – a speed that corresponds to USB 3.1 Gen 2 – but it only has enough pins and wires to support USB 2.0 at up to 480 Mbps. In any case, this cable accumulated 29 one-sta
139.
▲
by
gregmac
3y ago
I think this is a great idea. People can learn a ton by answering questions. Trying to create a complete answer will make you realize the gaps in your own understanding. As an early SO user, I benefited from this greatly. Sadly, I find t
140.
▲
by
gregmac
3y ago
While there is always a chance a backdoor like that exists, and thieves start memorizing default and backdoor codes and also learn how to recognize the corresponding models by sight from a non-suspicious distance... there's an orders-
141.
▲
by
gregmac
3y ago
Why isn't the limit more like 3 per month or even year ? Maybe with a way to apply for an exemption after human review. I have a hard time seeing how anything even remotely approaching 3 per day would be legit.. I suspect the answer i
142.
▲
by
gregmac
3y ago
A certificate is a key pair with both a public and private part. The private key is needed to sign data, while the public key can only validate that signature. You can think of the private key as equivalent to a password, in the context the
143.
▲
by
gregmac
3y ago
> and are pretty unlikely to continue to work as smoothly as they do 20 years down the line. This is a fair point... but also just what happens with technology and time. I assume you junked the radio not because it was broken (that can h
144.
▲
by
gregmac
3y ago
> Cars should have third-party entertainment systems. Everything about 'infotainment' systems is a terrible idea, because integrating something that changes three to five times in the life of the vehicle is stupid. In my mind
145.
▲
by
gregmac
3y ago
Pulumi is an example that proves the exception: using a general purpose language, you create a declaration of desired state. Think of it like if you used a GPPL to emit HCL. You get the power of that language: loops, function calls, unit te
146.
▲
by
gregmac
3y ago
I agree with what you're saying, but this is a bad example: > Pick a server or a piece of enterprise software and go take a look at its logs. If it's doing anything interesting at all, it'll be full of errors. It's tr
147.
▲
by
gregmac
3y ago
> My concern here is ground water will have septic contamination, don't know if that's stupid or not. It's not just that, dug and shallow wells are also getting surface water run-off -- basically anything on the ground in
148.
▲
by
gregmac
3y ago
The test would be finding a spot where a witcher says there isn't water, and then drilling there. There's water almost everywhere in the ground -- the questions are is there enough of it to meet the need? is it usable (ie: not c
149.
▲
by
gregmac
3y ago
I didn't realize there was anyone that thought the box store $15 cables were actually good-enough? My understanding of them was (and assume still is) they sold two classes of cable: high-spec, brand-name "gold-plated", and do
150.
▲
by
gregmac
3y ago
Sorry I said unionfs but it's actually handled by mergerfs [1], and it's all automatic. There are a whole boatload of policies [2] to control writes. I use "existing path, least free space". Once a path is created, it ke
More ›