NATION

PASSWORD

Coding/programming discussion thread

For discussion and debate about anything. (Not a roleplay related forum; out-of-character commentary only.)

Bro, do you even code?

Yes, professionally
9
24%
Yes, just as a hobby
19
50%
Nope
10
26%
 
Total votes : 38

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Coding/programming discussion thread

Postby Esternial » Thu May 07, 2020 4:42 am

This is a spin-off from the Science and Maths discussion thread.

The topic is - I hope - fairly straightforward. I'm interested in finding out what different kind of programmers lurk around NS (and the world) and how people's practices vary. Hopefully we can have some enlightening discussions along the way!

Some stuff to get everyone started:
- How did you get into programming? Is it a hobby, or is it (also) your profession?
- What are some of the programming languages are you proficient/interested in? What do you use it for?
- How do you code? Do you have a preferred IDE? Preferred Operating System (OS)?

I'm sure more questions will pop up. I can add them to the OP at some point.

I'll set things off: I got into programming over the course of my university track. I studied bioinformatics, which gave me sort of the basics but was a very "if it works it's fine" approach. Never used source control or a lot of other tools. Now I work in the financial tech industry as a software/infrastructure engineer and its still a bit tricky getting used to "best practices" and the Agile methodology used in this company.

I mostly code in Python, shell and PL/SQL. At my job, we have a bunch of on-premises Oracle Exadata machines, so we almost exclusively use Oracle Databases. We also use Jenkins and Ansible Tower for deployment automation, so I've got some knowledge of Groovy and YAML as well.

As for my preferred IDE, I actually use Notepad++ a lot, as well as Toad (for SQL). Sublime to a lesser extent.

User avatar
Torisakia
Post Marshal
 
Posts: 16942
Founded: Jun 04, 2011
Civil Rights Lovefest

Postby Torisakia » Thu May 07, 2020 4:46 am

I've learned some coding since I started university. I'm decent at Python and C++, but am terrible at Java for some reason. I'm planning to go into cybersecurity so coding is a pretty useful tool for me to have. As for IDEs I typically just use what's recommended by people that also use the language. When I was learning C++ I used Visual Studio 2017 and for Java I used NetBeans. Both were pretty good for me. But I don't think I'd want to be a full-time coder.
You ever woke up one morning and just decided it wasn't one of those days and you were gonna break some stuff?
President: Doug McDowell
Population: 227 million
Tech: MT-PMT
I don't use most NS stats
Ideology: Democracy Manifest
Pro: truth
Anti: bullshit


Latest Headlines
[TNN] A cargo ship belonging to Torisakia disappeared off the coast of Kostane late Wednesday evening. TBI suspects foul play. || Congress passes a T$10 billion aid package for the Democratic Populist rebels in Kostane. To include firearms, vehicles, and artillery.

User avatar
South Reinkalistan
Ambassador
 
Posts: 1785
Founded: Mar 12, 2019
Ex-Nation

Postby South Reinkalistan » Thu May 07, 2020 4:48 am

Esternial wrote:As for my preferred IDE, I actually use Notepad++ a lot, as well as Toad (for SQL). Sublime to a lesser extent.

Finally, someone else! Notepad++ is a godsend, and widely underrated.
THE PEOPLE ETERNAL
" We will not bow to your dictation. We are free. We bled to be free.
Who are you to tell us what we may and may not do? We stopped being your slaves an era ago. "
South Reinkalistan is a massive, ecologically-diverse nation notable for its roving student militias and widespread hatred for the elderly.
In the midst of a room-temperature cultural revolution that's lost its momentum, the Party carefully plans its next move.
As the brittle bones of fragile empires begin to crack beneath their own weight, history's symphony reaches crescendo pitch. The future is all but certain.

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Thu May 07, 2020 4:57 am

South Reinkalistan wrote:
Esternial wrote:As for my preferred IDE, I actually use Notepad++ a lot, as well as Toad (for SQL). Sublime to a lesser extent.

Finally, someone else! Notepad++ is a godsend, and widely underrated.

Hahaha I always feel like I'm not doing it the "right way", but a lot of IDE's feel very cluttered and distracting to me. For Python and shell scripts it's perfect.

User avatar
Torisakia
Post Marshal
 
Posts: 16942
Founded: Jun 04, 2011
Civil Rights Lovefest

Postby Torisakia » Thu May 07, 2020 5:01 am

Esternial wrote:
South Reinkalistan wrote:Finally, someone else! Notepad++ is a godsend, and widely underrated.

Hahaha I always feel like I'm not doing it the "right way", but a lot of IDE's feel very cluttered and distracting to me. For Python and shell scripts it's perfect.

Netbeans always worked pretty well for me. But I was using it for university and the things we did weren't very complex so it made using Netbeans easier. If I were doing longer, more complex Java I would definitely use Notepad++.
You ever woke up one morning and just decided it wasn't one of those days and you were gonna break some stuff?
President: Doug McDowell
Population: 227 million
Tech: MT-PMT
I don't use most NS stats
Ideology: Democracy Manifest
Pro: truth
Anti: bullshit


Latest Headlines
[TNN] A cargo ship belonging to Torisakia disappeared off the coast of Kostane late Wednesday evening. TBI suspects foul play. || Congress passes a T$10 billion aid package for the Democratic Populist rebels in Kostane. To include firearms, vehicles, and artillery.

User avatar
Dylar
Negotiator
 
Posts: 7116
Founded: Jan 07, 2016
Ex-Nation

Postby Dylar » Thu May 07, 2020 5:09 am

I did some coding in high school for a web design class, but I only did HTML, C++ and a little bit of Java. Honestly, I should try going back to it since it was a lot of fun. Might even try Python.
St. Albert the Great wrote:"Natural science does not consist in ratifying what others have said, but in seeking the causes of phenomena."
Franko Tildon wrote:Fire washes the skin off the bone and the sin off the soul. It cleans away the dirt. And my momma didn't raise herself no dirty boy.

Pro: Life, Catholic, religious freedom, guns
Against: gun control, abortion, militant atheism
Interests: Video Games, Military History, Catholic theology, Sci-Fi, and Table-Top Miniatures games
Favorite music genres: Metal, Drinking songs, Polka, Military Marches, Hardbass, and Movie/Video Game soundtracks

User avatar
Bombadil
Post Marshal
 
Posts: 18711
Founded: Oct 13, 2011
Inoffensive Centrist Democracy

Postby Bombadil » Thu May 07, 2020 5:24 am

Honestly I find VBA adequate for what I do but for web design .html and C++ - mostly I just need know the language of things like Python etc, but in the end it's 1's and 0's
Eldest, that's what I am...Tom remembers the first raindrop and the first acorn...he knew the dark under the stars when it was fearless — before the Dark Lord came from Outside..

十年

User avatar
Risottia
Khan of Spam
 
Posts: 55261
Founded: Sep 05, 2006
Democratic Socialists

Postby Risottia » Thu May 07, 2020 5:27 am

I got into coding - well, I prefer to call it "programming" - in the early '80s when I was given a Sinclair ZX Spectrum, so my first language was the BASIC-A (which is basically Fortran 77 for dummies). 16 kB to do EVERYTHING, so bah humbug to youngsters who don't even optimise their code.
I mostly use Ansi C and C++ (especially for Arduino, I am supposed to teach folks to program it, too), have done some (very limited) Javascript and Python. Also some HTML and CSS, but that's not really "coding". Also, not true coding, but I like tinkering with spreadsheets.
Last edited by Risottia on Thu May 07, 2020 5:27 am, edited 1 time in total.
Statanist through and through.
Evilutionist Atheist Crusadjihadist. Egli/Lui.
"Darwinu Akhbar! Dawkins vult!"
Founder of the NSG Peace Prize Committee. Should I restart the bugger?
SUMMER, BLOODY SUMMER!

User avatar
South Reinkalistan
Ambassador
 
Posts: 1785
Founded: Mar 12, 2019
Ex-Nation

Postby South Reinkalistan » Thu May 07, 2020 5:28 am

Risottia wrote:so bah humbug to youngsters who don't even optimise their code.

Oh, uhm, about that...
THE PEOPLE ETERNAL
" We will not bow to your dictation. We are free. We bled to be free.
Who are you to tell us what we may and may not do? We stopped being your slaves an era ago. "
South Reinkalistan is a massive, ecologically-diverse nation notable for its roving student militias and widespread hatred for the elderly.
In the midst of a room-temperature cultural revolution that's lost its momentum, the Party carefully plans its next move.
As the brittle bones of fragile empires begin to crack beneath their own weight, history's symphony reaches crescendo pitch. The future is all but certain.

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Thu May 07, 2020 7:11 am

South Reinkalistan wrote:
Risottia wrote:so bah humbug to youngsters who don't even optimise their code.

Oh, uhm, about that...

It's very true that well-performing infrastructure can result in lazy coding. Having a script run in "a few seconds" can be bad if you run it on high-end infrastructure.

It's why all our Dev environments generally have fewer CPUs & memory, to create an artificial bottleneck in performance to force code optimization.

User avatar
The Blaatschapen
Technical Moderator
 
Posts: 63226
Founded: Antiquity
Anarchy

Postby The Blaatschapen » Thu May 07, 2020 7:53 am

Esternial wrote:
South Reinkalistan wrote:Oh, uhm, about that...

It's very true that well-performing infrastructure can result in lazy coding. Having a script run in "a few seconds" can be bad if you run it on high-end infrastructure.

It's why all our Dev environments generally have fewer CPUs & memory, to create an artificial bottleneck in performance to force code optimization.


I am a professional developer. That means that I get paid for coding. Not that my code is any good.

I work in PHP and Java. I can also do javascript, bash, python and 1 perl script that logs my puppets into NS. And I got into it with MOO, back in the late 90s.

To actually reply to Esty's post here. We deploy our code in docker containers. Which has the benefit that all environments are similar. That the containers are relatively limited in size (CPU, RAM, also hard disk to a lesser extent) is an added benefit.

Besides pure programming skills, the one thing that helps me the most in my job is figuring out what exactly is the business value of a certain feature and what is actually needed. Domain knowledge saved so many lines of code and hours of work. And all the lines I did not write, are 100% bugfree.

Another thing is prioritization of tasks. Again, related to the domain, but here the business has a huge say. Unless I play a critical system vulnerability card. But those instances are luckily rare. And usually related not to our code but to an underlying dependency *glares at heartbleed bug*
The Blaatschapen should resign

User avatar
Alvecia
Postmaster of the Fleet
 
Posts: 20358
Founded: Aug 17, 2015
Democratic Socialists

Postby Alvecia » Thu May 07, 2020 8:19 am

I work with (Oracle) SQL on a daily basis so I'm pretty well versed in that.

I've had some training with Java and Javascript, but I can read them better than I can write them.
I don't get much opportunity to play with it though, despite the product I support being java based, cause access to that code is above my station as a lowly support analyst.

Our servers are Unix based, so I can navigate around them confidently.

I've always been interested in computers, but it wasn't really where I was headed until I flunked out of university. After that I went looking for apprenticeships in tech and basic support positions.
Got eventually picked up by the place I've been for the last 5 or so years, supporting a particular software product made by this company.
It's been pretty good, cause we were able to start off basic with just some base level troubleshooting , but as time went on I was able to sink more and more into the technical side of things.

The DB management side of things is honestly what interests me the most. I also quite like just pulling out data from time to time and making some pretty graphs in Excel. I feel like Excel is almost a language in itself.
Last edited by Alvecia on Thu May 07, 2020 8:19 am, edited 1 time in total.

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Thu May 07, 2020 8:25 am

The Blaatschapen wrote:
Esternial wrote:It's very true that well-performing infrastructure can result in lazy coding. Having a script run in "a few seconds" can be bad if you run it on high-end infrastructure.

It's why all our Dev environments generally have fewer CPUs & memory, to create an artificial bottleneck in performance to force code optimization.


I am a professional developer. That means that I get paid for coding. Not that my code is any good.

I work in PHP and Java. I can also do javascript, bash, python and 1 perl script that logs my puppets into NS. And I got into it with MOO, back in the late 90s.

To actually reply to Esty's post here. We deploy our code in docker containers. Which has the benefit that all environments are similar. That the containers are relatively limited in size (CPU, RAM, also hard disk to a lesser extent) is an added benefit.

Besides pure programming skills, the one thing that helps me the most in my job is figuring out what exactly is the business value of a certain feature and what is actually needed. Domain knowledge saved so many lines of code and hours of work. And all the lines I did not write, are 100% bugfree.

Another thing is prioritization of tasks. Again, related to the domain, but here the business has a huge say. Unless I play a critical system vulnerability card. But those instances are luckily rare. And usually related not to our code but to an underlying dependency *glares at heartbleed bug*

Ooh, Docker. Would really like to get some hand-on experience with that. From what I've read, it seems incredibly useful/powerful.

User avatar
Cekoviu
Post Marshal
 
Posts: 16954
Founded: Oct 18, 2017
Ex-Nation

Postby Cekoviu » Thu May 07, 2020 8:49 am

Just a hobbyist -- I know C# and some R (and bash, if that counts). For C#, I use MonoDevelop (used to use Visual Studio before I migrated to Linux), and for R, I use RStudio. For languages other than those, I just use Kate.

I also tried to learn C++, but manual memory management is very confusing coming from a C# background, so I quit.
pro: women's rights
anti: men's rights

User avatar
Cekoviu
Post Marshal
 
Posts: 16954
Founded: Oct 18, 2017
Ex-Nation

Postby Cekoviu » Thu May 07, 2020 8:51 am

South Reinkalistan wrote:
Esternial wrote:As for my preferred IDE, I actually use Notepad++ a lot, as well as Toad (for SQL). Sublime to a lesser extent.

Finally, someone else! Notepad++ is a godsend, and widely underrated.

Kate (the KDE text editor) is a great replacement on non-Windows systems! It has many of the same features and more.
pro: women's rights
anti: men's rights

User avatar
An Alan Smithee Nation
Powerbroker
 
Posts: 7623
Founded: Apr 18, 2018
Ex-Nation

Postby An Alan Smithee Nation » Thu May 07, 2020 8:54 am

Computers weren't part of most education when I was at school and university, so I did some Open University courses as an adult learner so I wasn't entirely left behind. First course I learned some basic programming using Smalltalk. After that some C programming, but unfortunately it was mainly focused on programming things like central heating controllers, squeezing as much as you could into a very small amount of code, which doesn't exactly teach you a good programming style. Did some C++ after that.

Dabbled in Python a bit, but to be honest nowadays I find the speed things are evolving in computing is outstripping my ability to learn new things.
Everything is intertwinkled

User avatar
The Blaatschapen
Technical Moderator
 
Posts: 63226
Founded: Antiquity
Anarchy

Postby The Blaatschapen » Thu May 07, 2020 9:11 am

Esternial wrote:
The Blaatschapen wrote:
I am a professional developer. That means that I get paid for coding. Not that my code is any good.

I work in PHP and Java. I can also do javascript, bash, python and 1 perl script that logs my puppets into NS. And I got into it with MOO, back in the late 90s.

To actually reply to Esty's post here. We deploy our code in docker containers. Which has the benefit that all environments are similar. That the containers are relatively limited in size (CPU, RAM, also hard disk to a lesser extent) is an added benefit.

Besides pure programming skills, the one thing that helps me the most in my job is figuring out what exactly is the business value of a certain feature and what is actually needed. Domain knowledge saved so many lines of code and hours of work. And all the lines I did not write, are 100% bugfree.

Another thing is prioritization of tasks. Again, related to the domain, but here the business has a huge say. Unless I play a critical system vulnerability card. But those instances are luckily rare. And usually related not to our code but to an underlying dependency *glares at heartbleed bug*

Ooh, Docker. Would really like to get some hand-on experience with that. From what I've read, it seems incredibly useful/powerful.


It is. Especially in combination with kubernetes (basically a docker management system). Though there I suggest to start with miniKube locally on your own machine to get a feel for it. Before implementing it company wide.

---
We got a good system in place with a build pipeline which creates docker containers as artifacts that get stored. Those containers then can get deployed. But you can also download the docker container yourself, connect a few together and have your own representation of the various services locally, all seeing each other. Together with for example, docker compose as a script that puts it all together. And then the QA runs their tests against the whole ecosystem.

It's fancy stuff :) Of course, as a developer, I am not maintaining the whole kubernetes system, that is more DevOps or operations. But I do know my way around it a bit, enough to find what I need.
The Blaatschapen should resign

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Thu May 07, 2020 9:26 am

The Blaatschapen wrote:
Esternial wrote:Ooh, Docker. Would really like to get some hand-on experience with that. From what I've read, it seems incredibly useful/powerful.


It is. Especially in combination with kubernetes (basically a docker management system). Though there I suggest to start with miniKube locally on your own machine to get a feel for it. Before implementing it company wide.

---
We got a good system in place with a build pipeline which creates docker containers as artifacts that get stored. Those containers then can get deployed. But you can also download the docker container yourself, connect a few together and have your own representation of the various services locally, all seeing each other. Together with for example, docker compose as a script that puts it all together. And then the QA runs their tests against the whole ecosystem.

It's fancy stuff :) Of course, as a developer, I am not maintaining the whole kubernetes system, that is more DevOps or operations. But I do know my way around it a bit, enough to find what I need.

I'm doing a lot of infrastructure work at the moment and we're moving more and more towards DevOps, so chances are I'll get into contact with Docker and Kubernetes (more likely Red Hat OpenShift) eventually. Haven't heard of miniKube before, but I'll start there once I decide to get started with some self-learning there. Thanks for the tip!

User avatar
Dukin Donuts
Envoy
 
Posts: 202
Founded: Apr 09, 2020
Inoffensive Centrist Democracy

Postby Dukin Donuts » Thu May 07, 2020 9:29 am

I’d like to be more involved in coding but my primary device (an IPad) isn’t up for the challenge.
Dukin
Donuts
Coffee,Donuts,Sandwiches
Dukin’s Flag Kibble

Who We Are| Fast Facts| Corporate Security |Puppet Nations|Interested in Franchising with Dukin? Click Here
Registered Republican 2020 Voter

User avatar
Risottia
Khan of Spam
 
Posts: 55261
Founded: Sep 05, 2006
Democratic Socialists

Postby Risottia » Thu May 07, 2020 9:31 am

Dukin Donuts wrote:I’d like to be more involved in coding but my primary device (an IPad) isn’t up for the challenge.

You can get a decent laptop for about 300 € on the internet. Even less if you look for used stuff.
Statanist through and through.
Evilutionist Atheist Crusadjihadist. Egli/Lui.
"Darwinu Akhbar! Dawkins vult!"
Founder of the NSG Peace Prize Committee. Should I restart the bugger?
SUMMER, BLOODY SUMMER!

User avatar
The Blaatschapen
Technical Moderator
 
Posts: 63226
Founded: Antiquity
Anarchy

Postby The Blaatschapen » Thu May 07, 2020 9:51 am

Dukin Donuts wrote:I’d like to be more involved in coding but my primary device (an IPad) isn’t up for the challenge.


How? Why?

If it can run a browser, it can do some coding. Like at https://www.codecademy.com/ for example. Or http://www.hedycode.com/ a language designed to start from the very beginning.

Of course, it might be nice to have an external keyboard attached to it, but that is a 'nice to have'.
Last edited by The Blaatschapen on Thu May 07, 2020 11:06 am, edited 1 time in total.
The Blaatschapen should resign

User avatar
Dukin Donuts
Envoy
 
Posts: 202
Founded: Apr 09, 2020
Inoffensive Centrist Democracy

Postby Dukin Donuts » Thu May 07, 2020 12:36 pm

The Blaatschapen wrote:
Dukin Donuts wrote:I’d like to be more involved in coding but my primary device (an IPad) isn’t up for the challenge.


How? Why?

If it can run a browser, it can do some coding. Like at https://www.codecademy.com/ for example. Or http://www.hedycode.com/ a language designed to start from the very beginning.

Of course, it might be nice to have an external keyboard attached to it, but that is a 'nice to have'.


This IPad currently suits all my needs at the moment. My wants it does not.

I do have a keyboard attachment and I’ll take a look at those sites.
Dukin
Donuts
Coffee,Donuts,Sandwiches
Dukin’s Flag Kibble

Who We Are| Fast Facts| Corporate Security |Puppet Nations|Interested in Franchising with Dukin? Click Here
Registered Republican 2020 Voter

User avatar
Daves Computer
Envoy
 
Posts: 323
Founded: May 06, 2020
Ex-Nation

Postby Daves Computer » Thu May 07, 2020 12:51 pm

Ok but... who does Java graphics? g.drawLine(x1, y1, x2, y2), am I right, fellow intellectuals? I'm not crying. I'm just sweating through my eyes.

User avatar
Risottia
Khan of Spam
 
Posts: 55261
Founded: Sep 05, 2006
Democratic Socialists

Postby Risottia » Thu May 07, 2020 1:12 pm

The Blaatschapen wrote:
Dukin Donuts wrote:I’d like to be more involved in coding but my primary device (an IPad) isn’t up for the challenge.


How? Why?

If it can run a browser, it can do some coding. Like at https://www.codecademy.com/ for example. Or http://www.hedycode.com/ a language designed to start from the very beginning.

Of course, it might be nice to have an external keyboard attached to it, but that is a 'nice to have'.


I sometimes use an online C compiler, here: https://www.onlinegdb.com/online_c_compiler
It's useful in the classroom sometimes. We teachers aren't allowed to install stuff.
Last edited by Risottia on Thu May 07, 2020 1:13 pm, edited 1 time in total.
Statanist through and through.
Evilutionist Atheist Crusadjihadist. Egli/Lui.
"Darwinu Akhbar! Dawkins vult!"
Founder of the NSG Peace Prize Committee. Should I restart the bugger?
SUMMER, BLOODY SUMMER!

User avatar
Window Land
Ambassador
 
Posts: 1047
Founded: Nov 02, 2016
Scandinavian Liberal Paradise

Postby Window Land » Thu May 07, 2020 1:26 pm

Risottia wrote:
The Blaatschapen wrote:
How? Why?

If it can run a browser, it can do some coding. Like at https://www.codecademy.com/ for example. Or http://www.hedycode.com/ a language designed to start from the very beginning.

Of course, it might be nice to have an external keyboard attached to it, but that is a 'nice to have'.


I sometimes use an online C compiler, here: https://www.onlinegdb.com/online_c_compiler
It's useful in the classroom sometimes. We teachers aren't allowed to install stuff.

It might be worth checking out http://www.repl.it. Without paying money privacy isn't really a thing but it lets you code and run in a whole host of different languages. You can also connect to github from it, although that can be a bit of a hassle. On a related note, if your school blocks github, you can still access it via git.
Last edited by Window Land on Thu May 07, 2020 1:29 pm, edited 3 times in total.
Bored college student who is probably supposed to be doing something important.
Woodie Flowers wrote:If you’re anti-science, you’re pro-stupid.

Evelyn Beatrice Hall wrote:I disapprove of what you say, but I will defend to the death your right to say it.

Winston Churchill wrote:Democracy is the worst form of government – except for all the others that have been tried.

Randall Munroe wrote: I can't remember where I heard this, but someone once said that defending a position by citing free speech is sort of the ultimate concession; you're saying that the most compelling thing you can say for your position is that it's not literally illegal to express.
Free Speech

Next

Advertisement

Remove ads

Return to General

Who is online

Users browsing this forum: Aadhiris, Ancientania, Deblar, Dimetrodon Empire, Ethel mermania, General TN, Ifreann, Immoren, Jerzylvania, Kreushia, Maximum Imperium Rex, Nanatsu no Tsuki, Plan Neonie, Rusexico, The Two Jerseys, Unclear, Varsemia

Advertisement

Remove ads