Hacker Newsnew | past | comments | ask | show | jobs | submit | luv2code's commentslogin

and sleep.


Will you send me an invite to tildes?


This tmux config turns F12 into a button to toggle the local leader key. You remote into tmux and hit F12, and now your leader key gets sent to the remote tmux instead of the local.

I don't use tmux locally anymore; but I still use the same leader key as tmux in wezterm, and I have a wezterm script to toggle it with F12 just like tmux.

Maybe you'll like it too?

  bind -T root F12  \
    set prefix None \;\
    set key-table off \;\
    set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\
    set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\
    if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
    refresh-client -S \;\

  bind -T off F12 \
    set -u prefix \;\
    set -u key-table \;\
    set -u status-style \;\
    set -u window-status-current-style \;\
    set -u window-status-current-format \;\
    refresh-client -S


Check out https://typst.app/ if you're looking to write a book yourself.

https://hypermedia.systems/ was written with it.


edit: the github page directly includes an example of PDF output, so maybe the site is just out of date.

----

I'm a bit confused; the site claims HTML and PDF outputs are "Coming soon"

what export formats are supported? HTML and PDF seem very significant to me, and are how I'd likely share most documents with non-tech inclined people.


I started using it a few days ago, but I've been under the impression that PDF has been possible in Typst since mid-2023 at least.

As of 0.4.0, Typst supports PDF, SVG and PNG outputs. The Typst team seem to be rapidly adding features, but I don't think HTML support is coming soon.


There is currently work done to support basic HTML support. PDF is supported since day one of the public release in march 2023 (before v0.1). The roadmap mentions tagged PDF which is mainly needed for accessibility.


Browsing this website gives me the urge to poop for some reason.


All You Need Is Kill is a great read. The movie, Edge Of Tomorrow, was based on this book.


You should give cinnamon a try. I think you would prefer it over gnome.


I actually use Linux Mint for this reason - Cinnamon is just awesome (except the random crashes every once in a while)

Docking support is great, but sound output needs to be swapped manually sometimes.


Will Cinnamon be fast and responsive on an old laptop with a 2nd-gen Intel Core i5 processor and 4 GB of RAM? And how is the support for NVidia GPUs?


check out chromebrew https://skycocker.github.io/chromebrew/ It's a package manager for chrome os (requires dev mode). It's intel cpu only though; but it has a lot of the dev packages you need.


Since debugging is over a TCP connection, you only have to start the nodejs process with the debug flag, and then plug the address and port into whatever debugger you're trying to use.


Also, visual studio community edition is free[1] can debug nodejs with an extension[2]. And the capability is integrated into VS Code[3] which works cross-platform.

Those and webstorm/intellij are the ones I have experience with. But most of the time, I just use the CLI debugger -- it's not hard.

[1] https://www.visualstudio.com/en-us/products/visual-studio-co...

[2] https://github.com/Microsoft/nodejstools

[3] https://code.visualstudio.com/


Which CLI debugger are you talking about? I thought one didn't exist


It has a built-in debugger that you start using `node debug /path/to/script`. See more here: https://nodejs.org/api/debugger.html


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: