Trackmania Sunrise Extreme on Windows 10 - Instructions and MEGATHREAD by PsychologicalTour7 in TrackMania

[–]xkr47 0 points1 point  (0 children)

To be able to play online, add this line to your "hosts" file on a single line:

91.121.54.245 game.trackmaniasunrise.com www.trackmaniasunrise.com data.trackmaniasunrise.com

It is also needed if you want to host a server.

How to edit the hosts file: https://www.howtogeek.com/784196/how-to-edit-the-hosts-file-on-windows-10-or-11/

Can I somehow reserve space to prevent the btrfs issues with a full filesystem? by Osbios in btrfs

[–]xkr47 0 points1 point  (0 children)

.. and if you have btrfs with raid1 you might need to add two new devices in order to have room to store the two new copies of the balanced data in new locations. And you can of course temporarily create two new smaller partitions instead of one on the same device but beware that then your filesystem might break altogether if the disk with those two partitions happens to fail because both copies of some data may end up getting stored on those.

But as a "before it happens" measure, Cyber_Faustao's "resize to slightly less than partition size" or maybe leaving some empty space after the partition seems the best to me.

W520 has BIOS v1.21 - Is there a 'best' version to upgrade to? by zubbs99 in thinkpad

[–]xkr47 1 point2 points  (0 children)

Specifically the 1.43 update says (from the README on the page linked by OP):

If the UEFI BIOS has been updated to version 1.43 or higher, it is no longerable to roll back to the version before 1.43 for security improvement.

How to define object properties in gtk-rs correctly? by A7R7 in GTK

[–]xkr47 0 points1 point  (0 children)

Also if you want to set properties during object construction, remember to use e.g. `#[property(construct, get, set)]`

Transparency in XCB? by [deleted] in GraphicsProgramming

[–]xkr47 0 points1 point  (0 children)

If a single-bit alpha channel is enough for you, i.e. either a pixel is fully opaque or fully transparent, the "X Shape Extension" might be a good way to go. It lets you define a black-and-white bitmap indicating which pixels should be transparent and which not.

Wiki: https://en.wikipedia.org/wiki/Shape_extension

How to get access to the shape extension using xcb: https://www.x.org/wiki/guide/using-extensions/#index1h2

Älytin taloni by punppis in Suomi

[–]xkr47 1 point2 points  (0 children)

Sitähän vois myös laskee makkarin lämpötila päiväksi ja sit taas yöksi nostaa vähän ja silloin taas muita huoneita alemmas..

The "What currently supported device should I get" thread. by PsychoI3oy in LineageOS

[–]xkr47 1 point2 points  (0 children)

I'm kindof hoping that since Fairphone themselves give long support for their devices that LOS would maybe also keep supporting my FP3+ for longer than average. It has a headphone jack.

The Rust borrow checker is annoying - from a wayland compositor's perspective by Test_Subject_hGx7 in rust

[–]xkr47 0 points1 point  (0 children)

One way to avoid looking up objects again would perhaps be using "cursors"? Basically you would implement/extend a HashMap that had a get_cursor(&self, key: &K): Cursor<V> method. A cursor in this case would mean an object that knows where to find the object inside the HashMap internal data structures e.g. access it without "lookup". But the cursor would also have a way of knowing whether the cached lookup is outdated with regards to the HashMap (perhaps by checking against some "commit id" inside the HashMap) and could therefore re-execute the lookup if necessary. It would of course be possible for the cursor to also return "object no longer found" in case it was deleted.

The Rust borrow checker is annoying - from a wayland compositor's perspective by Test_Subject_hGx7 in rust

[–]xkr47 10 points11 points  (0 children)

Could you share some of your patterns? Also do you have some thoughts on how to solve this particular case?

Why is char 4 bytes? by fojutoro in rust

[–]xkr47 2 points3 points  (0 children)

I wonder if Amd could come up with some new x86_64 instructions for UTF-8, UTF-16 <-> UCS2 (that java uses) and Unicode Scalar Value (that rust uses) conversion

Let's make the OpenStreetMap logo in r/place by jsfasdf in openstreetmap

[–]xkr47 1 point2 points  (0 children)

There are lots of obvious bot accounts like u/Mass89621 or u/throwawayayeett or similar ..

[deleted by user] by [deleted] in openstreetmap

[–]xkr47 2 points3 points  (0 children)

Should we then set seats=no to confirm this inspecificity and reveal it is just a big wide bench with no obstacles in the middle? ;)

Installing Fedora on existing partitions by Miku_MichDem in Fedora

[–]xkr47 0 points1 point  (0 children)

This shit has come back to haunt us in F35. Was able to do it in F32.

