Many other commands have such an option. As an example, iproute2 has -json.
404 karma · joined March 30, 2018
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
---
Many other commands have such an option. As an example, iproute2 has -json.
Also, #xmonad:matrix.org being invite only seems to be another bug. I contacted the room admin who sent me a similar screenshot as you did, showing that the room is _not_ set to invite-only, and they had to upgrade the room version from 1 to 6 to fix it. I can now join the room.
I have to say this has been a very frustrating experience. In addition to these two problems with #xmonad, I also suffer from https://github.com/poljar/weechat-matrix/issues/248, https://github.com/wee-slack/wee-slack/issues/812. I am afraid the takeaway is that Matrix is not ready yet. :-/
To make this experience even less amusing, I then tried to join #xmonad:matrix.org, assuming it's the matrix equivalent of #xmonad on freenode, but it just said I'm not invited and that was it.
Can't say I'm impressed. :-(
There's still the issue with the keyboard having 7 fewer keys than a modern ThinkPad, and compared to the classic 7-row ThinkPad keyboard, 15 physical keys are missing. That's a considerable disadvantage. Mac laptops have superior displays, but we're using keyboard just as often.
I remember that when a friend first introduced me to Linux around 2002 (we were both high school kids), I ended up writing a rudimentary printer driver as the printing support in Linux required installing 250MB worth of packages that I simply didn't have enough space for, as I had installed Linux to a 1GB partition that I got after squeezing the Win98 on my father's laptop into 3GB. I used Red Hat Linux—not the most minimal distro but I had no idea what I was doing. So when I wanted to print something and couldn't install the printing packages, I grabbed the paperback printer manual which described all the low-level commands the printer supported, studied it to find the commands I'd need and then wrote a simple program that took an image and sent it to the printer. It couldn't have been longer than a few hundred lines.
The printers back then were simple and came with real reference manuals that documented how to communicate with the printer, so you could really write a simple printing program/driver without being a UNIX legend (I am not).
I find it really sad that in the Wayland world all the window managers are coupled with compositors (and possibly even more than that), which makes it that much harder to roll your own. I wish there was a generic compositor/input server/whatever with some sort of window management RPC interface that would allow running a separate window manager in a subprocess. This would make it so much easier to port xmonad over to the Wayland world and take it from there...
(I'm aware of waymonad's existence, but I believe the process barrier between compositor and WM is really practical, especially during development where the WM rapidly changes, sometimes crashes, but the session still survives.)
Anyway, I've manually built a snapshot of Cairo for Debian: https://salsa.debian.org/liskin/cairo/-/commits/debian/maste... and I have a wrapper around Pango which enables subpixel positioning: https://github.com/liskin/dotfiles/tree/79cef7167a57dde02edf.... It really it noticeably prettier! :-)
git fetch https://github.com/github/dmca 225ce7ac70aec3002599ba4cc8cee7197e0f1cee
to update our existing clones of widevine-l3-decryptor from the dmca repo.So... can someone push that please? I don't have the recent commits. :-(
Is that too much to ask?
When the video is encoded, the codec does motion estimation (among other things) to reduce the bandwidth required. So why don't we use the motion vectors from the video codec to modify the foreground/background mask in real time? Obviously this is going to create weird artifacts pretty soon, but it might just be good enough for a few frames before the ML model produces another accurate mask.
Source here if anyone's interested: https://github.com/liskin/dotfiles/blob/home/bin/youtube-dl-...
For more details, see https://lwn.net/Articles/834325/ and other comments on the LWN article.
(other HN posting of this article here: https://news.ycombinator.com/item?id=24779230)
For more details, see https://lwn.net/Articles/834325/ and other comments on the LWN article.
You get the entire GNU/Linux desktop for free, so you aren't in a position to complain. If you value your precious spare time, part with some of your money. Pay someone to fix this for you. Ask your employer to pay someone so that your "tool" works. Whatever.
> In any case, a non-kernel developer fixing it in a day of coding is IMHO wildly unrealistic.
Please... at least read the linked issue to see what the problem really is. This isn't kernel development. This is a userspace library, and the problem in question is isolated to a single C function that spans one or two screens. This really isn't rocket science. I wouldn't hesitate to ask students to fix an issue like this in a followup programming course.
You're kind of right and kind of not. It is indeed incredibly unfair to claim that anyone can do it in 2 minutes if I could, especially considering that I did it this fast after mentally preparing to do it fast to demonstrate that it can be done fast.
But also remember that I really do believe that we should all participate in the development of the software that we get to use for free. Fixing a bug in some piece of software should, in my opinion, be the most normal thing you do every once in a while. Just like everyone can use a screwdriver at home, every programmer should be able to modify, build and run the software they use. If we did live in such a world, this wouldn't be specialized knowledge, this would really be something most people could do under 10 minutes.
Yeah, I realize that we don't live in a such a world. But please don't take away my hope that if we all try hard enough, one day we just might. :-)
The other options are good if you need to ensure the package will build elsewhere, or if you need to cross build for a different architecture (which you might need if you're running a multiarch system and you need to patch a library like Mesa that's still needed by some 32 bit apps), or if you don't want to clog your system with build deps or something like that.
Last time I needed to do that, I used cowbuilder, but I'm not really an expert in this area, I'm just a Debian power user, not involved with the project directly.
I just timed myself doing it on a fresh vagrant VM, and it took me less than two minutes. One full minute was downloading and installing build dependencies, and that would normally be a few seconds as most people already have gcc.
The steps I took were:
sudo apt build-dep libinput
sudo apt install fakeroot
apt source libinput
cd libinput-1.12.6/
grep -r tp_detect
vim src/evdev-mt-touchpad.c
dpkg-buildpackage -b
sudo dpkg -i -O ../libinput*.deb
Oh and I'm tempted to argue that this is, in fact, a user experience we deserve. ThinkPads are used by many developers worldwide. Most of my friends at Red Hat have it. Last time I could check (2011), Google gave developers ThinkPads with Linux as one of the options. Any single one of us could have fixed this bug in one day, and then spend maybe another full day communicating with Peter to get the fix in shape and merged. Yet it still isn't fixed.Free software often is free as in beer, but the real point is that we can, and we should, participate. Throwing money through GitHub Sponsors is one option, but often the best way is to just roll your sleeves up and do the work.
My best guess is that it just isn't annoying enough to most people. Another way to understand this is to imagine what happens when you put someone with bad visual acuity in charge of font rendering: they'll think it's good enough, and you can't blame them. It _is_ good enough, as far as they can see (pun intended).
Simply git clone https://github.com/apprenticeharper/DeDRM_tools/ and then:
python2.7 DeDRM_tools/DeDRM_plugin/k4mobidedrm.py \
-k ~/.local/share/wineprefixes/kindle/drive_c/users/*/Local Settings/Application Data/DeDRMPrefs/kindlekey.k4i' \
~/Documents/My\ Kindle\ Content/book.azw .
or python2.7 DeDRM_tools/DeDRM_plugin/ineptepub.py \
adeptkey.der book.epub book_dedrm.epub
(I'm not exactly sure where to get adeptkey.der but I'm certain it can be extracted from an old python2 Calibre + DeDRM installation.)These days our city is full of carsharing cars so should I ever need a car to carry something heavier, I only need to walk a few blocks to find the nearest car that I can borrow. Costs about a half of what I'd pay for a taxi, so it's not cheap, but still cheaper than owning a car and not using it.
Had the same problem, changed "body" to "html", added background: #fff, now it works.
I turned it into a bookmarklet to make it easy to use on any website:
javascript:styles='html {filter: invert(1) hue-rotate(180deg) brightness(.9); background-color: #fff; }'; newSS = document.createElement('style'); newSS.type = 'text/css'; newSS.innerHTML = styles; document.documentElement.getElementsByTagName('head')[0].appendChild(newSS);void(0);
I tested this here: https://github.com/liskin/nodejs-hello-world/pull/1