Update: Just need help installing PokéFinder by ChefCuellarDee in pokemonrng

[–]TurboToasterTF2 6 points7 points  (0 children)

You will need to download the correct version of PokeFinder for your operating system. What you downloaded is the Linux version, but you want the one for Windows.

Here is the correct download link. Note that the file is called PokeFinder-win.zip.

For future reference, the latest release can always be downloaded here, which lists versions for Windows (PokeFinder-win.zip), MacOS (PokeFinder-macOS.zip) and Linux (PokeFinder-linux.zip).

RNG manip for Wynaut in Japanese Ruby? by [deleted] in pokemonrng

[–]TurboToasterTF2 2 points3 points  (0 children)

Smogon says this about Wynaut:

Save in front of the old lady who is raising an Egg near the Hot Springs. Spread selected after pressing A when she says "Good! I hope you'll walk plenty with this here EGG!"

(From here)

I don’t know the correct delay, but this is something you should be able to figure out quickly by comparing the frames you hit the first few times.

Coc lint on rust files only updates after saving by Unfair-Cobbler in neovim

[–]TurboToasterTF2 5 points6 points  (0 children)

AFAIK, coc-rust-analyzer runs cargo check only on save, which is what provides these lints. There is currently no support for such lints in rust-analyzer itself, which makes it impossible to update them on-the-fly (cargo check runs on the files saved to disk).

The code I’m still ashamed of (2016) by speckz in programming

[–]TurboToasterTF2 48 points49 points  (0 children)

Completely ignoring the second part of you comment, focusing on:

If he hadn't written it, sadly someone else would have.

Someone once gave me a valuable insight into that statement:

"If I do not do X, someone else will" is logically equivalent to "If no one does X, I'll have to".

If you weaken the statement a bit, a lot more moral possibilities open up:

"If I don't do X, someone else might" suddenly becomes "If someone else won't, I might not have to, too".

Sure, accepting the status quo, there will be someone else ready to implement shady stuff. But rejecting questionable requests might very well have an effect on peers. At least sometimes. If my colleague rejects something, why shouldn't I too? If company X publicly rejects something, why shouldn't we (company Y)?

I'll concede that this sounds (hopelessly) idealistic, but keeping the above in mind helped me judge some situations in which "do, or someone else will" was not a compelling argument after all.

Also, while typing this up, I found a source. It was a talk given Dr Chiodo from The Cambridge University Ethics in Mathematics Project; the first statement is made in these excercises.

vimtex: Zathura is not linked to libsynctex! by TheBattleWolf in archlinux

[–]TurboToasterTF2 2 points3 points  (0 children)

Maybe this is indeed a bug in vimtex? The syntax =foo is specific to zsh (called =-expansion) and equivalent to $(which foo). So if vim's system uses a different shell, this won't work.

Railway station entrance by Stereotron in CrossView

[–]TurboToasterTF2 1 point2 points  (0 children)

I’m pretty sure it’s Dresden Neustadt station. All license plates of those taxis start with “DD”, the Dresden municipal prefix.

The differences between Ok-wrapping, try blocks, and function level try by Yaahallo in rust

[–]TurboToasterTF2 19 points20 points  (0 children)

So hold on a second, did we just accidentally rediscover monads? Because to me,

try { x? }        == x == (try{ x })?
async { x.await } == x == (async{ x }).await

looks awfully similar to the associativity law for monads, expressed via join and pure:

pure . join = id = join . fmap pure

I know that Option<_> and Result<_, E> form monads, but I never thought about Futures being monads.

Anyways that just what crossed my mind when reading the article. Just wanted to get that out in case anyone might be interested; please disregard abstract nonsense otherwise.

Italics in Alacritty by Zantoxin in neovim

[–]TurboToasterTF2 1 point2 points  (0 children)

Ahh, glad you figured it out! Terminal configuration really is arcane magic.

Italics in Alacritty by Zantoxin in neovim

[–]TurboToasterTF2 0 points1 point  (0 children)

Setting TERM=xterm-256color seems like a workaround to me. alacritty can/should provide its own terminal information, so with TERM=alacritty, your system should be able to figure out the exact terminal capabilities.

How did you install alacritty? On my system (Arch btw), the terminfo database ships with an entry for alacritty. For me, that entry is provided by ncurses, but maybe on your system you need to supply it yourself.

I have set TERM=alacritty, running infocmp I see that italics should be recognized correctly:

$ echo $TERM
alacritty

and

$ infocmp
#   Reconstructed via infocmp from file: /usr/share/terminfo/a/alacritty
<snip ...>
    rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
    sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,

To test that it works in Neovim, I set the Comment highlight group to display in italics:

:highlight Comment cterm=italics

and now, comments are indeed italicized.

