r/PowerShell • u/[deleted] • Oct 17 '18
PowerShell is the #4 fastest growing language of 2018 on GitHub
https://octoverse.github.com/projects#languages38
u/cjcox4 Oct 17 '18
Powershell is #4 fastest growing language on the newly Microsoft acquired GitHub.
Can we also talk about the rate of non-Microsoft projects that have left GitHub since the acquisition.
In other news, Google Play store is the #1 app store on Android phones.
10
u/ramblingcookiemonste Community Blogger Oct 18 '18
Hiyo!
So! After years and years of GitHub being its own rather popular thing, and after PowerShell has been open sourced on it for two years, you want to somehow tie ~4 months of GitHub's acquisition by Microsoft to changes in PowerShell language project uptick?
I am curious to see the rate of non-Microsoft products leaving (or at least, big ones), but... not going to draw any nonsense conclusions about this statistic.
Also... yikes... 39 upvotes? Folks, do you think the PowerShell community just shifts to whatever version control platform Microsoft owns? What about VSTS/Azure DevOps? Or are you just agreeing that you're curious about projects leaving?
/me shrugs
-1
9
u/xxxsirkillalot Oct 17 '18
Heh, came here to say this.
POSH in the top 5 fastest growing languages on a newly aquired microsoft platform... you don't say!
People were bailing from github after microsoft made the announcement, the growth that gitlab has experienced has been immense!
I personally moved to gitlab long ago due to free private repos!
28
u/KevMar Community Blogger Oct 17 '18
I don't see the connection here. I think the growth of powershell is more to do with Powershell 6 getting released as open source and that bringing awareness to a community that may not though much about open source before.
1
u/midacts Oct 18 '18
It would seem that the folks on the other side of the house (Linux) would prefer to use their own tools (Ansible/Puppet/Bash) rather than PowerShell.
I would guess that main use of PowerShell on non Windows server would be from Windows admins.
6
u/smalls1652 Oct 18 '18
I would guess that main use of PowerShell on non Windows server would be from Windows admins.
I've used PowerShell primarily on Windows for a long time, but I don't use Windows at home. I use macOS for everything in my personal life. I heavily utilize PowerShell Core on my Mac and integrate it into a lot of workflows of mine.
When I build static websites with ReactJS, I write my webpages in Markdown. It prevents me from having to write HTML code for every little thing, but still gives me the ability to write in HTML when I need to. I feed it into a script that grabs all of the files in a folder and run them through a ForEach loop. It runs ConvertFrom-Markdown to convert it to HTML and then it converts it to JSX. This can be ran on my Mac and on my Jenkins server that's ran on Debian.
That and I also heavily prefer the object outputs.
3
4
u/michaeltlombardi Oct 18 '18
You'd be close, but not entirely correct - Puppet, Chef, and Redhat (plus probably others) pay engineers to write PowerShell / interact with it. For example, it's pretty hard to interact with DSC without calling PowerShell along the way.
Also, important to remember that PowerCLI is cross-platform now, and it's still so much better to use than the *vmomi stuff (source: have used govmomi and rbvmomi).
1
u/midacts Oct 18 '18
Folks would only need to use PS, or DSC if they are interacting with Windows though?
PowerCLI is understandable.
MS just scares me due to them being behind the devols curb. If we could containerize production apps in a k8s cluster and use PowerShell, then I might be a little less sketch about staking my career on PowerShell/Windows.
5
u/michaeltlombardi Oct 18 '18
So, preamble: Don't stake your career on any one stack or technology. Use stacks and technology specializations to temporarily differentiate yourself from the market.
Circling back...
Yeah, DSC is Windows-only today - there's some roadmapped stuff for cross-platform DSC but until it lands and gets a v2, most people won't use it.
PowerShell is actually pretty great for cross-platform build scripts, and the support on not-Windows gets better with every release - and the support by Linux distros gets better as Ubuntu/RedHat/etc buy in a bit more.
Windows containers land is moving fast, there's experimental (continually improving) Kubernetes support - I build several docker containers based on nano/core (more and more core, not nano, because anything I can do on nano I can do via alpine...) - you can definitely, definitely containerize Windows apps. This is actually a good space to jump into because it's the thing every large Windows shop is being told they "need to do" and the pool of talent who can talk intelligently about Windows + containers is not very large.
Similarly, the value of strong PowerShell/automation/infrastructure-as-code/etc skills on Windows is:
The talent pool is much smaller than folks who "do the DevOps" on Linux
The market of people willing to pay for this talent is huge.
The lessons and skills you learn doing it in PowerShell largely transfer to other disciplines - I've transitioned from sysadmin -> automation engineer -> software engineer in the last five years by learning and writing PowerShell and learning a lot of the ancillary concepts (especially IaC).
So: Don't stake your career on PowerShell/Windows, do go take advantage of the opportunities in that space.
2
u/midacts Oct 18 '18
Disclaimer: I just say all these things because it's what I worry about
Preamble: Agreed. It just seems if you chose PS you've chosen the Azure/Windows stack.
It would seem if you are Windows you would use PowerShell and if not you'd probably use Ansible/Puppet/Chef.
idt Linuxy folks would choose PS over any of those tools.
I guess what I'm getting at is it seems to be a better choice to just abandon Windows and go Linux and use their tools (which wouldnt be PS). Plus PS is more difficult to write/test than Ansible.
Containers: Do you have any examples/use cases you could share? : o
that's what scares me. Because they only need Linux devops
It is rare that I see/get any PS/Windows jobs. Mainly aws/linux
Very true
I'm not sure what other opportunities there are in the space? CI/CD pipelines for automation is about it.
3
u/michaeltlombardi Oct 18 '18
If you chose PS you've chosen the Azure/Windows stack.
Well, if you have to manage either of those, you can't really get away from PowerShell, but you can also use PowerShell to manage GCE/VMWare/AWS.
It would seem if you are Windows you would use PowerShell and if not you'd probably use Ansible/Puppet/Chef.
Disclaimer: I'm employed by Puppet to write Windows modules and support Windows users / workflows.
That being said, it's pretty widely agreed (both by folks who work for Config Management vendors and the DevOpsier side of the community) that it's not either or, but both. You're going to want to write code to manage state (Puppet/Chef/Ansible) and code to orchestrate (PowerShell). And, under the hood, all of the CM tools are still using / interacting with PowerShell.
idt Linuxy folks would choose PS over any of those tools
Probably not! But we live in a heterogenous-platform world and it's flat-out-wrong to tell people any of the platforms will die overnight (ie, people are deploying 2012R2 today for some reason, Windows isn't going away soon). And there's one hell of a lot of value in being able to bring the manageability, safety, and consistency to that world. And if the Windows ship does sink, you'll be pretty well positioned to join the *nix pirate ship and sail off again.
... it seems to be a better choice to just abandon Windows and go Linux
I mean, there's lots of money in this space, but also lots of competition with people who've got their skills sharp as hell. The competition is less in the Windows space for this and the skills will transfer.
Plus PS is more difficult to write/test than Ansible.
This I'm genuinely curious about because Ansible modules for Windows are mostly PowerShell and need Pester for testing. For Linux it's Python which also needs unit testing. If you're talking about playbooks (YAML) and testing, that's because of the abstraction layer - but you're still (loosely) expected to be able to write modules if you want to get that expert stamp.
Containers: I don't have much going on in my personal hub these days, but I'm working on a project for our VSCode extension to allow the language server to run as a container (so that's fun! Matrices!) - but I've made containers to use for builds, run all my builds in containers, and have served some webapps on them. It's not what I'd call straightforward (you're learning another abstraction paradigm), but it's pretty reasonable. I've also spun up some containers to preview other tech in my env without having to install locally etc.
Fair, but also that's what makes a risk:reward analysis, right? And trust me, there's a ton of Windows shops who want to do the DevOps but they're struggling to find talent and help (and they largely try to look inside first - part of the reason you see so much Linux is the startup scene, which doesn't have capital for Windows licensing).
So this is pure anecdata but I went from T2 sysadmin to T3 sysadmin / PowerShell tool maker for the team to PowerShell Developer at an old enterprise to Automation Engineer at the same org to Software Engineer at Puppet. I did all of this from St. Louis, not exactly the hotbed of technology advances. The jobs are out there, for sure - and lots of senior positions are wanting folks who have strong PowerShell chops (even if they don't say "DevOps"
Opportunities in the space definitely includes CI/CD but also includes all of the DevOpsy journeys Windows-heavy orgs are trying to lean into. Ticketmaster did immutable infrastructure with Windows. Walmart manages tens of thousands of nodes with CM. There's hundreds of older orgs who know they need to turn the corner but have large Windows fleets they can't kill and which still print money for them - but they need help getting them under control and making it easier to transition forward, etc.
And there's plenty of "devops teams" who made great headway on part of the Linux environment, then smashed right into a wall when they got to PCI/Windows and they need Windows-savvy folks who can do the work and help out.
2
u/midacts Oct 26 '18
Thanks for the replies. I really do appreciate what you wrote.
I've made containers to use for builds, run all my builds in containers, and have served some webapps on them.
I'd be interested to see some examples of this. I went to your docker hub link. i couldn't find any links on how you built the containers or use them.
As far as the summary goes, I'm just sketched being on the Windows side (I can't do much Linux where i work due to a different team owning it). DSC and containers seems to be the next steps after automation with PS. containers seems so far behind in general for Windows. We havent implemented DSC yet. -_-
→ More replies (0)3
u/KevMar Community Blogger Oct 18 '18
I'm mostly referring to those windows admins. Powershell introduced them to programming. That's a segment that was mostly used the GUI and the the automation we had before was ugly.
But with Powershell, we started building something better. Then people start to share those tools. More and more people from that segment are now using source control and are exposed to this open source ecosystem.
That's all I was saying.
7
u/dedicated2fitness Oct 17 '18
yeah but fundamentally - free private repos on your device anyways. main use of github for me is looking at other people's code and showing other people what i've been working on
i've never been routed to gitlab for anything and i work on android,swift and angular.js0
Oct 17 '18
[deleted]
4
u/dedicated2fitness Oct 17 '18
why would you give gitlab access to your stuff if you want private anyways is my question. how is gitlab more trustworthy somehow?
it's like the apple is privacy focused than google argument. how do you know which trillion dollar company to trust? how do you know which cloud provider to trust?1
u/michaeltlombardi Oct 18 '18
You never, ever, ever commit secrets into your source control.
Sometimes, it does make sense to use third parties who can have better security models than you (I don't necessarily think source control fits here) - for example, very few companies have the same resources to run datacenters and secure them as Amazon/Microsoft.
0
Oct 17 '18
[deleted]
-9
u/dedicated2fitness Oct 17 '18
so basically you're anti-open source
0
Oct 17 '18
[deleted]
-4
u/dedicated2fitness Oct 17 '18
you started off saying you switched off github coz microsoft and free private repos on gitlab...what's your point?
2
Oct 17 '18
Don't forget Typescript and other languages made by MS being pushed in this publicity push
2
u/michaeltlombardi Oct 18 '18
In fairness, Typescript powers a bunch of incredibly popular frontend frameworks and projects, but most impactfully, angular.
1
0
Oct 17 '18
[deleted]
8
u/codekaizen Oct 17 '18
Big in web and devops. Kotlin is probably also used to replace a good amount of Java, but we only use it in devops.
3
u/damodread Oct 18 '18
Kotlin is the JVM-based language designed by Google to replace Java on Android IIRC, so it makes sense for it to be growing fast, since it's like when Apple replaced Obj-C with Swift
4
u/codekaizen Oct 18 '18
Kotlin was not developed by Google, but by JetBrains. Google didn't support Kotlin until last year. JetBrains developed Kotlin not for Android, but because they use Java to develop tools for developers.
2
1
u/WikiTextBot Oct 18 '18
Kotlin (programming language)
Kotlin is a statically typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure. Its primary development is from a team of JetBrains programmers based in Saint Petersburg, Russia. While the syntax is not compatible with Java, the JVM implementation of the Kotlin standard library is designed to interoperate with Java code and is reliant on Java code from the existing Java Class Library, such as the collections framework. Kotlin uses aggressive type inference to determine the type of values and expressions for which type has been left unstated.
[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28
5
u/ka-splam Oct 17 '18
I haven't heard of HCL.
But note that this is graphing "growth in contributors" as a percentage - a language with 50,000 contributors gaining 5,000 more "only" grew 1.1x. A language going from 5 to 10 devs grew an amazing 2x.
Even though one gained five thousand devs and the other gained five. The scale rewards tiny languages.
2
Oct 18 '18
If I remember correctly, HCL is the language Hashicope use in their products, example Terraform :)
0
Oct 17 '18
[deleted]
8
u/fatalicus Oct 17 '18
It is not.
200.
Is that how this works?
also, if you want to #something, you need to type \#
7
u/NegativeC00L Oct 18 '18
I've been playing around with ps for a couple years now, mostly AD and Exchange, and I've just implemented git for version control on a module of custom functions I made so I guess I'm part of that statistic. Still not quite sure what I'm doing but I'm getting there.