HNHacker News
TopNewBestAskShowJobs

Liskni_si

404 karma · joined March 30, 2018

https://github.com/liskin https://lisk.in/

https://meet.hn/city/gb-London

Socials: - github.com/liskin - linkedin.com/in/pivnik - reddit.com/user/Liskni_si

Interests: Cycling, Fitness, Gaming, Hacking, Hiking, Open Source, Outdoor Activities, Programming, Remote Work, Running

---

submissionscomments
Liskni_si··on I'd like to review your README
I've been using https://github.com/brodie/cram for this. It's a neat little shell testing tool that can be told to check that every 4-space indented markdown code block output what it says it outputs, so I just cram my README.md.

An example of this in action: https://github.com/liskin/liscopridge/blame/68a656b7beb10a5c..., https://github.com/liskin/liscopridge/blob/68a656b7beb10a5cd...

Liskni_si··on Pass: The standard Unix password manager
I've been using this with a modified version of the example passmenu script, enhanced with:

* ability to store/retrieve additional YAML metadata like username, e-mail, etc.

* pre-selection of entries by looking at URL and focused form field (this needs the add-url-to-window-title browser extension)

So in most cases I press a keybinding which invokes passmenu, and then just press enter as the correct entry and field (password/username) is already selected. Quite handy.

Source here if anyone's interested: https://github.com/liskin/dotfiles/blob/home/bin/passmenu and https://github.com/liskin/dotfiles/blob/home/bin/.passlib

Liskni_si··on Pangolin – Mobile AMD laptop with Ryzen CPU and Radeon graphics
Not a solution that scales, but if you really want a modern CPU variant of the x230, check this: https://www.xyte.ch/shop/x330-pricing-list/

They also have the T25 frankenpad: https://www.xyte.ch/shop/t25-frankenpad-kit/ and https://www.xyte.ch/thinkpads/t25-frankenpad/

Liskni_si··on The new Google Pay repeats all the same mistakes of Google Allo
New new one [1] says "This app is not available for your device" so it seems it can be anything from "we're not affected" to "we're affected much more than US". :-/

[1]: https://play.google.com/store/apps/details?id=com.google.and...

Liskni_si··on Show HN: arbtt-chart, text-mode charts for the arbtt time tracker
Recent thread about arbtt: https://news.ycombinator.com/item?id=26021047
Liskni_si··on The Framework Laptop
By configurable, I mainly meant the physical layout of keys, configurable at purchase time. So that one can get a laptop with a trendy 6-row chiclet, or a proper 7-row classic ThinkPad keyboard.

But yeah, being able to override the key mapping in EC is an important feature as well, and I'm glad someone's doing it! I really hope for the future where all these pieces come together: a laptop with a good physical keyboard (configurable/swappable, so that everyone can get their meaning of "good"), with configurable EC, replaceable components, etc. That would be a dream.

Liskni_si··on The Framework Laptop
I actually use those "useless" keys (back/forward in the browser) more often than PgUp/PgDown, as I usually scroll using the touchpad.

But it doesn't really matter, as long as the physical keys are there. They can be remapped.

Liskni_si··on The Framework Laptop
Fn position is obviously configurable. I have ctrl/fn swapped, but plenty of people don't, and that's fine. (And then plently of people have ctrl on capslock, which is also fine. I couldn't get used to it.)
Liskni_si··on The Framework Laptop
We probably need laptops with configurable keyboard layouts then, so that you can choose a variant when purchasing it and then replace it with different one if you find out you don't like it.

(And then, let's not forget that keyboard layouts are somewhat configurable in software. It's easy to bind pageup to mod-uparrow and pagedown to mod-downarrow. But it can't be done if the physical keys are missing, so physical keyboard layouts with more keys are preferable to those with less keys. Unfortunately fn-combos are usually hardwired in the Embedded Controller and can't be changed easily in software.)

Liskni_si··on The Framework Laptop
I don't use the trackpoint often on my ThinkPad, but I wouldn't buy a laptop without it. It's impossible to use the touchpad in a confined space such as an airplane (economy class) or a bus.
Liskni_si··on The Framework Laptop
Key travel isn't everything. The layout is important as well.

This is the best layout humanity ever invented: https://www.notebookcheck.net/fileadmin/_processed_/c/0/csm_...

Classic arrow keys, separate volume buttons, separate back/forward/pageup/pagedown, F1-F12 as the primary functions, …

Liskni_si··on System76 Launch Configurable Keyboard with Open Source Code
I sincerely hope I won't have to find out the answer to that. :-)

Anyway, for anyone thinking of getting one, it's worth checking out this as well: https://www.xyte.ch/shop/t25-frankenpad-kit/ and https://www.xyte.ch/thinkpads/t25-frankenpad/

Liskni_si··on System76 Launch Configurable Keyboard with Open Source Code
Just wanted to say that you're not alone. I'm used to the ISO layout, but that's a minor difference.

I'm really glad they did the ThinkPad 25, and I really don't know what I'm going to do when that thing becomes too old to be usable. :-(

Liskni_si··on Ask HN: What is your “I don't care if this succeeds” project?
xmonad
Liskni_si··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
This only works for people who don't care about precise font rendering, either because they just don't care, or because their visual acuity is bad and they simply don't see the difference. (People who arguably don't really need HiDPI displays in the first place.)
Liskni_si··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
X does allow this, but it needs cooperation from clients, which in practice means that Gtk and Qt need to implement it, and they decided to only implement this for Wayland (which also needs clients to implement this!) because for them, X is dead and not worth supporting. It's not a problem of X per se. It's a deliberate decision to not implement a feature for X.
Liskni_si··on Firefox Relay
Another issue is that unless one also gets a new IP address for the mail server, it might be possible to associate the real domain with this "anonymous" one.
Liskni_si··on Pidgin – A Universal Chat Client
Still works well through https://github.com/EionRobb/purple-hangouts. (I'm only using that through bitlbee-purple, not via Pidgin, but that should be largely irrelevant.)
Liskni_si··on Show HN: Beeper – All Your Chats in One App
I run a similar setup although with a different set of services: IRC, Slack through wee-slack, Hangouts through bitlbee with purple-hangouts, Facebook Messenger through bitlbee with bitlbee-facebook. Slack and Hangouts mostly work, but FB Messenger is a pain, attachments rarely work and it disconnects fairly often. So if the Beeper bridges end up being more reliable (possibly due to people being paid to work on them), I might just give it a try.

