Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ptspts
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ptspts
15d ago
The HN title is incorrect. It should contain std::move.
2.
▲
by
ptspts
2mo ago
I have a regular Bash shell history with about 750 000 entries on an SSD on a modern laptop, and would take about 1 second for Bash to load 1 million entries. The startup delay and the memory usage is noticeable. Storing the shell command h
3.
▲
by
ptspts
2mo ago
As indicated in https://tangled.org/oppi.li/stinkpot/blob/cdf87ffcd36e96f3d4... , this software (stinkpot) still uses Bash PROMPT_COMMAND as an entry point to copy new shell history entries to its database. P
4.
▲
by
ptspts
3mo ago
In fact, it's possible to set up bind mounts without root on a modern Linux system, using a user namespace and a mount namespace.
5.
▲
by
ptspts
3mo ago
It does, so not 100% is reused. The patched parts are in different sections though, so the entire .text (code) section ends up being reused.
6.
▲
by
ptspts
5mo ago
I hate tiling window managers. After I start a program, I move and resize its window to the perfect position, and it stays there for weeks. I don't ever want it to be moved or resized automatically, which is what tiling window managers
7.
▲
by
ptspts
5mo ago
Does the new owner of the domain friendster.com also own the company, the patents and the other pieces of intellectual property? The article seemed to be unclear about this.
8.
▲
by
ptspts
5mo ago
Isn't creating a Docker image containing the right version of GCC or Clang a solution to the toolchain problem?
9.
▲
by
ptspts
6mo ago
Shameless self-promotion: I think I hold the record (83 bytes) for the shortest hello-world Linux ELF executable: https://github.com/pts/mininasm/blob/master/demo/hello/hello...
10.
▲
by
ptspts
6mo ago
GDSL is written in C++ with use of STL, templates and lambdas, so it's 2600 lines of such C++ source code. There is no self-hosting: neither the LISP compiler nor the C compiler can compile itself. No operating system is implemented, t
11.
▲
by
ptspts
8mo ago
It's possible to run WebAssembly programs from the command line (without any GUI) using WASI (see e.g. https://github.com/WebAssembly/WASI ). Thus if the user downloads pdfconverter.wasi , and the user already has
12.
▲
by
ptspts
8mo ago
Your commands to process PDF with Ghostscript are lossy (they lose lots of metadata and in minor ways they also change how the PDF renders), and they produce very large PDF files.
13.
▲
by
ptspts
8mo ago
It does exclude unused code. But glibc has too many inter-object-file dependencies, so too much code gets used.
14.
▲
by
ptspts
9mo ago
Neither the article nor the README explains how it works. How does it work? Which WASM euntime does it use? Does it use a Python jnterpreter compiled to WASM?
15.
▲
by
ptspts
9mo ago
As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
16.
▲
by
ptspts
9mo ago
What is the advantage of this circular implementation? Is it faster than the simple one? Does it use less memory? Is it easier to write? Is it easier to understand? I think all of the above is false, but I have a limited understanding of Ha
17.
▲
by
ptspts
10mo ago
Why is ELF so much slower and/or more memory hungry than a.out on Linux?
18.
▲
by
ptspts
10mo ago
Shameless plug: Some of my hobby projects written in C (e.g. https://github.com/pts/bakefat ) can be built reproducibly for Linux >=1.0 (1994), FreeBSD (same ELF executable program file as for Linux) and Win32 workin
19.
▲
by
ptspts
10mo ago
If a text-mode process monitor is larger than about 200 KiB, then it sounds bloated to me. If it's loaded with tons of features, then my upper limit is 1 MiB.
20.
▲
by
ptspts
1y ago
This video doesn't explain what the project does and how it does it. Also it's deliberately misleading the viewer, for example it purposefully incorrectly states that C++ is an interpreted language. Also the music is way is too lo
21.
▲
by
ptspts
1y ago
This should have been solved in the last 30 years on Linux console, X terminal emulators and through SSH.
22.
▲
by
ptspts
1y ago
The correct spelling is in lowercase: shared_ptr<T> . The title of the article is correct, the title of the HN post is incorrect.
23.
▲
by
ptspts
1y ago
How is Areal different from Arial? Neither the article nor https://are.al.are.na/ seem to be informative and focused on this.
24.
▲
by
ptspts
1y ago
I find this style overy verbose, disrepectful, offensive and dumb. (See example dialogue in the screenshot on the project page.) Fortunately, it's possible to change the prompt above.
25.
▲
by
ptspts
1y ago
Half of the source code is colored very-light-on-white, which is impossible to read. I'm using Chrome on Android.
26.
▲
by
ptspts
1y ago
Supporting arbitrary image formats and compression methods in the browser is easy: just ship the decoder as a WebAssembly function. (This is not any better solution than GIF or aPNG though for the problem in the article.)
27.
▲
by
ptspts
1y ago
Where are the benchmarks comparing hyperpb to other proto parsers?
28.
▲
by
ptspts
1y ago
The title of the post is misleading, because it is not revealed in the story how the backpack was actually lost. The short summary: ``I don't remember how I lost my backpack, because I was heavily intoxicated during those hours when I
29.
▲
by
ptspts
1y ago
The Str_to_double code in the article produces inaccurate results in the last few bits. (What is the use of parsing a double inaccurately?) Accurate parsing of a double is really tricky (and memory-hungry and slow). The strtod(3) function p
30.
▲
by
ptspts
1y ago
Isn't `gcc -O0` (for both C and C++) even slower than `clang -O0`?
More ›