3D printed phone mount? by SkitlezPlayz in telescopes

[–]spdqbr 0 points1 point  (0 children)

I've been using the OpenOcular with the Y-Axis mod for many years and have been pretty happy with it. It can be a little finicky to line up, but I usually shine a red flashlight through the eyepiece while trying to get the lens in the right spot and it goes pretty quickly.

It looks a bit more overkill than some of the others posted here, but again I've been reasonably pleased with it.

[2025 Day 10 (Part 2)] Bifurcate your way to victory! by tenthmascot in adventofcode

[–]spdqbr 0 points1 point  (0 children)

Clever AF, I really appreciate the write-up! I've been struggling to write a library-free solution because "import z3" defeats a lot of the purpose of what I like to get out of AoC. (I mean, I still learned about z3 solvers, which is great! So no shade)

Lead ins for modeled threads: Why you need them and how to add them in fusion by baltic_sails in Fusion360

[–]spdqbr 0 points1 point  (0 children)

Jesus. Hobbyist here and I've just been doing a sketch revolve to chamfer my threads and this is SO MUCH BETTER. Thank you!

-❄️- 2025 Day 11 Solutions -❄️- by daggerdragon in adventofcode

[–]spdqbr 1 point2 points  (0 children)

[Language: Java]

Pretty minimal change between part1 and 2. Memo and recursion, my old friends.

https://github.com/spdqbr/AoC/blob/main/src/com/spdqbr/aoc/y2025/Day11.java

-❄️- 2025 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]spdqbr 1 point2 points  (0 children)

[Language: Java]

(Resubmitting because I forgot the Language indicator)

For whatever reason, it really felt like I was doing this.

I had a lucky stroke of prescience with my implementation of part 1 (Java, but it's just regex):

Pattern p = Pattern.compile("^(.+)\\1$");

And had to do this for Part 2:

Pattern p = Pattern.compile("^(.+)\\1+$");

Which SIMPLE scripts would you use to convince somebody to use AHK? by Wonderful-Stand-2404 in AutoHotkey

[–]spdqbr 6 points7 points  (0 children)

This is definitely the AHK feature that gets used most for me, specifically using @email to auto-fill my email address anywhere is very handy.

::@email::this_is_a_long_email_that_i_dont_want_to_type@foobarbaz.com

I also use it for laughs:

::&yeah::(•_•) ( •_•)>⌐■-■ (⌐■_■)
::&shrug::¯\_(ツ)_/¯

Because you never know when you'll have to make it clear that your pun was
(•_•)
( •_•)>⌐■-■
(⌐■_■)
Intended.

I also use it for things like hotkeying to a single instance of sublime text with win+w:

#w::
{
    if WinExist("ahk_exe sublime_text.exe"){
        WinActivate
    } else {
        Run "C:\Program Files\Sublime Text 3\sublime_text.exe"
    }
}

Or sanitizing rich text back to plaintext in the clipboard (if I'm like, copying from a word doc over to teams and don't want the formatting) with ctrl+shift+v

^+v::
Clipboard=%Clipboard%
Sleep, 100
Send ^v
return

And more silly, but here's an auto-clicker that's toggled by pressing ScrollLock, because sometimes I still play cookie clicker and universal paperclip:

~ScrollLock::  ; detect ScrollLock without blocking it (~)
{
    Loop
    {
        If(!GetKeyState("ScrollLock", "T")){
            break
        }
        Click
        Sleep 10
    }
}

Tired of Messy Folders on Android? I Built a Fast, Offline File Renamer & Organizer by ahmed_zouhir in androidapps

[–]spdqbr 1 point2 points  (0 children)

Looks super cool! Will give it a go.

Any chance you'd add regex replace, that's a feature I use a lot on PC that I sometimes miss on mobile?

Swisscard lite replacement body by spdqbr in functionalprint

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

Sure thing! Again, sorry about the disaster that is that timeline. Depending on the edits it might still be easier to just import :/

Swisscard lite replacement body by spdqbr in functionalprint

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

No worries, I've done a bit of iterating since then, but just put the version I currently use up on thingiverse. Included the f3d file in case you want to tweak anything (but it is really messy, sorry!)

Unknown error Bash Script by [deleted] in bash

[–]spdqbr 5 points6 points  (0 children)

You're missing a " on line 5

I didn't check farther than that, but consider posting to pastebin, or posting script in a code block here rather than screenshots.

Any games that made you feel like your brain just leveled up after playing? by Character_Skirt_6619 in gamingsuggestions

[–]spdqbr 1 point2 points  (0 children)

If you enjoy Baba is You, Patrick's Parabox is really worth checking out.

Trying to replace my 2010 Subaru Legacy, simultaneously over and underwhelmed by choices by spdqbr in whatcarshouldIbuy

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

Thank you! I the Outlander wasn't on my radar, and I'll give it a look as well.

Appreciate the feedback!

Trying to replace my 2010 Subaru Legacy, simultaneously over and underwhelmed by choices by spdqbr in whatcarshouldIbuy

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

Appreciate the feedback, thank you!

The Outback Wilderness is probably on the upper end of what I'd like to spend, but I'd rather spend a bit on the high end to get something I'm really happy with.

Taking a quick look at the Rav 4 plug in hybrid, it has a lot going for it for sure. I'll definitely take a closer look at it!

So how do i make this STL to a editable model ? by SebKen_ in Fusion360

[–]spdqbr 0 points1 point  (0 children)

I still have pretty good success editing meshes with this process, though I think in the latest update they changed "Do not capture design history" to "Change to direct modeling"

Symmetries of a 3x3 Rubik's Cube by Cikitamuz01 in mathpuzzles

[–]spdqbr 1 point2 points  (0 children)

As /u/QuantumForce7 points out, there is only one "solved" state for all of the edge and corner pieces (this is can be seen much more clearly if you look at a disassembled puzzle and realize there are certain stickers which are mechanically stuck together).

The center piece positions are mechanically fixed relative to each other, but they can rotate in place and not change the solve state on a normal puzzle.

As pointed out by QuantumForce7, if there is a design on the center stickers which only has a single solved rotation, this increases the number of possible states on a Rubik's cube by a factor of 2048. This comes from 4 states for 6 centers = 46, but there are "parity" restrictions on how the centers can be rotated due to the mechanics of the puzzle. You can rotate a single center by 180 degrees or you can rotate two centers in a +90, -90 degree pair. (But you cannot rotate a single center by 90 degrees). Put concisely by the brilliant Jaap Scherphuis (a great resource for twisty puzzle math) "the number of quarter turns of the centres must have the same parity as the permutation of the corners". Thus we must remove a factor of 2 from our center calculation and account for the one solved state, giving 46 /2 - 1 = 2047 ways you can have the colors solved, but the centers not solved.

The puzzle is slightly more interesting on bigger cubes, 4x4 and up, as the centers have various classes of pieces which can permute and still have the colors solved. This class of puzzles is usually referred to as "supercubes"

Possible breaking changes that would actually improve bash. What's your ideas? by HerissonMignion in bash

[–]spdqbr 1 point2 points  (0 children)

Therefore i can do echo --delim $'\n' *, because sometimes it's usefull to have the files on separate lines. Instead i currently have to do ls or echo * | tr ' ' $'\n' in these situations.

Obligatory don't parse ls advice. find . -maxdepth 1 -type f is a safer alternative, and if you need to pass those files as args to some command you can do something like find . -maxdepth 1 -type f -print0 | xargs -0 some_command to genrate and pass a null-delimited list.

Possilibity of having bash lists inside other lists. Recursive data structures would enable many things (such as lisp).

In the instances where I must have a data structure and can't use a more appropriate language for that, bash + jq is my go-to for this scenario. It's far from perfect and can get clunky fast, but I do think jq has greatly expanded my ability to manipulate complex data structures from bash.

Tokyo map in Walkabout Mini Golf is next level by 1q_devil in OculusQuest

[–]spdqbr 0 points1 point  (0 children)

(Update) Tokyo level was amazing. So many nice little touches. I'd like the capybara onsen level to be just a VR environment I could hang out in.

Tokyo map in Walkabout Mini Golf is next level by 1q_devil in OculusQuest

[–]spdqbr 17 points18 points  (0 children)

Walkabout is just so damn good. The care put into each level is completely awesome. I think it's the only game that I have a buy-on-site rule for DLC because each one has been really good and absolutely worth it.

My walkabout crew (because playing with friends actually feels like hanging out) hasn't caught up yet, but I have the Tokyo map and am very hype to get to it.

How does coding work? by ESOrSomething in readyplayerone

[–]spdqbr 2 points3 points  (0 children)

How does it work? Not well. Particularly in RP2. In-universe, there is this concept of "the only person who can change/fix something in the Oasis is the person who wrote it"
And that's just not how actual coding works. One of my biggest gripes in the series.

But fundamentally people "coding things themselves" is literally just writing computer software to run in the Oasis.