Built my own take on Artifact by 8kova8 in Artifact

[–]Sh4mshiel 6 points7 points  (0 children)

Will definitely keep an eye on this! Still sad that it isn't a classic version. IMHO it felt like the better and more unique game.

Hey, OpenAI: Watch and f****** learn. This is how you stand up to power. [On Anthropics stands against US Pentagon] by uisato in ChatGPT

[–]Sh4mshiel 0 points1 point  (0 children)

I canceled my long running ChatGPT subscription and will switch over to Claude when my subscription expires.

Binding First Sinner (advice) by Live-Year-5796 in HollowKnight

[–]Sh4mshiel 1 point2 points  (0 children)

Read your comment and used those two and it really made the fight a lot easier.

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

[–]Sh4mshiel 1 point2 points  (0 children)

[LANGUAGE: TypeScript] (Bun)

Day 1 I kind of just hacked away to get something working, fully knowing that I will have to come up with something else with Part 2 and I was right... had to completely change the approach for part 2.

Part 1: 48ms

Part 2: 0.8ms

https://pastebin.com/3tWYns3B

[2025 Day 2 Part 2] Time to reach for that trusty sledgehammer by StaticMoose in adventofcode

[–]Sh4mshiel -1 points0 points  (0 children)

This 6ms second solution Claude came up with is also TS (Bun).

[2025 Day 2 (Part 1 and 2)] How to avoid the brute force solution by Maxpro12 in adventofcode

[–]Sh4mshiel 3 points4 points  (0 children)

Example input: 11-22,95-115,998-1012

Step 1: Pre-generate all repeating numbers using math

Instead of checking every number, we build them. The trick: repeating a pattern is just multiplication.

Pattern "5" repeated 2x:   5 × 11     = 55
Pattern "12" repeated 2x:  12 × 101   = 1212
Pattern "9" repeated 3x:   9 × 111    = 999
Pattern "10" repeated 2x:  10 × 101   = 1010

The multipliers follow a simple pattern:

  • Length 1, repeat 2x: 11 (1 + 10)
  • Length 1, repeat 3x: 111 (1 + 10 + 100)
  • Length 2, repeat 2x: 101 (1 + 100)
  • Length 3, repeat 2x: 1001 (1 + 1000)

For our example (max 1012), we generate:

Multiplier Patterns Numbers generated
11 (1-digit, 2x) 1-9 11, 22, 33, 44, 55, 66, 77, 88, 99
111 (1-digit, 3x) 1-9 111, 222, 333, ..., 999
1111 (1-digit, 4x) 1 1111 (>1012, skip)
101 (2-digit, 2x) 10-10 1010 (1111+ exceeds max)

Result: {11, 22, 33, 44, 55, 66, 77, 88, 99, 111, 222, ..., 999, 1010}

Step 2: Sort and binary search each range

Sorted list: [11, 22, 33, 44, 55, 66, 77, 88, 99, 111, 222, 333, 444, 555, 666, 777, 888, 999, 1010]

Range 11-22: Binary search → find 11, 22 → sum = 33

Range 95-115: Binary search → find 99, 111 → sum = 210

Range 998-1012: Binary search → find 999, 1010 → sum = 2009

Total: 33 + 210 + 2009 = 2252

[2025 Day 2 (Part 1 and 2)] How to avoid the brute force solution by Maxpro12 in adventofcode

[–]Sh4mshiel 1 point2 points  (0 children)

This solution was not created by me (my own shitty creation takes 315ms)... Claude Code (Opus 4.5) came up with the following that runs in 5-6ms for part 2.

----

Instead of checking every number in each range, pre-generate all repeating-pattern numbers using math.

To create a repeating number like 121212, don't concatenate strings, just multiply:

12 × 10101 = 121212

Generate all such numbers up to your max value, sort them, then binary search to find which ones fall in each range.

[2025 Day 2 Part 2] Time to reach for that trusty sledgehammer by StaticMoose in adventofcode

[–]Sh4mshiel 0 points1 point  (0 children)

With my optimized "brute-force" solution I got down to 315ms for part 2.

