« first day (1635 days earlier)      last day (3305 days later) » 

4:01 PM
@Loktar @Shmiddty thanks, it means a lot
 
yeah np, good luck!
 
@SecondRikudo Don't fuck it up, kiddo. ;)
2.9
 
what about 3-e instead of 2.9?
e = epsilon, (the beloved infinitesimal value)
 
Don't come in here trying to change our 2.9!
@towc 2.9 :P
 
same amount of characters, more nerdy :P
 
4:10 PM
@towc 3-e != 2.9 because 3.0 - 2.9 = 0.1 not e
your e is much smaller than 0.1
 
@ssube exactly, but the point is <3, and the highest number that fits that is 3-e, not 2.9
 
I though the point was right in the middle?
 
uhh... I can't say you're wrong
 
@towc The point is that 2.9 < 3, 2.8 also fits, but reserved for special cases of love.
3-e is the smallest amount of <3
You saying our love is small?
Insignificant?
 
if your love is shown by the difference, but I suggest shown it with the size of the number :P
but who am I to argue
 
4:14 PM
Your typo frightens me
love and rapresented should never be in the same sentence
 
the fact that I can't find a typo frightens me
ooooh
 
better?
 
@towc big numbers?
 
Dunno, still trying to get over the rap
 
4:15 PM
like this:
2222   99999
2  2   9   9
   2   9   9
  2    99999
 2         9
2222 .     9
big enough love for you?!
 
@Zirak >4
 
@rlemon it should do XD
 
<8
I may have heard a theory that the heart shape actually represents a woman's cleavage
 
Is there a way to display a 9 with a macron above it?
 
4:17 PM
Kind of like how Zalgo works
 
!!wiki macron
 
A macron (/ˈmækrɒn, ˈmeɪ-/) is a diacritical mark, a straight bar ( ¯ ) placed above a letter, usually a vowel. Its name derives from the Greek makrón (μακρόν) meaning "long" and was originally used to mark long or heavy syllables in Greco-Roman metrics. It now more often marks a long vowel. In the International Phonetic Alphabet, the macron is used to indicate a mid-tone; the sign for a long vowel is instead a modified triangular colon ⟨ː⟩. The opposite is the breve ⟨˘⟩, which marks a short or light syllable or a short vowel. == Uses == === Syllable weight === In Greco-Roman metrics an...
 
2.9ˉ
 
oh man... apparently the controllers are awesome
 
How do I call the stack of an error?
 
4:19 PM
like they allow you to feel what you touch..
 
"2."++cycle"9"
 
function InputError(message) {
  this.message = message;
  this.stack = (new Error()).stack;
}
It doesn't work in my console
 
user1596138
Making a Marquee smh...
 
@StevensHaen Works for me. Are you calling it with 'new'?
new InputError('my message')
 
@Luggage Could you please explain how this .stack works?
 
4:27 PM
Do you know what a stack trace is?
 
user1596138
this.stack is undefined until you define it
 
@Luggage Reading right now about it in "Eloquent", not sure if I'm entirely aware
 
the Error() constructor in JS ( at least in some enviroments like node) gives you the stack track in the error.stack variable. You are just copying it into your custom error class.
a stack track is just the 'current position' in code at the time
!!> new Error().stack
 
@Luggage "@blob:http://chat.stackoverflow.com/93d9f55c-815b-407d-bf1f-aefe887e46fd line 375 > eval:2:2\nexec@blob:http://chat.stackoverflow.com/93d9f55c-815b-407d-bf1f-aefe88‌​7e46fd:3:1286\nglobal.onmessage@blob:http://chat.stackoverflow.com/93d9f55c-815b-‌​407d-bf1f-aefe887e46fd:3:2006\n"
 
O_O
 
4:30 PM
 
@SterlingArcher that's offensive to PC lovers
 
@Loktar I offend thee!
 
"at least we can change it" - PC Lovers
 
hahah
 
@SterlingArcher That's not RAM
I missed the funny didn't I
 
4:37 PM
@SterlingArcher wench with a wrench
 
@Zirak whoosh
stackoverflow.com/questions/29520312/… if I'm wrong please correct me
 
@SterlingArcher At this point, correcting all that wrong will turn you into a different human being
And you're right
Actually
 
No you're right
 
^ new Sterling
Yay I'm correct! Research paid off and I learned!
> You can use jQuery, plain javascript has no way to handle multiple events except multiple handlers.
Am I reading that wrong?
 
4:41 PM
jquery just binds several listeners at once which fire the same function
 
He doesn't understand the issue
 
