« first day (1125 days earlier)      last day (3822 days later) » 

3:03 PM
why are there no lines?!!??!
what the flip
 
@RyanKinal It's impressive. Most of those are obviously false but I've heard them. It's good to have this list, I'll try to remember it exists when I hear one of those "facts" again.
 
user1596138
@connor.js For real?
 
user1596138
 
user1596138
Supposedly that's it. Which is even more odd looking.
 
3:07 PM
@BenjaminGruenbaum I don't like this. It's so similar to other jokes like vanilla.js it's not even funny or interesting (to me).
 
user1596138
I just witness Sublime doing the absolute weirdest shit I've ever seen from an editor.
 
Yeah, didn't get it either. It actually has code though
Js2JsCompiler.prototype.compileCode = function(code) {
	return code; // as we need to compile javascript to javascript, we do nothing here :)
}
Pretty stupid... just download a blank file
 
user1596138
I had 2 almost identical HTML elements, only difference was the content. I edited one with Sublime, and it changed 90% of the same values in the one above it. So I reverted those changes because I didn't want that, saved the file, and it copied them again.
 
@dystroy Indeed
 
user1596138
I'm fighting my editor to save the changes I actually made, and not come up with ideas of it's own.
 
user1596138
3:09 PM
!!eval n
 
@Jhawins [object WorkerErrorEvent]
 
@RyanKinal Some I've never heard are very strange... Is that a "common misconception" ?
> John F. Kennedy's words "Ich bin ein Berliner" are standard German for "I am a Berliner."[58][59] An urban legend has it that due to his use of the indefinite article ein, Berliner is translated as jelly doughnut, and that the population of Berlin was amused by the supposed mistake. The word Berliner is not commonly used in Berlin to refer to the Berliner Pfannkuchen; they are usually called ein Pfannkuchen.[60]
 
@Jhawins did you have two cursors at the same time maybe? like if you hold ctrl and click multiple areas
 
user1596138
@nderscore That's a good guess, I don't think my Mac is supposed to be able to do that though, might've.
 
user1596138
I can't get it to do it again.
 
3:13 PM
it's a feature of sublime
 
user1596138
Yeah, that works, that must be what happened.
 
user1596138
I was pretty confused
 
0
Q: Dougles Crockford's alternative to using new in JavaScript

HMRI think he has some good insights but don't understand him at all when he starts about constructor functions. The following video for example: At At 0:50:25 some of his quotes about constructor function inheritance: This was the inheritance schema that was designed for the language ... I d...

 
user1596138
It was lagging or something too though, because the other values weren't filling in in real-time, it was in waves with a 5-6 second delay.
 
@dystroy I don't know if it's common, but I've heard that one.
 
3:19 PM
-4
Q: will CSS be the future substitution of jQuery in the web?

user2092778I wonder if CSS will completely take over the role of modeling browser graphics + animations in the Future and replace jQuery and similar libraries..

what the actual fuck?
-1
Q: Loading a script in my websites header

MerlinIn the header of my website, I want to add the script for a slider. If I dont close the script, the slider works, but if i close it it stops working it works if i let the script: <script type="text/javascript" src="js/html5slider.js"> if I close it the slider stops working: <script type="tex...

-2
Q: how to echo javasrcipt and html <a onClick = window.open()> in php?

user2978990i am echoing an HTML div here. now i need to add this code on it. how do i do that? <a onClick="window.open('http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $title;?>&amp;p[caption]=<?php echo $caption;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo $url; ?>&...

rlemons wall of bad questions
 
user1596138
You're on a roll
 
and this is only the first page :/
 
just answer them all with "You are an idiot. Kill yourself" and be done with it
 
user1596138
Hahaha I especially like that last one!
 
user1596138
onClick="window.open('http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?p‌​hp echo $title;?>&amp;p[caption]=<?php echo $caption;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo $url; ?>&amp;p[picture][0]=<?php echo $image;?>','sharer','toolbar=0,status=0,width=548,height=325');" href="javascript: void(0)"
 
user1596138
3:23 PM
Whoa
 
