@nirogu@vivaldi.net
@nirogu@vivaldi.net avatar

nirogu

@nirogu@vivaldi.net

Computer scientist and mathematician

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nirogu,
@nirogu@vivaldi.net avatar

If the child is really young, check out the sugar desktop environment. There is an official distro from sugarlabs and there is also a fedora spin (fedora soas)
If the computer should be a little more functional, the GNOME desktop or the Deepin desktop are good options imo

nirogu,
@nirogu@vivaldi.net avatar

Although the most active instance by far is pixelfed.social, that shouldn't be relevant as you can interact with any pixelfed or mastodon account/posts no matter the server you join. So, you could join any pixelfed instance and follow the mastodon.art (most active multimedia instance) users, for example

nirogu,
@nirogu@vivaldi.net avatar

As far as I know, no. But you can from mastodon, pleroma, or other similar microblogging oriented software

Migueldeicaza, (edited ) to random
@Migueldeicaza@mastodon.social avatar
nirogu,
@nirogu@vivaldi.net avatar

@Migueldeicaza impressive!
Is Microsoft also developing the @pytorch compatibility or is it someone else's job?

dansup, to random
@dansup@mastodon.social avatar

Pixelfed.social approaching 100K users 🥳

It may seem like a huge instance, but with 5K MAU, only 5% of users are active.

I have a few plans to increase MAU and improve retention!

nirogu,
@nirogu@vivaldi.net avatar

@dansup what do you mean by active users? Posting pictures only or just logging in counts too?

nirogu, to linux
@nirogu@vivaldi.net avatar

Run command as not-root

Hi everyone

At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.

Does anyone know how to do it? Thanks in advance!

@linux

nirogu,
@nirogu@vivaldi.net avatar

@astray yeah, that could be an option, but if more users exist in that machine then other processes might fail as that instance is part of a bigger cluster that has several processes running. It might not be a big deal, but checking that may still need some work. I'd prefer a way to do it without creating new users, if it exists

nirogu,
@nirogu@vivaldi.net avatar

Forgot to mention that creating a new user brings a lot of problems because of how that machine is configured and all the tools that would need to be added the new user's permission. In theory it would eventually work after some time working on it, but I'd like to know if there's a way to do it without creating users (or if it's impossible, so I can just go on with that only option)
@linux

nirogu,
@nirogu@vivaldi.net avatar

