recursive_recursion

joined 2 years ago
MODERATOR OF

please mark as NSFW~

 

cross-posted from: https://ani.social/post/5863580

This was posted on GKIDS official twitter account. This is part of the ongoing Studio Ghibli Fest 2024 that GKIDS has been running (in the US). I have managed to see a couple of the films so far this year and am trying to make 1-2 more before the year ends.

 

For context:
I've encrypted the swap partition with:

cryptsetup -v luksFormat /dev/${DEVICE}
cryptsetup luksOpen /dev/${DEVICE} swap

And what I want is for the user to be able to enter their password only once to decrypt their root partition which would contain a keyfile to then decrypt their swap partition.

Does anyone know if this is possible?
Just thought I'd ask to see if anyone's done this already

Links:

[–] recursive_recursion@programming.dev 0 points 2 years ago (2 children)

I'd recommend using uBlock with Firefox and/or Librewolf

 

I'm gonna leave out and remove [EthosLab] from the posts I've made here as it should be obvious that these are Etho's vids

 

cross-posted from: https://beehaw.org/post/15787798

Archived version

Naomi Wu has disappeared. Perhaps she has been disappeared. That’s not rare in China.

[...]

The proximate cause of her apparent disappearance, as Jackie Singh explains in detail here, was a discovery that Naomi Wu, an experienced coder, had made. It seemed that the cute little cellphone keyboard applications developed by the Chinese company Tencent, and used by just about everyone, were spyware. They could log keystrokes, and did it outside of even very secure applications such as Signal, so things that were sent securely could be “phoned home” by the keyboard app itself.

It seems, though the evidence is coincidental, that this was one too many cats let out of the bag, and the Chinese communist government of Winnie Xi Pooh acted quickly, with the results (probably understated) in the Tweet quoted above.

[...]

The silence has been deafening. People on the internet, especially young, enthusiastic websters, have long been thought unbelievably shallow, in it for whatever they could get out of it, and unwilling to take a stand on something important unless there was profit in it for them. We needn’t think that anymore — now we know it’s true.

What can be done? [...] Our government won’t lift a finger even for American citizens or very well known Chinese figures trapped under the thumb of the Disney-character’s evil lookalike, or the Uyghurs, unless there’s some political gain to be had, such as with the tattooed LGBT WNBA player who couldn’t be bothered to leave her dope at home during a visit to Russia.

[...]

China was afraid that silencing Naomi Wu would make the government there look bad. Let’s prove them right.

 
 

cross-posted from: https://lemmy.world/post/18444029

Source | Author: 寿喜烧九原 | Character: Eternity Larva

 

I just finished rewatching Eureka Seven (1-50) again and I forgot just how much I treasure it

As emotionally destroyed as I am, please if you have the time, consider watching the best anime that was ever made and let me know how you felt about it and what your thoughts are

I can't express in words just how devastated I am knowing that it's over and the hole in my body can't be filled no matter what I do

I love Eureka Seven

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago) (3 children)

who would use it when Linux just works in addition to Microsoft's continued enshitification of Windows?

[–] recursive_recursion@programming.dev 0 points 2 years ago (5 children)

how about nano?

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago) (2 children)

after a quick preliminary search,
a couple of things I've found out:

this might not necessarily be adopted by the mainstream desktop users, due to the nature of zram compressing data in addition to disallowing hibernation

Hibernating to swap on zram is not supported, even when zram is configured with a backing device on permanent storage. logind will protect against trying to hibernate to a swap space on zram.

  • data compression by nature incurs dataloss so there are both pro & con tradeoffs to which should be communicated to the user otherwise they might receive an unnecessary worse user experience:
    • "why is my computer so buggy?"
      • (the system is working as it's coded but not working in they way the user expects it to)
        • this would be unfortunate as they might leave back to Windows or MacOS
    • I could be completely wrong about this, if so please comment or disregard this section entirely

to me atm; zram seems great for server based systems rather than for desktop users' systems


one other method for zram mainstream adoption is to encourage an eccentric system that I'm currently using, which is to have the host system only contain minimal packages to run Virtual Machines:

  • zram compression might be fine as the main services/programs are run within their relevant and/or separated VM containers
    • this simultaneously achieves:
      • Wikipedia - Separation of Concerns
      • enhanced security as the host is further firewalled/bubblewrapped from the guest like Flatpaking/containerization (and malware is less likely to activate due to malicious users being unhelpful in letting their programs run in a VM 😢🤗)
  • hibernation can still be achived by save-stating VMs (VM restoration at will basically achieves hibernation so it doesn't really matter if the host is shutdown so long as all VMs are saved by the user before host shutdown)

sorry for the long comment!
stuff like this interests me the most so I've spent a lot of time in learning and tinkering around🤗

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago) (5 children)

definitely agreed on against using swap as memory as much as you can especially since it can needlessly wear out your ssd (m.2 on most if not all on modern systems)

allocating swap is still necessary as it provides features such as:

  • mitigating OOM scenarios (but doesn't prevent them completely)
  • enabling system hibernation(suspend-to-disk)

On my journey to learning Arch Linux I've personally tried:

  • 0 swap: which was pretty awful with constant unexpected system freezes/crashes
  • swap file: finicky but doable
  • swap partition: typical default/ol'reliable

the last two doesn't guarantee 0 problems as user errors such as allocating too much system memory to VMs can cause issues for the host system, but it does tend to mitigate the majority of issues that prevent the perception of system stability in comparison to Windows or Macs

Resources:

if you wouldn't mind
Please mark as NSFW🤗

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago)

what in the

very odd behaviour to say the least
that's their personal project or I hope anyways

As a software dev who's participated in a couple of game jams and several group projects,

  • I'd say that anyone that claims to be a designer but has no programming experience is typically incompatible with any project
    • and it's due to the disconnect of understanding just how difficult it can be to translate certain design tasks into functional code
[–] recursive_recursion@programming.dev 0 points 2 years ago (1 children)

I have to wonder if the game was Not For Broadcast

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago)

oh shit yo

this comment chain is pretty awesome, I learned a lot from this thanks!

[–] recursive_recursion@programming.dev 0 points 2 years ago* (last edited 2 years ago) (5 children)

modulo

pseudocode:

if number % 2 == 0
  return "number is even" (is_num_even = 1 or true)
else
  return "number is odd" (is_num_even = 0 or false)

plus you'd want an input validation beforehand

view more: next ›