Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alex Pilon
    @pilona
    On Windows.
    OK, not really me. Someone I know.
    @wardi, dummy.ko/CONFIG_DUMMY is a different thing than the :1. That was an old hack, different thing than adding additional true first class citizen addresses to an interface. ifconfig might have proper support by now for multiple real addresses on an interface. Would have to ask @zxiiro .
    Alex Pilon
    @pilona
    Sorry @wardi, Jython/Python 2.6. :joy:
    Ian Ward
    @wardi
    gotta have empathy for people working in the JVM
    Alex Pilon
    @pilona
    Yeah, gotta recode all these stats in pure Python. Whatever, <20 minutes.
    Abdur-Rahmaan 🇲🇺 Janhangeer
    @osdotsystem_twitter
    Greetings, does the usergroup have a mail?
    Thanh Ha
    @zxiiro
    @osdotsystem_twitter no custom mail address as far as I'm aware. Or are you looking for a mailing list?
    @pilona odd, I didn't get notification of your message until today. Today I'd use the ip link stuff. I don't believe the :1 stuff is favorable anymore. At least all the container stuff doesn't use them.
    Ian Ward
    @wardi
    "container stuff" I've seen is all IPv4 so I wouldn't use it as an example :-/
    @osdotsystem_twitter no but the message board on meetup.com should work
    @osdotsystem_twitter there's a way to contact organizers there too if that's what you're looking for
    Alex Pilon
    @pilona

    @zxiiro, so apparently netlink supports alias interfaces still. Ugh.
    https://www.infradead.org/~tgr/libnl/doc/route.html#link_attr_alias
    Regardless, Docker has no business calling ip or iptables directly… but it does the latter at least, instead of using netlink. It's also still 2020 and no nftables support in sight.

    I just wish Docker just did predictable IPv6 ULA, didn't insert a boatload of iptables NAT rules, didn't require iptables for its internal DNS server to work, and that it was all nicely integrated into the host Zeroconf stack (Avahi, systemd-resolved, I don't care which). Heck, if you need to NAT for some reason, I wish it was done in the routing code à la lwtunnel (ip-route(8), see encap).

    Cody Scott
    @Siecje
    https://pyfound.blogspot.com/2020/04/all-strings-become-f-strings-python.html
    Should f-strings be default? I don't remember to use them.
    Alex Pilon
    @pilona
    I'd say no. They'd break backwards compatibility. There's surely plenty of code out there with braces and I'm not sure people have a history of paying attention to python Warnings.
    But if that weren't the case, what's the typical usage? With or without subbing things in? Which one needs to be ‘special’ and thus explicitly communicated as such so some programmer can pay closer attention?
    Cody Scott
    @Siecje
    There is also a proposal to combine dicts with the | operator. I don't know why you wouldn't use +.
    Ian Ward
    @wardi
    | is what's used for sets right now, so that makes sense
    but we can already write {**d1, **d2} so this is yet another way..
    Alex Pilon
    @pilona
    The problem with | and dicts was that it wasn't commutative, unlike sets, right?
    Ian Ward
    @wardi
    is that a requirement in the language somewhere or just something that looks "wrong"
    Alex Pilon
    @pilona
    Looks wrong, or is inconsistent with the operator's properties with other types, like integers, sets, etc.
    Python doesn't have properties on operators.
    Cody Scott
    @Siecje
    @wardi For sets a | b == b | a, but for dicts that's not true. + would make more sense since "foo" + "bar" != "bar" + "foo"
    Ian Ward
    @wardi
    I might still write {**d1, **d2} because looking at the code I know I'll always get a dict as a result
    2 + 3 == 3 + 2 let's use d1 ** d2 instead ;-)
    Hao
    @snowsky
    hello
    Alex Pilon
    @pilona
    :wave:
    Hao
    @snowsky
    been a while not attending meetups
    Hao
    @snowsky
    hope everyone is good during this pandemic
    Hao
    @snowsky
    someone works on Kubernetes here?
    Ian Ward
    @wardi
    @snowsky hope you're doing well too! one day we'll have meet-ups again
    Hao
    @snowsky
    @wardi thanks Ian, looking forward to it
    Cody Scott
    @Siecje
    I have a Postgres column that is type geometry(Point,4326). I'm trying to get the country and for the USA the state for all points.
    I thought django-cities did this but it doesn't.
    Does anyone know a database that has these boundaries?
    4 replies
    Cody Scott
    @Siecje
    How can you have ambiguous UTC times? https://lwn.net/Articles/819853/
    Ian Ward
    @wardi
    maybe the Aus local time is ambiguous during that period
    Cody Scott
    @Siecje
    What would be an example? Like if they skipped a day?
    Ian Ward
    @wardi
    like if you don't specify daylight/standard time during the hour that repeats on the transition
    that would be two hours of ambiguous time (because you don't know if it's DT or ST)
    Cody Scott
    @Siecje
    but the UTC timestamp would be different.
    Ian Ward
    @wardi
    yeah I said "local time is ambiguous" not UTC time
    Cody Scott
    @Siecje
    ok so any time that any country changes their clocks.
    Thanks!
    Ian Ward
    @wardi
    no, just the time they set their clock back, when they set it forward there's impossible time instead of ambiguous time
    Cody Scott
    @Siecje
    True.
    Alex Pilon
    @pilona
    Does anybody have the last word on what is the modern Python web in 2020? Just found out Flask-Security got forked, but gotta check if it does U2F/FIDO2/TOTP, argon2id password storage, etc. Webpack isn't dead either, right? Should you still use Flask in the age of aiohttp, sanic, FastAPI, etc. Etc.
    Cody Scott
    @Siecje
    My friend is asking how to get into data analaysis. He is an accountant. Any suggestions?
    1 reply
    Derek
    @KrunchMuffin
    Any python gurus looking for some freelance work?
    Ian Ward
    @wardi
    @KrunchMuffin you can post the job info in https://gitter.im/ottawa-python/jobs
    Derek
    @KrunchMuffin
    it's not an "official" job. need help for a project for our startup with limited funds.