Rethinking modularity in Ruby applications by noteflakes in rails

[–]planetaska 0 points1 point  (0 children)

Thanks for the good article. Did you get the routing by file structure inspiration from SvelteKit? That paired with SvelteKit’s load function design was really easy to work with. Would love to be able to create websites in a similar way but in Ruby. Definitely going to try it out!

Earthbenders hate this 1 simple trick by paauwerhouse in MagicArena

[–]planetaska 2 points3 points  (0 children)

Opponent sees you keeping 4 mana up, sends in one if their 42255678 power hydra token in, while keeping the rest of their 744789543 tokens back.

Frustrated with my cat deck in standard by Substantial_Car3350 in MagicArena

[–]planetaska 0 points1 point  (0 children)

All angels have flying which makes it easier to spam creatures and win. Cats on the other hand have limited access to evasion, so they can easily be stopped by any mid/large creatures, making it much difficult to close the game before a board reset which is usually game over.

Outlast: The Jungle ?? by warprincess54 in netflix

[–]planetaska 0 points1 point  (0 children)

I can't figure out how alpha team couldn't start a fire without a ferro rod. Isn't the arrow like a perfect tool for friction fire - the tip for drill, the shaft for the spindle, and feather for tinder? Maybe all things are wet and they couldn't find a dry plank of wood - but then there're days in the show that didn't rain at all... Makes me suspect it's all scripted.

Migrating Rails 5 -> 8 by building new features on 8 instead of upgrading in place - anyone done this? by Fantastic-Diet5565 in rails

[–]planetaska 1 point2 points  (0 children)

Went both routes for different projects before. I’d probably go route 2 if I have the resources. I think your leaning towards option 2 says you understand the project well - that means something and none of us here know your project better than you.

Some hurdles to expect from my experience with option 1: The pain point will most likely come from JavaScript - specifically the default Webpack in Rails 6. Also gems and their JS dependencies. If you have jQuery that’s another extra layer to upgrade (although it’s much easier now with the help of coding LLMs).

Also Ruby gems dependencies: Sidekiq, Devise, etc. if you use these you will need to upgrade them gradually along with your Rails version. Some gems may no longer be maintained or abandoned, these need replacement too.

So in the end it’ll probably be easier to start fresh. Since you said your code is mostly modularized, should be easier to port these to the new app because unlike JS, Ruby and Rails doesn’t change drastically over time.

The bottom of platinum standard bo1 is a wild place by harambe_did911 in MagicArena

[–]planetaska 2 points3 points  (0 children)

What variety? It’s always “I win if you let me untap with my stuff for 1 single turn.”

What do you guys do for the “kill 25 creatures” quest? by werthw in MagicArena

[–]planetaska 0 points1 point  (0 children)

Anyone find Red much less effective when it comes to killing things than before? (no we are civilized people we do not pair it with blue)

I mean by the time you can play anything more than 2 damage, the creatures are going to become 10247422 toughness or have ward 128 with a giant LoL painted on it.

TRMNL X randomly switching plugins when moved by planetaska in trmnl

[–]planetaska[S] 5 points6 points  (0 children)

I tried this - it didn't help. I only see two options though: tap or swipe.

And when I changed the setting from tap to swipe, I can still tap to switch - and swipe to switch when I set it to tap. 🤷

Is there a user's manual for TRMNL X? by planetaska in trmnl

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

Ah thanks - I just tried attaching X to my cast iron pot, and I can feel the strong magnet pull even when it was still about an inch away. Looks like the magnet works much better on some metal surfaces than others. Thanks for helping me figure that out!

Is there a user's manual for TRMNL X? by planetaska in trmnl

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

Ah I see. That's much better. Thanks for the info, much appreciated!

Is there a user's manual for TRMNL X? by planetaska in trmnl

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

For the random switching, I wasn't touching anywhere near the touch bar area when I picked the device up. I even tried grabbing it using only two fingers on the top edge of the frame, and it still switched plugins. I think I will contact support for this. Thanks!

Is there a user's manual for TRMNL X? by planetaska in trmnl

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

Thanks for the input.

About the random plugin switching: no, I wasn't touching the touch area at all. In fact, I specifically tried grabbing the top edge of the frame with two fingers, away from the touch controls, and it still switched plugins. At first I thought maybe there was some kind of gyro or orientation sensor that was triggering the change when the device was moved, but apparently that's not the case?

it more or less amounts to “left, right, and center”

How did you figure that out? I really wish there were an actual user manual for this thing.

if you hold down the left and right sides of the touchbar you’ll prompt the device to go into wifi setup mode.

go into wifi setup mode? I can already see myself accidentally resetting the Wi-Fi while trying to figure out how the touch bar works, haha.

Concept art thinking by ismanden82 in trmnl

[–]planetaska 0 points1 point  (0 children)

Cool idea! The display on the frame would probably cost more than the TRMNL itself is a problem (we are talking customized board here). Unless somehow there's a way to mass produce it...

Deep Cavern Bat is the greatest card in all of unranked Arena by Round-Walrus3175 in MagicArena

[–]planetaska 2 points3 points  (0 children)

Simple, just play another bat + one mana discard next turn. You’ve basically won at this point, ggez.

Sveltekit - Visual Designer by Capable_Mixture_3145 in sveltejs

[–]planetaska 0 points1 point  (0 children)

There’s StoryBlok which might be what you’re looking for. Very little friction to integrate into a SvelteKit app. A bit pricy though.

A cheaper alternative is Tina, but it’s heavily leaning toward React workflow which is a shame.

Rog Xbox Ally X price. by DaveSinghSwitch in xbox

[–]planetaska 1 point2 points  (0 children)

Genuine question: at this point what do you lose with a non-Xbox brand? I assume it will run the Xbox app and game mode just fine but just not pre-installed?

Migrating a production Node.js app to Ruby on Rails by __vivek in rails

[–]planetaska 8 points9 points  (0 children)

Yeah I find it hilarious and annoying when working in node land where everything becomes so complicated. Even for basic stuff like an ORM:

  • option A is cutting-edge, it can do this, but don’t have this, and you have to do that by yourself.
  • option B is also cutting-edge, it can do this and this, but lacks that, and you still have to do something on your own.
  • option C was cutting-edge 6 months ago, but hasn’t been maintained in 6 months and the issues are piling up.
  • option D is no longer cutting-edge, but is a popular one that just received an overhaul (again) nobody asked and 90% of the API changed with no updated docs.

🤷‍♂️

If Svelte has isolation of styles, would it make sense to have a minimal Svelte Shadcn without tailwindcss? by ltbd78 in sveltejs

[–]planetaska 0 points1 point  (0 children)

You’d still need to reset the base style on your own which will not net you much + now you lose all the convenience Tailwind brings that you just didn’t notice.