Be a Supporter!

Programming Regs Lounge

  • 510,711 Views
  • 16,786 Replies
New Topic Respond to this Topic
Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-07-24 11:23:57 Reply

Ignoring the stupid memes this video is a pretty interesting talk on some goofy things JavaScript does (as well as Ruby).
And this post explains why JavaScript does the things that are outlined in the video.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-25 12:50:41 Reply

At 7/25/12 05:08 AM, citricsquid wrote: http://phpjs.hertzen.com/

good for some fun I gues, as the docs say it's not recommended for production env

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-25 19:01:39 Reply

What's up guys?


At least not a muffin.

BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-27 23:48:22 Reply

At 7/25/12 07:01 PM, doodle-bread14 wrote: What's up guys?

Posted 2 days ago. Embarrassing.
OT: Been making this site from like 9pm to now (almost 6am). Don't know how much longer can I last

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-28 08:35:59 Reply

At 7/27/12 11:48 PM, NinoGrounds wrote: Posted 2 days ago. Embarrassing.
OT: Been making this site from like 9pm to now (almost 6am). Don't know how much longer can I last

Having problems, huh? Me too.


At least not a muffin.

BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-28 10:20:49 Reply

At 7/28/12 08:35 AM, doodle-bread14 wrote: Having problems, huh? Me too.

Not really, just a lot of content.

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-28 10:44:21 Reply

At 7/28/12 10:20 AM, NinoGrounds wrote: Not really, just a lot of content.

Gzzbshgmdfck... And how's the website going?


At least not a muffin.

BBS Signature
Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-07-28 15:40:36 Reply

Last night I spent over 6 hours refactoring my SimpleJS JavaScript framework.
The new source code is here and I think it's a hell of an improvement.
This is the old source code for comparison.

That took a while, but it was totally worth it. :)

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-28 17:41:06 Reply

At 7/28/12 03:40 PM, Diki wrote: Last night I spent over 6 hours refactoring my SimpleJS JavaScript framework.
The new source code is here and I think it's a hell of an improvement.
This is the old source code for comparison.

That took a while, but it was totally worth it. :)

Wow... You certainly have talent. I don't know how a man can have nerves to make over 1000 lines of code. Congrats!
And for what did you make that framework? For a school project or something?


At least not a muffin.

BBS Signature
Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-07-28 18:44:18 Reply

At 7/28/12 05:41 PM, doodle-bread14 wrote: Wow... You certainly have talent. I don't know how a man can have nerves to make over 1000 lines of code. Congrats!
And for what did you make that framework? For a school project or something?

1,000 lines really isn't that much. A lot of that is also the comments; there's probably only about 600 lines of actual code.
And nope it's not for school; just something I made because I don't like how complicated vanilla JavaScript is, so I wrote a framework to simplify it without adding any custom wrappers like jQuery and MooTools do.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-28 21:36:32 Reply

At 7/28/12 10:44 AM, doodle-bread14 wrote:
At 7/28/12 10:20 AM, NinoGrounds wrote: Not really, just a lot of content.
Gzzbshgmdfck... And how's the website going?

Pretty good. Still have a lot to do though.

At 7/28/12 06:44 PM, Diki wrote: just something I made because I don't like how complicated vanilla JavaScript is, so I wrote a framework to simplify it without adding any custom wrappers like jQuery and MooTools do.

That's the spirit.

Going to make a little thingy now, I think I should be finished in 2 hours. Then I'll post it here.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-29 03:35:06 Reply

At 7/28/12 09:36 PM, NinoGrounds wrote: Going to make a little thingy now, I think I should be finished in 2 hours. Then I'll post it here.

2 hours my ass. I just spent 5 and half hours and I'm still on like 1/2. to be contiuned

kiwi-kiwi
kiwi-kiwi
  • Member since: Mar. 6, 2009
  • Offline.
Forum Stats
Member
Level 09
Programmer
Response to Programming Regs Lounge 2012-07-29 05:34:29 Reply

At 7/29/12 03:35 AM, NinoGrounds wrote:
At 7/28/12 09:36 PM, NinoGrounds wrote: Going to make a little thingy now, I think I should be finished in 2 hours. Then I'll post it here.

That white/blue combination is very heavy on the eyes while reading.
Try this

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-29 07:37:24 Reply

At 7/28/12 06:44 PM, Diki wrote: 1,000 lines really isn't that much. A lot of that is also the comments; there's probably only about 600 lines of actual code.
And nope it's not for school; just something I made because I don't like how complicated vanilla JavaScript is, so I wrote a framework to simplify it without adding any custom wrappers like jQuery and MooTools do.

I couldn't do better. And why does the code look similar to AS3?

To Ninogrounds:
kiwi-kiwi is right. The blue/white combination really stings the eyes. You could try the dark blue/light blue combination.


At least not a muffin.

BBS Signature
Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to Programming Regs Lounge 2012-07-29 12:06:49 Reply

At 7/29/12 07:37 AM, doodle-bread14 wrote: I couldn't do better. And why does the code look similar to AS3?

Dialects of EMCAScript.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-29 14:29:41 Reply

At 7/29/12 07:37 AM, doodle-bread14 wrote: kiwi-kiwi is right. The blue/white combination really stings the eyes. You could try the dark blue/light blue combination.
At 7/29/12 05:34 AM, kiwi-kiwi wrote: That white/blue combination is very heavy on the eyes while reading.
Try this

tell me about it. but that's what the employer wanted, because that are "their colors"

doodle-bread14
doodle-bread14
  • Member since: Jul. 25, 2012
  • Offline.
Forum Stats
Member
Level 04
Programmer
Response to Programming Regs Lounge 2012-07-29 14:58:10 Reply

