« first day (908 days earlier)      last day (4047 days later) » 

12:00 PM
If i rename it to .html then it just works fine
this is the problem with iOS in android its working in both case(webview)
 
Is the mime type right? Is the doctype right?
Which browser?
 
@JanDvorak I am testing in iOS webview
 
can you test in a desktop browser?
 
Why can't Elvis Presley drive in reverse? Because he's dead
 
o/
 
12:16 PM
posted on April 11, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Whee!

 
m59
Does anyone here know AngularJS decently?
 
@rlemon I had an idea for lemonmeme
you should make a comic generator
 
thought about it. First I want to expand the generator for placement of text on the canvas as well as overlays like moustaches
hats
monocles
pretty well all of the overlays i've made already
 
Hey people
 
(I've made a lot)
I really want to work out blinkify
but I don't know as much about image processing as I think I would need
 
12:24 PM
blinkify?
 
^ blinkify
atm I do it all by hand :/
 
I wish i knew something about image processing
Aha that's quite cool
 
example of an overlay
 
ahaha
 
12:25 PM
theres good potential there
 
head swaps
also would be a nice addition
 
Seems a bit ambitious?
that and blinkify
 
nahh
not at all
 
Will be so hard to get it to work seamlessly
 
you've seen apps like fatbooth and face mix and stuff
if java can do it I can do it with canvas... just might be a pita
 
12:28 PM
is it all gonna be automatic like moustachify?
or manual placement of head-cropping circles and overlays?
 
gonna try. manual adjustments might need to be made
i'll do my best but you'll still have to help kinda thing
 
sounds like a good compromise
 
these will be 'sub apps' for lemon meme
not all integrated into the main interface
 
Guys can someone help me out? I have this idea, and I want to know how I can start it off. I want to create a JavaScript library that has one function:

runcode();

And inside this function you can put code, however I want the code to be C or C++ code and then I want the function to interpret it, and convert it to equivalent javascript code, as well as load the libraries the C code calls for such as:

#include <jquery>

This would be interpreted and converted to JavaScript which dynamically loads the jQuery library.
 
stop. it's a bad idea ;)
^ my tips
 
12:30 PM
+1
 
@Cygwinnian Not sure if trolling or...
 
why do you want to do that?
 
I just want to
 
 #include <jquery>
 
I'm not trolliong either. I'm being dead serious
 
12:31 PM
also , why would you want to add jquery there , why not just parse it to native JS ?
 
I just wanted to pull that out by itself.
 
@Cygwinnian Here is a starter tip, don't do it.
Why would you want to run C from JavaScript?
 
Why not guys? It seems interesting, and somewhat useful
 
@Cygwinnian describe a use case
 
And I want to do it so people who are used to C code can program in their native language with their native syntax, just with some alterations like #include<jquery> or #include <mootools>
 
12:33 PM
@Cygwinnian native language? Native syntax?
You're not making any sense
 
Ahaha rlemon I just saw your canvas fallback
 
0
Q: Can this javascript be improved? Shortened? How?

AdamRawrfirst question so be gentle with me. You can find an example of my tabs here: http://jsfiddle.net/mAuJr/ The jquery tabs work well as intended. However I was asked to include arrows alongside the tabs so readers could navigate through tabs using them instead of the tab titles alone. So I used:...

 
If you want to run JavaScript from C that's possible, if you want to make JavaScript modules in C that's also possible, and if you want to compile C to JavaScript that's also possible. It makes however, 0 sense to interprete C from within JavaScript, that's the worse of both worlds
 
@BenjaminGruenbaum I mean like it will convert C code to Javascript without having to do any compilation. It can be included on the html page like any other JavaScript library
 
well you can clang -> LLVM -> emscripten -> js but that is stupid
 
12:34 PM
might as well planning to create another pre-processor like typescript or coffee script
 
@Cygwinnian What would that C code do better than JavaScript?
You mean like NPAPI or asm.js ?
 
clang -> LLVM -> emscripten -> js and we can redo js.js
 
technologyreview.com/news/512261/… Yay! Now I will be able to hold twice the porn!
 
It won't do anything better, but to a C programmer, web development will feel more at home
 
not really
web development is 99% APIs
2
which are very unique to the web
 
12:36 PM
@Cygwinnian Instead of trying to make the language behave like stuff you're used to, learn the language
@rlemon I'd argue that 50% of programming today is about intergrating and finding the correct modules :P
 
@BenjaminGruenbaum well yea, with the advent of node.js I suppose i'm wrong here.
 
I know that, but this idea would create a way to write javascript as C or C++
 
but If I clarify 'front end development' then we're all good.
 
@Cygwinnian you're not listening...
 
12:37 PM
@Cygwinnian WHY WOULD YOU WRITE JAVASCRIPT AS C or C++ ?
 
^ here, best you can do
 
That makes no sense...
 
just use your own js interpreter
have it read direct c or c++ modules
 
JavaScript is a lot nicer to work with, it does garbage collection, events, and much more stuff that would require boilerplate in C
 
tiny-js!
 
12:38 PM
Or v8 :P
Or spidermonkey :P
 
@BenjaminGruenbaum Have you seen the number of questions on SO regarding how to simulate javascript in java?
Don't underestimate the average idiot
 
there is a serious lack of polygot programmers today.
 
@Cygwinnian why do you assume that it is good for people, who do not give-a-shit enough for learning JS, to write it in c/c++.
 
what happened to learning more than a handful of languages
 
@rlemon to make a standard website you need a minimum of 3 (assuming that you do not count css or html as "language")
 
12:41 PM
@tereško I think they'd like it. I think they'd find it easier. And people like it
 
lol, I'm off
 
@Cygwinnian pleases, stop breeding "webmasters"
 
Guys, come on. It seems like something a lot of people would opt for.
 
@phenomnomnominal youtube.com/… got a rough estimation of how many man hours you think went into the cgi of one of the fight scenes?
Just curious
 
@tereško false, you need to know jQuery and WP. and if you have $15 you only need to know StackOverflow HALP!
 
12:42 PM
lol
 
What's the $15 for ? Do you get payed for halp ?
 
buy a WP theme
@SomeKittens did you suggest 'In Motion'?
if so thanks, awesome tune
 
I only know html, css js and php and I'm a professional web developer x_x
 
@Cygwinnian it's a catch. It's doable, but everyone who can do it knows enough C and JavaScript to know it's a bad idea :)
Byes
 
gotta go, luch
 
12:44 PM
Hello people
 
@BillyMathews I contest you still have a lot to learn about all subjects here. A lot of us in this room have been doing this for many many years and the languages we use every day still surprise us
I just recently started claiming I know JS.
and I still am like, eh... i'm comfortable with it. there is so much to know..
 
I'm the best at the Java scripts
 
you are - everyone be like XCritics
 
:D
 
Does anybody know how can I mask an URL with mod_rewrite?
or whatever method
 
Thanks @rlemon I actually got in this room cause I saw you where here :P
 
@rlemon question when I use window . location. Replace (fucking auto correct) and I hit back on the page that i was sent to I go back two pages, any idea how to fix this?
 
don't replace the page
window.location.href = '';
afaik window.location = url; works no?
 
Ahhh herp snerp
I don't know that's what I read when I was looking through the index of definitive guide :P
 
yea both work
think about it
replace replaces the page, so I assume in some browsers that means it replaces the history entry as well
 
12:52 PM
That was last night right before I went to sleep so I didn't really look at my other options DONT JUDGE ME :/
 
window.location is an object were as window.location.href is a string
 
so back will take you to the page previous to the page before the replace
 
using replace method on window.location.href
i believe that wud help
 
I need someone to help me with an error I don't understand, please. In ActionScript.
Error #1010: A term is not defined or has no property. (free translation from French)
line 221
line 177
line 150

http://pastebin.com/1WaZgy7f
 
@XCritics yea looks like it is replacing the page. so the back functions properly in that case
what was the case the def guide was using this in?
 
12:55 PM
Anyone with experience with GitHub here? I've committed local changes to GitHub, then made some other edits locally without committing them to GitHub, while at the same time merging a pull request on GitHub which changed the same file I edited locally. Now I no longer can sync my local changes to GitHub, nor can I sync the GitHub changes locally. What are my options?
 
@rlemon awesome link! Thanks
 
I would like to revert the merge I did on GitHub, but I don't see that option in GitHub's UI.
 
@ŠimeVidas may be u stash ur change and then merge it and the pop the stash and merge the conflict
 
382
Q: GIT revert to previous commit... how?

Crazy SerbIf I do "git log" and get the following output: [root@me dev]# git log commit a867b4af366350be2e7c21b8de9cc6504678a61b` Author: Me Date: Thu Nov 4 18:59:41 2010 -0400 blah blah blah... commit 25eee4caef46ae64aa08e8ab3f988bc917ee1ce4 Author: Me Date: Thu Nov 4 05:13:39 2010 -0400 more b...

 
@Ariane it seems maScene.murs doesn't exist. I'm not familiar with actionscript, though
 
12:57 PM
@Jan But my big MovieClip is maScene, and my big MovieClip containing each wall is murs. I checked in my .fla file. ._.
 
@rlemon Given my experience with the command line (close to zero), I'd probably just make it worse -.- I'd like to do it via GitHub's UI if possible.
 
@rlemon I was just looking for a way to redirect a page after submitting without using a form, just using a selector and a button
 
@Sushil Stashing the change? What does that mean?
 
So I came across that method in the book
 
@Ariane can you add a debug statement verifying maScene.murs and maScene.murs.numChildren both exist?
 
12:59 PM
@Jan NEver mind. I'm silly. I gave it a name in the library, but not an occurrence name. It's all right now.
 
@Ariane not that I understand :-)
 

« first day (908 days earlier)      last day (4047 days later) »