it works if i let the script:

<script type="text/javascript" src="js/html5slider.js">
if I close it the slider stops working:

<script type="text/javascript" src="js/html5slider.js"></script>
I mean.... how can I answer this if that is all the code you give me?
 
user1596138
Just do it
 
If i am missing for long and you guys need me +918989536616 or ping @JuzzCoding for status update
 
@Jhawins doesn't stop other people
 
user1596138
 
3:24 PM
I mean he is probably correct but it is a huge assumption
 
user1596138
Actually I wonder how that can be true as well
 
0
Q: Is it suitable to use YiiBoilerplate 0.1 for enterprise level project?

Hassan Amir KhanBecause [WORK IN PROGRESS DISCLAIMER]: Current state of the project is a work in progress. A massive rewrite was done to the overall design, but it's incomplete. You have to understand that this work is being done in a free time of full-time developers from other projects, so expect extremely sl...

if you guys didn't notice. all of these are deserving of down or close votes
 
user1596138
No cv from me. I think most others are lurking.
 
@AbhishekHingnikar lol , now any person in the world can contact you, anytime !! :P
 
To linux gurus here.... Do you know how to install nodejs on hardy ? None of the solutions I find online works :\
To begin with, apt-get update always fails...
 
user1596138
3:30 PM
@dystroy Sounds like you have a bigger problem
 
user1596138
How does it fail?
 
@Jhawins A lot of
W: Failed to fetch mir1.ovh.net/ubuntu/dists/hardy/main/binary-amd64/Packages.gz  Unable to fetch file, server said 'Failed to open file.  '

W: Failed to fetch mir1.ovh.net/ubuntu/dists/hardy/restricted/binary-amd64/…  Unable to fetch file, server said 'Failed to open file.  '

W: Failed to fetch security.ubuntu.com/ubuntu/dists/hardy-security/main/…  404 Not Found [IP: 91.189.92.190 80]
 
@dystroy ... hardy?
 
@FlorianMargaine Well... I guess it's part of the problem...
 
how old is hardy?
 
3:32 PM
I never dared reinstall it...
 
user1596138
I think you need to update your repositories. Hardy is pretty old.
 
user1596138
8.x?
 
yes
 
ugh
yeah, node isn't in their repo
and it's not supported anymore
 
I guess so
 
3:33 PM
can you just download the source and build it?
 
user1596138
@FlorianMargaine lol no, I think his main repo is completely outdated, not just a node problem.
 
@dystroy anyway, your best bet is this:
sudo apt-get install python g++ make checkinstall
mkdir ~/src && cd $_
wget -N nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v* #(remove the "v" in front of the version number in the dialog)
./configure
checkinstall
sudo dpkg -i node_*
 
user1596138
You could install it with Ruby
 
