« first day (816 days earlier)      last day (4118 days later) » 

7:00 PM
I made an ftp account for the blog:
FTP username: blog@thedoctoriscool.com
FTP server: ftp.thedoctoriscool.com
FTP & explicit FTPS port: 21
 
page loads... rlemon sees < and > and he clicks > and i got to section #2 (down) and now I see < ^ > ???
 
give me ur email and ill send you the password @KirstyHarris
also ill make you an admin on the blog...
 
@rlemon currently you should see the left / right arrows (if you click, nothing happens but should clue you into using the keyboard arrows which do do the page "jump") and then if you scroll down more you will see the up arrow fade in between the two
so < >
and then when scrolled more < ^ >
But I would like < >
then scroll more ^
with respective fades
 
My email kirsty.harris1985@gmail.com Neal hun
Soon as I've ate t I will have a nosy for you :)
 
@KirstyHarris i love u :D
thanks for the fontsquirrel idea :D
 
7:05 PM
@KirstyHarris i added you. please change the password when you can
 
@rlemon seems easyish?
 
Hehehe it's cool I use that for font-face CSS generation it's über cool! :)
That's fine Hun will do :)
I got Pacifico from there abhishek!
 
ahhh twas an issue with htaccess
 
Heheh so u sorted?
 
Whomever linked subtlepatterns.com yesterday deserves a +1. @rlemon, in the absence of certainty, I confer upon you 1 unit of appreciation. Use it well.
 
7:09 PM
@KirstyHarris for now. Trying to get a nice theme. Right now I have this: blog.javascriptroom.com
 
Ooo will have a nosy later Neal as on phone atm
 
mmmk
Does anyone else want to be a contributer to the blog?
 
So I have a bunch of complext drawings rendered on canvas, let's say all the drawing has a shape of triangle, like this – ▲. Let's say that the base of triangle is 100px wide. And I want to draw a solid line, one pixel wide, at x = 10. I do also know height at any given place, so that's not a problem. A question is – how do I then remove the line and get to have exactly the same stuff rendered at that place?
 
I can contribute from a beginner perspective lol
 
7:14 PM
you want to add something to a canvas, and then remove it?
 
@KirstyHarris well you were already added ^_^
 
w/o affecting whats currently on it?
 
@Loktar yup, that's correct, without messing with what was there already
 
you could overlay another canvas on top of it
and just draw on that
 
@Loktar unfortunately that's not an option in this particular case
 
7:14 PM
since by default the canvas element is transparent
is it a static image?
 
@Loktar I am already doing it in another place, where shape is rectangular
 
or does it have moving parts?
if its static, you could create an in memory canvas
 
@Loktar yup, it's changing all the time
 
store the current one there
ah damn.
do you have a render loop that you could just add the triangle to?
sounds like its being updated constantly
 
@Loktar good direction, but unfortunately it updates every available frame
 
7:16 PM
yeah just have it draw that every frame with it, until you dont need it to
 
0
Q: Javascript book with exercises - student learning type book recommendation

user619818I have used the Deitel How to Program books in the past and I like the wide ranging exercises which helps me learn a new language. I would like to find a similar book for Javascript. I want some reasonably challenging exercises. Can anyone recommend a suitable book for Javascript?

 
make a triangle object, store the properties
like position, height, width, etc.
and just add that to the render loop, until its unneeded
 
@Loktar it's kind of not redrawing everything, I am trying to redraw only pixels that need redrawing
@Loktar but that's an option, I will try that perhaps and see how it performs
 
omfg... does Microsoft have any idea what the phrase backward compatabile means?
 
are you using a dirty rect method then?
You could just copy that small portion of the canvas off before you draw the triangle, to an in memory temp canvas
then afterward copy it back over top, which will cover up the triangle
 
7:18 PM
not really familiar with the term, looking at it
@loktar that sounds like a good idea actually
 
basically it means you just update portions of the canvas that have been changed
 
@Loktar thanks
 
they become "dirty"
yeah np :)
 
@rlemon I got something to work let me upload it
 
