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