Viewing profile — tzot
tzot
HN member- Joined
- Sun, Jun 14, 2020, 11:38 AM UTC
- HN karma
- 274
- Public activity
- 169 items
- HN profile
- View on Hacker News ↗
About tzot
Recent public activity
-
comment
Comment #49143022
I remember SQLWindows of Gupta Technologies (later renamed to Team Developer of Centura Technologies IIRC) which had an outline IDE. Quoting from https://yagnipedia.com/wiki/sqlwin…
-
comment
Comment #49117091
And corporate UX/Design teams are eager to modernize those cards; yes they're already flat, but canary yellow is so last century and some glass effects or abolishing the rounded co…
-
comment
Comment #49059188
Do you have a real-world example where we would like to preserve `$?` after the `if` (which `if` specifically branches on the result code of the command it tests)? Where we want to…
-
comment
Comment #49056476
I believe you missed a semicolon after `exit 1` and before `}`. `}` closes the opening `{` only at the start of a command (POSIX rules; don't remember now if bash recognizes it whe…
-
comment
Comment #48945879
Commodore 64 was quite popular in Europe too, but I believe more successful was the Sinclair Spectrum (and some copycats behind the iron curtain). In my case, too, it was the Specc…
-
comment
Comment #48933530
Exactly. In cases where I expect long-running parallel connections from separate processes to the same sqlite file, I make sure that all read transactions do `BEGIN DEFERRED` so `C…
-
comment
Comment #48933459
> I once had to clean up a project where some code had accidentally been writing the strings '1' and '0' to a column which was intended to store booleans (1 and 0). That was not a …
-
comment
Comment #48562515
I would use HTTP/1.0 without a need for Connection: close. Unless 1.0 is not generally supported anymore, but this is not the case in my experience.
-
comment
Comment #48363939
The debate is if 2000 is the first year of the 21st century or the last year of the 20th century. (btw I agree with the latter)
-
comment
Comment #48093949
You say all wrong and then go on about explaining I'm half wrong. I feel there's a pattern (or maybe another joke that whooshed over my head) here but it is obvious to me that I am…
-
comment
Comment #48082812
I see that and I raise Elastic Tabstops! https://nick-gravgaard.com/elastic-tabstops/
-
comment
Comment #48082804
> > If I were to make my own programming language, it would look an awful lot like Python. > I agree, Python allows anyone to write bad code, but makes up for it by running the cod…
-
comment
Comment #48011101
I blame font keming for that.
-
comment
Comment #47667402
Oh, yeah! And I believe there are not many games which have Linux, Windows and MacOS versions allowing interplay. Several years ago we had one or two LAN parties with hardware runn…
-
comment
Comment #47580623
I tried this variant of JetBrains Mono and it had the perfect glyph width (reportedly -6%) for my screen and window sizes: NRK Mono Condensed from https://github.com/N-R-K/NRK-Mono…
-
comment
Comment #47540955
Well, we can use memoryview for the dict generation avoiding creation of string objects until the time for the output: import re, operator def count_words(filename): with open(file…
-
comment
Comment #47535178
For the most simple case of a single job, I use the job number (`[1]` in the example) with %-notation for the background jobs in kill (which is typically a shell builtin): $ cat ^Z…
-
comment
Comment #47535065
On scripts that might handle filenames with spaces, I include: IFS=' '' ' Hint: the spaces between the first two apostrophes are actually one . This does not affect the already wri…
-
comment
Comment #47534891
> # f2 is ^[OQ; to double check, run `xargs` and then press f2 I remember using `cat -v` before learning that `xargs` exists… or maybe before `xargs` actually existed on systems I …
-
comment
Comment #47351691
Maybe you understood image as in photo-image instead of image as in memory-image (like disk-image); a glorified memory dump, more-or-less.
-
comment
Comment #47292666
I had this issue too, so I remapped Ctrl-W/Shift-Ctrl-W to Ctrl-\/Shift-Ctrl-\ . (Also git operations became two-key sequences, starting with Ctrl-G and that damn Ctrl-K stopped be…
-
comment
Comment #47183877
An implementation from zero of a Python 3.12 VM using x86-64 assembly.
- story
-
comment
Comment #46682232
I always have been using em-dashes with specific spacing: 1. replacing parentheses —given that the em-dash in pairs for me mark more-relevant-to-the-main content than a parenthesiz…
-
comment
Comment #46489907
And some time later, someone shouts “72!” Everyone chuckles except from the one in the corner cell, who laughs so loud and for so long people think he'll have a heart attack. When …