« first day (526 days earlier)      last day (3262 days later) » 

10:01 AM
@MoshMage ex['wtv']['iwantThis'] or ex.wtv.iwantThis
@WesleyCrushed I can not.
 
user652649
@mikedidthis audacity
 
user652649
:P
 
@mikedidthis My bad. I forgot to say that "iwantThis" keeps changing its name, so it can be "idonotwantthis" or "whateveritfeelslike"
but ill take a look at the jsbin first
 
ex['wtv'][0]
 
user652649
@mikedidthis nope
 
10:04 AM
Tried it, says it's undefined; maybe because I was using response.attach.events[0]
 
user652649
i think he means something like ex.wtv[Object.keys(ex.wtv)[0]]
 
Object.keys(response.attachments.events)[0]; <- this did it :D
 
Guys, guys.. I have no fucking idea what I am doing :D
 
hahahahaha
 
Damn. I thought the js I read to be able to jQuery was enough. I need to read-up on it better
@mikedidthis yes \o/
 
10:05 AM
@MoshMage what are you trying to do
 
I found with javascript / jquery is not the language. Its understanding the way any programming language should work.
 
@PatsyIssa I have a big-ass object that I need to access to, but one key keeps changing its name so I need to target that "variable key" (in the sense that it varies, not a var) so I can grab the stuff inside that object
 
Did you understand why ex.wtv['iwantThis'] << works ?
 
@PatsyIssa I'm thinking an object is somewhat like an array thus accessing the key value will bring it back
though that 'iwantthis' keeps chaning, so I need to target its index value
 
@MoshMage can you put it up in a fiddle?
as in the structure of said object
 
10:09 AM
2s
I think I can
 
user652649
@MoshMage most probably you badly designed your data structure
 
user652649
is it an array (a list of things) or a dictionary/map (a name value pair list) ?
 
I need to get events[0] inside .attachments
 
"1.115801356" <<< dafuq O.o
 
(i understand that's a big-ass json string)
 
user652649
10:14 AM
{
"attachments": {
"markets": [
{},
{},
{},
]
 
user652649
markets should be an array
 
@WesleyCrushed I'm not the one making the json; I'm just retrieving it - sadly
 
So basically all you need is this to show us :P
 
user652649
data.attachments.markets[Object.keys( data.attachments.markets)[0]]
 
user652649
have you tried this?
 
10:17 AM
yep, It's somewhat what I'm doing :)
I ended up with `eventNFO.eventName = Object.keys(response.attachments.events)[0];` now I'm going to try and use eventName to get `.name` inside the `.events[0]`
eventNFO.eventName = Object.keys(response.attachments.events)[0];
                eventNFO.eventName = response.attachments.events[eventNFO.eventName].name;
that sorted it out :)
 
oh gods of google grant us your blessings
15
A: Getting first JSON property

Paolo BergantinoThe order of the properties of an object are not guaranteed to be the same as the way you put them in. In practice, however, all major browsers do return them in order. So if you're okay with relying on this... var firstProp; for(var key in jsonObj) { if(jsonObj.hasOwnProperty(key)) { ...

 
@PatsyIssa yep, I had that answer opened - that's why I tried it with object.keys - but the thing I want inside events is always the unique item there (or so I think, it hasn't had any case where it's not) so hence why i didn't worry about that :)
 
it works no? :P
 
yep :P
 
dumb question. Icon for a link to your website, a globe?
ahh fuck it, link icon
 
10:26 AM
hi guys
any one having experience in adaptive PayPal payments?
 
@BoopathiRajan ask the question in case someone passing by is able to help
 
thanks
i want to make adaptive payment in my website
i want to split paypal payment with two accounts
for example product price is 10$ then
account 1=9$
account 2=1$
 
user652649
@mikedidthis the site's logo?
 
@WesleyCrushed a social link to your own website.
I am just going with the home icon.
 
user652649
yea, if the logo is cool you can use that, no?
 
10:38 AM
nah, its just a icon to support the link
 
10:54 AM
afternoon....
 
@Mr.Alien o/
 
o/
 
11:04 AM
\o
 
user652649
o/
 
@SomeGuy O.o
Interesting
 
11:21 AM
Vsauce is awesome
 
protip: set a <marquee> to direction="left" and scrollamount="0.000000001" to align text right without CSS (as long as the user browses away quickly enough)
 
