« first day (1229 days earlier)      last day (3944 days later) » 

21:05
actually @Loktar there were only like 6 bugs :P
re-wrote like 1000 lines of code and only 6 typos / omissions
\o/ yay me!
forgot to export a module :P (hehehe)
steal js needs to be better at error messages
@rlemon that's basically why I love nodejs. Everything just works. The only errors I get are typos
@Retsam i'm more impressed the next article is titled "deep emo shit"
@FlorianMargaine well I kinda lied. I swallow DB errors.
no db writes are working :/
so there is that :P
@rlemon Haha, I didn't look at that one.
There's also the sequel If Kerouac Wrote Javascript, which has this gem:
function hacktorial(integette) {
  var nonthings = [undefined, null, false, 0, '', NaN];
  var resultution = 1;

  if (integette == 0) {
    //behold the strangerous zeroine!
    resultution = 1;
  } else {
    while (integette > 1)
    //caligulate by multicapables
    resultution = resultution * integette--;
  }

  with(resultution) {
    var duodismal =  Function('return this').call(toString(12));
    var disemvowel = Function("n","return n?parseInt(n,12):'0'")
    return [
      disemvowel(duodismal.slice(0,-1)),
21:13
Heh... disemvowel
(Does Caprica have any way of executing long snippets?)
user1596138
-1
Q: how can i make a yes or no radio on a form show a div?

Mrawesome4everI need help trying to make my form show a Div once they have checked yes or no. please help me. I have also spent a while on google trying to search how to do this but i couldnt find anything. <!doctype html> <html> <head> <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <scri...

user1596138
Ugh...
user1596138
AHH!!!
user1596138
0
Q: jQuery ajax, trouble keeping htm page inside div

Slev7nI'm retrieving a html page using jQuery get function and then append it to a div, every thing's fine, but when retrieved html page inside a div, redirects to another page (after few seconds), redirected page jumps out of a div and displays all over the document, like a normal html page. I WANT IT...

user1596138
21:13
So many much stupids!
> “When a man is tired of JAVA-SCRIPT, he is tired of LIFE”
@Retsam no
Anyways, the above program produces the factorial output in shillings and pence.
user1596138
Absolutely not. — Jhawins 4 secs ago
just a guess (because there is not enough information to actually help you) you are still submitting the page/form. probably a missing return false;rlemon 11 secs ago
21:20
> // Most numbers are goddamn phonies, I swear to God.
@Slev7n OKAY I think I understand your issue now. simple answer is not to use a div, they are not iframes. It sounds like you want to use an iframe here. If you are focused on using the div, the redirect can't be a redirect. you need to call that ajax function and replace the contents of the div again. But like I said at the start, iframes are likely what you are looking for. — rlemon 20 secs ago
yay being helpful-ish
Well, he's only being informative-ish, so...
Do models always exist and controllers only exist when instantiated?
@Crowz yes and no, but also maybe.
!!youtube LSD bassnectar
21:33
I'm gonna go with "it depends" on that one
@RyanKinal great end-of-the-day song
Am I wrong here? I am quite confuzzled
bros
how do you distinguish products for pro vs products for public customers?
is there a term for pro / customers (public?)
21:35
You don't.
Unless you're Microsoft.
that's not an option
I just want to know the english term :P
home/office :P
consumer model / OEM ?
not for IT products
21:36
I'm not sure what distinction you are trying to make
public facing?
like a professional $400 hammer drill vs some crappy $30 one you get from the local hardware store?
I don't know...
@rlemon yeah. What are the terms to designate the categories
pro vs public?
high quality vs low quality
21:37
professional vs affordable
enterprise vs ???
yes!
I want the "???"
!!s/\?\?\?/D/
super vs supercalifragilisticexpialidocious
21:38
@rlemon Could not process input. Error: invalid quantifier on line 4
@rlemon I want the "D" (source)
5
@rlemon look, we're not talking about your tastes.
Caprica wants the D man.
SHE WANTS ME!
GIVE HER THE FUCKING DRILL AND ANSWER ME!
2
Guyz I need development opinions. You've seen my game. In your eyes, where could I take it next? Battles done, you got some gold, and you're hurt from the zombie. I was thinking the next step is some sort of way to heal yourself (finding HP potions seems a bit too... bland)
What would you do?
enterprise/consumer?
21:40
@RUJordan find small life pixies and consume them to gain their powers.
@KendallFrey thank you!
Should I append that it should remain a zombie theme? xD
@FlorianMargaine dude I said consumer [model]
@RUJordan undead pixies
Eat brainzz?
@rlemon YOU JUST WANT THE D
21:42
You're not a zombie, you're fighting them!
oh
Eat zombies? You know, reverse psychology. Maybe that confuses them too
@RUJordan find survivors (like you) choose to fight them to steal their goods (but lower your karma) or ask to share (very low chance they will. chance lowers as you lose Karma)
maybe eat the zombie if you are desperate for health, like minecraft?
21:43
also make these other survivors ask to get some of your stuff to gain karma
y'all are hell bent on eating things LOL
@mikedidthis mmmm dog food
@rlemon interesting idea
I was thinking water springs randomly around the map as well.
Drat. Forgot I can't do two things at once on this laptop
@KendallFrey delicious.
21:44
yea so there is "Karma" - when you meet another human based on your Karma they might attack you or give you some free shit. you can (if you have enough Karma so they don't instantly attack you) also attack them to try to steal their goods (but you lose Karma for this). if you share goods with them they give you karma (but you lose out on your goods)
follow?
Last time I played MC regularly, I had a zombie grinder. Unlimited dog food :)
then you add another level of strategy and a fun way to progress through the game
@rlemon I really like that idea, thank you :)
Now, when you die, should the game just be over? No. That would be annoying and piss people off. Dying is bad, so you can like.. lose most or all or some of your gold and start back at tile 1,1 maybe?
More of a setback than a game over situation. Thoughts?
@spencore Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Meh. Either way. You could actually have different modes. Kind of like Diablo's "Hardcore" mode.
you pass out and awake some time later. all of your supplies are gone except a few basics hidden in your underwear.
oh good, they wont get your hamster
to make it more interesting, you can also get dragged off to a new location while you are knocked out.
so you can awaken 15 tiles away
@rlemon Molestation would be a cool feature to put in a game
@KendallFrey no
21:49
That would also insinuate that you are immune to the zombie infection
what about becoming a zombie and flipping the game?
When you die, you get turned into a Zombie. You go around trying to eat survivors. If one of them kills you, then you have to start over (as a human)
@RUJordan not everything is a zombie, there are other survivors out there (in my idea) - and they can move you
make it an mmo
omg.. zombie mode would be ridonculous
21:50
So, I have an HTML document that I want to have multiple javascript functions on. I have a function that returns a value from a web service... I want this value to be ready to be used for another JS function. So far, I am unable to do this. I have the value store in LocalStorage. But for some reason I am unable to call it in a particular function.
mmo + moba
moba?
I am wondering if all functions need to be in separate tags... in the body or head, etc
multiplayer online battle arena
21:50
var val;
function foo() {
  val = getFromService();
  bar();
}
function bar() {
  alert(val);
}
@spencore
So it's like 2 games in 1. Part 1. Survival. See how long you can survive, and find gold, and crank stats. Part 2. When you die (by force or by choice) you become a zombie, and you can level up, gain stats, mutate and invade towns
awwww yeeee
@RUJordan Do you play Guild Wars 2 by any chance?
It would actually be kind of cool to base the zombie-you power level on the power level you attained as a survivor.
@poke no sir
m59
m59
I played GW2 for a while.
21:52
They have a survival mini game there which pretty much works like that.
m59
m59
(like a bawss)
@RUJordan Allow healing or reincarnation to bring it full circle?
@RyanKinal good idea, the longer/better you survive, the easier it is to start as a zombie alpha
@rlemon diggin' on LSD
@KendallFrey fuggin brilliant man
21:52
It’s like hunger games, and once you die, you’re an invisible ghost and have new skills to mess around with the ones that are still alive—like setting up traps etc.
m59
m59
@poke oh yeah, the halloween thing?
@m59 Southsun Survival
m59
m59
I played it, but it's been a while.
But yeah, you’re right. The Halloween one is even more like that…
m59
m59
What server are you on?
21:53
This is going to require a server me thinks.
German server, Elona Reach
I wonder if I can install node.js on hostgator
@RUJordan and paying us all a loyalty share, because friends.
m59
m59
oh right. My wife still plays a lot, but NA server
21:54
@RUJordan for scoring, make human actions worth say 2x per time avg, zombie actions worth 1x, and reincarnation a large point bonus
this way, you want to survive, but if you're a zombie, you want to still do zombie things until you can get reincarnated
I think it's time to step off from a vanilla game, and add some server interaction.
A database sure would be helpful
@RUJordan good excuse to learn you some node.js
@phenomnomnominal Why don’t they contribute to brackets instead? :/
I am here to help (as I am learning it currently)
This would make a great MP game
as much as I hate MP
21:56
@rlemon I was thinking the same thing. I just don't know if my host has node installed, and if not, how to install node.
@RUJordan what host os?
@KendallFrey it would be cool to see live real-time players on the map
@phenomnomnominal if I was the sublime devs, I would kinda be upset.
@rlemon awww :P
If I'm a good boy and I get my shit done, I'll have some node code for y'all to review this weekend
21:57
@Loktar actually as it turns out there were like less than a dozen and most were stupid omissions or typos
@RUJordan ah, but only if they have radios to communicate to you with, and are within range
zombies can't use radios
nice man, I love when code turns out that way
and by omissions I mean stuff like not exporting the module, but doing everything else.
This is mean, I hate getting great ideas for projects and not having time to make them
now just testing the reporter before I move on to clean up the GUI
21:57
@rlemon I'm not sure how to find out my host OS
sorry RU
@RUJordan where do you host ?
@KendallFrey for what? Helping me with a cool game idea? naww
Or, where are you developing this?
21:58
Hostgator.
Uhh, on my laptop?
Its linux Im sure
I don't need help with ideas, I need help with coding/motivation
@RUJordan do you have CLI access?
SSH?
@KendallFrey Yes. That.
21:58
oh you're talking about your local host nm :P
@poke I guess everyone thinks they know how to start best
@rlemon Mis-pinged
@RyanKinal Right, what shall we make?
@RyanKinal my bad
fucking r's man
@KendallFrey well once I restructure my game to have server access, I would love to see y'all fork and pull some ideas in
21:59
@KendallFrey Well, I have a couple projects in mind already. One of which should be well on its way this weekend.
@rlemon I wanna say I have SSH access. It's a shared server, not dedicated. Will that hurt me?
And then I have SlickText to work on
@rlemon any idea why it might not work after running this function? function FillInputs() {
$(function () {
$('.ui-field-contain input').val(document.getElementById('TestData').value);
});
}
likely
@RUJordan sorry, bro, I will be too consumed with wasting my spare time
22:00
@spencore :(
otherwise, @rlemon it does work
how long have you been writing JS?
@rlemon No worries. Just wanted to make sure the conversation moved along as expected.
but apparently not after running THAT particular function lol
and did you read any books on the subject before you grabbed jQuery and ran
22:00
@RyanKinal I have a pile of cool projects right now, all about 5% done
no, wasnt my choice tho
that code shows me a great lack of understanding on what is going on
@KendallFrey the worst is when you have to finish a project before moving to the next :P
(not to insult, but to inform)
22:01
And I also kind of want to make an HTML5 clone of Divekick
aboslutely.
development will be ten times easier for you if you can take a few days and review some resources
I have like 18 ideas but cant start work on them because I have to finish "fap"-ple hero.
when is your deadline?
@Loktar Heh... fapple...
22:01
@Loktar (sorry, you're my hostgator go to) do you know if I can install node.js on my shared server?
no you cant
but nodejitsu has $10 hosting for node
balls. Looks like I'm stuck with PHP lol
that function was actually just for my own lazyiness. basically i have a form with a crap ton of inputs... and instead of going thru each of them to set a value before submitting to the service, i just wanted to write a quick function that did that for me
I also seem to have developed a complex where I'm paranoid about sharing ideas.
because you can spend 3 days fighting with code you don't understand, or 2 days getting and understanding then 1 day writing code that just works.
22:02
@KendallFrey same here mostly.
does that make sense @rlemon
Until I get a lot of it fleshed out and started development wise
@spencore they all have the same input value?
I'm worried about someone stealing fame. What fame. hahaha
they wont when in production
but just for my testing, all the same value is fine
22:03
@KendallFrey well... also sharing ideas in a room full of developers is never good
@Daffy Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
See, I trust the people in this room. Also, regulars will most likely be reviewing my code anyway.
unless you dont care if someone else runs with it I mean
$('.ui-field-contain input').each(function() {
    console.log(this); // you will notice this loops over all inputs matched by the selector
});
@JayD3e Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
22:03
@spencore does that help? ^^
I do have something that is mostly done, and I'd love to share, but no one here wants to work on it
If you just need to host some NodeJS without anything else, you can use Heroku.
if somebody steals my zombie game, more power to them.
@RyanKinal I do to an extent, but there are a tons of people in here who I dont know always idling.. just watching...
My multiplayer version won't have a git version though. Private, copyright code baby
22:04
@Loktar chances they will be able to understand the level of code that goes into a full fledged game? probably very low
@Loktar Yeah, I've thought about that. And then I decided I didn't care that much.
@RUJordan yeah, I totally see that
@rlemon thanks for you help
most non-regulars (i find) are not that well versed on JS
22:05
@KendallFrey yeah, like that TheifMaster guy. Always lurkin... I don't trust him. >=(
@spencore I have to head home from work now, but if you would like some more advice ping me in about an hour
Anyway... there's a good probability I squashed a long-standing bug today. I'm going to have a beer to celebrate.
!!afk celebratory brews
@rlemon yeah true. idk I still keep ideas close until I have a chance to work on them first now :P
22:05
@RyanKinal I got my code working 35 minutes before 5
BEER BABY! BEER!
/me heads home
bye guys
have fun drinking
Did anyone see the Das Boot commercial?
!!afk be back in an hour
22:11
@luis24fps Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
sighhh
I'm actuall drunk, ama
:D
Back from a friend's wedding
Tell us all your secrets =D
Did you have the best time out of everybody else?
If so, I'm proud of you.
It's going to be a pain in the ass to setup a server on a raw JS game
It'll be like rewriting the whole thing with a general guideline document lol
Geez, these recruiter emails are getting pretty enticing.
22:21
@BadgerGirl what secrets?
@RUJordan prob
@SomeKittensUx2666 especially the ones from google and gh
fb
@SomeKittens How so?
and amzn are pretty cool.
Oh wait, ASP.NET, nevermind.
xD
@RUJordan no wai
22:22
@SomeKittensUx2666 any offers out in DC?
@SomeKittensUx2666 c# is decent
@Benjamin C# yes, but ASP…
@BenjaminGruenbaum how so? Just ajax everything?
It would eliminate a couple objects that's for sure..
@poke asp.net is written in any .net language, I write it in C# - ASP hasn't been a language on its own for a while.
@RUJordan AJAX EVERYTHING (wait what?)
@Benjamin I know that. But just because you write it in C#, ASP doesn’t get much better :P
22:24
@rlemon should be a built in.
@BenjaminGruenbaum rlemon is afk: be back in an hour
@BenjaminGruenbaum I just have to figure how to utilize the database, but still remain mostly a JS game, with a multiplayer (account based) style of play
@poke why? C# is a lot better than most languages. ASP.NET (not webforms, MVC, or fubu) is a lot better than most other frameworks.
@CapricaSix boner amanda
Hmm, cheating would be too easy if it was mostly JS though..
fuck
@Benjamin I’m just not a fan of ASP. And again, I’m not saying anything against C#. I’m a C# developer myself.
22:25
@RUJordan multiplayer should not be ajax, should be web sockets if has to go through server or web rtc otherwise
@poke Why?
@RUJordan not trusting the client is fundamental. It doesn't have to do with a specific server side technology.
Don’t know; don’t have proper reasons, just didn’t like it so far :P
@poke I think web forms is horrible. The new stuff is ok.
still too many global,s still better than most server side fws.
Okay, if you say so, then I’ll be less against it in the future ^^
(I’m seriously going to trust your judgment :P)
@poke (well, I said I'm actually kind of drunk, but I do think asp.net is by far superior to alternatives in terms of ease of use)
(LINQ is a killer feature, and C# is a good language)
22:31
Absolutely.
You have to put it in ()s :(
!!tobacconist
@BenjaminGruenbaum Drop your panties, Sir William; I cannot wait until lunchtime!
22:46
@rlemon hi mate, that ie8 browser history issue seems to be solved :) created same app and checked in browserstack's IE8 XP and win7. no issues there.
@Yoda rlemon is afk: be back in an hour
ok
@CapricaSix how did u know I was typing a msg for him ?
4
:P
She didn’t know; but you did.
She has reflexes as if she was a bot.
She's like... a machine dude.
ya I've observed that posting msgs like about rules and guidelines to new user asap
m so happpy :D
was struggling with IE8 since very long
22:52
!!AFK GNIGHT
!!afk furiously masturbating
@phenomnomnominal That didn't make much sense. Use the !!/help command to learn more.
You’re not doing that in front of your computer?
Well, that was quick.
22:57
he said furiously
Oh right.
I'm just gonna leave it there forever
Also, I never said I was furiously masturbating myself.
2
Mess?
That is a thing of beauty
Spark of life.
Frame it
Well, if you frame it, you’re not leaving it there.
Frame around where it is
23:07
@Yoda I know everything....
23:41
is it possible to make JS write to a file?
long answer, yes with a whole shit load of buts. short answer, no.
first I would have to ask you why you wanted to do this in the first place?
(as it is a huge security concern on the client)
(if we are talking node.js, no issues)
Proper way would be to trigger a download.
@phenomnomnominal dammit, now I totally got "45" by Gaslight Anthem stuck in brain
i somehow remember you recommending it to me a pretty long time ago
Hey guys, is anyone familiar with the mean stack?
23:59
@rlemon we have to write a program in a class. I don't want to write it in C/Java but he won't accept python.

« first day (1229 days earlier)      last day (3944 days later) »