Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptspts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ptspts
1y ago
This is much safer: xargs -d '\n' rm -f --
32.
▲
by
ptspts
1y ago
Is there a high information density (small font size, little whitespace, thin window borders, no transparency) GNOME theme, ready for everyday use in Ubuntu? Combined with a similar Chrome theme and Firefox theme, it would be awesome.
33.
▲
by
ptspts
1y ago
> being a superset, the ability to seamlessly drop in and out of pure C within the same file is something no other language can do. C++ and Objective C++ can do it just as well. D and Zig have good C ABI integration.
34.
▲
by
ptspts
2y ago
Absolutely not true about the best programmers I know.
35.
▲
by
ptspts
2y ago
How much does Stripe and typical other providers charge?
36.
▲
by
ptspts
2y ago
fasm is indeed great. It has many features, it can do all the code size optimizations, it even knows the sizes of variables (e.g. `mov myvar, 5` depends on `myvar db 0` vs `myvar dw 0`). NASM and fasm syntax are quite similar. NASM supports
37.
▲
by
ptspts
2y ago
I do systems programming in i386 (32-bit) assembly language with NASM. For me it doesn't scale beyond a few dozen kilobytes (executable program file size) per program. For others (such as Chris Sawyer) assembly scales much better.
38.
▲
by
ptspts
2y ago
My https://github.com/pts/minilibc686 can do printf-hello-world on i386 in less than 1 KiB. write-hello-world is less than 170 bytes.
39.
▲
by
ptspts
2y ago
Shameless plug: write your program in C, get almost as little size overhead as in the Whirlwind turorial: https://github.com/pts/minilibc686 (libc, compiler, linker, settings)
40.
▲
by
ptspts
2y ago
From the computation point of view, it's possible. PostScript has integer arithmetic operations needed for x86 CPU emulation. It also has mutable byte strings, which are useful as emulated memory.
41.
▲
by
ptspts
2y ago
If you parse a serialized protobuf byte array without having a .proto file, you have no way to dustinguish a byte string field from a nested message field. Thus you have no way to know how deep your parser should go.
42.
▲
by
ptspts
2y ago
Is it possible to decline this update on the UI of an internet-connected Pixel 4a? Mine has already updated, and I'm wondering if I had a chance to say no.
43.
▲
by
ptspts
2y ago
This is a reference to the story of the novel The Name of the Rose by Umberto Eco.
44.
▲
by
ptspts
2y ago
Do you mean this song? > Der Hölle Rache kocht in meinem Herzen
45.
▲
by
ptspts
2y ago
What is the benefit of DOS over a Linux live CD, with wifi and notifications disabled?
46.
▲
by
ptspts
2y ago
Why would someone start this long run without enough funding secured for the whole length?
47.
▲
by
ptspts
2y ago
Aren't there GCC command-line flags to specify alignment assumptions?
48.
▲
by
ptspts
2y ago
For 32-bit x86 (i386 and i686), I've written a libc and a toolchain to.automate this: https://github.com/pts/minilibc686 . It can use mainstream free C compilers (GCC, Clang, OpenWatcom cc386, TinyCC and PCC) and
49.
▲
by
ptspts
2y ago
Then you have to bet carefully, to avoid winning by accident.
50.
▲
by
ptspts
2y ago
I typically turn this off. Many times it's too slow, and many times it hides local filenames, and I do want local filenames.
51.
▲
by
ptspts
2y ago
The correct spelling of the name of this mathematician is Pál Erdős. With international first name it is Paul Erdős.
52.
▲
by
ptspts
2y ago
The Zig toolchain can compile both Zig and C.
53.
▲
by
ptspts
2y ago
Python stdlib conveniently supports both byte strings and Unicode strings, even for regexps. Ther is no need to migrate to any other language.
54.
▲
by
ptspts
2y ago
What problem does it solve? How to use it? Do you have example commands? How is video data transferred between the client and the server? Would it be possible to connect with SSH to a Linux server, using SFTP with FUSE or Samba with port fo
55.
▲
by
ptspts
2y ago
It's still useful for the remaining 10%.
56.
▲
by
ptspts
2y ago
Shameless plug: printf(Hello, World!\n"); is possible with an executable size of 1008 bytes, including libc with output buffering: https://github.com/pts/minilibc686 Please note that a direct comparison would be a
57.
▲
by
ptspts
2y ago
TL;DR TL;DR They have been failing so far: they haven't caught a single sntelope.
58.
▲
by
ptspts
2y ago
In the article was expecting a screen capture video showing Copilot spilling secrets. Does it contain one?
59.
▲
by
ptspts
2y ago
My guess is that macOS on Hyper-V is faster.
60.
▲
by
ptspts
2y ago
After looking at your web page and your HN post for 1 minute each, I have no clue what your software is doig, where it is running, whether it is open source, how much a subscription costs etc. It's also confusing to me that the title s
More ›