Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jwilk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
541.
▲
by
jwilk
4y ago
> omitted the single character options of 'y' and 'Y' but it still has 'n' and 'N' 'n'/'N' were removed already in 2006: https://github.com/yaml/pyya
542.
▲
by
jwilk
4y ago
> Please just stop using PyYAML. Why?
543.
▲
by
jwilk
4y ago
> In Python, you can avoid this pitfall by using yaml.safe_load instead of yaml.load. It's harder to make this mistake in Python these days. yaml.load(input) has been depreacted since PyYAML 5.1 ( https://github.com/y
544.
▲
by
jwilk
4y ago
> yaml is a superset of json This is oft-repeated, but incorrect claim: https://news.ycombinator.com/item?id=30052633
545.
▲
by
jwilk
4y ago
See also: https://news.ycombinator.com/item?id=34202662 ("Compromised PyTorch-nightly dependency chain between December 25th – December 30", 11 days ago, 175 comments)
546.
▲
PyTorch and the PyPI Supply Chain
(lwn.net)
2 points
by
jwilk
4y ago
|
3 comments
547.
▲
by
jwilk
4y ago
The submission title was "Scott Aaronson weighs in on purported quantum factoring breakthrough", but it's been fixed.
548.
▲
Code execution through MIME-type association of Mono interpreter
(openwall.com)
2 points
by
jwilk
4y ago
|
0 comments
549.
▲
Welcome to 2023
(lwn.net)
2 points
by
jwilk
4y ago
|
0 comments
550.
▲
by
jwilk
4y ago
linux.die.net man pages are horribly outdated. Better links: https://github.com/jedsoft/most/raw/master/doc/most.txt https://www.man7.org/linux/man-pages/man1/lesskey.
551.
▲
by
jwilk
4y ago
This one? https://www.imdb.com/title/tt0105435/
552.
▲
by
jwilk
4y ago
Reported this, and a few more parsing bugs: https://github.com/pixie-io/pixie/issues/678
553.
▲
A library implementing C++'s custom literal suffixes using pure Python
(github.com)
2 points
by
jwilk
4y ago
|
0 comments
554.
▲
by
jwilk
4y ago
> one's a Mastodon instance and those are blank pages without JS Not all of them. Those still running Mastodon v3.5 (rather than v4.0) seem to work fine.
555.
▲
by
jwilk
4y ago
> https://mastodon.social/@lukedashjr@bitcoinhackers.org This just redirects me back to < https://bitcoinhackers.org/@lukedashjr >.
556.
▲
by
jwilk
4y ago
> The old format $[expression] is deprecated and will be removed in upcoming versions of bash.
557.
▲
by
jwilk
4y ago
Or, more simply, $((i + 1)). And it's not only bash; it's feature of POSIX shell.
558.
▲
by
jwilk
4y ago
> the vendor must acknowledge it as one or respond explaining why it is not. Huh? So what happens when they do neither?
559.
▲
by
jwilk
4y ago
You can redirect stdin, but that doesn't disassociate the process from the controlling terminal: $ tty /dev/pts/1 $ tty < /dev/null not a tty $ ps -q $$ -o tty= < /dev/null pts&#
560.
▲
by
jwilk
4y ago
> tty - Show the actual controlling terminal No, tty(1) prints the name of the terminal connected to stdin. This is not necessarily the same as the controlling terminal. > who - Show all the users logged in a controlling terminal This
561.
▲
by
jwilk
4y ago
Maybe "computo"?
562.
▲
by
jwilk
4y ago
"Und" made it sound even more ominous und more uncertain.
563.
▲
by
jwilk
4y ago
https://archive.today/EcN43
564.
▲
by
jwilk
4y ago
Example: $ cat spam.py import sys print(f'__name__ = {__name__!r}') for (name, mod) in sys.modules.items(): try: if 'spam' not in (mod.__file__ or ''): continue exc
565.
▲
by
jwilk
4y ago
https://archive.today/2GhX3 may work better.
566.
▲
by
jwilk
4y ago
Doesn't sound like a safe topic to discuss: https://twitter.com/__apf__/status/827964865012649984
567.
▲
Show HN: zygolophodon: CLI for reading Mastodon posts (no account needed)
(github.com)
7 points
by
jwilk
4y ago
|
0 comments
568.
▲
by
jwilk
4y ago
Your git commit message mentions PID reuse. Couldn't PID of a userspace process be reused by a kernel thread?
569.
▲
by
jwilk
4y ago
> Finally the maximum length of the "comm" name itself is 15 characters As pointed out in https://news.ycombinator.com/item?id=34098360 , and contrary to the proc(5) man page, this assumption is incorrect for
570.
▲
Wrapping Up 2022
(lwn.net)
3 points
by
jwilk
4y ago
|
0 comments
More ›