« first day (1216 days earlier)      last day (3746 days later) » 

9:00 AM
one of the best decisions I made in my browser
is add a "close tabs to the left" button
 
Ah, I see.
What I meant was only visual thing. Move the button physically from the right side to the left side.
 
somewhat unrelated, thought I'd throw it out there :P
yeah, I understood
 
 
yeah I get it :P
 
OSX users are used to that, I don't understand why both Chrome and Firefox got it on the wrong side ;P
 
9:01 AM
I close them in bulk anyway
 
I see.
 
so how far into xslt did you go
I may have some more specific questions soon :X
 
XML -> XML
XML -> HTML
XML -> CSV
but just basic transformations. And functions I guess.
 
@Mosho Can you please guide me on developing interactive feature in D3 like I mentioned before? I have no idea how to proceed. :(
 
Did you read some tutorials?
 
9:07 AM
I did not find any tutorial based on that.
 
it's all just drawing and events
 
can you share a live example with me so that I can learn from it?
 
hmm
@Miszy I need to create a grid and populate it
<node>
<UI>Grid</UI>
<node>stuff</node>
<node>stuff</node>
<node>stuff</node>
<node>stuff</node>
<node>stuff</node>
</node>
 
Do it :D
 
actually that is simple once I gave it a bit more thought
hmm
 
9:18 AM
Killing formatting :
if(t.length > n)
  done();
else {
  var img = new Image;
  img.onload = fun1;
  img.src=“images/image5.jpg” + "?id=" + (new Date()).getTime();
}
 
@Mosho any easier example?
 
hmm
that was what I learned from :X
well
you have the basic stuff
I would just google "d3js tutorials" until I have a grasp on it
 
@Mosho I wanna make it interactive, it would be much better than the current version
 
that is just even handlers
and some more drawing
 
D3 is so vast.
 
9:24 AM
this looks simple
and something you would be interested in
 
Jes
hi all
good morning
i m using jqury autocomplete
when i select an item from the list it returns the id of the selected item in the text box
instead of text
 
@Mosho yeah, I covered that one. What I am currently looking for is interactive features.
 
how is that not interactive
 
@Mosho interactive in the sence like this one c3js.org/samples/simple.html
 
how is that interactive and that other chart isn't
they are basically the same
 
9:28 AM
@Mosho "Interactive" may not be the correct word here. I want to add the guiding vertical line when mouseover and a label to it as well. I call that interactive.
 
you need to create rectangles around each point
invisible ones
with a mouse over even handler that draws their respective line and label
 
how do I create that? svg.selectAll('rect') ??
 
just like you did with the circles
can just copy that
not sure about rectangle attributes but they are on the docs somewhere
first get the lines done
then the lables
the overall strategy should be like this:
1. create 'g' element
2. put an invisible rectangle in it
3. put a line in it
do that for each point
move the 'g' elements to where they should be
 
sounds good, but how do I make a rect. invisible?
 
set opacity to 0
 
9:35 AM
ah, ok
 
and then add .on('mouseover' function....)
for the rectangles
 
and how do I put a vertical line in it?
 
the line is there
invisible
like the rectangle
but when you mouseover one you set its opacity to 1
 
already there by default you mean?
 
no
you make a 'g' (group) element
put a rect and a line in it
 
9:37 AM
ok
 
one group element for each point on the graph
if you want to make a SO question
I can answer it later this week
with a working example
 
Hi. Is anyone there?
 
@Mosho Sounds good. Let me try it first. :)
I am not confident enough though.
But I will follow your steps.
 
I only started using d3 a week ago
but I think I can manage something as simple as that
 
Wow. I dont find it that simple at this point. I actually started D3 yesterday!
 
9:42 AM
I had a hard time at first too
but it gets simple pretty fast
 
jsfiddle.net/n3s6P/
I did that the same day
I started
 
can any of you guys help me with a regexp problem?
 
!!/welcome akinuri
 
@akinuri 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.
 
9:44 AM
@Mosho thats impressive man! :)
 
:P
 
Let me check on the rectangles and lines, will get back to you shortly.
 
I don't have regexp knowledge, though I need to create a simple pattern. Anything starts with ( and ends with ). I don't know how to write that.
 
What closing reason for this random thing ?
0
Q: jquery element value not working in Firefox and Safari

OneScrewLooseText doesn't show up in Firefox and Safari using these different approaches, it's just a blank <span id="name"></span> same with <p> tags: $('#name').text(data.username); $('#name').textContent(data.username); $('#name').text(data.username).html(); $('#name').text(data.username).innerHTML(); T...

 
seriously this ab testing is hard
 
9:47 AM
@dystroy "unclear"
 
especially when i don't have real users
 
Why closing? It's a very important question. :D
 
@akinuri (.*)
er
why did it remove my escapes :'(
 
\(.*\) right ?
 
I need to escape )'s?
 
9:49 AM
^(.*)$
 
@akinuri Yes, they mean groups in Regexp
 
^ and $ if you want it to only start with ( and end with )
 
!!> /^start.*end$/.test("startsomethingend")
 
@dystroy true
 
@akinuri ^
 
9:50 AM
@Mosho This will match any string, not only those enclosed in parentheses.
 
hmm?
 
!!> (/^(.*)$/).test('anystringlol')
 
@Miszy true
 
