|
wolrah posted:FTFY. Tabs exist for a reason, and it applies just as well to code as documents. Computer sees one indent, the user sees however large of indentation as they want, everyone's happy. Someone who prefers two space indents and someone who prefers eight space indents can both have what they want without any risk of conflicts. Someone should clue puppetlabs in then because their linter goes full on gordon ramsey if it finds tabs in a manifest. It's super fussy about lining up key=>value pairs too and if you press tab to line them up it will toss warnings. And it's loving ruined me, I used to be super friendly about tabs but now that 75% of my work week is banging on puppet files spaces are the new norm and I've slowly converted everything to spaces just so I don't have to switch modes every time I do something different.
|
# ? Oct 31, 2016 20:40 |
|
|
# ? May 23, 2024 13:10 |
|
xzzy posted:Someone should clue puppetlabs in then because their linter goes full on gordon ramsey if it finds tabs in a manifest. It's super fussy about lining up key=>value pairs too and if you press tab to line them up it will toss warnings.
|
# ? Oct 31, 2016 20:44 |
|
GWBBQ posted:I'm a bit late for printer chat, but in the past 365 days we've printed 307,000 pages. Count for the top 4 users: 33,000, 29,000, 23,000, and 10,000. The top faculty member routinely prints 50-100 copies of webpages to hand out to his classes. I suggested that in addition to the stern talk they're going to get from management, we give the top few offenders a potted seedling for each tree worth of paper they used this year. Fffffuuuck. I just went to the big MFP and brought up the pagecount. 232,248... of *color*. 3,255,744 black and white. No loving way that's year-to-date, that's gotta be from initial install a few years back, right? Right?
|
# ? Oct 31, 2016 21:29 |
|
xzzy posted:Someone should clue puppetlabs in then because their linter goes full on gordon ramsey if it finds tabs in a manifest. It's super fussy about lining up key=>value pairs too and if you press tab to line them up it will toss warnings. I still don't know how the hell puppet-lint wants me to line up nested objects on new lines. code:
Also, the linter can disable checks you don't care about. For instance, we almost never care about class documentation and nobody here admins our systems from an 80-column terminal, so we have --no-documentation-check --no-80chars-check specified.
|
# ? Oct 31, 2016 21:30 |
|
I posted this pretty much right after watching that scene. I definitely can see a lot of myself in that character, both good and bad. xzzy posted:Someone should clue puppetlabs in then because their linter goes full on gordon ramsey if it finds tabs in a manifest. It's super fussy about lining up key=>value pairs too and if you press tab to line them up it will toss warnings. One of the roles of a linter is to enforce a style, and Puppet's style guide calls for two-space indentation. Even though I'm a tab guy I'm OK with this, as long as they mandate a specific number of spaces so rather than having the fight between the person who likes two and the person who likes eight there's a "correct" answer as far as the community is concerned. anthonypants posted:Tell your IDE to convert tabs to spaces? IIRC this is why Guido chose to recommend spaces in PEP8, he prefers tabs himself but there are enough people out there using editors that mangle tabs in to spaces where almost nothing does the opposite that it was just easier to give in.
|
# ? Oct 31, 2016 21:38 |
|
Storysmith posted:I still don't know how the hell puppet-lint wants me to line up nested objects on new lines. It wants the '=>'s lined up all the way down, so you need to indent the ensure/other to match up with the baz's. Which doesn't really make sense to me, but that's why lint has mechanisms to permit exceptions because it's never going to be perfect.
|
# ? Oct 31, 2016 21:46 |
|
xzzy posted:It wants the '=>'s lined up all the way down, so you need to indent the ensure/other to match up with the baz's. That... I'm not going to say "that makes sense," but that at least explains what it wants to see in a way I understand.
|
# ? Oct 31, 2016 21:58 |
|
Unless you are coding up a makefile, set tabs to 4 spaces.
|
# ? Oct 31, 2016 23:10 |
|
Not that this pisses me off persay, but, today, feeling like a team traitor for suggesting that another team's suggestion isn't really all that bad of an idea, even if it means more work for us occasionally. We're all so drat busy that suggestions that equal work for someone who doesn't see the direct value, or benefit from it, are challenged or flat out ignored with resentment if pushed through.
|
# ? Nov 1, 2016 00:02 |
|
ratbert90 posted:Unless you are coding up a makefile, set tabs to 4 spaces. Quoting for truth. I get some python scripts from my minion at times, and his poo poo is set to TWO loving SPACES. "it makes it easier to read" Not only is that OBJECTIVELY not true. It also makes PyCharm go into PEP8 conniptions.
|
# ? Nov 1, 2016 00:55 |
|
flosofl posted:Quoting for truth. Lmbo I would send that code right the gently caress back and make him manually hit two more spaces on every single line by hand. gently caress that.
|
# ? Nov 1, 2016 01:14 |
|
ratbert90 posted:Lmbo I would send that code right the gently caress back and make him manually hit two more spaces on every single line by hand. gently caress that. Nah, vim's shift/ctrl-v mode makes it easy these days. They'd be done in a couple minutes. Unless you sat over their shoulder and watched them fix it, in which case you got problems.
|
# ? Nov 1, 2016 01:56 |
|
spog posted:If you create an indent in a Word template by pressing the space bar a lot, then you are Goring. My mom used to doublespace (in the pre-WYSIWYG days of Wordperfect 5.1 for DOS) by going to the end of the line and hitting enter twice. Does that make her Hirohito?
|
# ? Nov 1, 2016 02:20 |
|
flosofl posted:Quoting for truth. Please don't call your subordinate a minion, it triggers me
|
# ? Nov 1, 2016 02:21 |
|
mewse posted:Please don't call your subordinate a minion, it triggers me Eh, it's a joke at the office. It's a guy I'm mentoring, who's actually a really good and smart dude IF HE WOULD ONLY USE THE RIGHT NUMBER OF SPACES INDENTING HIS PYTHON CODE.
|
# ? Nov 1, 2016 03:16 |
|
This could be long, but I need to rant. So last week one of our RHEL DNS servers stopped working for some reason, this server resolved our internal .com addresses, and was the forwarder that would resolve requests from the domain controllers that run our .local domain. This server is in one of our DMZs and is also used by all our servers and software that run in other DMZs, and handles stuff like our ipads. On Thursday, it just poo poo the bed and decided to stop handling requests, nslookups against it would time out, it couldn't resolve anything on itself. I ssh'd in and tried to restart named, it would sometimes stop the service, but couldn't restart it. Or it couldn't stop it. I could kill the process, but it couldn't restart it. I'd use what little errors it gave me to try and see whats going on, but I couldn't get anything useful. Also, due to our firewall rules, we couldn't talk directly to our external server to even get internet working, at least until that department opened that up. Also for some reason that server had issues that night too, not sure why, but it eventually came back. After a couple of hours, I decide to just say gently caress it, and restart the server. At this point, its 6, and we've had the problem for 3 hours. Just about everyone starts to leave, but I stick around to keep an eye on things. 20 minutes later, it drops again. I try to bounce services, no luck. After a bit, another reboot, but this I walk into the server room to see if anything comes up weird. It starts fine, but now named is loving unhappy. I fight with it for 5 more hours, get external resolution working, but I need more people in to get internal going. Next morning, we get our .com zone added to the AD dns servers, and people are able to get stuff going. A bit later, I talk to a vendor we deal with that does support, and they find a linux guy on staff that can help me look. I share my machine on gotomeeting, and he pokes around for awhile. Even he sounds pretty stumped. He gets an idea to just run named, instead of using it as a service. It starts up and goes like a champ. We stop it, try the service, nothing. He is out of ideas, but at least we can start it up and get things working. We go to open a support ticket with Redhat since we have a support contract and find some fun things. For starters, only people listed on the contract is two managers in another department, and these servers aren't covered by it. We pay for support on a handful of severs, but apparently not our most important ones. Thanks people who set these up! After the fire is out, we have a meeting to discuss this, and to go over what went wrong, how we can prevent it in the future and so on. I bring up the fact that no one in department, or in IT at all is a linux admin, or has any real experience with them. I can muddle around in them, start/stop things and can use google, but I don't have a lot of the indepth knowledge we need. I mention that the only people who had that knowledge left, and there was mention that we need to get people with their knowledge to replace them. That hasn't happened. Or probably ever will. I think some managers know we need more help on things, but like to pretend its all fine. I talk a little with my boss later and say that training would be a good thing, but our real problem is we simply don't have the people to handle all the things we cover to a level we need. Our department is mainly networking, and is 3 people covering 140ish sites, with 140+ firewalls, 200+ switches, core switching at our datacenters, Aruba wireless management, video conference support and install, UPS management, cabling, some customer facing servers handling secure file transfers and secure email, plus we do tickets. I'm probably forgetting something. We simply don't have time to get indepth on anything, because at any point we'll get pulled off it and onto something else. We don't have time for training, not that its offered anyway. Unless we want to sit in on a webinar. I'm getting burned out and I've lost a lot of motivation for this place. We had a terrible manager for the last 2 years that sucked any enjoyment of this job out of it, and while he's gone, he left a mark. His replacement is trying, but I don't think he has what it takes. Someone on here once mentioned that they knew they needed to leave their job when on their way to work they saw a car accident and thought something like "I wish that was me so I didn't have to go to work." I sometimes wonder if I'm getting close to that.
|
# ? Nov 1, 2016 05:01 |
|
New boss means a re-org right? Right! Meet my new team name since they decided to split the team into a less flat management structure that came out on the companywide e-mail about what our new section supports since they split the group... Tools/Services Supported by DevOps Operations Why yes, I do think it is time to look for a new job. Why do you ask?
|
# ? Nov 1, 2016 13:47 |
Look operations operations are the top top of the industry.
|
|
# ? Nov 1, 2016 13:48 |
|
Virigoth posted:New boss means a re-org right? Right! Meet my new team name since they decided to split the team into a less flat management structure that came out on the companywide e-mail about what our new section supports since they split the group... The only way that name could be any better is if it was: DevOps Operations Developers
|
# ? Nov 1, 2016 14:02 |
|
Virigoth posted:New boss means a re-org right? Right! Meet my new team name since they decided to split the team into a less flat management structure that came out on the companywide e-mail about what our new section supports since they split the group... Are you a Tool or a Service?
|
# ? Nov 1, 2016 14:14 |
|
Or do you service tools?
|
# ? Nov 1, 2016 14:20 |
|
Thanks Ants posted:Or do you service tools? Isn't that the job of personal assistants?
|
# ? Nov 1, 2016 14:55 |
|
Virigoth posted:New boss means a re-org right? Right! Meet my new team name since they decided to split the team into a less flat management structure that came out on the companywide e-mail about what our new section supports since they split the group... So you're supporting Management and the Janitorial staff?
|
# ? Nov 1, 2016 15:00 |
|
flosofl posted:The only way that name could be any better is if it was: DevOps Operations Developers That'll probably be my new title. spog posted:Are you a Tool or a Service? Tool Neddy Seagoon posted:So you're supporting Management and the Janitorial staff? Yes, if developers = janitorial staff.
|
# ? Nov 1, 2016 15:08 |
|
Zamboni Apocalypse posted:Fffffuuuck. I just went to the big MFP and brought up the pagecount. 232,248... Depends on how often you reset the counter. If no one does it, it's from install date. I prefer to track page count in the ticketing system and leave the page count since install date, but every company is different. Resetting on a set date you are going to miss a printer or two, especially if you decide January 2nd while hungover.
|
# ? Nov 1, 2016 15:37 |
|
flosofl posted:Eh, it's a joke at the office. It's a guy I'm mentoring, who's actually a really good and smart dude IF HE WOULD ONLY USE THE RIGHT NUMBER OF SPACES INDENTING HIS PYTHON CODE. Triggerd. Whoever thought that whitespace should matter in a programming language was high on something not good.
|
# ? Nov 1, 2016 17:25 |
|
OWLS! posted:Triggerd. Whoever thought that whitespace should matter in a programming language was high on something not good. Python is a language designed by someone who has never had to manage a code base shared by others.
|
# ? Nov 1, 2016 17:33 |
|
Embarrassing me today: A client emailed about a weird, sort of urgent production issue. They read our documentation (WOW) and actually found the problem. I read the email, and thought, surely that's not it, let me do some longer analysis. After an hour, yep, the client was 100% correct. We did a conference call with the client and their tech managers, since it was a big issue, and I told them what I found, and how to fix it. They started to get a little salty, but the I said "listen, John, next time you do my job and find the exact problem, please email me directly so I'm not embarrassed in front of my boss again." We all had a good laugh, and they forgot to keep pushing about why we didn't find it earlier.
|
# ? Nov 1, 2016 17:33 |
|
pixaal posted:Depends on how often you reset the counter. If no one does it, it's from install date. I prefer to track page count in the ticketing system and leave the page count since install date, but every company is different. Resetting on a set date you are going to miss a printer or two, especially if you decide January 2nd while hungover. I hope it was never reset because that's 31 reams of paper per day assuming 210 working days to date.
|
# ? Nov 1, 2016 17:37 |
|
loving predecessor thought he could scam Verizon out of 8 tablets that were free with activation by paying month 1 and cancelling. He left and now I've got a bill for $1000 to apply against a budget he already thoroughly hosed dry.
|
# ? Nov 1, 2016 18:21 |
|
Judge Schnoopy posted:loving predecessor thought he could scam Verizon out of 8 tablets that were free with activation by paying month 1 and cancelling. Wow. Anecdote: My boss as $AWFUL_JOB used to have some developers in Argentina. I guess he paid them with travelers cheques because sometimes if he was busy I'd have to go to American Express and get like $10k in them. He told me that he did this because he'd get points for the purchases and it was like a mindblowing amount of points, problem was that I talked to American Express and they assured me you don't get points for purchasing them, because if you did, people would spend $10k every day on them and just pay the bill for infinite points. He assured me it was not right, but he never did get around to showing me the statement. Also I'm pretty sure I was helping him launder money to South America.
|
# ? Nov 1, 2016 18:31 |
|
I found out yesterday that our helpdesk email is in the all users distribution list. At least the list has a sane approved sender list, so I didn't get any crazy ticket spam. But having to mute and close tickets every time someone makes a company wide announcement is a little annoying.
|
# ? Nov 1, 2016 18:57 |
|
flosofl posted:Quoting for truth. Blame Google. quote:(Fun fact: Google's internal style guideline dictates indenting by 2 spaces!)
|
# ? Nov 1, 2016 19:05 |
|
Have always had to get lovely consumer laptops on the retail market, because no one wanted to pay for proper business laptops. Welp, one of the lovely Toshibas I bought a few months ago crapped out. Sent it back to Toshiba for warranty repair/replacement, they received it on 9/28... Current ETA on repair is mid-November. They are "waiting for a new motherboard to arrive from overseas" Meanwhile the person who had the laptop is using our ancient loaner laptop. They are not happy about it. Though the loaner laptop is actually of much better quality than the modern Toshiba.. Its a older HP Elitebook. Maybe after this I can finally convince the higher ups to start buying decent laptops with warranty service that doesn't have a 2 month turnaround time. Just another day in IT on a shoestring budget.
|
# ? Nov 1, 2016 20:19 |
|
Spaces vs Tabs sent me into a whole world of triggered. I will simply say tabs exist for a reason and now to go refill my coffee because holy my brain is screaming.
|
# ? Nov 1, 2016 20:22 |
|
1940s - Various "computers" are "programmed" using direct wiring and switches. Engineers do this in order to avoid the tabs vs spaces debate.
|
# ? Nov 1, 2016 20:45 |
|
AT&T continues to impress - a ticket I opened October 21 still has no resolution. The tech I talked to was clueless and kept blowing me off when I asked to talk to someone else, so I hung up. Since then it's been escalated with no resolution up to level 6. We have a SIP Trunk router which isn't communicating with the AT&T SBC at all. I just need to confirm what IPs I should be using, or if that device is offline or something. It's really not that complicated, not sure how this is taking over a week to resolve.
|
# ? Nov 1, 2016 21:07 |
|
OWLS! posted:Triggerd. Whoever thought that whitespace should matter in a programming language was high on something not good. Triggered because I worked with Cobol in the 90s.
|
# ? Nov 1, 2016 21:15 |
|
ChubbyThePhat posted:Spaces vs Tabs sent me into a whole world of triggered. I will simply say tabs exist for a reason and now to go refill my coffee because holy my brain is screaming. Spaces are objectively correct solely because Visual Studio defaults to spaces, which means if you want anyone to be able to use tabs you have to spend forever loving with Visual Studio settings and git filters on a user-by-user basis to get things to merge properly.
|
# ? Nov 1, 2016 21:17 |
|
|
# ? May 23, 2024 13:10 |
|
porktree posted:Triggered because I worked with Cobol in the 90s. I almost worked with entirely with COBOL after college in the late 2000s, good thing that fell through.
|
# ? Nov 1, 2016 21:39 |