Jump to content

  • Log In with Google      Sign In   
  • Create Account

Tutorial Doctor

Member Since 19 Oct 2013
Offline Last Active Jul 20 2016 06:11 PM

Posts I've Made

In Topic: Help with python :(

26 April 2016 - 10:21 AM

Indeed. I was referring to this particular case. Didn't know how to format it.

In Topic: Total Begginer needs lot of advice

24 April 2016 - 02:15 PM

No prob about the down vote. You are on the right track though.


I learned programming concepts using Python with Pythonista (an IOS IDE on the iPad). From learning the various libraries included with Python, that lead into other areas of programming (networking, databases, regular expressions etc.), all of which are topics used across the board. That lead to research in web development for a little while. I eventually found the Godot game engine which uses a scripting language based on Python (perfect!). This engine can also be extended using the C++ programming language (great for getting more in-depth programming experience). An easy intro to C++ programming with this engine is making extensions. I could also use Python to make plugins for Blender 3D.


My next goal is to learn Ruby for web app development with Ruby on Rails and also for building plugins for Trimble Sketchup. All of these skills will be useful in creating content that I believe in. The story goes on. The best to you in your pursuits. 


My github repo gave me writing experience and got me a job as a technical writer. 


I have no college education.

In Topic: Help with python :(

24 April 2016 - 12:49 PM

To clarify further for someone who might view this thread later:

John_Smith = {name: "John Smith",}
name 'name' is not defined

The syntax/grammar rules for creating a dictionary in python is:

variable_name = {"key":"value"}

The name of the key has to be in quotes.


The reason the error says that name is not defined is because without quotes it is treated as a variable. No variable named "name" has been defined above this code.


I have a few recommend readings:




In Topic: Total Begginer needs lot of advice

24 April 2016 - 12:41 PM



Imagine that you want to live in your dream house. You have a few options:


1. You could go into the forest and cut down trees to build tools to cut the trees into perfect wooden planks so that you can build your dream house. 

2. You could go to a hardware store and buy both tools and pre-cut wooden planks to build your house.

3. You could buy a house and renovate it.

4. You could search all over the world and find your dream house has already been made and purchase it.


I think backwards. If it is already built, I just buy it. For example, if there is a game out already that was in my head, I play that game and I enjoy whatever entertainment I sought.


I could use templates and hack them to fit my needs.


I could use frameworks and libraries.


I could build something from scratch.


Get a good idea of what you want to do. Find the best way to do it (I like the easiest and fastest myself). Then, learn the languages or tools you need to learn in order to make your dream game. No need to build it from scratch when there are tools that already exist to help you build your idea.


And if you need a bit of help:



In Topic: Can the government force you to write code?

02 March 2016 - 02:58 PM


Can't they disassemble the physical hardware, and then clone the flash memory (or whatever memory device it has), and then crack a clone of it without fear of self-erasure?


I don't know how the iphone does it, but in general cryptographic material is stored in a HSM (hardware security module) that is specifically designed to not only prevent people from just cloning its contents, but to also actively destroy itself if it detects any attempt to mechanically break into it (e.g. by releasing a dissolving chemical if you try and disassemble it, or something like that, but more elaborate). That makes it quite hard to clone, although not impossible for a sufficiently resourceful agency, I guess.


Haha. All that came to my mind when reading this was, "This message will self-destruct in..."


Top notch security there.