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 Stacked Diffs (and why you should know about them)
> So you need rebase-fu to fix, and it’s per-stacked-branch.

Note that `git rebase --update-refs` lets you just rebase the last branch and the entire stack gets updated. You just need to know which branches to forcepush.

Liskni_si··on Side by side Git-range-diff
git range-diff compares two commit ranges (two versions of a branch, e.g. before and after a rebase). Its output is difficult to comprehend, though. It’s a diff between diffs, presented in one dimension using two columns of pluses/ minuses/ spaces. Wouldn’t it be better if we used two dimensions and some nice colors?
Liskni_si··on Tire dust makes up the majority of ocean microplastics
Schwalbe :-)
Liskni_si··on Organic Maps: An open-source maps app that doesn't suck
Second this. It's a swiss army knife of a map. Supports planning, track recording, export to various formats and online services like Strava, tools for Geocaching, map overlays, points/track database with folders, dashboards that turn your phone into a bike computer, and many more. And yeah the developers are super nice people!
Liskni_si··on A list of recent hostile moves by Google's Chrome team
Chrome lets me install extensions using "git clone". Firefox doesn't, they need to come from AMO, or I need to reinstall them every time I relaunch Firefox.
Liskni_si··on Thunderbird 115 “Supernova”
There's a licensing server and users seem to be identified by the email addresses they use Owl with. At a glance it seems like it checks for a valid license every once in a while. The code that does it has a couple paragraphs at the top saying something along the lines of "yeah it's all here, there's nothing stopping you from stripping it but please don't redistribute it then because it's my livelihood thank you."
Liskni_si··on Tell HN: "I don't care about cookies” extension bought by Avast, users jump ship
Have you ever tried booking flights with EasyJet? Their web servers would just literally stop sending you TCP packets once they see a session cookie that hasn't accepted the cookie consent within a minute or so. Took me a while to figure this out, and until I realised it's caused by me not seeing the cookie consent modal, my workflow was to clear cookies and then try to book the flight within 60 seconds. :-D
Liskni_si··on Inkscape is hiring: Accelerating the GTK4 migration
Yeah, "good use", and also just happens to no longer support subpixel font antialiasing, so good luck if your screen isn't 4K. Which a lot of screens out there aren't. :-(
Liskni_si··on The GTK+3 port of GIMP is officially finished
Hopefully not. GTK4 deliberately removed support for subpixel font antialiasing, making fonts noticeably more blurry/ugly on non-HiDPI screens. There's a ton of FHD (1920x1080) or 1920x1200 screens out there that are perfectly fine for most usecases, but GTK4 turns them into landfill. :-(
Liskni_si··on Facebook Announces Meta Verified
It still is though, isn't it? At least in my social circles. Where did your friends go, and why my friends haven't?
Liskni_si··on StarFighter 16 inch: 4K Coreboot/Ryzen Linux laptop
Also, function keys aren't separated into 4-key blocks, and ins/del/home/end/pgup/pgdown are in the wrong place. :-(
Liskni_si··on Ask HN: What is the thing you've built that you regret the most?
https://arbtt.nomeata.de/ has been around for quite a while. Never heard about it being abused for surveillance. Hm, but was it?
Liskni_si··on Ask HN: Why is Microsoft Teams still so bad?
I used HipChat for years and never actually saw what the thing looked like. Any XMPP client just worked, no hassle whatsoever. When we later switched to Slack it was actually a downgrade from my point of view. :-/
Liskni_si··on John Carmack's new AGI company, Keen Technologies, has raised a $20M round
And there's also Keen Software House (maker of the Space Engineers and Medieval Engineers games) whose founder (https://blog.marekrosa.org/) has an AGI company as well (called GoodAI). Funny coincidence.
Liskni_si··on Ask HN: Can I see your scripts?
I use a generic version of this.

My .gitconfig has:

  [pretty]
  co-authored-by = Co-authored-by: %an <%ae>
  [alias]
  co-authored-by = log -1 --pretty=co-authored-by --regexp-ignore-case --author
Now `git co-authored-by Tom` generates a Co-authored-by: trailer for the last person named Tom who committed to the repo. Typically I'd just do `:r !git co-authored-by Name` in vim (mapped to \gc to save typing).
Liskni_si··on The new and upgraded Framework Laptop
> This modern layout has advantages: for example, the space between the keys makes it more comfortable to use with nails, so I no longer have to keep them short.

Layout and the shape of keys are orthogonal concepts.

But yeah, you're right that there aren't many options these days, and the T25 is getting old. :-(

Liskni_si··on The new and upgraded Framework Laptop
> Menu button next to Right ALT. And PGUP PGDN adjacent to the arrows

Keys can easily be remapped in software, so all you really is the physical keys layout (full size arrows + two keys on either side of the up arrow) and the trackpoint. Menu or PrintScreen or whatever doesn't really matter much.

Liskni_si··on The new and upgraded Framework Laptop
> A keyboard qualifies as a "thinkpad keyboard" if has all of the following:

> PageUp above Left, PageDown above Right: to me, that's the most important thing ever!

> PrintScreen between right Alt and right Ctrl: very important too

That's not a proper ThinkPad keyboard at all. That's the new 6-row fake which has 10 fewer keys than a proper ThinkPad keyboard, which is this one: https://laptopkeys.com/uploads/704_1348778226_Lenovo%20t410s...

Liskni_si··on Lenovo ThinkPad P1 Gen3 Review – with Linux
Specialized Diverge does have fender/rack mounts (although you need to replace the stock seat post clamp with another one for the top rear rack mounts, but Spec does sell one). It's not exactly a utility bike, but for touring around civilized Europe it's a very good bike. :-)
Liskni_si··on Lenovo ThinkPad P1 Gen3 Review – with Linux
Since they stopped wiring outputs to the dGPU, it's not really that bad. You just rmmod nvidia/nouveau, echo auto >/sys/bus/pci/devices/…/power/control and ignore the dGPU until you need it. And even then, it's absolutely fine to launch a second X server for the game you need to play without shutting down the first one, or just use bumblebee/primusrun.
Liskni_si··on Lenovo ThinkPad P1 Gen3 Review – with Linux
No elaborate script is needed these days, the kernel's runtime power management suspends the card automatically as long as /sys/bus/pci/devices/…/power/control is "auto" and the device isn't being used (the nvidia/nouveau module is unloaded).

Documentation for the nvidia module claims [0] runtime pm is supported even when the module _is_ loaded for GPUs since Turing, but I haven't been able to test that (mine is older than that).

[0] https://download.nvidia.com/XFree86/Linux-x86_64/435.17/READ...

Liskni_si··on I have no capslock and I must scream
Yes, we are a tiny minority. I refuse to compromise on this, and still use a ThinkPad with a 7-row keyboard, but most people have just given up already and went with the mainstream crap. :-(
Liskni_si··on Framework Raises $18M Series A
> The real genius of Framework is that it doesn't even have to be the Framework company manufacturing your favorite keyboard, it's just a standard form factor.

Not sure how that's useful as the form factor doesn't really allow for a 7-row keyboard, or full-sized arrow keys. Which is a real missed opportunity in my opinion: a laptop (any computer, really) is primarily a device with inputs (keyboard, touchpad) and outputs (display) so naturally you want those to be as good as possible (and if there isn't a 99.9+% consensus on what that means, modular/configurable) as that's what you'll end up using for hours every day. Why compromise on a single "pretty" layout of physical keys?

Liskni_si··on Stacked changes: how FB and Google engineers stay unblocked and ship faster
> you either have to merge the whole PR or nothing

That's not true, though. You absolutely can merge a single commit, via git push, there's just no button in the GitHub UI for it.

Liskni_si··on Xorg-Server 21.1.0
Coincidentally, xmonad 0.17.0 was released today as well: https://xmonad.org/news/2021/10/27/xmonad-0-17-0.html :-)
Liskni_si··on The Frame.work Marketplace Opened
All ThinkPads up to T420/X220 (2011) have a proper delete/home/end/pgup/pgdown block at the top right. And then the 2017 ThinkPad 25 anniversary edition, which is what I'm using right now and hoping it lasts until there is a proper replacement on the market.
Liskni_si··on XMonad – The Automated Tiling WM
Awesome! :-)
Liskni_si··on XMonad – The Automated Tiling WM
I think the screenshots disappear (instead of just going into a single column mode) on very small screens, so people looking at xmonad.org from a mobile phone may not see them. Hm, we might want to fix that, perhaps.
Liskni_si··on XMonad – The Automated Tiling WM
Okay, thanks for the reply. It seems wlroots does have scenegraph now: https://octodon.social/@emersion/106824058647927553, although I have no idea what it means, yet. :-)

Out of those persistance ideas, I'm still very much in favor of simply separating the compositor/WM into separate unix processes. Feels like the right thing to do.

Liskni_si··on XMonad – The Automated Tiling WM
> I fully agree on the issue with restarting. I had some ideas about how to improve that

Can you perhaps share some of those ideas? Might be something I haven't thought about. :-)

> wlroots was my choice, because I like the guys and worked with them on the project. Other libraries (most relevant probably libweston) are a bit more "fully featured" but also slightly less flexible.

Is that still the case today? I mean, I haven't really spent any considerable time researching the Wayland landscape, but I was under the impression that wlroots gained considerable momentum in recent years while weston is still just the reference compositor, but not really used in any well-known Wayland compositor.

← PreviousPage 3 of 7Next →