« first day (1136 days earlier)      last day (4036 days later) » 

18:00
@jbolanos depends how long you want dat URL to be
I'm doing $.getJSON() with a very long string, but a $.post with the same string returns 400
For the most part Ideally, I have a "stable" branch, and a "dev" branch. On release, I tag the stable branch, and then I'm good from there.
@RyanKinal that's a little over my head. Branch? tag? =x
Shit Im so new to this is embarassing.
git branch and git tag, respectively. Look it up.
You'll also need git merge
18:02
Ok, thanks Ryan.
Also, I'm of the opinion that being new is nothing to be embarrassed about. As long as you're willing to learn, it's all good.
@jbolanos GET is 4096 and POST is not limited by the protocol
@RUJordan ps you can also have a git-ignore
@AbhishekHingnikar i've done that before
not a cutting board.
if u just wanna ignore one file or a bunch of files or a directory
18:03
bowl.
I'm just scared that I won't understand something and become help-vampish. lol
@rlemon i did it aswell... left a note for mum
@RUJordan Asking specific questions is not bad either. But there's a good chance we'll point you to articles.
@RUJordan you've already passed your vampire test.
** Put a plastic container to heat water.
on stove :$
18:04
just don't get bitten and you'll be fine
but i was really young back then :D
@copy so it sounds like I need them to fix the JAVA that parses the POST because right now they are blaming me.
@RUJordan @rlemon speaks the truth :-)
I knew there was a reason I liked coming here. Despite the hilarious vulgarity, you guys are awesome. <3
for instance: rlemon asks a stupid vamp question <- rlemon you idiot google this: some-term
18:04
@jbolanos It's most likely configurable
(And quite fucking intelligent)
@RUJordan fuck you ;D
[sappy moment]
@RUJordan If you're willing to help yourself, we're willing to help you (ironically)
@RyanKinal that makes US god !
18:05
I try my best :D
@RyanKinal that is my saying!
user1596138
WHAT THE HELL
> We like to help those who like to help themselves
user1596138
PHP question.
PHP answer: $no;
@Jhawins WRONG ROOM NOOB
Sorry, it was getting to lovey-dovey in here
user1596138
But I like you guys better...
user1596138
The following is returning Wrong datatype for second argument
It's all good. Ask your question.
lolwut?
user1596138
18:07
$myArray = array();
function whatHell($arg) {
	 if (in_array($arg, $myArray) === false) { //seems right to me?
	 	echo 'false';
	 }
}
whatHell("something");
Ok, so correct me if this is wrong. 1. git checkout dev 2. commit to dev until ready for merge. 3. git checkout master 4. git merge dev
@Jhawins global $myArray
I think the problem is that you're using PHP :)
You have to explicitly declare global scope
And if i don't remove the branch, it will basically be my version history?
18:07
php globals === pita
Inside the function
user1596138
@RyanKinal Oh yeah. I knew it had to be a scope issue.
that doesn't look like jabbascrip
@Jhawins error_reporting(E_ALL);
@Jhawins there's no lexical scope in PHP
I mean, it's PHP
there's no scope
user1596138
18:08
Damn this is bullshit.
user1596138
I understand the hatred of PHP now.
> JS Scope is the wost! ~ Bartek
@CoffeeMaker are you everyone's best friend?
Looks like we found one that is even more FUBAR
18:08
yes
omfg JabbaScript needs to exist
@Jhawins but as copy said, turning errors on would tell you that $myArray doesn't exist or something
@RyanKinal ...I concur.
user1596138
@FlorianMargaine It did. But then I just thought "That's BS, I just defined it" and didn't think about globals..
18:09
we can do this...
user1596138
I've been doing SQL work for 4 solid hours and I hardly slept last night haha. Pretty cloudy right now
user image
3
@RyanKinal
@Jhawins Just turn errors on or you'll go completely insane
user1596138
@copy It's already driven me insane.
18:11
\o\
/o/
\o\
/o/
\o\
user1596138
/o/
/o\
long cat done.
You can probably put CSS into the PHP interpreter and something valid will come out (and the other way around too, obviously)
18:13
@copy nah, it's PHP, not CoffeeScript
@FlorianMargaine everything is valid PHP as long as it doesn't contain <?
... that's true.
or <script type="application/php">
@JanDvorak Wait... that shit works?
Mwa Chut_chut =>
    @foo Sa ['Hello', 'World'];
    Bata @foo.Weeteebah(' ');
2
18:15
@RyanKinal or a similar mimetype
JabbaScript ^
@JanDvorak ????????????????????? WHAT ?
@JanDvorak Wow.
application/octet-stream ?
18:16
My Greeting =>
  foo is ['Hello','World']
  return foo.join(' ');
