« first day (838 days earlier)      last day (4125 days later) » 

1:02 PM
just discovered this reddit.com/r/4chan
 
@FlorianMargaine random user pics ?
 
heheh
so funny
 
thx you made my day, it's 12:06 AM here
 
oh my god...
 
1:07 PM
Guys
what are differences between reddit and 4chan?
 
what's the difference between a baby and a tree?
 
Taste
 
That is one gigantic album
 
yeah
lots are fun
lots of duplicates too
 
1:14 PM
/r/4chan >> "The Bottom of the Internet."
lol
 
how to add ++ after each click on a button?
 
first you need 3 quarts of unicorns blood, a bag of virgin ears (male or female so long and their human) and a bathtub. Next you'll have to discover a new heavy element called "lentronstrium 5" and add a few particles of that in the mix - after cthulhu rises from the depths and Captain Picard slays him the button should have a ++
 
HAHA
lol
"baby you're as hot as the bottom of my laptop" - geeky romance
 
1:30 PM
posted on January 31, 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) {} Big announcement coming soon!

 
unicorns blood - only to speak out that is punishable by death !
any licence guru ? or more precisely, good knowledge about GPL licences ?
 
...of a unicorn
 
@jAndy I know they mean jack shit unless you actually want to sue the guy
for breaking it that is
 
1:45 PM
find / -name "*base*" -user your -print | xargs 'chown us'
 
iz early no coffee made yet
can't quite seem to wrap my brain around how to turn that ^^
into this:
/Foo/
/Foo/sample.xml
/Bar/
/Bar/kittens.png
/Bar/New Folder/
/Bar/New Folder/Untitled.png
/Bang/
/Bang/Licence.rtf
/vanilla.js
 
wat? You want a list of paths?
 
I'm reading the GNU GPL licence and their faq's, we just had some doubts about the lincence in general using here at the office, for commerical purposes
 
Bar/kittens.png only useful file ..
 
coffees percolating.. so its only a matter of times.
 
1:49 PM
question is, can you actually do whatever you want with GPL licenced code (as long as you preserve the original author and licence)
 
What're you trying to accomplish?
 
@Zirak yes I want lists of paths - the tree is user built. I need the paths from them (this is a winforms app)
 
@jAndy nope
if you're changing the code, you have to contribute back
 
and.. will your "own" source code/application fall under GPL, as soon as you use some GPL source within
 
1:50 PM
because the licence says something like, you need to make sure anybody can have the source etc.
 
@rlemon oh. My knowledge of winforms is at best 0
 
for LGPL, if you're not changing it but just using it, you can keep your application not-GPL
 
and for GPL ?
 
if you're touching the LGPL code, you have to contribute back
for GPL... if you touch, you contribute back
 
1:51 PM
@Zirak thats fine - think of it this way - each TreeNode has a Nodes collection with 0 based indicies.
 
define "contribute back"
 
the UI magic is magic
lists of lists
 
Then it's a simple recursive algo
 
send a patch
 
I know it is
 
1:51 PM
or at least, send the code to whoever asks for it
 
coffee percolating.... not in me
brain no worky - i.e. brain fart?
 
@FlorianMargaine: lets say you're using some standard GPL licenced code in your 5.000.000 codebase, are you allowed to keep the whole app under non GPL ?
 
brb going to see if it's done
 
@jAndy IANAL...
 
ANAL ??
 
1:53 PM
I Am Not A Lawyer
 
damn you
 
but as far as I know, it means you have to put the whole app under gpl
 
who knows !
 
if it's for your company, they should really ask a lawyer :)
 
Can't you separate the code ? For example make an API (GPL) and call this API from your (non GPL) code ?
 
1:55 PM
@FlorianMargaine: yay we prolly will
 
@rlemon
function getPathList (node, pathSoFar) {
    var path = pathSoFar + node.path,
        ret = [ path ];

    node.children.forEach(function (child) {
        ret.concat( getPathList(child, path) );
    });

    return ret;
}
Just a quick sketch
 
not sure he was pinged
 
now are you sure?
@FlorianMargaine
 
oh, yeah :P
 
rlemon may have died fetching coffee. Another fallen victim to its lure.
 
2:04 PM
got talking to one of the engineers
didn't know you could have dual monitor one above the other instead of side by side
 
Why wouldn't you be able to? Gravity's the only opponent here
 
he never tried to drag the 'screen' to the top
just left or right
He wanted this ^^ I said yea no problem
2 seconds later he's facepalming
 
hehehe
 
0
Q: How can I convert a DIV in Image

Lucas_SantosI created a class that send e-mail automatically and dynamically with a lot of HTML in the body of the e-mail. But, in the body of the e-mail. I put a google chart, but in e-mail, this chart doesn't appears, so I want transform the <DIV> where the chart are drawn in a <IMG>, to see th...

wt serious fuck
I think he wants to convert a dynamic div to an image for an email.
 
Hit Print-Screen?
grr, dynamic login thingy acting up again...dafuq you want SO, dafuq you bring up error 500?
 
2:09 PM
nice even number
half way to a thousand
makes a catchy line in a song about a guy walking places
 
!!/help
 
So this morning I had ants in my pants.. literally.
picked my pants up off the bathroom floor after my shower and there were like 15 ants under / in them
 
No, @rlemon, that tiny thing is not an ant.
 
dunno where they came from
 
2:10 PM
@Zirak Could you explain your build process?
 
It serves an important biological function.
 
it's winter here - my only conclusion is they are living in the walls / dividing floors of the triplex.
 
Did you write the NodeJS builder?
 
yes Kendall, I have 10-15 almost microscopic penises - and they run around in my pants while I am not wearing them
@AmaanCheval you should be pissed at this guy - he's making kids sound stupid
 
