Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ST
StreetKid @reddthat.com
Posts 9
Comments 45
Ask er fanget i 'helt godnat' skattekaos for 159.000 kroner: Skal betale for alle 19 naboer
  • Det er så amatøragtigt! Fatter slet ikke nogen har tænkt, det går nok, det er en super ide at få borgere til at opkræve skat af naboerne... Håber mediedækningen får skat/vurderingsstyrelsen til at genoverveje hvad fanden det er de har gang i!

  • Feddit.dk @feddit.dk StreetKid @reddthat.com

    Mobildata i Nordamerika

    Hej,

    Skal snart ud og rejse i USA og Canada, så skal have fundet mobil abonnement der inkluderer data derovre. Jeg har selv fundet 3likehome (https://www.3.dk/abonnementer/mobilabonnementer/) og duka (https://www.duka.dk/dukatale/dukatale-world/) som virker fornuftige ift pris og inkluderet mængde data.

    Er der nogen som har kendskab til andre abonnementer? Og/eller erfaringer med mobil abonnement i USA/Canada?

    11
    What is your spoiler free opinions on fargo season 5 ?
  • Second best season after season 2.

    I really liked the cast for the characters, espilecially Jon Hamm and Jennifer Jason Leigh.

    I felt it was back to basics (Fargo wise) after season 4 which I found a bit out of order.

  • Einhell - godt eller skidt?
  • Jeg kender ikke til Einhell dyksave, men kap- geringssav er jeg ikke imponeret over fra Einhell. Nu ved jeg ikke hvad du skal lave, men hvis det evt bliver skjult eller bare er noget grov arbejde, så er det nok fint. Jeg vil i stedet anbefale dig at låne/leje en ordentlig dyksav. Og så spare op til en ordentlig dyksav, med det forbehold jeg ikke har erfaring med Einhell dyksav. Alternativt https://www.dba.dk/dyksav-festool-det-virker/id-1107167726/, dog uden skinne.

  • ❄️ - 2023 DAY 3 SOLUTIONS -❄️
  • My Python solution for part 1 and part 2. I really practice my regex skills.

    spoiler
    #!/usr/bin/python3
    
    import re
    
    value_re = '(\d+)'
    symbol_re = '[^\d.]'
    gear_re = '(\*)'
    
    def main():
        input = list()
        with open("input.txt", 'r') as in_file:
            for line in in_file:
                input.append(line.strip('\n'))
        length = len(input)
        width = len(input[0])
        value_sum = 0
        for idx, line in enumerate(input):
            for match in re.finditer(value_re, line):
                for line_mask in input[max(idx - 1, 0):min(idx + 2, length)]:
                    valid_chars = line_mask[max(match.span()[0] - 1, 0):min(match.span()[1] + 1, width)]
                    if re.search(symbol_re, valid_chars):
                        value_sum += int(match[0])
                        break
        print(f"Value sum = {value_sum}")
    
        gear_ratio = 0
        for idx, line in enumerate(input):
            for match in re.finditer(gear_re, line):
                valid_lines = input[max(idx - 1, 0):min(idx + 2, length)]
                min_range = max(match.span()[0] - 1, 0)
                max_range = min(match.span()[1], width)
                num_of_adjacent = 0
                temp_gear_ratio = 1
                for valid_line in valid_lines:
                    for match in re.finditer(value_re, valid_line):
                        if match.span()[0] in range(min_range,max_range + 1) or match.span()[1] - 1 in range(min_range,max_range + 1):
                            num_of_adjacent += 1
                            temp_gear_ratio *= int(match[0])
                if num_of_adjacent == 2:
                    gear_ratio += temp_gear_ratio
        print(f"Gear ratio = {gear_ratio}")
    
    if __name__ == '__main__':
        main()
    
  • Why is Bluetooth so slow?
  • Because that is how Bluetooth is specified. Bluetooth is primarily used for audio, where high throughput is not the most important parameter. Expected Bluetooth throughput is less than 2 Mbps, see more here https://www.bluetooth.com/blog/exploring-bluetooth-5-how-fast-can-it-be/

    WiFi on the other hand, has peak throughput above 1 Gbps. So your observations are as expected.

  • 20 maps of prejudice in Europe

    28

    Firefix URL check plugin?

    Does anyone know if there is a Firefox plugin which cleans URLs when clicking links? Similar to https://www.f-droid.org/packages/com.trianguloy.urlchecker/

    9

    Copy community URL

    How do I copy the community URL, i.e. [email protected], when browsing said community?

    0

    Self hosted vehicle and expense management system. Like Clarkson, but better

    13

    A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.

    15

    Fast and lightweight DNS proxy as ad-blocker for local network with many features

    0

    lazygit - simple terminal UI for git commands

    github.com GitHub - jesseduffield/lazygit: simple terminal UI for git commands

    simple terminal UI for git commands. Contribute to jesseduffield/lazygit development by creating an account on GitHub.

    GitHub - jesseduffield/lazygit: simple terminal UI for git commands
    2

    An app locker with no ads?

    Does anyone know a good app locker? My requirements are:

    • fingerprint is required to open certain apps
    • no ads
    • FOSS (nice to have)

    The purpose is to avoid having my kid open certain apps on my phone when he borrows my phone.

    4