code logs -> 2020 -> Sun, 12 Jul 2020< code.20200711.log - code.20200713.log >
--- Log opened Sun Jul 12 00:00:28 2020
00:30
<@Alek>
[18:28] * @Alek facedesks.
00:30
<@Alek>
[18:28] <@Alek> using a large png for logo.
00:30
<@Alek>
[18:29] <@Alek> one size for desktop: 50% of screen width.
00:30
<@Alek>
[18:29] <@Alek> another size for mobile: 100% of screen width.
00:30
<@Alek>
[18:29] <@Alek> only on mobile it overflows and displays as 100% of its size instead. why? how to force it down?
00:31
<~Vornicus>
width: 100vw
00:32
<@Alek>
doesn't work, sadly
00:33
<@Alek>
@media only screen and (max-width: 768px) {
00:33
<@Alek>
/* for mobile phones */
00:33
<@Alek>
[class*="responsive-"]{
00:33
<@Alek>
max-width: 100vw;
00:33
<@Alek>
height: auto;
00:33
<@Alek>
}
00:33
<@Alek>
}
00:38
<@Alek>
ha, here's the funny part. on my old phone it overflows, but on dad's new phone it pulls the 50% version instead, probably because it has a higher width than my limit. >_>
00:39
<@Alek>
no difference between displaying default and pulling the desktop version. :P
00:55
<@Alek>
augh
01:23 Kindamoody is now known as Kindamoody[zZz]
01:24
<@Alek>
... apparently the @media section doesn't actually work and my phone was displaying huge because of a cache error, and now displays equal to the desktop version at 50%
01:25 * Alek sighs, leaves it for now.
02:04 catalyst [catalyst@Nightstar-b55pat.dab.02.net] has joined #code
02:28 Degi [Degi@Nightstar-2vq4uq.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
02:33 Degi [Degi@Nightstar-r40nev.dyn.telefonica.de] has joined #code
02:41 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
05:11 catalyst_ [catalyst@Nightstar-2fqvs6.dab.02.net] has joined #code
05:13 catalyst [catalyst@Nightstar-b55pat.dab.02.net] has quit [Ping timeout: 121 seconds]
05:42 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
05:42 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:42 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
05:54 celticminstrel [celticminst@Nightstar-79nr02.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:33 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has joined #code
06:33 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
09:50 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
10:12 Kindamoody[zZz] is now known as Kindamoody
10:52 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
11:43 catalyst [catalyst@Nightstar-eervhn.dab.02.net] has joined #code
11:44 catalyst_ [catalyst@Nightstar-2fqvs6.dab.02.net] has quit [Ping timeout: 121 seconds]
14:38 celticminstrel [celticminst@Nightstar-79nr02.dsl.bell.ca] has joined #code
14:38 mode/#code [+o celticminstrel] by ChanServ
15:27 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:27 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:30 Kindamoody is now known as Kindamoody|afk
17:13 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
18:14 catalyst [catalyst@Nightstar-eervhn.dab.02.net] has quit [Ping timeout: 121 seconds]
18:16 catalyst [catalyst@Nightstar-j5e580.dab.02.net] has joined #code
19:45 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
19:45 mode/#code [+o macdjord] by ChanServ
20:02 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
20:02 mode/#code [+o mac] by ChanServ
20:05 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
20:46 Kindamoody|afk is now known as Kindamoody
21:56
< Mahal>
I may have done an unwise thing, and I would like some older-in-code and wiser-in-code heads to proffer advice.
21:56
< Mahal>
I am not a coder. I am, however, an experienced sysadmin with reasonable hours in Powershell.
21:57
< Mahal>
Some of the helpdesk team at my employer are keen to get into Powershell, automating things to make their lives easier. I am 100% in favour of this - it's good experience and shows willing to move up in the ranks, blah-de-blah
21:57
<@mac>
First you must pass The CHallanges to prove yourself worthy of the Anciant Wisdom.
21:57
< Mahal>
We need some code review and on the basis that basically me and one other person round here are 'experienced' POwershell-ers, I've just found myself responsible for code review and release.
21:58
< Mahal>
Thus far, I have a header template that I intend to insist everyone uses
21:58
< Mahal>
(it's a basic "what's this for / what does it do / who approved it" which I already use in my own scripts)
21:58
< Mahal>
I have a central location for 'approved' scripts
21:58
< Mahal>
we don't have a github or anything - it's been on my backburner forever to try and set one up but welp, that's not happening at the moment
21:59
< Mahal>
I want to encourage them to do things, not make it too hard
21:59
< Mahal>
I also want a bit of accountability and set#2 of eyeballs on a script before other people start using it
21:59
< Mahal>
So, what pitfalls have I just set myself up for, and how can I pre-emptively avoid them by smart planning
22:17
<&jerith>
It's important to make code reviews easy and visible.
22:17
< Mahal>
So, I'm coming from a place where I haven't _had_ any code review
22:18
< Mahal>
I write my own scripts, at best I manage to wrangle a colleague into passing a common-sense eye on it
22:18
< Mahal>
and then I pray~
22:18
<&jerith>
Much as I dislike github's review UI (although it's much better than it was), it's very easy to use from both sides.
22:18
< Mahal>
My problem is, uh
22:19
<&jerith>
Hrm. Is the unit of review typically "here's a new independent script I wrote" or "here are some changes I made to this existing script"?
22:19
< Mahal>
Pass, this is fairly new to all of us
22:19
< Mahal>
In my case, the latter, but it's me reviewing my own shit to-date, so
22:19
< Mahal>
I have a set of conflicting requirements here, may I burble for a bit?
22:19
< Mahal>
1) Most Powershell scripts/modules need to run locally-ish
22:20
< Mahal>
2) I need a central repository for management of same
22:20
< Mahal>
3) I don't at all understand github and probably need github for Real Fucking Dummies
22:20
<&jerith>
Burble away! :-)
22:21
< Mahal>
I want to be able to do things like "create my own POwershell module - which generally runs from %userprofile%\Documents\WindowsPowershell\Modules - that updates from $networkshare\location\HelldeskModules as needed"
22:21
< Mahal>
(you can tell Powershell to go looking for updates in $location and pull it down locally)
22:21
< Mahal>
but I want updates to be reviewed, so as to not break everythign
22:33
< Mahal>
Maybe I'm just trying to eat an elephant
22:34
<&jerith>
If you have more than a handful of these things (and probably even if you don't), you'll want some kind of revision control for them.
22:35
< Mahal>
Yeah, that's one of the things I'm struggling with
22:35
< Mahal>
something like github is the obvious option BUT I need things to live locally
22:35
< Mahal>
and I don't want to run a whole behemoth of a system for like
22:35
< Mahal>
ten scripts
22:35
< Mahal>
and ....
22:35 * Mahal stares sadly at elephants
22:36
<&jerith>
Does your organization have a dev team?
22:36
<&jerith>
If so, what do they use?
22:38 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed]
22:39
< Mahal>
They do - Azure Devops / Github
22:40
< Mahal>
the last time I asked them for ideas i basically got "here's an elephant, go eat it" which was not helpful
22:40
< Mahal>
like, I'm not asking people to do this for me, I"m asking where I start to understand what I want to do
22:41
< Mahal>
and everyone I ask already understands this and tries to drop me in the deep end and I'm fundamentally missing something[s] and I don't know how to ask how to fill in the gaps
22:46
<&jerith>
Mahal: If they're already using github, surely it should be okay for you as well?
22:48
< Mahal>
I think the problem I have is that they're all developers, coming from a functional background of knowing how to use these tools
22:48
<&jerith>
Unless "need things to live locally" refers to deployment target rather than a prohibition on putting certain things in the cloud.
22:48
< Mahal>
I need the "I am a total and complete intern-newb in year one of a CS degree" version of how to use a code repo
22:48
< Mahal>
(Deployment target is local)
22:48
< Mahal>
(No cloud prohibitions)
22:49
< Mahal>
so that's part of the problem, I need to know what tool to go find the 101 on
22:49
< Mahal>
but when I ask questions like that I don't get the answer I'm after and so I guess I'm asking it wrong, somehow
22:49
< Mahal>
but I'm not sure what to ask instead because I don't know enough :D
22:49
<&jerith>
Firstly, you're significantly smarter and more capable than many people I've interacted with on github. The problem here is one of finding the right materials.
22:50
<&jerith>
Have you had a look at https://guides.github.com/ ? (I haven't yet, beyond finding it in a websearch.)
22:50 * Mahal waves hands vaguely
22:50
< Mahal>
I have, but part of my 'problem' is that I don't know if this is the right tool?
22:51
< Mahal>
like, ideally it would live somehow in MS land so that I could get the Helpdesk authing to it with their SSO logons
22:51
< Mahal>
can I do that with github? or visual studio online?
22:51
< Mahal>
or something else?
22:51
<&jerith>
It's definitely true that git is a vast and complex beast, but it's also true that you don't need to touch most of the complexity.
22:51
<&jerith>
Microsoft owns github, so.
22:52
<&jerith>
I'm not sure about sso or anything, though.
22:52
<~Vornicus>
I still need to learn the absolute basics of github
22:52
<&jerith>
But we have some of our project managers on github, so the barrier isn't that high.
22:54
<&jerith>
Mahal: Given your stated requirements, I think github is an adequate (although perhaps not ideal) tool for this. However, it has the singular advantage of being the One Big Thing everyone knows in this space.
22:54
<~Vornicus>
Every time I try I run into some issue that I missed some important detail somewhere so it gives me an error I don't understand
22:54
<@gnolam>
Mahal: IIRC, "Azure DevOps" is simply what they call TFS these days. In that case, it should have all the functionality you need. It's very much in Microsoft Land, so I assume it should work with whatever sign-in solution you have.
22:56
<&jerith>
I don't know Azure DevOps or TFS, but I certainly trust gnolam's recommendation.
22:56
<@gnolam>
It has the GitHub functionality you want - i.e. "central repository" and "let you do reviews on what people want to contribute".
22:57
<@gnolam>
And at least if you host it locally (you can either rent hosting from them or run it on-premises), you can automate the "$networkshare\location\HelldeskModules" update process.
23:01
< Mahal>
this is where I ran into issues with our own devs last time
23:01
< Mahal>
"hey, i want a devops project too, how do I do this without breaking any of y'alls shit"
23:01
<@gnolam>
E.g. I have a repository for customer-specific files that, on commit, is automatically checked out to a network share folder. So that everyone, even the non-techy people, can just go to X:\Stuff to get the latest version of the customer files instead of having to faff about with git.
23:12 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
23:13 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Jul 13 00:00:30 2020
code logs -> 2020 -> Sun, 12 Jul 2020< code.20200711.log - code.20200713.log >

[ Latest log file ]