Hahahaha
I'd probably pissed at everyone of my age then
 
2:13 PM
@AmaanCheval This?
 
hah, yeah, my build script sucks monkey ass juice
 
Looking for a good build script and that was the first one I remembered
 
i'm an official grumpy cat - fan now
 
Don't use mine. I shouldn't use mine
 
2:15 PM
I guess I'll try Closure Compiler out first
 
But it's really simple in the bottom - sticks a few files together, optionally minifies. The main logic is handling my preprocessor commands
 
@KendallFrey doooood
I am soliciting your c# expertise
 
zup guys
 
^ need!
 
!!s/zup/what is up/
 
2:22 PM
@rlemon what is up guys (source)
 
Can anyone (with a myopenid account) try running the login script (you'll need to change data/opts.json)
I'm getting a weird result
 
@AmaanCheval build script for what?
 
@FlorianMargaine To concatenate and then minify multiple JS files
 
@MikeBoutin where is original image please?
 
2:26 PM
ls -l min.js

FILES="file1.js file2.js file3.js"

java -jar ~/closure-compiler.jar \
    --compilation_level ADVANCED_OPTIMIZATIONS\
    --js_output_file "min.js"\
    --warning_level VERBOSE\
    --externs ../cc_externs.js\
    --define=DEBUG=false\
    --define=IS_NODE=false\
    --use_types_for_optimization\
    --summary_detail_level 3\
    --language_in ECMASCRIPT5_STRICT\
    --js $FILES


ls -l min.js
 
Yeah, thanks!
 
@rlemon ?
 
Never used Closure Compiler before
 
@copy there is 2 times --warning-level :P
 
Try it sometime!
 
2:27 PM
 
@FlorianMargaine Yeah, it should be really verbose
 
i'm trying to write something using TreeNode.FullPath atm
dunno why i'm like all no-brain-wanna-work today
 
And you can remove the externs and define stuff
 
@copy What's cc_externs.js supposed to be?
Ah, okay
 
//var location = {};
var history = {};
var btoa = function(str) {};
That's mine
 
2:30 PM
@rlemon You want to do OCR?
 
var undefined = true;
way to fuck up some code.
 
I prefer C++ for fucking up code.
#define while if
 
@KendallFrey no.. lol - I have a TreeView that the user builds up with folders and files to be written to a device - I Just need to get the paths in that treeview.
 
You need to be specific.
What's your underlying data structure?
 
@KendallFrey Meh. This will probably fire a warning at compilation. The undefined thingy is harder to spot :P
 
2:31 PM
... tree nodes?
there is no data source
no structure
 
cough
 
the user has two buttons - add folder and add file
they are building the structure
 
WinForms?
 
yes
 
byeeee
 
2:32 PM
@rlemon Lol i googled creepy asian baby, but it wasn't he one i wanted
 
are TreeViews in winforms and WPF so much different?
 
Probably.
So traverse through a TreeNode recursively, looks easy.
 
Sounds like fun.
 
@copy At first I got a few errors. Fixed the errors, and now I have an empty min.js file and this as the output in the terminal: 0 error(s), 0 warning(s), 68.9% typed
 
2:42 PM
Is your code just a library?
 
Removing all the options, and just using the simple compiler works
 
...why on earth am I so picky about whitespace?
 
@copy No
Not just that
A lot of code being used in other files instead of the same ones
 
@SomeKittens Because you're a programmer, and programmers all have a bit of OCD and Asperger's.
 
You have to "compile" all the files together, you can't export stuff
 
2:45 PM
How do I do that? That's why I was trying to concatenate them before minifying. But the docs don't really have anything on concatenation
 
But that's only for advancef optimizations
Just put all the files there
 
Did that
FILES=" background.js drawer.js loader.js screen.js uiScreens.js buttons.js inbounds.js loops.js player.js shims.js"

java -jar ~/compiler.jar \
    --compilation_level ADVANCED_OPTIMIZATIONS\
    --js_output_file "min.js"\
    --warning_level VERBOSE\
    --use_types_for_optimization\
    --summary_detail_level 3\
    --js $FILES
 
Remove the --compilation_level ADVANCED_OPTIMIZATIONS part and it should work
 
Yep, it did
6 mins ago, by Amaan Cheval
Removing all the options, and just using the simple compiler works
 
I don't know why it doesn't work with it though
You don't have any Javascript somewhere else, right ? And there is some entry point in window.onload or so
 
2:51 PM
what's wrong with this css line? background-image: linear-gradient('#009BCC', '#0180A8');
chrome tells me it's invalid :|
 
Ah, it worked!
Not sure what made it work, though
 
@FlorianMargaine position?
background-image: linear-gradient(top, '#009BCC', '#0180A8');
 
Both advanced and simple compile options gave me the same file size, though
 
or to bottom etc.
 
2:53 PM
So I guess there wasn't much for it to optimize?
 
@Loktar that doesn't change anything :/
 
weird
 
@AmaanCheval optimisation inlines functions and stuff
 
That's weird, advanced is really aggressive
 
@Loktar yeah...
 
2:54 PM
> If you set the background-image property of the <body> tag to a linear-gradient, the gradient won't fill the browser screen unless you also set the min-height property of the document root (e.g. the <html> tag) to 100%.
 
it's not on the body tag
 
Just thought it might be relevant
 
yeah thanks :)
it doesn't work indeed.
 
heh. Thanks.
 
2:58 PM
Is there a JSFiddle that has collaborative editing like Google Docs?
 
np, I guess it just needs -webkit or whatever prefix
 
@SomeKittens collabedit.com I think
Oh, no, doesn't show previews
 
Yeah, but no output
 

« first day (838 days earlier)      last day (4125 days later) »