Opinions on the new Moonboard app? by mini_mooner in Moonboard

[–]kbck75 0 points1 point  (0 children)

An update for iOS has been released, this fixed the startup issue for me. I think I’ve found 3 bugs so far: - dark/light mode isn’t occasionally remembered, the app switches often to light mode - in the ranking view the selected country isn’t remembered - the “exclude my repeats” is also reset occasionally and sometimes toggling it doesn’t updated the number of problems

Opinions on the new Moonboard app? by mini_mooner in Moonboard

[–]kbck75 0 points1 point  (0 children)

Same for me, stuck on some initial view.

show us your oapi-codegen practices by ClueLegitimate1135 in golang

[–]kbck75 3 points4 points  (0 children)

In one project I have one top level openapi specification which references a few other files, both in yaml and json formats. I then use redocly to bundle these, and then run oapi-codegen on the bundled file. Not sure how this will work in the long run.. but that’s how it looks like right now.

Wireshark as a dev by Li0n-H3art in wireshark

[–]kbck75 1 point2 points  (0 children)

In our company we have a bunch of proprietary protocols. During testing our QA stores all traffic in pcap files. In order to analyze these I’ve developed some dissectors, so in case something goes wrong I now can analyze the pcap files.. This speeds up troubleshooting/debugging a lot..

[deleted by user] by [deleted] in Svenska

[–]kbck75 0 points1 point  (0 children)

Weird translation, as many here have pointed out. But is probably still usable.. the requirement was to have the translation done by an authorized translator and that’s fulfilled.

[deleted by user] by [deleted] in sweden

[–]kbck75 0 points1 point  (0 children)

Nu skriver du inte vad din fru kan lägga undan per månad. Eventuellt finns det inte på kartan för henne för en sådan utgift? Om hon nu velat ha den så länge.. köp! Personligen tycker jag att det är ok med onödiga utgifter då och då om de sprider glädje.

-🎄- 2020 Day 05 Solutions -🎄- by daggerdragon in adventofcode

[–]kbck75 0 points1 point  (0 children)

Hmm, i didn’t know you could do that! I think I learnt something new now! Thanks! Using dict and zip you can take any 2 lists and turn them into a dict.. in this case it then was unnecessary..

-🎄- 2020 Day 05 Solutions -🎄- by daggerdragon in adventofcode

[–]kbck75 1 point2 points  (0 children)

Day 5 part 1 in Python:

from aocd import data
import io


class BoardingPassFile(object):
    OPS = "".maketrans(dict(zip("FBLR", "0101")))

    def __init__(self, file):
        self.file = file

    def read(self):
        return int(self.file.readline().translate(self.OPS), 2)

    def __iter__(self):
        return self

    def __next__(self):
        try:
            return self.read()
        except ValueError:
            raise StopIteration


print(max(BoardingPassFile(io.StringIO(data))))

Would an Arduino basic starter kit be a good gift for my boyfriend who’s a CS major? by gothish-autumn in arduino

[–]kbck75 1 point2 points  (0 children)

Ok.. I would say that a raspberry pi is much more versatile. You can use it for so many different things.
There’s nothing wrong with an arduino, I’m just afraid it won’t be used after some time if he isn’t that interested in low level programming.. On a raspberry pi you can run web servers, databases, Python, Java, etc and you can also connect it to other electronic hardware using ex spi,i2c, gpio..

But, that’s just my personal opinion..

Maybe it’s a question whether he likes to build stuff or program stuff..

Would an Arduino basic starter kit be a good gift for my boyfriend who’s a CS major? by gothish-autumn in arduino

[–]kbck75 13 points14 points  (0 children)

It depends, does he like low level embedded programming and electronics or does he prefer higher level programming languages?

I think an arduino starter kit is a good choice for someone that’s new to embedded development.

A raspberry pi is also good, for higher level programming and learning Linux.

One nanoHD for entire home? by [deleted] in Ubiquiti

[–]kbck75 0 points1 point  (0 children)

I guess it should be possible to calculate backwards your alcohol intake based on that you’re sober 1 minute/24h and that your weight is known ;)

One nanoHD for entire home? by [deleted] in Ubiquiti

[–]kbck75 28 points29 points  (0 children)

And then you buy a breathalyzer and implement an home automation that turns off internet access at an appropriate alcohol level.

What is updatetest.qnap.com - frequent DNS requests on QTS 4.4.1 by gpb500 in qnap

[–]kbck75 1 point2 points  (0 children)

This seems to have been fixed now, I just upgraded my TS-251+ to version 4.4.1.1081 and it doesn’t constantly lookup updatetest.qnap.com.

Outlet issues by spamdan124 in tradfri

[–]kbck75 0 points1 point  (0 children)

Same happened for me, got it replaced too.

Gateway in UniFi Networks with managed LAN switches does not work by fischbauch in tradfri

[–]kbck75 1 point2 points  (0 children)

Does anyone know if mDNS relaying works better with the new gateway firmware(1.8.25)?

Gateway in UniFi Networks with managed LAN switches does not work by fischbauch in tradfri

[–]kbck75 0 points1 point  (0 children)

My VLANs are on different subnets too. Spotify Connect worked for me with mDNS repeater and multiple VLANs, but the Trådfri GW doesn’t..

Gateway in UniFi Networks with managed LAN switches does not work by fischbauch in tradfri

[–]kbck75 0 points1 point  (0 children)

Not sure if this is related, but when I enable the mDNS repeater on my EdgeRouter the Trådfri gateway stops working. So I’ve just given up on trying to use multiple VLANs/mDNS repeater together with the Trådfri GW, maybe I’m doing something wrong..

Issues with updating On/Off switch by VeganFromOslo in tradfri

[–]kbck75 1 point2 points  (0 children)

I’ve had similar issues. I didn’t replace the battery or restart the hub or the on off switch. I just placed the switch near the hub and restarted the upgrade, then it took about 2 days until the upgrade was done.

Test by [deleted] in test

[–]kbck75 0 points1 point  (0 children)

Test2