Programming as a career

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (806 of them)

i'm not arguing against testing in any sense, but projecting your own orthodoxy onto a pairing partner kinda defeats the purpose of pairing imo!

the portentous pepper (govern yourself accordingly), Saturday, 11 July 2020 11:36 (three years ago) link

Absolute psycho replies to this one

my favorite reason to write software is money

— Abby Fuller (@abbyfuller) July 10, 2020

๐” ๐”ž๐”ข๐”จ (caek), Saturday, 11 July 2020 21:10 (three years ago) link

Ugh, Iโ€™ll take your word for it. Sheโ€™s right of course.

all cats are beautiful (silby), Saturday, 11 July 2020 21:10 (three years ago) link

galaxy brain:

and this should be the only reason. money is the best way to transform ideas to value and benefit all in the end. other reasons like freedom, morale or noble purpose can't last long enough and may lead to the opposite.

— Andrew Zhu (@xhinker) July 11, 2020

neith moon (ledge), Sunday, 12 July 2020 06:57 (three years ago) link

Wow

all cats are beautiful (silby), Sunday, 12 July 2020 07:10 (three years ago) link

God, fuck programmers

all cats are beautiful (silby), Sunday, 12 July 2020 07:11 (three years ago) link

Weโ€™re not all bad.

Mr. Snrub, Sunday, 12 July 2020 13:17 (three years ago) link

All bad including me

all cats are beautiful (silby), Sunday, 12 July 2020 13:42 (three years ago) link

Every line of code is a brick in the edifice of fascism, or something.

all cats are beautiful (silby), Sunday, 12 July 2020 13:43 (three years ago) link

The best code is no code at all

Lipstick O.G. (James Redd and the Blecchs), Sunday, 12 July 2020 13:46 (three years ago) link

Bob Marley

Lipstick O.G. (James Redd and the Blecchs), Sunday, 12 July 2020 13:47 (three years ago) link

Or Vonnegut

Lipstick O.G. (James Redd and the Blecchs), Sunday, 12 July 2020 13:48 (three years ago) link

Giving a talk on that exact thesis in a couple weeks

all cats are beautiful (silby), Sunday, 12 July 2020 13:52 (three years ago) link

gotta love unit tests with inputs such as


new byte[] { 0x27, 00, 00, 00, (byte) 0xFF, (byte) 0b11_0_1_0_0_1_0 }

koogs, Sunday, 12 July 2020 16:06 (three years ago) link

(this actually my forte, have been extracting bits from bytes since i had a zx81)

koogs, Sunday, 12 July 2020 16:08 (three years ago) link

DEAD BEEF BAD FOOD

Lipstick O.G. (James Redd and the Blecchs), Sunday, 12 July 2020 16:49 (three years ago) link

I've got a great poke for Jet Set Willy.

Being cheap is expensive (snoball), Sunday, 12 July 2020 17:03 (three years ago) link

Lol

Isolde mein Herz zum Junker (James Redd and the Blecchs), Tuesday, 14 July 2020 17:36 (three years ago) link

Donโ€™t know if itโ€™s a religion thing but why do some people hate to do a git rebase and then do a fast-forward merge.

Isolde mein Herz zum Junker (James Redd and the Blecchs), Tuesday, 14 July 2020 17:38 (three years ago) link

we banned merge commits on our project because of one guy

๐” ๐”ž๐”ข๐”จ (caek), Tuesday, 14 July 2020 17:39 (three years ago) link

Not surprised. Did the graph look like the one shone here in The Problem? https://mtyurt.net/post/git-using-advanced-rebase-features-for-a-clean-repository.html

Isolde mein Herz zum Junker (James Redd and the Blecchs), Tuesday, 14 July 2020 18:36 (three years ago) link

Can you lock out all merges? We have fast-forward-only some branches but then I recently noticed that some of the more unenlightened just merge that branch into theirs and then they can fast-forward this merged melange back.

Isolde mein Herz zum Junker (James Redd and the Blecchs), Tuesday, 14 July 2020 18:38 (three years ago) link

I missed out on the TDD conversation but I wanted to mention that my one experience pairing with a TDD disciple involved watching her create a bunch of tests that were logically incorrect, getting them to pass, and missing giant pieces of logic that interconnected subsystems of the module we were working on and actively mocking other pieces of functionality we were supposed to be testing, so technically we wrote passing code according to the tests but, because the tests weren't actually right, the whole thing was super buggy and caused a bunch of later rework.

I know this isn't the fault of TDD per se but it did play into a lot of my preconceived notions against it.

Re: merge commits, I don't see why anyone should care what I do on my feature branch as long as I squash-merge into the main branch.

shout-out to his family (DJP), Tuesday, 14 July 2020 18:49 (three years ago) link

Yeah we donโ€™t care what you do on feature branches but main (nee master) is ff only enforced via our code review thing (gerrit). What this means in practice is you hit โ€œmergeโ€ and gerrit rebased your change into the tip of main then merged by ff. if thereโ€™s a conflict you have to resolve it and resubmit the review. We used to let people do that without running the tests but the number of people who committed the string โ€œ>>>>>>>>>โ€ was getting out of hand so it has to at least build after a manually resolved merge conflict.

๐” ๐”ž๐”ข๐”จ (caek), Tuesday, 14 July 2020 18:55 (three years ago) link

Doowatchyalike, just don't create a twelve-lane merge superhighway and then (DEAD) BEEF when your merges ultimately break down.

Isolde mein Herz zum Junker (James Redd and the Blecchs), Wednesday, 15 July 2020 13:55 (three years ago) link

Thanks.

Also, I misspelled Doowutchyalike.

Isolde mein Herz zum Junker (James Redd and the Blecchs), Wednesday, 15 July 2020 17:49 (three years ago) link

It's pulled, and it's fine, but there's clearly a balance between "octopus merges are fine" and "Christ, that's not an octopus, that's a Cthulhu merge".

brimstead, Wednesday, 15 July 2020 18:20 (three years ago) link

I would just like to take a moment to say javascript sucks and lodash sucks and _.times REALLY sucks

Why does every fucking thing have to be a function, how about you () => juggle(myBalls)

shout-out to his family (DJP), Wednesday, 15 July 2020 18:48 (three years ago) link

Not only does it all have to be a function but thereโ€™s a strong convention that functions be anonymous whenever possible because fuck the reader, right?

๐” ๐”ž๐”ข๐”จ (caek), Wednesday, 15 July 2020 19:10 (three years ago) link

Isnโ€™t most of lodash in es whatever these days though?

๐” ๐”ž๐”ข๐”จ (caek), Wednesday, 15 July 2020 19:11 (three years ago) link

our linting rules haven't been updated yet to favor the native implementations, why because fuck everything and everyone

shout-out to his family (DJP), Wednesday, 15 July 2020 19:12 (three years ago) link

imo this is what happens when you let Perl aficionados design everything

shout-out to his family (DJP), Wednesday, 15 July 2020 19:13 (three years ago) link

Don't worry, Dan, it will be updated just as soon as Perl6 is production.

Isolde mein Herz zum Junker (James Redd and the Blecchs), Wednesday, 15 July 2020 19:23 (three years ago) link

Why does every fucking thing have to be a function, how about you () => juggle(myBalls)

juggle(this.nuts)

cherry blossom, Wednesday, 15 July 2020 19:26 (three years ago) link

everything being a function is good not bad tbh

all cats are beautiful (silby), Wednesday, 15 July 2020 21:17 (three years ago) link

fuck state, keep it in a box

all cats are beautiful (silby), Wednesday, 15 July 2020 21:17 (three years ago) link

counterpoint: nah

shout-out to his family (DJP), Wednesday, 15 July 2020 23:20 (three years ago) link

Mutable state is a turd on the polished marble floor of my exquisite grand hall hung with crystal chandeliers

all cats are beautiful (silby), Wednesday, 15 July 2020 23:27 (three years ago) link

Classic or dud: late night email from colleague cc-ing management saying he canโ€™t figure out something you gave him a few weeks ago and it is crashing and you need to put in more error checking etc. ( because his time and productivity etc)

Isolde mein Herz zum Junker (James Redd and the Blecchs), Thursday, 16 July 2020 18:40 (three years ago) link

Well this has been sorted for now.

Left Eye Frizzell (James Redd and the Blecchs), Sunday, 19 July 2020 13:17 (three years ago) link


# get password via terminal without echoing
password = STDIN.noecho(&:gets).chomp

reasonable, right? sentence in english explaining the cryptic command that follows. i don't get the "document WHY not WHAT" review comments i always get.

coming new to this code, debugging it later say, such things let you understand which part does what without having to decode the code. = useful, especially if you're in a mixed ability team.

also, review comments from people you haven't asked for reviews, classic or dud?

koogs, Tuesday, 21 July 2020 13:09 (three years ago) link

Leaning towards dud.

Left Eye Frizzell (James Redd and the Blecchs), Tuesday, 21 July 2020 13:15 (three years ago) link

Codesplainers gonna codesplain.

Left Eye Frizzell (James Redd and the Blecchs), Tuesday, 21 July 2020 13:17 (three years ago) link

If people would just put in fucking comments saying what they were trying to do and what their expectations were, basically defining the contract they're trying to fulfill, it would be about 8 billion times easier to identify logic mistakes than it currently is.

shout-out to his family (DJP), Tuesday, 21 July 2020 13:31 (three years ago) link

i have an issue with that

> //f.ex $F1a3

f.ex? for example? what's wrong with 'ie' or 'eg'?

koogs, Tuesday, 21 July 2020 13:56 (three years ago) link

(my whole script only exists because someone checked in an aws kms encrypted key without explaining how it was generated, and 3 years later we needed another - lack of documentation again)

koogs, Tuesday, 21 July 2020 13:58 (three years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.