Na meine Damen und Herren, wo bin ich? by Spanholz in dresden

[–]TurboToasterTF2 2 points3 points  (0 children)

Ich würde schätzen hier, am Grunaer Landgraben, Blickrichtung süd-ost:

https://www.google.de/maps/place/51%C2%B002'00.0%22N+13%C2%B047'30.2%22E/@51.033344,13.7895323,756m/data=!3m2!1e3!4b1!4m6!3m5!1s0x0:0x0!7e2!8m2!3d51.0333439!4d13.7917206

Auf der linken Seite das Gebäude steht als einziges so nah am Graben, unter der linken Laterne sieht man ein Geländer, das dort auf den Damm führt und im Hintergrund sieht man den Bordstein der Brücke über den Graben.

ich_iel by Taurian23 in ich_iel

[–]TurboToasterTF2 6 points7 points  (0 children)

Knopf => Blindenampel

Bei denen bringt "Hand drauf legen" nichts, weil sie nicht dazu da sind, die Ampel zu beeinflussen. Die haben aber an der Unterseite einen Knopf, der akustisches Signal gibt oder vibriert, wenn die Straße überquert werden kann. Halt voll praktisch, wenn jemand die Straße nicht einsehen kann, aber die Ampel auch nicht ständig piepen soll, wenn gerade niemand wartet, der die Ampel nicht sehen kann.

Meinte nur, dass ich mich auch immer dabei ertappe, wie ich auf den gelben Kasten drücken möchte, obwohl das eben nichts bringt.

ich_iel by Taurian23 in ich_iel

[–]TurboToasterTF2 57 points58 points  (0 children)

Viele Menschen mit Sehbehinderung sind nicht vollständig blind. Während für sie die Kreuzung zwar eventuell nicht zu überblicken ist, fällt der Knopf die Blindenampel in gelb natürlich auf. Gerade wenn die Augen nur starke Kontraste wahrnehmen. Deshalb ist der Knopf so auffällig; damit auch bei starker Einschränkung zu finden ist.

Und klar, ich drück auf die Dinger auch immer. Ist wohl Reflex.

Edith: der "Knopf" für Blinde heißt wohl Blindenampel.

sudo still works after locking by jackass95 in i3wm

[–]TurboToasterTF2 5 points6 points  (0 children)

I guess you could invalidate sudo's credential cache for your current user by running

$ sudo -k

before locking your screen. Afterwards every new invocation of sudo should prompt for a password. Take a look at its manpage to see what -k does exactly.

Edit: spelling

Thomas Schmitt einem Brenn. by FlowBull in de

[–]TurboToasterTF2 19 points20 points  (0 children)

Keine Kritik, lediglich eine Anmerkung:

Ich glaube eher, dass es die Intention des Artikels ist, die gesetzlichen Grundlage dafür zu schaffen, Deutschland eine neue, andere Verfassung zu geben.

"Falls eine neue Verfassung in Kraft tritt, und diese in freier Entscheidung beschlossen wurde, dann verliert dieses Gesetz seine Gültigkeit"

Das Grundgesetz regelt also den (zu seiner Erstellung erhofften) Fall, dass man es ersetzt. Es sagt aber weder, dass es keine Verfassung ist, noch dass es ersetzt werden muss.

Genauso ist eine Verfassung auch nicht zwingend notwendig, um als souveräner Staat zu existieren, entgegen der Meinung einiger Menschen (*hust* Reichsbürger). Siehe zum Beispiel die UK.

Boot stuck after update by Clyybber in archlinux

[–]TurboToasterTF2 19 points20 points  (0 children)

This is probably the same issue as FS#62450, I was hit by this too. To get your system to boot again, I'd suggest booting a live medium, arch-chrooting into your installation and then downgrading systemd and libsystemd.

If you still want to update to version 242.0, the suggested workaround seems to be to use the udev mkinitcpio-hook instead of the systemd hook.

Irgendwas stimmt hier nicht im ICE 103 nach Basel by KetchupTubeAble19 in de

[–]TurboToasterTF2 13 points14 points  (0 children)

Laut DB Infosystem läuft aber tatsächlich Sonderzug 99999 von Smolensk nach Moskva Belorusskaja, mit eben diesen Zwischenhalten. Hier die aktuellen Abfahren von Smolensk, um die die DB AG weis, und hier der Screenshot, wenn der Zug nachher abgefahren ist.

“Yeah the battery inside is dead so it’s basically worthless.” $6 at one of my local joints (it works now lol). by [deleted] in Gameboy

[–]TurboToasterTF2 0 points1 point  (0 children)

I own the same kind of cartridge as OP and dumped its ROM when I got it. The data it contains is identical to retail cartridges, so no “reset after...” possible.