At 7/29/12 02:29 PM, NinoGrounds wrote: tell me about it. but that's what the employer wanted, because that are "their colors"

Very well then.


At least not a muffin.

BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-29 17:41:36 Reply

thank me later

Programming Regs Lounge

Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-07-29 18:30:07 Reply

At 7/29/12 05:41 PM, NinoGrounds wrote: thank me later

Wow! Just wow!

Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-07-29 19:22:19 Reply

I'm guessing he bought it from this chick whom I found out about a few weeks ago.
Some guys are pretty damn desperate to have a girl touch them.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-29 19:47:01 Reply

At 7/29/12 06:30 PM, Jessii wrote:
At 7/29/12 05:41 PM, NinoGrounds wrote: thank me later
Wow! Just wow!

I know, I know

At 7/29/12 07:22 PM, Diki wrote: I'm guessing he bought it from this chick whom I found out about a few weeks ago.
Some guys are pretty damn desperate to have a girl touch them.

I strongly suggest that we LOIC that site

liljim
liljim
  • Member since: Dec. 16, 1999
  • Offline.
Forum Stats
Staff
Level 29
Blank Slate
Response to Programming Regs Lounge 2012-07-29 20:10:08 Reply

At 7/29/12 07:22 PM, Diki wrote: I'm guessing he bought it from this chick whom I found out about a few weeks ago.

Reminds me of this.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-30 17:40:28 Reply

At 7/29/12 08:10 PM, liljim wrote:
At 7/29/12 07:22 PM, Diki wrote: I'm guessing he bought it from this chick whom I found out about a few weeks ago.
Reminds me of this.

Yeah he's an idiot. But aside from that, I just noticed that YT video are now embed. Nice work.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-30 21:33:55 Reply

IE is a fucking moron, even if its newest version (10, it comes with win8).
Any suggestions on how to fix this site ? It looks fine in Chrome and FF
Linky to hi res: http://img687.imageshack.us/img687/1002/capturelqr.png

Programming Regs Lounge

Diki
Diki
  • Member since: Jan. 31, 2004
  • Offline.
Forum Stats
Moderator
Level 13
Programmer
Response to Programming Regs Lounge 2012-07-30 22:54:14 Reply

At 7/29/12 08:10 PM, liljim wrote:
At 7/29/12 07:22 PM, Diki wrote: I'm guessing he bought it from this chick whom I found out about a few weeks ago.
Reminds me of this.

Ahah. Definitely some weird folks out there.
And for the record, I don't know what show that is, but I saw Ricky Gervais, and Ricky Gervais is awesome.

At 7/30/12 09:33 PM, NinoGrounds wrote: IE is a fucking moron, even if its newest version (10, it comes with win8).
Any suggestions on how to fix this site ? It looks fine in Chrome and FF
Linky to hi res: http://img687.imageshack.us/img687/1002/capturelqr.png

As someone whose job it is to make websites I completely agree that IE is an absolute pile of shit, but unfortunately if you want to make websites or a living you have to learn how IE works.
I tried loading that site in IE9 and it certainly seems to be loading incorrectly; I do not know why though. Best advice I can give for writing IE compliant HTML is to treat your page like a series of boxes, and each box does not contain elements that extend its boundaries. IE doesn't like that.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-31 01:42:08 Reply

At 7/30/12 10:54 PM, Diki wrote: and each box does not contain elements that extend its boundaries. IE doesn't like that.

thanks

Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-07-31 20:13:51 Reply

On the IE subject: My Dad's email account somehow got hacked and it's the main account that controls everything for the phone and internet. My email address is also linked. So I was on the phone with tech support because I had reset passwords and whatnot as they said. Everything was fine but it really wasn't. They had no reason to believe that the account was hacked. The 2nd tech guy that I was talking to made the fatal mistake of telling me that I should use IE and not Chrome, to which I got really angry and kept telling him that I haven't used IE in years (I don't develop anymore) and will never use it again, especially on my work computer because it's so damn old that IE would be way too slow on that computer. So I almost got to the point of telling him to get his supervisor.

He didn't solve the problem but the next guy did and he even said it wasn't right of the other guy to even say that. I think I've had that 1 particular guy or someone like him in the past for whatever reason because I remember another tech guy at my cable company who told me that I should be using IE. Sure, they needed IE to set my DigiDo software for my Netgear router but I think the tech that came to reinstall the cable just had an IE preference.

Next time that happens and I have to call them for something internet related, which is extremely rare. It's usually something like the internet has been down and it's something to do with their end of things. I don't think a tech should force their opinion on someone like that. Boo!

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 20
Programmer
Response to Programming Regs Lounge 2012-07-31 20:40:28 Reply

At 7/31/12 08:13 PM, Jessii wrote: poo > IE

Why don't you develop anymore?
Aside from that. this guy is the man

Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Programming Regs Lounge 2012-08-01 16:48:49 Reply

At 7/31/12 08:40 PM, NinoGrounds wrote:
At 7/31/12 08:13 PM, Jessii wrote: poo > IE
Why don't you develop anymore?
Aside from that. this guy is the man

I don't do web crap anymore because I don't have the time, energy or interest.

Thegluestickman
Thegluestickman
  • Member since: Mar. 16, 2007
  • Offline.
Forum Stats
Member
Level 13
Game Developer
Response to Programming Regs Lounge 2012-08-01 17:03:08 Reply

I made a little program about a week or two ago. It picks a random person from an XML document and goes through the list and eliminates people until one remains. I uploaded it to CodePlex if any of you wanna have a look at the source code.

https://randompersongetter.codeplex.com/


To protect the world from devastation.
kidd25 is the best Newgrounder ever.

BBS Signature