[-] t0mri@lemmy.ml 7 points 3 days ago

His professor ig

[-] t0mri@lemmy.ml 2 points 4 days ago

It can do that!? Thats awesome

[-] t0mri@lemmy.ml 3 points 4 days ago

Not what Im asking for, but this is awesome!

[-] t0mri@lemmy.ml 8 points 4 days ago

Yeah, I have bash ls installed, but it wont teach me coding standards right

[-] t0mri@lemmy.ml 2 points 4 days ago

I assume you opened the link. Did you read that projnct intro by any chance? Im struggling to name the project. Some suggestion can help.

[-] t0mri@lemmy.ml 2 points 4 days ago
[-] t0mri@lemmy.ml 4 points 4 days ago

Yeah I came across that google's guide, but I skipped it when I found out its from google. And thanks for informing about the link, I made a typo

[-] t0mri@lemmy.ml 7 points 4 days ago

Thanks. I checked it out. It'd be cool if they have LSP setup.

And thanks for informing about the link, I made a typo :]

84
submitted 4 days ago* (last edited 4 days ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

i didnt care about how i wrote my bash scripts, coz i know theyd ultimately be used just by myself. but for the past few day, i've been working on this project, mk-blog which uses some bash scripts, there are chances that others might look at them. besides in work they're asking me maintain a server. so why not learn the standards. but i couldn't find anything good online (i'm gonna blame my search engine lol). so...

i'd appreciate redirections to (official or community) bash coding standards

[-] t0mri@lemmy.ml 1 points 4 days ago

My assumption:

  • Hell be the host, hell control the stream and no one else. So one sender with no internal communication (coz they might have discord or something setup for their conversations)
  • according to google, the average no of friends is 5. So may be around 5 receivers
38
submitted 1 week ago* (last edited 1 week ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

im on a dinit based system and want to start syncthing as a regular user service. currently, its running as root (which bugs me a lot, as it's playing on the network) using the syncthing-dinit service located at /etc/dinit.d/syncthing. i know i can run it with a custom syncthing dinit service file. but, i just want to know how to make use of the existing syncthing-dinit service file

thanks in advance

70
submitted 1 month ago* (last edited 1 month ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

greetings, i want to build a daw (digital audio workstation), but i have no idea where to even start. here are my needs and the options i've found:

my needs:

  • load and keep things (audio, midi) in memory
  • cross-platform compatibility is not a requirement

the options i've found:

  • ~~flutter~~
  • ~~gtk/qt~~
  • raylib (with zig)
  • ~~webassembly (with zig)~~

[rejected] flutter: the first option that came to my mind was flutter. i thought it would give me a quick start in laying down the ui, but i don't think it has the capability to fulfill my needs (please correct me if i'm wrong)

gtk/qt (with zig): i wonder if qt provide bindings for zig

raylib (with zig): it's cool (my choice as of now)

[rejected] webassembly (with zig): it would be an ultimate comfort to build this way ig, but is it possible to make that web app into desktop one (like tauri or something)?

id really appreciate your opinions and advice

ps: i hope i'm clear. i got a headache searching about these. i'll update this post for more clarity later

final note

Thank you guys for all your opinions and advises. Thanks for explaining the limitations with gtk, things with qt and flutter. That kotlin compose thing was cool too. Thanks for mentioning yabridge thats gonna be helpful. It might not seem like it, but I did listen to your thoughts, and stuck with zig and raylib. Thanks a lot

27
submitted 1 month ago by t0mri@lemmy.ml to c/linux@lemmy.ml

this command line music player, kew, looks so good, wanted to share it with you guys. but it needs improvements (a lot) tho

https://github.com/ravachol/kew

30
submitted 2 months ago* (last edited 2 months ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

i did update my machine with pacman -Syu. after rebooting, i cannot login. i con see this error Failed to start Virtual Console Setup a tiny second right before log in screen. i had to capture it in slow mo to able to read it. i attach the image below.

and on the login, after i enter my username and hit enter it just hangs for a while without asking the password and asks for username again. it acts like when you enter wrong password.

Fix

turns out /bin some how got messed up. thanks to @wwwgem, i looked into system logs (journalctl) and fixed it

[-] t0mri@lemmy.ml 26 points 2 months ago* (last edited 2 months ago)

😭😭😭🤧 THANKS!!

im saved. My machines saved. Thanks a lot!!

Whrt happened anyway? Why cfdisk didnt wipe the data? I thought it would everything after 32g, but all my data is un touched. What happened?

149
submitted 2 months ago* (last edited 2 months ago) by t0mri@lemmy.ml to c/linux@lemmy.ml

I was editing my disk and when i wrote the changes and exited cfdisk, no cli command worked. Thats when i realized that im f-ed up.

This what happened: I have 3 partitions, 512M efi, a 100G root partition and some free (unallocated) space. I had 84G worth data in the root patition. I totally forgot that and shrinked the root partition to 32G to extend the free space. I was using cfdisk tool for this. I wrote the changes and rebooted my machine, by long pressing power button coz no cli commands worked after writing those chrnges, to see this.

So is it possible to recover my machine now?

:_ )

SOLUTION Thanks to @dgriffith@aussie.zone. cfdisk just updates the partition table. So no worry about data damage . To fix this, live boot -> resize the partition back its original size -> fsck that partition. For more explanation, refer @dgriffith@aussie.zone comment

21
submitted 2 months ago by t0mri@lemmy.ml to c/linux@lemmy.ml

Are there any issues?

37
submitted 3 months ago* (last edited 3 months ago) by t0mri@lemmy.ml to c/foss@beehaw.org

.

29
submitted 3 months ago by t0mri@lemmy.ml to c/linux@lemmy.ml

I cerrently on "colemak" layout and wanna switch to "colemak-dh" but dunno how to set it up. Im on arch + hyprland (wayland) setup.

view more: next ›

t0mri

joined 3 months ago