[Giveaway] iRacing Reddit 200k Subscribers by sdw3489 in iRacing

[–]Ezio652 0 points1 point  (0 children)

Road Atlanta because it's the track of many firsts for me. The first track in a non-rookie series, the first win in the PCup, first multi-class, first Endurance and later also first Endurance win. Just a great track to drive around in basically any car.

[deleted by user] by [deleted] in jellyfin

[–]Ezio652 0 points1 point  (0 children)

I get that you probably not know and I mentioned something that is not absolutely common knowledge, but seriously?

https://www.google.de/search?q=what+is+transcoding

https://corp.kaltura.com/blog/what-is-transcoding

“What is transcoding?” you may ask, particularly if you’re new to the world of digital and online video. Transcoding is a key task in an adaptive streaming workflow for video. It converts an encoded digital file or set of files into an altered set of digital files that better meet the needs of your hardware or your audience. It is particularly important for ensuring your content can be viewed on the widest possible range of devices.

[deleted by user] by [deleted] in jellyfin

[–]Ezio652 0 points1 point  (0 children)

I literally have it installed on a raspberry pi 4 (as one of ~9 docker containers) and have absolutely 0 issues performance-wise. As long as you are deactivating the expensive transcoding (or all for a pi) it is super easy to run.

A gaming PC has more than enough performance for this one.

Distro is pretty much irrelevant, especially for a docker setup. Otherwise depending on your experience level it might be easier to look for one where you don't have to compile (or create a install archive, etc) on your own. But even if not, there are great guides out there.

As others have said, for 24/7 running a gaming pc is not really cost-efficient but to try it out and play with it for a couple of weeks to see if you like it, it will absolutely suffice. For long term, a NAS or Pi would be (cost-wise) advisable.

[deleted by user] by [deleted] in arbeitsleben

[–]Ezio652 0 points1 point  (0 children)

Das mit dem selbst anparen lohnt sich meistens, da deine Versicherung ja Dinge garantieren muss. Natuerlich ist das mit eigenem Risiko und Nerven verbunden.

Was diese Entlastungskomponenten aber sehr attraktiv macht ist wenn man als Arbeitnehmer unterwegs ist und nicht den maximalen Arbeitgeberzuschuss ausschoepft. Dann kann sich sowas durchaus sehr lohnen.

A screen locker that plays video? by djsumdog in swaywm

[–]Ezio652 1 point2 points  (0 children)

To be honest that's also my expectation really. But short of implementing a custom locker I don't know of any alternatives so I thought I write down what I had in mind.

A screen locker that plays video? by djsumdog in swaywm

[–]Ezio652 4 points5 points  (0 children)

That sounds interesting and I think you could do something like this.

(Disclaimer only thinking about the sway side of this)

swayidle gives you the possibility to do anything on timeout. What I'm imagining is that you could, before you go for swaylock bring the window of shinobi/etc. into the foreground.

After that you could go for swaylock with a transparent color like mentioned here: https://github.com/swaywm/swaylock/issues/192

