to_urcite_ty_kokos

u/to_urcite_ty_kokos@lemmy.world
2 posts · 44 comments

Recent posts

Recent comments

Wouldn't this code fail in a case like this? Because you count different lines, not different characters in the lines, right? Or am I missing something? Thanks (Let's ignore column symmetry for the sake of example).

##
..
..
..

(I think you will get answer 100, but the answer is 300)

But for sure after seeing this I have to learn Scala.

Kotlin

Github

Was lazy at the beginning, so I started to do actual expansion in memory, then decided to do it properly. And it paid off in the second part.

  • find galaxy coordinates + hold few bit masks to find unused rows and columns โ†’ convert to indexes
  • transform original galaxies coordinates considering number of previous empty lines (time for simple binary search)
  • use the Manhattan distance

That's looking quite promising. The main thing missing before being ready for me is filter/add by region and of course shop name. Then it can go out i think (+ give me a random code feature as the next step).

And make a new post with this, no one will notice otherwise (if you haven't already)

on AI rule · c/196 · 7 pts · 3y

I got snake arms ๐Ÿ

I personally have the skills (I hope so), but from the time standpoint it's not as great nowadays. I also don't want to write an app that would be used just by few people (the cards should also be separated by region, so even more people would be needed to start going).

When you sing up for such a card, do they usually check it? I can image some stores checking your ID the first time.

Yeah, but that you have to do that manually and share it among more people to be really secure. But yes, could be also an option.

on what · c/techtakes · 7 pts · 3y

But still there are bugs in production ๐Ÿ˜†