« first day (750 days earlier)      last day (4212 days later) » 
02:00 - 18:0018:00 - 23:00

2:06 AM
0
Q: Javascript Geocoder - Any room for improvement or optimisation?

James WillsonThis is the code im working with: <!-- Geocode --> $(document).ready(function () { var GeoCoded = { done: false }; autosuggest(); $('#myform').on('submit', function (e) { if (GeoCoded.done) return true; e.preventDefault(); var geocoder = new google.maps.Geo...

 
3:05 AM
@DaveRandom can u show more code ?
btw you can just declare var _document = document;
and then refer to that _document instead of that jQUeries
 
 
2 hours later…
5:24 AM
I have a widget in a div that is inheriting all the CSS of that div's class. Is there a way to stop it from inheriting the CSS aside from overriding all the changed CSS properties?
 
5:54 AM
Socket.io
is showing explicityely strange behavior
 
6:32 AM
@AmaanCheval ^
 
Gah, every widget in JS is half baked!!!!!! ADSFADSFADSFADSFs
 
@Greg ?
 
Sorry, im just frustrated. I just tried out 2 datagrids only to find some show stopping bug or missing feature. Its been like this all week.
Flexigrid claims to have JSON support, but its JSON example actually uses XML.
Even Jquery UI autocomplete didn't support an event for "no data found" until Jquery UI 1.9.0
And Jquery UI has a half made combo box and tells you to finish it yourself.
 
7:06 AM
0
Q: Optimize iterative pixel blending function

rrowlandSummary I've created a function that blends tiles on a 2D hexagonal grid with their neighboring tiles based on an image that serves as a "blend mask". It runs, and isn't too intensive, but I feel it can be better / faster. Drawing pixel-by-pixel is very intensive even for the 108x122 (Relatively...

 
7:45 AM
@Abhishek I can barely hear you
Also, what version of Ubuntu are you on? That looks old
At least Nautilus is an old version, right? Or a different theme?
 
8:04 AM
 
Its fedora u unbunitw
 
@AmaanCheval This is so sweet. Just out of curiosity, what kind of income do they have by offering this service for free?
 
I don't know, really
Just came across it, and it was a pretty good service
Do you currently offer any paid plans? Why is there no advertising? How do you guys make money?

We do not currently offer any paid plans and feel that advertising would get in the way of providing a simple and elegant user experience. We may offer the option to pay for premium features in the future, but in the meantime we want to provide the best experience possible.
 
pretty neat, you should add right click functionality.
 
Talking to @Abhishek, right?
 
8:09 AM
Sounds too good to be true. Hope they keep this project going :)
 
It's pretty much like Imgur, right now
 
omg we just left daylights saving time
 
I don't know how Imgur makes money either
 
Same
 
i was like WTF? wasn't it almost 2am a few minutes ago???? why is it 1:10?
ill take the extra hour of sleep
 
8:10 AM
@Greg Well at least you've got one extra hour of sleep
lol was about to say that
 
right, it made me think i was crazy for a second though.
actually made me think my linux box was screwed up
 
Well, it's 5:11 AM here and I really should get some sleep =p
Cya guys
 
i was like, damned linux, now i need to compile a calendar update into the kernel.
 
lol
Which distro are you on?
 
oh im joking, its ubuntu
but i do find it frusturating that i have to compile patches into Unity to do simple things like move the taskbar
 
8:40 AM
@Greg right click functionality ?
 
Right click to download
 
@AmaanCheval if thats regarding filur , filur is more like uTorrent
@Greg download what ?
@AmaanCheval fails for me :-(
and i know there are tons of em but i dk if anyone supports p2p :3 , after i add backwards compitablity its ur very own uTorrent inside your browser! , on and @AmaanCheval drop canvas uploads files to server and then allows download
this one is more like p2p transfer ^^
 
Hmm, yeah, I think yours might be the only p2p one. Except one that Raynos had posted long ago, which stopped working
This should be cool!
 
hmm you have a p2p webpage?
 
@Greg nod
@AmaanCheval discovery-network ?
 
8:48 AM
sounds neat, do to people connect to it, then it forwards small packets through a server?
 
yeap
 
@Abhishek Don't remember
 
web sockets or polling?
 
so far its mostly server-relayed packets @Greg
and uses socket.io
 
or does it have fall back for most?
 
8:49 AM
Sockets
 
ah oks
 
I think it was gun.io @Abhishek
 
0
Q: Dynamic family tree structure using javascript and HTML

JimitI want to make familytree like image uploaded here. Can any one tell me how can I set left and top of div so, It will not overlap on div? I want javascript to set left and top so, It will not overlap on each other and perfectly display. Please help me. Thanks in advance.

 
@AmaanCheval supports 1 to 1
mine is pure torrent brah
 
8:52 AM
So WebRTC?
 
many to many ^^ , seeders and leechers FTW
yeap webRTC with websocket shims
though its just working on web-sockets atm
 
That's cool
 
though websocket based many to many is wastage
 
Any good WYSIWYG editors out there?
 
for?
web pages?
 
9:01 AM
@Abhishek profile pic lol
@Greg web
yes
 
adobe dreamweaver? lol
 
lol
no
 
The following is a list of HTML editors. Text editors Basic text editors Plain text editors may be used to produce webpages. The following are some commonly used text editors: *AkelPad *Crimson Editor *FAR Manager (+Colorer plugin) *gedit *jEdit *Kate *Metapad *nano *NEdit *Notepad *WordPad *SciTE *TextEdit *TED Notepad Source code editors Source code editors evolved from basic text editors, but include additional tools specifically geared toward handling code. *ActiveState Komodo *Alleycode HTML Editor *Aptana *Arachnophilia *BBEdit *BlueFish *Coda *CoffeeCup HTML Editor *E Tex...
theres a list of wysiwyg editors half way down the page
 
i meant a jquery WYSIWYG editor for forms @Greg , for the users to type in stuff
not for dev
 
ooooh
 
9:04 AM
WE JUST JUMPED BACK IN TIME
 
@javawarrior how?
 
Java warrior was using eclipse
 
???
daylights sa ing time
anyways, i'm looking for beta testers for games of mine
 
me me me
 
ok
what is your Skype?
 
9:08 AM
dont have
lol
 
i need contact with oyu
 
gmail?
well actually i dont have much time, however if you need some quick feedback im free now?
 
ok
so i'm makign a laser stimulator
 
nothing says fun like stimulating lasers
 
basically you can create mirrors, and shoot lasers at them, and they bounce off of mirrors
 
9:11 AM
cool
 
what do you think about using the D key and dragging mirrors off the grid to delete them
 
you could try making it more like portal or have some objectives like burning ropes or something
 
eeeh
 
mouse to drag and reposition
 
i have that
 
9:12 AM
and select and press d to delete
 
want to test it out?
 
that makes sense from a user perspective
sure
im on linux though have jvm installed :D
 
hehe
 
use the space bar to smash the mirror
 
so here's what you can do for edit mode.
Click, drag, and release to create mirrors
drag a yellow circle in the middle of mirrors to move them
 
9:15 AM
ooh you should have a toolbar on the side where you can get different kids of mirrors
 
press d, drag the ball outside the screen to remove it
 
and some will have filters that filter out certain wavelengths.
 
what kind of mirrors greg?
 
it would be neat to have a white laser that you can turn red or blue depending on the mirror filter.
 
your ideas curiose me
 
9:16 AM
and you might want a prism! That splits a white laser into beams at different angles
 
Do you have Skype?
 
i have skype, but im on linux and it hasn't been working
 
what is your Skype?
 
gsonnenf
 
added
 
9:18 AM
kk
 
@javawarrior Why do you need to Skype people for this?
 
amaan, would you happen to know how to stop a css class from propagating into sub elements of a div?
I have styling on a div, but its screwing up a widget in that div
 
I don't think that's possible
You can write some CSS to override the styles on the children
 
yea, i've been reading that. Its a flaw in the design of css.
 
oh
yes
 
9:21 AM
@javawarrior What kind of game is this? Not browser-based, I'm assuming
 
i can only guess its written in java.
 
this game is a laser game for java
 
Sounds cool
 
And I need testers with Skype so i can ask them about stuff
Different lasers sound cool
 
9:47 AM
Wow. That looks like a pretty cool concept for a game
 
@Yohann what profile pic ?
@Yohann vim is best
what you see [in code] is what you get on screen ;D
so its a WYSIWYG
 
10:30 AM
@Abhishek yours on stackoverflow, no im talking about web based for users to use
 
10:44 AM
Holy shit. I thought Mustache was awesome. Handlebars is "awesomer". :D
 
 
2 hours later…
12:27 PM
@Yohann oh thanks :-)
 
Are text nodes immutable? node.data = 'new string' doesn't seem to work in firefox - do I have to replace the node or something? I don't really want to have to remove it from the parent node and then add a new one, because it causes a quick flash where the text disappears, I can't seem to find a recipe that works everywhere :-(
 
node.node.data?
I remember seeing something like that
JSFiddle
 
What, on the text node or on the parent node? Basically I am trying to convert some jQuery.text() code to vanilla JS.
@AmaanCheval Half a tick
 
@DaveRandom Half a tick?
 
Meaning "give me a second". Britishism I think :S
 
12:34 PM
Ah
 
Oh wait it does work jsfiddle.net/DaveRandom/KttxU. Obviously I have made some other mistake somewhere. Rubber ducks to the rescue!
 
1:04 PM
Could anyone explain this inaccuracy in JavaScript: http://jsfiddle.net/FtGc9/
Basically '<= 100' is giving the same result as '< 100' in a simple loop
 
IEEE floating point
Try seeing the values of i in the console
They're inaccurate
And then adding to inaccurate values, you get more inaccurate values
Those are the values of i from 0 to 1
 
wow
 
Yeah, so basically, you see that 0.8 is 0.79999 here
 
so 100 is 99.99999
gotcha
this seems fundamentally flawed
 
@AmaanCheval yo
@Timm they are not flawed
they are just end of computational precision
consider this
0.234234234923942384293498234892348289349283480234908921304210934982139402103984‌​902134092349082130948213094810428921308402139840239481092384180249214902384213842‌​13042074823048914097213402134
how on earth you think this number can be stored ?
there must be an encoding
so if you remember the exponential method of storing a number
in which we store a number in the power of e .. [ much as natural log ]
we just have to store the power
but doing so we lose precision because there is an upper limit on how many bits u can store ... still :-(
 
1:16 PM
:-(
isn't 0.1 store as 1x10^-1 ?
 
yes
 
oh to the power of e
 
thats mantissa and exponent
An IEEE 754 format is a "set of representations of numerical values and symbols". A format may also include how the set is encoded.
A format comprises:
Finite numbers, which may be either base 2 (binary) or base 10 (decimal). Each finite number is described by three integers: s = a sign (zero or one), c = a significand (or 'coefficient'), q = an exponent. The numerical value of a finite number is
(−1)s × c × bq
where b is the base (2 or 10). For example, if the sign is 1 (indicating negative), the significand is 12345, the exponent is −3, and the base is 10, then the value of the number is
^ Read that on wiki
i gave e just as an example
 
thanks, you gave a great explaination
 
1:35 PM
-3
Q: Function is called automatic?

user1798043 Possible Duplicate: Javascript and PHP functions When i refresh page delete function is call automatic check this code. <img src="images/delete.png" width="25" height="25" onclick="var status_=false; status_=deleteEmployee(); if(status_ === true) {<?php deleteEmployee($row['id']...

 
1:46 PM
Why are so many people confused by this? stackoverflow.com/questions/13218972/…
 
no idea
 
@Zirak jQuery everywhere
 
but I guess it's a disconnection between the behavior they got in their head, and how the language works
 
@IvoWetzel +1
 
"It should call that function", so they end up writing the call right there
 
1:49 PM
^ Thats the reason! why everybody is so confused
 
jQuery has callbacks written in big shiny letters, so using it should teach you how to use callbacks
Sorry, you can't blame jquery on this one.
@IvoWetzel See, it's a dissonance. When they write the function call, all the language logic should strike them saying "wait...something's not right here". Passing a function is not a very trivial thing, but doing the function call in the first place instead of asking how to do it at all is the weird part.
 
Callbacks confused me, but I'm guessing it should not be hard to learn
And honestly, I can't read jQuery, so- that was just horribly confusing
 
*LoL
 
Society thinks web-devs do that?
And they got my nice side there
 
some people do
I like the Actually Do one the most LOL
 
2:01 PM
@Zirak Do you have a collection of dead baby jokes?
 
Yes. It's called my brain
 
Any place I can access?
 
>>> import zirak.brain
>>> brain.ask( 'Dead baby joke?' )
How do you stop a baby from flying around in circles? ...Turn off the ceiling fan
 
:D
brain.ask( 'Dead baby joke?' );
 
(that'd be a great easter egg...)
 
2:10 PM
Yeah :p
 
Error: Senile
 
@AmaanCheval LoL
 
What's the worst part about killing a baby?
...Cleaning the clown costume from blood stains.
 
@Zirak LoL
@Zirak here is mine
>>> brain.ask('Whats in your head except for brutallity and ofcourse porn');
 
2:20 PM
Grammar correction. You missed a question mark.
:P
 
SyntaxError: Missing question mark
 
>>> brain.ask('Whats in your head except for brutallity and of course porn ?');
 
Missing space between "of" and "course" :P
 
@FlorianMargaine o/
did u saw thee video
 Cheval['Amaan'].destroy({
       user : 'death',
       password:'Macbeth'
    });
 
Error 404: Point Not Found. Please refer to Zirak instruction manual, page 86, section D subsection "Misc Thoughts"
 
2:22 PM
@Abhishek Unexpected Identifier : on line 1
 
@AmaanCheval it was relating responce
 
I know :p
I'm just trying to annoy you :p
 
nw die (x_x)
 
Inconsistent whitespace in the object :p
 
var LEET = require('leetspeak');
LEET.decode('d0nt ann0y m3 y0u will m!ss m'/ p@r7y in B0mb@y');
 
2:24 PM
out> 'Please annoy me some more'
Actually, there's a syntax error, since the ' in the m'/ completes the string
 
You'll need to escape it or use double-quotes
 
Okay, I'll go study now. See you guys later
 
Enjoy
 
2:42 PM
@AmaanCheval good luck
@Zirak yo dude i cant decide something would u mind assisting me make a choice good sir
?
 
Choose the second one
 
i dunno which is first or second one (x_x)
 
Neither do I
 
Here are options

with filur i can either make it like a browser based torrent service
or
i can make it user targeted service with usernames and control on who can download
or both ?
cant decide what to do
 
Those are two completely different things
 
2:46 PM
i know
 
So you'll need to define your target, your platform, etc before you can answer
 
Target : IDK

Filur is web-browser based , hence works everywhere a browser can work
 
Well, torrents are about sharing & having a large user base
Stuff like mediafire/dropbox are for storage and sporadic downloads
 
So far filur is like a websocket based torrent
you drop a file in your browser , it reads it asynchronously and sends bytes to server which relays them to clients
which access the file based on a url [ random generated by server on drop ]
 
don't make it login based, I wouldn't host it (I don't want to have a database hurdle)
2
 
2:53 PM
@FlorianMargaine Wont need a login
remember tlk.io ?
 
just a name you give to identify you [ like a friend ]
dunno i will come out with something :-)
 
3:07 PM
@FlorianMargaine here is the final solution
[ tell me what RAM server has ? ]
 
Making it torrent :D
anyone with link can download :-)
it should use FileSystemAPI for temporary storage
and revert partial uploads :-)
 
Hey.
 
makes sense ?
so that your server does nothing but relay packets :D or authenticate if p2p is available
 
One of the little joys in life is naming your Pokemon trainer "Poop" and watching dialogues.
 
3:21 PM
@FlorianMargaine now its a chrome extension :P
 
3:32 PM
@dievardump Sup? When you leaving?
 
Tonight
And I have nothing ready
 
duh
 
hello
 
Else everything is good. I did party a lot these days... like really too much. And too hard.
And you @AmaanCheval, what's up?
 
the fuck i just realized i dont sound anywhere close to indian in that one :-o
 
3:48 PM
@dievardump :D
I have an exam tomorrow, that is in, 17 hours, and I've just started studying for it
And I'm going out for dinner now
 
@AmaanCheval like a boss!
 
@Abhishek Yeah
 
even i had that same feeling the first time it happened ( about not studying )
intresting enough
the less i study the more i score!
 
Your voice is too soft
lol
 
@AmaanCheval i was using my laptop mic
cause my microphone port got ripped off
 
3:50 PM
I don't really study. Just go over the formulae and shit. But I have Chemistry tomorrow
 
@AmaanCheval eeksssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
dont even take that name , never , ever never never never
 
Chemistry is vast and formulae won't get you by. I have to read the chapters so I can prepare for theory and shit :/
Hahaha
 
i hate chemistry with a zeal thats the reason i didn't made it to IIT
 
Yeah, I know
 
despite of scoring 140 / 160 in Physics and 110/160 in Maths
i scored 17 / 160 in Chemistry :$ -10 in first paper , 27 in second :-|
 
3:51 PM
In IIT-JEE?
 
yes
 
Whoa XD
 
Aha.
 
Had you even prepared for Chemistry?
Maybe, I won't go for IIT
 
@AmaanCheval go for SAT
get MiT / CalTECH
 
3:55 PM
And get out of this country?
 
yes
 
Right, MIT
 
you are good in computers ...edu. india sucks for it
infact india sucks for computers in general :P
 
Yeah, but I don't think I can get into MIT / afford MIT
 
why ? No innovation , we just inSource the outsourced stuff
@AmaanCheval you are brilliant enough to get a scholorship dude
 
3:57 PM
I am not all that brilliant academically, dude :p
Well, I'll probably give it a shot
India is pretty shitty for programmers
 
@AmaanCheval lets take an example
my college teacher [ second incharge of my CS department ]
cant fix
ggits.org "?" at the top there
 
Teachers in India are generally engineers who failed or something similar
But seriously?
 
yes
 
@Abhishek How did you get a -10?
 
@Zirak Negetive Marking , for each wrong answer you get 1 mark deducted , i tried 10 and all were wrong x_x
 
4:01 PM
Wrong answers
 
rofl
 
Yeah :p
Look at some of the sums for IIT-JEE papers
It looks like they just want to torture you
Expanding huge equations and shit
 
@AmaanCheval: I think thats what happens to teachers in most countries
 
@jAndy IIT-JEE
an exam you give after killing your youth creativity
to mug up about 320 formulas { Phy.Chem.Math. }
and end up in a college where they again kill your creativity [ True Story by My IIT Mates ]
 
Only for a respected degree
 
4:07 PM
:P
sad enough
 
Gotta go
Bye!
 
i make ~4x of any IITian friend of i have LoL
@AmaanCheval cya :D
 
4x what? Cash?
 
girls..
but since cash = girls, its an equation
 
I love the proof that girls are the root of all evil
girls = time * money
time = money
 =>
girls = money^2

money = sqrt(evil) => money^2 = evil
=>
girls = evil Q.E.D.
I can't remember the one about them being the root of all evil...but evil is good enough.
 
@Zirak i highly doubt that
girls = CrossProduct( time , money);
since time is vector and money is scalar you know what will happen :P
 
You clearly don't know much about girls
 
@Zirak i do
I just know one thing yo
Bitches they come they go
Saturday to sunday monday
Monday to sunday ***I do know one thing though
*****es they come, they go
Saturday through Sunday Monday
Monday through Sunday yo
Maybe I'll love you one day
Maybe we'll someday grow
'Til then just sit your drunk *** on that ****in' runway hoe
- Eminem
 
Girls == men but not === men
 
5:59 PM
Heyy
How can I figure out the datatype of something in JS?
 
02:00 - 18:0018:00 - 23:00

« first day (750 days earlier)      last day (4212 days later) »