« first day (1434 days earlier)      last day (3512 days later) » 

Nothing special, I just searched for "Javascript Conference" on youtube
 
@NickDugger I suggest you watch this
 
You know nothing, Nick Snow
:P
 
@Cerbrus Props for GOT reference
 
For some reason, I thought of this: youtube.com/watch?v=dQw4w9WgXcQ
 
1:01 PM
^_^
 
I really wanted her to shoot him at that last scene almost as much as I wanted her to defect and switch sides
It was a really weird emotion in retrospect
 
Are any of you getting french text and server errors on thedailywtf.com/Articles ?
Who was "her" and "him" again? It's been a while since I saw that episode
 
@NickDugger Apparently it is special. Link?
@rlemon That's a great talk
 
it really is
 
I was looking for it a while back, thanks
 
oh, that guy
I don't like him
:P
 
Regardless, he knows more than I do lol.
 
as he should
you understand the relationship he has to js right?
 
@NickDugger You know who Brendan Eich is?
He's the guy who made js
 
1:07 PM
Well then... He should definitely always know more than I do lol
 
we have to suffer with == and === because of him
I hate that bastard
 
typeof null === 'object'
 
IMHO, = should be equality, and := should be assignment
 
Though that's Microsoft's fault
He fixed the bug, they insisted it goes into spec
And of course you won't understand anything in that, he's talking about really really new stuff
 
@KendallFrey i'm totally happy with making the equality operator function like identity, and just drop the triple equals crap
 
1:09 PM
that works too
but I think == being equality is a mistake
 
agreed
 
Haskell uses == for equality as well
 
Symphony 2808 is such a good song
 
@JanDvorak Are you implying that Haskell is always right?
 
I don't really mind == for equality
 
1:12 PM
@JanDvorak Really? So does Erlang.
Any other languages?
 
all C-likes
Ruby and I think Python
 
@JanDvorak Neither do I, it's just notationally wrong
At least it's better than that V-language
 
@KendallFrey == is a predicate. = is a statement.
nvm
g2g
!!afk beer
 
@KendallFrey learn ada
you'll like it
 
why?
 
1:19 PM
because it has this :P
between others
and... dunno, I think you'll like it
 
 
@FlorianMargaine You're doing too much awesome.
Have you considered being a crippled hobo?
 
"Once we move on past the gender and race divide, we can move onto more important issues, closer to my heart: like tabs vs spaces"
 
My goal in life is to convert all JavaScripters to the cult of Haskell.
come to the dark side :D
 
1:23 PM
I am truly sorry, but I'm planning on setting computer science back 30 years by creating a new unityped language :(
Wow, she is evil.
 
how do you render the scope in angular?
<pre>form = {{want the scope here | json}}</pre>
a scope field can be drawn like this: <pre>form = {{user | json}}</pre>
 
@Neil haskell fangirls on twitter form a social group that's both really scary and really exciting
 
@BartekBanachewicz You lost me at "haskell fangirls"
 
I see these things and think "Oh, do people see PLs as some anthropomorphic thingie? That's scary-desu." http://t.co/VCPbJcLal2
7 points
 
1:25 PM
out of?
 
Contributors, Critiques are welcomed : https://github.com/kamranahmedse/handy-js-functions
Please advice the tests, I've been working upon them and 'll be added soon.
 
@BartekBanachewicz over 9000
 
@BartekBanachewicz +7, as in, she received 7 imaginary internet points
 
@Zirak sarcasm spotted :(
 
@FlorianMargaine I was honest
You do awesome stuff
 
1:26 PM
lol
a hello world is not awesome
 
I strongly suspect that, not knowing us, she either loves or hates every single one of us
My only doubt is that I'm not sure which yet
 
I wanted to write an irc library in ada
I just went with this code to connect to irc
then gave up and went to write some C for php-src
I like ada though
 
35 secs ago, by Florian Margaine
then gave up and went to write some C for php-src
 
@Zirak what's that?
 
A joke, a tweet, a bunch of text, depends on your point of view
 
1:29 PM
or a bunch of bits
it's always a bunch of bits on the internet
 
that account... it seems to be pretty weird
 
So Maze Runner kinda sucked
 
It is
oh, I think I've talked to her on irc if she made Purr
 
@Zirak Are you a mechanical keyboard guy?
 
I've had some tangos with them, but had to think of the children at the end.
 
1:32 PM
I thought you only volunteered at the deaf children's home?
 
uh, sure...volunteered. Just, you know, don't tell them.
 
Well I can't sign, so not much risk there...
 
@GNi33 that's Sorella
 
Although I hear[sic] they're pretty good readers
 
@GNi33 no shit.
 
1:36 PM
@BartekBanachewicz aha, so she is on irc. Conversationally she seemed less awesome.
 
we should invite her here
 
Hi there ! Now the text map works : s419743653.onlinehome.fr/things/…
Zoom in with Mousewheel + click in order to create a new textbox + write some text
The only problem is that .... when you zoom too much, the text is strange / weird ...
Do you have the same problem ?
 
@Basj no, for me it's high quality ... no pixels
 
1:48 PM
@Oli_Mo 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.
 
@Oli_Mo yes, but when you zoom too much, then if you create some new text, the text is weird (wrong letter spacing, etc.) at least with Firefox
 
@JanDvorak wut
 
@BartekBanachewicz it wasn't funny
 
it kinda was
but it was also offensive so yeah
 
@Basj yeah, you are right. now I'm noticing it aswell
 
1:51 PM
does this mean that CSS transform scale cannot go further than a certain limit (that is very short to get)
 
@BartekBanachewicz IIRC, Zigi got kicked for the same
 
@Basj try something like that: internally replace the text using initial transform scale values after you created a text. Then in/out zoom again.
 
@Oli_Mo can you explain ?
I don't understand
 
guys new demo. rlemon.ca/stardust.html #friday!!!
8
 
@rlemon nice one! Hope to see it developed!
 
1:57 PM
updated
 
@rlemon still awesome
 
@rlemon I closed it before I saw the message! I did, really! ... I lost. :(
 
user1596138
> ziGi has requested access to EcmaScript
 
user1596138
Gonna be a strange morning eh
 
@Basj A long time ago when I was web developing, but for me it looks like that: when you create a text it is proportionally drawn to your current transformed container. so you have to redraw your text differently transformed.
@rlemon that looks nice :D
 
2:00 PM
@Oli_Mo I don't understand, can you show an example ?
 
@rlemon It needs to have larger particles and it should be much slower, like a lava lamp
 
I really just made it so people would lose the game :P
 
@Basj I would really, but I'm at work now and closing time is ... now xD maybe some other guy can help you with that. good luck! bye bye
 
@Oli_Mo I just don't understand what you mean about redraw the "text differently transformed"
 
Anyone else having this issue with Chrome on android? productforums.google.com/forum/#!topic/chrome/… -- It's making chrome absolutely useless.
 
2:03 PM
@Oli_Mo just a few words about this ?
 
@Jhawins in the end, has he been permanently banned from this room?
 
user1596138
@SomeKittens follow up from "Praful" was in my inbox this morning
 
fridays on so are so uneventful
how am I supposed to procrastinate if you are not being entertaining.
 
user1596138
@NickDugger Seems to be fixed a month ago...
 
 
2:07 PM
@Jhawins my Chrome is up to date, and I can tell you, it's not fixed
 
user1596138
@NickDugger Restart your phone dummy
 
I did
 
user1596138
Software doesn't ever have bugs, you're nuts
 
user1596138
> ERROR: user error of some kind has caused a problem (i.e. you let Dugger touch it)
 
user1596138
@NickDugger So.... Is this helping?
 
user1596138
2:10 PM
Coaster.io seems.... Kinda unneeded
 
Favorite CSS: * { box-sizing: border-box; }
 
user1596138
but I may as well take the interview right?
 
user1596138
 
Check out Space Burn - 13kb entry by @AmaanC for the @js13kGames compo! http://js13kgames.com/entries/space-burn/
Caps first tweet!
 
Hi I am trying to find out the syntax how to pass <div> @Model.ObjPath</div> value to <script> part of ASP.NET MVC sites. Can anyone please help me? gist.github.com/mareksip/9a52d0f657a387c9542c important lines are ln 10,36,41,69 anyone please?
 
user1596138
2:13 PM
@rlemon Oh no you guys were serious about making the bot a twitter? :?
 
the bots been on Twitter for a while
 
user image
2
Me in a nutshell
 
user1596138
 
user1596138
Who is this? Gotta be one of the guys here
 
@Jhawins Petka Antonov
 
2:16 PM
@Neil :D
 
@Jhawins Esalija or w/e
guy who wrote bluebird
 
my god i am struggling with dates in javascript lol
 
user1596138
@rlemon Oh right
 
why is handling this date SO HARD? /Date(1426093200000)/
 
user1596138
Rammstein
 
user1596138
2:18 PM
 
@ThiefMaster ^^
 
function GetDayName(date) {
	var date = new Date(date)
	var weekday = new Array(7);
	weekday[0]=  "Sunday";
	weekday[1] = "Monday";
	weekday[2] = "Tuesday";
	weekday[3] = "Wednesday";
	weekday[4] = "Thursday";
	weekday[5] = "Friday";
	weekday[6] = "Saturday";
	return weekday[date.getDay()];
}
 
No :(
 
@Bubbas ew
 
weekday = [
  'Monday',
  'Tuesday',
 .....
]
 
2:19 PM
well yea granted the array shoul dbe done way better
i just copied paste admittedly
but isnt that honestly beside the point?
 
No :(
 
that shoulldnt be the reason it isnt working?
 
from w3schools, may I guess? Noone else codes this bad
 
dont remember
 
@Bubbas If you're approaching the problem in a bad way, and it doesn't work, that is the point o.O
What doesn't work exactly?
 
2:20 PM
!!> ['sun','mon','tues','wed','thurs','fri','sat'][(new Date()).getDay()]
 
@rlemon "fri"
 
user1596138
 
moment.js wink wink
 
user1596138
Actually yes, that is a direct copy/paste from w3schools
 
user1596138
lol
 
2:21 PM
lol it was
 
lol
 
/embarressed
 
!!> (new Date).toDateString().match(/^\S+/)[0]
 
@Zirak "Fri"
 
user1596138
weekday[0]= "Sunday";
weekday[1] = "Monday";
 
user1596138
2:21 PM
Dat first missing whitespace from w3schools
 
lol
alright so
 
user1596138
@Bubbas What's not working?
 
ill show you code and my current result
function GetDayName(date) {
	var date = new Date(date)
	var weekday = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
	return weekday[date.getDay()];
}
 
user1596138
Oh hey nicer
 
I call it here GetDayName(NightDate);
NightDate is a value from some JSON of /Date(1426093200000)/
 
2:24 PM
function GetDayName(date) {
  return ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"][(new Date(date)).getDay()];
}
 
user1596138
@Bubbas What is the value of date as it is passed to the function
 
and i am getting undefined
 
user1596138
!!> new Date(/Date(1426093200000)/)
 
@Jhawins null
 
/Date(1426093200000)/
 
user1596138
2:24 PM
See the issue...
 
user1596138
!!> new Date(1426093200000)
 
@Jhawins "2015-03-11T17:00:00.000Z"
 
i've also done this
 
user1596138
@Bubbas why is this formatted like that.
 
NightDate.split('(')[1].split(')')[0]
it is coming from SQL
datetime2
 
user1596138
2:25 PM
/Date(1426093200000)/ should not be a thing
 
lol, well it is apparently
 
!!> "/Date(1426093200000)/".match(/(\d+)/)[0]
 
@rlemon "1426093200000"
 
user1596138
@Bubbas Show the backend code giving you this
 
user1596138
lol wtf is that
 
2:26 PM
@Jhawins In an ideal world, we shouldn't even have to think about dealing with milliseconds since january 1st, 1970, but the world is a cruel place
 
user1596138
No I wanna know why it's /Date($dontGiveAFuckAboutThisPart)/
 
Well i pass a DataTable to
public static string GetJson(DataTable dt)
        {
            System.Web.Script.Serialization.JavaScriptSerializer serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
            serializer.MaxJsonLength = Int32.MaxValue;
            List<Dictionary<string, object>> rows = new List<Dictionary<string, object>>();
            Dictionary<string, object> row = null;
            foreach (DataRow dr in dt.Rows)
            {
                row = new Dictionary<string, object>();
anything in there you see formatting like that?!
 
user1596138
....?
 
What database are you using?
 
perhaps the value in the datatable itself
 
2:28 PM
c#.net
 
SQL server
and yes, c#.net service
 
.not
 
so ask the c# room
 
i was asked for backend code
 
@Bubbas I use SQL Server, and it doesn't do that for me
 
2:28 PM
because the root of your problem is the backend
 
user1596138
@rlemon My mistake
 
you can bandaid it on the client, but you should fix it on the server
 
Though granted, maybe there are other types of datetime columns that I don't use like timestamp
 
user1596138
But yeah I think he needs to just return the timestamp not a halfass regex thing?
 
Mornin
 
2:29 PM
@SterlingArcher check out my new demo (stars)
 
user1596138
@SterlingArcher Bro!!!!
 
I am not entirely sure I can change the back end code to get that formatted differently at the moment
i dont want to, but will probably need to bandaide at the moment
 
!!> "/Date(1426093200000)/".match(/(\d+)/)[0]
 
@rlemon "1426093200000"
 
user1596138
@Bubbas Then you csn just strip the "/Date(" and the trailing "/" and use it.
 
user1596138
2:30 PM
!!> new Date( "/Date(1426093200000)/".match(/(\d+)/)[0] )
 
@Jhawins null
 
Could it be that C# is converting the datetime to a string and does something retarded like that?
 
which i've tried @Jhawins
 
!!> new Date( +"/Date(1426093200000)/".match(/(\d+)/)[0] )
 
@rlemon "2015-03-11T17:00:00.000Z"
 
2:30 PM
@Jhawins string
 
What is the correct formatting for getting variable from line 7 to line 33 ? gist.github.com/mareksip/3288f2452a134e6aaf53
 
user1596138
@rlemon Yeah I remembered after I did it :P
 
(removed)
 
user1596138
> (removed)
 
(added)
 
2:31 PM
changing my function call to this: GetDayName(NightDate.split('(')[1].split(')')[0])
 
user1596138
 
still gets me undefined
 
dude
 
yea
 
look at what i've been posting and stop being silly
I've given you the solution thrice now
 
user1596138
2:32 PM
lol @Bubbas wtf why u no try
 
yet i still dont understand it. :)
 
user1596138
!!> new Date( +"/Date(1426093200000)/".match(/(\d+)/)[0] ).getDay()
 
@Jhawins "2015-03-11T17:00:00.000Z"
 
may you explain your solution please?
why the "+"
 
He's using a regular expression to extract all numbers in string
 
2:32 PM
+ converts the string to a number (unary plus)
 
match is a regex thing?
 
Very simple and very hard to screw up
 
@Jhawins 3
 
ok i see
 
the regexp matches consecutive numbers
 
user1596138
2:33 PM
Hey what;s the link to Zirak's console thing?
 
thrice a charm
lol, thrice ;)
 
user1596138
This would've made it easier to explain. Course shouldn't be having an issue...
 
ive been sat here for 10seconds, its a new record for today!!
 
what is that ^
 
2:36 PM
damn... it's buggy
@Zirak :(
you disappoint me
 
@Bubbas what is wrong with thrice?
!!define thrice
 
@rlemon thrice three times
 
user1596138
@FlorianMargaine I see the issue too :/
 
"Unlike once and twice, thrice is somewhat dated in American usage, often used for a comical or intentionally archaic effect. Three times is the more standard and typical usage"
lol, i am just fux
 
user1596138
Hey @DrogoNevets :)
 
2:37 PM
@rlemon you son of a bitch
 
:D!
 
@Jhawins brooooooo!
lol well done sir, well done indeed
 
@Jhawins you alright? we had a nice down pour yesterday, so tomorrow going to rip them on the local military training area!
 
@FlorianMargaine oh, that's a very odd race condition
 
user1596138
@DrogoNevets Yeah doing decent. Just thought of you when I was looking at bike parts that will only ship to EU :/
 
2:40 PM
@Zirak ?
 
user1596138
@DrogoNevets Why you ask if I'm alright? Hahaha the smile a bit creepy or what?
 
@Jhawins sorry i meant "How you doin'?!"
;)
 
user1596138
Oh misunderstood. Would be a hell of a lot better if I could find these plastics on my continent!!
 
@rlemon ooooooooold :P
 
@Jhawins what you looking for?
if you sort out cash etc, im happy to play go between for ya
 
user1596138
2:42 PM
Plastics for that DR350, they made an all blacked out set and my white set has been thrashed to the point they should be spares now.
 
IE pay for P&P get it delivered to my house, pay fedex to pick it up and ship it (that way i touch no money)
 
user1596138
Yeah? That'd be cool. I'm trying to avoid paying $500 for plastics and then paying to ship them twice though ;P
 
@Jhawins well the offer is there
as i say, only caveat is i dont touch any money to avoid potential upsets
 
user1596138
Eh it's only like 250 euros actually for them all I guess. Still tho.
 
user1596138
@DrogoNevets Of course, good plan
 
user1596138
2:45 PM
I'll keep it in mind
 
user1596138
I'm job searching now for real tho so I'll probably wait anyway
 
or alternatively, get your ass on a plane and rent a scrambler tomorrow and coming riding with me and me bestie
 
user1596138
Hahaha if only that were easy
 
user1596138
International flight is pricey
 
user2620028
a scrambler? Where do you live drogo
 
user2620028
2:48 PM
@Jhawins im flying to thailand for ~$600 lol that isn't horrible
 
@Jhawins lol kidding!
10mins before a whole week off!
 
user1596138
@AaronSiciliano Round trip... :P
 
user2620028
@Jhawins shhhhhhh
 
user1596138
@DrogoNevets Don't kill the beamer!
 
nah only the 1 bike day planned tomorrow
 
user2620028
2:50 PM
lemon you are a terrible human being
 
user1596138
Aww bummer.
 
its more an excuse for my Mrs to reset as she was signod off with stress but that wouldve meant her branch folding, so stayed on a few weeks until her colleague was back from honeymoon, so i said id take the week off too to keep her company
 
user2620028
@Jhawins i had someone try and race me while i was on the m900 last night. He had a 90's suped up camaro......
 
@rlemon I just lost the game because of you!
 
user1596138
@AaronSiciliano HAHAHAHAHHAHA
 
user1596138
2:52 PM
"He had 4 wheels"
 
@DrogoNevets :D
 
user1596138
And he raced a monster. If you didn't win you are mailing your man card right fucking now mister!
 
user2620028
yeah drogo thats why i was cursing him too lol
 
user2620028
@Jhawins nahhh i didn't demean myself to race a 90's camaro lol
 
user2620028
@Jhawins i picked up the front end and stormed off lol
 
2:53 PM
@AaronSiciliano that is because i'm a lemon
lemons make terrible people
 
@AaronSiciliano man card now!
 
you have a flipping duke and you didnt race?!
 
first iphone bought in store is dropped xD
 
i will accept the bike as full payment though
 
user2620028
2:54 PM
@DrogoNevets i was like a block away from my house and i live in the neighborhood where cops sit there and wait for idiots to do that
 
hey guys wasn't there an html attribute for something like tab position...? used to position elements at a fixed distance or something?
 
@AaronSiciliano hmmm
!!licence or honour?
 
@DrogoNevets honour
 
see she agrees! bike please!
 
user2620028
lol i will race you guys anytime you want
 
user2620028
2:56 PM
Also my racecar would kick the shit out of my bike :D
 
cars have too many wheels, and ar eboring
as for the bike race.....ok, ill get my new baby that arrived yesterday
oh btw @Jhawins i now have a HP4
 
user2620028
:) just because they have 4 wheels doesn't mean you have to use 4 wheels
 
kinda does if you want to turn
 
Why is $(this).text().replace(pattern, "None") not working on a li tag? $(this) is li tag
 
user2620028
they turn just fine on one wheel lol
 
2:59 PM
@rodling look at what the function returns
 
@rodling your pattern could be wrong too
 

« first day (1434 days earlier)      last day (3512 days later) »