« first day (1097 days earlier)      last day (3834 days later) » 

8:00 AM
@BenjaminGruenbaum learn lisp
 
even @JanDvorak has started to learn it
 
Currently reading about CLOS
 
nice, right?
CLOS is not part of the standard, but they just added an object system as a library
 
it looks interesting
I should check how it's compiled to javascript in parenscript
 
8:09 AM
it's almost 1:1
 
when you specialise on all arguments?
 
Don't shoot me, but I just found this site, and it has an API. Should the bot run PHP?
 
hi @OctavianDamiean
 
8:11 AM
can I write (defmethod withdraw ((proxy proxy-account) (mynumbertype amount)) ...)?
 
in parenscript?
not sure
never tried tbh
 
IIUC, it should work in Common Lisp
 
Jan's learning lisp
 
Oh cool.
 
8:13 AM
@JanDvorak oh yeah
if you did (defclass proxy-account ()) and (defclass amount ()) ofc
then calling (withdraw proxy mynumbertype) should call this method
this kind of "specialized overloading" is actually nice
 
is there an online compiler for parenscript?
 
I specialize on EQL
@JanDvorak I don't think so
 
@yourkishore 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.
 
Oh well. *goes on to install parenscript, assuming lots of dependencies.*
 
(ql:quickload 'parenscript) and you're done :)
 
8:17 AM
I don't have a lisp runtime yet
 
oh right, you maybe don't know quicklisp?
ah.
anyway, install quicklisp first
it's the npm of lisp
 
@FlorianMargaine sadly not a personal server, I use github.com
 
0
Q: Isometric displaying two different images in different positions

CanvasI'm creating a simple Isometric game using HTML5 and Javascript, but I can't seem to get the display to work, at the moment i have 9 tiles that have X and Y positions and the player has a X and Y position, the players X and Y properties are set to 100, and the tiles are as shown tiles[0] = new A...

 
@mikedidthis I have a VPS, so if you need anything just tell me.
 
when is ubuntu being released?!
 
8:20 AM
@OctavianDamiean a personal github server with the github.com ui :S
 
@FlorianMargaine today.
 
Please people, I need your help. I've made a script to detect the user's timezone using moment.js and I need you to test it and tell me if it works for you : dystroy.org/stackoverflow/timezonedetect.html
 
I just have to sed -i 's/raring/saucy/' to upgrade right?
 
@mikedidthis Oh no, not that but I've been planing to host a GitLab server. I should look into that.
 
@dystroy looks good to me
 
8:21 AM
@dystroy Europe/London so works for me
 
@FlorianMargaine sudo do-release-upgrade
 
@FlorianMargaine I know it works in your timezone ;)
 
@mikedidthis what do you like about github interface?
@dystroy :D
 
@mikedidthis tanks
Anybody in US ?
 
@OctavianDamiean no version found
@dystroy they're sleeping
it's 4am for them
 
8:22 AM
Anybody in India ? ^^
 
@FlorianMargaine it isn't out just yet, but if you want to upgrade anyway then just add the -d flag.
 
@OctavianDamiean thanks
 
Damn, the Indian guy just leaved...
 
@SomeGuy @AbhishekHingnikar ?
 
@FlorianMargaine Pretty much everything. I like the how easy it is to browse a repo, look at issues, branches etc. I am fickle. Its white and easy to use.
 
8:23 AM
@dystroy Yeah, I'm in India. Why?
 
@mikedidthis git has a default web browser, did you look at it?
 
@SomeGuy Can you test the script I just submitted ? dystroy.org/stackoverflow/timezonedetect.html
 
@FlorianMargaine I did not.
 
@UnknownDeveloper 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.
 
@dystroy Yep, works alright!
 
8:24 AM
s/web browser/web interface
 
@SomeGuy Thanks
 
Sure, no problem
 
Yea, however gitweb is just for viewing stuff, it's not really comparable with GitHub.
 
