Viewing profile — cosmos0072
cosmos0072
HN member- Joined
- Wed, May 08, 2024, 8:12 AM UTC
- HN karma
- 299
- Public activity
- 35 items
- HN profile
- View on Hacker News ↗
About cosmos0072
No profile information was provided.
Recent public activity
-
comment
Comment #48153349
Found: it's a sentence from 2020, and PG decided not to appeal (!?) Full story (in Italian) at https://www.wired.it/internet/web/2020/06/30/progetto-gutenb...
-
comment
Comment #48153300
From Italy, https://www.gutenberg.org/ gives a 404 error and https://gutenberg.org/ opens a very official-looking page stating "police notice. This site is under judicial seizure" …
-
comment
Comment #47404800
> I am not familiar with the Scheme ecosystem but see you are implementing a lot within your shell (http client, sqlite support) what is great. Yes. Initially, I wanted to integrat…
-
comment
Comment #47401856
Yes, they are similar at first glance. As I wrote: > If you know nushell, they will feel familiar as they are inspired by it - the implementation is fully independent, though. Look…
-
comment
Comment #47397844
First stable release appeared on HN one year ago: https://news.ycombinator.com/item?id=43061183 Thanks for all the feedback! Today, version 1.0.0 adds structured pipelines: a mecha…
- story
-
comment
Comment #47363052
Parents already have a lot of control on children' education. Examples: most children believe in the same religion as their parents, and can visit friends and places only if/when a…
-
comment
Comment #47362932
I am from EU, and contrary to age verification laws in general. My stance is that if somebody is a minor, his/her/their parents/tutors/legal guardian are responsible for what they …
-
comment
Comment #45675353
I need this *so* often that I programmed my shell to execute 'cd ..' every time I press KP/ i.e. '/' on the keypad, without having to hit Return. Other single-key bindings I use of…
-
comment
Comment #45519119
The math looks suspicious to me, or at least how it is presented. If, as stated, accessing one register requires ~0.3 ns and available registers sum up to ~2560 B, while accessing …
-
comment
Comment #45197212
For me it's more about "feeling" badly written code, as if it stinks and is unpleasant to look at, and conversely enjoying nicely written one, and seeing its elegance and beauty. E…
-
comment
Comment #44961116
> So, people who use native REPLs, what do you do with them? In my case, I use my interactive shell https://github.com/cosmos72/schemesh every day as login shell. You can look at i…
-
comment
Comment #44338443
I tried compiling https://github.com/panzi/ansi-img and running it inside the truecolor branch of twin, i.e. https://github.com/cosmos72/twin/tree/truecolor and it correctly displa…
-
comment
Comment #44296915
You can choose the font with `twin --hs=X11,font=X11FONTNAME` or `twin --hw=xft,font=TRUETYPEFONTNAME` I will have a look too, the terminal should not crash or stop being responsiv…
-
comment
Comment #44289927
If you mean the Unicode glyphs listed at https://en.m.wikipedia.org/wiki/Block_Elements they are supported - you just need a display driver that can render them. For example, `twin…
-
comment
Comment #44289727
Yep, I am well aware of the `;` vs `:` confusion in both 256 color and 24-bit color control sequences. Short of hand-coding "which terminal supports which variant" I do not know an…
-
comment
Comment #44288776
Author here :) I've been using Twin as my everyday terminal emulator and terminal multiplexer since ~2000, slowly adding features as my free time - and other interests - allowed. A…
-
comment
Comment #43604018
For optimal speed, you should move as much code as possible outside the closures. In particular, you should do the `switch op` at https://github.com/skx/simple-vm/blob/b3917aef0bd6…
-
comment
Comment #43600398
The core idea is simple: do a type analysis on each expression you want to "compile" to a closure, and instantiate the correct closure for each type combination. Here is a pseudoco…
-
comment
Comment #43596505
Compiling an expression to a tree of closures, and a list of statements to a slice of closures, is exactly how I optimized [gomacro]( https://github.com/cosmos72/gomacro ) my Go in…
-
comment
Comment #43126734
You mean a command or builtin `(` inside a traditional shell as bash or zsh? It would be quite limited: internal status would not persist between invocations, and it would only be …
-
comment
Comment #43076114
That's true. In shells, "test" and "[" are often used after "if", as for example if test -f "some_file" do_something fi if [ "$FOO" != "" ] do_something_else fi Schemesh does not h…
-
comment
Comment #43070082
[UPDATE] (shell-expr) is ready and kicking :) Now you can write (import (schemesh all)) (shell-expr (lisp-expression-writing-to-sh-fd-stdout)) | some-shell-command-and-args | (shel…
-
comment
Comment #43068994
Yes, that's definitely feasible. I am currently working on it, the macro will be named (shell-expr) and replace the current experimental (shell-test)
-
comment
Comment #43066742
Porting to a different Scheme implementation requires some effort: schemesh needs a good, bidirectional C FFI and an (eval) that allows any Scheme form, including definitions. For …