Older Posts| View Topic : Professor Oak, Honest!! | Just thought people who haven't had the time/opportunity to see the documentary on BBC might like to see it on NRK.
Linky
Dunno if you have to be in Norway, but you can always use a proxy...
|
| View Topic : Progress / Location Bars | As your press the down arrow the bar moves down progressively to show your location in the list or whatever you are use the code for.
You mean scroll bars? o.O
If this is what you mean, I can pull some code from Project Dollhouse to show you
As for your code - it is hopeless. I'm not going to bother trying to wrap my head around it, because you're using two and three letter variable names and purposefully circumventing indentation. |
| View Topic : Meh | So far, this feels good.
Being unusually productive, today!
I made the CityServer send its information to the LoginServer, so now the client can log in to a city and access the CAS (Create A Sim) screen!
All that's needed now for the first milestone to be done is clientside documentation and implementation of the Vitaboy code!
... guess I should be working on my exam, but I got it delayed by a week because of what happened. Strangely, writing code works just fine - trying to write on my exam, not so much. |
| View Topic : Meh | Rant ahoy!
Today's the 17th of May, and while everyone's out celebrating Norway's constitution, a friend of mine recently died. I don't feel like going outside and I'd prefer staying inside being a nasty, mean git, while trying to stay away from the booze in my closet.
...
All the while, mom's on the phone, yapping away about how going out in the sun is good for you.
Code ahoy!
Meh! |
| View Topic : Randomly distributed coordinates... | Thanks for that brilliant solution!
Yet again, an example of how I tend to overthink problems (or, to be more specific: the solutions).
As for your gripe, you are supposed to use an IDE to do that. Actually, you could do that with one file as well, if you had a proper IDE. I bet the Monkey IDE doesn't allow you to right click a type or function and go to its definition or declaration.
The one thing I don't like about haXe is that it forces you to put files into directories if they are in separate packages (read: namespaces), and packages MUST be written in all lower space characters. A compiler shouldn't force those sort of restrictions! |
| View Topic : Development via GUI | is that they go beyond the text-editing bit. 
Right, that's what I like about IDEs. Code completion, integrated debuggers and build automation helps increase your productivity. |
| View Topic : Randomly distributed coordinates... | So, I got myself an iPad on a whim.
Since we're currently tantalizingly close to the first milestone on Project Dollhouse, and I'm basically just waiting for the other developer to implement the client changes, I decided to start a very simple project for the iPad.
Took me a while to settle on the language to use, but eventually I decided on haXe.
Unlike Monkey, it is free, and allows me the option to target multiple platforms.
Anyway...
For the simple quiz engine I'm developing (allows you to load different types of questions from question files), I need to randomly distribute coordinates for answers.
Currently I have:
-->
This works fine (notice the awesomeness that is haXe, btw - XML nodes are evaluated at runtime!), but means that the right answer will always be at the top! This is an unacceptable condition.
I realize that I could hardcode a bunch of coordinates for different resolutions, and then randomly select between them. But this would either limit the number of answers, or force me to hardcode something like 20 coordinates.
There has to be a more elegant way to do this?!
Ideas, plxz! |
| View Topic : Development via GUI | I know most text editors don't support build automation, and quite frankly I don't see the big deal.
Most IDEs will allow you to pass parameters to the compiler anyway... |
| View Topic : Development via GUI | Does Sublime Text 2 support autocomplete?
Can you go to the definition of classes and structs?
Does it support build automation?
If it does, I don't see what's so different from an IDE.
If it doesn't, then I don't see the difference between Sublime Text 2 and Notepad, except for [custom] color schemes and the ability to have multiple files open at once.
|
| View Topic : Development via GUI | I will stick with my text editor and terminal. IDEs are for chumps.
(not Notepad - that's a bad idea)
What's the difference between your text editor and Notepad?
|
| View Topic : Teaching To Code | http://www.lua.org/download.html 
If you use Windows, try Lua for Windows, an easy-to-use distribution of Lua packed with several useful libraries.  |
| View Topic : Teaching To Code | So, yes, it is entirely possible to learn to code without any faffing about with environmental installations and setups.
As far as configuring your IDE to your liking, I agree that it isn't the most important thing to learn off the bat.
But as far as installing an IDE - installing programs should (as I pointed out before) be one of the first things you learn to do on your computer. If you don't have the patience for it, you won't make it as a programmer. Period.
Also, there's a reason people started using IDEs as computers got more powerful. Writing programs inside one file is not a good idea unless the program is < 1000 lines. And even if it is, putting classes and/or types into separate files is a good way to conceptualize your program, as well as structuring it.
These days, programming should involve handling multiple files. If it doesn't, you're doing something wrong (or using PlayMyCode...) |
| View Topic : Teaching To Code | I disagree entirely, Afr0. Setting up a coding environment and learning to code are two entirely separate things.
I still can't set up a coding environment for beans, but once I'm in one and know which widgets to jiggle, I can code without issue.
You don't have to setup an environment to work with Love as such. In fact, Lua comes with a capable editor for writing scripts. But you still have to install the Lua VM.
Most programming doesn't happen in the browser, and unless you're hellbent on doing it in Notepad, you usually have to install something or other and possibly even configure it to your liking.
That said, the best IDEs don't require much configuration at all, such as Visual Studio. But they still have to be installed!
Hell, how to install shit on ones computer should be the first thing anyone learns, and if she can't even do that (or doesn't have the patience for it) - imagine how well she'll do beyond displaying a sprite on the screen!!
On another note, I could mention that learning how to program without at least a basic knowledge of how to configure your selected environment (let alone installing it...) is like learning to ski without first learning how to tie your laces! |
| View Topic : Teaching To Code | Let's face it: Programming is an esoteric hobby at best, especially for girls. Most people are in it either because it is their profession, in which case they love it so much that it spills into their freetime - or because they grew up dreaming it would one day be their profession. I'm not saying all people, mind, but most.
What conclusion can you draw from this? She'll need a passion to continue anyway.
If she's an average girl, she'll be busing to London queing for clubs before you can say "what happened?!" And then there's no point.
The trick is to find out if she does indeed have a passion. I'm not saying you shouldn't motivate her, by any means, but be realistic, and if she has the spark, she'll follow along anyway. |
| View Topic : Teaching To Code | Focus on getting something happening, rather than needing to teach about installing 7,000 Microsoft updates before you can get Hello World on the screen!!
I disagree. Most coding won't happen in the browser (unless you stay with PlayMyCode...) - it is simply unrealistic.
I also realized yesterday when being forced to use Eclipse that Visual Studio is the best IDE out there, free or not. Sure, its projects generate a lot of files, but this is fairly common and realistic.
If you're ever going to create a project over a certain size, you'll need more files anyway.
I feel like most of the advice so far seems to revolve around "present her with a fairytale world, don't show her what programming is really like!"
In my opinion, that's doing her a disservice. Try to focus on being realistic. Love is a good choice. It requires you to install Lua and deal with files. If she doesn't like it, programming probably isn't for her. |
| View Topic : Teaching To Code | I second what Cower suggested, except with one warning: Lua isn't a good language for writing (MMO)-servers in, or any application that must potentially deal with thousands of concurrent operations.
For this, try something like C# or Go or Erlang!
tldr; Love is unsuited for MMOs. |
Older Posts |