test
 
7:29 PM
^ I died at work
 
Man, jade is finicky
 
What should the 1st blog post be?
 
Hi, This is my blog and this is my first post ,,,,,,,,,,,,,,, should be enough ;)
 
@AmaanCheval Guess what? I'm writing from my new Samsung Series 9 ultrabook. :D
 
@Neal Don't sweat it
my first post was incredibly stupid
 
7:38 PM
@SomeKittens lol idk what to write about lol
 
I made 10's of blogs and then first post as testing and never came back to them
its something natural if you can't do it or don;t feel like doing it then , shouldn't bother ;)
 
@Loktar the captions are the best
 
haha yeah
 
@rlemon any interest? :-P
 
> What the hail?
 
7:40 PM
hulk mode activated
 
@Neal writing blog posts? I loath writing posts for my own. force myself to do it
@Neal if you really want to purse this blog about the best questions and their best answers you can find on the site
 
@rlemon hmmmm. Anything to start with?
 
@Neal just search the main site and pick some good commonly asked Q's
 
post 1: blog.javascriptroom.com/2013/01/blogascript it is terrible though
 
1063
Q: How do JavaScript closures work?

e-satisLike the old Albert Einstein said: "If you can't explain it to a six-year old, you really don't understand it yourself.”. Well, I tried to explain JavaScript closures to a 27-year old friend and completely failed. How would you explain it to a 6-year old person that is strangely interested in th...

1027
Q: What does "use strict" do in JavaScript, and what is the reasoning behind it?

Mark RogersRecently, I ran some of my JavaScript code through Crockford's JSLint, and it gave the following error: Problem at line 1 character 1: Missing "use strict" statement. Doing some searching, I realized that some people add "use strict"; into their JavaScript code. Once I added the statement, ...

848
Q: Method like String.contains() in JavaScript

grammHow can I check if one string contains another substring in JavaScript? Usually I would expect a String.contains() method, but there doesn't seem to be one. Update: It seems that I have another problem. When I use the ".indexof" method, Firefox refuses to start the JavaScript code (this is ...

809
Q: What is the most efficient way to clone a JavaScript object?

Jeffrey SchrabWhat is the most efficient way to clone a JavaScript object? I've seen: obj = eval(uneval(o)); but that's not cross platform (FF only). I've done (in Mootools 1.2) things like this: obj = JSON.decode(JSON.encode(o)); but question the efficiency. I've also seen recursive copying function, et...

720
Q: How do I get started with Node.js

Joneph O.Are there any good resources to get started with Node.JS? Any good tutorials, blogs or books? Of course, I have visited http://nodejs.org/, but I didn't think the documentation they have is a good starting point.

I would expand on these Q's and A's and write posts about them
 
7:44 PM
How do I "blog" about it though @rlemon ? Do I give a breakdown, what?
Hmmm. How do I add code blocks on wordpress
 
"So a while ago on SO a question was asked about <>... there were a few interesting answers: let me outline the best for you: ..."
 
can someone add the blog to feeds so we can all help contribute?
 
@rlemon check it out working here
 
