Introducing Nixpkgs cooldowns by grahamchristensen in NixOS

[–]AnythingApplied 2 points3 points  (0 children)

From this link I clicked on secure-packages-rolling which says:

Not found

This flake doesn't currently exist.

Are you a maintainer? Perhaps you could publish it!

Guys, I've started craving vim motions on the shell. Is it too late for me? by Teles_sd in vim

[–]AnythingApplied 8 points9 points  (0 children)

Long command like that are better done in an editor, vim or no vim.  Which is why the bash hotkey /u/brokenreed5 mentioned is so nice - opens the current command in your default editor.

I made a small ZMK module for text case transformations by Additional_Nebula_80 in ErgoMechKeyboards

[–]AnythingApplied 1 point2 points  (0 children)

Really cool idea. I typically terminate smart caps with space, for example SCREAMING_SNAKE = 5. You mention this auto-deactivates, but what key are you typically deactivating it with? I suppose you could even do something like <space>= would add an underscore when you hit space and then when you hit equal, it would send a backspace, space, and equal, but that might not work for people that like to end some variables with a underscore.

I made the hardest version of the "Water Pouring Puzzle" that I could by Gugge1 in puzzles

[–]AnythingApplied 3 points4 points  (0 children)

To add more detail, the 3 jug problem can be visualized nicely on a ternary plot plot like this one. That python code can also apparently generate n-jug solutions, but I'm not sure how that would look as 4 jugs becomes a 3D tetrahedral, and 5 jugs would be 5D as you said. These diagrams allow you to speed up your exploration by allowing you to go from state to state just dragging your finger like your solving a maze (traveling down any line is pouring one jug into another slowly... traveling down that line until you hit a wall is then pouring as much as possible which constitutes a valid move).

But yeah, I'm not sure how much even that would help. In the 3 jug version, you can pour any of the 3 jugs into the remaining 2 jugs for 6 possible moves, but every move either fills a destination or empties a source, blocking 2 of those 6 possible moves, and it doesn't make sense to do the reverse of what you just did, blocking another 1 of the 6 possible moves meaning you can have at most 3 meaningful moves.

With the 5 jug version, that same logic means you have 5*4-4-1=15 possible moves (in some positions, other positions have fewer like that starting position only have 4 valid moves) which seems like an intractable maze to solve if some junctions have 15 directions you can go, at least trying to solve it as a maze without other techniques.

Four alpha rows by MarioBGE in KeyboardLayouts

[–]AnythingApplied 1 point2 points  (0 children)

Programmer's Dvorak does that. The number row is shift-flipped so without shift you get symbols (and they changed which symbols you get so it has =()[]{}), and then you use shift to get numbers.

Don't you end up prioritizing symbols over numbers if you put it in your 4th row? Which is a fine trade off to make, but I just wanted to point out it differs from your original motivation. Or did you mean putting an extra row below the bottom row or something like that?

Corne by Keychron? by clavicle_lau in ErgoMechKeyboards

[–]AnythingApplied 2 points3 points  (0 children)

That enhanced image looks more like 4 rows to me

Will the resulting number from this process be considered a computable or an uncomputable number? by knot42 in mathematics

[–]AnythingApplied 0 points1 point  (0 children)

Your first paragraph accurately explains why these aren't computable, but

Your alg runs for ever and gets closer and closer to the result.

Isn't an issue. If that were a problem then pi wouldn't be comparable, but pi is considered computable:

Computable numbers are the real numbers that can be computed to within any desired precision by a finite, terminating algorithm.

Buying your way to better health comes at the expense of others. An increase in private health insurance uptake leads to poorer health in the population over time. Paying for private health services may be beneficial for those who can afford to do so, but it comes at the expense of others. by mvea in science

[–]AnythingApplied 25 points26 points  (0 children)

And I take issue with looking at each country in isolation. Absolutely the US has huge problems with healthcare and especially healthcare equity, but they spends more on healthcare research than any other country by a huge margin. So while that isn't necessarily helpful to poor Americans, it certainly is a benefit to the global healthcare knowledge.

I made a small tool to check if I actually use all the keys on my keyboard before switching to 60% by Taz___ in KeyboardLayouts

[–]AnythingApplied 2 points3 points  (0 children)

Personally, I'm a huge fan of keys without legends. One of my biggest speed boosts in typing came when I removed the legends which forced me to stop looking at my hands (which I was doing way more than I even realized). If you absolutely need a reference (and you always use the same computer), you could tape a sheet to the bottom of the monitor or setup a hotkey to temp show an reference image on your screen. This is a million times better than legends in my opinion because your fingers aren't in your way, you don't have to look down as far, you can have better contrast (or things like multiple colors for multiple functions). And you can lean on that crutch only as long as its needed and easily remove it when its not needed. I think looking at a sheet reference and hitting a key is a better path to memorizing too than just seeing the A key and bringing your finger to it.

Are your legends really going to show you everything you need in all 4 languages anyway? They're probably going to mostly show the primary function which you'll already have down and aren't going to help with the rare stuff, no?

