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
metztli
Mar 19, 2006
Which lead to the obvious photoshop, making me suspect that their ad agencies or creative types must be aware of what goes on at SA

geeves posted:

I can't bring myself to do this at the office. Usually when I'm at the point that I need to do this, I just message someone and ask to bounce ideas off of them. They know me well enough it will take about 5 seconds before I talk myself into the answer. It's usually just the process of organizing my thought train for someone else and stepping away from my desk that reveals the answer.

Force yourself to have a conversation with an object, or if you can't do that, write something to yourself, or even just go somewhere and pretend to have a conversation on the phone.

Messaging someone else, even if you figure it out in 5 seconds or just by walking away, still disrupts the flow of other people unnecessarily, which is why rubber duck debugging is so great.

Adbot
ADBOT LOVES YOU

FlapYoJacks
Feb 12, 2009

Pollyanna posted:

"So why did the design team not think through the inconsistencies of this front-end design?"

"Oh, they're not really familiar with designing for digital."

"Wait, what? Aren't they in charge of the design for our apps and website?"

"Yeah, they're actually people from a totally different company, they used to do book publishing. This is their first foray into digital."

"Why the hell are people who have only ever done design for books and have never done design for digital solutions in charge of designing our front-end?"

"Their head of staff is an old friend of our new CTO and all the members are the people they left their old company with, so the CTO hired them to be the new design team for the entire company after they laid off a bunch of people over at the main office."

"So they're in charge of design because of-"

"Nepotism, yes."

:suicide:

Do you work for the same company I work for? :v:
Except for CEO instead of CTO.

Dirty Frank
Jul 8, 2004

metztli posted:

Force yourself to have a conversation with an object, or if you can't do that, write something to yourself, or even just go somewhere and pretend to have a conversation on the phone.

Messaging someone else, even if you figure it out in 5 seconds or just by walking away, still disrupts the flow of other people unnecessarily, which is why rubber duck debugging is so great.

I write detailed emails to one colleague whose opinion I respect and end up only sending < 20% of them because just writing it all out often lets me see the issue. And I feel like an email is easier for him to ignore until he's ready than IM or whatever, also I can search it later if it actually turns out to be something complex and ongoing.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Carbon dioxide posted:

I have a coworker who explains the more complex frameworks we use to her three year old kid at home.

I can't help but wonder what that'll do to the kid's upbringing.

"Uh, I tink yu neeEEEeeeEEEeeeed anudder abtractshun layah!"

geeves
Sep 16, 2004

Maluco Marinero posted:

I can only hope you're not doing much front end development, for the kid's sake.

The kid will demand to change schools when he hears that another school's cafeteria is offering a slight variation of his current school's pizza and that everyone can't shutup about it.

Volguus
Mar 3, 2009

Carbon dioxide posted:

I have a coworker who explains the more complex frameworks we use to her three year old kid at home.

I can't help but wonder what that'll do to the kid's upbringing.

https://www.youtube.com/watch?v=RnqAXuLZlaE

metztli
Mar 19, 2006
Which lead to the obvious photoshop, making me suspect that their ad agencies or creative types must be aware of what goes on at SA

Dirty Frank posted:

I write detailed emails to one colleague whose opinion I respect and end up only sending < 20% of them because just writing it all out often lets me see the issue. And I feel like an email is easier for him to ignore until he's ready than IM or whatever, also I can search it later if it actually turns out to be something complex and ongoing.

Not a bad idea - that way you still have it written out if you need it.

Does anyone else find that actually verbalizing helps you differently than writing? I find verbalizing works best for me and writing it out is less successful at triggering the aha moment. Conversely, having to write out something that I already understand and need to explain to someone else is vastly easier for me than verbalizing it.

Pie Colony
Dec 8, 2006
I AM SUCH A FUCKUP THAT I CAN'T EVEN POST IN AN E/N THREAD I STARTED

Volguus posted:

Personally I believe that pair programming is great for mentoring (regardless who is actually writing the code) and is great for those times when "I have this really tough problem, let's solve it together on the computer instead of the whiteboard". Other than that, is a bit of a waste of time in my opinion.

