brian

joined 2 years ago
[–] brian@programming.dev 4 points 3 months ago (1 children)

sql as the language executed by the db hasn't changed notably, but I do think there's been significant developments in ORMs. for a lot of developmers sql is now just an intermediate target

[–] brian@programming.dev 7 points 3 months ago

more directly, sqlite was originally for tcl which is why they share the semantics.

also I'd argue that sqlite is a bigger contribution than tk, but I suppose in a more roundabout way

[–] brian@programming.dev 5 points 3 months ago

more data for spotify, and more lock in

instead of a sharing id in the link that doesn't withstand secondary sharing, removing, etc, they now get who sent you the link, whether you opened a link sent to you, how long, etc. also encourages people to actually use the follow feature

instead of your friends sending you spotify links in whatever platform that you can go look up on a different music service, you have to use spotify to get their messages

I just miss the friend activity panel. that's as far as the social features should go. maybe it'll get some love with this

[–] brian@programming.dev 20 points 3 months ago (4 children)

did you read it? apple throttled device performance. google is throttling charging speed and battery capacity for safety reasons. there are literally phones melting. also, battery capacity is something people assume will go down over time. also they're giving clear notifications when people are affected.

it's not really the same, and definitely not worse

[–] brian@programming.dev 1 points 4 months ago

I'm not sure if I understand why. I like snapshot testing, but I'm not sure what you gain from using this dsl approach instead of a snapshot library and a more typical test framework, but there are some notable downsides:

  • you have to write typical tests in a different place from your snapshot tests. some things are more complex than "this value never changes", you might just care about a property holding, it produces the same value for several different inputs, etc. properly capturing a big for a regression test is more than a snapshot
  • you lose editor tooling, I can't just send tests to the repl from my editor, I don't have autocomplete, etc
  • need edn serializers for all values you care about. seems easy enough to return a host language object without a proper representation
  • may just be me but I'm not a fan of the added levels of nesting
[–] brian@programming.dev 11 points 4 months ago

early js/html liked to do something in all cases instead of throwing or whatever. I think it's mostly just a collection of them trying to do something smart on nonsense input and not being consistent about it.

side note, I'm so excited for Temporal, some browsers already support it and you can polyfill for the rest.

[–] brian@programming.dev 2 points 4 months ago (1 children)

I have a GL.iNet GL-MT6000, works great. not sure about newer models but people generally seem to like their higher end ones

it ships with almost vanilla openwrt, and it's easy to install an upstream build if you'd like. the big advantage of GL.iNet is that it's officially supported, so I've been able to send emails to support about openwrt stuff and they've been helpful

AdGuard works great and is built in to their version, so you wouldn't even need the separate device for pihole

I also like supporting a company that supports oss software

[–] brian@programming.dev 6 points 5 months ago (1 children)

NixOS, plasma rn but sometimes jump to sway. I'd say distro is more relevant. for the most part I just have an editor and a browser open, DE doesn't change much about my workflow. NixOS definitely does though

chosen by my team, company at large doesn't care but it's nice for everyone to be on something consistent. company devices

NixOS is a nice balance of the two

I generally just copy my personal setup, which I've spent a decent amount of time on, but because I enjoy it

not particularly, but nix supports all of the big ones

language and stack a little bit, it's all stuff that has good integration with nix. we deploy nix containers and then have consistent environment everywhere without having to work in a container. my team is a pretty standard team maintaining some full stack web stuff

[–] brian@programming.dev 1 points 5 months ago

it doesn't matter how it was made once it's secondhand since it doesn't support the manufacturer

I suppose there's people that bought the original item since it had resale value, but I really doubt that's significant overall, especially at most thrift stores

[–] brian@programming.dev 1 points 5 months ago

I feel like it's probably not a high priority, but the company I worked at that selfhosted gitlab was also paranoid about dependencies disappearing and so mirrored every repo they had a dep on.

I imagine that's not that rare of a situation and it would have been a nice qol kinda thing if we could have federated with the upstream and gotten a backup of issues and such and could do everything on the one platform. definitely not important and requires upstream to also federate, which will never happen for github so not important

[–] brian@programming.dev 3 points 5 months ago (1 children)

I'm saying we weren't taught when react was the way people wrote sites. if I was writing a site with pure html, css is great, especially modern css.

but if I'm already using react and their abstractions, opinions on that part aside, I'd personally rather lean on the react component as the unit of reuse. tailwind removes the abstraction that you don't need, since many people in react tend towards one scoped css file per component with classes for each element anyway

at this point I'd be more inclined to say for many sites the api and data fetching things are the content and html+css is presentation. csszengarden is cool but I haven't seen the html/css split help an end user, or really even me as a developer.

[–] brian@programming.dev 1 points 5 months ago

instead of using classes you just use whatever your ui library provides for reuse. stick a classname string in a variable and you have a class. use a component and it just contains all its styles.

unless you mean that if you look in the inspector you see a mess of classnames. I don't have a solution there

view more: ‹ prev next ›