My Not-A-Phalla game needs replacements (one inactive and needing replacement immediately, and I can sub in others for folks that are playing but don't have the time coming up shortly).
About 45 minutes until I take the exam again. I feel more confident than I was before... But I'm still scared shitless. I don't want to be out $300 again.
My Not-A-Phalla game needs replacements (one inactive and needing replacement immediately, and I can sub in others for folks that are playing but don't have the time coming up shortly).
Success! Got a 70% on the exam. Woo! Lots of weight off my shoulders.
Congratulations. Aside from the certification, did you find the time studying was worth it for what you learned or was the piece of paper the bulk of what you got out of it?
My Not-A-Phalla game needs replacements (one inactive and needing replacement immediately, and I can sub in others for folks that are playing but don't have the time coming up shortly).
I'd sign up if I wasn't heading out of town for work. It sounds interesting enough.
I think that the internet has been for years on the path to creating what is essentially an electronic Necronomicon: A collection of blasphemous unrealities so perverse that to even glimpse at its contents, if but for a moment, is to irrevocably forfeit a portion of your sanity.
Xbox - PearlBlueS0ul, Steam
If you ever need to talk to someone, feel free to message me. Yes, that includes you.
Success! Got a 70% on the exam. Woo! Lots of weight off my shoulders.
Congratulations. Aside from the certification, did you find the time studying was worth it for what you learned or was the piece of paper the bulk of what you got out of it?
I did learn a lot. However the test was definitely BS. I mean 99% of the questions you could figure out with Netbeans or Eclipse within 5 seconds.
Monkey Ball WarriorA collection of mediocre hatsSeattle, WARegistered Userregular
edited May 2012
None *might* show up in the dict if I'm not careful because it's filled from data parsed from a csv and who knows wtf might be in there if something goes wrong.
So after parsing it I'll just ensure None is not a key, and if it is complain and give up. I'm already checking to make sure it isn't empty...
Monkey Ball Warrior on
"I resent the entire notion of a body as an ante and then raise you a generalized dissatisfaction with physicality itself" -- Tycho
None *might* show up in the dict if I'm not careful because it's filled from data parsed from a csv and who knows wtf might be in there if something goes wrong.
So after parsing it I'll just ensure None is not a key, and if it is complain and give up. I'm already checking to make sure it isn't empty...
None is different from an empty string so the only way a CSV parser would put None is if you explicitly did so I would think.
0
Options
Monkey Ball WarriorA collection of mediocre hatsSeattle, WARegistered Userregular
edited May 2012
In case you are wondering why I am asking all these python questions, I'm writing a Naive Bayes classifier to study for my Web Data Analysis class. Interesting stuff.
edit: I fixed it, so now it agrees with the Wikipedia example. The bug was, on line 74 I needed to use the probability that something was in a class in general.
Monkey Ball Warrior on
"I resent the entire notion of a body as an ante and then raise you a generalized dissatisfaction with physicality itself" -- Tycho
What is the best way for asking for something until it is in a dictionary's keys in python? Like
key = 'roflroflrofl'
while (key not in someDict.keys()):
key = raw_input('Please input desired key: ')
print someDict[key]
Basically I'm not sure what to set key to to start with. This is sort of like a do-while I guess.
Don't start with a random key that may accidentally end up in the dictionary, instead ask for the key first and then enter the while loop.
khain on
0
Options
TrippyJingMoses supposes his toeses are roses.But Moses supposes erroneously.Registered Userregular
edited May 2012
So I'm starting work for class on a C# program with a GUI to handle booking passengers for an airline. The main problem here is, I have to hook it up to a database which will handle all the data. I don't know how or even where to start. Any clues on that note?
TrippyJing on
0
Options
GnomeTankWhat the what?Portland, OregonRegistered Userregular
So I'm starting work for class on a C# program with a GUI to handle booking passengers for an airline. The main problem here is, I have to hook it up to a database which will handle all the data. I don't know how or even where to start. Any clues on that note?
What database? Or are you asking which database to use?
You're best bet is to use an ORM like Entity Framework or nHibernate, but which one to use depends on which database you want/need to use. You can do pure ADO.NET to just do really raw database stuff, but I don't recommend it.
Almost always your class will be a little more specific on what they want you to do, database wise. Just ask them if they're not telling you much up front and see.
0
Options
TrippyJingMoses supposes his toeses are roses.But Moses supposes erroneously.Registered Userregular
Actually, yeah, never mind. Looks like I just skipped over a link which provides an example of what she wants us to do.
So for some reason, in Visual Studio 11, I cannot get my project to be read as a Visual Basic instead of C#. Does anyone know how to do this? My code generation gives me a xaml file and xaml.vb file... And I cannot get this project to read that so my click events aren't working.
Posts
Check the thread, give it a whirl!
Goooo urahonky! Dooo eeeet. You can do it!
Things are coming up honky!
Edit:
I have given it a whirl, and it is good stuff!
If you do join, hit me up, and I shall totally not lead you astray. Ha. Ha. Ha. Joke, ya?
Grats.
Congratulations. Aside from the certification, did you find the time studying was worth it for what you learned or was the piece of paper the bulk of what you got out of it?
I'd sign up if I wasn't heading out of town for work. It sounds interesting enough.
If you ever need to talk to someone, feel free to message me. Yes, that includes you.
Congrats man, good job!
I did learn a lot. However the test was definitely BS. I mean 99% of the questions you could figure out with Netbeans or Eclipse within 5 seconds.
Joe's Stream.
That would be wonderful.
Nintendo ID: Incindium
PSN: IncindiumX
I can't be bothered to look back through pages
Java 1.6 :P
Basically I'm not sure what to set key to to start with. This is sort of like a do-while I guess.
Don't call keys(), since you're now looking at a list and have to search it, instead of relying on the hashing of the key in the dict itself.
So after parsing it I'll just ensure None is not a key, and if it is complain and give up. I'm already checking to make sure it isn't empty...
None is different from an empty string so the only way a CSV parser would put None is if you explicitly did so I would think.
http://codepad.org/wRxkWKSx
It doesn't handle categorical data yet.
edit: I fixed it, so now it agrees with the Wikipedia example. The bug was, on line 74 I needed to use the probability that something was in a class in general.
Don't start with a random key that may accidentally end up in the dictionary, instead ask for the key first and then enter the while loop.
What database? Or are you asking which database to use?
You're best bet is to use an ORM like Entity Framework or nHibernate, but which one to use depends on which database you want/need to use. You can do pure ADO.NET to just do really raw database stuff, but I don't recommend it.
Never mind. The problem was me being an idiot. As usual.
Don't make the mistake thinking it is an exam that provides anything useful! :rotate:
Also my attempts at thread synchronization involve locks around objects. And never use more than 1 lock object usually.
Also thanks