|
what’s the catch with amazon aurora vs. a postgres in rds? I’m not very conversant in aws so naturally it’s falling on me to set a thing up. where by thing I mean boring crud app that may one day have hundreds of users also if the correct answer is "just install postgres on an ec2 instance" I’m ok with it
|
![]() |
|
![]()
|
# ¿ Mar 24, 2023 15:49 |
|
ty team
|
![]() |
|
fritz posted:the new-ish guy at work who couldn't get my name right for weeks commented on a code review asking why i put an explicit "return" at the end of a c function with return type void, and later said he was ok with it as long as the compiler didn't generate any additional code, and im just wondering my dude what exactly is your mental model of how this all works fwiw I would have probably asked about it too, because it seems weird and afaik doesn’t do anything though I wouldn’t say the thing about generating extra code AggressivelyStupid posted:explicit returns are good as hell why? (assuming you’re referring to the above example)
|
![]() |
|
I can’t read impedance mismatch without hearing impotence mismatch
|
![]() |
|
brap posted:it's very eye roll inducing to hear from people about how codes of conduct are bad when they have no experience moderating a high-traffic open source project. does the volume of garbage decrease when such a project adds a code of conduct? or do you mean you can point people at the coc and kick/ban instead of getting dragged into a ten round argument about how someone didn’t technically violate the rules because ![]()
|
![]() |
|
makes sense re: coc, was just curious as nothing I’m involved with has enough contributors/bullshit for it to matterMononcQc posted:align full alt-right this is so close to a tabs v spaces joke but I can’t quite get there
|
![]() |
|
DELETE CASCADE posted:isn't a 12.2 earthquake like, impossible nah it’s a p deece 12.5 figgies
|
![]() |
|
ask someone about failing to parse dates of sa posts because the dst info was old and the supposed post time never happened
|
![]() |
|
and does it count if you drop the Z and offset, which seems really common but I think is nonconforming? aka why I’ve yet to be able to use Foundation.ISO8601DateFormatter
|
![]() |
|
I’ve seen multiple apis send timestamps as UTC but without the Z :shrugs: not a difficult thing to deal with, just odd. why bother stopping just short idgi
|
![]() |
|
CPColin posted:Experts Exchange for a while had a class called FemaleCache because it was simpler to just hold in memory the entire set of member ID's who set their gender to Female in their profile than it would have been to query the database for this information. The class hung around for several years beyond the point when anything was reading from it. ![]()
|
![]() |
|
CPColin posted:Moral: user-generated content is terrible present company excepted ofc
|
![]() |
|
Doom Mathematic posted:The best CSS-related idea I've ever heard is BEM, whose core concept is "avoid, at all costs, the cascade". this is even better https://adamwathan.me/css-utility-classes-and-separation-of-concerns/
|
![]() |
|
has anyone made the go 2 considered harmful joke on this page
|
![]() |
|
akadajet posted:have you tried react native? no trolling in the terrible programmers thread cmon now
|
![]() |
|
Soricidus posted:i expect kotlin is nice but "hey let's rewrite everything in a different language" is a harder sell than "hey let's add this one compile-time dependency" you don’t rewrite poo poo, kotlin-java interop is excellent, just write new stuff in kotlin and if you’re about to rewrite more than 30% of a java file for some reason you click "convert to kotlin" first
|
![]() |
|
Phobeste posted:oh whoops misunderstood sorry ![]()
|
![]() |
|
Krankenstyle posted:i have no doubt in my mind that half the forums traffic is the trump thread I think it’s this plus the trump thread exercises some pathological usage patterns e.g. having a million twitter embeds in a single post
|
![]() |
|
Soricidus posted:the "git revert" command is right there and does the right thing. it’s not git's fault if someone tries to open a can of beans with a bazooka it is when the can opener and the bazooka are right next to each other, look identical, have similar inscrutable labels, and it turns out you can use the bazooka as a can opener if you toggle the right switch first (ditto for using the can opener as a bazooka) git: take my penknife my good man user: *destroys tank*
|
![]() |
|
Soricidus posted:what alternative label would have been less inscrutable than “revert”, for the command that reverts changes? I was thinking of "revert" vs. "reset", which are similar in English (sometimes synonyms), but their effects in git are quite different in a way that’s inscrutable without useful documentation and no, git help is not useful documentation until you have a working knowledge of git internals I’m with you to a point about people running commands they don’t understand. but there are hundreds of commands/tools I might use in a typical week of software development, and I don’t know details about their internal workings, and I don’t know what every subcommand is, yet I manage to use them successfully. we’re a bit past the days where everyone running the command has at some point perused the source code that implements that command
|
![]() |
|
my understanding of git is that it explicitly doesn’t track files that way and it always uses a similarity score to guess whether two non-identical blobs were the same file
|
![]() |
|
MononcQc posted:hello thread, my latest book is out: nice1
|
![]() |
|
DELETE CASCADE posted:I’m always surprised to see so much emphasis on unit tests over other types, when in my experience they are useful for catching regressions and absolutely nothing else. It’s like the least interesting, least difficult type of testing the only time I’ve felt successful using unit tests was when I was making a thing that needed to be interoperable with other, existing implementations. the test suite was thorough enough to give me the confidence that passing all the tests meant my implementation worked. also I didn’t actually have to write any of the tests, that was a big help
|
![]() |
|
Soricidus posted:"just give them on error resume next. i'm sure everyone will definitely check the err object at appropriate times instead of just taking it as carte blanche to ignore everything and hope for the best" also the meeting at golang world headquarters
|
![]() |
|
Powerful Two-Hander posted:nobody ever runs andy loving maintenance is this like norton disk doctor? I’m andy loving maintenance! howdy howdy howdy
|
![]() |
|
Powerful Two-Hander posted:i spotted that typo and just left it ty for your service
|
![]() |
|
Boiled Water posted:i have a friend who does fpga stuff who basically said to only ever use c++ when you absolutely have to c++ the language of last resort
|
![]() |
|
jamstack sounds like a poorly-named smash bros technique oh wait I’m on a concision kick, lemme rephrase jamstack sounds like a smash bros technique
|
![]() |
|
aardvaard posted:this is the least concise version of this post no u
|
![]() |
|
Krankenstyle posted:god this is so loving annoying and it’s volunteers so you can’t be mad at them and/or fire them!
|
![]() |
|
can we start calling them "loc lines", like "yac yards"? it sounds so deliciously stupid and I think we could start a groundswell
|
![]() |
|
leper khan posted:is “loc lines” better than compacting it into “klocks” oh most definitely
|
![]() |
|
Soricidus posted:git push -f origin master bro don't steal my $RPROMPT
|
![]() |
|
are docker containers monads?
|
![]() |
|
typescript doesn’t isolate you from poo poo all. your errors will still be in another language often enough to matter. and a lot of your dependencies will be too so I hope those never have problems or require reading and understanding
|
![]() |
|
there is no excuse for a web front end to have a 20min+ build time. computers are supposed to serve you, not the other way around
|
![]() |
|
I think that’s known as REST
|
![]() |
|
disappointing lack of 💅
|
![]() |
|
akadajet posted:they accept pull requests ya know did you just tell me to go gently caress myself?
|
![]() |
|
![]()
|
# ¿ Mar 24, 2023 15:49 |
|
maybe the container is where the compiler runs? otherwise you presumably wouldn’t need to copy poo poo for use with gopath note: I have zero minutes' lifetime go experience so I may be horribly wrong!
|
![]() |