@OctavianDamiean good enough if you want to view the sources
and diff/blame/etc
not for issues I guess
I want to try fossil for this reason tbh...
 
8:26 AM
Yeah its mainly issues I would need, I use my issues as a to do list from various locations.
But I appreciate the heads up.
 
@FlorianMargaine meh, go get GitLab.
 
@OctavianDamiean I already did
 
@dystroy I am here
 
did you ever try to install any big ruby application?
it's a fucking huge hassle
 
@dystroy works perfect
 
8:28 AM
"UC web Services"
 
@FlorianMargaine, @AbhishekHingnikar, @SomeGuy, @mikedidthis Does the principle looks sound to you ?
0
Q: Detect the ID of the current user timezone using moment.js

dystroyWhat I'm looking for is a way to detect the browser's timezone ID (as defined in the Olson tables) but I don't care for the exact ID, I just need the ID of a timezone that works the same as the user's one (for example "Europe/Rome" is fine if the user is in Paris). I'm not interested in the curr...

 
it also gives me the timezones of relevent neighbours
 
@mikedidthis what is it you need exactly?
Oh never mind, I remember now.
 
@dystroy Looks alright, yeah.
 
@AbhishekHingnikar I don't think I can detect the exact timezone without geolocation, so I need to detect the timezones that work the same as what the OS/browser computes
 
8:31 AM
@OctavianDamiean a hook where if a commit line starts with "create issue: title", it creates an issue
 
Yea, I remember.
 
Yeah its the issue that are my biggest crutch. Getting older, I have to log every single thought and the repo seems the sensible place to do it.
 
I'd go with an <<<BOI BOI system
for the body of the issue
 
makes it easy to parse
 
8:40 AM
OH!
 
@dystroy you can get the users timezone u know that ... right ?
use it with conjugation
if its in a delta of 40 *
 
@AbhishekHingnikar No, I don't know that. How do you do it ?
 
-_-
!!> new Date()
 
@AbhishekHingnikar "2013-10-17T08:42:30.950Z"
 
interesting !
on my chrome the output is didferent
 
8:43 AM
because the bot is on rlemon's computer. (in FF)
 
!!> (new Date()).toString()
 
@AbhishekHingnikar "Thu Oct 17 2013 04:43:04 GMT-0400 (Eastern Standard Time)"
 
@FlorianMargaine no ... i wanted that ^
 
I see :)
 
GMT-0400 :P
if the geolocation and the GMT time difference are similar by 1 hour then show :P
that will be most likely the most accurate timezone for the user
 
8:43 AM
"Eastern Standard Time" isn't a name following the IANA Time Zone Database format. I can't use it.
 
And "GMT-0400" is useless for me.
No, this only gives the offset. I need the exact timezone so that I can do computation UTC->usertime for other dates
 
doesn't the offset give you the timezone?
 
@FlorianMargaine there could be many
in the same offset
 
@FlorianMargaine Yes and no, there is also DST.
 
8:45 AM
@FlorianMargaine No, because the offset doesnt tell you if the user timezone follows daylight rules or not. So you don't know what the offset will be in 6 months
 
I should read a "Learn timezones for 5 y.o"
 
!!> (new Date()).toLocaleString()
 
@dystroy oh
 
@AbhishekHingnikar "October-17-13 4:45:55 AM"
 
Thats friken awesome ^ :P
"10/17/2013 2:14:35 PM" <- shows this to me
 
8:47 AM
"17/10/2013 10:46:53"
nothing fancy.
 
@FlorianMargaine .. did u not notice ?
its displaying dates in your locale
 
I know.
 
WHOA, that explains why it's called toLocaleString!
Thanks, Captain Obvious!
 
I was saying my date display was nothing fancy: on 24h, and displaying in correct order: day, month, year.
 
@SomeGuy try writing internationalization code :->
 
8:48 AM
17.10.2013 10:48:08
 
