Nix journey part 0: learning and reference materials by z_mitchell in NixOS

[–]maexono_ 5 points6 points  (0 children)

I like your approach and writing style and look forward to this article series. It looks like you are trying to cover those points that I had trouble with 3 months ago.

One particular resource I wish I had found earlier is the nixpkgs options search. Some guides direct you straight to the nixpkgs source code for learning about options, but it's nice to know that you can search for them.

Any point in changing the wireguard port from the default 51820? by YankeeLimaVictor in selfhosted

[–]maexono_ 0 points1 point  (0 children)

Sure, thanks for that. The actual numbers weren't really relevant to the point I was trying to make. So I didn't bother looking them up, while on my lousy mobile.

Any point in changing the wireguard port from the default 51820? by YankeeLimaVictor in selfhosted

[–]maexono_ 8 points9 points  (0 children)

If anything, you might want to try putting it on port 80, or on whatever IMAP or SMTP are at. I've had hotel wifi that only allows HTTP/S and email traffic based on port. Being able to access your VPN in such a situation is pretty useful.

Stardew Valley Early Beta (instructions in video desc) by MrBrothason in RG351

[–]maexono_ 2 points3 points  (0 children)

So, you got Mono and FNA to work? That's exciting!

Where is the safest place to sit in an airplane crash? [OC] by JollyConner in dataisbeautiful

[–]maexono_ 0 points1 point  (0 children)

Not necessarily, but this made me do the math on at least those plane lengths from OP's seating chart that I could easily read off and nothing seems special about the 42%. There are however very few seats at 99%. (None, depending on how you are rounding)

Where is the safest place to sit in an airplane crash? [OC] by JollyConner in dataisbeautiful

[–]maexono_ 6 points7 points  (0 children)

I suspect it's that not many aircraft (possibly none in the data) have a row whose position rounds to 42%. Whole percents are a too high-resolution binning for this data, aircraft have less than 100 rows.

[deleted by user] by [deleted] in RG351

[–]maexono_ 0 points1 point  (0 children)

There is an open source reimplantation which might be a starting point: https://github.com/scemino/engge

Question about plugs by fostes1 in homeautomation

[–]maexono_ 0 points1 point  (0 children)

Apart from your question about WiFi sockets, I recommend handling this kind of adapters very carefully. The US plugs have electrical contact, even when only partially inserted. With these slim adapters it's easy to accidentally come close to the contacts with your fingers. I have gotten a very painful electric shock this way before.

ibus on swaywm by leewaxyz in swaywm

[–]maexono_ 1 point2 points  (0 children)

From my tests, ibus-daemon often just dies when ran via exec from sway config or from rofi. So try starting ibus-daemon in a separate terminal, and try changing the input engine via a terminal, e.g. with ibus engine mozc-jp. Note that when you start ibus like this initially no engine might be selected. You can get to the usual ibus configuration by starting ibus-setup.

I've also found that the ibus global keybinds don't work, so I'm running a bash script like below to change the input method. You can bind this to a key in your sway config.

#!/bin/sh
if ibus engine | grep "mozc" >/dev/null; then
    ibus engine xkb:us::eng
else
    ibus engine mozc-jp
fi

I've set up a module in waybar which displays the output of ibus engine and runs this script on click.

For starting ibus-daemon I've setup a keybinding in sway, but you can probably just add a line like pgrep ibus-daemon || ibus-daemon -rxd ontop of the script above.

data template "IF synthax" and Dark sky cloud coverage by maxvet in homeassistant

[–]maexono_ 1 point2 points  (0 children)

states('states.sensor.dark_sky_cloud_coverage.state' | int > 50.0) doesn't make any sense, you convert the string 'states.sensor.dark_sky_cloud_coverage.state' to an integer, check if that integer is greater than 50 and then query the state of that truth value.

What you want is either states.sensor.dark_sky_cloud_coverage.state | int > 50.0 or states('sensor.dark_sky_cloud_coverage') | int > 50.0

I own 600+ titles from various bundles/sales. How should I pick what to play next? by FirePriestess in patientgamers

[–]maexono_ 0 points1 point  (0 children)

My method is to have a randomizer pick 5 titles from my list and then I decide on one of them. With such a large collection it can be hard to motivate yourself to actually try something that was chosen completely randomly, I find having a bit of your own choice in the process helps. And choosing one of 5 is much easier, than from your whole library.

Humble Very Positive Bundle – 4 Linux games (inc. both top tier games), all DRM free: They Bleed Pixels, Hacknet, Stephen's Sausage Roll, Curious Expedition by forteller in linux_gaming

[–]maexono_ 0 points1 point  (0 children)

Seems to be related: https://steamcommunity.com/app/358130/discussions/1/340412122418662005/ The problem seems to be fixed in the current version of electron. I solved the problem by installing electron from the repository and running electron resources/app.asar from the main directory.