diki said things, quoting on phone is hard
And MSG isn't bad for you!!!
diki said things, quoting on phone is hard
And MSG isn't bad for you!!!
At 12/13/14 11:07 AM, Diki wrote: fats/carbs make you fat, people can be genetically fat, eggs raise cholesterol, egg yolks are unhealthy, red meat gives you cancer
These drive me insane holy shit.
At 12/13/14 12:01 PM, MSGhero wrote:diki said things, quoting on phone is hard
So when's the NG BBS app coming?
At 12/13/14 05:30 PM, Sam wrote: So when's the NG BBS app coming?
Ask Tom. "Work in progress."
Also @Diki my mental image of you was Bruce Campbell, so the 5 foot 6 kinda ruined that.
At 12/13/14 05:57 PM, MSGhero wrote: Ask Tom. "Work in progress."
I suppose if a redesign is coming they'd want the same styles across the different platforms so it could be waiting on that.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/13/14 05:30 PM, Sam wrote: So when's the NG BBS app coming?
I'm working on the next best thing: a Greasemonkey/Tampermonkey script to enhance the BBS with many new features, such as, but certainly not limited to, a post preview, the ability to hide some or all signatures, and customisation of the BBS layout. And even some tools for us mods.
It's in an alpha stage right now so I won't be posting it but I should have something released by early-January (unless I step on a landmine or get hit by a herd of rampaging elephants).
I am also open to any suggestions. :)
At 12/13/14 06:21 PM, MSGhero wrote: Also @Diki my mental image of you was Bruce Campbell, so the 5 foot 6 kinda ruined that.
You can think of me as one of the small evil Ash clones. But it's still my mother's fault: everyone on her side of the family is quite short (my grandfather was like 5'4").
At least I don't have to worry about bumping my head into shit or people asking me to grab things from high up.
At 12/14/14 03:07 AM, egg82 wrote: Read all of Diki's post. I don't really have anything to comment on it, though, so yeah.
Just figured I'd let you know I'm not ignoring you :)
S'all good. Eat those veggies and stay healthy, brother.
At 12/14/14 03:46 AM, Diki wrote: At least I don't have to worry about bumping my head into shit or people asking me to grab things from high up.
6'1"
I used to live in a place with a low ceiling down a flight of stairs. I also used to like jumping down stairs.
Ow.
I work in phones and tablets and things, and something I heard a couple days ago that made me very upset was this:
A laptop-tablet with a (not detachable) keyboard that can run an unprecedented four apps at the same time!
Congratu-fucking-lations, you created a shitty laptop.
Seriously, though. What the hell happened that it's amazing for a laptop-tablet thing to run four programs at once? When did we take this weird step backward nobody mentioned that we could only have one running? And why is this all of a sudden a huge selling point?
Whatever, I'll take my way-overpowered PC and laptop elsewhere, I can see we're not welcome here in this new age of "smart" things.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
I once ran four applications on a computer and someone ended up calling the fire department because of all the smoke and fire bellowing out of the machine. Never run four apps!
At 12/14/14 04:20 AM, Diki wrote: I once ran four applications on a computer and someone ended up calling the fire department because of all the smoke and fire bellowing out of the machine. Never run four apps!
http://media.giphy.com/media/CNhA74HXGqFOg/giphy.gif
Decided to "roll my own" key exchange/handshake for my AIR game. Wish me luck!
I think I'll just go the Diffie-Hellman route, seems pretty simple and I really don't need anything terribly complex.
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/14/14 04:20 AM, Diki wrote: I once ran four applications on a computer and someone ended up calling the fire department because of all the smoke and fire bellowing out of the machine. Never run four apps!
This reminds me of a computer aptitude test I took in 9th grade. One question was "How many windows maximum can Windows 95 run at the same time?" This was 7 years ago. I still don't know what the answer is, mainly because it's impossible to search "windows" without meaning "Windows" in the tech world. The class was about not Win 95 btw.
At 12/15/14 01:27 AM, MSGhero wrote: This was 7 years ago. I still don't know what the answer is
The answer was 95.
What a rabbit hole I've gone down.
The Diffie-Hellman key exchange requires a large prime number (which is easy with a Sieve of Atkin) and a primitive root mod prime number which is difficult to guess but can be gained through guessing of random numbers.
The problem is checking this primitive root requires some seriously complicated number theory and everyone's using terminology I either completely don't understand or barely understand.
Thankfully the math after this is fairly simple so that's nice. But yeah. How the fuck do I translate all this math speak into code?
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/15/14 02:27 AM, egg82 wrote: Thankfully the math after this is fairly simple so that's nice.
How the fuck do I translate all this math speak into code?
Apparently fairly simply.
At 12/15/14 02:33 AM, Sam wrote: Apparently fairly simply.
I said AFTER this :P
Anyway, I got it. Don't ask how, just go with it. I barely know how it all works.
var p:uint = RegMath.normalizedSieve[Util.betterRoundedRandom(0, RegMath.normalizedSieve.length)];
var g:uint = AtkinSieve.getRandomPrimitiveRoot(p);
var a:uint = Util.betterRoundedRandom(0, g);
var b:uint = Util.betterRoundedRandom(0, g);
var aa:uint = (g ^ a) % p;
var bb:uint = (g ^ b) % p;
trace(p + " - " + g + " - " + a + " - " + b);
trace(aa);
trace(bb);
trace((bb ^ a) % p);
trace((aa ^ b) % p);
output:
203857 - 177211 - 3907 - 5192
179064
172147
175920
175920
sauce: http://pastebin.com/CL3wFBqQ
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/15/14 03:10 AM, egg82 wrote:At 12/15/14 02:33 AM, Sam wrote: Apparently fairly simply.I said AFTER this :P
I had to write a functional programming implementation of the original sieve algorithm in my second year, might try atkin's sieve.
egg82.objects.Util;
Where's your GitHub? I want to download this Util package ;)
At 12/15/14 04:23 AM, Sam wrote: I had to write a functional programming implementation of the original sieve algorithm in my second year, might try atkin's sieve.
It's fast. I ripped that code right from wikipedia anyway.
Where's your GitHub? I want to download this Util package ;)
Hah. Oh, god, that class is such a mess. I just dumped a bunch of useful functions in there and called it good. It's not quite finished, even.
Here's the file
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/15/14 10:31 AM, egg82 wrote: Hah. Oh, god, that class is such a mess. I just dumped a bunch of useful functions in there and called it good. It's not quite finished, even.
Here's the file
Why did you make timedFunction() when setTimeout() already exists?
At 12/15/14 10:53 AM, Diki wrote: Why did you make timedFunction() when setTimeout() already exists?
Because I had no idea that existed. Well, the more you know!
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/15/14 11:24 AM, egg82 wrote: Because I had no idea that existed. Well, the more you know!
It is certainly an easy to miss function given how poorly named it is, but that's ECMAScript for you.
I like the background, makes NG feel less cramped.
game output, yay!
[INFO] Server opened
[INFO] Client connected
Client: Handshake request sent
Server: 4 bytes
Server: Handshake request received
Server: Handshake FCG sent
Client: 12 bytes
Client: Handshake FCG received
Client: Handshake sent
Server: 8 bytes
Server: Handshake received
Server: Handshake sent
Server: Handshake is 872563, 475618, 414536
Client: 8 bytes
Client: Handshake received
Client: Handshake is 872563, 475618, 414536
[INFO] Client closed
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
Whoa, we got renamed to "Game Development"
.. Which now includes all other programming languages. So this is a forum about theories and concepts in varying languages.
Alright, I'm behind that.
Now we need to rename this thread to "The Game Development 'Reg' Lounge"
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/17/14 11:28 AM, egg82 wrote: Whoa, we got renamed to "Game Development"
.. Which now includes all other programming languages. So this is a forum about theories and concepts in varying languages.
Alright, I'm behind that.
Now we need to rename this thread to "The Game Development 'Reg' Lounge"
I'd be sad if the flash reg lounge was gone, even if it was just renamed.
At 12/17/14 12:24 PM, MSGhero wrote:At 12/17/14 11:28 AM, egg82 wrote: Now we need to rename this thread to "The Game Development 'Reg' Lounge"I'd be sad if the flash reg lounge was gone, even if it was just renamed.
If you guys want to rename the thread we could do that, although it's also nice to have the traditional Flash Reg Lounge... If a lot of you are using other tools nowadays, though....
The whole idea of renaming this forum had come up a ways back and people were onboard then but I was also gunshy about the idea of wrecking the Flash forum. We're about to add forum links to the individual content hubs though and "Flash Forum" felt way too limited for the Games hub.. But having Flash AND Game Dev forums also felt like overkill. We're gonna be locking the Mobile and Games Factory forums, so ALL game dev discussion can feel at home here.
At 12/17/14 01:57 PM, TomFulp wrote:At 12/17/14 12:24 PM, MSGhero wrote:If you guys want to rename the thread we could do that, although it's also nice to have the traditional Flash Reg Lounge... If a lot of you are using other tools nowadays, though....At 12/17/14 11:28 AM, egg82 wrote: Now we need to rename this thread to "The Game Development 'Reg' Lounge"I'd be sad if the flash reg lounge was gone, even if it was just renamed.
I was half-joking about the thread re-name, though I suppose it really doesn't matter either way. Still the same thread and the same people. Might get some fresh blood into the whole area, though, with all the other forums being closed down. Should be nice; I might actually start helping out again.
I just get too frustrated at the sheer amount of "error 1009" and "give me AS2 codes plox" threads >:(
Edit: After digging around my old posts I found some delicious irony
http://www.newgrounds.com/bbs/topic/815154#bbspost14642630_post_text
Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P
At 12/17/14 01:57 PM, TomFulp wrote: The whole idea of renaming this forum had come up a ways back and people were onboard then but I was also gunshy about the idea of wrecking the Flash forum.
Don't forget to change the description for the Programming forum; it still references Flash. :)
At 12/17/14 02:17 PM, Diki wrote:At 12/17/14 01:57 PM, TomFulp wrote: The whole idea of renaming this forum had come up a ways back and people were onboard then but I was also gunshy about the idea of wrecking the Flash forum.Don't forget to change the description for the Programming forum; it still references Flash. :)
Good call! Updated. Hopefully they don't get flooded with Actionscript talk now... I suppose if it isn't game related it could be fine now.
At 12/17/14 02:10 PM, egg82 wrote: Edit: After digging around my old posts I found some delicious irony
http://www.newgrounds.com/bbs/topic/815154#bbspost14642630_post_text
I love reading old regs' old posts. It's like "I was a child and grew up after 7 years."
@rustygames
The flash reg lounge thread is finally the most popular thread in the forum view rather than those random ones with too many replies.