There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

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

N0x0n OP ,

Yeah but that doesn’t answer my question: What’s the implication of ./ in the tar file? I mean when I extract them, both seem similar but most people say it’s bad practice or not recommended but why?

I know and do understand how to achieve both with and without the root folder.

N0x0n OP , (edited )

Thank you, I think this is a good lead, but couldn’t find a lot of information about it. But the general gist is that it could overwrite my folder structure and mess up the filesystem (source). All sources I found are very old, does that mean that there’s some kind of protection today?

I also found out that it will extract the permission and owner to the current directory :/ so this a very odd behavior… (source).

Thank you for your answer !

N0x0n ,

He will surely die on his hill… ALONE !

N0x0n , (edited )

Strange electrical signal and high dopamine level flooding your brain 😍🤪

PSA: Docker nukes your firewall rules and replaces them with its own.

I use nftables to set my firewall rules. I typically manually configure the rules myself. Recently, I just happened to dump the ruleset, and, much to my surprise, my config was gone, and it was replaced with an enourmous amount of extremely cryptic firewall rules. After a quick examination of the rules, I found that it was...

N0x0n ,

Option to disable this behavior would be 100x better then current, but what do I know lol

Prevent docker from manipulating iptables

Don’t know what it’s actually doing, I’m just learning how to work with nftables, but I saved that link in case oneday I want to manage the iptables rules myself :)

N0x0n ,

You can somehow change that behavior: Prevent docker from manipulating iptables

N0x0n , (edited )

If you are talking about the IP address then just add a static address, no? I do it anyway in my docker compose:


<span style="color:#323232;">...
</span><span style="color:#323232;">    networks:
</span><span style="color:#323232;">      traefik.net:
</span><span style="color:#323232;">        ipv4_address: 10.10.10.99
</span><span style="color:#323232;">
</span><span style="color:#323232;">networks:
</span><span style="color:#323232;">    traefik.net:
</span><span style="color:#323232;">      name: traefik-net
</span><span style="color:#323232;">      external: true
</span>

I’m not an expert so maybe I’m wrong, if so do not hesitate to correct me !

EDIT: If the IP address doesn’t change, you do not need to change to routing and iptables/nftables rules. ??

N0x0n ,

Interesting and fun read, thank you !

In the beginning, the earth was without form, and void. Wait, a bit too far behind. 😁

N0x0n , (edited )

There is nothing better than Nextcloud for files, I was trying to use syncthing and seafile - both sucks in one way or another.

Syncthing is a sync utility wich is different from a cloud service. They both have different purpose and are for different tasks. IMO as cloud service go, they all suck (nextcloud, seafile, owncloud) if you’re just looking for a simple and unbloated selfhosted cloud service.

Also, I was using vikunja for tasks but it’s UI and UX… Well, strange and not eye-candy. I hope someday they’ll rewrite it.

I find it’s UI and UX pretty good, I really like it ! But with the new editor update it fucked up the caldav integration with jtxBoard, but it’s in the backlog and he/they are already working on it !

N0x0n , (edited )

You could have saved hours by just using mkvpropedit writing a simple 3 line bash script that loops through your files.

Just saying 🤷🏼

N0x0n , (edited )

Maybe try c+v and do it in 10 seconds?

9h 59m and 10s

You’re welcome !

N0x0n , (edited )

I’m thinking of 2 3 issues here.

Either your file had the propertie flag –forced-display-flag for the audio track 1 and this would force the audio 1 to play even if you changed the flag-default with mkvpropedit. In that case you have no other choice to remux your file with mkvmerge and change the flag to –forced-display-flag 1:no (if it’s the audio track 1) I have no idea why someome would force an audio track…

Or you didn’t used the –edit track:s1 flag with the flag-default propertie, which uses mkvmerge under the hood. Reading through my notes there is a superuser.com link talking specifically about that, and how it could fuck up your tracks order if you don’t use the track flag.

