Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptspts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
121.
▲
by
ptspts
5y ago
Is it easy to dig down to the core, apart from the temperature issues?
122.
▲
by
ptspts
5y ago
It is proven that Turing machines can recognize a wider class of languages than Chomsky regular expressions. However, the article uses something more powerful than Chomsky regular expressions, because they contain backreferences (as \2 and
123.
▲
by
ptspts
5y ago
Even though it's US-centric, it's still easy to do correctly for most non-US English speakers, even for non-natives.
124.
▲
by
ptspts
5y ago
Is there any case where a shutdown() right before a close() makes a difference?
125.
▲
by
ptspts
5y ago
As a user, when I write a search query as a space-separated list of n words, I expect to see documents which contain all of those words (or synonyms). I absolutely don't want to see documents which contain only n-1 of the specified w
126.
▲
by
ptspts
5y ago
Shameless plug: local file tagging software for Linux, which stores tags in extended attributes: https://github.com/pts/ppfiletagger
127.
▲
by
ptspts
5y ago
A possible outcome of this regulation: all Android and iOS payments get disabled in South Korea, paid apps become unavailable.
128.
▲
by
ptspts
5y ago
Why not use the LORR to extend the distance?
129.
▲
by
ptspts
5y ago
For thousands of arguments this sloution is much slower (high CPU usage) than xargs, because either it implements the logic as a shell script (slow) or it runs an external program for each argument (slow).
130.
▲
by
ptspts
5y ago
USB storage tends to disconnect aftera few days on Linux (tested with various USB-powered and mains-powered HDDs), and the only way tho resume is physically disconnecting and reconnecting the device.
131.
▲
by
ptspts
5y ago
No need to use a .pac file for configuring site-based HTTP(S) proxy selection in modern browsers. I've just installed the FoxyProxy extension (works in Chrome and Firefox), and I was able to specify regexps for the URL, and select the
132.
▲
by
ptspts
5y ago
Wrap the script with:if :; ...; fi; exit
133.
▲
by
ptspts
5y ago
This doesn't work if $0 contains whitespace. Fix it by using "$0" instead.
134.
▲
by
ptspts
5y ago
Why is there a difference of goroutine leak behavior between channels with or without a length?
135.
▲
by
ptspts
6y ago
I've learnt Perl from the man pages. They are interesting and insightful.
136.
▲
by
ptspts
6y ago
This hypothesis is easy to test: disable uBlock temporarily for thaf site.
137.
▲
by
ptspts
6y ago
This page has a benchmark graph, but without labels on the axes, thus it doesn't even say which algorithm was faster. My guess is that smaller y values indicate proportionally faster executions.
138.
▲
by
ptspts
6y ago
In Switzerland a train transfer time of 3 minutes in the schedule is not unheard of. You can easily make it, the two trains involved stop on the opposite side of the same platform.
139.
▲
by
ptspts
6y ago
mtools, containing the mformat and mcopy tools.
140.
▲
by
ptspts
6y ago
Sealing the prediction it is not requirement. All predictions are public as soon as they are published. It is a requirement though that a predictor shouldn't be able to publish contradicting predictions without easily being caught.
141.
▲
How to publish an irrevocable prediction or pledge?
2 points
by
ptspts
6y ago
|
3 comments
142.
▲
by
ptspts
6y ago
Which hosting provider and product provides such free-tier cloud VMs?
143.
▲
by
ptspts
6y ago
112 MB is way overkill for a command-line tool which can issue a few commands over ssh. This should be a shell script shorter than 5 KiB.
144.
▲
by
ptspts
6y ago
Here is another tradeoff. Many PIV smartcards (such as YubiKey 4, if I'm not mistaken) are able to store only a single private key. With U2F (ecdsa-sk), the number of SSH keys is unlimited. Another tradeoff. Some users may be using a c
145.
▲
by
ptspts
6y ago
FYI Another client-side software dependency: libfido2 >=1.3.0. It doesn't work with libfido2 1.2.x or earlier. Also, if it doesn't work on your client system only because OpenSSH 8.2 was compiled without `configure --with-secu
146.
▲
by
ptspts
6y ago
I managed to make this work today as described in the article, after installing and configuring the software dependencies. Client-side hardware dependencies: * USB token with U2F (FIDO) support. FIDO2 is optional. Any old YubiKey or similar
147.
▲
by
ptspts
6y ago
A list of even more practical pieces of production code in Rust: https://wiki.mozilla.org/Oxidation#Shipped
148.
▲
by
ptspts
7y ago
p7zip, the portable version of 7-Zip works on Linux, macOS and other Unix systems as well. It also has a Debian package. Data recovery from that FAT32 filesystem would have worked identically in p7zip (and 7-Zip).
149.
▲
by
ptspts
7y ago
Your suggestion doesn't work on Linux: $ echo 'exit 42' >xprog $ chmod 755 xprog $ python -c 'import os; os.execv("./xprog", ["./xprog"])'; echo $? Traceback (most recent c
150.
▲
by
ptspts
7y ago
https://github.com/pts/pts-xtiny for creating similarly small i386 ELF executables from C source, without the usual libc overhead. hello_world.c compiles and links to ~200 bytes.
More ›