@FlorianMargaine I prefer when a computer speaks to me in Y/M/D order, so that I don't wonder what rule it follows...
 
I'm not saying it's easy. But being surprised that a function does what its name says it'll do is silly.
 
@dystroy for computers, yeah
 
@Zirak You might enjoy this. (I don't usually enjoy South Park, but this one was pretty amusing.)
 
@SomeGuy i am surprized not for its name and function i am actually praising its existance
@dystroy why can't you use geolocation in cojugation with the UTC hack ?
UTC offset Hack*
 
8:49 AM
@AbhishekHingnikar Because I don't want to bother my users with an authorization
I already use moment.js, so this is fine for me
 
oh you just wan't them to be silently
be on their used timezone ?
 
oh wait
since I use git svn
I can now have local git hooks...
 
Yes, My application lists products made in a given day, in their time zone or in the time zone of the plant, as they want. So I need the time zone id to compute the matching products server side
 
@SomeGuy :'(
 
@OctavianDamiean Get over it, you crybaby.
 
8:52 AM
You cold bastard!
 
@dystroy Intl.DateTimeFormat().resolved.timeZone
!!> Intl.DateTimeFormat().resolved.timeZone
 
@AbhishekHingnikar "ReferenceError: Intl is not defined"
 
most likely wont work ... yeah thank u firefox
 
nice, didn't know that
 
8:53 AM
what is it?
 
But the supported browsers are very few
 
@FlorianMargaine its for Intrlnationalization
 
@AbhishekHingnikar yup, reading mdn
@dystroy looks like it's a new spec
 
here is the whole spec
2nd Edition / Draft 28 February 2013
and on that link u will find the fist published one
 
@AbhishekHingnikar there is a newer draft. Wait, it's not out yet iirc, nvm
 
9:04 AM
@OctavianDamiean I can't get the phrase 'Get to the chopper' out of my head.
So thanks for that.
 
hahah
GET TO DA CHOPPAAAA!! NAAAOOOOOO!!
3
I'll find that other scene for when you'll join us this evening.
 
!!/kumar
 
@TheLittleNaruto The most handsome guy in this universe
 
:D :D
!!/bokaro
 
9:19 AM
@TheLittleNaruto It is the city which is Asia's most largest in steel production.
 
!!/place
 
@TheLittleNaruto Jaipur -Pink City Of India
 
!!/greet
 
@TheLittleNaruto You're good Robot.
 
@TheLittleNaruto bad bad Naruto! You broke Caprica! Bad Naruto!
!!forget greet
 
@OctavianDamiean Command greet forgotten.
 
Good answer. But I'm wondering why you didn't vote up the question. Is there a reason? — nemo 15 hours ago
Would you flag that ?
 
No.
It is a legit question.
 
@SomeGuy don't start me off again.
I could watch hours of that guy.
 
9:37 AM
I played that remix on a loop for at least an hour when I first heard it
It's fun laughing your head off
Did I just miss when this viral? Because it had to have sometime! The Angriest Babies In The Whole World: http://youtu.be/cQcweQO7Shk
Yesterday, it was this.
 
@OctavianDamiean are you guys on TS tonight?
got a fucking mic working
 
I'm always on TS, I'm a sad person.
 
so I'll see if I can join tonight in the evening
 
What now?
 
it's the shittiest setup ever, but it's working :D
 
9:41 AM
@OctavianDamiean I am sorry.. :P
 
i got to clamp the mic under my usual headphones so it would hold, but at least it's recording something :D
 
@OctavianDamiean ahh I will grab a shower and then join you
 
@GNi33 Oh dude, I'll go buy a small box and send you that headset already.
 
haha, no, it's okay ;)
 
but ... the headset is pink!
 
9:43 AM
it does the job for now, and I'm just going to buy a headset some time
well well well... that would be a huge plus...
i'll have to think about it :D
 
@mikedidthis cool, cool cool cool.
 
@OctavianDamiean also get blacklight retribution please as my download of BO2 is taking forever
 
@GNi33 I'm afraid you don't have any control over that. You've already sent me your postal address.
 
haha :D
 
@mikedidthis we should play that CoD4 mod then, I already have CoD4 installed.
 
9:45 AM
yeah, what was that we were talking about when I sent it to you?
community?
 
Oh yea! You're right!
Let me try to find my blank DVDs.
 
haha, you really don't have to
right now I'm in the middle of breaking bad s4
and some guy sent me the most addictive game ever yesterday
 
seriously, it's fucking crazy
 
I know.
You'll see how awesome it is this evening.
 
9:48 AM
i'll have to read up a little on it, what I'm able to craft and whatnot
 
@OctavianDamiean DO IT
 
Do what? :D
IT?
 
CoD 4
 
o/
 
It's already installed. :D
You just have to give me a link to that mod.
 
9:49 AM
right now all I do is dig holes, drown in some cave-lakes and being pissed off of eskimo-zombies running around in my basement, knocking on my doors and ruining my well-deserved sleep
because my fucking fridge is like... huge
 
mhhhh, if you have a <input type="file"/> element, can you css query the input field and the "text" part individually :P ?
 
@GNi33 We'll show you the tricks. :)
 
it's right behind my house, it's an ice-cave, works pretty well so far
 
@OctavianDamiean This person made like 30 buttons on this page, and I am trying to condense it down by using drop downs
 
9:50 AM
@mikedidthis hah, sounds funny.
 
only those stupid eskimo-zombies... I tell you man
 
The current button is this:
 
the only interesting thing I found is an article from ppk how to generally design the whole thing yourself
 
<a onclick="javascript:delItems('manage_calendars','calendars[]','publishCalendars'‌​,'<?php echo $bookingLangObj->getLabel("CALENDARS_PUBLISH_CONFIRM_MULTIPLE"); ?>','<?php echo $bookingLangObj->getLabel("CALENDARS_NO_ITEMS_SELECTED"); ?>')" class="booking_float_left booking_margin_l_20 booking_mark_333 booking_pointer booking_font_bold"><?php echo $bookingLangObj->getLabel("CALENDARS_PUBLISH"); ?></a>
 
@mikedidthis haha, that is fun
had that mod for counterstrike once, i think
 
9:50 AM
@OctavianDamiean the funniest part, you can change from your prop to player. Surprise!
 
Any ideas?
 
@BrandonGelfand WTH is this?
 
Shit someone wrote
Lol
Trust me I didn't write it
 
hi to a
 
can you at least add some whitespace?
 
9:53 AM
all
 
@IesusSonesson 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.
 
do anybody knows bootstrap?
 
(and format properly - CTRL+K)
 
@JoseLuke 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.
 
this is my first visit to chat
so i dont know how to ask questions
 
9:54 AM
<a onclick="javascript:delItems('manage_calendars','calendars[]','publishCalendars','<?php echo $bookingLangObj->getLabel("CALENDARS_PUBLISH_CONFIRM_MULTIPLE"); ?>','<?php echo $bookingLangObj->getLabel("CALENDARS_NO_ITEMS_SELECTED"); ?>')" class="booking_float_left booking_margin_l_20 booking_mark_333 booking_pointer booking_font_bold"><?php echo $bookingLangObj->getLabel("CALENDARS_PUBLISH"); ?></a>
 
!!welcome javabeg
 
@javabeg 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.
 
Sorry Jan
 
@BrandonGelfand that would be formatting. Now for the whitespace :-)
 
