Kotlin
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
Kotlin
Double expansion seams like a nice approach, but I didn't think of that. Instead, I just scan the lines and “remember” if I am in a component or not by counting the number of pipe crossings.
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)
Yep, me as a small child.
Oh, I missed that 😅
Reading this on Infinity for lemmy
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.
Hi, I was wondering if there is an app that enables loyalty cards sharing. When you open it, you can enter your card code of the Store. Now you can use a card of any other participant who entered his own card for the Store (the backend will send a random one) and your code can be used by anyone else using the service. Usually the cards are just permanent ID (shown as a bar code), so it shouldn't be that hard to implement.
While using this, the shop would have no chance of creating a profile on you and tracking you (as the purchases would be “random”), they have these data anyway. You would only give up the data you fill in when you ask for the card.
Do you know something like this? Or am I missing something important, or do you see some major flaws in this design (I don't use loyalty cards, but sometimes they could be quite useful)? Thanks
I used to have an USB stick with Ubundu on it, so I see no reason that it shouldn't be possible. But idk how drivers would work.
Also I would check how much RAM is needed to boot the live ISO (not during the process). If it is low enough, you can use swap.
I saw some pseudoviruses did that, interesting times 😵💫
And have you bought it from a carrier, or directly from Samsung/retailer?
If you own a recent Samsung device, definitely try One Hand Operations app - takes gesture navigation to a whole another level. One of my favourite apps.
Written on Flip 4.
The compromises hit quite hard. Battery life sucks, screen brightness in sunshine is horrible, and photo quality is not that great (as expected). I still like the toy aspect of it, can lay it anywhere I want, software is also quite good (but definitely not perfect). Fit in pocket (man) is also not perfect (as now key are under it and not next to it). Overall, I still like it, but if I got the money back, I would go back to a normal phone.
FIT CTU Prague student, Android developer, and technology enthusiast.