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

If anyone wants to try this without the intricate setup, if you have a linux system, you most probably can just press Ctrl+Alt+F3 and drop into a tty console directly. To return, you have to press Ctrl+Alt+F1 or Ctrl+Alt+F2. You also have multiple consoles, up until F12 probably.

I used to use this a lot when trying for a less distracting desktop, just like in the original post.


Yes, and if you want it to boot directly into a tty mode run: sudo systemctl set-default multi-user.target

As an aside: on some of my computers it is Ctrl+Alt+F2 but on others it is Ctrl+Alt+F7 to return to graphical mode.


I'm a proverbial greybeard and Ctrl+Alt+F7 used to just be what you did to get back to your desktop GUI.

FWIW, right now I'm typing this from Ubuntu Studio 24.04 and it's Ctrl+Alt+F2 to get back to the GUI. Ctrl+Alt+F1 shows you the bootup output scroll, +F3 to +F6 will give you a login prompt to drop into a shell. +F7 to +F12 just give me a blinking cursor un the upper right corner of the display.

I'm kinda surprised only +F3 to +F6 give me a shell login. Three isn't that many.


I think Ctrl+Alt+F1-F7 are Kernel provided Virtual Console things, and technically they can be connected to different things, I think like VC 5 -> /dev/tty5 -> a thread in /sbin/getty? The VC 7 used to be often opened up for X, but Ubuntu moved X to VC 1 at some point. I guess it's VC 2 now.

I do think it might be a more recent change related to a)gnome display manager, and b)systemd.

Maybe this have changed over the years, and I rarely if ever used these combinations to switch to TTY except for emergency (OOM, or window manager breakage), but on every Linux system I ever used, graphical mode was on (Ctrl+Alt+)F7.

Using CachyOS right now, gdm/mutter/gnome ended up on Ctrl+Alt+F1, I can't remember if it was crunchbang or some other older distribution, but been others too using various numbers. I agree F7 is most common though.

I even added this as an option in my Grub menu.

even worse! you can start a Emacs client evaluate (menu-bar-mode -1) and (tool-bar-mode -1) and put it on full screen

you missed the fbcon thing

Doesn't llama.cpp (or similar) have to evict the kv cache for this, so that performance is degraded when running multiple sessions? Or how do you load a model in memory and then use it in multiple sessions? I am still learning this stuff


The model is loaded once and can be used for multiple sessions, and even parallel requests.

llama.cpp uses a unified KV cache that is shared between requests (be they happening in parallel or not). As new requests come in, they'll evict no longer referenced branches, then move to evict the least recently used entry, and so on.

If you come back to a session that's been evicted it will just be parsed again. This is a problem only on very long context sessions, but it can still be a problem to you.

So one way to reduce such evictions (and reduce KV cache size significantly as a bonus) is to reduce the number of kv cache checkpoints.

Checkpoints allow you to branch a session at any point and not have to recompute it from the start. If you find that you rarely branch a conversation, or if you rely entirely on a coding harness, then setting ctx-checkpoints to 0 or 1 will save tons of VRAM and allow more different sessions to stay in VRAM. This is especially true for models with very large checkpoints (such as Gemma 4).


There are so many flags to llama.ccp that I won't try to say anything too strong, but I believe things related to `--kv-offload` mean you can have the KV cache in GPU VRAM, regular GPU RAM, paged to disk, etc...

I'm on a Mac with unified memory, so I can't easily benchmark it for you, but I think a PC with 64GB of regular RAM and a 24GB gaming card could swap between multiple sessions without too much pain. The weights could stay resident on the GPU.

On the other hand, I did just dump some Project Gutenberg texts into a prompt, and building that cache in the first place was slower than I though it would be.


How do you use `pi` to ssh? I use `oh-my-pi`, and tried the `/ssh` command, but I couldn't get it to work. Then I saw a suggestion somewhere to just run `!ssh` to place things into the agent's context.

Is there a way to use it like "The current directory is at `ssh server`" and have the agent work from there?


I am very out of the loop. What is wrong with TP Link? What are the risks with it?


Chinese spyware.

https://www.reddit.com/r/msp/comments/1pxe1zc/tplink_ban_pro...

https://www.pcmag.com/news/facing-router-ban-tp-link-tells-f...

https://www.nytimes.com/wirecutter/reviews/foreign-made-wi-f...

Just search for "TP Link ban", you will see a lot of news. I switched to SonicWall + Ubiquiti + my own monitoring software to be safe. I should've done it years ago, but I was lazy.


This is about the newly release Qwen3.6. Just wanted to make sure you got that correctly.


Has anybody figured some of the best flags to compile llama.cpp for rocm? I'm using the framework desktop and the Vulkan backend, because it was easier to compile out of the box, but I feel there's large peformance gains on the table by swtiching to rocm. Not sure if installing with brew on ubuntu would be easier.


Not huge gains with rocm but you do get a little faster preprocessing speed


Or add your real name to photos of you stored in Google Photos.


If by the spirit, you only mean the bazaar model, then yes. But it's in the original spirit of free software. GNU preferred to keep the development somewhat contained, even so many years ago.


It's sticky on the web though:

https://www.instagram.com/?variant=following


This is really nice to know. I remember trying to compile pandoc to Wasm after finding out that ghc had Wasm support, hitting all kinds of problems and then realising that there was no real way to post an issue to Haskell's gitlab repo without being pre-approved.

I guess now with LLMs, this makes more sense than ever, but it was a frustrating experience.


> no real way to post an issue to Haskell's gitlab repo without being pre-approved.

This is so on brand for Haskell people I love it.


Really, why? What do you mean? The reason for manual approval of accounts was to defeat spammers.


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

Search: