« first day (900 days earlier)      last day (4047 days later) » 

6:03 AM
Can you be a closet claustrophobic?
 
you'd have to be, because the moment you came out of the closet you wouldn't be claustrophobic anymore
 
6:19 AM
!/cat
 
0
Q: How to catch URL the user clicks in php and redirect to a particular html file in the same page?

Tridip ThrizuI have a main page portfolio where i have thumbnails that showcase my works. I want to redirect to specific page in the pop-up whenever a user clicks that specified thumbnail. In order to that i want to redirect it through a php file where i will catch the url the user is clicking and redirect t...

^ downvote pl0x
 
@Jan-StefanJanetzky a challenge for u :D
since u have knowledge of c
 
:3 up for it ?
 
yush but right now i'm at work
 
6:24 AM
you can use GCC[preferred for intelligence] or TurboC [ preferred for badass feeling]
 
so whatcha want?
 
making a proper raycaster ^_^
 
i have done it in js ages ago :D
from proper i mean one with enemies and stuff :D , you can hop on a raytracer though
 
hm. well actually its a good idea
 
6:25 AM
raytracer would be a decent challenge
but doing it in C is wastage of time .... when u can just use a lib
 
What does a raycaster have to do with enemies?
 
Foo++
 
@phenomnomnominal nothing. :-) just makes it playable
 
Haha good, I was like shit, what have I missed
 
6:27 AM
Actual challenge is getting mouse to work in that damned turbo c compiler
 
I'm implementing a bi-directional path tracer at the mo
 
which uses union.
@phenomnomnominal path tracer ?
 
speaking about raycasters..
i luv dis
 
Basically a raytracer
 
someday i might re-write-expand the code
and make an actual game out of it...
 
6:29 AM
lol that runs pretty fluid
 
but i suck at rendering 3d models
@Jan-StefanJanetzky its hand optimized -_-
 
dahell is with your code?
you kiddin?
 
it was my first js project
port of my c based ray castracer // uses features of both
 
i mean.. why did you put the whole sourcecode into a hex string?
 
i was a kid
a foolish person who thought i can hide javascript code
 
