Author's avatar

Vika

A trans-person and a clueless amateur coder. Doesn't like her look and uses an anime-styled avatar instead.

Published: by Vika

Tags:
  • testdrivendevelopment
  • unittesting
  • programming
Also on:

I write a test that tests if the thing I’m making does what I want it to do, then I make the test pass with my code. Formalizing of properties of SUT and then implementation of those properties - is this the meaning of #testdrivendevelopment? #unittesting #programming

Published: by Vika in reply to https://aaronparecki.com/2019/12/01/10/homeautomation

Today I learned that Philips Hue bulbs are definitely reliable. Maybe once I have the money I could buy some so I won’t have to stand up to turn off the lights. Looking forward to their smart plugs though; my desk lamp isn’t that smart 😢

Unrelated: It resembles your life-stack page a bit, which is cool. Quick question: does p3k store these pages like any other posts or does it do it separately?

Published: by Vika

Tags:
  • showerthoughts
Also on:

Y’know one unrealistic thing about alien landings in movies? They give so much EM noise that electricity grid in houses shuts off. This is unrealistic because how would these alien spaceships communicate with mission control in case of a regular landing? #showerthoughts

Published: by Vika

Tags:
  • college
Also on:

Companies are offering a lot of stuff for students, like free licenses and similar. Except I’m not in a higher education (college in Russia is professional middle ed) and my college doesn’t provide emails for students, so I can’t use it. And they lied me and said I could.

Published: by Vika

Tags:
  • pyindieblog
  • development
  • programming
  • caching
  • Micropub
  • Redis
Also on:

Yesterday I’ve learned how to use Prometheus and Grafana to collect performance metrics and also sped up my asyncio-based WIP ver of my #Micropub endpoint by a factor of 7 by caching the token endpoint response. It was the slowest part because I use @RedisLabs’ #Redis for posts.

Published: by Vika

Tags:
  • showerthoughts
  • relationships
Also on:

Food preferences in #relationships are interesting. If your preferences align, you get to enjoy tasty stuff together. If your loved one doesn’t like something and you do, well, you get more of it. #showerthoughts

Published: by Vika

Tags:
  • testing
  • pyindieblog
  • IndieWeb
  • Micropub
  • question
Also on:

IndieWeb #Micropub endpoint creators - how do you test your endpoints? Do you use a mock token endpoint or do you have a flag that bypasses it? How do you write unit tests?

Testing in production doesn’t count! :3