Edit: This is only true if your player is capable to select the audio based on the flag default or forced. Otherwise you have to remux the file and change the order of tracks with the –track-order flag with mkvmerge. This could be the case for Plex, you can probably find that info in the plex documentation !

Edit2: Plex seems to use both but I would suspect plex or bad flags being the culprit here rather than mkvtools.

N0x0n ,

Thanks for sharing your script :) I never thought you would need such a complex (not a programmer so it’s complex for me xD) script. This seems a full automation and looks great ! Well done, it was worth it !

N0x0n , (edited )

You’re right ! And I really should get used to how debian works with su.

But with docker it’s very convenient to add an user in the docker groupe with sudo :/

N0x0n ,

I tried it a few month ago. The docker support is still terrible :/. But I read somewhere at the same time they are going to improve that specific point.

The project is cool and I hope the devs are not going to abandon the project!

N0x0n OP ,

This is probably the most precise way ! It feels a bit stupid to say… But I have actually no idea how to use that device :/… Maybe something I need to add to my toLearn list.

Also, I’m trying to find my way arround linux and because everything is mathematically doable with the right values, a good estimate through a code/command is more convenient.

N0x0n OP ,

My goal is to calculate the power drawn from my laptop without any electric appliance (maybe a worded my question/title wrong?). While It could be easily done with the top package or lm-sensors, this only work by measuring the battery discharge, which in my case is impossible because my laptop is directly connected to the outlet with his power cord (battery died years ago).

I dug a bit further through the web and found someone who asked the same question on superuser.com. While this gives a different reference point, nobody actually could answer the question.

