Forum Topic: The Flash 'Reg' Lounge

(806,485 views • 52,976 replies)

This topic is 1,766 pages long. [ 16971,394 | 1,395 | 1,3961,5811,766 ]

<< < > >>
None

Amish

Reply To Post Reply & Quote

Posted at: 11/28/08 07:22 PM

Amish NEUTRAL LEVEL 16

Sign-Up: 03/13/03

Posts: 2,989

OMFG HAIII!!!


None

MichaelHurst

Reply To Post Reply & Quote

Posted at: 11/28/08 07:25 PM

MichaelHurst FAB LEVEL 23

Sign-Up: 04/18/07

Posts: 4,625

At 11/28/08 07:22 PM, Amish wrote: OMFG HAIII!!!

O hai. Do you how do?

Modest Mouse, The Shins, Bedouin Soundclash, Cloud Cult, Shiny Toy Guns, and The American Analog Set.
Listen to them.

BBS Signature

None

Amish

Reply To Post Reply & Quote

Posted at: 11/28/08 07:34 PM

Amish NEUTRAL LEVEL 16

Sign-Up: 03/13/03

Posts: 2,989

I R GOOOD TNKZ. IT HAS BIN TYM!?!?!?


None

liaaaam

Reply To Post Reply & Quote

Posted at: 11/29/08 05:38 AM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,546

At 11/28/08 12:27 PM, GustTheASGuy wrote: str.charCodeAt (i).toString (2)

Yes, well done, that's what I did. Why are you pointing that out?

Your control is gonna do you a whole lot of good when I can write five times shorter code in OCaml that is twice as efficient as C++ directly.

Want to try? c:<

OCaml sample code:

let average a b =
  let sum = a +. b in
  sum /. 2.0;;

You can shorten your code all you want, I prefer to have readable code. Also how is it more efficient? All the references I have found from Googling show that OCaml code is slower than C++ compiled code (apparantly gcc produces the fastest and OCaml the 2nd fastest), and speed comparisons on other sites have further shown that.


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 11/29/08 11:42 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,430

I took the liberty of, uh, not writing my counter in OCaml for you have such sensitive eyes. (Or rather Haskell is more readable to show what functional programming does.)

import Char

bin 0 = "0"
bin 1 = "1"
bin n | n > 1 = bin (div n 2) ++ bin (mod n 2)

padnum s | length s < 8 = replicate (length s - 8) '0' ++ s

unbin = fst . foldr (\n (sum, pos) -> (sum + digitToInt n * pos, pos*2)) (0, 1)

charstobin = unwords . map (padnum . bin . ord)
bintochars = map (chr . unbin) . words

Two lines of code (with the import) if they weren't functions. :D

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

liaaaam

Reply To Post Reply & Quote

Posted at: 11/29/08 12:10 PM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,546

At 11/29/08 11:42 AM, GustTheASGuy wrote: I took the liberty of, uh, not writing my counter in OCaml for you have such sensitive eyes.

If you call that readable then you really are very strange.


None

citricsquid

Reply To Post Reply & Quote

Posted at: 11/29/08 12:32 PM

citricsquid DARK LEVEL 23

Sign-Up: 06/25/05

Posts: 16,128

At 11/28/08 07:22 PM, Amish wrote: OMFG HAIII!!!

ohmy.
Didn't you die?!


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 11/29/08 01:13 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,430

STFU noobs we're dickfencing!

You're just lazy to study it.

unbin = fst . foldr (\n (sum, pos) -> (sum + digitToInt n * pos, pos*2)) (0, 1)

function unbin (str) // strings are lists of chars in Haskell
{
  var sum = 0;
  var pos = 1; // this is the initial data passed to the fold = (0, 1)
  
  while (str.length)
  { // this is the fold
    sum += Number (str.pop ()) * pos; // foldr grabs the rightmost element = pop
    pos *= 2; // function returns the new tuple (sum + rightmost, pos*2)
  }
  
  return sum; // return the first value of the tuple = fst . foldr = fst (foldr (str))
}

