17
submitted 1 month ago* (last edited 1 month ago) by t0mri@lemmy.ml to c/selfhosted@lemmy.world

cross-posted from: https://lemmy.ml/post/20536177

+-----------------+
| . local server  |
+-.---------------+
< . >
< . >
< . >
< . >
< . >
+-.-----------------------+
| . serveo/localhost.run  |
+-.-----------------------+
< . >
< . >               +----------------------+
< . >               |   .   raw data       |
< . >               | < . > encrypted data |
< . >               +----------------------+
+-.----------+
| . clients  |
+------------+

hellow,

i wanna host things (nextcloud, bin, syncthing) myself but im under cg nat so i cant do it the regular way. i have to tunnel my way out. the only concern is that, the raw data is readable by the ssh server (ie. serveo/localhost.run), but i dont anyone elses eyes on my data

sorry for my broken english.


edit:


please clarify me.

if i setup a vpn which provides encryption on my local server, can i go like this

+------------------+
|   . local server |
+-< . >------------+
 << . >>
 << . >>
 << . >>
 << . >>
 << . >>
+-< . >----------------------+
| < . > serveo/localhost.run |
+-< . >----------------------+
 << . >>
 << . >>               +-------------------------------------+
 << . >>               |    .   raw data                     |
 << . >>               |  < . > vpn encrypted data           |
 << . >>               | << . >> vpn encrypted data over tls |
 << . >>               +-------------------------------------+
+-< . >-------+
|   . clients |
+-------------+

sorry i dont know how to express this in words


this is what i was trying to say. so the idea, is that okay?

35
submitted 1 month ago* (last edited 1 month ago) by t0mri@lemmy.ml to c/linux@lemmy.ml
+-----------------+
| . local server  |
+-.---------------+
< . >
< . >
< . >
< . >
< . >
+-.-----------------------+
| . serveo/localhost.run  |
+-.-----------------------+
< . >
< . >               +----------------------+
< . >               |   .   raw data       |
< . >               | < . > encrypted data |
< . >               +----------------------+
+-.----------+
| . clients  |
+------------+

hellow,

i wanna host things (nextcloud, bin, syncthing) myself but im under cg nat so i cant do it the regular way. i have to tunnel my way out. the only concern is that, the raw data is readable by the ssh server (ie. serveo/localhost.run), but i dont anyone elses eyes on my data

sorry for my broken english.


edit:


please clarify me.

if i setup a vpn which provides encryption on my local server, can i go like this

+------------------+
|   . local server |
+-< . >------------+
 << . >>
 << . >>
 << . >>
 << . >>
 << . >>
+-< . >----------------------+
| < . > serveo/localhost.run |
+-< . >----------------------+
 << . >>
 << . >>               +-------------------------------------+
 << . >>               |    .   raw data                     |
 << . >>               |  < . > vpn encrypted data           |
 << . >>               | << . >> vpn encrypted data over tls |
 << . >>               +-------------------------------------+
+-< . >-------+
|   . clients |
+-------------+

sorry i dont know how to express this in words


this is what i was trying to say. so the idea, is that okay?

[-] t0mri@lemmy.ml 27 points 2 months ago

Tell me when youre so passionate about something would you ignore the goat in your domain just because that person is not from the same country as you?

663
submitted 3 months ago by t0mri@lemmy.ml to c/linux@lemmy.ml
[-] t0mri@lemmy.ml 9 points 3 months ago

I thought notepad++ was a joke

[-] t0mri@lemmy.ml 15 points 3 months ago

bruh... i just thought "man something like lemmy but for youtube would be great, maybe i can build one for fun" THIS MORNING. "decentralized and federated alternative to youtube" man this gonna be fkn great

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

i want to share audio over network so that i can use my tv as a wireless speaker. so i chose obs studio to make a stream out of my system audio coz i had it installed already. i went to settings -> output (advanced) -> recording (custom) and set ffmpeg output to output to url and set the url to udp://192.168.43.87:8081 and set container format to mp3 just to get started. so to test things out i ran mpv udp://192.168.43.87:8081 on the same machine and it plays audio. but when i tried accessing it from my android phone with mpv client, it doesnt play the audio, it just shows black screen for while and return to main menu of mpv app. thanks in advance.


edit

iptables:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             anywhere            

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

solution

I set the sender's IP address as output URL in obs studio, thats the issue. To fix this, set the receiver's IP address as output URL. Yeah you can't broadcast with this ig.

17
submitted 4 months ago by t0mri@lemmy.ml to c/linux@lemmy.ml

i recently switched to connman and i need a tui. so i searched for some and got:

but i believe both are orphaned. so it there any tui for connman out there?

10
submitted 4 months ago* (last edited 4 months ago) by t0mri@lemmy.ml to c/neovim@programming.dev

idk im having this issue for a long time. itd be nice to have this fixed.

thanks

Edit: I that doesnt help:

  • term=xterm-... in shell config
  • set-option -ga terminal-overrides ",xterm-256color:Tc" in tmux config

solution:

thanks to mazadin for the solution.

im using foo terminal, so setting set-option -ga terminal-overrides ",foot:Tc" in tmux.config fixed it. (yeah im dumb)

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

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

[-] t0mri@lemmy.ml 7 points 4 months 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 :]

88
submitted 4 months ago* (last edited 4 months 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

38
submitted 4 months ago* (last edited 4 months 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

[-] t0mri@lemmy.ml 11 points 5 months ago

that's so cool! it looks good too. i might need your help in the future.

70
submitted 5 months ago* (last edited 5 months 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 6 months 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

32
submitted 6 months ago by t0mri@lemmy.ml to c/security@lemmy.ml

There’s a server, a client, and a hacker in a network. For encryption, the client and the server need to share their private keys. Wouldn’t the hacker be able to grab those during their transmission and decrypt further messages as they please?

31
submitted 6 months ago* (last edited 6 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 7 points 7 months ago

Yeah i remember now. I have to format the partitions to complete partitioning. Thanks for info

[-] t0mri@lemmy.ml 26 points 7 months ago* (last edited 7 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?

[-] t0mri@lemmy.ml 9 points 7 months ago

For sure.

For fsck /dev/nvme0n1p2:

[-] t0mri@lemmy.ml 19 points 7 months ago

exactly. They use c and C (uppercase) alternatively, making it look like pacman is eating. hence the beautiful, charming, and cute progress indicator

btw dont think im crazy but ive set max parallel downloads to 200 and when i do a system update, damn that looks so good.

[-] t0mri@lemmy.ml 19 points 7 months ago
view more: next ›

t0mri

joined 7 months ago