Sonny

Sonny

Joined:
Apr 22, 2010
Occupation:
Programmer
Location:
Ohio

Activity Stream

Sonny   -  May 02, 2012
Wonderful new layout.
Sonny posted a Snippet  -  Nov 08, 2011
Sonny commented on a Snippet, AutoOper v1.0  -  Oct 27, 2011
Which is why I made sure that it's a valid url. It's nothing dynamic, so there's no need to do a check at all lol.
 Respond  
Sonny commented on a Snippet, AutoOper v1.0  -  Oct 27, 2011
They're essentially the same when used with links lol. /run will just open the default program, unless it's already open and your browser supports tabs, then it'll open in a tab.
 Respond  
Sonny posted a Snippet  -  Oct 26, 2011
Sonny commented on a Snippet, gettok function  -  Jul 26, 2011
It's used in python scripts to get a specific token within a string. It can be modified to get a specific token in any specific type, or multiple types. It can also be used to get the amount of tokens in the string, or if modified, the specific type.
 Respond  
Sonny commented on a Snippet, gettok function  -  Jul 26, 2011
Thanks, Aha2Y.
 Respond  
Sonny commented on a Snippet, gettok function  -  Jul 26, 2011
Why dots?
 Respond  
Sonny posted a Snippet  -  Jul 21, 2011
Sonny commented on a Snippet, Exceedingly Simple Away Script  -  May 17, 2010
lol @ napa.
 Respond  
Sonny commented on a Snippet, Hangman  -  May 16, 2010
hm.. never got that error. ;/ still not getting it. i'll look into it more, though. thank you for reporting it. and i did intend on having it use an external file to get words, but i kept getting an error. which i will fix once i can figure it out.
 Respond  
Sonny posted a Snippet  -  May 16, 2010
Sonny commented on a Snippet, Blackjack simplified  -  May 14, 2010
thanks for the feedback, i'll update it with a fix when i can.
 Respond  
Sonny posted a Snippet  -  May 14, 2010
Sonny posted a Snippet  -  May 13, 2010
Sonny commented on a Snippet, Simple Tic Tac Toe using pointers  -  May 12, 2010
lol. it's pretty easy to win. since the ai is flawed, as it follows a pattern. but thanks for trying it, and commenting.
 Respond  
Sonny posted a Snippet  -  May 12, 2010
Sonny commented on a Snippet, TicTacToe  -  May 12, 2010
I think it's pretty good, man. Sure, you could change some things here and there, but all in all, it's good.
 Respond  
Sonny commented on a Snippet, Simple Away Script (dialog and logs)  -  May 01, 2010
rofl.
 Respond  
Sonny posted a Snippet  -  Apr 25, 2010
Sonny commented on a Snippet, Guess My Number  -  Apr 25, 2010
Yeah, it looks good. I'm looking into it. Thanks. Qt is good as well, and that's what I've actually started in. So in some time, I'll expand onto bigger games, as well. Plus the language bindings are great, especially with Python. So, we'll see.
 Respond  
Sonny commented on a Snippet, Guess My Number  -  Apr 25, 2010
Yeah, it'll be cross platform. And, I don't even code on windows. One thing I learned is not to code platform specific unless necessary.
 Respond  
Sonny commented on a Snippet, Guess My Number  -  Apr 24, 2010
I might redo it with a nice, simple gui and a more advanced rand generator, as well as the ability to have the computer guess the number, instead of you.
 Respond  
Sonny commented on a Snippet, Multiplication Table  -  Apr 24, 2010
Fixed. The problem was I defined s as a const, when in fact I needed to increment it in the "rows" for loop.
 Respond  
Sonny commented on a Snippet, Guess My Number  -  Apr 24, 2010
I might addon to it, since now I'm doing intermediate visual apps.
 Respond  
Sonny posted a Snippet  -  Apr 24, 2010
Sonny posted a Snippet  -  Apr 24, 2010
Sonny posted a Snippet  -  Apr 24, 2010
Sonny commented on a Snippet, Prime Number checker  -  Apr 22, 2010
@jsg55 While I'm not a beginner to the language, I am still "learning". But, stronger codes that I do implement, like encryption key generators (in which I do use this function), I don't post. As I do not want it to be public code. I will post small/medium sized codes that will aide people in developing diverse and somewhat simliar codes. A lot of people just don't understand the use of prime numbers, or even more simplistic mathematical factions.
 Respond  
Sonny commented on a Snippet, Prime Number checker  -  Apr 22, 2010
@bielle It's useful if you're using it inline. It's not meant to return the prime number.
@ssimar If you're going to reply with a blatant, and disrespectful comment, don't bother leaving one.

A very useful resource in finding prime numbers is stronger encryption. As there are only so many factors when multiiplying them. When multiplying two prime numbers together instead of any two ordinary numbers, there are only four factors, making the encryption key stronger, which makes it harder to crack.
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.