« first day (1015 days earlier)      last day (2773 days later) » 

12:10 AM
@cimmanon I have the following working, but when I add a background color it doesn't work. If I have only one line it works with background color.
        background: lightskyblue linear-gradient(0deg,
            transparent 0%,
            transparent calc(50% - .8px),
            rgb(204, 204, 204) 50%,
            transparent calc(50% + .8px),
            transparent 100%),
        linear-gradient(90deg,
            transparent 0%,
            transparent calc(50% - .8px),
            rgb(204, 204, 204) 50%,
            transparent calc(50% + .8px),
            transparent 100%);
 
the background color can only be on the bottom "layer"
 
so put it last?
 
yeah
 
thanks!
 
@crypticツ alternatively I think you could swap "transparent" with "lightskyblue" on the bottom gradient for the same effect
 
1:11 AM
@joshhunt that works too, but in my case I have a hover bg color which then does not work.
 
true
 
 
2 hours later…
3:39 AM
@CSᵠ unfortunately in the real world this doesn't work; you quickly get fired
 
3:54 AM
anyone here
 
nope
 
4:18 AM
how to achive dim effect on a div
 
@user568109 put another div on top of it and make it black and make it the same size and set opacity to 0 and then on hover set it to .5
 
@CSᵠ My Windows PC wouldn't start today and after a few hours of attempted fixing I unplugged and replugged in a hard drive that is completely separate from the one with the OS and it fixed it
 
 
2 hours later…
6:02 AM
posted on February 09, 2016

New Cyanide and Happiness Comic

 
6:37 AM
hello everyone
why do clip-paths sometimes make objects (other than the first) disappear?
0
Q: Clip-paths working only on first object; causes others to disappear

Agni ScribeNOTE: This is the same issue raised by a previous user (however there was no resolution to the issue). When applying clip-paths to an image on my webpage running on Chrome from localhost, it works only on the first object. The remaining images (objects) disappear altogether. However, the same c...

 
7:28 AM
believe it has something to do with my OS being Windows 7
 
 
4 hours later…
11:50 AM
hello
is there any way to customize youtube link that is recieved through youtube api
 
12:09 PM
@MudassarSaiyed you mean to say rewrite url?
 
12:24 PM
Anyone had problems with jQuery firing click event handlers twice on a touch device?
touch end is not working for me at all... o.0
 
12:44 PM
I am now doing jquery resizehandlers
pastery.net/cnkyyk someone an idea how I can measure the width based from the first time without scaling?
I only want to show that menu if the width is < 850.
 
@Billy jquery does not support touch events by default afaik
jquery mobile maybe
also what's wrong with addEventListener('touchend',...
 
1:15 PM
@easwee Why would I use vanilla JS event listeners when I am using jQuery already?
 
@ZachSaucier see... IT DOES WORK :)
 
@Billy because not using jquery is pretty much guaranteed to be faster than using jquery?
 
meh
 
@Billy because jquery does not support any touch event listeners
you will have to build it yourself anyway
 
@cimmanon Of course, but it's negligible when you are only doing simple operations. Plus, jQuery provides the cross browser consistency I can depend on out of the box
 
1:29 PM
@Billy are you supporting IE8?
 
Nope
 
then you don't need jquery
 
@Billy do you even know what cross browser issues jquery is fixing for you? because theres a pretty good chance the answer is zero
 
zero in this case
also jquery never solved any touch issues crossbrowser
 
Nope, one of the things I love about it is you don't have to think about it, you can just be confident in it.
 
1:30 PM
so saying that is throwing sand in your eyes
the only luck you have is that touch devices can interpret a click event as a touch event
but unconsitently
 
good idea, lets make the user download and run scripts that you dont even need!
 
@Billy don't get stuck in 2008
2016 javascript has evolved light years
 
haha, jQuery is tiny! and it gets compiled in and minified
 
rofl
30kb
not that tiny at all
 
@Billy dont even bother, everyone here is bad at change...
 
1:33 PM
how is 30kb not tiny? takes about 50ms to load
 
you do realize there are people who pay for internet by the KB, right?
 
our fully compiled javascript is 1.5MB
 
lol
that is like huuuuuge
 
I don't think the business I work for cares about people who pay for internet by the kb
 
1.5 MB takes 3 seconds to load for me.
And that' just the JS
 
1:35 PM
our mobile web-app with all assets/libraries/complete react core and some other shies is less than 1MB and we still cut everything we can to cut it down
 
1.5MB is HUGE (For JS)
 
ofc
1.5MB is huge for any page
specially if it has no images
 
Think it's mainly because whoever began this project decided to use a billion different libraries. I am slowly phasing them out as they are totally unnecessary (we have like 5 different slider plugins - wtf?) but jQuery will definitely stay
Not least of all because every module uses it heavily haha and it took 2 years to get to this point so I don't see them getting refactored any time soon
 
well I can understand that - but keep in mind it still is HUGE :P
@cimmanon should link you again to that page bloat article
 
This is a great article on page bloat specifically regarding images idlewords.com/talks/website_obesity.htm
fully recommend it it's a great read
 
1:40 PM
I meant that exact article
 
:P
 
if you've read it correctly you should not say 30kb is tiny :P
 
Actually our JS file is 390kb gzipped
 
also saying we have now broadband is no excuse because mobile devices just die on such big loads
not everyone has a octa core android device
If you open that tweet in a browser, you'll see the page is 900 KB big.
That's almost 100 KB more than the full text of The Master and Margarita, Bulgakov’s funny and enigmatic novel about the Devil visiting Moscow with his retinue (complete with a giant cat!) during the Great Purge of 1937, intercut with an odd vision of the life of Pontius Pilate, Jesus Christ, and the devoted but unreliable apostle Matthew.

For a single tweet.
I love this comparison lol
 
1:44 PM
@Billy i dont know what mobile rates are like where you live, but here in canada, the mobile carriers completely fuck you in the ass for bandwidth
 
They do here, too. But I pay for an unlimited bandwidth contract ;)
 
you get something ridiculous like 100kb free/month
 
And users have no idea that we are sucking their bandwidth, so who cares :P
 
@Billy dev world who learns bad practices and me that has to point it out
:P
and probably African market
 
Optimization will be on the to do list, after the "project" has come to an end and we are in BAU mode
at the moment (and constantly over the past 2 years since the project began) work has been 100% tight deadlines for new releases
Not much time for bugs, just developing all the things.
 
1:47 PM
ouch :P
 
Business says complete the product first, make it work properly later :p
 
not to be a pessimist but this business will hardly last :P
make one functionality that work 100% than 100 features that none works
but I guess it's not your choice here
we do extensive testing for each completed component
also 2 years into project now
refactored many times to cut it down
basically we take few days to do some refactoring after each bigger part is done
 
2:09 PM
anyone who sees us moving is going to think we are complete boozers. 90% of our boxes are from the LCBO (liquor store)
 
@cimmanon moving company?
 
nah, doing it ourselves. but we live in an apartment right now, so plenty of people will see us moving boxes
 
@cimmanon ah - I though you were moving your company offices
 
oh no, we bought a house
 
congrats!
 
2:16 PM
not excited about the packing and driving part, but it will be nice to have our own place where we can open the windows and not smell cigarette smoke
or see dog doo all over the place because some asshole with a horse-sized dog that refuses to pick up its horse-sized dogshit
 
crl
@Billy huge
 
or not having to smell the hallway when someone else steps in said horse-sized dogshit and wipes it off on the floormat
or dodging dogshit left in the hallway by assholes with tiny dogs
 
crl
vanilla is tiny, 0.0kb a good alternative to jquery
 
@cimmanon woah nice neighbours
 
crl
free fertilizer, that's nice of them
 
2:26 PM
last year they put up a notice telling people that if they have things out on their balcony, theyre going to get fined because its a fire hazard (because people flick cigarette butts off of their balconies)
@crl except dogs are carnivores, you dont make fertilizer from carnivore shit
 
crl
hehe k
 
If only we can submit a request to VanillaJS devs when we found an error. :P
 
every time someone says vanilla:
Robert Matthew Van Winkle (born October 31, 1967), known by his stage name, Vanilla Ice, is an American rapper, actor and television host. Born in South Dallas, and raised in Texas and South Florida, Ice released his debut album, Hooked, in 1989 on Ichiban Records, before signing a contract with SBK Records, a record label of the EMI Group which released a reformatted version of the album under the title To the Extreme. Ice's 1990 single "Ice Ice Baby" was the first hip hop single to top the Billboard charts. Although Vanilla Ice was successful, he later regretted his business arrangements with...
 
every time i hear "ice ice baby", i think of the parody song "rice rice baby"
 
crl
submitted 24 on chrome, and 12 on FF, but contenteditable have so many issues
 
2:33 PM
@crl :P
 
@crl do you use debugger toggle?
to toggle stopping on breakpoints or not
that stuff got bugged lately - you can't let the script run pass debuggers
annoying as f..
 
crl
ah, no never, I just set a few breakpoints quite rarely, and remove them
found the button, ctrl+f8 yea
 
3:04 PM
@cimmanon You probably already know this but twitter.com/wesbos/status/697059929136328704 something to keep an eye out for in case people start asking how to update css variables while using sass
 
3:27 PM
Is there a way to have an <h1> text have white colored text but with a black outline so it stands out on any background?
 
@clickhere text shadow
 
Wonderful, ty
 
@TylerH neat - something you will maybe be able to use after 2020 :P
 
@easwee hehe
actually Firefox has supported CSS Variables for some time
Chrome will too, next update
and so will Safari
 
3:44 PM
yeah, but that is nothing :P
btw that dude has interesting tweets
followed
 
Firefox, Chrome, and Safari are nothing? :-P okay
The only one missing is Edge
 
Hey guys!
 
and all the people cant/wont upgrade (especially mobile users)
 
I've a weird problem with my internet
I can open a couple of websites on laptop, but not on mobile even though both of the devices are on the same network!
Any idea?
 
what have you tried so far
 
4:19 PM
@TylerH you said it :P can be a deal breaker for corpo
however - didn't check - but I dare to say that they won't have the balls to leave such feature out
heh web is getting literally flooded with React articles since new year
 
just some quick question, I have <ul> and elements which are affected by css, but mine problem is, how can I position some element inside the list but only the text, and not the back ground color and stuff, if you want jsfiddle: https://jsfiddle.net/fm22mu15/1/#&togetherjs=Emz5fn3DDM
 
@DomagojSabolic why do you need to do that?
 
@ZachSaucier because it doesnt look good and I want to style it a bit
 
which part isn't looking like you want it?
 
You see that apartments, Price List, and all that, I want it to be a little lower but only the text
 
4:28 PM
well, your HTML is invalid. Fix that first
 
whats wrong with it?
 
you (try to) tell me
(hint: jsfiddle tells you)
 
myb because my ids are the same?
 
well, that's one thing, not the most blatant
 
@DomagojSabolic wrong html nesting:
<div id="container">
  <div id="nav">
    <ul>
    <li id="apartmani" style=""><a href="/">Apartments</a></li>
      <li id="izmedju"></li>
      <li id="apartmani2"><a href="/">Price list</a></li>
      <li id="izmedju"></li>
      <li id="apartmani2"><a href="/">Fotogallery</a></li>
      <li id="izmedju"></li>
      <li id="apartmani2"><a href="/" >Beaches</a></li>
      <li id="izmedju"></li>
      <li id="apartmani2"><a href="/" >Zadar</a></li>
      <li id="izmedju"></li>
      <li id="apartmani2"><a href="/" >Map & Contact</a></li>
fix that to this html
also id must be unique
use class if you need to apply same style to all links
 
4:31 PM
Oh thanks
 
@easwee ruining my way of teaching xD
 
meh - felt like helping - I like Zadar :P
 
now he's more likely to do the same thing with similar problems though
I was hoping to teach how to solve issues
 
well this is the only bonus I give out today :P
 
4:32 PM
But I want the whole li element to be like it can be clicked
 
anyway - read up on how to properly nest HTML tags
!!google styling css tabs
 
you have so much CSS for such little output
 
@ZachSaucier you talking to me?
 
4:34 PM
and what should I do bout that?
 
remove the unnecessary stuff :P
 
but all is necessary, atleast I think so.. :P
please @ZachSaucier hurry u can lecture me tomorrow :P
 
if you pay me
 
4:36 PM
dont joke with me around... ;(
 
I'm not
 
will you help me or not then?
 
I did :P
But as for your issue with the height, there are lots of ways of fixing it
 
@DomagojSabolic you can try css-lint.
 
padding-top, margin-top, changing position, etc.
 
4:38 PM
flexbox is unnecessary here, for one.
 
yeah but I need to only move the text
padding top will move my whole li element
myb if I make the div which only holds the text and not the li?
 
you need to style the a inside li
so it takes whole space
 
I did it
 
but there is a lot of problems to fix in that code
all ids should be replaced with class
 
I created the div which only holds the text, and not only li element
 
4:41 PM
first
 
yeah ik
 
to center it vertically just set a line-height same height as li
 
anyway must go now could you help me fix all the problems later or better just say all the problems and I will write them down and fix it later?
 
can't do - finished my 8h paid shift :P here only to give tips
 
haha ok
 
4:43 PM
that is a lot of work to make it properly
 
what is wrong with my @font-face?
on css lint it says something about not bulletproof
anyway must go now
ciaos
 
5:24 PM
http://www.commitstrip.com/en/2016/02/09/the-childhood-of-a-coder-cant-stop-watching/
CommitStrip
The childhood of a coder: Can’t. Stop. Watching.
CommitStrip
1455038447
 
 
2 hours later…
7:13 PM
@easwee It's on their "to-do" list of that feature tracker site, but it is "priority: low"
once Safari 9.1 comes out with the latest OSX update in a couple weeks, Edge will be the only one who hasn't shipped it (well IE too ofc but they don't update IE anymore)
so pressure will be higher, I think
It's hard to hide behind a "spec needs a better definition" excuse if every other vendor has shipped it
facedesk this woman said she would make me a copy of this printout she had but instead she scanned it from the copier and emailed it to me from there
 
 
2 hours later…
9:02 PM
I have to work in Java again for a school projects :(
180mb of dls just to get the environment set up
 
 
1 hour later…
10:09 PM
lol
and you get to use Eclipse
 

« first day (1015 days earlier)      last day (2773 days later) »