I’m a staff software engineer at Sunrun, the USA’s largest residential solar installer.

I mostly work with kotlin, but also java, python, ruby, javascript, typescript. My hobby is picking up new hobbies. Currently bird photography and camping.

  • 0 Posts
  • 337 Comments
Joined 3 years ago
cake
Cake day: June 6th, 2023

help-circle

  • I’ll give my reasoning. Or at least one story from a compendium of many.

    There is an OSS library called ktlint for Kotlin. It is a “no bikeshedding linter” that was supposed to be based on the default rules from JetBrains. That is, if a rule existed already from JB then ktlint would enforce it and if the rule wasn’t specified it would make and enforce a new one that the community agreed on.

    That was all fine and dandy until I and some others pointed out that one of the rules was the exact opposite of what JB had specified. When called out the owner of the repository didn’t care, until too many people were against his choices that he couldn’t ignore it anymore. He made it configurable.

    So the rule was fixed. Until he sold the repository to Pinterest. Pinterest just wanted to own ktlint so they could control the rules. They immediately changed it back and made it non-configurable. When pressed on it, they just refused saying it wasn’t going to be that way anymore. They didn’t care what the community wanted they just wanted to control the rules for themselves.

    The repository is open source, but they took the most widely used Kotlin linter and essentially stole it from the community. Getting enough people to switch because of one rule will never happen.





  • the amount of people that do not understand how big of an improvement passkeys are is really saddening. They think that somehow these tech companies are utilizing this in some nefarious way, rather than the very very simple explanation that … tech companies don’t want to be responsible for more breaches.

    Passkeys are so simple and such a huge improvement that it’s literally all upsides and no downsides. Either you use their passkey managers like you would their password managers and it’s safer for them, or you use your own password manager with passkeys in it and it’s still safer for them.


  • You have a vast misunderstanding of why passkeys aren’t transferrable or usable outside of those providers. It had nothing to do with lock-in, but because every implementation was different. And no, you do not ‘depend on the site’ to let you use that option instead of a major provider. There’s a standard now and everyone is following it. If you can use a passkey you can use your password manager to manage that passkey.






  • our black cat once ran under the ladder of a bunk bed, crashed into a mirror leaning against the wall, causing it to fall against a shelf and knock a salt shaker off (we were in college, gotta keep your food stuff in your room and whatnot). The mirror crashed to the floor and broke. We didn’t believe in curses and that fully cemented that belief for us.


  • I’m honestly astounded at how many people are suggesting Mint. I recently switched full time to linux and even as a software dev, Mint has to be one of the worst experiences I’ve had with a computer. Not only driver issues, but software issues and general buginess. Along with being butt-ugly, I do not think any windows user is going to confuse Mint for Windows.

    I switched my wife to Bazzite (not necessarily recommending that) and she literally didn’t notice it was a different operating system (even though I told her it was and walked her through it). Bazzite has a nice UI for installing pretty much anything a normie would be thinking to install. The only issue we’ve had so far is that Dropbox just outright does not work on it. I’ve filed a bug with them and have been awaiting a response from their dev team for like two months now. I’m sure they’ll fix it eventually, but if you need the Dropbox UI (you can use rsync otherwise) then don’t choose Bazzite.

    As for myself, after trying out like 6 different OSes, I settled on CachyOS. There are still issues, but it’s pretty dang stable and they’re very fast to fix issues. It’s not for a person not willing to touch a terminal at least once though.


  • There are flying rates for owls, like the barn owl is 80 km/h. Flying from NA to Europe wouldn’t even take more than 100 hours (60 from Boston to Lisbon), so with that it would mean the bird would be spending 3kW of energy, which is just nonsensical.

    All birds have a kJ/d amount, and even with a huge multiplier you wouldn’t come anywhere near the amount in the meme.





  • The barn owl (the most common owl on the planet) weighs max 700g (listed on Table 1 here https://birdsoftheworld.org/bow/species/brnowl/cur/appearance#meas but you need a subscription). So like 1.5 lbs.

    Birds don’t really migrate east/west, and owls hardly migrate at all, and only a few species, not really barn owls. I’m not sure if there is an owl that migrates like that but even if it was true, tiny ruby throated hummingbirds migrate nonstop across the gulf. Weight doesn’t really matter.

    Kilowatt is a rate of energy, not an amount. So let’s calculate that. And energy use in owls is documented on birds of the world as well. Flight speed is 80 km/h https://birdsoftheworld.org/bow/species/brnowl/cur/behavior#locom

    Energy use is 360.4 kJ/d, let’s triple that for continual flight across the ocean (idk I’m just making that up since this is all fake anyway), so 1081.2, we’ll round up to 1100.

    Estimates of daily food consumption rates are limited. One captive female consumed a mean of 60.5 g/d over one year, amounting to 10.1% of her mass daily; consumption varied from 46.4 g/d in the warmest periods to 74.0 g/d in the coldest times (147). Two American Barn Owl consumed a mean of 74.1 g/d over a 10 d trial in August; it was estimated that energy use was 360.4 kJ/d (148). Other measures of daily food intake for wild American Barn Owl estimated from pellet contents range from 110 g/d in summer in Colorado (113) to a mean of 150 g/d over 1 yr in California (149). The mean gross energy intake for 4 (1 female, 3 males) sedentary American Barn Owl was 68.9 kcal/d; mean existence energy was 54.6 kcal/d, resulting in 79.3% efficiency in food utilization (150).

    I just measured across from Massachusetts to Portugal, around 3000 mi or 4800 km. About 60 hours, so 1100 kJ/24h / 24/h x 60 h = 2750kJ = 657265.774 Calorie.

    So yeah, very fake.