This seems a bit harder than I though and is actually related to the /sys/class/powercap/*/energy_uj files and though someone could give me a bit more details on how this works and what the output actually shows.

This is also related to the power capping framework in the linux kernel? And as per the documentation this is representing CPU packages current energy counter in micro joules.

So I came a bit closer in understanding how it works and what it does, even tough I’m not sure what am I actually looking at :\ .

N0x0n OP ,

I’m not sure about that. Specially because it’s used as a bare bone server without any GUI with the lid closed. So it will draw way less power than showed on the charging brick.

N0x0n OP ,

Naaah maybad ! My title was probably a bit missleading and not precise enough.

N0x0n , (edited )

Thanks for sharing, very cool stuff in there and great job ! Bookmarked !

While reading through your reverse proxy concept post, I think this statement is wrong:


<span style="color:#323232;">As a sub-domain:
</span><span style="color:#323232;">- Cons: require additional certificates for HTTPS/SSL for each sub-domain
</span>

There are actually wildcard SAN certificates where you can access all your subdomains with a single certificate: https://*.mydomain.com

Or you can add all your subdomains in a single certificate.

Great work and thanks for sharing !

N0x0n ,

That’s true. But it doesn’t take away the possibility to use them in a selfhosted environnement.

Large enteprises like facebook and google still use them, but they have the backing to secure them safely.

Also, there is always the possibilty to add all subdomains in one certificate which takes away the wildcard subdomains.

N0x0n ,

People who hang toilet paper the wong way

Wait, there’s a wrong way?

Tumblr and Wordpress to Sell Users’ Data to Train AI Tools (www.404media.co)

this could not be timed worse for Tumblr which is in huge hot water with its userbase already for its CEO breaking his sabbatical to ban a prominent trans user for allegedly threatening him (in a cartoonish manner), and then spending a week personally justifying it increasingly wildly across several platforms. the rumors had...

N0x0n ,

Just chiming in, sorry for my bad english.

Your comments are filling me with sadness and despair. You must be the kind of person who years ago warned about all this and most people just laught or called you some creepy tin-foilhat conspiracist. :/

The internet is changing very fast and not for the good. It’s somehow comparable what’s going on everywhere in the world… Greedy oppressors who only care about themselves, while millions people are suffering…

It feels somehow we have already lost…

Is it worth buying the Mac keyboard for a dedicated Linux PC instead of the windows one?

What is your personal preference based on experience? I Assume because Mac is Unix and Linux is Unix based, it would be more suited, but I have no personal experience with the layout. I am willing to try something new if i hear enough merits for it, and I also find the windows layout somewhat inadequate(The grass is greener on...

N0x0n , (edited )

Hummm… personal preference, but when I SSH into a linux server with my Mac… I totally hate the keyboard shortcuts… They are driving me crazy.

Windows keyboard shortcuts, feel more “native” and easier to use.

Can’t explain it, but while I used both, I totally hate the mac keyboard shortcut keys.

Doing something like CMD + Option + bsp that reflects to alt + bsp on windows… :/

N0x0n , (edited )

Been there, now I have over 12 containers running h24 on an old spare laptop with everything exposed via traefik (reverse proxy), self-signed CA, local DNS… what a ride ^^'.

The best advice and thats what helped me to get going, is to watch/follow some youtube videos about docker and how to expose your first container locally, so you get the general gist on how it works.

2 years ago, NetworkChuck introduced me to docker container. Not saying he’s the best youtuber to get you into docker and learning and stuff, but it’s a GOOD starting point :).

There is also Christian Lempa, Tech world with nana, who also will you give you some good pointer with docker and docker compose.

Good luck !

N0x0n ,

Looks cool :) but AL2? no thank you !

N0x0n ,
  • The MIT and Apache licenses are permissive licenses that allow developers to use the licensed code in proprietary projects without having to disclose the source code.

I understand that some projects needs these kind of license to protect their code, I get it. But this will most of the time shift the project to a closed proprietary/paid service over time… leaving the open source community with a strange feeling of being abused.

It’s not always the case, but it happened in the past, leaving people to fork the project and strating over.

  • Licensees may redistribute Derivative Work under different terms.
  • Licensees do not have to distribute the source code alongside with their Derivative Work.

itsfoss.com/open-source-licenses-explained/

N0x0n , (edited )

This tutorial is what you are looking for.

It’s what I used to achieve exactly what you want :). It’s a goldmine of information and will give you exactly what you want :).

There is a lot to read and process and infos are a bit scattered arround, but everything you need to know (and more) is written there.

Good luck !

N0x0n ,

Sometimes, the less you say, the better. You have to manipulate them and do not worry about if it’s bad/wrong. In the corporate world, most are just greedy assholes who don’t care about who you are.

Don’t ever lie on your resume, just make it glittery on how THEY want to see it, not how you feel about it.

It’s a sad world we are living in right now, good luck don’t ever give up !

N0x0n ,

This is sad, but true ! But I have to say that lemmy decreased my binge scrolling I had with reddit, so it partially solved that addiction.

N0x0n ,

You should give it a try ! You will feel reborn after a long session with cold water on top !!!

But yeah, Alot of people somehow hate the heat wave of sauna. You can even break down if you go ower your own limit !

If i could I would go there twice a week :)

N0x0n , (edited )

Navidrome + Tempo is a must have for android users !

Only thing missing in Tempo android app, it’s multi-user account for those who want to share with family/friends over android.

N0x0n ,

To navidrome, yes. But they won’t work over the android Tempo app.

N0x0n ,

I edit my post with links :)

N0x0n ,

Edited my post :)

Navidrome has multi-user support, but Tempo android app doesn’t support it.

There is some kindof workaround, with docker volumes but i’m not a fan of these kind of tricks.

N0x0n ,

Owww that’s a nice hint ! If I understand it correctly, my script in /home/server/myscript is at risk of privilege escalation because it’s owned by the user.

What’s the best practice to store scripts that have sudo commands? Because changing the owner of the home path to root doesn’t make sense.

N0x0n ,

Thanks :)

N0x0n ,

This seems like something Kojima would say haha !! But it applies to every new “next-gen” game/console convention/livestream with big publishers/editors.

Tired of those fumbling buzz words that doesn’t reflect the actual real gaming experience anymore, but rather the investors deep pockets.

Thankfully we have indie games and they mostly have way better time/investement/amusement ratio !

N0x0n OP ,

If you don’t use keyboards this way, vim will probably ruin you. I know a lot of people who are proficient typists who never learned standard touch typing, instead home-rolling their own cursed setup that works for them, and god bless them, but they would be hard-pressed to negotiate vim. If this is you, vim may not be the editor for you.

Yeah so vim isn’t for me right now… Maybe in a unknown future where I find the motivation to learn the standard touch typing, but I have the feeling this add to much constrain and strange wrist movements (maybe i’m wrong ).

Thanks your thoughtful input and personal experience !

N0x0n OP ,

Heyy ! Thank you! I installed it right away and it seems exactly something I had in mind ! Plus point, it’s written in GO and their documentation seems on point !

Do you think it makes sens to “sync” the shortcuts between micro and the terminal? I mean, changing ctrl+e and ctrl+a in micro to have the same behavior as in my bash terminal? Or does your brain just switch between them and you always now when to use what shortcut?

Hope it makes sense and you somehow understand what I’m trying to achieve/explain.

Thanks again !

N0x0n OP ,

Hiii !

That’s not a nano problem, that’s just where you’re at on the learning curve right now. You probably would have made the same trip-ups in another text editor for the same reason.

You’re right ! but I have to add that I found nano’s default shortcuts really “out-of-tune” and not intuitive at all (personal opinion). Sure I could have changed them to my liking, but that would cause portability issues I do not want to cope with !

I don’t think you have to learn every last little thing about a text editor, just what you normally do: Move the cursor around, enter text, delete text, search, replace. Don’t worry about learning everything, learn what you need as you need it.

👍

As for universal, I’m afraid that it’s probably going to be vi and its descendants. It’s been included in many UNIXes and UNIX-alikes for decades (it’s even built into busybox) for a reason: It’s small, lean, mean, and if you absolutely, positively have to rescue a broken box, it’s always there in /bin.

Ouch ! A lot of people actually tend to suggest that also, while I only tried vim once, I just uninstalled it after I had to google “how to exit vim” :| ! It was way to much of a hassle to just edit text :/. But as I read above, and as you said, just learning the basic stuff is enough to begin to like it and get comfortable.

I’m uncertain which one I should stick with, someone suggested Micro, which seems really cool and more in sync on how I use the terminal at the moment. But there’s also the fact that vim is more universal and present everywhere, and even If you, as a long timer, switched to vi after 15 years, shouldn’t I just make the switch right now?


One last technical question if you don’t mind, I already asked someone else but I’m interested in your long lasting technical expertise.

Does It make sense to adapt/sync the keybinding shortcuts between the terminal and the text editor? Or do you know which one to use in every case scenario? Probably stupid, but that was probably my initial question with my Post, because I was sooo frustrated I couldn’t use the same shortcuts in nano… That’s what I was referring as “universal”, (wrong word choice :).

Thank you for your inputs !!!

N0x0n ,

I saw something similar to twitch working in the blockchain architecture. It seems like a cool project where bandwidth is shared among users. But the crypto-scheme leaves a kinda strange feeling about it.

N0x0n ,

Looks very neat! Thanks for the link, Something to keep an eye on !

N0x0n ,

That’s actually not the RSS reader’s fault. It’s the rss feed you import that behaves like that. It’s on purpose, to make you go to their website and ingage in their traffic.

N0x0n ,

It has been a while since I setup my wireguard server, if you host it on a linux system It can be easy as:

  • Install wireguard on your system
  • generate private/public key
  • create a wireguard config file with iptables rules
  • net.ipv4.ip_forward=1 on your server (yeah very important part)
  • open the wireguard UDP port on your router
  • configure clients

The first time you delve into, it can be Intimidating (at that time I was a total CLI/linux noob) if you are a beginner, but I think you will easily find your way :)

This tutorial seems rather complete and easy to follow with comments. Also, if you didn’t know, do not blindly copy/past the commands from the web directly in your CLI.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines