The Coder's Lounge

Speaking of unsafe languages: One of my professors accidentally redefined a keyword into a variable during a JavaScript demo today and it just... let him do that. Love it.
 
Last edited:
One thing I like about interpreted languages is that they can be used as tools to extend software. E.g. Gimp allows you to add new plugins via Python scripts, all the newer RPG-Maker versions since XP ship with Ruby, etc.

It's nice to play around with, but obviously also comes with some downsides. It can be a little annoying trying to trace back an error you may have made in one of your scripts. But it is still better than having to get the source code of the application (if accessible), find the location where you want to add something and then recompile the whole thing.

I personally like Python but when push comes to shove I still end up using Delphi or C++ (and I'm still looking for a way to make use of D).
 
What are the key differences between file extensions then?

Windows can use .exe, but Python scripts are also executable, as are java JAR files. MacOS uses .dmg files, and on Linux it's just a binary file that's marked as executable and has no extension.
 
Are all malicious files executable?
In one form or another: yes

In order to do something malicious, they need to do something afterall.

However there's a distinction to be made between malicious files that are executables by themselves and those that introduce malicious behaviour into a perfectly fine executable.

Malicious executables are programs designed to work by themselves. They're written in a programming language and compiled before being send through the internet to their targets. If you run them, then you will have a problem.

On the other hand you can have some application like Python or Word who don't really do anything bad by themselves. Instead they require the user to tell them what to do. One way is by providing some form of script, a way how to act for the application. Those scripts are usually in plain text, so they're not malicious by themselves. In fact, checking them out in a text editor won't cause anything bad to happen. However, if you were to let such a script be run in the respective application, that will change. If you ever heard of the term "computer virus", that's pretty much what it is.
 
Looking for some recommendations/opinions:

I want to build an app for myself (may share it later, but for now just for me to make my life easier, and to get more experience outside of school projects) to manage a personal database using MySQL, but not sure what language would be easiest/most appropriate. Basically, I just want to be able to add rows to my tables (with dropdowns/checkboxes/etc. where appropriate to cut down on typos) and display the results of built-in queries.

I know how to do this already with HTML+JavaScript+Node, but wondering what other choices there might be out there that are easy to use with MySQL and create a simple GUI.
 
Last edited:
Looking for some recommendations/opinions:

I want to build an app for myself (may share it later, but for now just for me to make my life easier, and to get more experience outside of school projects) to manage a personal database using MySQL, but not sure what language would be easiest/most appropriate. Basically, I just want to be able to add rows to my tables (with dropdowns/checkboxes/etc. where appropriate to cut down on typos) and display the results of built-in queries.

I know how to do this already with HTML+JavaScript+Node, but wondering what other choices there might be out there that are easy to use with MySQL and create a simple GUI.
I wouldn't quite use this as a solid recommendation (because gross php), but on a web server with PHP and MySQL, you could use phpMyAdmin which is a database manager packed into a GUI.

I apologize if this isn't what you are looking for, though
 
Last edited:
I wouldn't quite use this as a solid recommendation (because gross php), but on a web server with PHP and MySQL, you could use phpMyAdmin which is a database manager packed into a GUI.

I apologize if this isn't what you are looking for, though

I'm more looking to make my own app (hoping it can be something to show potential employers) so just trying to figure out what the best language to use would be, but that looks like it might be useful for testing, so I don't have to add/remove/change test data manually.
 
Last edited:
im now inspired to make a app, but im lazy. though my computer science teacher has a poster on his door about something with google play, you create ideas for a game and give that idea to google, and they connect you with developers and get it made, or something like that. i been meaning to ask him about it.
 
Malicious executables are programs designed to work by themselves. They're written in a programming language and compiled before being send through the internet to their targets. If you run them, then you will have a problem.

Now this is true no matter what language they design it in?
 
I think I'm at that point where I'm reading source code just to get stuck on a comment and immediately think to myself: "It's nice that you tell me what this piece of code does. But why explain to me the same thing the code tells me and not tell me _why_ you put it here?"
Now this is true no matter what language they design it in?
Language doesn't matter. They all use the same blueprints.
 
I mean it matters to some extent. Otherwise there would be no reason for different ones to even exist.
 
But then, presumably, those languages evolve and take their own shape after it has fulfilled its original purpose.
 
hey pals. anyone here into typescript? i've fallen in love with it over the past few months

It's made debugging so much easier since I started using it, love it too.

What code editor do you all use? I moved from sublime to VSCode not that long ago and I'm really enjoying it so far. Having git right there saves me so much time.
 
What code editor do you all use? I moved from sublime to VSCode not that long ago and I'm really enjoying it so far. Having git right there saves me so much time.

Same exactly
 
Back
Top