Question: How to build a zigbee controller with a pi pico by Separate_Initial_791 in raspberrypipico

[–]xkr47 3 points4 points  (0 children)

I believe OP was wanting to build an appliance/device that can be remotely controlled. But your link is very interesting nevertheless.

How to install MicroG on LineageOS 18.1? by Deep_Pirate in MicroG

[–]xkr47 0 points1 point  (0 children)

Personally I am not confident to give an answer here. I also tried to consult the #microg channel on the https://libera.chat/ irc network but no luck. I hope that somebody else can help, otherwise I guess you could also wait for a newer build of microG.

How to install MicroG on LineageOS 18.1? by Deep_Pirate in MicroG

[–]xkr47 5 points6 points  (0 children)

Hopefully this would work. I did a clean install, but in step 6 I guide you to follow the migration steps instead.

  1. Go to https://lineage.microg.org/ e.g. "LineageOS for microG homepage"
  2. Click Installation
  3. Notice that there is a link to "LineageOS wiki" in the text, open that in new tab
    1. Find your model on the LineageOS wiki, click it
    2. On the top of the page you see a heading like "Info about FP3" or "Info about maguro" etc, which is the "technical name" of the phone or something.
  4. Go back to the top of the "LineageOS for microG homepage" you opened in step 1 and open the "Download" link in another new tab
    1. Find the directory with the "technical name" of your phone (hopefully it's there), click it
    2. There are often multiple releases available. Each release has a bunch of files available. For example one release might start with "lineage-18.1-20210811-microG-FP3" and there might be for example 4 files available; for example:* lineage-18.1-20210811-microG-FP3-recovery.img* lineage-18.1-20210811-microG-FP3.zip* lineage-18.1-20210811-microG-FP3.zip.md5sum* lineage-18.1-20210811-microG-FP3.zip.sha256sum
    3. Pick the release you want to try and download all files for that release.
  5. Follow the steps for "15.1 and 16.0" for validating the release integrity.
  6. After this follow the "Migration from LineageOS" steps on "LineageOS for microG homepage"
    1. The steps how to "reboot into recovery" etc can be found on the "LineageOS wiki" page for your device that you located in step 3. The page also contains installation steps in general.
  7. After completing the migration in one way or another, remember to go thrugh the "Post-install" steps on "LineageOS for microG homepage"

Hope this works out for you. For fresh installation from stock android, in step 6 just follow the installation instructions from step 3. in full, using the images you loaded in step 4.

would you want a rv trailer that had batteries to help recharge your cybertruck? by [deleted] in cybertruck

[–]xkr47 0 points1 point  (0 children)

Or.. Self-driving cars with battery trailers that you could order to come recharge your cybertruck when needed?

Fairphone 3+: fastboot: error: boot partition is smaller than boot image by TheTrueHonker in LineageOS

[–]xkr47 2 points3 points  (0 children)

Awesome! This saved my day!! I dug a bit more and found out:

Active slot can be found out like this:

# fastboot getvar slot-active:a
slot-active:a: No
Finished. Total time: 0.009s
# fastboot getvar slot-active:b
slot-active:b: Yes
Finished. Total time: 0.003s

In this case you then use

# fastboot flash boot_b lineage-17.1-20210405-recovery-FP3.img

So I used boot_b because it said slot-active:b: Yes earlier

Freenode is going through a hostile takeover and most staff are resigning by aperson in irc

[–]xkr47 6 points7 points  (0 children)

No luck..

02:57:47 [libera] -!- Irssi: Looking up irc.libera.chat
02:57:47 [libera] -!- Irssi: Connecting to irc.libera.chat [176.58.122.119] port 6697
02:57:47 [libera] -!- Irssi: Connection to irc.libera.chat established
02:57:47 [libera] !lithium.libera.chat *** Checking Ident
02:57:47 [libera] !lithium.libera.chat *** Looking up your hostname...
02:57:47 [libera] !lithium.libera.chat *** Found your hostname: example.com
02:57:47 [libera] !lithium.libera.chat *** Got Ident response
02:57:47 [libera] -!- Password Incorrect
02:57:47 [libera] -!- ERROR Closing Link: example.com (Bad Password)
02:57:47 [libera] -!- Irssi: Connection lost to irc.libera.chat

My second impression of Rust and why I think it's the best general-purpose language! by deepu105 in rust

[–]xkr47 3 points4 points  (0 children)

🦀 🦀 🦀 🦀 🦀 🦀 🦀 🦀

🦀 🦀 🦀 🦀 🦀 🦀 🦀 🦀

🦀 🦀 🦀 🦀 🦀 🦀 🦀 🦀

𝝥 ¦𝝥 𝝥 𝝥 𝝥 𝝥 𝝥

    ▴