Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "scripting"
-
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.105 -
#thread
Any Home Assistant fans out there? Got myself a RPi3 a few months ago and got hooked on HA, because of the huge product support and great community. Didn't find any dashboards that I liked so created my own, written in JS, fully customisable and support for most if not all kinds of gadgets. The purpose was to have something easy to use for the whole family, on a wall-mounted tablet. What do you guys think?
Anyways, has anyone done some cool home automations/scripting? Would love to hear about it!77 -
We were all 16 once right? When I was 16, my school had a network of Windows 2000 machines. Since I was learning java at the time, I thought learning batch scripting would be fun.
One day I wrote a script that froze input from the mouse and displayed a pop up with a scary “Critical System Error: please correct before data deletion!!”. It also displayed a five minute countdown timer, after which the computer restarted.
I may or may not have replaced the internet explorer icon on the desktop with a link to my program on the entire student lab of computers. Chaos.12 -
"Started playing around with C scripting, can you give me a hand with x?"
"Sure. Errr... this isn't C."
"Yeah it is, like the new C scripting stuff!"
"C scripting stuff?!"
"Yeah, the coffeescript stuff! You developers always shorten it to C right?"
😬😬13 -
Interview (first job):
Interviewer: So what languages do you know?
Me: Well, i learnd C, C++ and Matlab scripting, but i'm learning C# as a personal project.
Interviewer: Perfect!
First day:
Interviewer(now boss): So, a guy is leaving next week and you will be replacing him. He has 70 projects and you will be responsible for this production test platform in JAVA11 -
Woken up early by a WhatsApp message, classmate asked a stupid bash scripting question. Replied with profanity and foul language.
Turns out it was the official chat group with faculty and everyone. FML7 -
When you write scripts to automate stuff because you're lazy, but you spend so much time writing them it makes you doubt your own laziness4
-
I live in the terminal. I write lots of scripts (Shell, Python, node js) to automate tasks that would take hours to do by my teammates. Recently, I started automating everything that I put my hands on using Ansile: from pointing DNS server to continuons deployment, provisionning a fully customized infrastructure on the cloud using just a single command!
This is because automation gives you super power, the feeling that what you do help tl increase the productivity, reduce bugs etc.. Simply, once mastered, automation is ausome!12 -
So today I was working on some PowerShell scripts and I get a question from a colleague
Colleague: So, How's your girlfriend doing ?
Me: "You cannot call a method on a null-valued expression" -ForegroundColour "Red"
*Colleague throws something at me*
Totally worth it! -
Feels great to write a script that downloads consecutive episodes of a series sequentially ..
All because..
Hotstar doesnt support Linux ..16 -
Blender.
3D modelling, UVs, texturing, animation, video editing, compositing, motion graphics, motion tracking, 2D animation, and a fucking powerful render engine? Check.
Great community? Check.
Powerful and easy scripting system? Check.
A well organized dev team? Check.
People who care about UI/UX? Check (look at Blender 2.8).
Does it compete with a major corporation that would go into sloth otherwise? Check. (If you thought M$ was shaftware wait till you see Autodesk)
There are other FOSS projects that I really like, but my vote definitely goes to Blender.9 -
1. No more coding on paper! Why can some already write essays on laptops but programmers are stuck with "analog"?
2. No vendor lock-ins! Teach free, cross-platform development, not VB.NET.
3. No more professors stuck in the eighties! If all you know is 6800 assembly, GTFO. I heard NASA was hiring...
4. Enforce code style consistency, proper documentation and even VCS for larger projects
5. Algorithms -> scripting -> programming. Don't quickly explain the basics, then throw students straight into Java.10 -
Goodbye web development; welcome back algorithms and scripting... How I missed you so much in these agonizing days we've been apart. But fear not, I shall never return to web development...
Well, I still have important websites to finish, but I won't let web development become my niche.13 -
Spent 3 hours making a script that saves me 15 seconds every half an hour. Hmm not my best choice.8
-
I hate when people get Java and JavaScript confused. One is a language used for smaller projects by am mature programmers, and the other is a scripting language for the web.
(Can't find quote author)13 -
I recently got a job as a sysadmin and they've been debriefing me on their hacked websites (wordpress malware injection). Beats me why they still have their sites up at all...
BUT WAIT THERE'S MORE!
I wanted to see if they have any backups... NONE.
The latest snapshot was over a year ago...FML. Over a year ago when they barely have anything on their company site and client sites 😒
Now, I have to revive 10 websites from redirection. Time to do some shell scripting!4 -
Scripting languages, markup languages, database querying languages, etc. Are all types of programming languages. A program is a set of instructions for a computer to follow.
HTML is a programming language, fight me.48 -
Can we all take a moment to appreciate what a complete mess web technologies are.
We're abusing a markup language made for scientific writing, by styling it with css and in order to make it dynamic somehow, we run a weird ass scripting language on the clientside.
Because nobody really wants to use this burning garbage can, some of us invented web frameworks.
And let's not get started on php...14 -
Boss asked me to make a script to automate some tasks. After some days i found out that my task will replace the job of one of our colleagues.
Now the *script, that looks like a big project, is almost done.
Feel for the guy.13 -
Going through the name list of Manifesto for Responsible Software Development at http://manifesto.responsiblesoftware.org/... when suddenly......4
-
My CV shows that I have experience with Java and also python scripting but I keep getting calls about Javascript positions..... Cmon HR you better than that...2
-
Them: My company is looking for a junior C++ programmer. You must have 10 years experience with PL, SQL, SQL Server, MySQL, SQL oracle, javascript, HTML, XML, UML, c-sharp, visual basic, java.net, j unit, and win32 api, cutie, gtk, PHP, ASP, Perl, Python, and shell scripting with the windows, linux, and solaris operating systems.
Us: Do i need to know C++?
Them: no
https://youtube.com/watch/...5 -
It's vacation for me for two weeks of which one week will be a vacation outside the country and one will be home-time.
Will work on redesigning my entire server 'infrastructure' and an automated website/openvpn/whateverthefuckiwanttodeployorwhatever system solely written in bash/shell scripting.
Partly because it's awesome to learn new Linux-related stuff and partly because I really want to have this functionality and would love to write it myself.
Also working on three side projects of which two will become a service and one will be released into the open :)
But, tomorrow will be dancing my ass off to quite some of my favourite producers :D8 -
During interviews about a month ago my friend and i saw an astonishing girl.we didn't knew her name but we had the interview list containg names of more than 1200 candidates which were selected. Fast forward today we started talking about that day and all of sudden we thought wouldn't it be fun if we used the interview list to find her on Facebook. Around 400 of the candidates were female. Instead of doing it manually i decided to write a python script.
Give script list of names
It will go to all the Facebook profiles which came up by performing a Facebook search though your fb account and take a screenshot of every profile
All of it is done through automations
At the end you just have to look at the screenshots manually
p.s. we failed to find her name. You've to trust me when i say we're not creep😂28 -
Worst of 2020?
Well, I've learnt never to do free / voluntary work.
Been spending many weekends helping out a former friend, mostlyby creating APIs, sites, managing servers & scripting.
Now that I have a girlfriend, my weekends are spent mostly with her.
He got really mad, said he doesn't want to waste time.
Then went to *pay* someone else to continue what I've been doing...7 -
In approximately 9 hours I'm probably going to humiliate myself in a meeting
I was given 5 days to write a sh script.
And guess what..
I still have not started
FML...🤦♂️7 -
!rant
A rather long(it's 8 hrs long to be precise) story
So I just finished an amazing homework assignment. The goal was to open a new shell on Linux using a C program. We were asked to follow instructions from http://phrack.org/issues/49/14.html . However the instructions given were for 32 bit processors and we had to do same for 64 bit machines. In a nutshell we had to write a 64 bit shell code and use buffer-overflow technique to change the return address if the function to our shell code.
I was able to write my own shellcode within 1hr and was able to confirm that it's working by compiling with nasm and all. Also the "show-off-dev" inside me told me to execute "/bin/bash" instead of "/bin/sh"(which everyone else was going to do). After my assembly code was properly executing shellcode, I was excited to put it in my C code.
For that, I needed opcodes of assembly code in a string. Following again the "show-off-dev" inside me, I wrote a shell script which would extract the exact opcodes out of objdump output. After this I put it in my C code, call my friend and tell him that "hell yeah bro, I did it. Pretty sure sir is gonna give me full marks etc etc etc". I compiled the code and BOOM, IT SEGFAULTS RIGHT IN FRONT OF MY FRIEND. Worst, friend had copied a "/bin/sh" code from shellstorm and already had it working.
Really burned my ego, I sat continuously for 8 hrs in front of my laptop and didn't talk to anyone. I was continuously debugging the code for 8 hrs. Just a few minutes ago, I noticed that the shellcode which I'm actually putting in my C code is actually 2 bytes shorter than actual code length. WHAT THE F. I ran objdump manually and copied the opcodes one by one into the string (like a noob) and VOILA ! IT WORKED !!!
TURNS OUT I DIDN'T CUT THE LAST COLUMN OF OPCODES IN MY SHELL SCRIPT. I FIXED THAT AND IT WORKED !!
THE SINGLE SHITTY NUMBER MADE ME STRUGGLE 8 HRS OF MY LIFE !! SMH
Lessons learnt :
1)Never have such an ego that makes you think you're perfect, cuz you're retarded not perfect
2)Examine your scripts properly before using them
3)Never, I repeat NEVER!! brag about your code before compiling and testing it.
That's it!
If you've read this long story, you might as well press the "++" button.6 -
I didn't..
A jack of all trades is a master of none, but oftentimes better than a master of one.
I pick up whatever is required by my projects, but I do prefer backend & scripting to graphic fuckery.. // pixel left, pixel up...blah, not for me..3 -
A. Java at work and on my android app
B. Python for machine learning
C. Shell scripting for work and personal projects
I am writing echo in python and import in bash. My brain is like a soup now.3 -
When I wrote a script to automate my commits to SVN... And then used that script to commit itself.... Pure bliss :)4
-
Co-workers: "But we have always written our scripts in Perl"
Me: "Nope not a good reason to keep using it."12 -
Am I the only one who thinks that with all the scripting languages starting programming becomes to easy and so learning really good programming is getting nearly impossible because every tutorial is made for total n00bs and every forum is full of: hey my hello world programs isn't working?
Ps:I have no problem with people starting programming with languages like c# and python, I think just there are too many people saying that they are programmers just because they wrote hello world.
Pps: sry 4 my English.4 -
First (working) attempts at writing a proxy that rewrites live requests from the devrant app, right now it only rewrites all notifications to be unread
Though the first attempt that finally works is built with mitmproxy and it's add-on scripting, plan is to get that stuff work with e.g. goproxy instead37 -
Powershell should die.
I have a simple bash script I made that allows me to download almost any video from the internet. Works great and took me only a few minutes to make.
The only issue is it bash meaning Windows doesn't run it natively. I am not able to install linux Subsystem or bash, etc on the server.
So I decided to rewrite it in powershell thinking it should be Okay and I have never struggled with so much retardedness in my life. After 40+ tabs in chrome and a massive headache, it finally works.
Microsoft should kill powershell entirely and rethink their scripting language.
Also VBA should have died 10 years ago.16 -
Many of you who have a Windows computer may be familiar with robocopy, xcopy, or move.
These functions? Programs? Whatever they may be, were interesting to me because they were the first things that got me really into batch scripting in the first place.
What was really interesting to me was how I could run multiples of these scripts at a time.
<storytime>
It was warm Spring day in the year of 2007, and my Science teacher at the time needed a way to get files from the school computer to the hard-drive faster. The amount of time that the computer was suggesting was 2 hours. Far too long for her. I told her I’d build her something that could work faster than that. And so started the program would take up more of my time than the AI I had created back in 2009.
</storytime>
This program would scan the entirety of the computer's file system, and create an xcopy batch file for each of these directories. After parsing these files, it would then run all the batch files at once. Multithreading as it were? Looking back on it, the throughput probably wasn't any better than the default copying program windows already had, but the amount of time that it took was less. Instead of 2 hours to finish the task it took 45 minutes. My thought for justifying this program was that; instead of giving one man to do paperwork split the paperwork among many men. So, while a large file is being copied, many smaller files could be copied during that time.
After that day I really couldn't keep my hands off this program. As my knowledge of programming increased, so did my likelihood of editing a piece of the code in this program.
The surmountable amount of updates that this program has gone through is amazing. At version 6.25 it now sits as a standalone batch file. It used to consist of 6 files and however many xcopy batch files that it created for the file migration, now it's just 1 file and dirt simple to run, (well front-end, anyways, the back-end is a masterpiece of weirdness, honestly) it automates adding all the necessary directories and files. Oh, and the name is Latin for Imitate, figured it's a reasonable name for a copying program.
I was 14, so my creativity lacked in the naming department >_<1 -
So building a game engine and everything's internal name is wood/axe/lumberjack themed...
Started work on the scripting language and gave it the code name faggot script... Took me 48 hours to realise I should probably change that...6 -
Wasn't given a chance to test out of a scripting(bash, python, perl) class for my Bachelor's program. To "rebel" I finished all the assignments during this first week of the semester and have a perfect 100% in every one.
At least the assignments were fun.
Take that <school name redacted>!1 -
They laugh at me when I'm still using windows batch scripts.
I ask them how to check the cpu architecture within a batch, to check whether administrator rights are present and if not, enabling the default windows admin and create another admin over the default admin. I ask them how they'd set a registry key within a batch...
They don't have any idea...3 -
We have RGB shit in computers...
We have dev ducks...
We need programmable RGB dev ducks that can change their color with a scripting interface.
If you choose to make your duck's color correspond to the compiler warning and errors displayed this can be done. Also, maybe have it plays sounds too.8 -
Don't we all just love that guy, that loudly talks about Linux and is almost zealous about it but when questioned about simply stuff, like basic *nix commands and shell scripting, looks like he just arrived from space... :D4
-
A well written script is a lot like a spell.
You invoke it and well stuff( magic to few 😋 ) happens.
The resemblance is uncanny!
Well, off to the Wizarding world of IT Devops then.2 -
I've always been critical of python as a development language because of it's efficiency issues and the fact that it's essentially pseudocode. However, today I had to reflect 200 coordinated over the line x=355 for a course lab and I hella didn't feel like doing it in my normal languages. Wrote it using python in less than 2 minutes. It might be a bad language for efficiency, but it's one hell of a scripting language. Sorry, python. I never fully appreciated you until now.15
-
Scripting and automation is my passion.
So....I would say laziness got me hooked into this world. :-D2 -
The JavaScript everywhere trend.
Sure it's possible and the language develops at a fast pace since ES6 but JS like any other language just is not suited for everything. I think JS will stay in server side automation and as scripting language for customisation but not how it is abused now in electron or even node.js.
There will be better solutions if they are not already there.10 -
When my boss acknowledged my effort in creating an in house scripting language. Makes me feel really really proud! 😁9
-
- finish compiler
- get into gamedev
- learn Android dev
- finish framework (or at least make reasonable progress)
- create scripting language
We'll see what else comes to my mind during the year5 -
I tried out Perl this year, really loved it. No one wanted to do a project with me in Perl though, so I moved on. Now I am doing my projects in javascript. I can't help but think that there is something very wrong with me for liking just the languages everyone hates with a passion. 🙃3
-
I can’t believe that Python takes the 3rd place of the most commonly used languages in 2023.
Stack Overflow Developer Survey:
https://survey.stackoverflow.co/202...
Wtf?! I would have thought that it’s just used for small scripts occasionally that don’t change frequently and just rot in some project for years.
And of course there are some niche Data Science and Math areas where Python is used primarily.
Maybe Machine Learning and "AI" as well.
But 3rd place? Almost 50% of devs use Python?
Can someone explain?23 -
ArmA 3, a great sandbox that I "wasted" a lot time scripting modding or, if you like to call it that: developing for.
A game so great, the Multiplayer-server-browser stores the amount of players on a server in an 8 bit integer.
Someone complaint a few years ago.
Response: " be happy, it were 4 bits not to long ago"
There were Servers who ran into that problem.
To clarify, that only affected the shown number, not the amount of players, at least not directly.
Who likes to be lonely in a multiplayer game.1 -
------------Weeklyrant-------------------------------------
So I bought a smart watch to go with my Samsung Galaxy back when I was 12, and upon inspecting the watchface maker app I came across lua scripting files. This amazed me. Animations, complex math, hexadecimal color system, variables, sensors...
I spent about four months
learning/experimenting with lua until I discovered arduino and C++.
I am now 14 and have been fascinated with robotics and learned java and dos since.2 -
TL;DR:
What do you think about visual scripting.
Pretty much anyone here knows Scratch. And most devs make fun of it (while most also know it's a real programming environment), yet what do you guys think about BLUEPRINTS or Visual Scripting?
Starting to learn Unreal, I have two choices. C++ or Blueprints. While some argue that Blueprints can't achieve and replace C++ in Unreal, I saw others ignoring the fact and making awesome stuff you didn't think was possible. I saw how powerful even this node-based programming environment is and started learning it. What do you think?
(Image from Masterclass, not by me)7 -
So building a game engine/framework/thing/thang and was working on a scripting language designed for the Dev terminals commands/applications...
Then I also have to design a language for the asset scripts, instances (probably going to do JSON) and it only took me about 4 months of planning to realise I could just use the same language for everything and just double down on the one.
Well aren't I a fucking dickhead .-.4 -
Oh my fucking god which idiot decided to use JS as a scripting language for Minecraft Forge core mods
Literally what the fuck3 -
Been using linux for 10 months now and finally figured how to write looping statements in terminal itself instead of writing a script for that .. Life just became simpler..3
-
I hate web dev because I know enough to know how it "should" be done, know that it's not done that way, but also don't know enough to do it that way quickly.
Or why I spent the last 2 days scripting deployment of a website that costs 9$ a year to run, when I couldn't find a deployment script anywhere else.3 -
Been trying to learn code for almost two years now, started with C++, took a break because I couldn't figure out what to do with the knowledge, started Python 'cause I thought I'd be inspired by scripting and automating stuff, same thing happened, switched to java, same problem, aaaaaand I'm back to C++ and still can't figure out what the fuck I can do, I don't code anything and I'm tired of following tutorial in the hope of getting something interesting done
Long rant I know but fuck I'm so depressed about that...8 -
Yay! My first bash project :D
disclaimer - my bash is not pretty. yet.
Why I created it?
I encountered several footlong scripts in a new project at work. And they had no logging. And I am in charge of making it sing again. So here it is a tiny logging framework.1 -
No better feeling than being able to debug something with your own scripting language... Kind of makes you feel like a god!
Even better when you debug your own scripts with it :-D2 -
Why WordPress is not very good:
I wrote a quick 230 line python script that uses the power of urllib, ebooklib and 12 regular expressions that would make any italian proud to download webnovels from virlyce.com and turn them into .epub files for me.
The chapters are all individual WordPress pages, and after sequentially downloading only 202 of them I got an internal server error.
Why, WordPress?
Of course, I saw this coming and put mitmproxy to good use caching everything, so even though my python script with terrible error handling crashed I don't have to do it all again (yay)4 -
!rant
Question for all the people who know bash around here. Is there a standard for bash scripting? Kinda how like PHP has the PSR standard. I've downloaded a couple of pdfs from various sites but none have been an actual standard.4 -
What if we were in an alternate universe where Java was a scripting language and therefore was the same as JavaScript, and all non-programmers thought they were different.2
-
Big win today. Set up a custom motion capture pipeline for Unity using my Vive/controllers today. Quote a bit of scripting but I went from nothing to complete animation reel for our character model in a single day.
Successful day for once. I can sleep well tonight.2 -
I had to use XSS (cross site scripting) and tag injection to change one tiny CSS property on a bug tracker site where I have no actual file access and can only add custom footer text. Why not just give me file access, or at least some way to customise the CSS, you stupid thing!2
-
I had to implement an internal tool in C++ which parses a file and converts the content into another format.
It did take hundreds of lines of code to get it working, file handling and parsing data in C/C++ is terrible.
I'd rather done it with some scripting language, and additionally implemented it in python as a side-project (in less than an hour and < 20 lines of code, BTW) but it should be C++ "Because that is how we do it here".
At the end the tool was only used for a few weeks, because someone had an idea how to completely avoid the need for that converted data.3 -
CMAKE, YOU PILE OF SCRIPTING SHIT!
WHY THE FUCK CAN I NOT CHANGE MY BUILD DIRECTORY? I HAVE WASTED AN HOUR ON THIS UNBEARABLE SHITWEASEL OF AN EXCUSE FOR A BUILD SYSTEM!!!!
STOP SHITTING YOUR STUPID CACHE FILES INTO MY SOURCE FOLDER!!! AAAAAHHH!11 -
I've been using C, C++ and Python for 10+ years and suddenly I moved to a new job where I had to learn and use JavaScript.
I think that it is different, as many say, but it is full of lacks and it's like a pile of hacks to make things work. It's a scripting language used as a programming language. What do you think about it?14 -
There was this project where a bunch a scripts had been running for three weeks analysing a bunch of fileshares. The project was in overrun and the analysis wasn't anywhere near done.
I was given complete isolation and a team of people who were instructed to do anything I needed. I had them replicate the data to as many machines as possible and I started scripting the analysis with some sample data. After half a day of collecting laptops, desktops and severs I transfered my scripts to those machines and ran the analysis in 5 hours.
I felt like I saved the project. -
Since this is a community of developers, thought I'd share something I wrote recently on the UX of shell scripting: https://codeburst.io/13-tips-tricks...
Thoughts are welcome!4 -
Was working on my game engines scripting language for the terminal and this is how things went in roughly the space of 30 minutes
"Ok let's get a basic language structure defined..."
*Time passes*
"Ok, so now I have basic structure and concepts of a potential auto translation framework, external library use and just a dash of complicated file structures and use"
And I still haven't written a single line of code except for ignoring whitespace when starting to lex the file to transpiling ;-;2 -
It all starts with a small regex script to automate my coding session. Now I start to automate every shit I used to hate (without notice it).
Where was Python all my life. Where was it when I have to configure my server, run integration tests or benchmark all by myself. The past was really scary 😂5 -
My newest BASH project: reactive BASH
:)
Yes, I do like shell THAT much!
Since today my bhttp lib supports STOMP [still need to work on 1.2 compliance], i.e. I can carry out live communication with MQ. Meaning I can script the whole thing, be it 5 calls 5 reads, be it 20 subscriptions and reacting to unlimited number of messages in either of them with separate actions. WITHOUT A FOREST OF IF-ELSEs OR CASE-ESACs!!!
Boi do I love shell scripting... :D
Next project: AI in BASH3 -
Scripting with Java is like trying to write a haiku and ending up writing The Odyssey- and it takes 20 years to run too.1
-
That feeling when you've been programming, scripting and developing games, software and web pages for nearly a decade and you still feel like a talentless hack that doesn't deserve the wages you are paid, and constantly fear being exposed as a fraud by your peers... :x6
-
It takes so much effort to put a quality video on YouTube.
1. Researching
2. Scripting
3. Recording ( screen record while doing the hands on of the topic, drawing concepts on whiteboard + voice over )
4. Editing
5. Thumbnail
Then upload.3 -
I've been interested in security for years but despite knowing the theory I've always had this disconnect with actually doing it, about two years ago I finally managed to find and exploit my first cross-site scripting vulnerability in my companies Product whilst doing some routine acceptance testing. It was a penny drop moment for me which has led to some very interesting projects and It was pretty badass.
-
Is python a good language for building a RestAPI? Personally I don't have any experience with python yet, but what I've gathered, is that python is great for scripting, and big data.
I have a bit of knowledge about Node.js, and I really like the structure, and it's so easy to make an API using express.js.
I've already read a bunch of articles about it, but I'd like to know what the community feels about the two languages?21 -
- Played with and learned Scratch
- Learned some Python, made some weird little programs
- Learned C, using two good books: K&R C and Zed Shaw's "Learn C the Hard Way" (back when it was still in development and was free to read on the internet)
- Made LOTS of programs in C
- Came back to Python when I wanted to learn network programming
- Learned some Racket/Lisp, Bash scripting along the way
- Now I use all of the above, minus Scratch -
Taught myself assembler at 13 (this was the mid 1980s) and wondered how the hell people could stand to do this. Then I found out there were more abstract languages like BASIC or COBOL. So I taught myself BASIC and MS-DOS batch scripting. Various other languages came later (PROLOG, Pascal, C, Smalltalk, C++, VisualBasic, etc). But it’s never been easy for me because I suck at math and complicated logic structures. Especially not good with OOP. My brain was ruined by learning procedural coding first. It refuses to incorporate OOP.
-
Ugh! So boring writing the same thing over and over! So instead I wrote a ruby script to generate some C# code for me!
Honestly...I just make excuses to do stuff with Ruby 😂3 -
Wrote a bunch of Python scripts that alter an lsf script for software that we use in our lab. So now we have a Python 'library' of sorts that runs the simulation files, changes variables in the files, exports data, analyzes, tabulates, and continues until done.
I've automated potentially weeks of work to happen in minutes. I know this is run of the mill here, but I am fairly proud.1 -
Guys, a company's HR mailed me for a position that requires strong experience of ">3 years in Python with C or C++".
Does it mean Python and C/C++?
Or do they need someone who is using C/C++ to write Python?
I have some experience with adding Python support to C++ code. Does it count? 😁8 -
If you like scripting I can recommended you Perl6.
It may be no as popular as other languages or its predecessor, but its definitely worth a try.
Its also and excellent replacement for Shell-Scripts.2 -
So today I started working on a code base someone else wrote and stubled across this and thought it was worth sharing.
Why somebody would be doing something like this is beyond my understanding.
Not commenting on the empty catch block keep in mind the whole snippet has nothing to do with rest of the code...
WHY!!!!!?!?!?!?!13 -
I'm boutta make a scripting language with classes, trait generics AND two kinds of value types
Call me Mr. Dangerous 😎14 -
!rant
Today I took a look at https://hexo.io/ as a static website generator for github pages.
It seems pretty decent and you can create your content in any of the 'layers' you like. (markdown, jade, scripting or plain html)1 -
we(Friends) discovered this yesterday.
Steps:
1. created a file.js and added a console.
2. renamed the file.js to file.java
3. ran that file.java through node
result: displayed in that image.
Javascript running .java .....seriously?
js how many hidden surprises you have for me. it was even running in .txt, .php etc
Okay let's come to actual point .
I tried to research on this. however, i couldn't find any links related to it.
Well, I tried the same with casperjs and python.It behaved the same.
is this behaviour because it is a scripting language?
Please do share your thoughts on this16 -
Did I ever mention how much I hate reading through perl scripts?
Seriously, I can read through BASH hell anyday, Python's fine, PHP... But out of all of the scripting languages, Perl is just something that makes me want to scratch my eyes out.
It doesn't help it used to be the sysadmin's language of choice in the past.
Perl just hurts my brain.5 -
- scripting some unix helpu script
- searching google and stackoverflow for simple solutions:
"Just use 'sed --akeib )-£?"/'/#'. Can't you read man pages ffs?"
"Dude, awk is totally the thing you want to use for this kinda thing!"
"Honestly, have you ever heard of perl?"4 -
Probably when I took my first dip into scripting and realized it was possible to inject stupid jokes into any website I knew.1
-
Why isn't the Lua scripting language widely used in the industry? It's flexible, modular and it's packages aren't bad; seems like a great fit.8
-
I've started learning shell scripting to help me write npm scripts for my web dev workflows. I'm actually really enjoying working with the shell.2
-
Oh boy. 2.5k loc of legacy bash code. The task is to give every function its own script since that is literally what this script is. Cha8ned together individual scripts . Fingers crossed its actually just breaking out functions :x
-
I have a pretty successful project on github
Which I don't think is necessarily my best achievement but all the stuff I do at work is not open
I used the project as a way to learn bash scripting and it kinda caught on.
Sadly I'm not a sys admin or anything I'm more of hardware/embedded engineer but it's still cool to have one of my projects being so used. And I got to learn a little of bash along the way 😁 I now feel super comfortable in a terminal and reading man pages to figure things our which was a skill i lacked previously. I definitely learn better by doing and fixing mistakes along the way -
Started working on a per project in Rust (first time using Rust) .. a scripting language.
Rust is great, so fast, compiles in 0.5-1.2seconds on my $200 laptop as well! Pretty rare for safety, speed, AND compile speed to exist in one beautiful language.
Also my scripting language is the opposite of beautiful. Oh God.3 -
how long have you been programming?
(I'm a 14y/o that's been programming/scripting for ~5 years now)27 -
Maybe people have not been around a long time here. But this JS bashing has been going on for half a decade. I honestly don't care about the merits of the language. It does what I need it to for my work. If I need more performance I drop to the C++ anyway. I like a lot of the functionality especially for arrays/lists. I love the ... operator for dynamic lists. It is very useful in the my GUI work. As a scripting language it is pretty nice.
But know this, the bashings will continue until morale improves...12 -
Mhhh. CMake scripting. Always fun. I can barely describe how enfuriating it is dealing with this. Literally shaking.2
-
My mom was a data analyst in the Army when I was a kid. At around 10 I remember her teaching me batch scripting. Just seeing code and working with the machine was amazing to me and since then I've tried to learn all I could.
I spent a long time not doing this kind of work and finally in the last few years decided to follow that passion. So for me 20 years of my own private passion has turned into a skilled and profitable career I wasn't expecting.3 -
That moment when your code works and the results are flooding in. But still waiting for something to fail
-
I would really love a type-safe python - quickly write a script with all the IDE-coddling that a type system can bring, and run/debug it with no compilation.
I'm a big typescript fan but the compile step and all the issues of the node ecosystem are a pain.
Really wanna play with F#'s scripting capabilities but not yet supported on dot net core.
MyPy is somewhat promising but it's slow and not the most ergonomic, library support is still lagging behind, and it's not expressive as a proper type system.
For all the languages we are blessed with these days, it's an odd void.6 -
My Gripe With Implicit Returns
In my experience I've found that wherever possible code should be WYSIWYG in terms of the effects per statement. Intent and the effects thereof should always be explicit per statement, not implicit, otherwise effects not intended will eventually slip in, and be missed.
It's hard to catch, and fix the effects of a statement intent where the statement in question is *implicit* because the effect is a *byproduct* of another statement.
Worse still, this sort of design encourages 'pyramid coding recursion hell', where some users will first decompose their program into respective scopes, and then return and compose them..atomically as possible, meaning execution flow becomes distorted, run time state becomes dependent not on obvious plain-at-sight code, but on the run time state itself. This I've found is a symptom of people who have spent too much time with LISP or other eye-stabbingly fucky abominations. Finally implicit returns encourage a form of thinking where programmers attempt to write code that 'just works' without thinking about how it *looks* or reads. The problem with opaque-programming is that while it may or may not be effortless, much more time is spent in reading, debugging, understanding, and maintaining code than is spent writing it--which is obviously problematic if we have a bunch of invisible returns everywhere, which requires new developers reading it to stop each and every time to decide whether to mentally 'insert' a return statement.
This really isn't a rant, as much as an old bitter gripe from the guy that got stuck with the job of debugging. And admittedly I've admired lisp from afar, but I didn't want to catch the "everything is functional, DOWN WITH THE STATE" fever, I'm no radical.
Just god damn, think of the future programmer who may have to read your code eventually.2 -
Why the fuck can't ls have the size listings like Windows' DIR command?
Why can't there be a simple command scripting solution, like BATCH, without it being as potentially complicated as SH to set up?
Goddammit, even though Windows sucks dick, they did do some things better...20 -
Bought a new toy drone to play with at home, Ryze Yello. It boasts an Open SDK on the box and claims to be programmable. Awesome, I think, I end up buying and going home to get to work.
All is great using the app, I can fly the drone and the video feed is mostly usable. Now let's get in to the SDK and see what we have.
Docs say I've got a few basic commands, 8 directional flips, 6 directions of movement, rotate, takeoff, and land. Plus a config option to set the speed. After a bit of tinkering I discovered that only 3 commands actually work: takeoff, flip, land. The rest error out with no (currently) useful message.
A bit more searching online tells me that they borked the commands with a recent firmware update and are working on it as of 3 months ago.
I wish I knew more about firmware or deconstructing the wifi packets from the app so I could try to do something useful.
So many stupid things I wanted to do with an automated drone and I'm stuck waiting for them to fix their firmware to put functionality back into the device.7 -
A friend suggested that I'd start learning a scriptable language like Ruby, Python or JavaScript instead of beginning with HTML and CSS, until I feel comfortable with programming.
I want to be a web developer and Ive learned some HTML.
So, any opinions?9 -
From long Using Visual Studio Code for Programming.
Why i love
supports Typescript
supports java
Lighter
plugins available like linter, git lense
Best for small web app projects.
And Favourite IDE, intellij Idea
Why ?
For writing java i use as
it can easily generate getter setters
constructor
importing
and build process.
best for java.
last but not the least
Nano
why ?
because most of the devops configuration, requires to be done via terminal only and i often use nano.
it is good for shell scripting,
editing configurations
that is all....2 -
Why people uses Python for OS scripting? What’s the point in forcing me to download a proper interpreter to run a script when the same result can be achieved with a more portable and cleaner Bash/PowerShell script?!?!24
-
I get really bored doing the same work again and again. I found that with programming/scripting I can automate boring stuff.
So now I spend twice the time doing a program to automate things. XD3 -
shutdown an old Jenkins CI pipeline from one of our teams... after one month they call us to bring it online again because they don't know how to build it manually.... lol #automation #scripting #jenkins2
-
Got anymore runtime exception handlers with that?
When a paid service that promises a million connection types can't even do an initial sync 🤦♂️. Back to bash scripting it is... -
After opening game files for Ragnarok Online and saw the quest files are human readable (lua or other scripting language). Had some Flash workshops to confirm my interest.
Later in college, I make games for every lecture projects (with my friends). Now our game studio is 7 years old.2 -
I was browsing the jobs secion on SO, and came across a position looking for a 'Python Software Engineer.' WHAAAAA? PYTHON IS A FUCKING SCRIPTING LANGUAGE! SINCE WHEN IS IT SUITABLE FOR SOFTWARE ENGINEERING?23
-
Having a crack at switching from vim to emacs, my understanding of the major differences are as follows
* departure from modal editing
* emacs provides a more comprehensive environment
* More powerful scripting capability,
* my pinky will complain,
* I might just about to enter a new church
Any advice for a newb? Hoping there's a few of you out there15 -
First day of job. Im doing jack shit. They just make me watch udemy courses of Azure and linux shell and bash scripting all for devops purposes so they can pay a microsoft certificate for me to pass and get certified and they pay for udemy courses. Im basically getting paid to watch courses on the job10
-
I wasted fucking hours just trying to find out why curl doesn't send the data I've interpolated from a variable.
It doesn't even send the fucking hardcoded part of the data. I've compared it with a curl command generated by firefox, which works fine. Literally the only difference is that I interpolate a variable and I've echoed the contents of that variable and that was fine as well. I've even checked the interpolated string and it was fine.
And then I moved more stuff into the hardcoded part and it just started to work.
Wtf is this bullshit. I really feel like learning intermediate bash scripting is just a waste of time, just how complicated can you make debugging something so simple.
Every fucking time I give bash scripting a chance this shit costs me so much time, patience and motivation, I really wanna prefer that shit to python, because managing python dependencies for a script sucks ass^2,, but at least I can get shit done in Python. Just fucking end me or give me a language that doesn't make me wanna shoot myself5 -
Going back to my guilty pleasure and working on my Cosmos based operating system, going to take the shit task of building a scripting language and building some custom libraries to allow people to develop applications, system utilities and even custom shells and graphics managers!
Wish me luck!2 -
Fucking project lead!!! I was told to make a configuration script i have no experience in scripting yet he expects me to deliver it the following day!!!3
-
This rant can basically be boiled down to the name of the software in use/question:
FileMaker Pro 8.5
Please chime in if you have ever had the privelege of working with this gem of a database program, especially the scripting capabilities...
Trying to make it print/save/export an individual PDF file into a folder specified/created by one field with the filename set from another field. Will probably get it to work but the drag and drop scripting style reminds me of setting up an autoclicker for runescape; so fricken painful. Love to hear your comments.
Also happens to be running on an ancient PPC G5 iMac with 1 Gig of RAM running 10.4.11 hidden in the back room of an old warehouse with extra creepy flickering lights...
EFFF EMMM ELLL
So yeah thats my rainy Friday rant, hope you all are having this much fun.5 -
What book/video/resource do you know that explains complex stuff in a simple and fun way?
I recently found "Carfting Interpreters" by Bob Nystrom. It explains how to create a new scripting langauge from scratch, It teaches you a lot about interpreters and compilers and virtual machines. And it's free!
http://craftinginterpreters.com//1 -
Final year of my diploma in Information Tech, I overhear a coursemate, well-known know-it-all, explaining what Javascript is:
"It's somewhat like Java but it's used for scripting purposes."
I swear to the Lord Almighty, I wish I could drive my palm through my face.1 -
What could possibly be wrong with me if I had to look at almost every single answer of the Basic Algorithm Scripting exercises on FreeCodeCamp? I spend days tying to solve some of them and just couldn’t. Had to look at the answers. Then I try few days after and maybe remember half of the answer. How can I change this?3
-
Why have I never touched bash scripting before?!
Using it to create an easier .NET Core build command thing for myself because I really don't like the default command syntax, been using it for 5 minutes and already in love with it...1 -
## Scripting myself out of the company
who needs an expensive profiler, when you can make thread dumps and compile them into a flamegraph for free without any risk of outages!
Though what bothers me is that I'm yet to come across a person in this company who knows how to read them (besides me)...
Are flamegraphs really THAT unpopular?
I mean.. you can represent the whole profile in a single image!9 -
Can gamedevelopers stop using lua as their freaking scripting language..
Every time I try and figure out how tables work and think I finally get it it throws a big fuck you curve ball.
Oh and then they use json file to store the data of a table except that those json interfaces are complete retards.
If you are going to support json files then why the fuck won't you put in a small fucking inconsecential JS interperter so you can actually find some docs regarding more complex fucking docs then those simple minded t[guildName] = "guild"
Another thing, why the fuck does lua not use {} like every other langauge. I use those curly brackets to figure out where shit start and ends half the freaking time.
Fuck this I'm out for today...
And a big fuck you with both middle fingers to any dev that thinks lua is a great scripting language for plugins.3 -
Still using a database from 90' - Enea Polyhedra:
- no decent visual sql client
- utterly limited scripting language
- weird communications protocol
- no redundancy beyond master-replica
- no encryption of communication protocols
- etc. -
What technology/concept/programming language did you learn that made you feel way way more brilliant?
Me: Shell scripting, feel like god 😌18 -
Finally. Fuck the exams (eventhough they went quite well). At last I can start work on my scripting language14
-
I decided to try shell scripting by making myself a nice configurable menu using dmenu that I can add commands to and that isn't cluttered with desktop entries. Worked suprisingly well tbh4
-
- Understand programming and how the software work... then choose whatever programming language to build it, it is just Scripting after all.
-
What would be the easiest starting point on low level languages?
I started with java, learned to hate it.
I continued with web development, learned to hate it.
Continued with PHP, learned to hate it.
Continued with scripting languages like Python, NodeJS, etc.., hated it from the beginning but it was easy.
But everytime i touch something like c/c++/rust/etc i immeadiatly give up, because the syntax is so different than all these other high level languages and so much null/type safety and so on.
But i want to get into low level programming languages which compile to an executable and don't get executed on some "vm".12 -
Anyone here have any experience with PHP? I've never really used it myself and don't really want to, but I do look at things like http://phpsadness.com/ from time to time.
These complaints range from "fairly minor" (some stuff like function names/args and some syntsx complaints) to "how is this language even used" (segfaults in a scripting language, broken things like "create_function", comparisons and ternanry operator).
Of course, i don't program in PHP so i don't know how bad any of this actually is.
Anyone actually use PHP or did use it previously?19 -
Dev: Now that I finally know PHP and JS it must be really easy to find a good framework and use to build my beautiful website.
The options are limited: AngularJS, ReactJS, Ember, ActivateJS, BackboneJS, ExpressJS, Laravel, RactiveJS, Node.JS, Meteor, Knockout, Symphony, Codeignitor
And yes, you thought if you don't like AngularJS you can easily switch to ReactJS. But guess what, every framework will use their own scripting languages like Jade, Blade, Typescript making it learning something new extremely smooth.
The documentation will be part of another rant3 -
I don't know what to do because union and sum types both totally suck but I need them for my scripting language
Union types are fun and intuitive because they can be used with type refinement but they're not hierarchical thus bad for generics.
Sum types (or tagged unions) are great because they're hierarchical and can be nested properly but they need ugly type matching constructs.
The positive thing is I'm not making a systems language anymore so I only wanna jump of a bridge every second day5 -
Due to sad circumstances at my current company, I had to work with bash scripting exclusively.
At least I found joy even in this situation and now I'm satisfied with my bash TDD practices...
¯\_(ツ)_/¯ -
Been meaning to rant about this for awhile. Currently in college and in this class we have to write BASH scripts which isn't ever that hard. Except for the fact that everything is checked against a pre-written script. FUCK I just wrote a complex script that does work but because it's not EXACT its coming back failed even tho it prints everything correct and works.
So now instead of fixing the script I'm back on DevRant wasting more time.1 -
1. I like making stuff that I can use again and again later.
2. I can't draw for shit, so it's a way to be creative.
3. Automating/scripting things is a general passion. -
Everything that works on your machine, will most likely fail at scale.
Ensure that you have the right toolset. Learn more than just scripting.
Learn databases1 -
My Linkedin feed is bombarded with .NET and C++ jobs.
I don't like C# and don't know C++.
I understand the demand for C++ but not .NET.
Every time I use C# or Powershell I feel weird and handicapped by Microstuff's prison.
Java, Python,Node.js and bash scripting feel so much better. Why there is such a demand for .NET devs?7 -
Couldn't be arsed with all the conditional compilation that angelscript required, so I dumped right back to good ol' lua for now.
Got lua in, vm started, loading strings and pushing/popping the stack.
Got SDL actually drawing as intended.
I don't know even half of what I'm doing.
Apparently header files that end in ".hpp" are specific to c++, while .h are for c headers.
I like the new SDL2 though, little bit different than SDL1. Not a lot of tutorials cover the difference, but I could kinda suss out from the documentation where I needed to adapt, even though I'm still pretty loose on the library, on the docs, and on c++ itself.
Still just a learning project.
Also, I'm continually surprised there isn't a portable, platform independent tool or little language just for replacing all pseudo-languages out there like .bat and .sh, and .zsh
Maybe even just a tool that standardizes it all, then takes config files that map the new standard to system dependant commands, so you can download the damn thing, configure the relevant environment variables, drop in the platform dependent configuration (or your browser or package tool detects what platform you are on and chooses the relevant package/download for your platform), write a console script and the tool automatically translates, and emits the system-relevant commands to that platform's console (so you don't even need much platform-specific code to do things like file access). -
As a novice programmer, learning about the logging package in Python and how to utilize it is really exciting to me. It's basically what I've been working with recently (besides the script for macOS that won't fucking work).
-
Need some dev feedback here, went to twitter and got nothing and thought here is probably the best place...
I'm working on a dev terminal for my game engine and I'm building a basic app development for it (CLI and CLGUI) but not sure if I should allow for full RGB via Hex or should I just stick with the standard CGA 16 colour pallet...
And I'm thinking of building a basic scripting language that will transpile into an obfuscated JSON structure (Mostly because I have a lot of experience at building systems that use JSON as a scripting language) but just want to know if anyone could recommend things to try2 -
My Dad wakes up at 4AM catches me in front of my Pentium 4 PC writing a scripting text editor and yells at me to shut down that crappy machine and go to sleep. 10 years ago🙄
-
I haven't. Yet.
I started taking programming seriously when I got to 9th grade. 3 years isn't enough time. Probably enough to be able to put out okay-ish code in a scripting language, but not good code.3 -
Let's discover some Python stuffs tonight !
I think it's one of the best scripting language to automate easily boring tasks, am I right ? -
Is there anyone who has ever used frappe/erpnext?
It drives me nuts, as much as I like the framework doing any thing that needs some basic scripting is a pain!
I MEAN, COME ON MAN, WHY ARE DOCS SO HARD TO COME BY? WHY DOES YOUR "CUSTOM SCRIPT" EDITOR LACK BAISIC LINE NUMBERS? WHY ARE YOUR ERROR MESSAGES TELLING ME EVERYTHING BUT THE LINE THE ERROR'S ON, SO I'LL BE HOPEFULL THE ERROR IS IN THE DEV CONSOLE? WHY NOT USE MONACO, SOMETHING, ANYTHING THAT WILL SHOW SYNTAX ERRORS? I'VE WAISTED HOURS ON LITTLE AUTOMATION SCRIPTS!!!! WHY WHY WHY WHY????1 -
In searching for 2 days now if python is a scripting language or programming language, it seems to be a Neverending discussion...9
-
Looking to sharpen and pursue a SysAdmin/DevOps career, looking at online job offers to get the big picture of required skills and I say FUCK. It would take me a lifetime.
Azure, AWS, Google cloud platform.
CD tools: Ansible, Chef or Puppet
Scripting ninja with Python/Node and Shell/Power shell.
Linux & Windows administration
Mongo, MySQL and their relatives.
Networking, troubleshooting failure in disturbed systems
Familiarity with different stacks. Fuck. (Apache, nginx, etc..)
Monitoring infrastructure ( nagios, datadog .. )
CI tools: jenkins, maven, etc..
DB versioning: liquibase, flyway etc.
FUCK FUCK FUCK.
Are they looking for Voltron? FUCK YOU FROM THE DEEPEST LEVEL OF MY DEEP FUCK.1 -
Opinion | What kind software project could be submitted to college as a supplement ... Like a scripting language build from scratch?4
-
Again new language!!
This time scripting language...php and start learning today and finds interesting.
Suggest some best resources?
BTW i m enjoying learning php.yeahhhh✌️5 -
Should I force myself to complete any kind of book/training/education to full?
I realized, I like to learn "new" things but I realized I do not complete material to 100% after I feel like I got to gist of it.
I started Bash Scripting book by Richard Blue but stopped at 20%, started 20 hour matlab training(free), stopped at 40% as well. Now I set my eyes on GoLang but I am sure I will not complete the material also.
Naval Ravikant says he is skipping most of the books and OK with having general idea of the books. But at some point, I feel like I should complete the chosen material, what do I know?5 -
PERL.
So delighted perl has become the Latin of scripting languages. Horrific syntax, library drift and bloat second only to js, inconsistent lint/standards that no one followed anyway...
I'll grant it might have had its day, but delighted those days are now long gone (and even those days held arguably better alternatives available, but I digress).4 -
The worst project I worked on so far was a bash script of over 2000 lines written by two different people who both script differently. I was supposed to understand the script and "fix a few things".
Names of functions were as confusing as possible.
Up to this day I'm still forced to use it.3 -
When ever I look at any programming language, scripting language, or any technology... It seems soo difficult... Knowing this language will increase my value....
After knowing and working with that language for several months... Its like I know nothing... I m useless...
I m fed up of that feeling....
Everything i know is just a superstition...9 -
What fo you think, is it still a good idea to learn fortran in order to learn programming concepts?
I don't know what else would be nice...
I only had experience with shell scripting, which is rather functional.
Other languages i considered were dlang, c#, go and rust.
I have no explict application, which bothers me a lot.3 -
So... My brother got his computer when I was 6 years old... It was a 286 with the new 64mb HD and the screen had 16 gray scale color...
Latter it was given to me when my brother got his 486dx2 and I did a course in ms-dos and batch scripting.
That's it, lots of sfigher, puzzle bubble, Dina blast, wolfeinstein 3D...1 -
I cant really understand all the hate about JavaScript. I learned C as my first language and I have to admit that once you think of js as a kind of C scripting language it all make so much more sense especially when it comes to optimizations which come with syntactic sugar like coffeejs and so on.4
-
I've gone through so many tiling wm this semester and can't figure out what I like best...
i3, bspwm, xmonad, windowchef, herbstuffwm, awesomewm, fvwm, etc.
I love the cleanliness and productivity aspect of them compared to something like Windows and it's floating/snap feature. Awesomewm looks like a good choice but the config scripting is quite verbose.
So many choices! Probably doesn't help I want to keep it consistent across my laptop and 3 monitor setup (1 21:9, 2 16:9).4 -
"hey, write us a simple interface for this shell script.."
script:
- input must be a file, does not accept loading through stdin/redirect
- accepts relative path input from one specific directory only
- fails if provided absolute path
- even though it fails, it still returns return code 0
and every time we've tried to open up a topic of programming practices we got slammed with "we're ops. you should be glad they're doing at least some scripting"5 -
I said and will say again (over and over) Microsoft WTF!
Set-CalendarProcessing -Identity $userUpn -AutomateProcessing AutoAccept -AllowConflicts $false -BookingType 'Standard' -BookingWindowInDays 365 -MaximumDurationInMinutes 1440 -AllowRecurringMeetings $true -EnforceSchedulingHorizon $false -ScheduleOnlyDuringWorkHours $false -ConflictPercentageAllowed 0 -MaximumConflictInstances 0 -ForwardRequestsToDelegates $true -DeleteAttachments $true -DeleteComments $true -RemovePrivateProperty $true -DeleteSubject $true -AddOrganizerToSubject $true -DeleteNonCalendarItems $true -TentativePendingApproval $true-EnableResponseDetails $true -OrganizerInfo $true -AllRequestOutOfPolicy $false -AllBookInPolicy $true -AllRequestInPolicy $true -RemoveOldMeetingMessages $true -AddNewRequestsTentatively $true -ProcessExternalMeetingMessages $false -RemoveForwardedMeetingNotifications $true
ok I "splatted" that command but yet does not look much better :-)
Oh how I miss my dear old VIm and SSH sessions can't wait to go back to where I belong!4 -
I started with a UI automation scripting language AutoIt (back in ~2005, I was 12 years old then). You can call methods like MouseMove etc. You can also copy files, send keystrokes and bunch of other stuff. (https://autoitscript.com/site/...)
Created an executable using that which will have an icon of a folder named 'Games', which, once opened, will copy itself to system32, add registry entries for launching itself on subsequent startups, would replace windows startup sound file by my favourite song, look for attached USB devices and copy itself to those, if found.
Soon, all my friends' PCs were singing my favourite song on boot.1 -
I'm about to graduate and I have no idea what I'm doing. I tried learning the basics and even went through a lot of extra stuff. I can only say I dabbled in scripting, web scraping and a little bit of software development. However when I compare myself to my peers, I feel so out of place. I can't confidently say I know even the concepts I practiced. I am really interested in the field but I feel like I'm way behind and this is constantly nagging me. Is this normal or is there anything I can do about it?3
-
After a big part of the day spending in Angular i decided to do something else. I went studying a bit on how to increase conversion. Partially because this was the main goal of the webdev team in the coming months. The UX designer saw it and told me if he where me he would study more code and scripting.
Like dude. Wtf. Im doing this for 1 in the 8 working hours. Get off my back asshole.1 -
Any one here have a degree in Electrical Engineering or Electronics Engineering? I'm thinking about going back to school, but I'm not sure it's worth the money since I live in the US. (cries in over-expensive education costs)
I do a lot infrastructure work and some super basic programming/scripting but I think I really want to get into hardware maybe zone in on either RF or take a stab at amps/effects pedals for guitar and bass.
as an aside, I'm not trying to go back to school for job or career related reasons, I just want to noodle with stuff and maybe create my own circuitry for stuff.15 -
Got into an argument the other day over the definition of scripting languages.
He said python isn’t because it can be compiled while I said it can be both since you can you can use without compiling. Same could be said for Java when using with Selenium for automation.
Thoughts?5 -
The closest thing to cutting edge was probably the first survey project.
We found something named remote scripting in a sub folder in the visual interdev default site.
It was the precursor to ajax, a few years before ajax was born and we used it to interactively call the backend from the page.
Otherwise I have mostly worked on mature projects where cutting edge is mostly avoided. -
The unix shell syntax is weird looking.
Gonna learn it next. Using Arch without knowing how some scripts work isn't optimal.1 -
I started in Lua in a program called AMS (it made autorun programs but has full scripting support making it pretty powerful) making little software applications.
That evolved into PHP and shortly after JS, HTML and CSS.
After a while i added other languages and it continues to grow today.
The UI aspect has just been something i have always had an eye for. -
My first introductions to programming was in Garry's mod.
There'e a mod called wiremod, which added logic gates, buttons, and other entities that manipulated the game with input/output. And on top of that a little scripting language they called Expression 2.
Me and some friends would code stupid things in Expression all day to use in the game.
I wasn't too good at it, but I had fun. Shortly after I started going to a high school with a computer science focus, and had 2 years of proper education in C#. -
As a Ruby dev I know I've been spoiled. It's so fucking easy to natively manipulate data in a Ruby app.
But seriously...come the fuck on Python...
You mean to tell me that I have to script out the entire logic to dedup an array?! Something that's an inherent part of EVERY project?
Sorry for the rant, but I just cannot fathom why ANYONE would use Python to write a full application. It's great at scripting, but a shit-stain-to-maintain for true app development.
I want to drop-kick the asshole who decided to write this fucker of an app in Python.
Also, fuck Python for taking ~20 years to add a fucking switch statement.19 -
I cant believe i have to know bash scripting as a devops engineer! Like not linux terminal bash commands, the literal bash Fucking language and syntax coding of automated scripts! Why the fuck? Why cant i just code this shit in java or any other normal language? It would do the same fuckin job and much easier to do. Why i have to code .sh files in devops?!15
-
Tomorrow i have to go into the office and work for 8 hours for $0/hour, building a project that includes backend in java, bash scripting, ci/cd and building the whole devops infrastructure and deploying that backend on cloud provider through terraform docker kubernetes, aside from being tested in theory for those 8 hours in-person,
all of this as a form of 1 technical interview after which they will decide if they move forward with me or reject me.
Do you think this is fair?9 -
!rant
Ok so I'm about to start working on an OS but I am going to run through a few tutorials to get the base systems down then I'll incorporate a interpreter for BASIC and my custom scripting language.
Just curious if anyone can point me in the direction of a few well written tutorials that will explain the systems being used. (I want to use Assembly and C only btw, but am open to others)
I only have 1 decent tutorial but it's older and complete (https://github.com/cfenollosa/...)3 -
So I'm currently learning Java and HTML5 at a technical high school.
Buuuut that's boring and I wanna learn more.
What's the easiest programming / scripting language to teach myself first? And where could I find stuff to learn it? :))10 -
Finite State Machines are awesome! Resume from reboots and automation is possible even on older Powershell versions without Workflow support. Setting state and transitions resuming where it left off is huge for getting PC's set up. Unfortunately can reimage due to no vl reimaging rights but scripting is totally possible...and with it creating it's own scheduled task to run on startup it does what it needs, then reboots resumes and deletes the task when done.1
-
Have to use this custom script language from ABB. I have hever felt this amount of pain in life. Virtually impossible to predict the result, and two compiled versions of the same code might behave different from the other. Please shoot me😖 Sorry, felt I needed to went my frustration. ☺️4
-
Dumb question time!
I'm writing a bash script that outputs some progress info to stdout (stuff like "Doing this... ok", "Doing that... ok") before outputing a list of names (to stdout too).
I'd like to be able to pipe this list of names to a second script for processing, by doing a simple :
~$ script1 | script2
Unfortunately, as you may have guessed, the progress info is piped as well, and is not displayed on the screen.
Is it considered a bad practice to redirect that progress info to stderr so it is not sent into the pipe ?
Is there any "design pattern" for this kind of usecase, where you want to be able to choose what to display and what to pipe to a program that accepts input from stdin ?16 -
So, I have a pretty decent understanding of big complete languages like Java, I build android applications following several design patterns, solid principles, building big stuff with databases and servers and libraries interconnected with gradle, tracking everything with git, using tdd and functional programming capabilities blablabla ... And I still have trouble making sense of a FREAKING STUPID SHELL SCRIPT I MEAN WHO CAME UP WITH THAT SINTAX I HATE IT SO MUCH OMG I CAN'T EVEN
But for real everytime I need to read a '.sh' I literally wanna throw my computer away and die. Am I alone? -
You know what would be nice? The Devrant desktop client having the same functionality as the mobile client, like for example 'mute notifs for this rant'. If someone could JS that, that would be cool.2
-
When I built a scripting language for game bootup and shutdown to load and free needed files and memory but used the language to debug a completely seperate program.
Got me excited that I was able to use my code for complete opposites of tasks -
A friend introduced me to mIRC and told me it's a good place to meet girls. I however ended up meeting people who showed me nice things you can do with HTML.
From that I learnt other stuff such as mIRC scripting, Flash action script, etc... -
Trying to build a scripting language but realized that it can't even differentiate identifiers and number literals.
-
Opinion | According to you, how impressive is it for a high schooler to submit a "general purpose scripting language that supports Object Orientation, closures, higher-order funcs." as a project for college admission given that the applicant implemented it from scratch and you know that hard work!!! ?9
-
I want to learn a scripting language, and can't decide which one.
Python, Ruby, Lua, something completely different ?
I want to hear your opinions.11 -
The makefile:
'
GOPATH=$(pwd)
clean:
@echo "cleaning :)"
@rm -rf $(GPATH)/bin
'
the "oh crap":
make clean1 -
Hey kids, do you want to know what's cool and hip?
Writing scripts to formalize and encode domain specific procedures related to development and sharing it within the entire team is cool!
Readmes with step-by-step guides are highly overrated.4 -
Hey guys, I need to implement a scripting ability on an app but with a tiny language that we build.
But I have no idea where to start and I got pretty confused after a google search.
Any ideas? -
everybody nags about php inconsistencies, but have you tried excel vba scripting and adressing a1 vs r1c1 notation regarding ranges and names? pure horror.2
-
The definition of programming...
Writing your code in a controlled environment and it works perfectly, then in a real world situation it simply doesn't work.
Spend 2 hours debugging and trying to find the error only to realize you were using your custom scripting language incorrectly in the first place....
Fuck that not infuriating in the slightest :-) -
I wasn’t able to run a bash script right now using ./script.sh as I was getting an error “Command not found.” I tried running it using source command instead of ./ and it worked! What’s going on here?9
-
Hi everyone well we quit gg scripting cause we figured out lua can be converted to cpp for memory searches! we all know lua and know how to convert it to cpp but for the gui
How do i learn java?8 -
Been using something called AppleScript for a side project lately (I use OSX )
It’s a scripting/automation language exclusively for apple products
I’ve been using it to automate some tasks on a website
I need to press a html button as my last task
AppleScript allows u to use some JavaScript to do stuff like this which is cool
I try to select the html button and use “.click()”
Nothing
I select the html button and simulate mouse down and up
Nothing
I use every combination of classmate, id, css selector
Nothing
I look it for the documentation online
It looks like it’s from 2005
Stackoverflow save me please6 -
Im not a thumbnail maker but what does this look like? im using scratch btw lol has a lot of block lag that when u play projects you freeze for a bit , same with blocks , the only thing that kills lag is something better than chromebook or my pc definetly run 3d scratch games on that xD includeing an android emulator so i can go back to scripting!, (what does this look like tho?)22
-
Anyone here who knows ooRexx?
I'm currently attending a course at university where we learn this scripting language and am curious if someone want's to talk a bit about this crappy "human centric" language!!4 -
Shell scripting is one big fucking pain in the ass !
Why the fuck is it so syntax sensetive!!
Cant you even fucking consider a space between a variable and a operator by yourself ?1 -
Rant
So, after a week seminar at my university on "practical introduction to operating systems" and bash scripts all we did till now is 'echo' and 'mv'.... why did I sign Up for this....2 -
why is it that all scripting languages have a disgusting syntax with begin/end/function keywords. anyone knows the reason behind this grammar choices ... i need maah {}3
-
Thanks god bash scripting exists.
Saved my time from running manually a C program with input files to check the output that would take me at least 1H. -
Rexx scripting language as a junior programmer at a financial company. It was used to massage data scraped from multiple data sources. There scripts that were calling other scripts to the tune of 6 and 7 scripts deep. It was a horrible scriptception.
-
The History of The Scriping Lanuages (JavaScript, Python, and especially PHP):
Once upon a time someone found themselves stranded in the middle of the wilderness without nothing to eat or drink. Having watched Bear Grills as a kid, they grabbed a chunk of elephant excrement and started drinking from it, and the poop saved their life. In that moment, under those very specific and dire circumstances, in that very small scale, excrement was an appropriate solution; but that person did not ever drink from poop again.
Alas, upon hearing this tale, people from around the continent got fascinated with this new extraordinary recipe that had the capacity of saving lives! This new treat became viral. Shit juice, shit pie, and even a shitmulated Microsoft 98! Businesses built their foundations with shit, shit factories, individual shit brokers and recruiters! Everyone wanted a piece of this convenient and disruptive delicacy!
But, alas! as that first person knew, these implementations were not much more than mere shit1 -
Finally discovered kind of explaining something that baffled me
https://stackoverflow.com/questions...
It really pisses me off as I've taken block scope for granted as a default thing.
I've got an open question to people in the community who know more than me, do most modern languages , scripting or not have block scope?4 -
Google is like the parent or teacher who is never happy with your work. I've never seen something so unattainable in a world where non-technical clients rely on CMSes, theme templating, server-side page rendering, and external scripting as Google's mobile PageSpeed recommendations. Especially under the Lighthouse audit in Chrome Inspector. Unless I go back to pre-2001 web development methods, and never have external scripting, and make every page have its own CSS file with only critical path CSS for each page, I will never get all the high scores I'm expected to have to rank well for mobile. When and how will Google get called out on this B.S.?9
-
I hate when I have a random pointless idea but don’t know how to implement it. And all the search results are from 2011-2013 and I know for sure there’s been some major changes to the unity engine’s scripting since 2013
Guess it’s time to pick the top 10 most promising results and see what aspects work and which don’t and go from there3 -
Question to the Linux-Users on here.
What scripting languages do you know ?.
I want to build a cli-tool, which will be configurated by code, so I want to chose a language, that is relatively wide spread, or easy to learn.12 -
Am a Computer Science student. And learned C, C++ and Java. And right now learning C# through online tutorials and practicing side by side.
So my question is, should I learn bash shell or not? Is it worth learning it? Or should I learn powershell scripting? Or should I don't learn either of them.6 -
Hiya haters and non haters =) what has been going on while i was away?! that last rant about scripting was cringe all i should have said was andlua.
Hi everyone im back and now on return statements on JS on code cademy easy!
i know how to make classes, and more
i also started learning Ruby, python, and thinking about java1 -
I like Firefox a lot.
But it isn't very nice with WPAs, an area of my interest, and downloads PDFs instead of showing them...
Plus I have seen Vivaldi is pretty good for quite some things, like tabs groups and tabs hibernation, has notes, a cool calendar...
But Chrome's console...
It's the only reason I stay with Firefox. (I not only use it at work, but I also use the command line as a pocket JS engine for little scripting and parsing.)
If only I could get selection bracket wrapping and a multiline editor... is it that hard?4 -
I've only recently started learning how to use the command line for more than changing directories. Is there an equivalent of MDN for shell scripting? Is there Idiot's Guide to Shell Scripting (also works for me)?
-
Help is welcome - I don't get it x.x
Just started scripting and can't find it on google:
Got a little whitelist with urls in it and a huge list with urls in it.
whitelist format:
foobar.com
barfoo.au
format huge list:
blabla=/foobar.com/wo.op
blabla=/barfoo.au/wo.op
blabla=/barfoo.crazy.au/wo.op
blabla/barfoo.crazy/wo.op
should stay in the file.
Now I want to delete the entries of the whitelist from huge list.
I have no clue how I can get the
foobar.com
into
sed -i '/foobar\.com/d' $file
to make it work in my script x.x5 -
Colleague is programming/scripting for over 5 years now (that I know of), even attended Udacity programming nano-degree.
Yet, he still writes code/scripts without a single function. How the hell can we start any programming best practices, clean code, or making steps towards TDD with this sort of mentality.
And it's not just him, it feels like a death by thousands cuts as the small things add up. I know we're Ops and not Devs and some other colleagues are trying really hard to get their work on the next level but I see no hope for the team as the whole.4 -
Making board games in VB 6.0 with control arrays. Ah... The good old days... Control arrays were my answer to everything back then... 😎
Oooh and there was also the time I discovered the AutoIt scripting language and made MadLibs scripts that prompted for each part of speech and then typed the final result into Notepad. 😀
🤔 Or maybe if I go back even earlier... that time I discovered autoexec.bat and the escape codes for box drawing characters to make sweet startup screens for my Windows 95 install. 🤓 -
Do we really need languages like Java and C++ throughout the full stack of a web app? I feel that a properly used scripting language alongside a compiled language (for a REST API) can almost always do the trick for highly loaded apps.3
-
I've spent probably 2-3 hours working on this MAC Address lookup script.
Only 100 lines and I think it's decently documented.
https://repl.it/@RiderExMachina/...
Of course, I made a really quick version in Batch within 5 minutes that works decently well, but I'm more proud of this version... -
Oh yeah! I am a struggling coder. I have a dream. I want to be a coder what if I am a software tester now. I will create my own softwares. The day I get my concepts right, you will see me scripting your story!2
-
Say what you will about javascript... but if it weren't for javascript, I wouldn't have all my money and upgrades safe with xena.defender.
-
The disappointment when you find an awesome new framework, only to learn that it uses a custom made variant of Python for logic scripting...
-
I started to learn by scripting my daily processes and tedious tasks while I was a project manager in construction. Then realized construction was slowly killing me, so I quit, got serious about learning web development (through various online sources), landed a paid internship, and went from there.
-
I pass the day writing a script to encapsulate the migration of the old csproj to the new format. But, when the open source app returns an error of migrating the script continue. I check the return code and when it's an error, it's return 0.
After many tries, I return to my house and start looking at the open source code for understand what's happening and try to correct it.
OMFG, I cannot change the code to return an `int` instead of void. The method is in the public area of the code.
I very happy that this app, it's open source, so I can do my own version for my need.1 -
So let's say I kinda came up with a pattern/architecture for Unity scripting which I find really useful and elegant.
It uses some features which are quite new, and I can't find anything similar on Google. So I suspect I might actually have invented something new.
What should I do?6 -
I saw someone once mention a desire to change the term "master" in Git vocabulary and syntax to something more inclusive. I couldn't wrap my head around what massive upheaval that could cause with peoples' scripting, workflows, etc. across the world. Is that totally unrealistic, or can it be done?21
-
Dear C++ / Java developers.
Please do not write Python, or do utilize helper libraries / pythonisms.
Not EVERYTHING has to be done by hand, it's not CS class anymore. Classes are fine too, not everything has to be passed as comma separated string. Python is proper Object-Oriented language, not scripting tool like Bash.4 -
!rant
This moment when a script you wrote is working instantly. My coworker couldn't believe it neither and advised me I should start from scratch again because there have to be a mistake in it. -
So a teacher supposedly promised to introduce me to "web Scripting" as he called it.
Time to learn and all he does is show me Dreamweaver and copy and paste code from anywhere you can imagine, he literally didn't know anything about code .
I thank God I realized that it was better to learn code .1 -
Listening to Wendy Renes "After laughter (comes tears)". Trying to do some clientside scripting against a componentart tabstrip. Never felt so hopeless in my whole life.
-
Software Installation happens through "point and click", also does system configuration and infrastructure. Servers are _pets_ and get reused and re-purposed after decommissioning. Command Lines, Terminals and scripting languages are buh and scary; We don't use them. Repetitive tasks are good, because once you know them you can do them faster and better. Windows servers are good, because we want to be like Microsoft ...2
-
Was playing some devast.io and it was awesome
[username: Trippy Pepper]
I had a high score around 1000k or so kept being killed constantly and such on downloaded pycharm on mom's pc, downloaded an android emulator as well :) i cant wait to go back to scripting but andlua is just a mix of java and lua
Example: https://youtube.com/watch/...
what do ya think about the high score? -
What if you could combine elements of Python with elements of Javascript?
I present GDScript:
https://docs.godotengine.org/en/...
So far I am really liking this engine.9 -
Why oh why, did the people behind InnoSetup ever think that Pascal was a good choice as a scripting language?
-
Which programming, scripting language do yall prefer when you want to make websites or web applications? Everywhere i hear random shit from Html to python..10
-
Guys i need some suggestions on how to bring open source and Linux culture in our college. Students already have a subject which teaches basics of ubuntu and red hat and shell scripting.
-
i am sysops/devops whatever, how do you organize your scripts using scm, is it a good practice to put it in a monorepository and all the scripts and sources are just a submodule or every script should be as a separate project? any suggestions, hints and recommendations are welcome.
-
Why the fuck is MQL C++ based? Why not make a simple scripting language which gets interpreted by your application? I don't want to write headers and definitions constantly, I'm just trying to write a trading indicator ffs1
-
back into some quick and dirty opencv scripting for the afternoon to try to get a report out the door, and boyhave my variable names become, shall we say, gigidy inspiring:
longexposure = np.uint8(cumimage/float(len(ims)))
stacked = np.hstack({cumimage, longexposure}) -
I'm looking for a project idea in cyber-security...
Any ideas?
I'm good with x86 assembly, c, c++, python and shell scripting.
I'm very well versed with Linux operating systems and basic networking stuff.
I'm willing to learn new concepts11 -
What are the minimum PC specs you feel comfortable with for development? Of course app development and anything medium sized and up with an IDE needs decent specs, but I'm wondering about the lower end of the spectrum. Scripting things and such.2
-
I want to manipulate CSV files with Python and I was using NumPy, what I want to do is 3 columns, with an undetermined number of rows, and I want to be able to remove, add and edit every value, this is my questions:
Should I use NumPy? (if yes, please tell me how, I've been searching on google and I couldn't find anything of help! If not, please tell me what I should use,)3 -
What music do you like to listen while writing tests, implementing feature, bugfixing, refactoring, coding, scripting?1
-
Php : I am the best of the best for web application and server side scripting!
Ruby on Rails :REALLY? -
Seeing as I will be scorned for asking this on SO, and there's a ton of devs here that probably had this conundrum: how have you solved horizontal scrolling when working? I know shift + mw+/- works but what's the use having a mouse with macro functionality if not to simplify that? My current software supports lua scripting (but I don't know how to write it). I see some people requesting this while googling I but cannot find anyone that has a solution. The closest I get is a user requesting it from Logitech as they apparently have the same but for ctrl+mw in their products.10
-
!rant
I'm not a fan of reinventing the wheel but I have this new found motivation to learn everything related to tech , science and math from scratch. I'm talking new models and so on . It's probably not going to work like most of my other ideas but it's worth giving it a shot . For now I guess I will setup a new YouTube channel or something and log the progress and the development .
That said I'm not sure where i should start first but I do know I want to cover everything from programming and quantum scripting to rocket science . Work our way up slowly ofcourse ... -
1. Those who can't hack it in this industry to accept it, move on, and learn something else
2. New internet scripting language that's not Javascript or based on the same
3. A job near home3 -
I'm working on an internal overhaul for Orchid phasing out the last bits of code from May's crunch and making the loading pipeline much more transparent and easier to optimize, but I'm starting to get really tired of high theory and tree walking algorithms.
What are some light hearted projects that can benefit from a scripting language? I don't mind if existing scripting languages would be an objectively better choice, I don't want to build something perfect here, I just wanna have fun with this project again. -
Hey Devs!,
I've been lurking for a bit and had a question what dev/coding skills should I be looking at to be able to move up? I currently do support for large cluster machines but not full admin work. I want to move to a more sysadmin type position but my coding/scripting is not the strongest and wanted to hear your thoughts -
!rant
Looking for help starting with DevOps.
Does anyone know of a site or forum where you can talk about general coding/scripting patterns rather than just asking specific questions?
Bear with me, this may be a bit longer than most posts here.
I'm a self-taught admin/tech working with one colleague (who's also mostly self taught) at a high school, managing both clients and servers.
We've been doing most things manually bit I'm looking into converting as much work as possible into more of a DevOps setup, with Powershell-scripts for multi step tasks.
I want to do this for a number of reasons. Having a script doing a number of steps would cut down on time spent on individual tasks and minimize the risk that a step is missed or, perhaps even worse, mistyped. Also it's important that I actually learn what I'm doing, why something works and why something fails.
As and example, I have a powershell-script which moves a student from one year to another (basically they have user names with a two-digit prefix based on the year they started and a suffix with two letters from their first names and four from their last names) if they need to repeat a grade.
It basically renames the account in the AD with the correct year-prefix, changes the samAccountName, renames Home and Profile-directories on disk and changes paths on the profile-tab in AD, moves the user into a new OU and security group etc.
It works as intended if the user account to be renamed exists and there's no name conflict with the new name. But I'd like for the script to validate that there's no problem with user names, source and target security groups and OUs etc. and eventually split the script up into smaller clearly defined functions for better readability.
However, I don't want someone to just write the script for me, I'd prefer to be able to discuss script flow and come to my own conclusions and solutions.1