🌟 - 2023 DAY 13 SOLUTIONS -🌟
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Oh, I see, I for some reason switched zip operation with “create pair/tuple” operation in my head. Thanks for clarification.

    2
  • 🌟 - 2023 DAY 13 SOLUTIONS -🌟
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    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.

    2
  • ☃️ - 2023 DAY 11 SOLUTIONS - ☃️
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    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
    2
  • ❄️ - 2023 DAY 10 SOLUTIONS -❄️
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Kotlin

    Github

    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.

    1
  • Loyalty cards sharing app
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    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)

    2
  • Android Google Ads
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    This is the same thing as in chrome

    6
  • it does
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Shut up and take my money!

    11
  • AI rule
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    I got snake arms 🐍

    7
  • I've never known anyone to get sick from it
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Yep, me as a small child.

    17
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearRE
    Reddit Now
    Jump
    Infinity for reddit will stop working on August 30th
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Oh, I missed that 😅

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearRE
    Reddit Now
    Jump
    Infinity for reddit will stop working on August 30th
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    Reading this on Infinity for lemmy

    20
  • Loyalty cards sharing app
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    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).

    1
  • Loyalty cards sharing app
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

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

    1
  • Loyalty cards sharing app
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    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.

    2
  • 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

    19
    17
    what
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 87%

    But still there are bugs in production 😆

    6
  • Does that mean it is possible to run Arch on a super, super old computer via some mounting trickery?
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 50%

    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.

    0
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearME
    me_irl Now
    Jump
    me🧛irl
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    The correct variant is: "May I come in?" right? 😅

    7
  • When the fuck did a mobile hotspot become something you have to pay extra for?
  • to_urcite_ty_kokos to_urcite_ty_kokos Now 100%

    And have you bought it from a carrier, or directly from Samsung/retailer?

    5
  • to_urcite_ty_kokos Now
    2 37

    to_urcite_ty_kokos

    lemmy.world

    FIT CTU Prague student, Android developer, and technology enthusiast.