6:31 AM
@dystroy Welcome to the JavaScript chat! Please review the [rules.javascriptroom.com](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.
 
pretty shtupid me
 
@phenomnomnominal Are you running a fork of the bot ?
 
Hi guys
what is wrong with this function
 
No, just manually typing it out haha
 
function doSomethingElse(){
texto2 = $('.textcero').text();
t2 = texto2.match (/(\d+)(\d+)/g);
t23 = texto2.replace(/(\d+)(\d+)/g,"<br> "+t2);
result = t23.match(/(\d+),\d+(.* )\d+,(\d+.*)/);
tien =(result.slice(1,result.length).join("<br>"));
$('.textcero').html(tien);
return false;
}
I know is horrible but.. works..
 
6:32 AM
@JuanFernandoz cant you even press ctrl + k?
 
@Jan-StefanJanetzky, he might only have 1 finger.
 
@phenomnomnominal or null
 
@JuanFernandoz Seems too much work for what it's supposed to do
But if it works...
 
@JuanFernandoz dat regexp
 
@phenomnomnominal there are accessiblity tools for people with one finger. it would behave like a ctrllock :D
 
6:33 AM
function doSomethingElse(){
     texto2 = $('.textcero').text();
     t2 = texto2.match (/(\d+)(\d+)/g);
     t23 = texto2.replace(/(\d+)(\d+)/g,"<br> "+t2);
     result = t23.match(/(\d+),\d+(.* )\d+,(\d+.*)/);
     tien =(result.slice(1,result.length).join("<br>"));
     $('.textcero').html(tien);
     return false;
}
 
Maybe he types everything with his nose
 
@dystroy yes, but the problem is that this function is interfering with a modal plugin
 
Makes it way more impressive
 
or his teeth
 
Hahaha
 
6:33 AM
Penis. (That one was for you @AmaanCheval)
4
 
You're strange, phenomnom
 
@JuanFernandoz how is it interfering ? with the html() ?
 
I'm procrastinating so much...
 
yaay. i've made that awesome cat game you know? it has all been coded by my penis!
 
@Darkyen moar globals , MOAR !!!
 
6:34 AM
@phenomnomnominal aman types with his penis ?
@tereško what ?
 
oh it works now. I made some changes and it works now... rare..
 
if u are bugged about the raycaster that code is shit ...
 
Well, not always.
 
globalization !
 
I lost the game
 
6:35 AM
@AmaanCheval dude teach me
 
@Darkyen that code snippet , that you posted .. ever variable there is globally scoped
 
it will save me so much
 
Can we ban @jAndy somehow?
 
@tereško i was just formatting it for @JuanFernandoz
 
6:36 AM
why do i think about creating an account called: "anoying orange" to use it with the bot?
 
w00t
 
!!/ban jAndy
 
@phenomnomnominal Cannot mindjail owner jAndy.
 
wuhar
 
6:36 AM
WTF @Zirak, it's hardcoded???
 
google chrome made a cache for a js file on localhost? I mean if I do some changes I have to reaload several times? some times appear that chrome have the previous version of the js file on cache.
 
(x
 
@JuanFernandoz google chrome even makes you permanently cache webfonts now.
 
@Jan-StefanJanetzky oh fuck thats fucking idiotic
 
6:37 AM
@phenomnomnominal Yeah, it is
 
ctrl+shift+r for hard refresh
 
I'm excited like a little girl.. my brand new waterbed is just being build
 
@JuanFernandoz If your server doesn't manage the cache well, a trick is to change the url when your js files change : <script... src=myfile.js?v=2></script>
 
Pro-tip: Disable caching in Chrome dev tools
 
@jAndy you wanna know what i am getting built
 
6:38 AM
 
win + r -> shutdown /s /f /t 0 -> return
 
@jAndy, that's so kinky
 
it will close any windows!
 
thanks guys
 
I also use an extension to remove the cache with one click. But a well configured server fixes most problems
 
6:38 AM
My next rig probably :D
 
wooah, I want that too
 
That's excessive.
 
@Darkyen This won't make you look cooler
 
Diminishing returns
 
this would result in you.. looking at a big black cross
 
6:39 AM
@dystroy it will make me play watch porn facebook twitter , .... at the same time
am just kidding though
i like this ugly ass mofo desktop laptop hybrid that i have
 
i'd mostly put sourcecode onto the screens
 
@Darkyen pointless waste of money
 
MBPr + 2 Thunderbolt displays for me
 
@phenomnomnominal you just saw mine :D
 
if i were to waste cash, i would by some ultrabook
 
6:40 AM
its like you could edit a file on each screen and dont need editor tabs :D
 
@tereško i got an MBA from office
dont need an ultrabook \o/
btw how have you been teresko ?
you dont make your presence feel enough :D
 
working .. a lot
in past month i spent over 260 hours at work
 
:O
 
got this from work
 
6:42 AM
wow!
 
... which earned me 1800$ in total =/
 
@phenomnomnominal Nope, it just doesn't sync those stats from the chat. It retrieves that info on waking up and when a user enters.
 
@Jan-StefanJanetzky my dad bought its elder cousin for me
@tereško :-( thats less
then me -_-
 
@Zirak, oh fair enough
 
which makes me feel very bad
 
6:42 AM
move to a country where you get a proper salary :p
 
swap works from me :D you are better devel!
 
its fun. the modem even has a gps chip.
 
@Zirak so remove room owner + refresh + ban would work?
 
Should work
 
@Jan-StefanJanetzky they wanna track u
 
6:43 AM
Good to know haha
 
@Darkyen i dont think so. i'm one of the 0,01% in this company that runs a self installed operating system on it.
 
Interestingly, because /ban just checks the banlist, he'd remain banned
 
Haha that's perfect
 
@Darkyen i r sysadmin and software engineer. srsly.. you'd love this.
 
@Jan-StefanJanetzky I r senior cloud architect at metarain
and R & D ( the whole ) at voscast
 
6:45 AM
0
A: using valueOf function in javascript prototype

jAndyAs for now I have no appropriate explanation, I just provide you the solution. You need to call 123..toString(); that will guarantee that this points to the current Number object instance within the .toString() method. It seems that putting parenthesis around the number will lead to problem t...

 
PS i own 10% of MetaRain ;D
 
can somebody help me out on this one ?
 
@Darkyen lemme guess.. 2 coworkers? xD (jk)
 
@Jan-StefanJanetzky yes :P
 
i have 1400 coworkers :D
 
6:47 AM
@Jan-StefanJanetzky the other guy wrote IRIS the siri android in 8 hours alone
also creator of friday app :P
 
TRANNY DANCE!!
2
 
so i haz a one man army (XD)
 
@Darkyen we hav wimen aswelll
 
@Jan-StefanJanetzky Dude why are we comparing :D
i love working in small startups :P i gets to experiment i loves it
moreover ..... u never know which one goes off the sky and turn u a million zillionaire
 
@ThiefMaster whats the difference for 124..toString() then
 
6:48 AM
My office has a slide.
 
there shouldn't be any
 
it also gets turned into its object representation
but there is O_o
 
@jAndy for me it works with (120).toString();
maybe chrome ?
 
@Darkyen I'm trying in Firebug console, hmmm
might be the problem
 
@jAndy: it's converted to a number object because it's used as this in the method call
 
6:49 AM
hiii
 
@jAndy worked for me everywhere
@bharatdesai hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
 
I just replaced my old version of the Closure compiler with a new one. Size of the compiled js : +9% :(
 
any body know the json ?
 
@bharatdesai Welcome to the JavaScript chat! Please review the [rules.javascriptroom.com] (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.
 
for me it indeed returned object like the OP stated with that (123).toString() call
 
6:50 AM
@bharatdesai never heard. whats that?
 
@bharatdesai What's your question ?
 
@Jan-StefanJanetzky you don't know jason ?!
 
Holy fuck what is wrong with me
 
its a cool guy bro
should meet him
 
@jAndy isnt that the one with that strange mask?
 
6:51 AM
why can I not fucking do fucking stupid fucking links in this damn shit
Jason P
 
@phenomnomnominal cause the chat is trolling you
 
i have query in json .. i wann to transmit json string to java string ..
 
@Jan-StefanJanetzky yea sometimes he pulls it out and.. stabs... innocent people for no reason
 
april fools have been moved
 
but aside from that, its a cool guy
 
6:52 AM
@bharatdesai java? whats that? i only know javascript
 
k no problem brother
 
@bharatdesai, java is the same thing as javascript
2
Why else would it have Java in it's name
 
You're not helping newcomers, guys...
 
SHTAP ROOM
stop trolling him
 
I agree with @dystroy
its a little harsh
 
6:54 AM
@jAndy: check my edit, i've added a link to the spec that should explain the behavior
 
cpt. obvious told me that json is based on javascript and its object notation. you might want to check out http://json.org/ to see some informations about what it is and how you can use it.
and just to inform you: java is not javascript. they are not even brothers.
 
@ThiefMaster it indeed does, seems odd nonetheless, but ok its in the spec
 
@Jan-StefanJanetzky thanks ...
 
@tereško Are you interested in making canvas games (for mobile browsers)? 100 hours a month and it'll pay about that much. Remote
 
Quick one : is jQuery 2.0 about bug free now ?
 
6:58 AM
@dystroy the only thing I know for sure is that there ain't any bug free anything
 
jQuery github doesn't have issues?
 
@jAndy Yes, I know, but I wanted to know if some people already found it usable in prod
 
@AmaanCheval a tip.
never suggest some1 for more work if they are working 260 hours a month
dude hes fucking working ~12 hours a day
 
@Darkyen Why not?
 
It sounded like replacement work to me?
 
7:00 AM
Exactly
 
@jAndy: "console.log ((123).toString()) printed number" - that sounds very odd
 
I'm not suggesting he add it
 
I never put it into production tbh, I'm pretty much in two columns about the decision / cut of the jQuery team
 
As a replacment :P
 
how can a string representation of an actual number be "number"?
 
7:00 AM
just as another job "replacements"
 
I actually agree on the step to clean up the source/core which supported legacy browsers and bugs, but on the other hand. I dunno, it feels odd'ish for some reason
 
@tereško since i know you have significant amount of knowledge in both JS and PHP :P
the wikimedia stack suits more to you .. dunno if u like that kinda work though
 
@jAndy I didn't look at the details. Apart removing old browsers support, what is odd ?
 
but as perks you get to travel the whole world for "hackathons" and they pay "MUCH"
 
@AmaanCheval heh ... my knowledge about canvas is quite limited
 
7:02 AM
Did I imagine that jQuery 2.0 was going to be modularised?
 
@dystroy it kinda feels that this cut splits the library/community in half
 
@phenomnomnominal what ?
 
@ThiefMaster it looks, buggy..., at best case
but I'm uncertain if Firebug plays a role there too
 
@Darkyen, that you could just be like, hey I only want the AJAX stuff
 
Oh... we needed that, another big library killed by open source drama...
 
7:03 AM
@ThiefMaster v
 
@phenomnomnominal jQuery is small and easy to cache. I don't think modularization would be useful. I prefer it to keep compact and not include not essential features.
 
even though in my opinion 000.000 is also a valid number aswell as .123 or 0123.3210
 
@Jan-StefanJanetzky this isn't a valid json number
A problem with 0123 is that you don't know if it's octal or decimal
 
the next jquery is this: github.com/Ralt/dom-essentials
if I ever start working on it again.
 
@FlorianMargaine You should!
 
When JSON was designed, parseInt("0123") was parsing the number as octal, allowing it would have made eval different from JSON.parse or introduce octal in JSON...
 
lmao, upvotes for that average answer won't stop
 
HAMMERTIME!
 
!!/stat jAndy extended
 
@jAndy [jAndy](http://stackoverflow.com/users/1386886/jandy) has 66309 reputation, earned 180 rep today, asked 50 questions, gave 1844 answers, for a q:a ratio of 25:922.
avg. rep/post: 35.01. Badges: 8g 78s 143b
 
7:08 AM
cash rep cow!
 
@jAndy rep hoe
 
:( :)
 
When i see somebody with over 60k rep ^ , showing off
 
oh svn merging hell...
I think I'm going to make an alias resol=svn resolve --accept working
 
@Darkyen lol
 
7:15 AM
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Metronic | Form Stuff - Form Wizard</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<link href="../../user_resources/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
slider value not showing
what can be the problem?
help any one?
 
@jAndy I was planning to go over you soon but this simple random question makes it harder :(
 
@dystroy how much u are behind him ?
bleh 200 rep cap :-(
 
@Darkyen About 4 weeks without this question... much more now :(
 
slider value is not showing up
 
1 message moved to recycle bin
Please make a fiddle
 
7:23 AM
If a have data from a php loaded by ajax why a part of the data have utf8 codification and other part don't have that? I mean why javascript changes the codification in a part of the ajax response?
 
codification ?
 
the encode
 
!!what flavour ice cream should i get?
 
@phenomnomnominal Could not find definition for flavour ice cream should i get. Trying Urban Dictionary
 
@Darkyen my mistake the problem in generate by php firebug says
 
7:28 AM
encoding ?
help him out
 
@phenomnomnominal arequipe
oh 2:30 am and I want arequipe ice cream u.u
 
@phenomnomnominal pink
 
Translation, bubblegum.
 
@phenomnomnominal Could be strawberry or cherry
If I pick pink, then I have a better chance of guessing a flavor you'd like, since it could be several flavors
 
Is anyone familiar with angular services by chance?
 
7:37 AM
Vanilla is under appreciated
it makes such a good base for other stuff
Like sprinkling milo or dribbling honey
 
@Neil or you could pick chocolate since everybody likes chocolate
 
An organisation that treats its programmers as morons will soon have programmers that are willing and able to act like morons only. — Bjarne Stroustrup
 
I got goody gum drops
 
Mornin'
 
7:52 AM
Evening!
 
I'm so tired, almost didn't manage to get up.
 
I didn't really today. Sat on the couch and watched season 1
 
You on vacation?
 
@OctavianDamiean In college
 
7:55 AM
BotWat++
We're on vacation whenever we feel like it :P
 
user2157210
Morning
 
Yea? Then go work for me. :D
@Nexxpresso Meh ...
 
I am unable to see the slider value here..jsfiddle.net/5TTm4/913
 
user2157210
sup
 
user2157210
im 4 minutes to early to work i feel dumb
 
7:57 AM
@FlorianMargaine Kim Jong Un dislikes chocolate
 
user2157210
same
 
@OctavianDamiean Sure, if you pay for my flight
 
user2157210
I pay for donkey transport
 
@AmaanCheval Meh, just configure an OpenVPN tunnel. :P
 
user2157210
7:59 AM
can work for me too
 
user2157210
@OctavianDamiean I can do the work for you tho 90$/hour sounds reasonable
 
I've been valiantly trying to write my thesis proposal today
 

« first day (900 days earlier)      last day (4047 days later) »