translated ^
It would be sweet to fork CoffeeScript, change the tokens, and come up with JabbaScript.
So here are the valid ways to open PHP tags:

<?php ?> // standard tags
<? ?> // short tags, need short_open_tag enabled in php.ini
<% %> // asp tags, need asp_tags enabled in php.ini
<script language="php"> </script> // case insensitive
@RyanKinal if we spent some time going over the language and getting the proper terms we could TOTALLY DO THIS
@rlemon Probably true.
18:17
and in not a lot of effort. Like you just mentioned, we can use an existing parser and just replace tokens
the terms are hard. for instance. Weeteebah is actually 'Together'
but there is no word for join so..
user1596138
PHP is fucking stupid today.
user1596138
echo "\n" . "something on a new line"; //doesn't even echo a new line
@rlemon Good enough
user1596138
No idea why not. \n is new god damn line apache.
hm, you used "" at least
just for the record, it doesn't work with '\n'
18:19
Once I'm out of the woods in regards to the latest SlickText push, I might actually give it a shot.
user1596138
@FlorianMargaine I learned that awhile back :P
user1596138
It's just echoing nothing for the \n.
who said PHP was a good language ?!
user1596138
At least in single quotes it will show up as "\n"
why are you concatenating btw?
18:21
Holy shit... its CoffeeScript written in... CoffeeScript?
user1596138
@FlorianMargaine Just an example.
@RyanKinal I actually want to start this tonight
@rlemon Go for it
user1596138
Writing a seperate line for echo "\n" still doesn't echo a new line.
> Sorry, JabbaScript.com is already taken
well there goes that dream
18:22
Should probably be a .org anyway
user1596138
Getting pissed off now. echo "\n\n\n\n\n\n\n\n\n\n\n\n" and I get nothing. This isn't how php works. Wtf
@Jhawins are you talking html there?
and holy fuck
@Jhawins son .. html is different
jabbascript.io is 60 pounds
for one year
18:23
try .textContent = "\n\n\n\n\n\n\n\n\nfuck you"
looks like you want nl2br, or just check the html source to see if there is no newline
user1596138
@AbhishekHingnikar There is no HTML.
then we need more explaination
and PHP_EOL FFS
@RyanKinal jabbascript.org is now mine
I'm addicted to buying domains :?
18:27
@rlemon buy ilovejavascript.io
.io domains are expensive
yeah i knnow
but its javascript man
@Jhawins wut?
@AbhishekHingnikar I have no idea what nafta means
user1596138
I decided to just do it by hand. I was spending way too much time trying to automate something that didn't really need it lol
18:31
@SomeGuy read 3 lines up florian urban'd it
we're programmers: our lives are about automation
^ that
!!xkcd 974
I like: Rihanna, Stay
dropped itself in my grooveshark playlist... I like it.
18:32
@FlorianMargaine ?
Anybody likes Emenim Bezerk ?
hrm... right click on image > print vs CTRL + P opens new options into the Chrome print dialog
user1596138
Ok, I've determined that absolutely everything is pissing me off today.
@Jhawins what are you thoughts about religion ?
gun control?
republican or democrat?
euthanasy or not?
... how long will you hold? :D
ah, I read the "everything" as "nothing".
.. nazism vs stalinism ?
18:35
You might have blown his fuse @FlorianMargaine :D
user1596138
Ha.
it all makes sense when you replace your "everything" with "nothing", really.
user1596138
Decided to use jQuery anyway for the DBMS/CMS and other things tied together. Figured I might as well use .mask() for my inputs on part of it. Because they needed masked.
Abhishek Godwin for the save!
user1596138
At first thought one would assume that a jQuery plugin actually does what it says, in a useful way. Surprise surprise that is not the case even with the simplest of plugins.
18:37
@rlemon what ?
user1596138
It is immpossible to use .mask() as-is to mask currency. It is bullshit.
@AbhishekHingnikar then I would call you a fucking stupid apple customer
user1596138
</rant>
user1596138
!!afk <smokeCig>
@Jhawins Why are you leaving me!?
18:38
!!tell AbhishekHingnikar wiki godwins law
@rlemon Command godwins does not exist.
^@Zirak bug
> .. Godwin said that, given enough time, in any online discussion—regardless of topic or scope—someone inevitably makes a comparison to Hitler or the Nazis.
@AbhishekHingnikar no bug, I fucked up the command
@FlorianMargaine are they the only 2 options?
@Jhawins look on AndyE's blog
18:40
@connor.js in the USA there are
@connor.js in US? totally
I mean, sure there ARE other parties. but not really
@rlemon no the '
it should be a part of the link aswell :P
looks ok to me
same for me ^
even in Canada there are very few parties that actually hold enough pull to do / say anything or even be considered in the running
did anyone even know Rosanne Barr ran in the last US presidential elections?
can anyone ball park how many candidates there actually were? or do we really only care about the two
@AbhishekHingnikar Hahaha, ah. I thought it was just another Hindi word I didn't know :p
Rosanne was part of the 'Peace and Freedom Party'
18:42
Roxanne
yup
@SomeGuy you know a LOT of hindi
you can survive :D
rox-fucking-anne was a 2012 presidential candidate
and she got like 10K votes too iirc
ten thousand people.... I never want to meet.
I don't know about that. All I know is that Roxanne was the name of a hot teenager in here. SHE WAS REAL.
maybe for you
18:44
Amber Roxanne?
/* omfg lrn2css */
#results .result .resultcontent .livedetails.subresult .subresultcontent .specs .spec
I would like to think she was actually just as hot and 24
not 15
:/
I assumed she was about 18.
north american tweens look older than the college girls.
it is misleading
:(
@RyanKinal looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ol
that might kill the browser at some point of time.
18:46
currently in my css file.
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}
@rlemon What the fuck?
less output :/
too lazy to fix it
s/less/LESS/
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
two of the less desirable outputs I have
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
ohh and the rounding.....
it is like owning a Volkswagen... ugly but it works.
anyone know angular in-depth?
18:50
@captainrad If by "in-depth", you mean "barely-at-all", then yeah, I do
Seriously, though, I think @BenjaminGruenbaum is pretty good with it
I'm fair, not the awesomest at it but fair.
0
Q: Is it a realistic goal to try and convert a 2D engine into 2.5D

