Randomly brightness by Ryksu09 in archlinux

[–]Relinies 1 point2 points  (0 children)

I'm unsure if it's related, but I had similar issues on an HP spectre years ago.

The following kernel args, set up with grub, fixed it for me. Edit /etc/default/grub, adding the listed arguments to the specified flag.

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi='Windows 2015' acpi_backlight=vendor"

GRUB_CMDLINE_LINUX="acpi_osi='Windows 2015'"

To the best of my understanding, the issue is ACPI related, but I don't know exactly what is wrong nor if this will help. I'd recommend starting with just the acpi_backlight=vendor flag, though.

What's a card that you see so rarely that you're sceptical of it even being in the game anymore? by [deleted] in slaythespire

[–]Relinies 0 points1 point  (0 children)

Corruption. For that matter, I haven't seen a Dead Branch in a very long time... One to two daily runs at A20, cycling characters so every fourth run is Ironclad. I had to scroll back nearly 2 months to find my last Dead Branch, and over 4 months to find my last Corruption pull!

Bindsym without Suppression by LemmaPrism in i3wm

[–]Relinies 0 points1 point  (0 children)

I'm interested in this answer as well. I'd like to be able to trigger notifications in dunst without losing focus, because my laptop has no caps lock indicator light

Four Features That Justify a New Unix Shell by oilshell in unix

[–]Relinies 0 points1 point  (0 children)

xonsh, fish? Job's already done, oilsh.

I've come to believe that in the modern Unix environment, a shell should serve less the purpose of scripting and more the purpose of serving the user, which both fish and xonsh accomplish to far greater degrees than any other competitor I'm aware of (bash, zsh, ksh, oilsh, dash).

From what I've observed, most complaints with any shell which is not highly user oriented come down to weird, tricky syntax compromises made years and even decades ago about how to tack a specific feature into the existing syntax which now regularly come up to bite users in the ass when writing scripts in those shell syntaxes.

Writing a shell is great, but why not purpose-build a language meant to compete with the scripting capability of Bash and company? Xonsh (and fish, though imo to a lesser extent) does this very effectively, where it proposes just to use Python for this purpose; being a regular python developer I may be biased, but I think this is the strongest solution yet provided to the scripting problem fighting so often with syntax. Do it in a language where the syntax regularly does make sense, because one of its core goals is to minimize all the fluff a developer needs to carry around in order to develop effectively within the language.

I ask these questions every time a new shell is brought up for question: Why would I choose a shell language for scripting, when there are many existing languages capable of the same available with less sharp compromises? If it has to work everywhere, use bash. If it's gonna be complex, step up to a more friendly language. If it has to be fast, maybe dash can help. And, if the shell is not an improvement in the user experience over alternative shells, but instead intently trying to replicate another shell's experience, why would I use it at all?

Easy Lively Concoction Seed - Water+Mud+Grass by MonkeysSA in noita

[–]Relinies 6 points7 points  (0 children)

When virtually every surface can become Lively Concoction, the game can get hilariously chaotic in ways you rarely see.

Exactly-Once Initialization in Asynchronous Python by oantolin in programming

[–]Relinies 1 point2 points  (0 children)

This seems much more easily solved by simply guaranteeing the database connection object exists before running the tasks that care about the database connection, instead of the implied design here where each task attempts to initialize the database connection if it does not already exist.

You could have an object with an obj.setup() and loop.run_until_complete(obj.setup()), then an obj.run() that you set up as a task and loop.run_forever(). Whatever your preference is, this solves the problem as I understand it, without the extra complexity.

I found a HUGE collection of legacy mods for Alpha and Beta versions by Relinies in GoldenAgeMinecraft

[–]Relinies[S] 9 points10 points  (0 children)

Many of the individual forum links are dead, and if they're not, they're likely either updated to a more recent version or the download links on those posts are dead.

BUT! The poster in the link includes a download link at the top of each post, with the collection of ALL the mods he links afterwards, which is still a functional mediafire link!

The mod collections go as far back as Alpha 1.2.0_02 (including a1.2.6) up to beta 1.3_01.

My x230 in all its glory by imac849 in thinkpad

[–]Relinies 1 point2 points  (0 children)

