Readit News logoReadit News
c-st commented on CLI tool to insert spacers when command output stops   github.com/samwho/spacer... · Posted by u/freetonik
dv_dt · a year ago
I would love a feature to scroll back to previous input lines, I don't think I ever found something that supports it (I haven't spent a lot of time searching for it admittedly)
c-st · a year ago
If I understood you right, some terminal emulators support this:

https://codeberg.org/dnkl/foot#jumping-between-prompts

c-st commented on When I got started I debugged using printf() today I debug with print()   twitter.com/fchollet/stat... · Posted by u/tosh
LegionMammal978 · 2 years ago
For me, the most annoying part about a debugger is that it always shows a snapshot at a single point in time, and the snapshot can only march forward. A good fraction of bugs in my code are ones that surface gradually or occasionally over a long sequence of operations. Stopping at the ultimate failure point is far too late, and breaking at every single iteration is far too tedious. But with a log of all the iterations, I can trace the error back to the initial point where the program no longer acts as expected.

That is, I very often find a narrow view of the program state over the whole computation to be more informative than a wide view of the program state at any particular moment in time.

c-st · 2 years ago
In some cases, GDB allows reverse execution of code:

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Rever...

c-st commented on Typst – Compose Papers Faster   typst.app/... · Posted by u/iNic
xvilka · 2 years ago
Is there something like TikZ for Typst?
c-st · 2 years ago
As per https://github.com/qjcg/awesome-typst#graphics there is CeTZ. Of course it is not as full-fledged as TikZ, but it works pretty well.
c-st commented on Zim – A Desktop Wiki   zim-wiki.org/... · Posted by u/martinlaz
account-5 · 4 years ago
Haha, this isn't very hacker news but I bought a usb stuck with a usb-c port on one side and a usb3 port on the other. Copy and paste.

No third party apps, just my version of sneaker-net.

c-st · 4 years ago
Great! Whatever gets your job done.
c-st commented on Zim – A Desktop Wiki   zim-wiki.org/... · Posted by u/martinlaz
csdvrx · 4 years ago
I wish it would eventually move to Markdown in a large version change, to open the door to direct-to-MD publishing
c-st · 4 years ago
Do you have by chance an idea how the rich-content plugins might work with markdown?

Tables could just be HTML, but stuff like Gnuplot diagrams or GraphViz graphs need to store their input data aswell as the actual rendered image.

c-st commented on Zim – A Desktop Wiki   zim-wiki.org/... · Posted by u/martinlaz
account-5 · 4 years ago
This is what I use for all my notes, and my tasks, and my schedule.

Amazing application. Comparable and better than everything I've seen on hacker news over the years.

My only complaint is no mobile client, though markor can generate a Zim-Wiki file.

c-st · 4 years ago
Thanks for mentioning markor, I was searching for something similar! How do you sync your notebook between your phone and your computer, if you don't mind me asking?
c-st commented on Zim – A Desktop Wiki   zim-wiki.org/... · Posted by u/martinlaz
c-st · 4 years ago
Back when I was searching for a good note-taking system, each and everyone of them had one feature that I wanted that was missing. Zim Wiki was the first system I decided to stick with, and after 4+ years I never gravely missed anything. However, if you don't like organizing your stuff hierarchically, your experience might differ. Also, I kinda dig the desktop-centric approach. It feels more like a real tool than just some kind of "app".

Because it's written in python it is comparatively easy to extend and through its integrated web server you can serve up your notes with a custom design in no time.

u/c-st

KarmaCake day77August 5, 2020View Original