this chat room seems to be tooo busy and fast with mgs....hope i will code up with the speed
 
9:55 AM
(newlines, indentation and such, denoting hierarchical structure)
 
do anybody knows about bootstrap?
 
@javaBeginner heard of it, why?
 
@JanDvorak I am new to front development
I have been assigned work in bootstrap
got stuck in how to use LESS
so need help
 
@javaBeginner explain stuck.
 
stuck means i dont know how to use
 
@JanDvorak To be honest I don't even know where I should put whitespaces in this thing, its so entangled
function filterCalendars() {
                    category = document.getElementById('category_filter').options[document.getElementById('category_filter').selectedIndex].value;
                     $wbc.ajax({
                      url: '<?php echo plugins_url('wp-booking-calendar/admin/');?>ajax/filterCalendars.php?category_id='+category,
                      success: function(data) {
                        $wbc('#booking_table').hide().html(data).fadeIn(2000);

                      }
 
@mikedidthis can you please tell me how to use LESS in html
 
@javaBeginner no, that article will explain.
 
See easy to do like that, but I don't even know where to start with the other one
@javaBeginner You have Sublime ?
There is a nice little plugin that helps when writing it
 
@BrandonGelfand I dont use submile but heard about it.I use notepad++ but i can instal submlimetext2
 
10:01 AM
@mikedidthis heh
 
Well, if you don't have the cash for sublime, you could always use brackets, I hear its pretty good
Its at least better then notepad++
 
I'm on Brackets.
 
@OctavianDamiean Is it nice?
 
@Droid 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.
 
Not because of the cash, I own a Sublime license too but because Brackets is really cool.
 
10:02 AM
I think I need to download it, I have been hearing a lot of buzz about it from others
 
In terms of speed Sublime wins everyday, but that's because Brackets is still in heavy heavy development.
Still, the features are cool.
 
Well yes, its all open source to, its nice adobe contribute though. I still pity the people who think dreamweaver is the only coding tool available, usually the oldies
They don't like change much
 
You deal with guys like that to?
 
Yes.
It was me who introduced git as a CVS in our company.
Before I joined, the CVS was, copy the file to a new location, rename it to filename.1
 
10:06 AM
Do you like CMS's @OctavianDamiean not a specific type though?
 
Well, depends. I like stuff like Octopress, but that's not really a CMS.
Generally, I dislike CMS.
 
Yeah, something like Octopress is a good example, I had this older man come to me asking for a site. He wanted it all done in HTML and he was going to write each article he made in CSS. He argued with me about using a CMS, when he saw he could be anywhere and didn't need a FTP uploader he agreed finally. At least he is happy with the site now
 
I'll make sure to follow the process on this project. ghost.org
Seems interesting.
 
Is that what you are working on @OctavianDamiean ?
 
10:14 AM
Oh, I was gonna say adding some parallax to it would look awesome
 
What I'm working on is not user-facing. It is a lot of internal tools for a big company.
 
Ah, I see.
If I want to use a drop down, and at the moment I am using onclick to perform an action, how would I perform the action when the option is selected?
 
@BrandonGelfand if I give you an .html file and a wordpress install (default), can you fill it with wordpress content?
 
posted on October 17, 2013

Turns out Tuesday’s post was not so much wrong as incomplete. I was tripped up by what’s probably the most complicated feature (or bug) in the meta viewport space, and my conclusions weren’t entirely correct. Try the example here. This simnple test contains a test page with width=device-width, one with initial-scale=1, and one with both declarations. I was wrong in one res

 
You mean take the html file and just use the content in a wordpress page?
 
10:18 AM
I might have to do something small in wordpress and I have no idea how to approach it and I'm less than thrilled to do it.
 
Yeah I can help, I work with wordpress all day so I can find a solution for sure.
 
I have someone creating a .html from a designer .psd and then I need to populate the wordpress page with the content.
 
So you won't it to work as a page template correct?
 
Just taking the .html of two pages (front page and page with articles) and populating them with stuff the marketing people write in the wordpress admin access in a way that's wordpressy.
Honestly? I don't care. I'd like it to just work, I don't like PHP, I don't like CMSs and I don't like frameworks. I just want to get a blog up with a front page and wordpress is the one the marketing people have worked with before.
 
Yeah, I got it, you need to make page templates, its pretty easy for the most part. You just need to know a bit of PHP to basically get the header and footer and sidebar etc
 
10:21 AM
@OctavianDamiean I'm just happy that my last project is online
still fixing and adding stuff, but it's online :D
 
@GNi33 nice!
 
I know pretty ok PHP, I just don't want to code in it if I can avoid it. Do you have all the legal arrangements for freelancing? I really don't mind paying you 50$ for 10 minutes of putting that HTML from those .html pages in a wordpress frontpage and article pages.
 
So in theory you can move to Graz now. That's good.
 
You are gonna have to work with PHP, sorry to tell you. Are they adding sidebars and stuff? Is there a current theme that you are just modifying or are you making a theme from scratch? Is it working with a framework? i.e.Genesis
 
@OctavianDamiean the new cineplexx, have you seen it?
 
10:22 AM
I have a .html and I want to populate it with wordpress content, I want it to work and I don't really care about anything beyond that.
 
@BenjaminGruenbaum Its fine dude, you don't need to pay me. Your a cool guy and have helped me out a bit before.
 
@GNi33 OH AWESOME!
You did that?
 
yeah
 
Great, I have to go now though (meeting and then class), I'll be here Sunday and then Wednesday if you'll be here at any of those days that'd really help me.
 
Once the html is all done, send it to me and I will take care of it
email me in case I am not here: admin@edutasc.com
 
10:24 AM
Great. See you later.
 
@GNi33 respect.
 
See you
 
Was about time they get a proper website.
 
i did a lot of the templating, filtering, the quick-ticket - feature and a lot of the purchasing - process (frontend-wise)
and right now I'm pulling my hair with a weird Android 4 - browser bug on Samsung
 
10:26 AM
anyone ever experienced that? that browser just duplicates a canvas
 
What kind of bug?
Well, it sometimes uses to duplicate certain HTML elements for me.
 
the new view of the cinema-hall is rendered trough canvas
 
It might be a JS library bug though.
 
and the Samsung Android - browser duplicates the canvas
no, it's not, it's only happening on that one browser
seems like getting rid of overflow: hidden of all parents and setting the canvas - element to position: absolute deals with the issue
but that pretty much breaks the page
 
Oh dude, I love that new interface!
 
10:29 AM
Hi, all!
 
glad you like it :)
 
@GNi33 Oh yea, wait, my elements also do positioning stuff.
 
@Johnツ hi
 
Does any one know a desktop application that loads a web page into it, like a browser but with a public API that can be accessed from the javascript loaded into page?
 
@OctavianDamiean the fun thing is, that the issue is not occuring on Samsung's stock Android 2 - browser
 
10:30 AM
(like move window, resize, set title etc), ...with the option to undecorate the window...
 
@HardikSondagar 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.
 
For me it's basically a sicky header that when you scroll down, below its level, doesn't disappear but sticks at the top (hence sticky header), however if I scroll up again, instead of it converting back to a normal table header again, it kinda messes up and duplicates.
 
@OctavianDamiean turning the device seems to help with the issue, until the next redraw... it's super-weird
 
but for me it might be a stupid mistake someone did in the fixed header library thing, it's a stupid DataTables plugin.
Gah, I hate DataTables.
 
hehe
I'm not using a canvas-library
now i got a really stupid question
some canvas-application -> how can I tell if it uses WebGL or the 2d-render space?
(other than using a horribly old browser, or even internet explorer)
 
10:37 AM
Uhm, I wouldn't know how but I'm also not a canvas guy.
 
ok, a brief look at the code did the trick
 
Yeah just look at where it gets the context
 
10:53 AM
yeah, i was just wondering if there was a way without that. like, getting the used context of the canvas-element over console or such
on the other hand, it doesn't really matter, not even on minified code I guess
 
That API is actually quite horrible if you think about it.
You have a function called getContext which takes a DOM string to obtain the drawing context.
 

« first day (1097 days earlier)      last day (3834 days later) »