« first day (454 days earlier)      last day (3334 days later) » 

^ Crazy
 
@SomeGuy not a condition, but I think it'd interest you
@TylerH AIs don't take advantage of anything :(
@Mr.Alien You need to play with me sometime. I've raised several SC players
 
4:03 AM
 
4:53 AM
nin
 
user652649
5:23 AM
morning
 
6:26 AM
@TylerH sure
@ZachSaucier ok master :)
Mornin
 
posted on July 28, 2014 by nlecointre

/* by Lissandrya */

 
Hi all. Can anyone help to make div.b and input appear on the same level in this fiddle?
It doesn't worth a post on SO, I believe
 
user652649
on the same level?
 
user652649
you mean on the same row?
 
I want to have the input on the right and the red box on the left
Currently the input is below the red box. I don't want to hardcode the width of input
 
user652649
 
posted on July 28, 2014

Work was crazy. Too many things to get done, not enough people to do them. I sat at my computer furiously working with a troublesome outlook. A knock at the door, saved me from having to deal with more .PST files. I looked up with a smile, hoping the knock at the door would lead me away from outlook. HeadHR: Hey Airz. I’ve been thinking… Uh oh. HeadHR: The kids are coming soon and this

 
@ObiWanWesabi Oh, that's cool. Thanks :)
 
user652649
display:table = cool for layout
<table> = wrong for layout
 
user652649
6:58 AM
youtube.com/watch?v=FYANFaEGGXQ <-how to get better sleep. i don't do any of these
 
@ObiWanWesabi Not really...
display:table isn't that cool for layout...
 
user652649
prove i'm wrong
 
user652649
you mean for accessibility?
 
@ObiWanWesabi display: table forces you to add markup
Lots of it, for it to behave expectedly.
 
user652649
meh.
 
user652649
7:02 AM
not a lot of markup
 
@ObiWanWesabi 2 more divs?
That's a lot of markup
 
user652649
?
 
user652649
you can omit display:table-row
 
user652649
using only table and table-cell
 
display: table is unsupported with IE7, which, granted, is very old and no one really cares, but that's still worse than the others who have unlimited support.
@ObiWanWesabi That would behave unexpectedly and inconsistent with IE8
 
user652649
7:04 AM
i use it all the time, and it works nice with msie8
 
user652649
never had not even a single problem
 
user652649
so if you are right, it doesn't happen often
 
posted on July 28, 2014

New Cyanide and Happiness Comic.

 
user652649
i'm destroying the rainforest just using tissues because i have flu. do you know summer? the one with sun, and hot weather? it's 10° now, last year same period was about 30°
 
7:23 AM
Are any of you using templating engines, like Handlebars or Mustache?
 
user652649
i use php itself for templates
 
user652649
tried using template engines, turned out that sometimes for printing data you need some control structures that aren't usually supported in template engines
 
user652649
but i would like to use one, especially for sandboxing templates
 
I still have to do some reading. I read this article and the comments are interesting. http://www.workingsoftware.com.au/page/Your_templating_engine_sucks_and_everything_you_have_ever_written_is_spaghetti_code_yes_you

Right now I am looking at this one: https://github.com/tmpvar/weld
Dunno.. not made up my mind yet :)
 
user652649
once i used this: pecl.php.net/package/spidermonkey as template engine xD i think it was faster than php itself xD
 
7:30 AM
lol nice :)
 
user652649
i wonder why there isn't a way to run php inside php, in a sandbox
 
user652649
$x = new PHPSandbox();
$x->disableAllFunctions();
$x->enable("htmlspecialchars"); // ...
$x->set("var", $myvar);
$x->registerFunction("test", function($y) use ($x){ return $x*$y; });
$x->run($file);
 
I really have a lot to learn on the subject. I might have to take a couple of php online courses. Probably gives me more insight
Such an ugly language imo :p
 
user652649
the language itself isn't ugly
 
user652649
but api looks old because of classic functions
 
user652649
7:36 AM
i wrapped most of array string and basic functions in classes
 
user652649
(new Text("blah"))->toUpper()->reverse()->padRight(20)
 
user652649
this way
 
Yeah. I love doing stuff like that in JS. Less is more :p
 
user652649
in php you have to build your own :P
 
Well I just mean that I like to wrap code into functions so it gets shorter and shorter and more readable imo
 
7:46 AM
@Wes what was I trying to do again in LESS / SASS?
 
user652649
"cartesian product" of two selectors
 
user652649
like
 
user652649
[A, B] > [C, D] produces:
A > C,
A > D,
B > C,
B > D
{text-align:left;}
 
Link me to your PHP mess.
 
user652649
 
8:00 AM
I did it in SASS, but its possible in LESS as well.
 
user652649
yeah but number of parameters is arbitrary
 
user652649
it can be
 
user652649
combineSelector("div"), or combineSelector("div", ">", "p"), or combineSelector("div", ">", "p", ":hover") or combineSelector("div", ">", "p", ":hover", " a")
 
user652649
:P
 
yeah, you can put fail safes in, so if you don't need it all, then it won't print it all
 
8:02 AM
posted on July 28, 2014 by nlecointre

/* by Tony */

 
user652649
what that #{ } means anyway?
 
turns the variable into a string, aka outputs it.
 
Good morning all
 
I said this before, if you gave either SASS / LESS a chance, your life would be better :D
\o
 
user652649
i can do more things with php only @mikedidthis and i'm fine with it, why would anyone change? :P
 
8:06 AM
@ObiWanWesabi because.
That's my reason today and I am sticking to it.
 
user652649
:D
 
Also, one day, when you don't write PHP anymore, you are boned.
 
Programmatically filter by music with YouTube API. Possible?
 
Probably.
 
user652649
so you think it's easier that php will die rather than LESS/SASS ?
 
8:08 AM
@mikedidthis looked, couldnt find a method
anyone have any ideas of where to start?
 
@ObiWanWesabi not at all. Say you work on a node.js project, then no CSS helpers for you.
 
user652649
i'd port them to js
 
user652649
and just for completeness :D i once gave LESS a chance and you know how it went :D
 
LESS is JS :)
Anyway, tomato time.
 
looked there
there'sn nothing natively in the api
i was looking maybe an active youtube user
has an idea
for something i could filter by
 
8:10 AM
> videoCategory - Identifies a category that has been or could be associated with uploaded videos.
 
8:40 AM
meowkins
 
user652649
@mikedidthis 10:40?
 
ASR
@DarkAshelin hi
 
@ObiWanWesabi finished 5 mins ago :D
 
user652649
wait. did you have lunch at 10:40? xD
 
no no, tomato = pomodoro :D
 
user652649
8:43 AM
pomodoro juice? that's the worst thing to do with pomodoro xD
 
silly
 
user652649
:D
 
user652649
i like carrot juice a lot
 
tomato juice if its a bloody mary :D
 
user652649
ahhhhh, good man, bloody mary at 10:30
 
user652649
8:45 AM
respect.
 
user652649
xD
 
Ha, I wish.
 
Today is going to go so unbelievably slow.
 
why?
 
No idea.
It hates me.
or maybe because this is my last monday at work.
:o
at this job at least.
 
8:59 AM
what are you going to do after that?
 
move companies.
 
user652649
@mikedidthis a friend is asking me about this forums.adobe.com/message/4679327 any idea what it is that livecycle?
 
user652649
@purify @DarkAshelin mornings
 
@ObiWanWesabi better
 
@ObiWanWesabi negative.
 
user652649
9:09 AM
@Purify it was for you, i accidentally queried @mike xD
 
RIGHTTTTTTTTTTTTT
 
user652649
mike was here since hours xD
 
forever writing factory patterns. fml.
 
user652649
9:21 AM
dependency injection ftw
 
Show me
 
LOL
Apparently there's a german rnb singer
called Sarah Connor
lol'd hard
 
9:49 AM
thank god I haven't heard anything from her in ages
 
user652649
@Purify i'll be back.
 
www.facebook.com/photo.php?v=10152127325611896&set=vb.594246895&type=2&theater
 
Aren't you on holiday?
 
user652649
10:07 AM
@SomeGuy see why english is strange. should holiday be used just for actual "holy days" and not for any vacation whatsoever ? :-\
 
Because christianity.
 
user652649
really?
 
user652649
or it's the same "because" of before?
 
user652649
xD
 
I believe so. Like you said, holiday was holy day. A holy day was a day off.
 
user652649
10:11 AM
makes sense i guess
 
user652649
10:21 AM
@mikedidthis i'm formatting neon's CSS the way you like it. just because i could listen your future insults echoing in my head. and i hate you for that xDxD LOL
 
user652649
<3
 
10:36 AM
@mikedidthis yeah :P
but pc is withme
 
So here's a question for you guys
 
@ObiWanWesabi haha :D
 
How important is ssl for login pages? As in, to get to an admin panel / access cms etc
 
@Dave If you have SSL in your login pages to begin with, you should have SSL for all pages on your site.
 
Ok, phrased it incorrectly
 
10:43 AM
Also, if you log in in a coffee shop, would you like to yell "HEY EVERYONE! MY ADMINISTRATOR PASSWORD TO MY SITE IS YOUALLSUCK666!"?
If you don't, you probably want SSL on your site :)
 
ok
It's mostly because I know it's always preferred when sending passwords to the server
but explaining this to clients is just the worst
 
@Dave Explain it to them exactly like I just did to you.
When you log in from your favorite coffee shop over their wifi, you practically yell to everyone around you your password if you aren't using SSL.
 
yeah
 
Also, the problem doesn't end with login forms! You send the session cookie over to the server with each request, without SSL for the rest of your site, that session cookie is also visible, and an attacker can impersonate you, without ever knowing your password.
If there's sensitive information on your site, use SSL across the entire domain.
That includes static files and images.
 
@SecondRikudo If you send a password as a hash, is it still necessary?
 
10:46 AM
No, I understand that correctly, I'm not trying to say that I would only use it for forms
 
@Billy Of course
Becuase then the attacker just needs to send the hash xD
 
I'm more emphasizing the cases where sites require login/admin/cms stuff SSL should be used.. sitewide, I understand that part
 
@Billy The idea behind authentication is to claim to be someone, and then prove it by providing a secret only you and the server knows.
 
@SecondRikudo Oh yeah.. lol :P
 
"Claiming to be someone" is you providing your username (I claim to be SecondRikudo), and the secret is the password, which only you and the server should know (My password is MadaraRulezzz666, check in your records to see if that's the secret registered with SecondRikudo)
It doesn't matter if the secret is a password, a passphrase, an API key, a haiku, or your grandmas' maiden name.
Or a hash for that matter
 
10:49 AM
@SecondRikudo thank you, I was already thinking in the way you've layed it out. I just wanted to be sure that I'm not being too caustious
cautious*
because a client literally said that to me today "You're being too cautious, I don't need that. Who would want to hack my site?"
 
@Dave You aren't. With the prices for SSL certs, it's considered idiotic at best, and criminal at worst to not use SSL with applications which hold sensitive data in them.
@Dave Ask him this, "In that case, why do you lock the door every time you leave the house? Who would want to break into your house?"
 
eh, it's not even worth it tbh
I just said "ok, you're the boss"
What else can you do?
 
@Dave What does the site do?
Does it handle funds?
 
Simple site no ecommerce or anything (if that were the case I'd be arguing)
just has a login panel so they can go edit content on their own
and so basically that's my question
 
@Dave Look, information can be considered secure if the time and resources it takes to get it by hacking are greater than what that information is worth
 
10:52 AM
RIght
 
If I spend 2 years to gain access to your Facebook account just so that I can out you in public, I doubt it's worth it.
But if I spend 2 months to hack into the bank's website and now have access to their database, well...
 
mhmm
 
However, if the site does hold arbitrary users' passwords, then SSL is a must by law.
At least US law AFAIK
 
it is
 
Because now the information you hold isn't your own, you have users who trust you.
@Dave in that case, if I register and notice that the site does not use SSL, I can take it to court and win.
That should be a wakeup call for him
 
10:55 AM
haha, right I understand that all perfectly well
 
If you have no legal accountability over the project, you shouldn't care.
 
There are no passwords or any information stored from any users of the website other than the guys that own the site. They'd be logging in to edit basic info so they don't have to look at code
and I know that it's best practice to use ssl
 
@Dave In that case SSL isn't a legal must, however encouraged..
In which case, I would have done the same as you have.
"OK boss, whatever you say", and move on.
 
Yea, I just wanted some encouragement that I'm not being too paranoid
sweet, thanks man good chatting have a good night
 
;) Good night
 
user652649
11:13 AM
programmers! do you do guitar windmill when you succeed at programming something? or am i the only o_o
 
@ObiWanWesabi You're the only one.
 
user652649
:(
 
user652649
how about simulating a guitar solo? EH?
 
@ObiWanWesabi I don't do guitars. I do nothing when satisfied, and destroy anything within a 100 mile radius when I'm not.
 
user652649
@SecondRikudo you don't even get drunk? man that's sad :(
 
user652649
11:17 AM
anyway 12 out of (currently) 20 widgets/components done
 
@ObiWanWesabi Alcohol diminishes the power of my eyes. So no, I don't drink (much)
 
I drink several times a week.
#notanalcoholic
 
user652649
alcohol diminishes the power of everything, except your ego
 
@ObiWanWesabi My ego is plentiful as it is, no need for further boosts.
 
@ObiWanWesabi what do you drink when you do?
 
11:23 AM
@ObiWanWesabi aka, you means it makes sense :D
 
user652649
i'm not a fan of any particular brand or beverage, but i like tennent's and corona (when it's hot)
 
user652649
and rhum
 
user652649
any kind of rhum, it's the only superalcholic that i actually like
 
tennents?
 
oh. beer.
<_<
 
user652649
11:24 AM
@mikedidthis we should teach @SecondRikudo how to drink bloody mary at 10:30AM
 
how the heck have you managed to drink that, its Scottish.
 
@ObiWanWesabi I drink the blood of the Senju before 9AM.
 
user652649
@mikedidthis because it's very popular? :D
 
@ObiWanWesabi in Italy?
 
user652649
yes, ofc
 
user652649
11:25 AM
of course not as popular as heineken tuborg and other grocery beers
 
user652649
but close :P
 
TIL. Its not popular here thankfully.
 
user652649
thankfully? :o
 
Yeah, its not nice to drink.
 
user652649
i can't say i'm an expert of beers but i like it a lot
 
11:27 AM
whiskey>
 
It pisses me off when my boss (who is a designers and knows jack about programming) asks me advice and then when I advise him he tells me to do something contrary to my advice. But like you I just say "Ok, whatever you say; you're the boss."
 
Well thanks for insulting designers Bilbo!
 
LOL
 
user652649
not "like you" @Billy but "like we should do"
 
Advice is just that. Something that you give, but may not be followed.
 
11:30 AM
@mikedidthis I don't have disrespect to designers, they can do things I can't even imagine to do. But I do have disrespect for people who have no idea about a topic and disregard advice from experts on that topic, that includes designer bosses who try to pass project architecture advice to experienced engineers.
 
@SecondRikudo I know, I was joking. The statement would have been better if it was: 'he doesn't know jack about programming'
 
user652649
^ +1
 
MY chat had frozen.. "Like you" referred to @SecondRikudo and @Dave who say the same in those situations :P
@mikedidthis That is what I meant, him, not other designers :P
 
@Billy When the decision has no actual implication about the rest of the project, I tend to not get into a bikeshed argument with a clearly clueless person.
If it's a core principle however, I most certainly will.
For example, I view this whole PHP6 vs PHP7 argument to be as silly and idiotic as an argument can get.
 
user652649
@SecondRikudo it's a habit in our job. they all think they can do better than us. in 10 years it was been asked me to do the worst things ever thought, and i actually had to do some
 
11:34 AM
@SecondRikudo +1 some battles are not worth fighting
 
@mikedidthis Exactly.
 
@SecondRikudo My boss tends to prioritize design over usability. If I see an issue with what he's doing I'll tell him, but he usually just dismisses it so I'm just like "fuck it"
 
@ObiWanWesabi In my case, when a decision is overly idiotic (like "Include jQuery here to change the value of the input!"), I either remind them why they hired me, or just drop the project after all negotiations failed.
The money they might give me is not as important as keeping my reputation and sanity as a professional.
That was when I worked as a freelancer, today I'm with a company.
@Billy Good design and good usability (and good UX) go hand by hand.
 
user652649
@SecondRikudo did i star it properly this time? xD
 
If your boss thinks otherwise, he isn't a good UI designer.
 
11:37 AM
I know.
 
@ObiWanWesabi This time, you have :)
 
He's not a good UI designer.
Before I came to the company he only did designs for print.
 
@ObiWanWesabi Oh? You removed the shame line from your profile?
 
user652649
let's hear the worst things they asked you guys to design/develop in your job
 
user652649
@SecondRikudo i think i did accidentally copied the profile from another SE account to all SE accounts :P
 
11:38 AM
Ugh. Javascript redirect to a seperate mobile site (with the same content)
I argued so hard to just make it responsive
 
@ObiWanWesabi "Make this yellow", when yellow wasn't in the color scheme, and making it yellow would have been so utterly ugly that it would cause me to tear up
 
but they wanted it on a sub domain for no good reason whatsoever
 
user652649
@SecondRikudo ahah
 
@Billy This has arguments for both sides.
 
@SecondRikudo When the content and design is the same, responsiveness over sub domain hands down, no?
 
11:40 AM
The problem with another subdomain is that a new DNS lookup has to be performed on redirect, that a big nono with high latency connections like a mobile's.
If the redirect is done to the same domain (http://example.com/m/whatever) this isn't an issue
But wait, the design is the same?
No difference between the CSS for desktop and CSS for mobile?
 
Obviously CSS is a bit different
m.footballalbum.net (will redirect you away unless you are on mobile or edit your UA string)
Actually I just noticed something is broken in that site xD
Oh, they haven't set up their subdomains.. mobile site is at /m
 
user652649
once it was asked me to create a 600px tall fixed header, and i did it. they couldn't understand that there were people using 768pt or less monitors. i gave up and i just did it. then someone told them he couldn't visit the site because of the header. of course they decided it was my fault.
 
user652649
then i insulted them massively and i leaved with both rotating middle fingers up. later they asked a different company a new site. they got the site that i originally suggested, including cool ideas that i had myself and that they disliked at that time. they paid x4 the price i originally asked and of course they ruined my reputation with a company i was interested to work with.
 
We still <3 though
 
user652649
and this pretty much sums up why i don't want to do sites for 3rd parties anymore
 
user652649
11:50 AM
xD
 
user652649
@mikedidthis time to narrate us your worst adventures. it's your turn xD
 
@ObiWanWesabi last project. Rewriting the entire page with javascript. That was the worst.
The worst mistake I made was getting a URL wrong in a printed magazine. 12,000 copies.
 
user652649
hahahahaha
 
I wouldn't mind, but it was the URL for the company who made the magazine. 2nd / 3rd page advert.
 
My worst mistake? Let's just say rm -rf * and leave it at that.
 
user652649
how do you rewrite a page with js anyway, @mikedidthis ?
 
Worst thing I was ever forced to do? global $SL = new Service_Locator(/* About 10 arguments here */);
 
@ObiWanWesabi I don't even though. I had to sniff for hr in the content and then build the page based on that
@ObiWanWesabi Said site: mightygiant.co.uk
 
user652649
@SecondRikudo lol
 
user652649
i think i have some methods with more than 10 parameters xD but at least i don't use service locators xD
 
user652649
12:01 PM
i accidentally deleted many times the wrong rows in production database. i once sent a test newsletter with plenty of profanities in the body to about 1000 emails
 
user652649
did DROP TABLE instead of TRUNCATE TABLE a million times (it's like the most annoying thing you can do with a dbms)
 
 
iknowright
That was when I was young.
 
D'awww
 
I dislike non-active OPs on bounty questions
if the only answer on a bountied question has 0 upvotes, does it still get the bounty?
 
12:07 PM
iirc, yeah.
 
Yup
 
good
 
user652649
@ZachSaucier only a part of it, like the 50%
 
user652649
if you get 3 upvotes you will have 100% iirc
 
@ObiWanWesabi that's silly in this case.
the stupid OP doesn't comment on most of his questions he asked. He seems to never actually award the bounty either, hoping it goes back to himself
 
user652649
12:15 PM
14/20
 
The OP apparently has some terrible questions stackoverflow.com/users/2069715/starkers
 
426 questions and only 800 rep
 
IMO questions should get +2 or so an upvote, but that's just me :P
Or at least, for people of a certain threshold of answers to questions should have that +2 per upvote
 
I have a few question that are minus from when I didnt know how to use the site properly but mostly up votes. Although I rarely ask question now.
 
that's true of most all of us and not what I'm referencing. I'm talking about people like the linked guy who ask way more than they answer, they should only get +2 per upvote IMO so they are encouraged to answer more questions
 
12:38 PM
@Billy that is @mikedidthis ??
 
@rlemon yep
 
what a cutie
 
shucks
 
user652649
ahahaa
 
12:44 PM
lol;
 
@mikedidthis why didn't you capitalize on the "I can't believe it's not Buttery!" slogan
 
@rlemon already did it... one moment
 
I did do a butter tub, but I can't seem to find it.
 
@mikedidthis if you actually made that on toast I would be impressed
 
12:59 PM
@ZachSaucier Photoshop
user image
3
Found it :D
 
user652649
ha
 
"would be" :D
 
> Now with more experience!
you need to qualify that
> Now with 40% more experience!
 

« first day (454 days earlier)      last day (3334 days later) »