user1596138
(I'm guessing you don't know that much about linux, correct me if I'm wrong)
 
@Jhawins You're right
 
3:34 PM
you can write a gooey in Visual Basic to intercept the node IP address and track down the problem?
 
@rlemon I might add the "alt-click to reply" feature to your Easy Input Tools
 
@rlemon try more subtil ^^
 
(updating the version number to current ofc)
 
@RyanKinal I was thinking about double click the message to reply
 
3:35 PM
@dystroy I don't think you'll be able to correctly install it...
you may have dependency version issues
 
@rlemon I like the alt-click... I've been using it as a bookmarklet
 
@FlorianMargaine I don't think either, I already tried from source and ./configure crashed
 
user1596138
@dystroy Just download the source and we (or I) can help you through building and installing it.
 
!!are you alive?
 
@dystroy dump of the output?
 
3:36 PM
@RyanKinal I want to package all of my chat tools together with a small config interface
 
@RyanKinal Doubtfully
 
Sweet
 
m59
sigh
-1
Q: How Can I Pass a Radiobutton Value to a Different Page via JS?

user2992757Here's the button: echo '<input type="radio" name = "radio" value = "$row['FlightNum']">'; Here's how I want to pass it through: <p align="center"><a href="itinerary1.php" onClick="javascript:void window.open('itinerary1.php','1384373111637','width=700,height=500,toolbar=0,menubar=0,location=...

 
(in a pastebin)
 
@rlemon That would be sweet
 
3:36 PM
I also want to bake access control functions into simple buttons from the chat interface
one click revoke access. one click grant access.
button from the 'room' drop down menu to toggle gallery mode
 
dys@ns38090:~/dev$ git clone git://github.com/ry/node.git
Initialized empty Git repository in /home/dys/dev/node/.git/
remote: Counting objects: 140358, done.
remote: Compressing objects: 100% (42419/42419), done.
remote: Total 140358 (delta 109651), reused 125740 (delta 96067)
Receiving objects: 100% (140358/140358), 74.21 MiB | 3687 KiB/s, done.
Resolving deltas: 100% (109651/109651), done.
dys@ns38090:~/dev$ cd node
dys@ns38090:~/dev/node$ ./configure
Traceback (most recent call last):
  File "./configure", line 14, in <module>
 
I hate loading the access control tab :/
 
Oh, nice
 
Too many too old parts I guess
 
@rlemon I'd also want this extension to get all the extensions available in some git folder on github, this way it auto updates
 
user1596138
3:37 PM
First of all is there a reason you're using Ubuntu 5 major versions old?
 
@FlorianMargaine that is only possible afaik if I submit it to the Chrome Webstore
 
@rlemon I'm just tired of clicking my bookmarklet every time I enter/refresh the room :-P
 
@dystroy outch. python --version please
@rlemon no, you don't get what I mean
you have an extension
which will look for chat snippets in a folder
this folder being in a git repository
 
but I can make userscripts auto update if I submit them to the webstore
 
this git repository being in github
 
3:39 PM
@Jhawins The only reason is that there are many users of my applications on this server (located by OVH) and I don't really know how the update process should be done
 
this way, you just update the git repo and the extensions gets the latest version
 
I need to get the webstore approval anyways
I have a few userscripts I would like up there
 
I have a webstore approval in the worst case
 
eh, $5 is nothing
 
(cost me $5)
 
3:39 PM
I've just been putting it off
 
well, make your extension without webstore, then deal with it
 
!!nudge 360 add alt-click-reply
 
@RyanKinal Nudge #1 registered.
 
user1596138
@dystroy I guess I've never actually "updated" to a new version either. I'm constantly doing something new so by the time one comes out I'm ready for a fresh install anyway for my own purposes :P. I use separate drives for data and my filesystem, so it's no big deal.
 
Heh... from the bot usage docs:
> (apologies in advance if I write nudge as nude)
 
3:41 PM
@dystroy what kind of application? java? for an application that relies on an old java version?
 
@FlorianMargaine All running applications would be fine on a new ubuntu version. I just don't know how to reinstall ubuntu on this distant server...
 
thing is, it's a really old version, I'm not sure you'd be able to upgrade to 12.04 without issue
 
@rlemon did you see the new Doctor Who minisode?!
 
@FlorianMargaine I'm sure a clean install is needed
 
@dystroy actually, not really. You could upgrade from LTS to LTS
but I'd copy the current machine, and try it offline
 
3:45 PM
@FlorianMargaine I don't have enough disks to copy it, and anyway the copy would take weeks...
 
room topic changed to JavaScript: Be nice. [canvas] [ecmascript] [javascript] [jquizzle] [misc-arguments]
 
@dystroy ah :|
 
@SimonSarris I'm very tempted to buy your book. How kindle compatible is it?
 
@dystroy I'm thinking of something, let me google
 
m59
How long has inline js been deprecated?
 
3:59 PM
@Jhawins
{|class="infobox" border="1" cellpadding="4" style="width: 300px; border-collapse:collapse; font-size: 95%;" |- |+ style="font-size: larger;"|New EnglandYankeeland |- ! colspan="2" style="text-align:center; background:#fff;"|Flag |- | colspan="2" style="text-align:center; background:#fff;"|Motto:"An appeal to heaven" |- | colspan="2" style="text-align:center; background:#fff;"|Emblem/Personification:Brother Jonathan |- ! colspan="2" style="text-align:center; background:#fff;"| |- ! colspan=2|Regional statistics |- |Composition | Connecticut Maine Massachusetts New Hampshire Rhode Isla...
WOW
One-boxing is fuc*ed
 
user1596138
Wtf
 
Stuff.co.nz is a New Zealand news website published by Fairfax Digital, a division of Fairfax New Zealand Ltd, a subsidiary of Australian company Fairfax Media Ltd. Stuff hosts the websites for Fairfax's New Zealand newspapers, including the country's second and third highest circulation daily newspapers, The Dominion Post and The Press, and the highest circulation weekly, The Sunday Star-Times. It is also a web portal to other Fairfax websites such as TradeMe. As of June 2012, the website had an Alexa rank in New Zealand of 8; the site's main competitor, The New Zealand Herald website, h...
 
user1596138
Weird
 
@SimonSarris o/
 
Anyway look at the flag
 
4:00 PM
@RUJordan buy his book dude
should work fine in the kindle
 
@Loktar have you read it?
 
not the whole thing
but a decent amount
if you want to do anything with canvas it should be an instant buy
I used it most recently as a reference for local storage
 
@Loktar ?
 
Oh I'm definitely buying it then, I need to learn more canvas and localstorage stuff. Thanks
 
Why would you need a reference to localstorage?
 
4:02 PM
Just not now, soon.
 
@connor.js I cant remember everything man! :p
 
localStorage.getItem;
localStorage.setItem;
localStorage.removeItem;
That's all
 
super EZ
 
and key but...
 
I wish localstorage and sessionstorage persisted between http and https :(
 
4:04 PM
wow dude congrats on remembering something I didnt
you get a remembrance cookie
Im 31 my brain is tired! :P
 
Was just wondering, how does @CapricaSix answer the questions on SO community, if she'z a bot ??
 
You're 31? You come off as like 24 lol
 
the creator (and others) can log in as her.
@RUJordan haha what an arbitrary number, but honestly I look at that as a compliment
id rather not be looked upon as an old dude
 
who are those others ?? people like you?
 
nah I can't
 
4:07 PM
@RUJordan I have no idea but if price is an issue I'll buy you a copy
 
Zirak, BenjaminGruenbaum, etc
 
@Loktar that's why I said like lol
 
Wait I do have an idea, its in full color on kindle fire thankfully
 
@SimonSarris no no price is no issue, I just have a huge reading list to catch up on lol
 
@SimonSarris yeah its full color on safaribooksonline as well was happy to see that
 
4:08 PM
@Loktar who gave 'em the privilage? i guess.. Zirak?
 
@JuzzCoding yeah most likely, hes the original creator
 
@Loktar hellooooooooo
 
how goes the SVG?
 
@Loktar we should collab on a side project sometime. I've never worked with someone else on a little thing before
its near done! Getting ready to release GoJS 1.3 alpha sometime this week or next
 
awesome
 
4:09 PM
almost perfect 1:1 canvas:svg, except shadows
 
you're doing that for work right?
 
So you cant release the svg/canvas library independently I imagine
 
Did you guys hear that Dart 1.0 was released today?
 
@Loktar is Caprica alive in all rooms??
 
4:12 PM
Caprica is everywhere. She resides in all of our hearts. She is omnipotent.
 
How do we interact with her??
 
!!help
 
@Loktar That didn't make much sense. Maybe you meant: !, $
 
Dart = Java<s>Script</s>
ifyouknowwhatImean
I suppose I'm OK with that
 
bleh yeah I've been seeing more people mess with dart lately, it scares me
I dont want another web language to learn
 
4:13 PM
I don't really know how I feel about Dart
 
I like how it's object oriented and can compile into JavaScript.
 
I think we'd be good at it in a day or two loke, but its just more time we spend in "syntax hell", looking up "how do I get the keypress for blah"
 
Easier readability from the small source I've seen already
 
that we've sort of converted into muscle memory for most JavaScript
 
yeah exactly
 
4:14 PM
I don't think compile into javascript is necessarily a feature - it means there are two environments you need to debug
 
^
 
and let's be honest, 90% of development is debugging
that's why good tools are really important
 
at least dart doesn't look as horrible as java
 
and why I don't like CoffeeScript, etc
 
I would hope it compiles into a cross browser compatible source
 
4:15 PM
What happens when the Dart app works flawlessly and the compiled JS has a bug?
We all go bald a little bit sooner, that's what happens
 
I love writing javascript, i find it makes more sense than coffeescript, although coffeescript is shorter code, like @SimonSarris say's 90% is debugging so who cares how much less code you have to write with coffeescript
 
But that's assuming the compiler is flawed, correct? They wouldn't make a compiler that 'kinda' worked I would hope
 
None of this is to bash Dart, but you can see why I'm apprehensive I hope
 
Oh, dart.
 
same for Coffeescript really
 
4:17 PM
Oh of course, I'm hesitant to spend time learning it as well.
 
F*ck google
 
I'm more comfortable bashing CoffeeScript - there's no performance improvement :)
@connor.js Be nice.
Google has done a lot of good for all web developers
 
@SimonSarris like...
 
Chrome would be a good product of google, no?
 
As far as i am concerned the only thing i really like is the search and fonts
 
4:19 PM
You must be a Bing kinda guy. ;)
 
@RUJordan I've never used bing, "As far as i am concerned the only thing i really like is the search and fonts"
 
jk. I met a guy the other day who said he prefers AskJeeves in the old days
 
bleh got an offer for my current job
9k under what I currently mak
 
@connor.js I saw, I'm just messin with you lol
 
that is very frustrating.
definitely going to be negotiating.
 
4:20 PM
In fact this if the first time i've type the url bing.com
bing "mdn" i get Management Development Network
wtf
 
LOL
!!afk metting
 
@RUJordan Nobody cares.
 
@connor.js Chrome has helped us so much as web devs
 
@SimonSarris I know
 
4:23 PM
not only for the GREAT developer tools (remember, debugging is 90% of programming)
 
@SimonSarris So, the people who created devTools helped us. not google
 
But because back in 2009 my parents were on Windows XP using IE7
 
what the hell is this warning in my consule ? (using jquery)
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
 
and they could have gotten IE8
I put them both on Chrome 1
 
@SimonSarris Let's just say i hate google. but ill take advantage of them and "use them"
 
4:24 PM
And if I didn't then today they'd still be on IE8 using Windows XP (they cannot upgrade to IE9 on XP).
Instead they are using Chrome 30. And they are none the wiser, they didn't even know they've been upgrading their browser all these years. And we are ALL better for it
 
@Merkley Well, when did this show up
 
@connor.js well stop hating large entities, that's weird
 
@connor.js 5 min ago
 
Google doesn't have feelings, it doesn't do things to spite you
 
@Merkley when do you did what?
@Merkley what code made this happen
 
4:26 PM
@connor.js i was editing my js code.... but i commented all that script for my slider. and i still get that message in different pages
 
@Merkley look at the call stack take a screenshot
 
@Loktar change the name of this and I will submit it to HN: somethinghitme.com/2013/11/13/snippets-i-always-forget-movement
 
0
Q: A simple javascript plugin architecture

Mike RifginI've implemented the following code which allows me to bolt modules of code on to my core library via the prototype chain. It'q quite prescriptive so any user creating a module has to create an init method and also has to define a queue method: (working fiddle: http://jsfiddle.net/wG9Pv/) //Con...

 
@SimonSarris I cant now man
^ look at the love its received there
 
@Merkley: you can ignore that warning. jQuery uses both preventDefault and returnValue for compatibility with legacy browsers
 
4:27 PM
although I agree the name isn't the greatest
 
@connor.js how i can do that....?
 
lol wow. I was reading that article yesterday. Didn't realize it was you.
 
@Merkley press the arrow next to the error on left
 
bad (nondescriptive) titles make articles live or die all too much
 
4:29 PM
bleh yeah you're right
you cant custom title it in a post on HN?
 
@connor.js lol no arrow. just warning icon
 
I never use HN
reddit when you submit a link you can title it whatever you want
 
@Merkley oh, well it's not an error
 
okay I'm wondering what this is called... say I fetch something from my server, and it's some 10,000 lines long of a table. What is the method by which it is broken down into individual pages with 100 results per page? Is there a mechanism to minimize this work?
 
@Crowz pagination?
 
4:31 PM
@Loktar editors are crappy and revert titles to their originals, then 50% of the comments complain about that and do not talk about the article
 
ahh
What do you think a good title might be?
 
@connor.js yeah, i said its warning :D but why and from where. i put code, which i was working with, in coments
 
@connor.js is there some pre-developed method or module to do it?
 
@Crowz for what?
js?
:12948195
4 mins ago, by ThiefMaster
@Merkley: you can ignore that warning. jQuery uses both preventDefault and returnValue for compatibility with legacy browsers
 
@Loktar wow even reddit gold
thats like $2 man!
time to consider a 'donate' button on your blog
 
4:33 PM
"Game Dev Movement cheatsheet - live canvas examples"
something like that
 
@SimonSarris brilliant
@rlemon haha yeah I have considered ads or a donate button, but idk I feel dirty about it
I have ads on all my other sites, but my blog I just want people to know Im giving out info freely
 
Who wants to watch a train wreck? stackoverflow.com/questions/19983030/…
 
@Loktar I would prefer to see donate over ads
donate I choose to do, ads are forced upon me
 
If I lose my job Ill add a donate button for sure :P
Im going to push back on the offer I received today
I want to make at least what I currently make
 
well consider this (if you are thinking of ads on that blog): How many times do you think it is shifty when someone links a helpful answer from their blog that contains ads on the main site
?
however a donate button I could care less about
but that is just my two cents
 
4:37 PM
retitled it
shit not rlemon sorry
 
there is no rlemon. once you realize this it is not the rlemon that bends, but you
 
@rlemon no its a valid point for sure, I might consider it in the future if I make many more helpful posts
 
eh, I've already linked tonnes of people to your blog, I and them have already found it super helpful
stop selling yourself short man!
 
@SimonSarris awesome thanks
 
4:38 PM
@Loktar ilu
it really is an amazing article
 
haha thanks man
yeah just random stuff I used to look up all the friggin time
and I was like damnit I need to sit down and put all of this in one spot
I wanted to add homing missle type code
thats the only one I didnt get around to adding
basically its the same as the asteroids movement but you check if the target angle is > or < than your heading angle and just add or subtract
so you dont immediatly point at the target, you slowly get closer
 
nice, so I just got everyone at work on board that the solution to offering a web based interface for our product was to bake nodejs into the device and have it host its own webserver.
 
@rlemon wow dude grats
 
this will be fun
 
that gives you a great excuse to work with node
 
4:41 PM
yup:)
and writing c++ modules (extensions?) for it
i'm not sure of the terminology of all that node stuff yet
 
hmm
did you try baking nodejs onto the device?
for this kind of stuff I'd rather go with Go tbh
just for its static binaries
 
@RUJordan I already told you, nobody cares.
 
45% of that meeting was talking about football lol
 
@FlorianMargaine well that would require I learn Go
I already know JS ;)
also this is only for the HMI
 
it's easy to learn :P
but anyway
did you try baking nodejs onto the device?
 
4:51 PM
it isn't really baking it into the device
that was an exaggeration
we're building it on the os the device runs on now
then we will test it on the board.
we use a real system board. just a mini one and call it an embedded solution
 
yeah but I mean
did you try installing it on this os?
nodejs doesn't run easily on every OS
 
1 min ago, by rlemon
we're building it on the os the device runs on now
tinyCore 5.0 is the OS we're using (demoing)
 
Morning @rlemon feeling better today?
 
brb lunch
@RUJordan eh, not really. but have a headache right now so that doesn't help
 
ibeprofen is a miracle drug good sir. Hope it subsides.
 

« first day (1125 days earlier)      last day (3822 days later) »