Of course you find the imperative destructive version more straightforward but it's not. Functional function functions are mostly evident because definitions are short and abstract while imperative functions might go into twenty lines of code to do the same which you have to follow through to understand shit. http://thedailywtf.com/Articles/nice_num ,-mean_programmer.aspx

The C vs Haskell quicksort is a popular example (though it's an array vs a linked list).

I can write language interpreters in under 500 lines that outperform certain Macromedia/Adobe programs, coughcough, which they have to throw money at to get anywhere with; if anyone wants to add to mine they only need ten minutes to skim through it to see everything.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Amish

Reply To Post Reply & Quote

Posted at: 11/29/08 02:48 PM

Amish NEUTRAL LEVEL 16

Sign-Up: 03/13/03

Posts: 2,989

At 11/29/08 12:32 PM, citricsquid wrote:
At 11/28/08 07:22 PM, Amish wrote: OMFG HAIII!!!
ohmy.
Didn't you die?!

ERMM NAWW, I IZ STILL A LIVE!!!


None

Amish

Reply To Post Reply & Quote

Posted at: 11/29/08 06:32 PM

Amish NEUTRAL LEVEL 16

Sign-Up: 03/13/03

Posts: 2,989

At 11/29/08 02:48 PM, Amish wrote:
At 11/29/08 12:32 PM, citricsquid wrote:
At 11/28/08 07:22 PM, Amish wrote: OMFG HAIII!!!
ohmy.
Didn't you die?!
ERMM NAWW, I IZ STILL A LIVE!!!

HHELLO NME, I SO ISzFUKED RITE OWNOW, EPIPOD LOLOLOLOLOL. HAHHHHHA


None

Depredation

Reply To Post Reply & Quote

Posted at: 11/30/08 07:14 AM

Depredation LIGHT LEVEL 17

Sign-Up: 09/05/05

Posts: 4,782

At 11/29/08 06:32 PM, Amish wrote: HHELLO NME, I SO ISzFUKED RITE OWNOW, EPIPOD LOLOLOLOLOL. HAHHHHHA

We can tell.

Programming Preferences

AS is moving in a more advanced direction, slowly albeit. I really need to get off my arse and learn something else then a web based language. Anyone got any good suggestions on where to move on from AS? I was thinking java then C++ and mabye some C#, but you guys know better than me.

Left4Dead

I've been playing with sir toast a lot recently, so if anyone else here has it (pc), pm me and we can mercilously kill hundreds of zombies together :).

If you don't have it, get it. If you've got some good people to play with, it's endlessly fun.

Auditorium

I stumbled across this cool little puzzle game. You have to manipulate the sound stream to create a symphony of sound. It strikes a good balance between art, sound design and gameplay that i rarely see in flash games.

Anyway, pic below.

The Flash 'Reg' Lounge

BBS Signature

None

citricsquid

Reply To Post Reply & Quote

Posted at: 11/30/08 08:08 AM

citricsquid DARK LEVEL 23

Sign-Up: 06/25/05

Posts: 16,128

At 11/30/08 07:14 AM, Depredation wrote: Left4Dead

I've been playing with sir toast a lot recently, so if anyone else here has it (pc), pm me and we can mercilously kill hundreds of zombies together :).

If you don't have it, get it. If you've got some good people to play with, it's endlessly fun.

Toast sucks ;)
We went through easy to get achievements, I got STAND TALL because I never got knocked down :D I only lost ~30HP and everyone else was in red :P We also got the "Don't use healthpacks" one.

What's your steam ID?


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 11/30/08 09:40 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,430

At 11/30/08 07:14 AM, Depredation wrote: AS is moving in a more advanced direction, slowly albeit. I really need to get off my arse and learn something else then a web based language. Anyone got any good suggestions on where to move on from AS? I was thinking java then C++ and mabye some C#, but you guys know better than me.

Time to learn a number of programming languages t = \n -> n ? 1/n + t n-1 : 1. Learn anything at all. haXe, Processing, Python, Ruby.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