it is removing my escapes
 
parentheses has to be escaped
 
I'm escaping the parentheses
//(
 
!!> (/(.*)/).test('(mystring)')
 
/(
 
@Miszy true
 
wat
/(.*/)
I swear it did
 
9:51 AM
better ?
 
am I beeing trolled by a chatroom
 
then the blacks ?
 
hmmm
(
 
being*
 
it does
lol
 
/(
 
the whites look much better no ?
 
When I type \( or \) it removes the backslash
 
@Mosho the chatroom supports markdown. Add 4 spaces if you want a verbatim output
 
(
 
9:52 AM
( )
 
^\(.*\)
 
@Mosho: what does this line actually do?
.attr('cx', function (d) { return x(d.date); })
what is cx?
 
sets the circle's center's x coordinate
 
I see. Sorry, I hate acronyms.
 
um :-(
am i being irritating ?
 
9:55 AM
oh
lol
 
I seriously suck at colors thats why am asking :-/
 
what is that rectangle at the bottom
is it like a stand? :P
 
I see
 
!!tell mosho google dell ultrasharp
 
a lil bit like em but i dislike the curves
 
I prefer the no frame version
or black frame, whatever
omg
5am
 
I like the whites more, cause it complements the greys and explicitely displays the screen
 
@Mosho: Have you ever had a chance to look at Highcharts API? Its much simpler.
 
I haven't, but d3 isn't really for drawing charts
 
9:59 AM
then?
 
drawing in general
 
is it just like a graphical tool?
 
from data
have you looked at the examples
 
yeah, I did
wide range of variety
 
Hi I am having issuess with apache redirection for my single page application . Here is the question that I have asked, but sadly nobody answered . stackoverflow.com/questions/21721586/…
 
10:00 AM
very few are simply charts
 
yeah
 
if any
 
@Mosho I think I will post a SO question on D3. I am not able to do better than this: jsfiddle.net/rdesai/SKb8W/6
 
woah, when did the MDN - redesign happen?
 
Month or two ago
 
10:05 AM
really? holy hell
 
is bootstrap's grid good
 
Hey guys
 
really, FF?
bugs only you have?
CSS bugs?
damnit ff, don't fail me
 
If I have a select element with an onchange attribute, will using e.preventDefault(); stop the attribute onchange from being fired?
 
@FlorianMargaine whats up ?
 
10:10 AM
in the content of a before, don't add no-repeat to an url()
it works perfectly in chrome, but ff will fail you
like, not showing the image at all.
 
:o
ps my firefox console hanged rendering window.*
the worst part ?
window.innerWidth = 1536 in firefox
window.innerWidth = 1920 in chrome
wtf
 
@klarezz 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.
 
@Mosho whenever you can
0
Q: How to add interactive features (line and label) to a D3 line chart?

Rahul DesaiI am new to D3.js and currently developing a line chart for one of my projects. I referred the documentation and example here and created my own version here. Now, I am planning to add two interactive features here: On mouseover in the chart draw a vertical line to the nearest data point. Show ...

 
10:25 AM
2
Q: Ember.js - Call parent model hook to load data for child

tpiI have a master/detail view in Ember. If i am calling the detail page directly, the model hook of the detail page needs the model(data) from the parent(master). The detail model hook is called - whats the proper way to get/call the model so the modelFor function in the detail hook works. Router:...

can anyone answer that one?
 
hi @AbhishekHingnikar
 
@ShankarParshimoni bye
sorry am leaving
 
<p><a href="http://www.google.com" target="_blank">go to sdat link</a></p> written this code widows store app.when ever i click link that google link will be open in desktop version IE
can any one help me
 
and it should do what?
sorry, I don't know the windows store app, has it got a built-in browser?
 
Why're we in gallery??
 
10:52 AM
@phenomnomnominal hey :)
how are you?
 
good as bro!
 
@phenomnomnominal Because we are educated people, appreciating art and shit.
 
La Dispute & Balance and Composure announced a tour here, so I'm stoked.
@Miszy WHAT? ARE YOU TRYING TO MAKE ME LEARN SOMETHING?
 
oh, awesome
 
@GNi33 and I just chucked another cover up on soundcloud, so that always feels good
 
10:53 AM
did you see what i got myself? -> distilleryimage5.ak.instagram.com/…
 
yuuuuuummmmmmmm
Nice work, how is it?
Check out the finish on that bad boy
 
it's awesome
really nice to play on, two seymour duncan humbucker pickups
clean sound is not too brilliant of course, but I really don't give a damn, got my squier for that
 
Haha fuck clean bro
That's what acoustics are for
 
exactly
but the sound is massive, I'm loving that guitar
 
Nice!
I'll just leave this here...
3
 
10:57 AM
hi all, I'm using loading image for pop up, After popup came, I can able to edit background textbox, I don't want that , once popup came I cant able to edit background textbox. Help me !!!
how can I achieve it ?
 
@phenomnomnominal Tasty jam :p
 
@phenomnomnominal woah
 
But really, you're brilliant
 
Haha cheers! Just something I've decided to be more public with lately.
No point sitting in my room forever
 
If it didn't have your name and "cover" there, I'd have assumed it was professional
 
10:59 AM
how do you record? what's your setup for that? sounds really, really good
 

« first day (1216 days earlier)      last day (3746 days later) »