Latest Uploads
Extraterre ... .0.1 (zip)

dantheman363

Monty Teas ... Screenie 1

steve_ancell

Santa Clau ... ed his bag

waroffice

manic_platdude.png

spinal

Tetris Clone

steve_ancell

Super blues bros.

spinal

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 : FIRST!!!
rchomes.tumblr.com/post/51029616699/greenie-i-dont-get-it-dave-its-easy


CXBX - makes your argument invalid.

(You no longer need 4, only 3 + a laptop)

View Topic : Progress / Location Bars
This should give you a good idea. Notice that the variable names are not two or three characters long.

-->

View Topic : Noel's Graduation
Grats!

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
Thanks mate

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 : Development via GUI
Jay, you need to get your ass out of the eighties and smell the roses - this is the future!

View Topic : Teaching To Code
Yes, a third party distribution.


It isn't third party, it is developed by the same people developing Lua.

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
No, it doesn't.


It does on windows.

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 : Happy Birthday Dabz!
Grats!

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.

View Topic : Suicide
Steve, godhatesfags.com is only the beginning.
They have other domains too, like this one

Older Posts
Latest Posts
Coder's Block
Jayenkai Thu 09:01
Consumer Lockout
9572AD Thu 06:09
Professor Oak, Honest!!
spinal Wed 23:24
Position in Mind
steve_ancell Wed 20:11
Sonic Adventure v0.x
Jayenkai Wed 07:08
FIRST!!!
steve_ancell Wed 03:55
Noel's Graduation
waroffice Wed 02:55
Monkey vs iOS tweaks
spinal Tue 22:51
Fucking Pound Sign Unicode Bullshit Bollocks
Dabz Tue 13:00
Progress / Location Bars
dna Tue 08:55
More

Latest Items
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
rockford Fri 13:14
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
News : Newsletter #170
Dabz Sat 00:34
Showcase : sbfgen
Cower Sat 16:57
More

Who's Online
Jayenkai
Thu, at 16:28
shroom_monk
Thu, at 16:19
CodersRule
Thu, at 15:40
steve_ancell
Thu, at 15:27
dna
Thu, at 14:33
Dabz
Thu, at 14:02
Mog
Thu, at 13:39
spinal
Thu, at 13:11
rockford
Thu, at 12:45
Cower
Thu, at 12:44
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.