Can't you do that with addEventListener as well?
 
No
Well, yes. But not in one call.
 
In other news, I'm waiting in my car for an appt with my insurance guy.. And it is pissing rain out. And the closest parking to where we are meeting is like 5 min walk. :(
Ima get wet
 
You're gonna get wet in anticipation for meeting your insurance guy? The oddest things turn you on.
 
4:44 PM
Insurance :hhnnnggg:
 
He looks like you, I can't help it
I need house/life/car insurance
 
Do you ever wish you were better at jokes?
 
Nope, quantity over quality. Eventually one will be funny
 
That tends to be how I tackle life
 
I need some help! Look at this CodePen on IE: http://codepen.io/anon/pen/ragEwb

If I click the anchor tag outside the SVG, the JavaScript to close the modal fires. If I click the SVG inside the anchor, the modal does not close. I don't know why. Can anyone help?
 
4:46 PM
Waiting to hear back from another recruiter. Some cool companies down here that I'd never heard of
I refuse to open IE
 
!!afk getting insurance.
 
@NickDugger I know :( Me too, but work demands it sometimes
 
Does work also demand critical thinking? What does the console say? Any errors? Are you using non-standard api features?
 
No console errors, no non-standard calls.
I'm rendering an SVG as an icon inside an anchor tag. If you click off the bounds of the SVG, the call gets made successfully. If you click inside the SVG, the JavaScript doesn't seem to fire.
And it only happens if I call the SVG from local SVG defs. If I write the SVG inline, it's fine.
 
user1596138
What exactly is failing in IE?
 
4:52 PM
Well, so far I can at least confirm your results
 
Do you want to get marked as an answer? Because that's how you get marked as an answer. — mikemaccana 5 mins ago
I like this guy
 
user1596138
Because in Chrome clicking the green/grey areas all do the same thing too.
 
more like an antswer
2
 
@Jhawins If you have a referenced SVG (i.e. using the <use> tag to reference an SVG inside a <defs>) if you click the green area, the modal doesn't close.
 
@ssube LOL
 
4:58 PM
@i7nvd your code is confusing me. WHen I look for .block in the HTML, and try to find it in the console, it doesn't exist.
 
@NickDugger I figured out a solution and updated the Pen. If I add pointer-events:none to the SVG, it works. Any idea what was causing it to NOT work?
Ah, sorry—that's outdated code from an eariler test
 
Ooohhhhh... lol
It's probably just another IE quirk
you might be able to call it a bug, if you can make a case for it
 
Where could something like that be reported that it might actually get listened to?
 
user1596138
@i7nvd is the actually get listened to part important?
 
@SomeKittens I just got an email from a real company, and not some recruiter, practically begging for an interview! haha
 
user1596138
5:01 PM
If so I wouldn't bother
 
user1596138
@NickDugger what are you using for job search
 
@NickDugger hah, who?
 
@SomeKittens some people that I've never heard of... lol headspring.com
 
Sweet, so not an InMail?
Did it sound like it was to you, and not everyone who has "JavaScript" in their profile.
 
@Jhawins Anything and everything: Indeed, Dice, twitter (strange, I know), and I'm more than happy to work with recruiters, as long as they aren't out of the country and have a heavy indian accent...
 
5:03 PM
@Jhawins I'd argue yes. I don't know how much you know about SVGs, but it's very common if you're using icon sets to use the method I'm using. Load up all SVGs inline inside defs tags so they're invisible, and call on them when needed. It allows you to apply CSS changes to the SVG (which you wouldn't be able to do with an img tag). Being that SVG icon sets like this are becoming more popular, it seems to me that there's potentially a wider use case for this issue.
 
@SomeKittens It spoke about my specific skills listed on my resume that they found on Dice
 
Menu icons, modal icons, button icons, etc.
 
Mornings
 
user1596138
@i7nvd Oh I totally agree that it's probably a real issue and causes real problems.
 
@NickDugger hah, Twitter is how I got my Uber interview
 
user1596138
5:04 PM
Twitter does jobs? lol
 
Nah, you have to reach out to people
 
user1596138
Or you're announcing your candidacy on twitter
 
sup guys
 
in meteor, is it possible to search the entire db (not a specific table) for an objectID?
 
@corvid why would you want to do that?
 
5:05 PM
Because something unexpected is happening and I want to debug it.
 
what is that?
can you isolate it to a particular section of the app?
 
@corvid I'm curious; is Meteor any good?
 
That's entirely subjective
 
@taco I like it, as far as frameworks go it's probably the most straightforward, imo
people have differing opinions though
 
It's not fast or secure, but with browsers, what is?
 
5:07 PM
@corvid ok cool
 
Anyone ever used FSMs in JS? Like machinaJS?
 
@ssube I don't get why you say it's insecure :| I haven't really find how it's insecure. Like you could technically render the admin template, but they wouldn't be able to access the data on it
 
I'm kind of having enough of canvas. Went for a different thing this time if anyone wants to check it out codepen.io/MateiGCopot/pen/xbNomZ
 
@i7nvd You might try setting a CSS declaration that is something like .close-button svg {pointer-events: none;}.
 
You can never have enough canvas
 
5:11 PM
@corvid it encourages you use mongo on the backend, right?
 
@Retsam been looking for a good FSM. One that's persistable.
 
you could choose NOT to use mongo, it's just not "officially" supported
 
@towc neat
 
mongo isn't bad for small things usually
 
@Shmiddty Yes, Shmiddty. Thanks for looking; that's how it got solved at the end. It seems like it's still probably a bug on IE's part that that's required, but alas...
 
5:12 PM
@i7nvd indeed. I think it happens with (some) images as well
 
I'm not sure how I feel about it... I just ran into an example of someone using one in our codebase; and it just seems like an odd way to solve a problem.
 
man everytime I go to codepen I see Tiffany Rayside tearing it up
she pumps out things like crazy
 
ikr
I mean, her work is great, but it's too much too fast
I wonder if she ever does anything else XD
 
I don't think I've ever seen a problem and thought of using a FSM to solve it... but I'm not sure if that's just a personal flaw and I really should be considering them as solutions.
 
@Loktar sounds like she'd make one intense mother
also, phrasing
 
5:14 PM
!!xkcd l33t
 
FSMs make a lot of sense. They can keep track of what states are valid to transition to and what needs ot happen during that transition
 
Morning
 
@towc yeah its pretty crazy lol
she came out of nowhere too just like BAM
 
user1596138
> 1 job containing the words "javascript" within 100 miles of your location
 
5:15 PM
I think around Feb
 
@Retsam aren't they a go-to solution for game AI?
 
@ssube Sure and parsers, too
 
I think remember seeing a few posts of her's from december...
 
    @phenomnomnominal, @mash, I am creating gps tracker,that will check if the device is inside the polygon,
    In my first loop that I posted a while ago,I pull newly inserted data in each device from table,
    then I have function dosomething to send data to server via ajax to check if the device have polygon boundary,if it has,then I will do something with the return data in ajax callback,to create polygon for it then check if this device
inside the polygon,if it is inside I will send data to server via ajax and save those data to my table. ..so is it possible
 
Say you have an issue-tracking app. The issue is in 'open'. the FSM machine tells you that you have 'resolve' and 'cancel' as avlid actions. It also knows that when the 'resolve' action happens (from 'open' or any other status' that ceratin things must happen. send email, etc.
 
5:16 PM
I mean, if I worked in those problem domains I'm sure I'd consider them more; I'm just wondering how much merit they have for more my current domain
 
Nothing you can't do with plain code, but it lets you reconfigure
add new states, etc
Ever use Jira, @Retsam
 
@towc ah yeah I havent been paying to CP much lately tbh
 
@Luggage Unfortunately.
 
but she does some cool stuff
 
look at her code tho XD
 
5:17 PM
(Okay, the snark is probably unmerited. Yes, I use JIRA)
 
Well, Jira uses aa FSM called OSWorkflow. It's why you can reconfigure jira so much. add your own statues, and workflow
 
it's so unreadable, even if the outcome is great
 
rules, etc
 
!!urban tbh
 
@towc tbh to be honest
 
5:18 PM
FSMs are overkill.. until it's too late.
 
Huh. I'll have to try to keep it in mind more often, I guess.
 
I haven't found one I like for JS, yet.
machina and the others all don't seem to be persistable in the way I'd like
 
So far, my biggest complaint about machina is that it looks a bit too stringly typed.
But that might be inevitable, I suppose.
 
especially in js
 
hah I just saw that, Ana likes my 3d sketcher
 
5:21 PM
@Loktar yeah, I'm in there too :P
 
David asked me to come up with 10 and write a line or two about them
 
What do you mean by "persistable"? Like abiltity to export and import from JSON?
 
I need to finish it up
@towc hah nice!
 
No, I mean persist a running state machine to a database. In it's current state
 
The problem with a name like Ana is a last name like Last
 
5:22 PM
don't get it
 
@Luggage Well, you could do that with JSON if you're using a document database, right?
 
I want somethign liek Jira, where I load up an object from the database and ask "what are valid actions the user can take" and it'll respond with somethign like ['reopen', 'close']
 
@towc who
 
@KendallFrey I didn't get the joke
 
Imagine if your name was Ana L.
 
5:23 PM
oh....
ok, that's pretty funny
 
Machina and other support all kinda of compount states and they don't hve a good way to serialize that and load a machine from where it left off
I think machina.js machines start form the initial status each time they start. They are meant for FSMs that stay running.
unless I'm missing something. I haven't used it for 'real work'.
 
Looks like there's an initialize function that you could probably use to set it to whatever state you want
 
yea.. maybe check a status field and use that to determine starting state
lat time I looked it wanted to perform all the transitions, though.
at the risk of confusing things, I really liek this c# statemachine: github.com/nblumhardt/stateless
 
"stateless" seems like a terrible name for a finite state machine.
 
well, it's designed to be persitable
so you don't have to keep it running. you can load an object from the database and pick up wher you left off
it's stateless in the sense that any REST api is.
you DO have state, in your DB, but don't need to keep track of it live in ram.
One of these days I want to make a JS version like it.
Anyway, I can't say if statemachines are right for you or some over-complicated monstrosity.
 
5:32 PM
@Retsam and toothless was a terrible name for a dragon, but look how that turned out.
 
@Luggage Yeah, thanks for the info.
 
racist
 
@Luggage Actually, reading through the documentation, BehavioralFsms, a feature added to machinajs in 1.0 seems like exactly what you want.
> The BehavioralFsm constructor lets you create an FSM that defines behavior (hence the name) that you want applied to multiple, separate instances of state. A BehavioralFsm instance does not (should not!) track state locally, on itself.
 
ohh..
shit, i'll have to take a look
"As a side note, it also makes it much simpler to store a client's state and re-load it later and have the FSM pick up where it left off, etc."
Yea.. I'm going to seriously look at using it later today.
That's exaclty what it was missing last time I looked.
 
Huh, now that I understand the basics of the library, I'm looking at the actual usage of machina in our codebase... and it's a state machine with one state? The heck?
 
5:45 PM
well.. it could certainly be misused
or someone had intentions of much more and never got to it
 
Yeah; I don't know. This whole codebase (not my primary codebase, I'm being loaned out as a resource to a different team) has a high wtf/m rate, so I'm hardly surprised at this point...
 
picking out life insurance is harder than I expected
 
me, i plan to have states of 'gatheringData', 'scheduling', 'published', 'archived'. all with a slew of action on each transition. sending emails, etc.
 
btw, found the problem @ssube. Just didn't push the context in my template, so it was trying to go to Collection._id instead of Collection.currentPlan()._id
 
@rlemon get one of each!
 
5:51 PM
When you're using Thymeleaf but the tutorial uses JSP <<<<
fucking jsp
 
fucking cfml
 
JSP is a great way to include requirejs.
 
!? A joke, I assume?
 
Well, I'm confused by the syntax because it's similar to Thymeleaf
 
@rlemon The point of insurance is to provide for those that depend on you in the event of your untimely death. You'll want it to provide enough for about 6 months of expenses, plus funeral costs. If you have unpaid debts, you might consider including those in the total.
 
5:53 PM
Not really, no.
 
Twilio.Device.setup("${token}", {debug: true});
 
We have an app with a few very light JSP pages that fill in tokens and then include require, for the actual app.
 
Ohh. I didn't see the connection or how a template engine really helps at all with requirejs.
 
One serves up the worker-main, one serves app-main, etc.
 
TL uses ${} notation as well, so I'm wondering if I pass the model in if that will work without using a th: element
 
@Luggage it was somewhat sarcastic, but totally viable.
 
I just converted from requirejs to webpack.
I don't regret it, yet.
 
@BenjaminGruenbaum I see you in the SO newsletter ;)
 
probably in the SO nudesletter as well
 
@Luggage :)
webpack is powerful
 
5:58 PM
@Retsam lol I like that idea
 
@Luggage how did you set it up?
I got a chance to play with it for like 30 minutes one day and didn't get anywhere.
 
that's a big question. took my hours to get all my dependncies working and fix shit
 
Setup a webpack.config.js
and just run something like webpack --colors --progress --watch --display-error-details
 
lemme see if my webpack.config.js has anythign sensitive, i'll jsut show you my setup i am using right now
 
@Shmiddty yea I know all of this.
still hard to figure out "hrm, when will I die, and how will it happen" :P
 

« first day (1635 days earlier)      last day (3305 days later) »