@Rustmilian yeah, already tried it. The problem is that all of the apps in the instance are only installed for the root user (e.g. python and all it's libraries. So, when I use su -c all I get is a lot of command not found messages that would take a lot to solve. Besides I expect a lot more problems when the command needs access to some files and some processes (like a sql database) that would require me to do a lot of stuff to grant permissions to the new user. That would eventually work but given the work it requires I thought that some kind of "anti sudo" command or something like that could exist so I can still be the root user but pretend I am not a superadmin

nirogu,
@nirogu@vivaldi.net avatar

@Oisteink in another comment (https://social.vivaldi.net/users/nirogu/statuses/111342629815373353) I explained why I'd prefer not to create another user, as it would require a lot of work to configure everything again for that command to work (it's a big process). I was thinking of hiding my sudo permissions from the program or something like that, if possible, because many things in the instance are only configured to be used with the root user, even if they don't require sudo. Anyway, I'm seeing that it might not be possible so creating a new user could be the only option 🙁

nirogu,
@nirogu@vivaldi.net avatar

@astraeus yep, completely agree on the security issues, that is a mistake that should be fixed. But for the moment I confirmed that root is the only user, and every file and program in the instance can only be used by root (I just created a new user and tried to run the command with su -c but got a lot of permission denials and command not found)
If I could hide or disable my own sudo permissions that would save me a lot of work, but I'm starting to think that something like that doesn't exist 🙁

nirogu,
@nirogu@vivaldi.net avatar

@Oisteink yep, that seems the right thing to do. Honestly, most of the real problem was lazyness to reconfigure everything, and that's why I published the question. But now I'm convinced that that's the only way lol
Thanks for the help!

nirogu,
@nirogu@vivaldi.net avatar

@ursakhiin honestly, didn't consider it. Just checked and the "docker" command doesn't even exist so I assume that is not the case. Do you know if the is any other way I can be certain?

nirogu,
@nirogu@vivaldi.net avatar

@ursakhiin honestly, I didn't even know an aws instance could be a docker image. Everything I did was creating the instance normally so I assumed it was just a regular vm. But already double checked and it is not a docker image, so no problem there 🙂

nirogu,
@nirogu@vivaldi.net avatar

@elscallr I agree about the instance configuration, fixing that is the real solution
My question was not about running something as another user, but about hiding the superadmin privileges from a single command I'd execute without switching users. However it is clear that something like that doesn't exist so I'll do the right thing and set everything to work with a new user

pixelfed, to random
@pixelfed@mastodon.social avatar

⚠️ Android beta testers

Have you seen the "Package appears to be invalid" error when attempting to update?

Simply uninstall the app, and re-install from scratch!

(We're in the process of submitting the first build to the Play Store, soon it will be much easier to get and update the app)

nirogu,
@nirogu@vivaldi.net avatar

@pixelfed I assume the first build will be in fdroid too, right?

PaLI-3 Vision Language Models: Smaller, Faster, Stronger (arxiv.org)

This paper presents PaLI-3, a smaller, faster, and stronger vision language model (VLM) that compares favorably to similar models that are 10x larger. As part of arriving at this strong performance, we compare Vision Transformer (ViT) models pretrained using classification objectives to contrastively (SigLIP) pretrained ones. We...

nirogu,
@nirogu@vivaldi.net avatar

Impressive results! Only wished they had shared some code or any way to replicate the experiments easily

nirogu,
@nirogu@vivaldi.net avatar

Very well explained! Especially given how difficult RL can be sometimes

nirogu,
@nirogu@vivaldi.net avatar

Great news. Seems that most of the community uses KDE anyway, so this should make things faster for most installations

nirogu, to linux
@nirogu@vivaldi.net avatar

Problem with WiFi driver in arch linux

Hi everyone

I've been trying to solve a problem with my arch (endeavour) instalation and wanted to know if anyone here can help

Everything is working well, excepting the WiFi connection. It is extremely slow, sometimes disconnecting from the network, and in the task bar, the WiFi icon shows that the signal strength is weak, although the router is in the same room. Switching between r8168 and r8169 as recommended doesnt work. Any ideas?

@linux

nirogu,
@nirogu@vivaldi.net avatar

@Rustmilian @linux Just tried that but no change. iwconfig was not found but I installed it through the wireless_tools arch package. Also confirmed that the linux-firmware package was always been installed with the iwlwifi-8265-34 and iwlwifi-8265-36 files in the folder you said. When I ran the iwconfig wlan0 power off command, there was no error but the connection quality didnt change, so I didnt do the rest of the suggestions
@Link commented they had the same issue but in the end decided that the solution was replacing the realtek card for an intel because the drivers just dont work. Im starting to agree, but still dont know how this issue didnt exist when I had fedora running

nirogu,
@nirogu@vivaldi.net avatar

@Link @linux Yeah, I'm thinking that that could be the way. I've already had a lot of progress maintaining the connection by configuring iwlwifi but it is still way slower than it should

nirogu,
@nirogu@vivaldi.net avatar

@Kalcifer @linux
[ 5.010372] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[ 5.108148] iwlwifi 0000:01:00.0: Detected crf-id 0xbadcafe, cnv-id 0x10 wfpm id 0x80000000
[ 5.108171] iwlwifi 0000:01:00.0: PCI dev 24fd/0110, rev=0x230, rfid=0xd55555d5
[ 5.137796] iwlwifi 0000:01:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[ 5.556122] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[ 5.614915] iwlwifi 0000:01:00.0: base HW address: 60:f6:77:eb:1e:6e, OTP minor version: 0x0
[ 5.689840] iwlwifi 0000:01:00.0: iwlmvm doesn't allow to disable HW crypto, check swcrypto module parameter
[ 13.355547] iwlwifi 0000:01:00.0: Registered PHC clock: iwlwifi-PTP, with index: 0

nirogu,
@nirogu@vivaldi.net avatar

@Link @linux Yeah the kernel changes nothing, I might have to change to intel because I dont know what else to do at software level
About the @ , I'm using my mastodon account to write all these posts and they are added automatically. Besides thats the best way for the posts I write in mastodon to appear as comments in lemmy clients. If they look weird to you it might be activitypub compatibility bugs but nothing too important :)

nirogu,
@nirogu@vivaldi.net avatar

@Rustmilian @linux Yeah, it's close to impossible to find documentation on what to do here. I'm trying to find out how is it that Fedora works well with the same hardware, and even considering changing the card itself, but for the moment at least my connection is much more stable after setting the iwlwifi.conf file
Once again, thank you for your help!

nirogu,
@nirogu@vivaldi.net avatar

@Link @linux Yep, writing from Tusky right now. The fediverse is great :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • tacticalgear
  • magazineikmin
  • vwfavf
  • Youngstown
  • ngwrru68w68
  • ethstaker
  • slotface
  • rosin
  • mdbf
  • thenastyranch
  • PowerRangers
  • anitta
  • modclub
  • Durango
  • cubers
  • osvaldo12
  • GTA5RPClips
  • everett
  • khanakhh
  • InstantRegret
  • Leos
  • tester
  • normalnudes
  • cisconetworking
  • megavids
  • All magazines