1
General Discussion / Re: Bay12's posting history.
« on: December 11, 2015, 12:10:16 am »*prods*
Did you miss:
*Clears throat*
AHHHHHHHHHHHHHHHHHHHHHH FINALS
AHHHHHHHHHHHHHHHHHHHHHH NO UPDATE UNTIL AFTER
AHHHHHHHHHHHHHHHHHHHHHH
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
*prods*
*Clears throat*
AHHHHHHHHHHHHHHHHHHHHHH FINALS
AHHHHHHHHHHHHHHHHHHHHHH NO UPDATE UNTIL AFTER
AHHHHHHHHHHHHHHHHHHHHHH
That managed to work perfectly. Unfortunately my new problem is that the computer I have to present it on is running Java 6, because my teacher apparently had trouble with a piece of software when it updated to 7. So to get it to run in six do I only have to use the JDK for six? And if so which would I use? The Java archive here have everything from 6 to 6u45. What are the differences between all of these?
I hate coming again so soon after my previous problem with the same program, but I've spent almost my entire day after getting home trying to fix this with no success. The problem is that when I'm creating a list of dec classes, the arraylist ids and deci are not being created with anything in them. The output I get is just the very first info "You are to report to Claudius in the throne room. What do you do?"
-- snip --
The only thing my main does is create a game object.
For my English project on Hamlet I am making a game where you are presented with some story information and then make a choice. Instead of putting everything into the code itself I decided to have it read from a text file. My problem is that I am currently getting a NullPointerException. Normally I would try to fix this myself, but I'm getting it in the part of the code that my Comp Sci teacher gave us specifically to allow us to do stuff without learning IO, even thou he did encourage us to try.
--- snip ---
The place where I am getting the error is Line 52 in the IO code, where it says "try{return in.nextLine();}"
try{in = new Scanner(new FileInputStream(name));}
catch(java.io.FileNotFoundException e){}
Free her.
Taunting wasn't as entertaining as I thought it would be. I feel robbed. ヽ༼ຈل͜ຈ༽ノ RIOT ヽ༼ຈل͜ຈ༽ノ
Spoiler: The horror which is Jovencoting (click to show/hide)
Free the Witch.
We may choose not to learn from her, but it's nice to have the option.
I've recently been playing around with creating and joining threads in static initialization/deinitialization (C++). That is, pre-main and post-main. Short version: don't do it. Even if it works in one case, it will probably fail randomly somewhere down the line, and it's probably not portable.
don't do it.
Dwarf Fortress: Cut the trees and dig the stones, Scream as goblins break your bones.
Elegance and Presence for new hats.
*pulls out a/the swiss army knife of regular expressions*My antipathy for symbols in code is pretty high.*menacingly waves Perl at you*
* SolarShado crosses fingers hoping for a devArt link
http://real-fiduciose.deviantart.com/art/The-conductor-70376021
But shouldn't you write source code fully and have a minimizer shorten the production code? @_@(I should probably note that I am far from an expert on Javascript/minimization.)
In general I agree, but with jQuery it's so common to use $ instead of jQuery that a lot of people probably don't even realize you can use jQuery instead. It's also pretty nice to type $ instead of jQuery when you have to write a lot of code with it.
Having said that, I've never seen the notation of just tossing a function inside of $() and expecting it to behave like $(document).ready(). I really don't like that and do prefer the more verbose option.
It's quite possible to write unreadable JavaScript codeFTFYwhen using jQuery.