Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tom_alexander
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
tom_alexander
6mo ago
> any competently set up shell PS1 will tell you that I certainly hope your shell is not running `git` commands automatically for you. If so, that is a RCE vulnerability since you could extract a tarball/zip that you don't expe
32.
▲
by
tom_alexander
6mo ago
Oh neat, thanks! I (clearly) did not know that command.
33.
▲
by
tom_alexander
6mo ago
If you don't run checkout on file paths, how do you undo changes to specific files that you haven't committed yet? Like you've edited but not committed <foo>, <bar>, and <baz>. You realize your edits to <
34.
▲
by
tom_alexander
6mo ago
< glances around at all the people telling me to never use `jj edit` >
35.
▲
by
tom_alexander
6mo ago
ooo that will be a nice improvement. So many times I've run `jj status`, then saw a file I wanted gitignored, so I'll edit my gitignore, but the file has already been added to the repo so I have to `mv <file> /tmp/
36.
▲
by
tom_alexander
6mo ago
Ah, thanks! That's a command I haven't learned yet, so I'll have to check it out. I learned jj from the tutorial that was posted and I don't think it covered `jj commit` at all.
37.
▲
by
tom_alexander
6mo ago
That avoids the problem for the specific workflow of checking out an old revision (and it was what I was describing with checking out a new branch off the old commit and adding a blank commit to that branch), but another way this design bit
38.
▲
by
tom_alexander
6mo ago
Yeah, that's a very real possibility. On the bright side, jj is git-compatible so at least the two camps can live together in harmony.
39.
▲
by
tom_alexander
6mo ago
I'm giving jj a try but one aspect of it I dislike is edits to files are automatically committed, so you need to defensively create empty new commits for your changes. As in, want to browse the repo from a commit 2 weeks ago? Well if y
40.
▲
by
tom_alexander
6mo ago
Induction is also faster to boil water, easier to clean since it's just flat glass, and safer since an induction stove without a pot/pan stays room temperature (in fact, they usually can detect if a pot/pan is present and aut
41.
▲
by
tom_alexander
6mo ago
As an alternative, you could get a stand-alone USB-C power meter which can be used with any cable. That way, when the cable breaks, you don't have to buy a new power meter. Here is an example of one such product (though I've never
42.
▲
by
tom_alexander
6mo ago
These two statements aren't mutually exclusive. The link is looking at the analog signal through an oscilloscope. The person you replied to is pointing out that after decoding and applying error correction, you can still end up with th
43.
▲
by
tom_alexander
6mo ago
> Probably fun for those who already bought DDR5 memory Nah, those of us who already bought DDR5 memory also already bought decent CPUs. Dropping another $1k for these incremental gains would be silly. It'd make a lot more sense if
44.
▲
by
tom_alexander
6mo ago
Outlook is a business exclusive these days?! Outlook used to be included in the most basic version of office back when I still used microsoft office.
45.
▲
by
tom_alexander
6mo ago
In the US, social security is based on the 35 highest paying years. If that system is good enough for social security, I don't see why we don't do the same for government pensions.
46.
▲
by
tom_alexander
6mo ago
Oh wow. That's a lot of compromised accounts. Guess I was wrong about it not being an attack.
47.
▲
by
tom_alexander
6mo ago
Only tangentially related: Is there some joke/meme I'm not aware of? The github comment thread is flooded with identical comments like "Thanks, that helped!", "Thanks for the tip!", and "This was the answe
48.
▲
by
tom_alexander
6mo ago
> I didn't switch from ag, [...] rg using implicit '.ignore' file (a super-generic name instead of a proper tool-specific config) The ".ignore" name was actually suggested by the author of ag (whereas the author
49.
▲
by
tom_alexander
6mo ago
My favorite: For one day all the Microsoft Zunes froze for the entire day, only to recover on their own 24 hours later when the infinite loop in their leap year code had finally resolved: https://web.archive.org/web/200
50.
▲
by
tom_alexander
8mo ago
> it seems like there's no standard reporting of charge level over the wire Isn't that the "Battery_Status" message in the USB PD spec? Page 152 in this pdf: https://e2e.ti.com/cfs-file/__key/
51.
▲
by
tom_alexander
10mo ago
To be fair, GCC's design was motivated by the same thing as the license. They intentionally didn't modularize GCC so that it couldn't be used by non-free code. > Anything that makes it easier to use GCC back ends without G
52.
▲
by
tom_alexander
10mo ago
> Why does there seem to be much more market for NAS than for direct attached external HDD? I can access my NAS from anywhere in the world, but you can only access your direct-attached drives when sitting at your desk. I can hide my NAS
53.
▲
by
tom_alexander
10mo ago
> not enough v4 IPs No one is giving their IoT devices public IPv4 addresses. They would be behind a NAT. RFC 1918 provides 17,891,322 usable IP addresses for each private network. If we want to be a little more adventurous, RFC 6598 pro
54.
▲
by
tom_alexander
10mo ago
Could you be more specific on how to circumvent the android permission model + sandbox? So far I have only thought of two ways an XZ-like backdoor could circumvent that: 1. By being baked into the OS itself, which is unavoidable since the O
55.
▲
by
tom_alexander
10mo ago
> untrusted I think the important distinction is _everything_ should be considered untrusted because even trustworthy software can become malicious. For example, the XZ Utils backdoor[0]. On Android, everything I run is subject to the pe
56.
▲
by
tom_alexander
10mo ago
What are those features? I've never used iMessage but my ultimate point is that iMessage isn't enabling bullying, it just happens to be the platform these kids are currently using. The same bullying tactics have been possible sinc
57.
▲
by
tom_alexander
10mo ago
> plus every participant has to migrate over I've been in plenty of MMS group chats where we've had to create a new group to add or remove someone (for non-bullying reasons) and it has always gone smoothly without issue. SMS&#x
58.
▲
by
tom_alexander
10mo ago
It's the same thing. Just like how a "cash discount" is the same thing as a "credit card surcharge", the end result is the same regardless of how you word it. Simply stop using the first group. You can even be expli
59.
▲
by
tom_alexander
10mo ago
> create groups, name them, invite and kick out other kids at will, and send messages + audio/video. All of that has been (and still is) available on everyone's phones since the dawn of time except for "name them": h
60.
▲
by
tom_alexander
10mo ago
> obviously needs to be a PDF I've been making my reports in self-contained HTML files[0] and it works out so much better than PDF. It is not constrained by paper sizes, and it lets me add some nifty features. For example, I recentl
More ›