tru1ock's comments

tru1ock | 2 years ago | on: Linux interop is maturing fast thanks to a games console

https://www.freedesktop.org/wiki/Software/systemd/multiseat/

I did not follow a specific guide but the setup is relatively simple. The commands I list below is all you need to set it up.

To view existing seats:

  ~ loginctl list-seats
To show assigned hardware for a specific seat:

  ~ loginctl seat-status seat0
Initially there will one seat. To create a new seat just attach some hardware to it.

Lets reassign a usb port to a new seat:

  ~ sudo loginctl attach seat-1 /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb3
Lets reassign a sound card to seat 1 instead:

  ~ sudo loginctl attach seat-1 /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.1/sound/card2
You will typically do this for a screen card, sound card and some USB ports and then you will have another seat available.

If you want to reset run:

  ~ sudo loginctl flush-devices
Some gotchas:

Seats and users are two different concepts. You can log in on any seat with any user but then you should not log into the other seats with the same user. That generally causes issues for me but is fixed with a reboot.

Use GPU's that run on the same driver.

tru1ock | 2 years ago | on: Linux interop is maturing fast thanks to a games console

I bought a modest gaming rig in 2016 and used systemd/loginctl to convert it into a multiseat setup. One seat for myself and one for the rest of the family.

The amount of value I got so far from this setup is unbelievable. Part of that is proton taking off and giving me and my kids access to most games on steam.

Very grateful to all involved that made it possible.

Still running ubuntu that have just been upgraded over the years on it.

tru1ock | 2 years ago | on: Epic Games is laying off 16% of its staff

I would have used it in its current state, even if it was worse if they did not resort to shitty business decisions. They directly stole titles away from me that I was playing on linux through steam. They can crash and burn for all I care now.

tru1ock | 2 years ago | on: Sal Khan: How AI could save (not destroy) education [video]

And why are they not doing the exercises? Are they lazy? The moment a significant percentage of learners are alienated by the system then there is something wrong with the system. Currently a specific subset of learners fit into this system. The rest either needs extraordinary grit or fail since it is not setup for them to succeed. I for one welcome AI to burn some of our old decrepit institutions to the ground.

tru1ock | 2 years ago | on: Sal Khan: How AI could save (not destroy) education [video]

I hope it will force the current system which favours a specific subset of learners to change. I hope it will evolve towards a collaborative system where learners are not tested as specimens in a vacuum. The current system is all about making it easier for the system to do its thing instead of the user(learner) getting something valuable out of it.

tru1ock | 2 years ago | on: Python: Just Write SQL

I picked up some SQL knowledge through osmosis by using ActiveRecord and I do wish there was a better connect between what the ORM did and the end result. There were some tools to see what code generated what queries but it was not that intuitive and in your face like for example how you would have to deep dive frequently in your generated front end javascript and css code.

In other word I think there are some tooling left on the table that can assist in increasing SQL literacy and comprehension.

tru1ock | 2 years ago | on: (next Rich)

Simple made easy is the most impactful talk I have watched. Made a very big impact and I still think of it frequently. I never got into clojure but I am so glad it is around.

tru1ock | 2 years ago | on: Important Coding Habits

I only use a kneeling chair. Also daily short 15-20min HIIT with pull ups have resolved all my back problems. I highly recommend the simple and sinister daily energizer approach. After work when you are tired and mentally drained is the best time to exercise. This gives you energy to do your own things for the remainder of the day.

tru1ock | 2 years ago | on: Svelte is a language

I did a stint of Elm and it taught me a lot. But I found I prefer dirtier languages like elixir and typescript. I would not recommend the pure languages for anything other than learning FP.

tru1ock | 2 years ago | on: Responding to “Are bugs and slow delivery ok?”

You are not professional if you are not aligning with the values that are being optimized for the context. There should be an explicit decision tree setup for your work context that informs you what those values are. If not have some conversations and align.

tru1ock | 2 years ago | on: On the State of the Web

That takes me back! I completely forgot about stumbleupon and will check out cloudhiker, thanks!
page 1