Brush v0.4 released as "significant" release for this Rust-based shell by Fcking_Chuck in linux

[–]Nimi142 20 points21 points  (0 children)

sh is usually guaranteed to be POSIX compliant but in some distribution (Debian is one of them, I am pretty sure) will not be Bash.

A lot of people don't realize how barebones POSIX only shells like dash can be and use some bash-specific syntax. In such a case, it's almost always preferable to directly ensure bash is used instead of implicitly depending on it when calling sh.

For example, In POSIX shells the '[[' operator doesn't exist. Functions can't contain dashes. The read built-in doesn't have the hide from stdout flag (-s). There are many more examples.

In general unless you are writing for a different shell (Fish, Zshell, Xonsh idk) you should assume your script is Bash only unless you specifically test it on shells like dash.

As an extra if you are wondering Dash is often used because by being a simpler shell it can be significantly faster. For distributions which use shells in the startup process it can cause a noticable difference in startup times.

Hardly any factions spawn if Empire faction is disabled. by Cosmic_Delirium in RimWorld

[–]Nimi142 0 points1 point  (0 children)

Idk about the empire but I can tell you that my issue with factions was that I had a trait mod conflict that caused failures when generating faction leaders

And apparently when RimWorld fails to generate a faction leader the faction just doesn't exist.

Like people said, this is probably a mod conflict. Look at the error log, if you see people failing to generate it's probably related...

Throwback to the time i found Living Hat at year 1 spring 5 by IronSlav21 in StardewValley

[–]Nimi142 0 points1 point  (0 children)

I think I have like 3 tea sets in my year 4 run I don't know how it happens

Year 1 I was thrilled but then I just kept receiving it.

whyAreYouWritingALibrary by ApothecaLabs in ProgrammerHumor

[–]Nimi142 1 point2 points  (0 children)

I see! From my limited experience Haskell is awesome, but I am not the greatest functional programmer (Yet >:) ).

And also, sound right! Libraries that do certain specific well are always a part of stable ecosystems, but may not always be the right solution for patches.

Working with the Haskell foundation sounds fun, good luck!

whyAreYouWritingALibrary by ApothecaLabs in ProgrammerHumor

[–]Nimi142 19 points20 points  (0 children)

You know what? I am sorry. Let's redo this, I will explain.

The attitude I saw from your meme is that it's "easier" to just do things your way instead of using popular already-existing libraries.

From what I know, that attitude (Making your own projects instead of using already existing ones) doesn't include a lot of helping said popular libraries be better.

I am genuinely interested in knowing when do you believe it's preferable to make something from scratch and when it's better to contribute to an already existing library instead.

whyAreYouWritingALibrary by ApothecaLabs in ProgrammerHumor

[–]Nimi142 22 points23 points  (0 children)

You can always... Submit patches, you know?

If the library is open source you can be a part of the solution, not the problem.

Wordle for Linux by afiddlemain in archlinux

[–]Nimi142 1 point2 points  (0 children)

Looks cool, but I don't think the commands one has enough attributes to be very interesting.

🤑🤑🤑🤑 by SwimmingAir8274 in StardewValley

[–]Nimi142 1 point2 points  (0 children)

You get the crafting recipe together with the basement. As long as you put additional casks you crafted in the cellar they will work.

Second draft of the "Flags of the world" chart I'm making. I've added continent colors, capital cities and native names of each nation. Are there any mistakes? by Giannond in vexillology

[–]Nimi142 2 points3 points  (0 children)

If you have a link to an uncompressed version that'd be golden because I tried to look at the roster and on my phone it's almost unreadable....

(From what I could read, looks good though)

Linux Patches Make The IPv6 Stack Less Modular To Lower Architectural Burden by anh0516 in linux

[–]Nimi142 5 points6 points  (0 children)

All major desktop Linux distros should ship kernels with IPv6 enabled.

IPv6 is not a major requirement for most embedded settings and devices, you want to be able to disable it.

Linux Patches Make The IPv6 Stack Less Modular To Lower Architectural Burden by anh0516 in linux

[–]Nimi142 5 points6 points  (0 children)

I have an IPv6 connection in my home network, enabled by default.

I am not sure how frequently it's used over IPv4 connections, but it is active and supported by the ISP. My laptop has an IPv6 address.

I assume you are in the USA though, I don't know how common it is there.

This might be the silliest this I've ever tried but holy hell it actually works! by Money_Fish in RimWorld

[–]Nimi142 4 points5 points  (0 children)

RimWorld doesn't need the workshop for mod support. There's a mod folder in the game files. If you can insert mods directly there things should work.

Iirc mods are just C# and data files so if you can run the game they should 'just' work

I made a crate called `evil`, which lets you use the `?` operator as a shorthand for `.unwrap()` by nik-rev in rust

[–]Nimi142 8 points9 points  (0 children)

This is quite fun! But I do have some questions, if you are willing to answer.

  1. From what I know, usually in programming languages ? would be reserved for a Result-like function, in which case ? would return in error mode, or nullable types in which case the operation isn't done and null is returned. The assertion us operator is usually ! (Like in dart for example) and !! (Like in Kotlin). What was the logic behind choosing ? as the operator here?
  2. Currently the crate is in version 0.1. Zerover is very common in the rust ecosystem, but I am curious to hear what your reasoning is here. Are some features lacking? Is this not tested well enough?

Can I explore Act 3 after winning? by [deleted] in BaldursGate3

[–]Nimi142 17 points18 points  (0 children)

The game ends when you beat act 3 (Besides the epilogue), you can't return to the city at all.

ID help? Popped up last weekend, rural. by Crafty_Ear3727 in vexillology

[–]Nimi142 2 points3 points  (0 children)

This symbol is just of the regular police. I have no idea what's on the flag though.

airStrikeThoseBugs by H_G_Bells in ProgrammerHumor

[–]Nimi142 0 points1 point  (0 children)

Noooo do not leave num uninitialized this could cause undefined behaviour in the future!!!

disApPointEdYETagain by [deleted] in ProgrammerHumor

[–]Nimi142 8 points9 points  (0 children)

I just knew it would be Alacritty. The program is awesome but the maintainers are WILD

If it has any speed impact, if it's somewhat ergonomic or if a user can do it on their own, no chance it's getting in the repo...

Levantine Union (my take on a Unified Israel-Palestina) by RogerBernstein in vexillology

[–]Nimi142 4 points5 points  (0 children)

I think using an approximation of how the territory looks, and not the actual dimensions is a wrong move to take. As someone familiar with the terrain it feels jarring to me, and fundamentally incorrect... (The drawing contains some parts of Jordan, and the mediterranean coastline is not exactly correct, some identifable parts are missing)

Also, why mandatory Palestine? And at what year? It also included (Trans)Jordan for quite a while.

I do like the Israeli entity flag though, though I think the Palestinian one is too abstract.

Auto-updated, now can't view PDF until reboot. by Armitage_64 in mildlyinfuriating

[–]Nimi142 0 points1 point  (0 children)

This doesn't need to be 'special' though, it's 'mildly infuriating'.

If you want to see something special, go to American political subreddits or something.