KillbotIs it a realistic goal to try and convert a 2D engine into 2.5D using HTML5 and JavaScript? If not, why?

@RyanKinal I just have a quick question... needing to load a random background image on page and steering away from jquery because it's all apart of an angular app
doable? wise? or stick to jquery for dom manipulation?
Stick to POJS. Use it to change a class on the body. Use CSS to change the bg image via the class.
You could just do that without a lib
18:58
@captainrad easy, and simple.
Ugh. I just want to write all the CSS ever for this company.
@captainrad just put a controller on whatever's background you're changing and put the background sounds in the scope - create a background service and inject it to whatever you're changing the background from and then use it in wherever you need.
Because this is kinda terrible.
node-inspector is quite awesome, I gotta say.
@FlorianMargaine it's pretty decent.
19:01
I guess the workflow could be improved
user1596138
@FlorianMargaine Do wha?
@Jhawins You saw that whore again, didn't you!?
m59
m59
It's unfortunate that OP means both Original Poster and Over-Powered
@BenjaminGruenbaum thanks!
wow, Nvidia's new GeForce Experience thing is such a POS ...
19:03
You're welcome
Hi all, is it possible to find here a freelancer for javascript?
@BenjaminGruenbaum things you don't like in node-inspector?
@mistertodd make an offer.
m59
m59
possible, but it's not really the point of the room @mistertodd
@FlorianMargaine gets a while to get to actually work.
Also, could give me more insight
yeah, I have looked at careers, but Iam not offering a full time job :D
Can you explain both things?
@mistertodd For what?
I have a online "google map generator" with jquery sliders for "height/width/ and satellit or classic view"
My experience thus far is pretty good in both points, so I don't understand them
19:12
@mistertodd 250K per job.
the problem is, if I select "satellit" and move the height/width slider, the script shows the classical map again
@Jacta back :)
I think a "if else" would fix the problem, but Iam a jquery noob :D
@mistertodd make a fiddle demo. ask a question.
hm, good Idea :D
m59
m59
19:14
@mistertodd if/else has nothing to do with jQuery. I believe you mean JavaScript.
thanks anyway
don´t want to put the whole script online :) - I would offer 20$ per paypal
sure you can have a look on it first
I would, except paypal would charge me $20 just to withdraw $20
@C5H8NNaO4 Got your point, and thanks for the corrected version!§
$('#elm').if( Date.now() - startTime > 1000, function() {
      // is this already
}).else(function() {
     // a plugin?
});
@FlorianMargaine try using the profiler ;)
m59
m59
19:27
@mistertodd show me your code and I might help for free
You're really asking to charge in a chat >.>
!!work or play
@eazimmerman work
user1596138
Now PHPMyAdmin is telling me I don't have a unique row in my database so I get the annoying warning prompt every single time I edit anything. Even though I have auto-incrementing IDs..
user1596138
19:32
The next thing that doesn't act the way it was designed to act is getting screamed at.
Is your auto_increment field a PRIMARY KEY? If not, make it one
Hey, does anyone know any graph visualization libraries, other than Cytoscape.js, that supports compound nodes and/or allows for some extension in the node format? (I’m looking for something to visualize B-trees)
Can't have auto_increment unless it's primary, afaik
@AndrewIce why not? It was hard work for us to learn it, why should we help for free?
(point being we don't charge really, but people need to remember users help in their own time of their own good will. Demanding answers or begging gets people no where)
however in this case looks like he is looking for coder for hire
God WebStorm static analysis got so much better.
19:40
!!smoke now or smoke later
@rlemon smoke now
@Jhawins echo "<pre>line 1\nline 2\nline 3</pre>";
good choice
Is this a good way to setup an engine object?
function _engine() {
	this.count = 0
}
_engine.prototype = {
	updateCount : function(id) {
		this.count++;
		document.getElementById(id).innerHTML = this.count;
	}
}
var engine = new _engine();
setInterval(function() {
	engine.updateCount("counter");
}, 1000);
engine is global, but it will be the only global value since players and elements will inherit from it (maybe? should I separate them?)
19:44
workers can do a Lot of stuff
I see them now as slaves, where the owner ( main thread ) gets all the credit .. and shows off via (DOM )
@AbhishekHingnikar What about couch potatoes?
@RyanKinal ^^ my setup
@Shea i mean web-works
19:46
@rlemon lol. More janky than my used to be.
@rlemon @rlemon why so high ?
and cool shades.
I have that same phone!
m59
m59
@rlemon stand up desk, like a boss?
!!urban janky
@rlemon janky (adjective) inferior quality; held in low social regard; old and delapidated; refers almost exclusively to inanimate material objects, not to people
19:47
Lol ohh
and @m59 yes, @AbhishekHingnikar stand up desk
no more sitting at work for me
m59
m59
that's a GREAT idea.
Helps your back, metabolism and plenty of other things.
@RUJordan up until about an hour ago the keyboard was held in place by cardboard boxes stacked on top of eachother
m59
m59
I found this out right after building my massive desk :(
@m59 my heels are not liking me right now. but I have no standing pad.
I read somewhere that you live longer, by sitting less
19:49
I still need to get one
m59
m59
^^
@rlemon why would u do that ?
I sit all night long at a computer so why not get some standing done
besides thats my setup :D
yeah just 1 laptop :D lol
@AbhishekHingnikar I see you avoid sitting too by lying in your bed?
19:50
@poke no i sit on my bed
;)
its just for quick cuddles \o/ from girlfriend
ease of cuddle :D lol
I thought your girlfriend was in another country
You have that bed there, just for that?
@SomeGuy new one
19:51
I don't believe you
Hello
@Shea i work from home now -_- duh
@SomeGuy ^ This one... (with whome i have been posting images for months... jeesh)
PHP room wasn't very helpful, so i'll ask here.
@AbhishekHingnikar Wow, i hate wires :(
@connor.js why ?!!??!?!
I LOVE WIRES !
19:53
Imagine where we would be today without wires…
@AbhishekHingnikar They could be bearable if you got a them tied the fuk up ;)
@poke We would be in a wireless world ay ;)
@connor.js then everything would be hardwired
if I have included a "php" file at the top of my "index.php" file and the external php file that i included has variables in it, can those variables carry over to future "includes" i do inside index.php?
@connor.js i'd say we would be in a microwave oven
@AbhishekHingnikar or a new kettle();?
19:54
my house will never have WIFI
everything wired :P
I like my setup. The computers keep me warm in the winter. and the breeze from the PSU fans keep me cool in the summer
Any ideas why this doesn't work matches[0].replace(/\n/g,'\\\\'); ?
win/win
@AbhishekHingnikar That's cool, just hide the wires in the walls ;)
@connor.js yeap thats the plan
i don't like too much radiation in air
@SomeGuy oh darn this reminds me ... do you have a mobile tower nearby or at the level of your house ?
19:56
@Kasper define "doesn't work"
nearby = 20m radius
@AGirlSaidMySmileIsCute Short answer: Yes. Longer answer: Just try it yourself. The best way to learn, is arguable by trial and error.
@AbhishekHingnikar also, your claims about technology (phone in particular) will forever be ignored because I see you use a potato
@rlemon what ?
!!urban potato camera
19:57
@rlemon Potato Camera A term used on YouTube to describe extremely low resolution videos.
works for images as well
@rlemon ah thats not the camera !
thats the stock iPhone 4s + shit $3 cover
without cover the images are much better but it will cut my hand :-( // waiting for my 5s to be delivered its been 4 weeks :-/
ohh so the camera on your iphone isn't a camera? no I suppose it isn't... looks more like a potato
@rlemon wait u bastard :D
!!s/use a potato/use Apple/
19:58
@Shea @AbhishekHingnikar also, your claims about technology (phone in particular) will forever be ignored because I see you use Apple (source)

« first day (1136 days earlier)      last day (4036 days later) »