smq

joined 4 weeks ago
[–] smq@discuss.tchncs.de 3 points 3 hours ago

Thank you! I will see if I can get my hands on one of those.

[–] smq@discuss.tchncs.de 3 points 4 hours ago (4 children)

How do you monitor power consumption? I'm new to self hosting and I want to do that.

[–] smq@discuss.tchncs.de 3 points 7 hours ago (2 children)

Since portals aren't real, maybe we can start from what we see in game: Chell can hold it for long periods of time without problem, so that puts an upper weight barrier on it. Valve must've figured out a way to fit portal technology into it, or found a way to stash its mass away. Or maybe it's heavier than average, but Chell is drugged to be able to hold it.

There's no power cord in-game, so its energy source must be self-contained, because I don't think it can get enough power by absorbing things in the air.

[–] smq@discuss.tchncs.de 1 points 7 hours ago

wow! this sounds cool and I'm definitely interested, but I don't know anything except basic physics and programming. and also I may not be that active because school is trying to murder me. can I still join?

[–] smq@discuss.tchncs.de 1 points 8 hours ago

I guess I agree, but also there's the type where I don't want to do something because of its sheer boringness. Not sure if that's ADHD though.

6
submitted 1 day ago* (last edited 3 hours ago) by smq@discuss.tchncs.de to c/celeste@lemmy.ca
 

I found an assist-esque setting to make extending hypers and supers easier! There's an 'extended variant' to turn off the dash regain cooldown, so that you don't have to wait on the ground for a bit before pressing jump. This means that all unextended hypers and supers become extended (i.e. you regain your dash after the technique).

You have to download the Extended Variants mod. Then, in Mod Settings, go to Extended Variants > movement > disable dash cooldown, and toggle it to ON.

Having instant extended tech will probably mess up your muscle memory for extended hypers or supers, so use it with care!


On a separate note, you can also try wavedashing.

A good practice map for extended hypers is 'Starry Ruins' from the Strawberry Jam mod, you can find it in the Advanced lobby. It's a short map but the last two rooms require doing extended hypers in a row, on small, falling platforms.

 

Hey Lemmy!

Exactly as the title says, where self-destructing means that no matter what email provider I, or my recipients use, the email will be gone after a set amount of time.

The methods I have come up with are:

  • using a PrivateBin or PasteBin link.
    • requires the recipient to click on a link that opens in another app/tab
    • easy to set up
  • using an HTML remote content stylesheet with CSS ::after to inject the body text of the email; then, if I control the server, I can delete the stylesheet and the email will be gone.
    • embedded in the email, but plain text only. I'm not even sure if it can do line breaks.
  • loading an SVG from a remote source

Does anyone have more methods?

 

In what ways do y'all use the telescope when playing through a map?

Me; I tend to skip it and go straight into platforming. If I encounter a segment that I can't get past, I'll use the telescope to view and think about it.

 

https://imgur.com/a/lY8aHZv

  • maps made by EllaTas
  • Imgur album not by me
  • the maps have some errors regarding the difficulty of some maps, see u/Zielander's Reddit comment
[–] smq@discuss.tchncs.de 12 points 6 days ago

no... I do just blindly trust the code.

 

If I have a very thin piece of scar tissue on my skin, and then I surgically cut the skin open right along the middle of the scar, and ensure that I do all the best scar healing practises (like holding the skin on either side of the wound together), what will happen? Will the scar get smaller or bigger?

 

Hey Lemmy!

This is a solution for fastboot not listing an Android device.

my device specs

my device specs

  • computer OS: Linux Mint 21.3
  • computer architecture: x86_64
  • USB cable: probably USB 2.0, but I'm not sure. It was not the one that came with my phone
  • phone model: Xiaomi MI 6X (wayne)
  • phone OS: MIUI 12

problem description

problem description