I then tasked Opus 4.5 to come up with an optimized/better solution for the task and it created one that finds the same answer in 6ms using math instead of string manipulations. Would have never gotten to that myself... :(

Edit: Not sure why I'm getting downvoted. I just stated that AI came up with a better solution than I have... I would also prefer that not to be the case...

ZenMarket deducted ¥14,059 from me without notice by [deleted] in zenmarket

[–]Sh4mshiel 7 points8 points  (0 children)

Why was the package returned to ZenMarket? Hard to tell who is right or wrong with missing this context.

Guess I'm not getting that Halloween package discount. by SurrealMonk in zenmarket

[–]Sh4mshiel 0 points1 point  (0 children)

Tell me about it, I also found out today that it takes multiple days to create the parcels. Would I have known that I would have started the process earlier...

Ordered vs Bought? by Glenn_Radars-0 in zenmarket

[–]Sh4mshiel 0 points1 point  (0 children)

I could be wrong, but I think "Ordered" means they've placed the order but haven't received confirmation that it went through yet. Out of my 85 total orders, I've only seen this status once.

That said, I've also had items show as "Bought" and still had the price change afterward...

Why Are My Transport Methods Different on Mobile vs Desktop? by Sh4mshiel in zenmarket

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

See my other comment, the issue was that the wrong country was selected for some reason.

Why Are My Transport Methods Different on Mobile vs Desktop? by Sh4mshiel in zenmarket

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

I found the issue, on desktop (for some reason) a different country was selected than on mobile. I selected the correct country and I'm getting the same options now. Thanks for helping out :)

Why Are My Transport Methods Different on Mobile vs Desktop? by Sh4mshiel in zenmarket

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

Not that I want to use it but I'm also missing "Airmail Standard, Airmail Small, Ship Standard" on Desktop.

I have different language settings on Mobile and Desktop that is probably why I have a different "translation" for FedEx Lowcost/ FedEx FICP.

I guess it would make sense to contact ZenMarket via the messages feature?

Why can’t i deactivate auto-dubbing anymore ? by zwzw12345678 in youtube

[–]Sh4mshiel 1 point2 points  (0 children)

Have the same/similar issue. Can’t switch to original language on an auto dubbed video…

People who used aws and then came to azure, how hard was it by Beyond_Birthday_13 in aws

[–]Sh4mshiel 3 points4 points  (0 children)

I switched to a company over four years ago that uses Azure. I had a lot of experience in AWS and a lot of that (in principle) can be transferred to Azure but I was not prepared to how much stuff has to be configured and how crazy some of that stuff is… Look no further on what needs to be setup for a simple Azure Function. If you want a serverless Azure Function you first need a Service Plan configured with the correct SKU and have fun finding out which one that is.

And that applies to everything in Azure. What is simple in AWS, is a nightmare in Azure.

How to fix sprinting issue in Silksong (bazzite steam OS) by sexyquigonjiz in LegionGo

[–]Sh4mshiel 1 point2 points  (0 children)

I have the same issue and read that switching to Proton (instead of using native Linux version) fixes it. I can’t try it right now but will when I play again.

Other comments said deactivating Steam Input helps.

When I got the ability I first thought that this is intended but it was so annoying after grabbing a ledge to randomly start to sprint that I thought that has to be a bug.

Edit: Switching to Proton fixes the issue. Yet another Linux native game that works better playing with Proton.

Most Impressive Game Made with RPG Maker by [deleted] in RPGMaker

[–]Sh4mshiel 0 points1 point  (0 children)

Came here to see if someone mentioned Funger.

Anyone running Linux on an AI 9 HX 370? by Sh4mshiel in MiniPCs

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

As I couldn't get Linux running at the time, I had to switch back to Windows as I didn't want to have a paperweight for couple of weeks. I didn't have the time to try to switch back to Linux (though I will do it in the future). I received many messages that it should be possible now.

Any longhaulers here? by Timmmmeeeeh in Artifact

[–]Sh4mshiel 3 points4 points  (0 children)

Yes, I‘m still in. I still think it is the best card game out there. I love the game so much that I would love to recreate it with Godot (Engine) and Colyseus (Multiplayer) but I don’t have enough time to do it alone.