brian

joined 2 years ago
[–] brian@programming.dev 1 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

sure, but both of those are significantly better than a css file. tailwind tends to match the internal structure better, css in js tends to match the component structure better.

tailwind doesn't have a runtime though, where css in js libs generally do. not that that's a big point. the difference is mostly preference

[–] brian@programming.dev 1 points 3 weeks ago (4 children)

it matches the component model of react etc

[–] brian@programming.dev 6 points 1 month ago (3 children)

did you read their statement? they do.

[–] brian@programming.dev 7 points 1 month ago (1 children)

ai detectors are not good. may as well ask your magic 8 ball

[–] brian@programming.dev 17 points 1 month ago

if it's not clear if it's ai, it's not the code this policy was targeting. this is so they don't have to waste time justifying removing the true ai slop.

if the code looks bad enough to be indistinguishable from ai slop, I don't think it matters that it was handwritten or not.

[–] brian@programming.dev 10 points 1 month ago (7 children)

you shouldn't be able to tell if someone used ai to write something. if you can then it is bad code. they're not talking about getting completion on a fn, they're talking about letting an agent go and write chunks of the project.

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

when futo dissolves as an organization, or someone forks their software and maintains it better than they do, that fork still has to have the button to pay futo and not the new maintainer.

there are restrictions on what you can do with the source. that is not open. the source is available and they'll accept your donation of code, but you are donating to a company's product, not a community project.

[–] brian@programming.dev 1 points 1 month ago

you can also buy a nice USB/Bluetooth dac instead of the inline ones that tend to be more fragile. better quality than an internal one and the flexibility of Bluetooth if you want it. generally a little bulky but if you already have wired headphones I don't think it's significant

[–] brian@programming.dev 2 points 1 month ago

just to be clear since you said both again in different sentences, GUID and UUID are two names for the same thing.

I think that spec predates uuid4, it only mentions the time based/node based variants. 122 bits of auth token should be plenty, right?

the sheer unlikeliness of guessing that large a number, the original post is fake or something else is going on.

[–] brian@programming.dev 39 points 2 months ago

they're different files generally, the only client that will automatically request them is a debugger.

you turn them off because you don't want to expose your full source code. if you would be ok making your webpage git repo public then making sourcemaps available is fine.

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

most things should have an alternate implementation, just in the unit tests. imo that's the main justification for most of SOLID.

but also I've noticed that being explicit about your interfaces does produce better thought out code. if you program to an interface and limit your assumptions about implementation, you'll end up with easier to reason about code.

the other chunk is consistency is the most important thing in a large codebase. some of these rules are followed too closely in areas, but if I'm working my way through an unfamiliar area of the code, I can assume that it is structured based on the corporate conventions.

I'm not really an oop guy, but in an oop language I write pretty standard SOLID style code. in rust a lot of idiomatic code does follow SOLID, but the patterns are different. writing traits for everything instead of interfaces isn't any different but is pretty common

view more: ‹ prev next ›