While my phone was in fastboot mode, I couldn't connect to it using the Linux fastboot command.

  • fastboot devices showed nothing:

    me@computer:~$ fastboot devices
    me@computer:~$ 
    
  • lsusb listed my phone if it was in normal system mode. If I was in fastboot, lsusb does not list my phone.

  • adb worked fine—but only if I ran it as root. If I started it as a normal user, it showed this error:

    me@computer:~$ adb devices
    List of devices attached
    n22i3nf0    no permissions (user in plugdev group; are your udev rules wrong?);
    see [http://developer.android.com/tools/device.html]
    me@computer:~$
    

    I had to do these steps to make adb devices list it properly:

    me@computer:~$ adb kill-server
    me@computer:~$ sudo adb start-server
    
  • other phones were working fine with both adb and fastboot.

solution

solution

I had to add my phone's device and vendor ID to /etc/udev/rules.d/51-android.rules. My other phones were added already, that's why fastboot worked with them, but this phone wasn't added, so it did not work. This solution is also the standard solve for the "no permissions (user in plugdev group)" error, so if the below guide doesn't work, try someone else's guide.

The below text is from this gist, with some edits.

  1. First, we are going to determine your phone's vendor ID and device ID. Reboot your phone into normal system mode. (we can't get the IDs in fastboot mode because lsusb doesn't show the device.)
  2. Unplug your device from the computer and type lsusb in the terminal. You should get an output similar to this:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 033: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 003 Device 047: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 002: ID 174f:148d Syntek 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  1. Now plug your phone into the computer and run the command again, the output should be different:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 033: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 003 Device 047: ID 045e:07fd Microsoft Corp. Nano Transceiver 1.1
Bus 003 Device 002: ID 174f:148d Syntek 
Bus 003 Device 060: ID 05c6:6765 Qualcomm, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  1. Take a note of the new output ID. For me it's Bus 003 Device 060: ID 05c6:6765 Qualcomm, Inc.

  2. record the characters after ID (in this case, it's 05c6:6765). The four characters before the colon are the vendor ID and the four characters after are the device ID.

  3. edit the file /etc/udev/rules.d/51-android.rules and add this:

    SUBSYSTEM=="usb", ATTR{idVendor}=="vendor_id", ATTR{idProduct}=="device_id", MODE="0666", GROUP="plugdev"
    

    make sure to replace vendor_id with your vendor ID and device_id with your device ID.

  4. Save and close the file.

  5. Now in the terminal, run this, which makes the file readable by all users. I don't know why this is necessary.

    sudo chmod a+r /etc/udev/rules.d/51-android.rules
    
  6. restart your computer. This is what I did to make it work, but if you don't want to, other methods I've seen are:

    • sudo systemctl restart udev
    • or:
      sudo udevadm control --reload-rules
      sudo udevadm trigger
      
  7. Now you can try the command fastboot devices and it should successfully list your device as one of the entries.

still doesn't work?

Other solutions which I have seen:

  • use a different USB cable
  • use a different USB port
  • use a different computer
  • use a different OS: switch from Linux to Windows, or vice versa, or use a different version of Ubuntu.

Good luck!

17
submitted 1 week ago* (last edited 1 week ago) by smq@discuss.tchncs.de to c/celeste@lemmy.ca
 

I made this a few years ago from the game assets. Thought you folks might like it.

the version from the Lemmy post media preview

a version with "You can do this." written in Renogare (the Celeste UI font)

image properties:

  • 2136 pixels wide, 1300 pixels tall
  • around 3.5MB each
  • PNG
[–] smq@discuss.tchncs.de 3 points 1 week ago
[–] smq@discuss.tchncs.de 4 points 2 weeks ago (1 children)

Thanks, but there isn't a "turn off play service availability" option in my settings...

[–] smq@discuss.tchncs.de 1 points 2 weeks ago

not sure about standard, but privacyguides.org has some nice resources for getting started. I recommend their "threat model" resource in particular; it shows you what direction you should work towards depending on your privacy goals.

Privacy Guides has an Android page as well.

[–] smq@discuss.tchncs.de 1 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Which LineageOS are you using? Mine has it on the very left and I wish it was on the bottom.

 

Hey Lemmy!

I have an app that keeps showing a pop up that it "doesn't run without Google play services". It in fact runs just fine, except for the pop up, which is extremely annoying. What are my options for removing it? And, how do apps know that I don't have Google play services?

extra details

  • I use LineageOS 21 on Android 14

  • the app is the paid version of TripView (installed via Aurora Store)

  • I tried installing microG, but it didn't remove the pop up—maybe because I haven't set up the "system spoof signature" option. But even if I do set it up, I'm concerned about:

    1. microG running some background services, wasting battery (because the app functions without any extra services)

    2. unnecessarily connecting/sending information to Google's servers

edit for clarity:

The "pop up" is an in app widget-like thing, not an Android notification. It looks like this:

it's not solved yet, but thanks to everyone for your support! :)

[–] smq@discuss.tchncs.de 2 points 2 weeks ago

it's an open access article!

[–] smq@discuss.tchncs.de 2 points 2 weeks ago

I don't know what perchance.org is but good luck!

10
submitted 3 weeks ago* (last edited 2 weeks ago) by smq@discuss.tchncs.de to c/matrix@lemmy.ml
 

Hey Lemmy!

Exactly as the title says.

I'm a user, not a server admin, so this is about deleting messages I've sent rather than cleaning old messages on a server. Ideally I'm looking for a script which I can run on a timer once a day, and each time it runs, it will delete all my messages, or my messages in some specified rooms, that are older than say two weeks. Basically an automated finger that presses the delete button repeatedly.

I know about m.room.retention but I don't want to have to set it for every room. And it doesn't seem to be reliable; it doesn't work in a matrix.org test room I set up with one minute retention. Even when I cleared the cache.

The closest I've found is this branch, but as this issue mentioned, it purges all messages rather than only messages older than X time.

If no one has a better script, I'll write one myself or fork the above script. But in case anyone here's already gone to the trouble... I won't have to learn the Matrix API :)


Edit 1:

I did make the script, but it's slow; each message deletion sent to matrix.org has to wait about 4 seconds due to rate limiting. I send a lot of messages per day, so it's barely an acceptable solution.

The whole concept also feels awkwardly inefficient because I have to send a request for each message, rather than the server and clients running their own timers.

I moved to Delta Chat for now, for its disappearing messages.

I found some nice comparison tables of instant messaging services that could be of use:

view more: next ›