hahahahahahahha
 
it works
kind of
 
YOU KNOW NOTHING!!! John Snow
 
The Github Student Pack is pretty awesome
 
I'm going to apply
 
C:\Users\Jarryd\Jarryd\Documents\Jarryd an actual path I have :/
 
I love that they offer the Micro account for as long as you're a student instead of a limited time
 
Namecheap — namecheap.com
Domain name registration and SSL certificates
One year free domain name registration on the .me TLD (normally 8.99/year) and one year free SSL certificate (normally $9/year)
that's brilliant
That pack is awesome :O
If only teachers had a clue of what they are doing in our unis
I doubt any of them knows what github is :P
 
11:35 AM
I think Github always had some perks for students
But they always required .edu emails
Which Indian universities tend not to give or even have the domains for
But now they accept some kind of proof of being enrolled, so that's awesome
 
@PatsyIssa the same as that guy, 4chan.
 
lol
They still teach vb in the uni I went to :P
 
22 hours ago, by mikedidthis
I had to close it due to dumbs.
 
rofl
just kill it :P
 
11:42 AM
Hahaha
 
^ that
 
I laughed so freaking hard
 
Journalism at its best
 
user652649
how about this
 
user652649
 
user652649
11:48 AM
i'm still laughing
 
US media is beyond retarded
 
@WesleyCrushed rofl
 
Be more accurate if they just reported fairy tales.
 
has anyone here worked on making presentation folders?
guess none..it's web design after all..
 
urm.. I have, it was one of the first things I did as a print designer.
 
11:55 AM
@mikedidthis awesome! u can help me then :D
 
Sure, what is up?
 
^ you see that radius pocket at the right bottom, am just confused how to draw up the design on it, should it be inverted?
 
yeah upside down.
 
horizontally flipped too?
 
a whole 180
 
11:58 AM
so both horizontal and vertical flip?
 
nvm :D
alrighty, thanks!
 
In hindsight, meow probably wasn't the best word to use.
 
it's ok I can read it in any angle meow~ :3
 
12:13 PM
ʍoǝɯ
 
amazing
 
chat is dancing :P
 
user652649
ahahahahahah
 
sigh
window.open opens a tab and a popup window for me
anyone having an idea why?
Browser doesn't seem to matter
 
!!youtube hollowpoint sniper hyperbole
 
12:35 PM
 
quick hint - can I do a ticker with scrolling text inside that scrolls horizontally and loops with css only?
 
@Rlemon that is Awesome
 
the scrolling text in the middle
but with css only
 
morning
o/
 
12:46 PM
@PeeHaa pm when you online
 
I was like cool - let's copy code - than I realize he has text as background image
lamee
 
LOL copy past never really works
 
copy-based programming ftw
 
user652649
cool :D
 
1:02 PM
posted on October 08, 2014 by Greg Nudelman & Daria Kempka

    Sliders are cool. When they’re done well, customers love to interact with them. When they're not done well, they can cause a lot of frustration (not to mention lost sales) by standing between your customers and what they want. And getting them wrong is surprisingly easy. In this article, we will present a solution, including the design and code, for a new type of Android

 
@obiNullPoiиteяkenobi it does not work because it's a dumb solution - using background image to store text
 
Am working on front end for OpCache, a project by @PeeHaa ... Basically this is a rough thing which I'll be refactoring soon... (will be making the left bar move with the scroll)... any comments, change req appreciated. Original Project / New Front End / Another Flavor
5
 
nice :D
Can i make it into an ember app?
Reloading the page sucks balls
@PeeHaa would you be interested in turning it into a single page app ?
 
1:21 PM
Good work. Reminds me of some of the stuff @rlemon has done.
 
@mikedidthis really nice UI
 
yep
 
@mikedidthis huh?
 
@rlemon the midget sex tape
 
ahh, yea
good times
 
1:31 PM
@Mr.Alien I like the blue one better color wise. On large screens like mine it's really hard to read the information quickly - the original makes it easy. The tablet view is hard to read everything at once as well. OpCache in the top left isn't easy to read, depends if you care that people read it or not whether you should change it
 
Hmm maybe change the way stuff is represented to be on/off instead of the squares, so that you don't have to look all the way to the right to see it?
Also don't forget the different button states
 
Thanks guys, @ZachSaucier I think I'll be setting a max width to the wrapper so that the content doesn't go too much wide on huge screens, also, OpCache is just a logo type, will see if I can make it in a different pattern, also, I've a tab and looks decent to me, can you post the page name and the resolution where you feel its not easy to read?
@PatsyIssa thanks bud, and no, dont have to write on or off as if you see, on the left hand side, it says Enabled, so I have to show graphically that its enabled and there is no custom control to turn that off
so its only for graphical purpose and nothing else
 
@Mr.Alien decodingweb.com/opcache/blue/index.php pages like this at ~1000px width just require me to move my eyes all the way across the screen to see the value which isn't optimal. Attractive interface though
 
@Mr.Alien I meant show that it's enabled in a different way that wouldn't cause you to look to the right :P
Maybe change the text color to red/green/grey
 
@ZachSaucier yap, am thinking to make them boxes... only on the status page
 
1:40 PM
@Mr.Alien p.s you should fork the repo, make the graphical changes and submit a PR
 
@PatsyIssa will look shabby if the text are in different colors, as I said, I'll make them 3 boxes, just like we have on dashboards
@PatsyIssa he is frequently updating that so I've not forked it yet, if the markup is too messy, am going to submit him the front end files, but lets see, haven't thought of those things yet
 
mmkay
You could always rebase >.<
 
not much good with git things and I saw before 10 mins, he has hell lot of following users for this
 
check hangouts
 
close reviewers room is dead. a little help closing these software/library requests: stackoverflow.com/questions/26212874/… and stackoverflow.com/questions/15299605/sass-compass-style-checker
 
1:49 PM
sure
 
@Mr.Alien yo
mornigin all
 
check the pin to your right
 
http://deadspin.com/5424415/sitters-vs-standers--the-great-wipe-hope
Seriously, who in their right mind stands up to wipe?
 
@PeeHaa am trying to set that up on localhost and it says Call to undefined function OpCacheGUI\OpCache\opcache_get_status() on line 45 of status.php
 
@StephanMuller I will often do a perfunctory final wipe while standing
 
2:00 PM
@Mr.Alien Are you running php 5.5?
 
I thought version might be a prob, let me check, I think it should be .4
eh, .3
 
I would actually be very fascinated by research on how other people go to the bathroom
 
I updated but I hate new phpmyadmin so I reverted back to old
 
:P If you cannot update I can write the missing functions with fake data and provide it to you?
 
2:02 PM
where's @mikedidthis when you need him.
 
@PeeHaa nah I'll update it, I need to do that some or the other day..
 
Morning
 
k cool. Once you have updated you need to enable the extension
It's already there. Just need to enable it on 5.5
 
So I have this problem with an image that has a non-declared margin/padding on the bottom. The markup is like this: <div class="blabla"><img src="..." alt="..."></div>. The doctype is the HTML5 one. And the browser is Chrome.
 
@PeeHaa cool, thnx
 
2:05 PM
What I get by highlighting the image tag is a 35x22px image. If I highlight the container, then it has an height of 27px instead.
Neither the container nor the image have any kind of margin and/or padding and I'm using a CSS3 reset.
 
@Sofffia Can you setup a fiddle of the problem?
 
I'll try.
 
@cimmanon done, post in this room we tend to jump on them
@Sofffia is the image floated ?
 
@PatsyIssa Nope.
 
@PeeHaa also am making boxes on the status page, people are reluctant to stick with tabs..
 
2:07 PM
Fair enough
 
thanks :-) [cv-pls] (just testing the tag syntax)
er, how do i do that?
 
@cimmanon it's [tag:cv-pls]
 
tag syntax is [tag : blabla]
 
[btn:cv-pls]
 
sorry, tag, not btn
 
2:08 PM
without the spaces
 
ok, there we go :-)
 
@TylerH :facepalm:
 
@Sofffia are you using a reset or normalize
 
@Mr.Alien well it is is a button -_-
 
Here is the fiddle.
 
2:09 PM
@TylerH nice reason haha
 
As you can see the div takes 5px more than the image.
 
set display: block to the image
78
Q: Why an image inside a div has an extra space below the image?

Misha MoroshkoWhy in the following code the height of the div is bigger than the height of the img ? There is an extra space below the image, but it doesn't seems to be a padding/margin. So what it is ? HTML: <div id="wrapper"> <img src="http://i53.tinypic.com/2ymznmx.jpg" width="60" height="60" /> </div>...

or vertical-align: bottom apparently
Has to do with image being inline and sitting on the baseline by default, leaving room below it.
 
help pls :
i get a string back from my db with pdo
the string contains quotes '
i try to put my string into a 'title' attribute which is surrounded by quotes... so,
before i put it into attribute i try to use htmlentities or htmlspecialchars
and then send the whole string back to ajax (json_encode) and display it on my page...
The string is always cutted at the first quote... no matter if i use htmlentities or whatever... can't find a solution... anyone?
 
display block will do it, i was trying to see if the whitespace would impact it, did nothing
 
@StephanMuller Thank you very much.
I should have searched better.
 
2:12 PM
@Sofffia no worries
 
E_TOO_MANY_QUOTES
 
E_IN :P
 
no problem, an experienced front ender will often recognize such a problem a lot faster than you will be able to figure out how to search for it :P
 
!!phtephan
 
2:13 PM
for president :D
 
phtop phtalking me
 
@PeeHaa ?
 
57 mins ago, by Mr. Alien
Am working on front end for OpCache, a project by @PeeHaa ... Basically this is a rough thing which I'll be refactoring soon... (will be making the left bar move with the scroll)... any comments, change req appreciated. Original Project / New Front End / Another Flavor
@PeeHaa @Mr.Alien once you guys are done redesigning I ll fork and turn it into a single page app
 
@Mr.Alien Funny, OpCache doesn't look like an e-commerce site to me :-P
 
@Mr.Alien has adhd when it comes to projects :P
 
2:17 PM
@PatsyIssa Yeah. Works for me :)
 
Wooop ember all up in this :D
 
ARGH
this photoshop piece
 
@Purify sup
 
is
pissing me off
 
what
 
2:20 PM
big time
I need to add something to the right of this photo
 
@Purify Filters > Clouds > begin again :-P
 
and everything I try sucks.
 
@Purify dark grey background with awards/fancy specs
 
I'm supposed to overlay some text to the right of it
 
why are you photoshoping stuff
 
2:22 PM
so I need some sort of backgroud there
@PatsyIssa wut?
 
overlay a pony
 
ok anyone up for a css challenge? jsfiddle.net/az4yd8gq <-- make it scroll one after the other so there's no blank space after the end until next chunk of text starts
 
Didn't know you did design :P
 
I'm a designer turned dev, not the other way around.
I started photoshop when I was 12. o.o
but evidently my creativity has run out from deving too long.
YA'LL GOT SUM IDEAS 4 MEH
 
@Purify whats wrong with what I said
 
2:24 PM
^
I prefer stephan's suggestion
@easwee no js to manipulate classes?
 
@TylerH I like it although there has to be some other text there.
 
use silver text with slight 3d effect or drop shadow on a dark grey background
 
@easwee Which chunks of text exactly? Be specific?
 
is it like financial offers or what?
 
Am I allowed to add markup?
 
2:26 PM
@easwee Does Chrome still not support unprefixed animations?
 
@TylerH Nope :/
 
@PatsyIssa sure...
 
jeez
 
@TylerH I think of something else, I do something else, just like Pats told, ADHD haha
 
@PatsyIssa no javascript
all I need is continuous scrolling
right now it has a space after 300px
when first li scrolls out
there's a white space
until second one starts
so you notice the start and end
I don't want to see that
I don't want any javascript since I already have 4 different solutions in javascript but the smoothest run is in css
you can change the html if you want
 
2:30 PM
@easwee Simply change -10s to -11s
 
that is just my implementation
@TylerH not an option
 
Why not?
 
well my current solution works with any length of text
because I have 2 lis
and I'm starting/stopping animation for them at 50%
and the time is always half that
that would mean I need to calculate a new time each time I change the text
 
posted on October 08, 2014 by Chris Coyier

I had a reader write in with an interesting question: When one has multi-level navigation, do you think it crucial to have an actual page for the top-level item? For instance, About Company, Founder, History. There isn't really anything worth putting on the About page that wouldn't be on the three sub-pages. In the nav, should About just redirect to Company? Should there not be a Company pag

 
it works fine with any amount of text
becaus eit will just move the text faster or slower
 
2:32 PM
fork pl0x :P
dammit I really will need js for this
there's no way to calculate the same timing for all text's otherwise
 
posted on October 08, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Hey France! I have a book out for you!

 
jsfiddle.net/az4yd8gq/6 you'll have to add the prefixes back in
will you really have cases that have more text than that in a single li?
 
@TylerH yes
 
is this a client request?
IMO there's already way too much content for a marquee
 
@TylerH usually there are maximum of 5-8 matches
but you don't know the length of the names of participants
might be some MARIA DE BUENOS AIRES DE LOS LAMBADA GARCIA
which is much longer than LEE KEN
so fixed width is not an option
oh yeah and that text can change on the fly - that's why I need it responsive in a way
 
2:46 PM
@easwee Y u no make a hybrid, it will be smooth and all, just use javascript to toggle classes, and use css for the animation
 
@Purify context aware stretch?
 
did.
it fucks up
 
@Purify double the image?
If you have the source and the dimensions, I can give it a quick whirl.
 
2:51 PM
for about half-an-hour now I've been trying to get myt .less to work; Completly forgot I had to grunt build first \o/
 
lewl
 
@PeeHaa still, the same error
updated, added opcache dll path in ini file
 
@Mr.Alien Did you enable the extension in your php.ini?
 
3:07 PM
Undock the console in chrome and hit Ctrl + Shift + I again
check the license :P
 
yap, added the path to ini and restarted my server
 
O.o
 
@Mr.Alien Do you see opcache when doing phpinfo()?
 
nah, so I think wrong path
 
3:10 PM
anyone knows a nice css-animations maker? I don't feel like writing all that shenanigans xD
 
If you didn't get an error about not being able to load the module when starting the webserver you probably edited the wrong ini
The correct ini should also be displayed on phpinfo page
 
@SomeGuy /giggles
 
@PeeHaa finally worked, I think I targeted the wrong ini, thanks
 
@SomeGuy tweet stealer!
 
@Mr.Alien :-)
 
3:17 PM
oh now @mikedidthis shows up
 
@TylerH anyway, what is up?
 
oh, not much. Someone was just saying "Where's mike when youneed him"
earlier
 
@mikedidthis Your guy ended up not contacting me at all XD
I'm guessing they have a lot of people wanting to submit tuts
 
1 hour ago, by Purify
where's @mikedidthis when you need him.
 
@SecondRikudo that is shitty. I can only apologise. I can try nudging them?
 
3:23 PM
@mikedidthis If you want, it's not a high priority for me anyway.
 
k, I will speak to Ian and see what happens.
 
@mikedidthis I did it for the glorious star(s)
 
@SomeGuy how you sleep at night, I do not know :D
 
guys, this is LESS and I'm trying to animate a div that's supposed to be outside of view (-50) and then go up to 100px and then back down to 0px (I know, it's awesome.) but I'm sure I'm doing something wrong because element doesn't seem to animate jsbin.com/hugimojobeve/1 can someone please point me out?
 
Hi room
any one can help me for this problem: stackoverflow.com/questions/26256898/…
 
3:28 PM
@ツツツ \o/
 
@MoshMage O-O
 
awwwshit. I forgot to target the chrome keyframes :|
 
@MoshMage seriously dude. That fiddle is never going to work.
 
@MoshMage Your first step should be to fix the z-index
 
vendor prefixes, missing less and include the target element :P
 
3:31 PM
also CSS comments are /* */ not //
 
@TylerH but... ITS OVER 9000! xD
@mikedidthis yeah, I'm testing it on chrome and completly forgot about its vendor prefix \o/
yeah, targetting chrome kinda made it work. /dumbness
 
Mosh*Dumbness*Mage
Not calling you dumb btw.
 
^ No worries, being that my last three question were caused by me forgetting stuff it's kinda appropriated xD
 
@MoshMage Moral of the story: proof read :-P
 
3:54 PM
wut
I just got an automated email response "I will be in the field and will return on 10/11/14"
"in the field" makes it sound like she's an archaeologist or something
I can only assume she means house calls
didn't know doctors still did that
except for super rich ones like on Royal Pains
 
@mikedidthis Finished.
not sure I like it entirely but whatever
:P
 
\o/
 

« first day (526 days earlier)      last day (3262 days later) »