liaaaam

Reply To Post Reply & Quote

Posted at: 11/30/08 11:21 AM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,546

At 11/30/08 09:40 AM, GustTheASGuy wrote: Time to learn a number of programming languages t = \n -> n ? 1/n + t n-1 : 1. Learn anything at all. haXe, Processing, Python, Ruby.

I'm pretty sure he meant a real programming language, haXe is for web programming, Ruby isn't really used for application development, Processing is also mainly for web apps (I like the language but it is java based) and Python is also not really used for application development.

I suggest C++ ;)


None

Depredation

Reply To Post Reply & Quote

Posted at: 11/30/08 11:53 AM

Depredation LIGHT LEVEL 17

Sign-Up: 09/05/05

Posts: 4,782

At 11/30/08 11:21 AM, liaaaam wrote: I suggest C++ ;)

Yeah, i meant something that i can use on a higher level than web based stuff. I know html, as3, php, and a bit of java, a tiny bit. I'll probably get a book on C++ for xmas. To get me started. Anyone know of any good sites for some tutorials?

At 11/30/08 08:08 AM, citricsquid wrote: Toast sucks ;)
We went through easy to get achievements, I got STAND TALL because I never got knocked down :D I only lost ~30HP and everyone else was in red :P We also got the "Don't use healthpacks" one.

Yeah, i played through for a few achievements with toast. We ended up getting raped by a boomer and losing the health one after about 5 seconds :P.

What's your steam ID?

Occlusion or Depredation06. Anyone can add me if you've got steam, the more the merrier :).

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 11/30/08 11:53 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,430

At 11/30/08 11:21 AM, liaaaam wrote: I'm pretty sure he meant a real programming language, haXe is for web programming, Ruby isn't really used for application development, Processing is also mainly for web apps (I like the language but it is java based) and Python is also not really used for application development.
I suggest C++ ;)

lolol Ruby and Python are around the top ten most popular languages. I suggested Processing because it *is* Java. C++ is also used for web stuff not less than Perl, Ruby or Python. The meaning of 'web' becomes indistinguishable as for example I can use haXe for both C++ and Flash/PHP/Neko.

Dep: if you think we're talking about a useless load of languages refer to the above function. ;D

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Toast

Reply To Post Reply & Quote

Posted at: 11/30/08 12:50 PM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,929

At 11/30/08 08:08 AM, citricsquid wrote:
At 11/30/08 07:14 AM, Depredation wrote: Left4Dead

I've been playing with sir toast a lot recently, so if anyone else here has it (pc), pm me and we can mercilously kill hundreds of zombies together :).

If you don't have it, get it. If you've got some good people to play with, it's endlessly fun.
Toast sucks ;)
We went through easy to get achievements, I got STAND TALL because I never got knocked down :D I only lost ~30HP and everyone else was in red :P We also got the "Don't use healthpacks" one.

Yea sucks that someone threw a molotov on us so no one got the friendly fire achievement. Now I just need no damage taken from special zombies and no friendly fire, then the only achievements left are the ones on expert. I think I pretty much got everyone here on steam, if I missed someone add me.


None

UnknownFury

Reply To Post Reply & Quote

Posted at: 11/30/08 12:54 PM

UnknownFury EVIL LEVEL 26

Sign-Up: 08/10/05

Posts: 6,027

At 11/30/08 12:50 PM, Toast wrote: I think I pretty much got everyone here on steam, if I missed someone add me.

What's your steamID? I haven't got L4D (yet) but I've got tones of other games.

Portfolio(Under construction): UnknownFury.com |
Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com
Follow me on twitter!


None

funkycaveman

Reply To Post Reply & Quote

Posted at: 11/30/08 12:58 PM

funkycaveman FAB LEVEL 20

Sign-Up: 06/10/08

Posts: 2,763

steamID: funkycaveman

