Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Pete_D
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
Pete_D
7y ago
Suppose someone still had a box or two of old Amiga floppies but no old hardware - what is the easiest way in 2019 to turn them into .adfs?
62.
▲
by
Pete_D
7y ago
I would take this deal for 1X my salary. Hell, I'd even take a pay cut for the opportunity. - Escaping surveillance capitalism, facial recognition, pointless IoT, telemetry - Assuming I get to work in the same industry, the opportunity
63.
▲
by
Pete_D
7y ago
Lately, I've been seeing fancy expensive milk with a slight yellow tint on the shelves. Different type of cow, apparently. https://en.wikipedia.org/wiki/Guernsey_cattle
64.
▲
by
Pete_D
7y ago
You have sort of reinvented Nomic. I've not seen it applied to moderation before, but it'd definitely be interesting. https://en.wikipedia.org/wiki/Nomic
65.
▲
Charcoal
(craigmod.com)
2 points
by
Pete_D
7y ago
|
0 comments
66.
▲
Fire Piston
(en.wikipedia.org)
2 points
by
Pete_D
7y ago
|
0 comments
67.
▲
by
Pete_D
7y ago
I saw the same sort of effect a few years ago when I was running some IRC bots. In addition to the usual dice, 8ball, etc. one of them would respond to queries with a random aphorism from a list I put together from Googling "wise quote
68.
▲
by
Pete_D
7y ago
The price tag probably also helps to discourage repeating too soon. Few things puncture the illusion of meaningfulness around a tarot reading, I Ching divination, etc. like rerolling until you get the answer you want.
69.
▲
by
Pete_D
7y ago
Arguably it does - if someone tells me they are going through their Saturn return, I know two things about them (going off banuguler's information): - they are around 30 years old - they feel like they are dealing with restrictions and
70.
▲
by
Pete_D
7y ago
Interestingly, star sign can be shown to correlate with some life outcomes. For example, here's a chart that shows that players in qualifying teams for certain youth soccer tourmanents are over twice as likely to be Aquarius than they
71.
▲
by
Pete_D
7y ago
> I've had to GC more than one repo where someone accidentally added an innocuous binary file My god, the things I've seen in repos. vim .swp files. Project documentation kept as Word documents and Excel spreadsheets. Stray cor
72.
▲
by
Pete_D
7y ago
> The time you spend in GA is just completely gone. It feels like you went through a time warp. I've heard this a lot, so I was surprised the one time I went under GA and it felt more or less like a normal dreamless night's sle
73.
▲
by
Pete_D
7y ago
> JSONx is an IBM® standard format to represent JSON as XML. https://www.ibm.com/support/knowledgecenter/SS9H2Y_7.5.0/com...
74.
▲
by
Pete_D
7y ago
I liked this video: https://www.youtube.com/watch?v=P719UYi6uRQ . It explains the structure of a particular type of Chinese poem, with translations of a couple of classics, and gives a good feel for the overall "flavour
75.
▲
by
Pete_D
7y ago
"alternative vote" is the term the UK ended up using for instant-runoff voting when it had a referendum a few years back. https://en.wikipedia.org/wiki/United_Kingdom_Alternative_Vot...
76.
▲
by
Pete_D
7y ago
xterm in autumn thick red and amber carpet - unit test results.
77.
▲
by
Pete_D
7y ago
Fair enough, another commenter already gave 2mg/kg, but I should have quoted it too really. Edited with more detail.
78.
▲
by
Pete_D
7y ago
Looks complicated. https://en.wikipedia.org/wiki/Allometry#Drug_dose_scaling
79.
▲
by
Pete_D
7y ago
Study says: "... we modeled PCE by administering THC (2 mg per kg, subcutaneously (s.c.) once daily) to rat dams during pregnancy (from gestational day (GD) 5 until GD20). This low THC dose does not recapitulate behavioral responses in
80.
▲
by
Pete_D
7y ago
The syntax isn't as nice as YARA's, but you can extend file's capabilities if you need by writing a custom magic file - see 'man 5 magic'.
81.
▲
by
Pete_D
7y ago
2004, a perl script pizza_party is published allowing to buy pizza from the command line. I think it was even in some distros' package managers for a while. Slashdot discussion: https://entertainment.slashdot.org/story&
82.
▲
by
Pete_D
7y ago
If my reading is right, it filters out any with a leading null-byte before writing back out. My guess is that that is how they implemented unlink/rm - just write zeroes over the entry. As for the sys write: my current hypothesis is tha
83.
▲
by
Pete_D
7y ago
After staring at the listing for a while, I think it is a kind of garbage collector for removing unlinked files from directory listings ("pack directory"?). As best as I can work out, the code does: open .. loop
84.
▲
by
Pete_D
7y ago
dir appears to be copied into from tbuf at some point. It puts dir-1 into memory location 8 at the start, and then the code around the 2: section I'm pretty sure is a memcpy-ish loop like: c1 = -8; *9 = tbuf - 1; do {
85.
▲
by
Pete_D
7y ago
> Maybe ‘pd’ is something like ‘prepare directory’, constructing the dd/dotdot entry. I think this is on the right track - it looks like the write call is to the newly created .., with df being used to hold the file descriptor.
86.
▲
by
Pete_D
7y ago
CentOS 6 lives on in enterprise, unfortunately. (don't know exact OpenSSH version but didn't support -J when I checked earlier)
87.
▲
by
Pete_D
7y ago
This looks like fun. It'd be really nice if there was an option to just type the commands in instead of using the GUI, though I guess that would defeat the purpose a bit.
88.
▲
by
Pete_D
7y ago
> Now someone get on making Monkey Island 3 please. They already did, or am I misunderstanding? https://en.wikipedia.org/wiki/The_Curse_of_Monkey_Island
89.
▲
by
Pete_D
7y ago
Here's a reason I heard once. I've never heard anyone else mention it, so it's probably BS, maybe a lawyer or accountant can confirm or deny. Developing new features is classed as "productive" or "R&D"
90.
▲
by
Pete_D
7y ago
> unix wizards will tell me a better way of doing this Great story. I won't claim to be a wizard, but here's mine: grep -Eo "mailto:[^\"']*" webpage.html | sed 's/^mailto://' |
More ›