Yes, those are the two great reasons to pair program. But they can be applied to almost all your tasks (which isn't to say you should pair program on every task).

If both people find a task hard, immediate feedback makes the cost of changes much lower than at the code review stage, which ultimately expedites the time it takes to build and launch.

If one person finds a task hard, it's a good opportunity to transfer knowledge. Ever been in a scenario where one dev knows everything about how production works, and then they leave the company? Transferring knowledge introduces redundancy in your team, and expedites the time it would take to complete a similar task in the future.

If both people find the task easy, you'd ideally find a person that doesn't. If everyone on your team finds most of the team's assigned tasks easy, it's a good idea to review your team structure. Clustering all your senior devs on one team means you miss out on opportunities to mentor junior devs.

The mistake people make in assessing the usefulness of pair programming is assuming the direct outcome will be 2 "work units" (story points, whatever). Many of the actual benefits are indirect and may take some time to realize.

(Another more minor benefit comes from seeing how other programmers -- of any level -- work. It's helpful to see the wide world of tools, tricks, and hacks programmers employ in the day-to-day work you might not even think about. And this sometimes even allows a junior dev to teach a senior dev something cool.)

vonnegutt
Aug 7, 2006
Hobocamp.

Pie Colony posted:

(Another more minor benefit comes from seeing how other programmers -- of any level -- work. It's helpful to see the wide world of tools, tricks, and hacks programmers employ in the day-to-day work you might not even think about. And this sometimes even allows a junior dev to teach a senior dev something cool.)

this is the reason I know any of the keyboard shortcuts I know in my editor

You enumerated all the reasons why I find it so valuable very well - but I also find that it becomes a speed multiplier simply because people aren't willing to make others sit through the kind of long deliberation they would be fine with on their own. A coworker of mine is a very talented dev, but tends to waffle on implementation details, because he tries to think through every possible use his code would have. When pairing, he'll quickly make decisions because of the pressure of someone watching him code.

I used to work at a place where there was enforced pairing and I wish there were more places like that. Otherwise, the people who enjoy pairing self-select and the people who could benefit the most don't. Or people others could benefit from the most (thinking of the lead dev who has the entire codebase in his head).

lifg
Dec 4, 2000
<this tag left blank>
Muldoon

metztli posted:

Not a bad idea - that way you still have it written out if you need it.

Does anyone else find that actually verbalizing helps you differently than writing? I find verbalizing works best for me and writing it out is less successful at triggering the aha moment. Conversely, having to write out something that I already understand and need to explain to someone else is vastly easier for me than verbalizing it.

Yep. That's why I tell people to actually *talk* to the duck. My understanding is that talking aloud has you using different pathways in the brain, which will help you make new connections with the problem.

fantastic in plastic
Jun 15, 2007

The Socialist Workers Party's newspaper proved to be a tough sell to downtown businessmen.
The Cavern of COBOL > Working in Development: That's why I tell people to actually *talk* to the duck.

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.

geeves posted:

The kid will demand to change schools when he hears that another school's cafeteria is offering a slight variation of his current school's pizza and that everyone can't shutup about it.

They'll redo the term 4 times to keep up with the latest educational trends, ending the year with only one completed term worth of work.

Edit: then they'll decide with their wealth of experience in that term that they should write a curriculum, and make a nice website for it.

Ither
Jan 30, 2010

Anyone else bored at work?

There's not enough work for me to do, so quite a bit of time browsing the internet. Starting to feel guilty.

Pollyanna
Mar 5, 2005

Milk's on them.


Ither posted:

Anyone else bored at work?

There's not enough work for me to do, so quite a bit of time browsing the internet. Starting to feel guilty.

That usually means either the project or the company is poorly managed enough for the place to start falling apart. Get your resume up to date. Sorry bud.

lifg
Dec 4, 2000
<this tag left blank>
Muldoon
This time of year is very slow for some industries. Lots of executives take vacations in August.

Gildiss
Aug 24, 2010

Grimey Drawer
I have nothing to do but that's because we are in regression and UAT testing and me and my team did an actual good job.

Other teams are flooded with defects and I just laugh and submitted my 2 weeks.

Ither
Jan 30, 2010

Where are you headed?

Gildiss
Aug 24, 2010

Grimey Drawer

Ither posted:

Where are you headed?

To a much smaller company where I will be taking over much more responsibilities. Which is a great opportunity to improve my skills.

a foolish pianist
May 6, 2007

(bi)cyclic mutation

lifg posted:

This time of year is very slow for some industries. Lots of executives take vacations in August.

Yeah, seriously. We do a lot of business with European ISPs, and everything just shuts down for the whole month of August. From an American standpoint, it seems insane.

Wish I could take the month off too, though.

Volguus
Mar 3, 2009

a foolish pianist posted:

Yeah, seriously. We do a lot of business with European ISPs, and everything just shuts down for the whole month of August. From an American standpoint, it seems insane.

Wish I could take the month off too, though.

To be honest, when I arrived in Canada and heard that the minimum required vacation days per year was 10 (while most employers were offering 15) I thought that was loving insane. How can anyone live with less than 25 working days per year of vacation, like normal people get? Then I heard about US.
After 10 years and I still can't comprehend it. It is, as far as I can tell, an impenetrable mystery on why people put up with this.

But yeah, August is dead. So is December.

leper khan
Dec 28, 2010
Honest to god thinks Half Life 2 is a bad game. But at least he likes Monster Hunter.

Volguus posted:

To be honest, when I arrived in Canada and heard that the minimum required vacation days per year was 10 (while most employers were offering 15) I thought that was loving insane. How can anyone live with less than 25 working days per year of vacation, like normal people get? Then I heard about US.
After 10 years and I still can't comprehend it. It is, as far as I can tell, an impenetrable mystery on why people put up with this.

But yeah, August is dead. So is December.

In software at least you get decent pay.

a foolish pianist
May 6, 2007

(bi)cyclic mutation

Volguus posted:

To be honest, when I arrived in Canada and heard that the minimum required vacation days per year was 10 (while most employers were offering 15) I thought that was loving insane. How can anyone live with less than 25 working days per year of vacation, like normal people get? Then I heard about US.
After 10 years and I still can't comprehend it. It is, as far as I can tell, an impenetrable mystery on why people put up with this.

But yeah, August is dead. So is December.

I get 5 weeks paid vacation, but I suspect that's because Nokia, which just bought us, is a Finnish company. Prior to that, we were on the typical startup unlimited vacation plan where you actually are working on things and need to finish them and so don't take very much time off.

We don't just all leave at the same time, though.

Pollyanna
Mar 5, 2005

Milk's on them.


Yeah, I've gotten the "this time of year is very slow" spiel too. Especially for hiring purposes, since execs are all out and nobody wants to try and hire someone while they're on vacation. Which is fine, but JFC I want a new job already.

baquerd
Jul 2, 2007

by FactsAreUseless

a foolish pianist posted:

I get 5 weeks paid vacation, but I suspect that's because Nokia, which just bought us, is a Finnish company.

Nokia must have given you a sweat-heart deal in you're in the US. They did start people with a decent 3 weeks, going up to 5 weeks over like a decade.

I currently work for an unlimited company. Got approved for 2 1/2 weeks off around my 6 month mark for employment, plan on asking for another 2 weeks another 6 months after that and see how it goes.

redleader
Aug 18, 2005

Engage according to operational parameters
July is crunch time on a massive project for my company, with all deliverables to be completed by the end of the month (else huge financial penalties apply).

I have no idea how it's going, since I managed to book a lengthy holiday for this month :v:. Haven't even checked my emails once. It's so loving great.

Pollyanna
Mar 5, 2005

Milk's on them.


I'm gonna go ahead and guess that if nobody but your team leader can be trusted to approve a PR (thereby ensuring that it's in an acceptable state), then that team leader has done a poor job of disseminating knowledge and regulations of the code/system.

If I have to get the team leader to go through every PR since only he knows what might break further down the line, then he hasn't shared enough knowledge with us and is siloed the gently caress off. What a pain.

toiletbrush
May 17, 2010

Pollyanna posted:

That usually means either the project or the company is poorly managed enough for the place to start falling apart. Get your resume up to date. Sorry bud.
My first proper programmer job was for a tiny company (three devs including me) where the work would be a cycle of two weeks of work, two months of pretty much nothing to do, then another week of work and a final week of mild panic. The two months were fine when the boss was away because we'd just work on personal projects and hang out in each other's office and whatnot, but when he was around he'd watch us like hawks and get moronically angry if we didn't look like we were busy...and then it would be loving torture.

That said the company's still doing really well, we had our own offices in a really neat converted house overlooking the sea, and the work was really interesting...if it wasn't for the fact they paid peanuts (£18k/year in 2005) I don't think I'd ever have left.

Where I am now it's crunch time pretty much all year round, but at just the right level where the work day flies by but you never feel like things are totally out of control. I'm much happier here, being busy.

KoRMaK
Jul 31, 2012



Inheritance is a siren whose rocks I intend to stop crashing on.

MisterZimbu
Mar 13, 2006
I'm not smart enough to figure out how to handle time/dates and handle all the conversions from/to UTC/DateTimeOffset from the browser to moment to knockout to newtonsoft json to webapi to dapper to sql and back.

Whoever invented time is an rear end in a top hat :argh:

raminasi
Jan 25, 2005

a last drink with no ice

MisterZimbu posted:

I'm not smart enough to figure out how to handle time/dates and handle all the conversions from/to UTC/DateTimeOffset from the browser to moment to knockout to newtonsoft json to webapi to dapper to sql and back.

Whoever invented time is an rear end in a top hat :argh:

It's not you, all the tooling is bullshit. None of the layers make it easy to just do the right thing.

KoRMaK
Jul 31, 2012



MisterZimbu posted:

I'm not smart enough to figure out how to handle time/dates and handle all the conversions from/to UTC/DateTimeOffset from the browser to moment to knockout to newtonsoft json to webapi to dapper to sql and back.

Whoever invented time is an rear end in a top hat :argh:

Timezones are subjective and require a perspective/context.

Meaning, you always have to pass around the timezone you want to render the datetime relative to.

Save with timezone, render with timezone, transpose if needed

Volguus
Mar 3, 2009

MisterZimbu posted:

I'm not smart enough to figure out how to handle time/dates and handle all the conversions from/to UTC/DateTimeOffset from the browser to moment to knockout to newtonsoft json to webapi to dapper to sql and back.

Whoever invented time is an rear end in a top hat :argh:

The easiest thing to do is to not handle anything. Everything is UTC, until the moment of display. When sending it back, convert to UTC in the client. Then simply not worry about it. Otherwise you'll go insane.

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.

Volguus posted:

The easiest thing to do is to not handle anything. Everything is UTC, until the moment of display. When sending it back, convert to UTC in the client. Then simply not worry about it. Otherwise you'll go insane.

I'm thinking of doing a talk on this, cause yeah ideally this is the ideal, but it depends on context. If you're entering opening times for a business, the user would expect the Timezone they're using to correspond to the one the business is in. Then there's client time reckoning vs server time reckoning, and how you sometimes need to use naive datetimes of communicating across document like formats such as spreadsheets, where the user would expect to see the exact same datetime no matter what the Timezone their client JavaScript is running in.

It all depends on context as said, and boiling it down to the simplest possible case for the user, which is usually either wysiwyg naive datetimes, or utc datetimes where the client converts to local at the last moment.

I think either way though, transport of datetimes should avoid anything clever. Keep them as simple ISO time strings as long as humanly possible, almost right up to the point of render, to keep as much context as possible for what you're rendering til the point of render.

Rubellavator
Aug 16, 2007

Since our application didn't care about hour of the day, we did it so that if you picked Jan 15 12:00 AM Local Time, we would transpose that to Jan 15 12:00 AM UTC on the way to the server, and anything coming back would have to be transposed to Jan 15 12:00 AM Local.

I really hated it. It created some weird situations for our client-side validation when dates were set in the future.

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.
Funny thing is even well funded startups or enterprises still sometimes show me something I've uploaded/done as 10 hours in the future (I'm UTC+10), shits hard and no one is immune to tz inconsistency it seems.

necrobobsledder
Mar 21, 2005
Lay down your soul to the gods rock 'n roll
Nap Ghost
Screw it, TAI everywhere. https://en.wikipedia.org/wiki/International_Atomic_Time

The Fool
Oct 16, 2003


Swatch Time everywhere! https://en.wikipedia.org/wiki/Swatch_Internet_Time

CPColin
Sep 9, 2003

Big ol' smile.

Rubellavator posted:

Since our application didn't care about hour of the day, we did it so that if you picked Jan 15 12:00 AM Local Time, we would transpose that to Jan 15 12:00 AM UTC on the way to the server, and anything coming back would have to be transposed to Jan 15 12:00 AM Local.

I really hated it. It created some weird situations for our client-side validation when dates were set in the future.

I was this close to adding support for a date-only data type to the code and database at Experts Exchange before I looked at the potential uses the code would have and found all of them in the spaghetti that was the billing system.

Carbon dioxide
Oct 9, 2012

My colleague and I were discussing the testing server the company gave us and how well it performs.

I believe it must be running on an old shoebox. He disagrees, and thinks it's running on a potato.

What do you goons think?

Adbot
ADBOT LOVES YOU

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

Carbon dioxide posted:

My colleague and I were discussing the testing server the company gave us and how well it performs.

I believe it must be running on an old shoebox. He disagrees, and thinks it's running on a potato.

What do you goons think?
I think all developers should have the fastest CI money can buy, and painfully slow testing servers that randomly drop, duplicate or mis-order packets, lose connections, and stop responding to requests at odd intervals

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