Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

Adbot
ADBOT LOVES YOU

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

ty team

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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)

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

I can’t read impedance mismatch without hearing impotence mismatch

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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 :shivdurf:

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

makes sense re: coc, was just curious as nothing I’m involved with has enough contributors/bullshit for it to matter

MononcQc posted:

align full alt-right

this is so close to a tabs v spaces joke but I can’t quite get there

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

DELETE CASCADE posted:

isn't a 12.2 earthquake like, impossible

nah it’s a p deece 12.5 figgies

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

ask someone about failing to parse dates of sa posts because the dst info was old and the supposed post time never happened

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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.

:sigh:

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

CPColin posted:

Moral: user-generated content is terrible

present company excepted ofc

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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/

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

has anyone made the go 2 considered harmful joke on this page

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

akadajet posted:

have you tried react native?

no trolling in the terrible programmers thread cmon now

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Phobeste posted:

oh whoops misunderstood sorry

:tipshat:

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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*

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Soricidus posted:

what alternative label would have been less inscrutable than “revert”, for the command that reverts changes?

I’ll give you “rebase” being inscrutable, but the kind of person who says “hmm, I don’t know what this command name means and I don’t understand the documentation, guess I’ll run it anyway and then ignore all the warnings to force push the changes” is going to break things horribly whatever tool you give them

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

MononcQc posted:

hello thread, my latest book is out:

nice1

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Powerful Two-Hander posted:

nobody ever runs andy loving maintenance

is this like norton disk doctor?

I’m andy loving maintenance! howdy howdy howdy

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Powerful Two-Hander posted:

i spotted that typo and just left it

ty for your service

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

aardvaard posted:

this is the least concise version of this post

no u

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Krankenstyle posted:

god this is so loving annoying :argh:

and it’s volunteers so you can’t be mad at them and/or fire them!

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

can we start calling them "loc lines", like "yac yards"? it sounds so deliciously stupid and I think we could start a groundswell

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

leper khan posted:

is “loc lines” better than compacting it into “klocks”

oh most definitely

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Soricidus posted:

git push -f origin master

bro don't steal my $RPROMPT

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

are docker containers monads?

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

I think that’s known as REST

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

disappointing lack of 💅

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

akadajet posted:

they accept pull requests ya know

did you just tell me to go gently caress myself?

Adbot
ADBOT LOVES YOU

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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!

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply