« first day (1419 days earlier)      last day (3528 days later) » 

12:00 PM
even if you do it over ssl?
wait, that's receiving. Not sure if you could send something over ssl.
 
@Kippie you can
but the MTA servers still have to speak with each other in non-ssl
 
yeah, that's what I meant. Sorry if it wasn't very clear
 
@Kippie email is not secure.
Also, in a confirmation mail is one thing. In a "forgot my password" mail is another.
 
m59
@Busata I'm still not totally sure what issue you're having. Perhaps you're looking for require so that you can share a directive's controller with other directives?
You would be able to have one directive in which the controller declares several methods and then other directives can call them and change parameters.
 
@m59 it's more a design issue, from my "dashboardctrl" I want to be able to add markers to the map, but I wanted to avoid using require
 
m59
12:05 PM
Why avoid require? That's what it's for.
You should be able to accomplish the same thing with whatever $scope the element is in
whichever is cleaner depends on the circumstance
or maybe you need a shared service?
 
well
can I send "events" from a shared service to a directive?
 
m59
you can do anything ;D
 
then I guess I'm a bit stuck there, if I have a normal page with a ctrl & the shared service, and a directive that uses the service as well, how can I tell the directive to do stuff with its dom from the service?
 
m59
$watch, right?
 
service typically doesn't use scopes?
 
m59
12:11 PM
Not in the service, lol
but no, I don't see any need for the service again
 
but if I use require, I need to have the map, a parent directive, and the "other functionality" has to be a directive as well in order to access the parent directive's controller?
 
m59
I can probably give you a straight answer about all of this if you actually walk me through what's going on.
 
probably overthinking it again... :-(
 
m59
I'm the user, what am I going to do on your app?
 
You can either: Right click the map & pop up menu will show with some actions (e.g. add place), this triggers an item to appear on the left which you can edit. Or click a button on the left, which does the same + shows a marker on the map you can move around
 
m59
12:16 PM
So, is the difficulty not so much in how to do that, but in how to divide it up?
 
more in dividing I guess, I want the left side to be the actual page, so instead of a list of places, it could be a list of trajects, and the map would have to show directions, for example
I tend to get stuck when I'm not happy with the design, even if it works :p
 
m59
I understand that :)
Man, it's kinda too complex for me to come up with anything. All I can suggest is that you keep considering the usual things (SRP mostly)
 
wow
in PHP, 10 hours ago, by OzzC
someone there can give me a help please?
what came after was nice
 
ah, thanks :) I'll figure it out one way or another
 
!!nudge
 
12:26 PM
@towc Many things can be labeled Not a Number; a delay should not be one of them.
 
how do I display the nudges?
!!nudge display
 
I don't think you can list nudges
 
m59
@Busata sorry I can't come up with anything :( I've found that when I think I'm properly abstracting (srp) I never am, so that's the first thing I start thinking about
 
they are just there
 
ok, I'll let them stay there
 
12:28 PM
there might be, but I don't know of a way
and a few days ago I was trying :P
 
Go modify ziraks bot :D
 
!!nudge
 
@Busata Many things can be labeled Not a Number; a delay should not be one of them.
 
12:48 PM
Question of interesting : Do you also have co-workers that when they need something ( for example some js code) - and you tell them : " Yes , i've built one of my own" - they tend to use something else from the internet ? (and they even didnt see yours....) ?
is this some kind of : "I won't give him the joy of using his tool which will make me less than him..." ????
 
my colleague always tries to code it himself (hobby projects)
that's most of the fun!
 
no... there's something more deep than that
some kind of pride... i dont know
(foolish pride)
 
ofcourse, if I could I'd code everything just to know how it works, but then you'll never get anything done :p
 
not to mention code-reuse , but still
 
and that + stability etc
 
12:50 PM
that's not my point
I enhanced blockUI plugin
(JQ) with many additional functions
I told him : here is the JS
 
@RoyiNamir I tell them: "yes, I built one. Don't use it, it's clearly not battle-tested."
 
^ +1
and then he said : well , nevermind i will find smashing in the web
WHY ???
he didnt even see my code
( and i kick his ass with JS and JQ)
 
who cares, I told him not to use it
 
@FlorianMargaine you're right. that will be my approach now on
 
now I don't understand your question, you're curious why people don't use your code, so now you'll just tell them not to use it? :P
 
12:53 PM
@FlorianMargaine I'm just trying to put my finger on the specific point : is it pride involved here?
 
or maybe that he wants something other people than you have used
I mean, that not only you have used
 
I'd use jQuery ove some homebrew dom manipulation lib any time.
 
blockUI is a famous plugin
I just added additional functions
I told him that
 
who's pride got hurt the most here? :-)
 
mmmm myne ?
 
12:55 PM
:p
 
@RoyiNamir You should have introduced him to vanilla js
 
yes , but for no reason
@Busata dont get me wrong : had he shown me : errors, bugs , something : i would not have speak
but he didnt even see it :-)
oh well , nevermid
vanila :-)
-
 
this... my life is complete:
http://codepen.io/chriscoyier/pen/lotjh
 
To use Vanilla JS, just put the following code anywhere in your application's HTML:

<script src="path/to/vanilla.js"></script>

When you're ready to move your application to a production deployment, switch to the much faster method:
 
excellent!
talking about frameworks, anyone has experience with mithril js?
 
1:01 PM
@Busata it was a joke you know...
 
yes
 
:-)
I will send this to a new employee who just started working
"please embed this library"
hahaha
 
could at least add the button to your website!
 
:-)
 
@Busata I had never heard of mithril before, but by the looks of it, it creates getters/setters?
Not sure I see the advantage of that
 
1:04 PM
dafuq? http://codepen.io/chriscoyier/pen/hmlqF
How does adding comments, put the 2 li's tag in separate lines or omitting the closing li make a difference???
 
it's also creating the views with js (virtual dom)
don't know what the (dis)advantage of that is either
 
@Busata Meh, doesn't seem to me like it is really offering a lot
Maybe I'm not yet used to it though
 
@towc Only the closing li surprises me. The rest is completely logical
 
ha, that bug kept me busy for a bit
 
todo.view = function(ctrl) {
    return m("html", [
        m("body", [
            m("input", {onchange: m.withAttr("value", ctrl.description), value: ctrl.description()}),
            m("button", {onclick: ctrl.add}, "Add"),
            m("table", [
                ctrl.list.map(function(task, index) {
                    return m("tr", [
                        m("td", [
                            m("input[type=checkbox]", {onclick: m.withAttr("checked", task.done), checked: task.done()})
                        ]),
I'm not going to start writing code like this, god save me
 
1:11 PM
@towc because everything inside of the comments is ignored by the rendering engine
 
in C#, 4 mins ago, by drch
.blueCell {
   color:red;
}
Does this make anyone else unhappy?
 
it is like it doesn't exist, therefore the whitespace / new lines have no effect
 
@Sippy That makes my OCD itch...
 
in C#, 4 mins ago, by Sippy
That makes me itch.
Lol
 
And that, kids, is why class names shouldn't be tied to appearance.
 
1:13 PM
@Sippy Great minds..
 
omitting the end tag (with proper restrictions) allows the rendering engine to ignore the space between them (as it now places that inside the tag itself.
the first occurrence of the following li will close the first li, and therefore not leave any extra whitespace
 
@Neil I spell it OCd now
 
@KendallFrey You are literally the ultimate troll.
 
user2620028
when is it acceptable to use EM's for css positioning like left,right,margin,padding?
 
@KendallFrey You are bad, and you should feel bad.
 
user2620028
1:21 PM
EM Is based off of the browser defined font which can be overridden by the user defined font size. That would then throw all of your EM's out of control wouldn't it?
 
This room is much better than room EL even, though.
 
REM > EM
 
@RyanKinal don't you know? it's the trend
make every class tied to appearance
 
user2620028
Rapid eye movement? Lemon......
 
it's how frameworks like bootstrap work
 
1:24 PM
use divs for everything!
 
:twitch:
 
that said, I like it
 
want a red button? apply the following classes: red button
 
:twitch:
 
1:25 PM
less cool than "danger zone"
 
user2620028
While doing sizing use this as holy reference. Gotcha, Thanks Lemon!
http://youtu.be/Z0GFRcFm-aY
 
@RyanKinal @FlorianMargaine I think you're hurting him
 
@FlorianMargaine actually, that should make the button red, not the text in the button red... and the class blueCell should make the cell blue, so whats wrong in setting the textcolor to red?
 
.button {
  outline: none;
  border: none;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: inline;
}
tee hee
 
You're turning a button into a link? Seems counter productive
Oh wait
button is your class... then what? Seems even more redundant, then
 
1:29 PM
 
There will be murders
 
I can't even. I'm odding
 
.float-left { float: right; }
ohh man, there is so much crap you can do that people would flip a shit over
 
:breaks down and cries:
 
user2620028
Lemon appears to be trolling
 
1:31 PM
I can almost promise 2/3 average devs would take more than ten minutes to figure out why the hell that was breaking
 
Unrelated, but true: My stomache was really upset yesterday, and on my way to my car at the end of the day, I sharted.
 
looks at class name, seems legit, never looks at class rules
 
user2620028
lol nick that sucks bro
 
@rlemon :right-click: :inspect elemnt: :kill rlemon:
 
user2620028
^^^ FACT
 
1:32 PM
Or, more likely, just post the sad sad code in the chat
 
user2620028
now turn a link into a button lol
 
.right-align { position: relative; left: 600px; }
 
user2620028
and a div into a <video> tag lol
 
@AaronSiciliano -webkit-appearance: button;
 
@rlemon Seriously, though, that would probably be the case. When I found it, I'd rage a bit :-P
 
1:34 PM
hey JavaScriptists
 
@DrewR 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.
 
@RyanKinal a { display: if(random(2)==1,inline,block); }
russian roulette scss style
 
user2620028
no...... there is no random css method right?????
 
1:36 PM
scss
 
less
 
super css
 
also, I just sent the wife out to buy a roomba
 
user2620028
sass/less gotcha... that makes me feel better
 
lol, nice
 
1:37 PM
there is an if method in css?
waaat???
 
Are you gonna put a cat dressed as a shark on top of your roomba?
 
facepalm
 
user2620028
the floor cleaner? lol nice
 
less is more
 
@AwalGarg sass-lang.com
 
1:37 PM
@AwalGarg you don't read very well, huh?
 
Y U NO READ!
 
SRSLY
 
user2620028
I am so used to seeing if statements i completely ignored it when looking at the css hahahaha
 
@rlemon OK
@rlemon I AM SORRY
 
ARE YOU FUCKING SORRY?!?! ~ source
3
 
1:38 PM
@rlemon I WON'T DO THAT AGAIN.
@rlemon ARE YOU FUCKING JOKING?!?!
 
Ah thanks. Is this an exception specifically for `<li>`, or are there similar elements that have this behavior too?
And is it considered bad practice to not close `<li>` tags?
 
:18687949 WHY YOU NO POST PLAIN TEXT?
 
Because the catface gives it more force
 
@Kippie in HTML5 there are a handful of tags which closing tags are now optional (depending on circumstances)
 
1:40 PM
!!google html5 optional end tags
 
an advantage of room owners: can see deleted messages
 
the sixth room sense?
 
@rlemon Yeah, I know you can leave them open. The question is: should we do this? Seems like it would make everything less readable
 
@Kippie imo, close them. but that is now totally upto you and your team
 
1:41 PM
@Kippie close the li tags please
 
doesn't the browser close them for you anyway if they parse your code?
 
for the love of god, please
 
@Busata 17th to be precise
 
@Busata in HTML5, no.
 
@Neil is it supposed to be some ascii art?
 
1:42 PM
they interpret them as closed, but they don't fix them
 
it's that cat again
 
hey peeperz :D
 
gg Neil :p
 
how is it with zigi? did anything get in order finally?
 
@FlorianMargaine No, supposed to be a joke at @AwalGarg's expense
 
1:43 PM
aha
 
@BenjaminGruenbaum have you seen hanselman.com/blog/…
 
would have had higher resolution, but well, would have been too annoying for even me
 
@Neil what is?
 
only read the "how do modern browsers work" article!
 
@AwalGarg I posted the same image converted to ascii..
 
1:44 PM
@CarrieKendall silly VS users.
 
@Neil oh really? Where? ok the removed message eh?
 
@rlemon it is a good ide :)
 
I dislike it
 
albeit I'm still using VS2012 -- and only for c# + winforms
 
1:44 PM
Looks nice
 
But why did you remove it @Neil
 
@Neil you need my uber ascii conversion script
 
we run the latest version
 
I didn't want to fill up the room with nonsense, sorry :)
 
@rlemon do you run a make cool lil things organisation?
 
1:46 PM
@AwalGarg yes
 
I've been talking to him like the last 5 minutes and he want me to tell you he apologized about everything and said that he's going to try behave from now on. Just wanted to let you know.
cheers
 
@Neil haha, that's fine, but I can't see it now.
 
I am the tickler of keyboards
 
@AdamBarak he's already said that more than I can count
 
@rlemon you never get bored?
 
1:47 PM
@BenjaminGruenbaum yeah i am pretty excited about trying knockout 3.2 with it. for a while now i've been using webstorm for frontend and then vs for backend which is a pita. anyways, thought i'd share
 
@AwalGarg jsfiddle.net/rlemon/20rb4q16/6 (cc @Kippie)
afaik it only works in Chrome
(parsing gifs this way is against spec, chrome allows it)
 
I have seen that.
You keep posting cool lil things from your make cool lil things organization.
But the question remains...
 
@FlorianMargaine I can only imagine that. Well, guess you will handle that when he comes back and see if that's true or not.
just referred what he told me to say
 
@CarrieKendall ty
 
you are not his pigeon, are you?
 
1:51 PM
So, in chrome you can right-click a canvas and save it as an image... I just tried to save @rlemon 's animating canvas, and it crashed my chrome. I guess you shouldn't save a canvas while it's doing stuff, lol
 
Owls make better delivery service, just ask Harry Potter
 
@AwalGarg uh I don't think so? I wanted to give him my last chance and help him
 
I'm sure hedwig will disagree
 
you will be the one to handle him anyway
 
@NickDugger might be other issues, that entire demo is faulty.
you are not supposed to be able to pull frames from the gif that way (according to spec) -- chrome just goes against spec there.
 
1:51 PM
@AdamBarak I would advise you to keep this as your last one. Rest up to you.
 
Ah, ok
 
@AwalGarg for sure .. if he doesn't behave I'm not going to listen to him again too
 
@rlemon + they can cross through other dimensional worlds! Phoenixes are even better, their tears can cure wounds and they can lift very heavy loads. :D
 
but they are an insurance risk
fire damage, etc.
 
@AdamBarak good ;-) Try not to bring him up again.
@rlemon Your pigeon can be traced by the ministry of magic. Phoenixes can't be.
 
1:54 PM
sure they can
anythings possible
!!magic
 
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵐᵃᵍⁱᶜ
 
@AwalGarg ok.
 
No, ministry of magic doesn't track phoenixes. They are meant to be for VIPs only. Thus Dumbledore had one.
 
I'll stick with e-mail... geeks.
 
1:55 PM
Moderator tools screen :D
 
I come in here to see you arguing over harry potter.
 
@CapricaSix that just looks ugh
 
Wtf guys.
 
@AwalGarg dumbledore was a cheat and a showoff :3 #flamebait
 
@Sippy He is arguing, I am just telling the canon info.
 
1:56 PM
@AbhishekHingnikar BROOOOOOOOOOOOOOOOOOOOO
 
@AbhishekHingnikar nope. I still see him as a hero, though JKR announced he was gay.
 
you can see who voted for who
 
All hail Gandalf
Gandalf > Dumbledore
 
@AbhishekHingnikar How dare you insult a fictional character that I roughly associate to a vague memory I had of my grandfather!
 
VOTE SNAPE 2016!!!
 
1:56 PM
@Neil re associate with gandalf !!
 
@AbhishekHingnikar That is not even a good joke.
 
 
also, node people -- RFC github.com/rlemon/lorempizza.com/blob/master/app.js am I doing this right?
 
@AwalGarg Why would being gay denounce him of hero status?
 
.
 
1:57 PM
4: 1 Gandalf wins over dumbledore
 
Epic rap battles of history
 
@rlemon Have you decided whether or not you like sails yet?
 
not erb, watchmojo
 
haven't tried it
@AbhishekHingnikar BROOOOOOOOOOOOOOOOOOOOOOOOOOOo
 
1:58 PM
@rlemon I find myself using it almost exclusively in my node projects, these days
 
@AbhishekHingnikar do you realize you are impersonating a stupid person?
 
@AdamBarak there is no point in flagging a moderator who is trying to settle a situation
 
@rlemon broooooooooooooooooooooooo :D
 
don't be a troll
 
Dumbledore can't be defeated.
 
1:59 PM
@AbhishekHingnikar wanna design me an interface?
full credit ofc
 
@rlemon I'm not a troll. That was offensive against Indian people
;-)
 
mhm, don't.
 
@rlemon sure
 

« first day (1419 days earlier)      last day (3528 days later) »