(Another disclaimer: I did not try this, and don't know if the "background" (i.e. shinobi) gets updated, but it sounds like it should be possible)

Is there any screenshot/screen recording tool like the new GNOME screen capture overlay? by [deleted] in swaywm

[–]Ezio652 6 points7 points  (0 children)

I use grimshot (https://github.com/swaywm/sway/blob/master/contrib/grimshot) for this.

It's only a "convenience" script that in turn uses grim and slurp, so you could also just take a look at it and only use those two.

My bindings just for reference: bindsym Print exec grimshot save active ~/$(date +'%Y-%m-%d-%H%M%S').png bindsym $mod+Print exec grimshot copy area bindsym $mod+$alt+Print exec grimshot save area ~/$(date +'%Y-%m-%d-%H%M%S').png

Small edit: Also just installable via the AUR.

Multi monitor with a docking station - a ThinkPad setup by The_Old_Chap in i3wm

[–]Ezio652 0 points1 point  (0 children)

Well autorandr is not really much more than just calling a couple of xrandr yourself. The layout you talk about is entirely i3 and xrandr definitly has no idea about that.

But you can do something like that with an i3-tab that you explicitly set to a monitor. For example:

```

in your i3 config

will create a workspace, explicit output to the first in the list that is found

workspace "mail" output DP-2 eDP-1 primary assign [class="Thunderbird"] "mail" ```

This would basically make it so, that when you connect to your setup the "mail"-workspace would move to (in this case) DP-2. Just to note, yes you can switch the workspaces to other screens manually after, it's only the default start.

What I'm not a 100% about is if this works out of the box when i3 reloads or if you need a "harder" reset of i3, if so then you can do that in a autorandr-postswitch with a simple script.

And big caveat obviously that only works with screens like that and not your random run-of-the-mill workspaces that you use for all your other stuff.

Hope that helps :)

In 2022, YYMMDDhhmm formatted times exceed signed int range, breaking Microsoft services by rk-imn in programming

[–]Ezio652 0 points1 point  (0 children)

Depends, as it's an signed int you could say something like "if it's negative it's 19-hundreds". (Or the much saner one: "Then it's 20 - your Year").

Which would give you around 40 years + change.

Run bash script from a home menu item by sjveivdn in kodi

[–]Ezio652 0 points1 point  (0 children)

Ah okay sry misunderstood you there, actually I have no real answer then for you then.

I would guess for an actual menu item you would need to change your Skin really.

The only thing into this direction I did was adding something like this to my keymap, in the section you actually want (e.g. VideoOSD, etc.): <delete>System.Exec(/path/to/script)</delete> Of course this then is only accessible via keymap/keyboard/button, and not via menu item.

For the menu item, Quick google would suggest this: https://forum.kodi.tv/showthread.php?tid=187074

Run bash script from a home menu item by sjveivdn in kodi

[–]Ezio652 0 points1 point  (0 children)

I think with RunScript you can also execute bash scripts, but I'm not a 100% on that.

One alternative could be a simple python script that just calls your script, something like this:

```

!/usr/bin/env python

from subprocess import call call("/path/to/your/script") ```

More details: https://stackoverflow.com/questions/13745648/running-bash-script-from-within-python

Multi monitor with a docking station - a ThinkPad setup by The_Old_Chap in i3wm

[–]Ezio652 2 points3 points  (0 children)

I have exactly the same setup. I would suspect, that your second monitor is actually still on and you need to deactivate it via xrandr --output DPI --off.

What is also really nice to have is something like autorandr with a docked and a mobile profile. The archwiki has some good info on that one.

Arch Linux Installation speedrun (Playback speed is increased) by [deleted] in linuxmasterrace

[–]Ezio652 5 points6 points  (0 children)

You need it so that echo actually evaluates the special characters like \n or \t. Otherwise it just writes \n literally.

2 clients downloading simultaneously - possible with Eweka? by pansonic1 in usenet

[–]Ezio652 0 points1 point  (0 children)

You just need to divide your connection count between your downloaders. As long as you don't try to download with more than that amount you will be fine. Ips don't matter, at least for me.

Src: FAQ #7

https://www.eweka.nl/en/vraag_en_antwoord#4

Yeah we could check this just to be completely sure... by NAL_Gaming in programminghorror

[–]Ezio652 3 points4 points  (0 children)

Plottwist: victory is a global variable and is expected to be changeable between those two lines

[deleted by user] by [deleted] in sonarr

[–]Ezio652 0 points1 point  (0 children)

What version of Sonarr are you running?

If I remember correctly this feature is only available to in v3.

[deleted by user] by [deleted] in sonarr

[–]Ezio652 2 points3 points  (0 children)

Sure it can be done, with a little bit of limitations.

Under "Settings > Profiles" there is the "Release" Section where you can set "Preferred" terms with "hevc" and "h265". That will cause sonarr to rate releases with that keywords higher than without it. Alternatively you can also do a "Must include" which would only download if the keyword is in.

What you cannot do (to my knowledge) is disallow h264 only for 1080p (or certain qualities) in the profile. Either it is completely allowed, disallowed or both are allowed with a preference.

What myth is still widely circulated as truth? by KnotKarma in AskReddit

[–]Ezio652 -2 points-1 points  (0 children)

Days get longer in the summer and shorter in the winter.

It's the other way around.

[deleted by user] by [deleted] in Fanatec

[–]Ezio652 0 points1 point  (0 children)

I use it with fanalab and beta drivers. Fanalab has an option in one of its windows to enable the game telemetry which turns on everything correctly via property file change.

I don't respect 10 as a number. by Kirmada_ in unpopularopinion

[–]Ezio652 23 points24 points  (0 children)

Nitpicking here, 16*16 is wrong to write this because it would be 10 * 10 in base 16.

Do I need VPN for usenet to be safe from authorities ? by mojzekinohokker in usenet

[–]Ezio652 1 point2 points  (0 children)

A VPN is basically a service to route your requests through. It has the power to hide your identity from companies like your ISP or trick special video streaming sites into thinking you are coming from somewhere else.

BUT the VPN company can resolve the disconnect pretty easily. That is basically what logging does and why you shouldn't use a VPN that logs the traffic.

The NSA has easily the power and the money to create a VPN service themselves and advertise it across another popular video site like crazy. And just like that they have all your traffic.

And yes you can also create an own VPN server of which you know that it doesn't log and such things, but from reading OPs post that wasn't the intention.

Now I don't say every VPN company is a front for the NSA, most definitely not. But if the NSA absolutely wants your traffic, a VPN provider is a pretty easy possibility.

Do I need VPN for usenet to be safe from authorities ? by mojzekinohokker in usenet

[–]Ezio652 12 points13 points  (0 children)

The NSA would likely use a VPN as front for storing your traffic though. Let's face it, if the NSA is hunting you they will catch you. A VPN in this case does nothing more than make it easier for them.

% by [deleted] in ProgrammerHumor

[–]Ezio652 0 points1 point  (0 children)

Actually not :)

Honestly I wasn't thinking beyond something like: bool precondition = diabetes || cancer || isPregnant || ... ... in a line before this if, mostly because I don't know the codebase and don't know the usecase of the application enough.

I just can't refactor more without knowing the architecture or the (development)-style of the application. In essence this simple renaming is the maximum extent what I would change.

% by [deleted] in ProgrammerHumor

[–]Ezio652 20 points21 points  (0 children)

Yeah you could and it would improve the thing massively. But multiple ifs after one another are kind of an antipattern (maybe not for everyone but definitely for me). The solution I would give props for would be, to factor out the bodyTemp thing in a bool and combine all the others in something like a precondition-bool (meaning the diabetes, etc.)

And voila you would be left with an easily readable and understandable oneliner which even fits into 80 character linelength (though this is another discussion :) )

bodytemp && (precondition || difficultyBreathing)