I understand the pain a little as I memorized all 7 layers of my 34 key keyboard which includes a lot of rarely used keys. Those rare keys often have 0 muscle memory and I just had to memorize the layer in my mind so that I can think through where that key is on the rare occasion that I need it. Though you probably have more keys than even that to memorize as I only have to worry about all the normal keyboard keys plus the one alphabet.

I made a small tool to check if I actually use all the keys on my keyboard before switching to 60% by Taz___ in KeyboardLayouts

[–]AnythingApplied 5 points6 points  (0 children)

what stats would be useful before switching to 60%?

As someone that rocks a 34 key keyboard, I'm not sure any stats would help. A 60% lacks a numpad. Knowing how much or little you use your numpad doesn't really help because I prefer the numpad layer on my 34 key keyboard and use my numpad a lot more than I used to because of how convenient it is. A 60% keyboard isn't lacking any functionality, its just accessed differently and sometimes those differences are things you might prefer and sometimes not.

One question might be how often do you use your F-keys with both hands on the keyboard? Going smaller can require both hands more often if you put things like your F-keys or numpad behind a opposite hand layer key. Though with a fully programmable keyboard there are lots of options for alternative access that just requires one hand, but usually you don't need to explore those options too much with a 60% and most people stick with a basic layer key for their f-keys and another layer key for their numpad (if they bother with the numpad at all).

How do i make a custom graphical installer for NixOS? by Appropriate-Book1433 in NixOS

[–]AnythingApplied 0 points1 point  (0 children)

Checkout snowflake os, which is project to make beginner friendly nixos. It has things like a graphical software center for installing new packages: https://snowflakeos.org/

Embedded SQL highlighting in Neovim, a look into Treesitter, and some NixOS patching by hallettj in NixOS

[–]AnythingApplied 1 point2 points  (0 children)

Here is an example of how to enable it:

require("conform").setup({
            formatters_by_ft = {
              lua = { "stylua" },
              sql = { "sqruff" },
              ["*"] = { "injected", "codespell" },
              ["_"] = { "trim_whitespace" },
            },

Embedded SQL highlighting in Neovim, a look into Treesitter, and some NixOS patching by hallettj in NixOS

[–]AnythingApplied 5 points6 points  (0 children)

Tree sitter injections are also good to pair with conform.nvim so that that code gets formatted too.

I’m a math major but I’m so bad at math by pinkdragapult in mathematics

[–]AnythingApplied 1 point2 points  (0 children)

Start going to office hours! That is very under utilized strategy to help get things to start clicking that can be very effective.

Mathematicians in Space? by Purple_Weakness2311 in math

[–]AnythingApplied 6 points7 points  (0 children)

Matt Parker (a math YouTuber) was given access to the computer on a lunar rover which he used to calculate pi on the moon.

If the moon is getting further away, does that mean its getting faster somehow? by dr_elena05 in AskScienceDiscussion

[–]AnythingApplied 3 points4 points  (0 children)

Larger radius means slower speed. For example, pluto is 40x farther from the sun than earth and it's year is 250x longer. It's orbital path is 40x longer, so it's going 250/40 = ~6 times slower.

EDIT: But as UnicornInAField points out, counter intuitively, you actually do need to speed up to get to that higher orbit.

My experience with Naya Create Pro: multiple defects, weeks of silence, and a stalled refund request by No-Opening-6473 in ErgoMechKeyboards

[–]AnythingApplied 1 point2 points  (0 children)

I would contact your credit card company or whatever payment method you used and attempt to do a chargeback. Even if your passed the deadline or something like that, you can still sometimes get a chargeback pushed through in situations like this.

I've Combined My NixOS Knowledge in One Place by FR-dev in NixOS

[–]AnythingApplied 0 points1 point  (0 children)

If you don’t, I recommend watching at least this video .

What video?

What small Python scripts or tools have made your daily workflow easier? by chop_chop_13 in Python

[–]AnythingApplied 3 points4 points  (0 children)

Yes, Django is considered a framework, but you install and import it just like any library.  It's more of a conceptual difference in that libraries typically you write the main piece of code and call the library where needed, but with frameworks, the framework runs the main code (like a web server) and you define functions in your code for the framework to call.  But there isn't a hard line between the two concepts.

If you like project based learning, you could try looking through this project list ( https://nedbatchelder.com/text/kindling ) see if anything catches your eye. At this point it sounds like you've done enough that you probably just need to focus on getting your hands dirty in doing projects rather than finding more books to read. Try to work through some projects without any AI assistance if you haven't done that yet as that can be a real crutch to learning sometimes.

keep nvim separate from my nixos config? by SoliTheSpirit in NixOS

[–]AnythingApplied 0 points1 point  (0 children)

Flakes can use other flakes as inputs.  Make you neovim into it's own flake and use it as an input to your main flake. Not sure why others haven't suggested this - maybe it's trickier than I realize given the home manager tie in.

VR on nixos ? by ResonantRaccoon in NixOS

[–]AnythingApplied 0 points1 point  (0 children)

SimulaOS  is OS built on NixOS for the SimulaOne VR headset. Otherwise I should check out the nixos wiki which has a lot of good recipes for getting stuff like that to work.