That is, once weechat-matrix works together with wee-slack… (https://github.com/poljar/weechat-matrix/issues/248) :-)

Liskni_si··on Show HN: Beeper – All Your Chats in One App
I'm a long time user of IRC and bitlbee (I wrote my own IRC bridge for a popular webchat back in 2004) and the last few years I've been using weechat-android as a mobile client and it's not too bad. It's still IRC, so image/video/gif attachments are out of the question, but for someone who's been using text-mode IRC clients for the last 20 years it's a godsend.
Liskni_si··on Kids find a security flaw in Linux Mint by mashing keys
I've also seen some xscreensaver crashes a while ago: https://news.ycombinator.com/item?id=21224179
Liskni_si··on Jwz: I told you so, 2021 edition
Similar, but taken further. xscreensaver still does input and PAM auth in the main process, xsecurelock does not, so the attack surface is smaller.
Liskni_si··on Jwz: I told you so, 2021 edition
> that will reload it unless XSS exits with code 0 or something

Sort of what https://github.com/google/xsecurelock recommends doing.

Also, xsecurelock doesn't run the input and PAM auth in the same process as the lock, making input bugs (https://news.ycombinator.com/item?id=21224179) harmless as well.

Liskni_si··on If it will matter after today, don't talk about it in a chat room
It kind of does: https://public-inbox.org/README.html It's used for LKML (and many other lists) archives: https://lore.kernel.org/lists.html

(but it's read-only, there's no rebasing, people still use old-school e-mail clients)

Liskni_si··on Poll: Switching from WhatsApp
Wikipedia says net neutrality is enforced in Brazil, so it should be illegal: https://en.wikipedia.org/wiki/Net_neutrality_by_country#Braz...
Liskni_si··on Why Jira Sucks
Does it keep reloading batch.js? Is it because the URL is changing or is it just not getting cached at the browser? Answering these questions is a first step to speed up Jira.

See also my comment from 2018: https://news.ycombinator.com/item?id=18511497

Liskni_si··on Maps.me is gone, and we must bring it back
You can if you use the "mapy.cz" version of the mobile app: https://play.google.com/store/apps/details?id=cz.seznam.mapy

I have no idea what the point of the "international" version is, as this one has English translation as well.

Liskni_si··on Jaywalking decriminalization, 100 years after the auto industry made it a crime
Prague is not pedestrian-friendly at all. You probably meant "Vienna or Copenhagen". :-)
Liskni_si··on Minimal safe Bash script template
I often set up a temporary directory at the beginning and then clean it up in an EXIT trap. Adding ERR and errtrace (-E) would remove the tmpdir or the first failure anywhere, no matter if it's a recoverable one.

So I'm sticking with just set -eu and trap EXIT...

Liskni_si··on Linux 5.10
Same here, I'm also excited about this because I'll be able to use my script when docked!

If anyone's interested, my script is here: https://github.com/liskin/dotfiles/blob/home/bin/liskin-brig... Lets me interactively adjust the brightness using a very simple gui: https://twitter.com/Liskni_si/status/1320698852970778627

← PreviousPage 5 of 7Next →