@benlevywebdesign cool, I just fail to see the purpose behind the buttons. What do they do? (I don't want an explanation I want you to show me) :P
omg @Neal.... no, never. EVER. use that template again.
 
@KirstyHarris gone ?
yeap
 
7:46 PM
Finally.
 
anyways team/family/nerds/geeks here is my final art for my gf's radio station :D
[removed]
 
@Abhishek can u imgur it? tinypic blocked in my office :-(
 
Boy it'd be impssible to do without FontSquirrel's awesome .png renderer :D
 
@Abhishek ow
 
0
Q: Iterative loop in jade isn't rendering data correctly

SomeKittensI've got a table in jade that'll be dynamically generated through express (res.render('index', {classes: results})): table tr th Title th School th Description - if (classes.length) { - classes.forEach(function(aClass) { tr td= aClass.title td= aClass.school td= aClas...

 
7:47 PM
but cool ^_^
 
good or bad ?
 
Look, I'm participating on main!
 
colors hurt my eyes @Abhishek
 
ah sorry (x
 
@SomeKittens wth... u answered urself for a localized q?
I am confuzzled lol
 
7:49 PM
@Neal I had an issue that wasn't well-documented and shared my experience.
Got a problem with that?
 
@SomeKittens yea, but you answered as if you were a new person lol. and it still seems quite localized.
 
My audience in this case is whoever's reading the question, not the question asker
 
It is like asking "Y MY PYTHON PROGRAM NO WORKY?" bc you did not indent....
still. localized. sorry :-(
 
@OctavianDamiean Awesome! :D
@Abhishek Ugh, more real life people :p
 
@AmaanCheval ?
 
7:51 PM
@Abhishek click the arrow.
 
@Abhishek Kidding. Joke about how most geeks dislike actually meeting people
 
still makes no sense
 
When you coming?
 
15-17th in pune
 
@Abhishek and @Neal both of your designs look like something a grade 9 digital art student would produce to show of their new fancy 'techniques'. I think both are horribly busy and loud
 
7:52 PM
so 17th night or 18th morning
 
@rlemon eh? what designs?
LOL:
57
Q: How should I deal with an employee sleeping with my wife?

Waiter JohnI'm the owner of a business with about 30-40 employees. Recently, I found out that one of my employees has been having an affair with my wife. The employee has worked for me for 4 years. I felt like I was his mentor, since I recruited straight from university, taught him the ropes, and promoted h...

 
:LOL
 
@Neal the blog. I realize it's a template.. but still.
 
@rlemon ROBERT i mentioned earlier
GF'S RADIO STATION
it uses xat as chat
 
@rlemon lol find me a good template :-)
 
7:53 PM
and when its xat its the website written by idiots
 
@Abhishek leave her. find a girl with taste.
 
so lets add more idioticness :P
nah she finds it loud herself :P
but it attracts the LOUD LOVING Teens that crawl on the website :P
*and i gets to eat popcorn watching the drama they make & dunning kruger in the chat :D *
 
The power of Facebook: @nbcbayarea and @StephChuang look at how Facebook opened up a new world for a deaf community http://www.nbcbayarea.com/video/#!/on-air/as-seen-on/Facebook-Is-A-Lifesaver-For-The-Deaf/186183642
> Whoa, Facebook is tweeting
My first thought
 
how bout now @rlemon I changed the theme blog.javascriptroom.com too much white?
 
@Neal Still a parked page for me -.-
 
7:55 PM
@Neal dear god it's gonna hurt my eyes :'(
its toooooooooooooo much white for 2 am
 
@Abhishek lol how about now? I changed it again
cleaner
 
!!/choose "Play Awesomenauts" "Write a blog post about something"
 
@AmaanCheval Both!
@AmaanCheval Play Awesomenauts
 
!!thanks
 
@AmaanCheval You kiss-ass
 
7:56 PM
Ubuntu it up
 
@Neal much better
 
@rlemon
 
@rlemon ubuntu rocks
 
@Abhishek :-) and you @rlemon ?
 
7:56 PM
bootswatch.com/readable js chat rules page uses this @Neal
 
@rlemon y0u SOB didn't saw the Ubuntu font for the radio logo ?
 
@rlemon is there a wp theme I could use somehow? u dont like the current whiter theme? it looks clean.
 
ok @benlevywebdesign MAKE the buttons onclick to the same action as keypress pelase
otherwise it looks good.
also give them a title tooltip
 
...Why are we using WP? Shouldn't we use node for the JS room blog?
 
^ that
@Neal it's not hard to write up a simple blog
bootstrap takes the hardship out of it
 
7:58 PM
@rlemon lol I know nothing abt wp and bootstrap
2
 
@Neal We're painfully aware of that.
 
and no real time lol
 
so you cannot install node on the server?
 
sudo apt-get install nodejs
 
7:59 PM
nodejs
 
huh?
what does this have to do with node?
 

« first day (816 days earlier)      last day (4118 days later) »