Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
451.
▲
by
gregmac
5y ago
Aside from already having malware making this irrelevant, if you didn't just physically attach a new keyboard, the message about a new keyboard is also going to seem very suspicious.
452.
▲
by
gregmac
5y ago
> Something I wish they'd get to is looping support. It's unusual that you need a third party extension to do a for-loop. Out of curiosity, what do you need a for loop for? I've so far only created a single loop: it random
453.
▲
by
gregmac
5y ago
I don't see why you need context? > A device changing would be indistinguishable from one being removed and a new one going in. Or future "rubby duckies" could emulate a hub, and add multiple devices, all operating simulta
454.
▲
by
gregmac
5y ago
My point was if the class, VID or PID changes then treat it like a "new" device. If it presents subdevices or is suddenly a hub, those are new devices. You'd have to also detect PID/VID brute force attacks. Short of a cr
455.
▲
by
gregmac
5y ago
It seems like it wouldn't be a stretch to make a USB webcam that presented an "animated" infrared image -- would that defeat this fix? What I'd really like is the system to consider every new USB device untrusted, and re
456.
▲
by
gregmac
5y ago
I wanted to see what the history of this was, and found many more. The code in question was removed yesterday [1] with the commit message "v1.461: bug fixes". The password sha256 hash was df05611250593c4299da8b3216751552b5a690e44b
457.
▲
by
gregmac
5y ago
There are many use cases for accessing services local on the network that shouldn't need the 25-ton behemoth of a roll-your-own PKI ecosystem. I have a NAS, HomeAssistant, some random local-only IoT-type stuff, Plex, Pi-hole, and a han
458.
▲
by
gregmac
5y ago
> Create a self-signed root cert, The OP was specifically talking about a small business with no IT. I'd say it applies equally to a home. I'm sure there's some ways to manage all the non-domain-connected computers, phones
459.
▲
by
gregmac
5y ago
> Develop software that can fly the planes autonomously from strip to strip (I assume this is the really hard part, but I am under the impression that autonomous flying is a much easier problem than autonomous driving?). As a software de
460.
▲
by
gregmac
5y ago
I'm having as hard time imagining this situation. There's no expansion of the market possible? Potential customers never say no based on features? No reductions in cost possible? Nothing that would get existing customers to pay yo
461.
▲
by
gregmac
5y ago
Yep, that's why Instragram will never work, no one will ever steal user share from ICQ, and Myspace will be around forever.
462.
▲
by
gregmac
5y ago
Killer feature for me is the URI matching options. Each entry can have URIs, and each URI can match based on: Base Domain, Host, Starts With, Exact, or Regex. This simplified a bunch of things for me: * Dev deployments of an app, where I ha
463.
▲
by
gregmac
5y ago
> QA says: “it doesn’t work”. Dev says: “it must be working, all the tests pass”. I've never experienced this, and I'm kind of doubtful this is a true reaction. I guess maybe it could happen in a team that is totally dysfunctio
464.
▲
by
gregmac
5y ago
The is a big problem with Stack Overflow as well, which causes exactly the same issue. Questions answered 10 years ago have an accepted answer that was right at the time, but it's no longer the best answer. If a better answer was made
465.
▲
by
gregmac
5y ago
> You can’t use unit tests as justification for software being reliable; being battle tested in the real world is a much better indicator in practice. My point on unit tests to support a rewrite is that it can catch a lot of edge cases,
466.
▲
by
gregmac
5y ago
My thinking definitely aligns with yours on this: > if you're making significant changes to a unit of code anyway, clean it up or rewrite it; otherwise, make the smallest change necessary and leave it alone. If it ain't broke,
467.
▲
by
gregmac
5y ago
In the interest of keeping the comment small, I omitted a couple things: -p:Configuration=Release -p:DebuggerSupport=false FWIW, I did also try the following, but found they had basically no impact on output size: -p:TrimMod
468.
▲
by
gregmac
5y ago
> Nuclear power is “orders of magnitude more energy dense than any other known technology,” Waksman told National Defense. “That allows the possibility to provide resilient power for years and years, without needing to refuel. … Refuelin
469.
▲
by
gregmac
5y ago
I did this. Bought a LiftMaster 883LM button for mine, and soldered an extra wire to the actual pushbutton contact inside. This was cheap so I wasn't really worried about breaking it, plus it is much simpler (easier to solder) than the
470.
▲
by
gregmac
5y ago
Yep. One of the things I've been doing lately with some internal utility apps is building a small Windows exe (for Workstations where almost always the dotnet runtime is already installed), and a larger but self-contained binary for li
471.
▲
by
gregmac
5y ago
I spent the last couple hours reading this. It is heart-wrenching and infuriating. It is like the Stanford prison experiment on steroids, but with kids. My gut reaction is everyone involved, and everyone who knew even a single thing about t
472.
▲
by
gregmac
5y ago
For my big media volume, which had existed for around 10 years, I use snapraid. Because of several things: * I can mix disk sizes * I can add new disks over time as needed * If something dies, up to the entire server, I can just stick any d
473.
▲
by
gregmac
5y ago
I agree, though I wouldn't say it's the pace of development so much as the change in approach. .NET Standard made sense as a transition plan, but then was effectively abandoned. I understand that the focus went to .NET 5/6, b
474.
▲
by
gregmac
5y ago
I've also built a script that does this (copies custom amis to the 4 regions we operate in, if missing), and I bet thousands of others have written similar tools. Similarly, every cloudformation/terrform/etc config has a regi
475.
▲
by
gregmac
5y ago
No, they just need read and/or write access to ftp.bank.com, and the ability to redirect traffic from the victim's browser. As I understood, by initiating an FTP upload and redirecting the TLS-secured request to the FTP's dat
476.
▲
by
gregmac
5y ago
Neither does squashing though: you still can't tell if that line was introduced or modified. I've come across "fix indentation" or "fix typo" commits where a bug was introduced, like someone accidentally comitt
477.
▲
by
gregmac
5y ago
> Pair per view/pay per listen/pay per read seem a lot less popular in general for media There's lots of reasons for this. Spotify is $9.99/month. Average listener streams 25 hours of content [1], and the average song
478.
▲
by
gregmac
5y ago
> "Have I made the code shorter?" is a much easier question to answer than "Have I made the code easier to understand, modify and maintain?" This is something that comes with experience though, and I think a lot of pe
479.
▲
by
gregmac
5y ago
The ironic part of that is that often people will end up spending more on crappy stuff, as they end up buying several {thing} over the time period one more expensive one would have lasted. This is also an example of why it's expensiv
480.
▲
by
gregmac
5y ago
I used LastPass for a few years, but switched to bitwarden over a year ago. Mainly driven by the combination of price increases, no improvements (and possibly getting worse) at things like the auto-fill buttons conflicting or not working wi
More ›