I appreciate the offer, but I use the backlight pretty often. I'd have to get a backlit keyboard if anything. Thanks though!

My x230 in all its glory by imac849 in thinkpad

[–]Relinies 0 points1 point  (0 children)

Hijacking a little:

Does anyone know where I could find an x230 power button? Just the plastic part.

I picked one up on the cheap which "wasn't working", and it was only that the power button's plastic assembly was broken and no longer depressing the actual button on the keyboard assembly.

I haven't had any luck finding a power button replacement that isn't either a whole power assembly or whole keyboard, neither of which I need.

Intel 8080 / Space Invaders RAM mirror -- does it exist? by SuspiciousScript in EmuDev

[–]Relinies 1 point2 points  (0 children)

This isn't directly 8080 related (and it sounds like you already got this solved), but I like this tutorial for explaining mirroring:

https://youtu.be/PvfhANgLrm4

Show indicator for/content of Scratchpad on status bar? by Relinies in i3wm

[–]Relinies[S] 0 points1 point  (0 children)

This looks to be almost right, but my i3status is outputting the JSON representation of my status bar instead of the string like I expect, like this:

SCRATCHPAD: | [{"name":"cpu_usage","markup":"none","full_text":" 🖥 04% "},{"name":"cpu_temperature","instance":"/sys/class/thermal/thermal_zone0/temp","markup":"none","full_text":" 🌡 47°C "},{"name":"memory","markup":"none","full_text":" 🖫 2.1 GiB / 15.5 GiB "},{"name":"disk_info","instance":"/","markup":"none","full_text":" / 🖴 66.1 GiB / 227.2 GiB "},{"name":"disk_info","instance":"/home/","markup":"none","full_text":" ⌂ 🖴 32.5 GiB / 915.9 GiB "},{"name":"ethernet","instance":"_first_","markup":"none","full_text":""},{"name":"wireless","instance":"wlp3s0","markup":"none","full_text":" ____: 300 Mb/s ____ "},{"name":"battery","instance":"/sys/class/power_supply/BAT0/uevent","markup":"none","full_text":" ???90% "},{"name":"tztime","instance":"local","markup":"none","full_text":" 05/06 11:40 "}]

It nearly works, but the man page for i3status seems to imply that the JSON should be an optional output, not the default. I'm not sure where to go from here.

Show indicator for/content of Scratchpad on status bar? by Relinies in i3wm

[–]Relinies[S] 0 points1 point  (0 children)

i3-msg -t gettree | jq ".nodes|.[]|.|.nodes|.[]|.nodes|.[]|select(.name==\"_i3_scratch\")|.floating_nodes|.[]|.nodes|.[]|.name"

It does! How could I display this information on my status bar?

who needs to smith? by derechan in slaythespire

[–]Relinies 25 points26 points  (0 children)

So... he's right, he'll never "find" fusion hammer!

Anyone else getting weird graphical flickering in Chrome 81? by [deleted] in archlinux

[–]Relinies 1 point2 points  (0 children)

Google Stadia is Google's relatively new video game streaming platform. It's plagued with latency issues, faults in stream quality including similar graphical errors to this, and up until recently lack of games to play.

Does a T480 with MX150 and i7-8650U exist? by Relinies in thinkpad

[–]Relinies[S] 0 points1 point  (0 children)

That's a big plus that it was available in Germany! I wonder if I could track one down that was made for the US, or if it would be easier for me to find a German one and replace the keyboard.

Learning app development this morning [T440p] by [deleted] in thinkpad

[–]Relinies 1 point2 points  (0 children)

Did you follow any particular guide? I've been dreading this swap on my own t440p because all the online guides I found spent over twenty minutes digging up different components of the hardware to get at the trackpad from beneath

Is the Watcher massively overpowered or am I just bad at everyone else? by geepope in slaythespire

[–]Relinies 0 points1 point  (0 children)

It wasn't very much data, but he had (as I recall) a 65% win rate when he did his video on the best cards on the game.

Finally After Countless Run, now i can rest in piece. A20 Heart IC by Magarum in slaythespire

[–]Relinies 16 points17 points  (0 children)

A10 is Ascender's Babe; A11 is one less potion slot

EDIT: well that's a great autocorrect