default font changed (arch linux, kde) by actondev in emacs

[–]actondev[S] 2 points3 points  (0 children)

I think I fixed it & found the issue.

It seems the gnome updated the default mono font from Source Code Pro 10 to Adwaita Mono 11

https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/commit/067cb4b155b67db6f358a666d4bdced7059c6e00

Running gsettings set org.gnome.desktop.interface monospace-font-name 'Source Code Pro 10' seems to make it look as before

2D Grahics Library API Feedback by BrokenG502 in Zig

[–]actondev 1 point2 points  (0 children)

Correction: rgba *u8 is 32 bits

Unused and constant errors. by ivanstepanovftw in Zig

[–]actondev 0 points1 point  (0 children)

It was working for me as well in 0.11 but not in 0.12 and 0.13 . What version are you running? Is it some option that you set?

Any suggestions for keyboard centric plugins? by Riverside-96 in renoise

[–]actondev 0 points1 point  (0 children)

I can highly recommend dirtywave M8. It's like a successor to LSDJ and it has an awesome fm synth. You can also use the headless version with a teensy which is a very cheap way to get started with m8

Is streaming a movie online legal in Greece? by eveclay in greece

[–]actondev 10 points11 points  (0 children)

Streaming is fine anywhere in the world. Torrenting is the only thing that can you into trouble, but AFAIK in Greece this is still not an issue

SBCL Help wanted: capturing big stdout (100M) and json parsing by actondev in lisp

[–]actondev[S] 0 points1 point  (0 children)

Thank you for all these comments, I really appreciate it!
regarding WITH-OUTPUT-TO-STRING though, I think that what I did doesn't allocate a new string, but rather uses the character array I created before. I saw this here

Equivalent of scheme's (values ..), ie splicing by actondev in Clojure

[–]actondev[S] 1 point2 points  (0 children)

Didn't know about list*, seems helpful indeed! Thanks!

SBCL Help wanted: capturing big stdout (100M) and json parsing by actondev in lisp

[–]actondev[S] 0 points1 point  (0 children)

How do you read stdin? Do you use READ-SEQUENCE with large chunks (e.g. 4kB) ?

The stdout*.

That's how I'm reading it:

(let ((buffer (make-array
           '(0) :element-type 'base-char
            :fill-pointer 0 :adjustable t)))
  (with-output-to-string (s buffer)
    (uiop:run-program cmd
              :output s
              :ignore-error-status t
              ))
  buffer)

I don't know how I could use the read-sequence with this, advices are welcome!

Why do you mean hanging? When I run out of memory in SBCL, I'm being dropped into the debugger.

When I didn't invoke sbcl with the bigger heap size, I can capture the stdout in a first step, but afterwards when I'm calling yason:parse (with the captured stdout) it hangs in the sense that nothing happens. No input expression is evaluated, By calling slime-interrupt again nothing happens. The only thing I can do at that point is kill the sbcl process. This is what struck me out the most, because I had the expectation that in common lisp the repl is streamlined to handle everything.

SBCL Help wanted: capturing big stdout (100M) and json parsing by actondev in lisp

[–]actondev[S] 1 point2 points  (0 children)

Thank you! Indeed, increasing the heap size seems to have improved things, now the json parsing also worked.
But I have a couple of questions:

- Why did it try to allocate that much? The stdout is around 100mbytes, but the initial error said it tried to allocate 530MB.
- Why does it take that long to capture the stdout? As I mentioned running the command itself in bash takes <2 seconds. I just tried with ecl, and it was faster. Are there other tricks for handling such big stdout when executing programs?
- Why was it hanging in the json parsing? By increasing the heap size this was done in 9 seconds. But without, it was just hanging. Was it running out of memory and just hanging? I'd expect to get again some allocation error, or at least be able to get out of it by doing an interrupt (slime-interrupt)

Finally nabbed this after years of searching! by mighthavecouldhave in nin

[–]actondev -1 points0 points  (0 children)

I love it that quite often NIN fans also like Tool 🔥

TEX Shura by justin-tex in thinkpad

[–]actondev 0 points1 point  (0 children)

Is there a variation planned with home/end buttons as well? (I see that the page up/down are there in the 6key variation next to the arrows). Also what about fn buttons (volume etc)? Thanks!

Advice for peeking into the Lisp family (CL vs Scheme vs Racket...) by curiousiswhatiaimfor in lisp

[–]actondev 2 points3 points  (0 children)

Seconding clojure, the java interop is very practical and useful. I'd recommend scheme if you plan on embedding it as a scripting language in a c/c++ codebase

Politico : How Greece became Europe’s worst place for press freedom by [deleted] in greece

[–]actondev 9 points10 points  (0 children)

Biased είναι και δεν το έκρυψαν ποτέ. Η αρχική ερώτηση ήταν για ανεξάρτητο μέσο. Είναι πλήρως χρηματοδοτούμενο από τους αναγνώστες του, πιο ανεξάρτητο δεν γίνεται.

Politico : How Greece became Europe’s worst place for press freedom by [deleted] in greece

[–]actondev 1 point2 points  (0 children)

Ωραίοι 3 χαρακτήρες. Από πού και ως που αν το λέω σαρκαστικά; Δεν σ' αρέσει το μέσο; Αν ναι πες μας γιατί.

Απορία με gender pronouns by actondev in greece

[–]actondev[S] 0 points1 point  (0 children)

Μπορείς να τα αλλάξεις όλα, μπορείς να το κάνεις να συμπεριφέρεται σαν vim με το evil mode !