« first day (420 days earlier)      last day (3368 days later) » 

12:00 PM
:17337844 it should jump by 100...
0 - 100 - 200 - and so on
It jumps by 8 currently...
 
-> Right now:- $ 4023
-> Required Output:- $ 4.023
is that a joke?
x/100
 
@Billy That's an explanation.
 
posted on June 24, 2014 by kbironneau

/* by deharodk */

 
Man I didn't bring my headphones today
Seriously, @CodeMonk... divide by 100?
 
12:05 PM
you tell em @Billy
you tell em good
 
@Billy It's not divide, it's a multiple I'm i'm looking for.
 
no, you want to divide boss
 
!!> 4023/1000
 
@rlemon 40.23
 
12:07 PM
@DhanushBala you keep dumping your question, I will keep trashing it. I can play this game all day.
 
@rlemon 4.023
 
@CodeMonk ^
 
when did caprica return?
 
@Billy 24 seconds ago :D
 
!!welcome back
 
12:09 PM
when I tried to use her and noticed she was not in the room
 
that's just a dot. not to divide. it can be any character, a comma...
$4,023 -> how will you show this output while dividing it by 100?
 
@CodeMonk a facepalm is not enough
 
!!> (4231/1000).toString().split('.').join(',')
 
@rlemon "ReferenceError: n is not defined"
@rlemon "4,231"
 
!!mute 2331404 3d
 
12:11 PM
@SecondRikudo Muted user 2331404 for 3d
 
@CapricaSix +1
 
Who was that?
 
@Billy The guy who dumps his spammy question all the time
But it won't work until the room is made gallary
@rlemon shouldn't @CapricaSix do that on her own?
 
Is caprica in this room now?
or is she still attached to the JS room?
 
12:13 PM
@Billy She's here otherwise she wouldn't have let me mute...
 
@SecondRikudo do what?
also mute only works in the JS room
 
@CodeMonk is it necessary that it is a comma?
 
muting people in other rooms does nothing
 
12:14 PM
@CodeMonk (4231/1000).toString().split('.').join(',')
 
Ah well, he got chat suspended anyway
 
it is an ugly one liner, but it tells you how to do it
divide to get your whole and remainder, then cast it to a string and mutate as needed
 
@SecondRikudo @rlemon just contradicted you. I believe him. :P
 
@Billy She's in the room, but it's probably not her active one.
That's what I mean
 
@Billy she is always "attached" to the js room. but like you can be in multiple rooms so can she (she picks up on the ws communication)
however for certain commands she needs DOM access or access to other pages which require valid fkeys
 
12:17 PM
@rlemon I thought it might be hard coded. I also thought it could be set up in a room
 
what? mute?
 
No
the room that she lives in
 
the only thing that makes her live in the room is that it is the room the browser window is open too
 
Oh. So you could put her in here simply by switching her room?
 
12:19 PM
@SecondRikudo was saying that she should change the room to Gallery mode automatically if someone is muted
 
Caprica, in all of her Glory!
it does, in the JS room
 
Ahh. Well there's your answer, @SecondRikudo :)
 
@rlemon Why not have multiple tabs?
 
wouldn't solve anything
would only make managing her harder
the real fix is the node port
 
How so? Each tab is a completely different instance, with the only thing in common being chat-wide state (credentials, etc)
 
12:21 PM
Which will come along eventually :p
 
@rlemon I agree, but how do you solve the DOM problem there?
 
@SecondRikudo Look at the actual source
 
Is the chat API good enough?
 
We don't use the DOM for much
Substitute uses it
/moustache too, I think
 
only a handful of commands
 
12:22 PM
Most of the commands that work only in the JS room are that way because they use the DOM
 
@rlemon Yeah, but those are the most important ones XD
 
they are not going away
there are projects that bring the DOM back up to node
 
Wait, so you aren't using the API?
 
there is no chat API
 
@rlemon So how are you going to do things like watch for commands, etc? Build an HTTP client?
 
12:28 PM
nvm
 
!!tell SecondRikudo help
 
@SecondRikudo Information on interacting with me can be found at this page
 
anybody has solution for background image for html select option dropdown
 
there is a roadmap somewhere in there
don't ask me, i'm not involved
 
@kvijayanand That sounds like a horrible idea, and I'm not sure you can do it with CSS alone.
 
12:29 PM
@kvijayanand it's the same as any other element...
 
@ZachSaucier I don't think so, <select> is very special styling-wise.
 
it isn't consistent either
 
ya i tried but its not working in Firefox 30
 
@kvijayanand I'm pretty sure you can't do that
 
58 secs ago, by Second Rikudo
@kvijayanand That sounds like a horrible idea, and I'm not sure you can do it with CSS alone.
 
12:30 PM
awesome example
 
@CodeMonk you can do $('#dragValue').text((x * 15000).toFixed(3)); to get it to 3 places decimal, but the multiples of 100 depends on the width of the dragbar, so I can't help with that
 
@kvijayanand This is most certainly not the sample page.
 
@SecondRikudo no it's not jsfiddle.net/eBCk5
 
Unless you're a sockpuppet for balpha :D
 
12:31 PM
@kvijayanand Best option if you really want to do that is create your own dropdown with HTML/CSS and hidden radio buttons
 
@ICanHasKittenz Thanks :)
 
there might be some browser specific prefixes to take into account specific for selects, but it's the same
 
@Billy : Thanks
 
@kvijayanand don't listen to him
 
@zach : ha ha ha
 
12:32 PM
@ZachSaucier That is the best option
 
it's a bad suggestion
you can style a select element just fine
 
Its pretty much the only option he has if he really wants to use an image as a background for a dropdown
@ZachSaucier WRONG
 
@ZachSaucier Look closely, it doesn't affect the selection menu.
 
@SecondRikudo it does for me
it's colored green because of the top left part of the image
 
You can affect the select box, but options for the dropdown are very limited
 
12:34 PM
Open the menu, what's the background of all the ones?
For me on Chrome it's white.
 
the options are a different issue entirely
 
@ZachSaucier I'm pretty sure that's what he's asking...
 
@Rikudo : in firefox its not working (jsfiddle.net/eBCk5/1)
 
@kvijayanand Let's back up a little
What are you expecting to happen?
 
@ZachSaucier I'm also pretty sure he wants to change the background of the dropdown, i.e options
 
12:36 PM
please check this in chrome
the design arrow will be displaying fine
in chrome
but in firefox30 its not displaying properly
 
@kvijayanand I don't have firefox. Define "not displaying properly"
 
@ICanHasKittenz hovering what?
 
Going to a small off licence run by an asian family where they sell the nicest curries for lunch.
I haven't been there in ages and can't wait
@ICanHasKittenz man that's awesome
 
Evening!
Did you see this? pattle.github.io/simpsons-in-css :-) It's very cool!
2
 
12:45 PM
@ZachSaucier +1, I can't find it.
 
@IonicãBizãu Ok when they blinked it freaked me out
@ZachSaucier @mikedidthis just hover/move your mouse over the background
 
ya, does nothing for me
 
Me neither.
 
What browser do you have?
 
newest Chrome
 
12:46 PM
Me too..
works for mee
 
Latest Chromium.
Uncaught ReferenceError: setupCanvaEmbedded is not defined
 
It's not very smooth :( But that's probably my laptop's fault.
 
I'm guessing it un-blurs the part hovered?
 
@ZachSaucier Yeah
and it's one of those "faster you move, thinner the brush stroke" kinda deal
 
@ZachSaucier @mikedidthis i.imgur.com/0zBqt8P.png
^ that
 
12:48 PM
damn!
 
@mikedidthis bump
 
@AskoNõmm were you lurking? :D
 
I just got here, so no.
 
Well your CSS Simpson timing was spooky.
 
12:50 PM
I got sources (read HN)
 
ha!
 
Tonight's the night ya'all, I'm finally redesigning my agency' site. Thinking some fancy effects and uberminimalism almost-perfect typography stuff.
 
give it a chance
 
hahahahhahahaah
 
That's awesome and how I have spent most my day.
 
12:58 PM
really well done
 
I would happily play a platform game with that as the bg music.
 
same
btw Castle Crashers is addictive
 
I can imagine it is, Alien Hominid was a just one more go, kinda game.
@AskoNõmm is your agency, your agency? Or one you work for?
 
is there any issue using something like background-color:red in production (besides the fact that it's ugly)?
 
1:13 PM
no
 
@ZachSaucier Do you mean using a color-keyword?
 
I don't think that's ugly :-/
Now having a red background, on the other hand...
 
Me neither. I think its clear.
 
No, keywords are part of the spec and simply represent hexadecimals
 
1:15 PM
It, of course, depends on the situation whether or not it's ugly
 
(I think I'm right in saying they just translate to hex's)
 
I'd assume so but I was curious if certain browsers didn't
 
I do however dislike the color choice for "brown"
 
@Billy I believe so, but would be a good question for SO.
 
@mikedidthis No it's surely answered elsewhere on the web already
 
1:17 PM
crockford.com/wrrrld/color.html this just isn't very attractive
 
@ZachSaucier I'm pretty sure the point of color keywords is because they are the web safe colors :P
@mikedidthis What tyler said
He beat me to it.........
 
@ZachSaucier talk about lack of design
jsfiddle.net/TylerH/4m7M6/1 though there's support for some weird named colors
 
You would think so... but I am more curious to see if all browsers honour it.
15
A: Are there any cons to using color names in place of color codes in CSS?

PointyDifferent browsers may not agree on what some color names mean. There are not names for all 16 million 24-bit colors. In fact there are only 17 W3C-standard color names. It's probably OK to use those. Personally I use a templating system at build time to pre-process my CSS files, so that I can k...

 
@mikedidthis Not sure where he got 17 from
 
@TylerH use the docs, fool
:P
 
@ZachSaucier I thought you were looking for a list that looked nice
 
already linked :P
 
no; it's different from your two links
 
1:21 PM
@TylerH I don't think that that second one has anything to do with web safe colors
it's just a list of colours and their hex equivalents
 
1 min ago, by Zach Saucier
I count 16 http://www.w3.org/TR/css3-color/#html4
@TylerH ^^
 
@ZachSaucier Okay, you had a different URL, not my fault
 
Maybe they are counting transparent as the 17th.
 
Unless "cornflourblue" is a web safe color
 
But here is a different one: w3.org/TR/CSS21/syndata.html#value-def-color from CSS 2.1
 
1:22 PM
I think that there could be an improved answer for that question - the one there sucks
 
PALEGOLDENROD, not bad
 
@CarrieKendall Ha
@ZachSaucier I agree
No link to source being my main hate
 
That last link might be where he got 17 from, @Billy
 
project for after work
 
tl;dr. Someone get some rep out of this :D
 
1:23 PM
I call it since I asked the question - squatters
 
@mikedidthis dude, i have been getting upvotes on this nearly everyday: stackoverflow.com/questions/21839351/…
 
Go nuts.
 
i think it's going to be my epic answer 8D
 
only one of your career?
 
How many times can the spec list colors within itself?
 
1:24 PM
@TylerH Maybe. I can't figure out which one is the extra one.
 
@CarrieKendall dudette, because its a really good answer?
 
one answer to rule them
i highly considered not posting that when i wrote it because the question doesnt show much effort
but then i was feeling repwhorish
 
@Billy What do you mean? He says 17, there are 17 in that link'
 
he's comparing the two pages, I'd assume
 
css3: 16, css2.1: 17 I found the extra one, it's orange
What Zach said
But why would they remove orange?
As a ginger person, I'm taking offence.
 
1:26 PM
 
Lul
 
pets.stackexchange.com/questions/5562/… How about not being a dick to your dog for starters...
 
@TylerH I feel like you roam the web in the weirdest way
 
@ZachSaucier This was one of the "hot network questions" on the side of SO
 
They are usually gold, but this one is upsetting.
 
1:37 PM
posted on June 24, 2014 by Natasha Postolovski

    An "affordance" is a perceived signal or clue that an object may be used to perform a particular action. A chair sits at around knee height and appears to provide support. It affords sitting. A toothbrush has a handle a little longer than the human palm. It affords gripping. All of the objects that surround us have affordances: some are explicit (the “Push” sign above a d

 
Formerly titled "What is the most esoteric word we can find for what we do?"
 
1:51 PM
Hi
I use CKEDITOR, why If I add <h1>test</h1><h3>test</h3> CKEDITOR automatically move <h3>test</h3> into new line?(in source code)
 
Just looked up CKEDITOR... "The best web text editor"... "Download".. ?
 
@mamasi that's how it's programmed
look up options - you can probably turn the functionality off
 
@ZachSaucier I tried but I don't see such an option
 
I don't use it and you can Google it as easily as I can
 
Thanks. You're right, maybe I'm using bad keywords ;)
 
Pendulum so good - they remain to be my favorite band
 
Man I need to stop forgetting my headphones
 
I want another album - youredm.com/2014/05/04/…
Knife Party came from two Pendulum guys? I didn't know that. No wonder why I love KP so much
 
2:11 PM
I want another Nero album.
 
dev.w3.org/csswg/selectors4/#profiles Rude. Everyone except Zach is asking for a parent selector and they aren't even gonna put it in CSS 4 selectors
at least not in the version we can use thanks to browser implementation
 
@mikedidthis lol I still love that series of pics
it was so perfect
 
@TylerH I'm not
it's going to be misused all day long
 
@Loktar I found it via your starred link, well played.
 
@ZachSaucier Unlike every other CSS property in existence... /s
 
2:16 PM
@TylerH I don't want a parent selector
If you need a parent selector it means that either your logic is wrong, or your markup is wrong.
 
@SecondRikudo Please, explain why
 
@Billy Give me a usecase where you'd want a parent selector, and I'll tell you why it's wrong.
a parent selector is usually "the easy way out", like globals and gotos
 
I want to have the page background red when I am hovering over #button
 
@Billy :target
 
lol
 
2:21 PM
@mikedidthis huh?
 
I want to add an arrow to a parent li on a nav when its sub menu is active/hovered
 
@mikedidthis Sorry I don't see how that applies
Pretty cool though.
 
Sorry, I missed :hover :D
 
@TylerH When a submenu is active/hovered, so is the parent li, so you can style that.
If it isn't, your markup is wrong.
 
2:24 PM
@SecondRikudo jsfiddle.net/bzyaQ
 
@Billy Please, for starters, that's not a real usecase. I've never seen anyone changing their backgrounds on hover over anything else, and it is easily possible with JavaScript.
@TylerH He wants the background of the page to change.
 
oh yeah we're talking about parent selectors
 
T-T-T-T-TRIPLE PING
 
@SecondRikudo Just because you have never seen anyone do it, that means it's not a real use case?
That's ridiculous
 
2:26 PM
@Billy Ummm, yes?
If no one actually does it, it isn't a real usecase
 
And YOU were the one telling me not to use JavaScript, if possible
 
@SecondRikudo Yeah thanks for that
 
:FLAME ON:
 
An example usecase, sure. But if it's not actually needed or just for an experiment, it isn't a real world usecase.
 
I'm not directly blaming you, but I did spend 6 hours trying to that bull shit CSS only, only to end up writing the JavaScript I was going to do at 9am
 
2:27 PM
@Billy Yes, that's right. What I mean to say is, since it is not possible with CSS, and it is trivially possible with JS, you'd expect people who needed this feature to implement it in some way or another.
 
it was just an extremely simple example
And I don't see why no one would want to do that
You can replace #button and body with any elements
it's the same.
 
I agree that parent selectors could be useful, I've had use cases for them before
 
5 mins ago, by Second Rikudo
@TylerH When a submenu is active/hovered, so is the parent li, so you can style that.
That doesn't cover it
because when you hover over the parent, the arrow would appear for the submenu. We don't want that
we want "when you're already in the submenu, add an arrow to the parent <li>"
There are plenty of use-case scenarios
@TylerH Blasphemy
 
@Billy When you are hovering the submenu, you are also hovering the parent menu element, by definition.
 
2:33 PM
@Billy It's not unpossible.
 
@SecondRikudo Yes...
I will throw up a jsfiddle, 1 sec
 
is there a way to keep the style of an anchor when dragging on dragstart in chrome?
 
For Quake lovers: imgur.com/a/xxSXm
2
 
@CarrieKendall fiddle?
 
I've only been programming for about 2 years, and I have had a few cases where what I want is impossible without a parent selector, and had to resort to using JS or changing my mark up completely
 
2:41 PM
@ZachSaucier jsbin.com/juruv/1/edit drag the link, then drag the div
 
@SecondRikudo note that the purple background is the equivalent of Tyler's arrow
20 mins ago, by TylerH
I want to add an arrow to a parent li on a nav when its sub menu is active/hovered
 
@CarrieKendall I'm guessing you don't want the URL to show when dragged but it to remain styled as is?
 
correct, like the div
 
no, not possible. You'd have to go into Chrome itself
it's not an element we can affect
 
surely it is possible
 
2:46 PM
Let me know if you find it!
 
well, i have a workaround but surelyyyy
 
I was going to write a script to make those turn into an image (if they match an image format), thinking I could with js
asked around on Google forums and they said it'd have to be a custom build of Chrome
 
That is browser behaviour you cannot affect it
The browser stuff you can play with, I usually leave alone
 
jsbin.com/juruv/2/edit A has the workaround applied
 
that's the only way I can come up with
 
2:50 PM
@CarrieKendall But are you trying to utilize the browsers drag&drop link behaviour? If so it will not work I don't think
 
@Billy i don't understand your question
 
Notice how you can drag B to the url bar in your browser, but not A
or you could drag B into a text editor
 
ah, yeah i don't care about that
 
but A will not work
Ah ok well you are dandy then :)
Although.. the fact that you are destroying this functionality isn't great...
 
i am palegoldenrod
 
2:52 PM
Lol
 
its not the least bit stable from browser to browser, so i don't really care
 
@SecondRikudo did you see the parent selector use-case scenario?
 

« first day (420 days earlier)      last day (3368 days later) »