i heard l4d wasnt as good as it could have been (short story and does not take full advantage of source engine with physics, unbalanced versus multiplayer) but apart from that its a fun game, i havnt got it tho :( there are lots of other games in the holiday season that are more worth 60 bucks (30 quid)

BBS Signature

None

Depredation

Reply To Post Reply & Quote

Posted at: 11/30/08 04:07 PM

Depredation LIGHT LEVEL 17

Sign-Up: 09/05/05

Posts: 4,782

At 11/30/08 12:58 PM, funkycaveman wrote: i heard l4d wasnt as good as it could have been (short story and does not take full advantage of source engine with physics, unbalanced versus multiplayer) but apart from that its a fun game, i havnt got it tho :( there are lots of other games in the holiday season that are more worth 60 bucks (30 quid)

Don't pay any attention to the gametrailers review (which i'm gathering is what you based your opinion on). It's an awesome game, and i don't know what they are talking about with the physics. Walls smash down realistically, doors gradually get battered down, effects are fantastic and verus is completely fair, since both teams get to be the infected, it is just a matter of who is the better team. Gametrailers are pretty bad at reviewing, from most of their reviews they seem to forget than a lot of games are intended to be played more than once. I really recommend it, once you get into expert mode, it is an absolute blast, and whenever you die you just marvel at the awesomeness of being mauled by 100s of zombies :D.

I added you btw.
BBS Signature

None

NextToNothing

Reply To Post Reply & Quote

Posted at: 11/30/08 04:19 PM

NextToNothing NEUTRAL LEVEL 02

Sign-Up: 02/21/06

Posts: 1,507

Will one of you kind programmers inform me as to how stressful a for loop is on performance?
Say I have 200 lines of code then put in a for loop that's checking 6 points will that drop the frame rate a lot? anymore than a shapeflag checking 6 points or is it the same thing stress wise on framerate?

I'm cool now... Right guys?... Guys?
Art Thread So I don't Lose It >:(

BBS Signature

None

Toast

Reply To Post Reply & Quote

Posted at: 11/30/08 04:26 PM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,929

The thing I find annoying about l4d is that it can be a very awesome game, but 80% of the time it won't be awesome at all cause you're just gonna be waiting for lobby leader to find a decent server, or try to find teams where they actually don't friendly fire you every 2 seconds etc.

singleplayer is pretty crap, there's no point in playing it. So if you want to really enjoy that game you gotta have a lot of friends on steam who are good at the game.


None

25272D

Reply To Post Reply & Quote

Posted at: 11/30/08 04:31 PM

25272D NEUTRAL LEVEL 02

Sign-Up: 10/22/08

Posts: 353

At 11/30/08 04:26 PM, Toast wrote: The thing I find annoying about l4d is that it can be a very awesome game, but 80% of the time it won't be awesome at all cause you're just gonna be waiting for lobby leader to find a decent server, or try to find teams where they actually don't friendly fire you every 2 seconds etc.

Seriously Adam, don't use the fucking lobbys. I can't believe people actually do.

Open up the game, open the console using ¬ (below escape) then type "openserverbrowser" without the "s and choose the server you want to play on. Join servers with a good latency and players... Lobbys are painful to use.


None

K-Guare

Reply To Post Reply & Quote

Posted at: 11/30/08 04:36 PM

K-Guare FAB LEVEL 17

Sign-Up: 05/23/08

Posts: 2,436

Wow, i'm surprised how many people here have Steam.
Before i made this K-Guare account, i was pretty much obsessed with Garry's Mod.

My friend and i even owned a server, but,
it was WAAY too much maintenance for all the 'cool' whiny 12 year old fat kids
that take a visit onto you and crash your server.

I play every once in a while, but Flash is 10,000 better of a hobby than Gmod.

dr. seuss
"unless someone like you cares a whole awful lot, nothing is going to get better. it's not."

BBS Signature

None

Duchednier

Reply To Post Reply & Quote

Posted at: 11/30/08 05:09 PM

Duchednier LIGHT LEVEL 17

Sign-Up: 06/14/05

Posts: 1,265

Hey guys how often does Tom usually check his mail? I'm just curious because I sent him my flash movie (as it was over 10 megs) and I'm wondering when I can expect a reply from him.

BBS Signature

None

liaaaam

Reply To Post Reply & Quote

Posted at: 11/30/08 05:31 PM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,546

At 11/30/08 04:19 PM, NextToNothing wrote: Will one of you kind programmers inform me as to how stressful a for loop is on performance?
Say I have 200 lines of code then put in a for loop that's checking 6 points will that drop the frame rate a lot? anymore than a shapeflag checking 6 points or is it the same thing stress wise on framerate?

It really depends.. but for loops are an integral part of programming, just test your flash and you shouldn't notice any lag.

My steam is rawrliam I think.. Steam is stupid when it comes to user accounts, I have 3 different usernames so I have no idea which is the one that you add me with. I don't have L4D, all my friends do so I play it on their PCs and with their accounts, lol. The lobby system doesn't seem too slow to me, I like the whole lobby thing.. that's one of the pluses of consoles online multiplayer over PCs, like with Call of Duty 4 I can just choose the match type and play whereas on PC it's a list of server names, I select a Team Deathmatch server and it loads up Headquarters >.> Annoying :P


None

UnknownFury

Reply To Post Reply & Quote

Posted at: 11/30/08 05:56 PM

UnknownFury EVIL LEVEL 26

Sign-Up: 08/10/05

Posts: 6,027

At 11/30/08 04:36 PM, K-Guare wrote: Wow, i'm surprised how many people here have Steam.
Before i made this K-Guare account, i was pretty much obsessed with Garry's Mod.

gMod is hot. Fort wars ftw.

At 11/30/08 05:31 PM, liaaaam wrote: My steam is rawrliam I think.. Steam is stupid when it comes to user accounts, I have 3 different usernames so I have no idea which is the one that you add me with.

Yeah, I had that problem. Its not rawrliam. If you go view > settings > account it'll tell you ;)

Portfolio(Under construction): UnknownFury.com |
Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com
Follow me on twitter!


None

liaaaam

Reply To Post Reply & Quote

Posted at: 11/30/08 06:01 PM

liaaaam NEUTRAL LEVEL 22

Sign-Up: 12/11/04

Posts: 14,546

At 11/30/08 05:56 PM, UnknownFury wrote: Yeah, I had that problem. Its not rawrliam. If you go view > settings > account it'll tell you ;)

liam2950 it is, then, lol :p


None

funkycaveman

Reply To Post Reply & Quote

Posted at: 11/30/08 06:11 PM

funkycaveman FAB LEVEL 20

Sign-Up: 06/10/08

Posts: 2,763

At 11/30/08 04:07 PM, Depredation wrote:
At 11/30/08 12:58 PM, funkycaveman wrote: i heard l4d wasnt as good as it could have been (short story and does not take full advantage of source engine with physics, unbalanced versus multiplayer) but apart from that its a fun game, i havnt got it tho :( there are lots of other games in the holiday season that are more worth 60 bucks (30 quid)
Don't pay any attention to the gametrailers review (which i'm gathering is what you based your opinion on). It's an awesome game, and i don't know what they are talking about with the physics. Walls smash down realistically, doors gradually get battered down, effects are fantastic and verus is completely fair, since both teams get to be the infected, it is just a matter of who is the better team. Gametrailers are pretty bad at reviewing, from most of their reviews they seem to forget than a lot of games are intended to be played more than once. I really recommend it, once you get into expert mode, it is an absolute blast, and whenever you die you just marvel at the awesomeness of being mauled by 100s of zombies :D.

I added you btw.

yea i also saw the G4 xplay review and they said fantstic writing and modern zombies are fun 5/5, so i was just expressing some of the view in yes the GT review but i havnt played it and i probs wont :( but there you go, thanks for the add, maybe play a game of something, i should rele get some more pc games that work with steam!

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 01:49 AM

<< Back

This topic is 1,766 pages long. [ 16971,394 | 1,395 | 1,3961,5811,766 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!