Which way
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Soo, I've been daily-driving Linux for 6 / 7 yrs, and occasionally using it since 2013... How much time do I have before I have to choose? Although, given my lack of self-organization, I probably should've already chosen but missed the message notifying me of an upcoming / missed deadline

    35
  • It's a fast charger too
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Well, I don't compile stuff there, mostly movies/lectures and reading stuff, so they don't really overheat. Well, except maybe t440p with 45w i7-4910mq, but with its battery discharge rate it is almost always docked anyways

    1
  • YAWN 🥱
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Tbh, I'm kinda too old for that now as well. A few years ago, tho, when winxp sources were leaked, I've spent 2 days trying to build it (rather unsuccessfully, unfortunately) accompanied by 5/6 energy drinks. Tho I might've fallen asleep for an hour or so here and there while looking at build logs, I don't really remember

    1
  • My move to Linux
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Given those options, you may want to try vim :) It's a bit different in how you interact with it (pressing stuff on the keyboard instead of clicking stuff in menus, plus it's more of an imperative vs declarative approach, i.e. you tell vim how to do stuff instead of what you need to be done; the good part is being independent of what sb thought you may need to do, the bad -- having to learn editing primitives and stuff), but it can certainly do stuff you've mentioned, sometimes with some help from external programs:

    • dupcicate current line - yyp [(yy)ank_curren and (p)aste];
    • join lines depends on how you want to join them, in the simplest case it's J or gJ to join current line with the one below with or without space as a separator respectively. You can also combine it with :g or :v and norm or macros to make this edit on lines matching (g) or not (v) a specific regex (e.g. :g/join me/norm J will join all lines containing "join me" with that below). Splitting also depends;
    • reverse, randomize and sorting can be done via calling external stuff: v10j:.!tac will reverse 11 lines, including the one with the cursor, via calling (!) tac on the selection (v) of the current line and 10 below (10j) and pasting its output in the file you're editing (.) (it'll replace stuff you've selected). Replace tac with shuf or sort for the other options mentioned. Removing duplicates without sorting - https://stackoverflow.com/questions/11532157/remove-duplicate-lines-without-sorting#11532197

    Bonus: neovim integrates with vscode quite well, and on itself it handles reasonably huge files without an issue.

    4
  • You barely manage to get the last train. The next stop is in 30 minutes...
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Apparently in 2011 or so there sb was making a catastrophe movie situated in Moscow metro. Here are some different pics. And here sb said it's from that movie; same here. Given the damage to the windows you can see in the background, I'm inclined to believe it's indeed the case

    Addit: Probably this movie

    1
  • Can a VPN read my traffic to know what I'm doing?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    fl42v
    Now 100%

    Depends on your definition of "what", and the server you're talking to, and what DNS you're using, and your VPN provider, and maybe the phase of the moon.

    So, pretty much the best-case scenario is when the site works via https, and the server supports "encrypted client hello" (ech), and your browser has ech enabled. In this case your VPN provider can see that you've sent something to the IP (one IP can host multiple websites with different domains).

    Https and no ech = can see IP, can see the domain.

    Http = can see everything (thankfully, quite rare now).

    Some VPN providers may as well use their own DNS, then they can see what domains you've talked to regardless of ech (afaik, since domain lookup should happen before client hello, since you're basically looking up whom to "greet")

    Some providers are Facebook with fake mustache and will shamelessly try to mitm you

    9
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    ThinkPad fl42v Now 83%
    Flashing coreboot with rp2040

    So, yet another "if you're in the middle of nowhere and can't/don't_want_to wait for proper tools to arrive" kind of post. Firstly, there's [pico-serprog](https://codeberg.org/libreboot/pico-serprog) with quite good [instructions](https://libreboot.org/docs/install/spi.html#raspberry-pi-pico) from the libreboot project. Unfortunately, it didn't want to detect the chip at all in my case (in hind sight, likely due to the board pinouts being different between my board and a regular pico and them providing pico pins and not gpio numbers) What worked, albeit rather slowly, was [pico-dirtyjtag](https://github.com/phdussud/pico-dirtyJtag). If using this one, the connections are as follows: * cs - gp19 * miso - gp17 * mosi - gp16 * clk - gp18 * gnd - gnd * 3v3 - 3v3 The chip pinouts can be sourced from the libreboot guide/a laptop schematic/ic datasheet. Flashing with `sudo flashprog -p dirtyjtag_spi -w rom.rom` (or `flashrom` instead of `flashprog`). It may complain that there are multiple definitions matching the chip, in which case you manually choose one of the mentioned with `-c` (in my case `-c W25Q32FV` and `-c W25Q64BV/W25Q64CV/W25Q64FV` for top and bottom chips respectively). Also applicable to stm boards with the main [dirtyjtag](https://github.com/dirtyjtag/DirtyJTAG) repo.

    4
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    ThinkPad fl42v Now 100%
    Coreboot allows using batteries for newer models on older ones (sometimes)

    So, I've dug up my corebooted t440p and decided to check if it'll work with the battery from my t480, and it did! Well, sort of. Since coreboot also replaces the embedded controller firmware (mb sometimes they keep blobs of it, idk, but certainly not in case of t440p), we won't get those nasty "battery not supported, pay me" messages even if they've changed the verification since then. However, I suspect some batteries may be unprepared for the power draw of earlier models. I've tested it on 2 batteries, one was a 22wh → 72wh conversion with BMS built on top of a cheap controller with rather unpleasant feedback from battery repair people; the other one was a more trustworthy 72wh clone powered by bq8050. The latter one worked ootb, while the former somewhat worked: fine in uefi, fine in grub, drop voltage to 0 as soon as the os starts loading → poweroff. If the power supply is plugged in during boot, the battery works fine (may drop voltage again under load, haven't tested it myself). Soo, basically the use case is that you can try to retrofit the guts of a newer battery into older thinkpads if those run core/libreboot.

    14
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    ThinkPad fl42v Now 92%
    What voltage does your thinkpad charge the battery to?

    I've replaced cells in my fake battery a few days ago, and while recalibrating the bms I noticed what looked like it trying to overcharge the cells -- the voltage went up to above 12.6v and stabilized at around 12.9 (which amounts to ~4.3v per cell and is 0.1v above what cell manufacturers generally recommend). Idk if that's the intended behavior or clone manufacturers trying to shorten the lifetime of said batteries, so if the owners with genuine batteries can provide that info, I'd really appreciate it. On linux, you can check this with `cat /sys/class/power_supply/BAT*/voltage_now` (as your usual user, those files are world-readable); not sure about windows, tho.

    11
    8

    Out of curiosity, I've been watching a few restorations of those spectrums, and I've noticed the keyboards having a rather peculiar construction, judging by today's standards. They have 2 springs, the small one, as far as I understand, presses the membrane layers together, and the larger one returns the key into neutral position once the key is released. I personally haven't used any spectrums, yet I've encountered the very same construction on a keyboard of a Russian clone of said machines (namely, zx atas), and to this day I haven't touched anything worse... The only way I can describe it is like trying to type on a piece of raw meat. So, if anyone here had a chance to type on the original spectrums, was it this bad? I suspect otherwise since I haven't heard of crowds of people requesting PTSD treatment, but the whole thing still somewhat bothers me 😅

    34
    10
    github.com

    Just thought I'd share. Probably nothing new or fancy, but may help some of you find a way to repurpose devices that aren't worth repairing into home servers or something: e.g. op5 I've used has better CPU compared to raspberry pi 4, can run linux (postmarketos, albeit with some caveats), and costs less if bought with broken display (or nothing if you have one lying around)

    39
    1

    Decided to share an older "project" of mine - ms sculpt wireless to wired conversion (also, it runs qmk, so we get all its features). A sensible person would order a custom pcb (such projects exist on the web, take a look if you're interested), but I went with removing all the components except from the ribbon cable connector, sending the PCB smooth, gluing a piece of discount card to isolate the traces, gluing a Chinese rp2040 on top, and wiring all the necessary traces to it. No, it wasn't fun. Yes, it works. Bonus: when I disassembled it now I found out the type-c wasn't soldered well and decided to separate from the board: ![ResizedImage_2024-04-08_18-20-32_2](https://lemmy.ml/pictrs/image/ab25b0d6-5edf-4438-a5df-fa5a005e75b8.jpeg) So, here we go: using phone as a poor man's microscope (note: also, still works) ![ResizedImage_2024-04-08_18-20-32_1](https://lemmy.ml/pictrs/image/faa66b9d-729c-4a39-b402-16618f94fef8.jpeg) The end result kinda doesn't give it out, so whatever (insert your frontend -- backend jokes here) ![ResizedImage_2024-04-08_18-36-32_1](https://lemmy.ml/pictrs/image/46969502-a360-45c3-bd6d-d9644472d42a.jpeg)

    25
    0

    x-post from tg: https://t.me/theaftertimes/15396

    120
    5

    So, a while ago I bought a cheapest oneplus 6 available in my area to subject it to a few experiments with running Linux. Among the other issues that came for that price, the power button was almost flush to the frame, hard to press, and had almost no feedback. Today I finally got tired of it and decided to check what's wrong. The button itself turned out to be just fine, but the thingy that presses it looked weird: ![ResizedImage_2024-03-12_23-02-59_1](https://lemmy.ml/pictrs/image/89c1d05c-7585-47d6-acc5-f141f8a1154d.jpeg) After a few tries of gluing smth to extend the middle pin, I found out that I can just cut off a piece of plastic from the blister of my favorite headache pills and place it between the button and said thingy. Works wonders 🤣 ![ResizedImage_2024-03-12_23-07-45_1](https://lemmy.ml/pictrs/image/ceb9be58-23ac-41f6-87a5-bac46d8ee530.jpeg) Btw, the actual problem is that it was missing a few rubber spacers, as far as I understand, but whatever ![ResizedImage_2024-03-12_23-11-42_2008](https://lemmy.ml/pictrs/image/92ff38f9-c512-493f-acd1-b8416c552cf8.jpeg)

    31
    0

    Forked from https://www.reddit.com/r/linuxmemes/comments/19c35a4/pictured_avg_linux_user_fixing_thier_pc/

    151
    9

    Tinkering is all fun and games, until it's 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you're about to execute... And then all you have is a kernel panic and one thought bouncing in your head: "damn, what did I expect to happen?". Off the top of my head I remember 2 of those. Both happened a while ago, so I don't remember all the details, unfortunately. For the warmup, removing PAM. I was trying to convert my artix install to a regular arch without reinstalling everything. Should be kinda simple: change repos, install systemd, uninstall dinit and it's units, profit. Yet after doing just that I was left with some PAM errors... So, I `Rdd`-ed libpam instead of just using `--overwrite`. Needless to say, I had to search for live usb yet again. And the one at least I find quite funny. After about a year of using arch I was considering myself a confident enough user, and it so happened that I wanted to install smth that was packaged for debian. A reasonable person would, perhaps, write a pkgbuild that would unpack the .deb and install it's contents properly along with all the necessary dependencies. But not me, I installed dpkg. The package refused to either work or install complaining that the version of glibc was incorrect... So, I installed glibc from Debian's repos. After a few seconds my poor PC probably spent staring in disbelief at the sheer stupidity of the meatbag behind the keyboard, I was met with a reboot, a kernel panic, and a need to find another PC to flash an archiso to a flash drive ('cause ofc I didn't have one at the time). Anyways, what are your stories?

    309
    252

    Off the top of my head, I can't think of a word in English that ends with "is" while being singular, only plurals and uncountables come to mind, so I can't really follow the examples of other words. What makes it even weirder, I'm not sure how to pronounce Illinoises... Would it be as written, or as if an Illinois was pronounced by someone who has never encountered it before? Illinoi are also meh, since now plural looks as a singular and the other way round.

    99
    20
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFL
    Now
    16 628

    fl42v

    lemmy.ml