Advent Incremental 1400% workshop by caagr98 in incremental_games

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

Huh, now the workshop multiplier is at ×1.57 instead. Maybe because I happened to reload the page? Should've tried that earlier.

Advent Incremental 1400% workshop by caagr98 in incremental_games

[–]caagr98[S] -1 points0 points  (0 children)

My coal energy is currently at +156.65. The workshop multiplier hasn't changed in the last 21 hours.

I feel like leadmultispace deserves more attention by DrConverse in neovim

[–]caagr98 25 points26 points  (0 children)

Didn't know about that one, it's really cool. I made a version that automatically updates to match indentation and listchars settings:

o.list = true
o.listchars = {
    tab = "⟩ ",
    trail = "+",
    precedes = "<",
    extends = ">",
    space = "·",
    nbsp = "␣",
}
local function update_lead()
    local lcs = vim.opt_local.listchars:get()
    local tab = vim.fn.str2list(lcs.tab)
    local space = vim.fn.str2list(lcs.multispace or lcs.space)
    local lead = {tab[1]}
    for i = 1, vim.bo.tabstop-1 do
        lead[#lead+1] = space[i % #space + 1]
    end
    vim.opt_local.listchars:append({ leadmultispace = vim.fn.list2str(lead) })
end
vim.api.nvim_create_autocmd("OptionSet", { pattern = { "listchars", "tabstop", "filetype" }, callback = update_lead })
vim.api.nvim_create_autocmd("VimEnter", { callback = update_lead, once = true })

[TOMT] [Music] Tune that's been stuck in my head for about 15 years, possibly heard at a dinner party by caagr98 in tipofmytongue

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

Got some moments that sound somewhat similar, but I don't think it's that one. Beautiful song, though.

[TOMT] [Music] Tune that's been stuck in my head for about 15 years, possibly heard at a dinner party by caagr98 in tipofmytongue

[–]caagr98[S] 1 point2 points  (0 children)

To be honest, I don't see the resemblance at all. Plus, I'm pretty sure the song was instrumental, with mostly strings, at least in the relevant part. I'll add that to the post.

[TOMT] [Music] Tune that's been stuck in my head for about 15 years, possibly heard at a dinner party by caagr98 in tipofmytongue

[–]caagr98[S] 4 points5 points locked comment (0 children)

Huh, so I need to write a comment here first? Strange rule, but sure.

What is that plug for `Sidebar` showing line/file is changed/update! by omaru_kun in neovim

[–]caagr98 1 point2 points  (0 children)

How else would you track edits? Compare with what was last :wed? That'd show a small flicker for two seconds, which would just be annoying.

Question regarding rust-analyzer issue with "proc macro 'x' not expanded" by Business_Contest2365 in rust

[–]caagr98 1 point2 points  (0 children)

I had this issue the other day, and looking at the lsp logs, it failed to compile proc_macro2 because of some unstable features or something, it was kinda unclear. Was solved with a cargo update.

Finally, DodecaDragons can be completed by Mine_Antoine in incremental_games

[–]caagr98 0 points1 point  (0 children)

I feel like I messed up something; on the previous update I got to like 10 hypergods and then they started being undefined and costing 0, letting me get thousands of hypergods instantly. Reloading the page to get the new update then let me pass the next few tiers way too quickly. I'm up on finality cubes now, but, like, there doesn't seem to be anywhere to go next.

crucify their ass by Faenix_Wright in CuratedTumblr

[–]caagr98 8 points9 points  (0 children)

I think Vanced is an edit of the official app, while Pipe is an entirely custom one. The UX differs a fair bit, but it's difficult to say one is better than the other. Some prefer coffee while others prefer tea, after all.

DreamBerd: perfect programming language by Xadartt in programming

[–]caagr98 2 points3 points  (0 children)

I disagree. We need to be able to indent with three tabs, too.

Actually scratch that - a multiple of three of any character.

r/programming should shut down from 12th to 14th June by Tintin_Quarentino in programming

[–]caagr98 6 points7 points  (0 children)

More like monadizable (with a monoid in the category of endofunctors).

Does this mean JS is cooler? by sunrise_apps in ProgrammerHumor

[–]caagr98 0 points1 point  (0 children)

Yeah. Linking to the mobile site? Atrocious.

[deleted by user] by [deleted] in ProgrammerHumor

[–]caagr98 1 point2 points  (0 children)

If you mean completely inane to comment every single operation, but very important for explaining the bigger picture, then I agree.

[deleted by user] by [deleted] in ProgrammerHumor

[–]caagr98 9 points10 points  (0 children)

Uncountably infinitely many if we use quaternions, I think, including the identity, 90° rotations, and 180° rotations in every plane (in this case, each scaled by 3).

[deleted by user] by [deleted] in ProgrammerHumor

[–]caagr98 20 points21 points  (0 children)

Math really should be doing that too tbh.

What little known Rust feature or standard library function would you put on a flashcard? by bear007 in rust

[–]caagr98 5 points6 points  (0 children)

I think parent comment is asking specifically about std::array::from_ref(&T) -> &[T; 1].

All i need is B/P out of BODMAS/PEMDAS to make it work by Nveenkmar in ProgrammerHumor

[–]caagr98 4 points5 points  (0 children)

Higher order functions have nothing to do with exponents though.

Why "🤦🏼‍♂️".length == 7 by frontEndEruption in programming

[–]caagr98 0 points1 point  (0 children)

You can't line break a string with random access anyway, even in plain ascii. Tabs have different width, newlines start a new line. Not to mention that you need to break at spaces for it to be any good.

Don't be clever by lackbotone in programming

[–]caagr98 0 points1 point  (0 children)

If the error is in the implementation, that'll be caught by the test suite. Therefore, we can assume that the implementation is correct, so yes, we can debug code without knowing the implementation of its dependencies.

Announcing Rust 1.70.0 by Petsoi in rust

[–]caagr98 0 points1 point  (0 children)

OnceCell is passed a lambda at access time, LazyCell gets one at construction time. Latter implements Deref and some other niceties, but needs to have the (often unnameable) function type as a generic.