« first day (1431 days earlier)      last day (3520 days later) » 

2:00 PM
i can do that faster then u :P, [the image thing] but i don't wanna upload all her images online
 
Question for NODE.JS: Can i run a software install wizard and control it with node js?
 
generate a single image?
ugh. FINE!
fucking vamps man :P
 
I want to create a fully packed Workflow installation
 
@rlemon chuck it man :-)
i am doing with her images.... found an offline one which will leave a watermark
but i will cover it with GIMP :P
 
@MikeBoutin Installation isn't node.js's specialty.. why node.js?
 
2:01 PM
@AbhishekHingnikar Well, if she's into that...
 
There are a lot of ways to make an installation of a node.js application that don't require node.js to perform the actual installation
 
@Neil To control all donwload, run software and install some package
 
!!nudge 40
 
@towc Nudge #3 registered.
 
@MikeBoutin Ever heard of grunt?
 
2:02 PM
My real problem is that i want to create a full package installator with node. With a command, i want Node to download Sublim Text 2, install my package automatically after
@Neil Sure, but at my work, i have to change computer very often and re-install all my software / workflow tools
i want to create a way to get this done very quick in some simple operations
IS IT POSSIBLE?
sorry caps
 
@RyanKinal lol shes smart :P
and this company is horrible they sniffed :-/
 
Has anyone here worked with both Angular and Backbone?
 
@MikeBoutin Hmm, have you considered zipping up your development folder and unzipping to start working again?
use relative paths
update from repository prior to start coding
Commit afterwards and bingo
 
yes... that's what i do... but i want to install sass, compass, ruby,
all at the same time
if it's not possible
i will only make zips
i wanted to create a challenge for myself
and build this tool
to save me some time
 
user1596138
@SterlingArcher it happens
 
2:11 PM
sorry room for spam
need a full res imgur :P
xs
 
rotation and translation are off
cc @RyanKinal
 
codepen.io/darkyen/pen/qmjJt < final and now i am going for her party
tata
 
@rlemon That is a whole lot of upside-down pizza
 
best kind
 
@AbhishekHingnikar have fun son! looks cool
 
2:15 PM
^ upside down pizza
 
miam
 
!!tobacconist
 
@BenjaminGruenbaum Drop your panties, Sir William; I cannot wait until lunchtime!
 
@Jhawins who seels what?
 
user1596138
What
 
2:26 PM
Goddamn, what's with people not formatting their code properly in questions, today?
 
s/today/every day/
 
I'm just noticing it more and more :P
 
user1596138
There's an extension for that
 
@JanDvorak would this HitTesting work : I create a 2nd invisible canvas, and put the same as the real canvas, but EACH TEXT element has a different color , color=unique ID for each text
 
2:29 PM
@Jhawins: I know :P
 
then on each MouseMove, I only to need to check what color is on the 2nd canvas at the current mouse position : color = 187324 ? Then text element #187324 is hit !
 
@Basj how big is the canvas?
 
Does this work ?
@JanDvorak exp(Infinite^2+\sqrt{2})
 
sounds like a lot of memory
 
@JanDvorak much more than that
 
2:31 PM
well, then that's a problem...
 
@JanDvorak or I can do like this : the canvas is only of the Browser's size (1400x800 for example)
and all my text elements are in a big array with x,y which can be -13000,78000
but the rendering only happens on 1400x800
then the canvas is not so big
 
you'll still be spending a lot of time rendering it frequently
 
That didn't do it. Thanks. — Frantumn 22 secs ago
Eeeh, what?
 
what do you think about hittest with colors, does it exist ?
 
how exactly do you generate the color map?
 
2:34 PM
each new text element has a new color #
how many colors are possible in web ? 2^16 ?
 
2^24
and they're slow to read back
 
@JanDvorak what do you mean?
@JanDvorak that's enough, i will have less than 2^24 text elements ;)
 
@Basj 24-bit colors + alpha
 
true.. 2^32
 
@JanDvorak why slow to read back ?
 
2:37 PM
canvas understands strings and gives back strings
 
@Jhawins dont know just got a email from SO saying you asked that
 
unless you use putImageData
 
@JanDvorak Can I ask : "what is the color at position (301,276)" Answer : 14326479
 
user1596138
@DrogoNevets Weird. I have no idea
 
yes
 
2:38 PM
so what is the problem ?
 
or rather, answer: rgb(120,45,34)
 
God this guy is dense.
Why do I need Jquery? When I use the exact code on this example, it doesn't include jquery, and it worked for me. w3schools.com/jsonFrantumn 1 min ago
 
haha on reddit (paraphrasing)
 
He's using $.getJSON
 
2:39 PM
And the example he's linking to in w3fools is just a static object.
 
@JanDvorak you mean that then it's slow to convert to a number
 
18
MacGyvering

Proposed Q&A site for people with questions on how to create improvised devices or solve problems etc. etc. that normally require specialized materials, but want to use commonly available resources or do it cheaply (such as making a cutting torch from bicycle components).

Currently in definition.

lets make it happen
 
not as slow as hit-testing 1000 elements
 
@Jhawins fair enough
 
@JanDvorak or I can have a dict :
{ rgb(120,45,34): textelement1, rgb(122,4A,34): textelement2, .... }
 
2:40 PM
we're getting rid of one of our contractors, so there should be a position opening up shortly, you interested?
 
but the slow part is - how are you going to generate the bitmap you will read the colors from?
 
ohhh i'm late! back later !
see you!
 
@Cerbrus if the JSON file contains a syntax error, the request will usually fail silently.
 
@towc nudge
 
^ jQuery getJSON function
 
2:42 PM
!!go or not go
 
@towc not go
 
ok
 
I know it should be valid, but I never trust what the OP says
 
@Basj also note the solution you suggest is actually harder to implement than just a quad-tree
 
@rlemon: that's why I asked him to log the response
 
2:44 PM
you won't hit the success handler if there is an error
and jQuery throws no errors, you have to listen for them
 
Hm, good point facepalm
Ah well, OP seems to have lost interest, as he's no longer responding. Time for me to go home
 
user2620028
http://area51.stackexchange.com/proposals/74621/macgyvering/74769#74769
The reply to that :D
 
:D
 
user2620028
tempted to sign up so i can upvote
 
user2620028
even though that should probably deserve a down vote :D
 
2:51 PM
in C, 3 hours ago, by Peter Varo
most of the JS devs are one trick ponies => they don't know and the don't want to learn any other languages
I felt like sharing that gem with you
 
lol
 
@BartekBanachewicz the same could be said about any language devs, no?
 
Why would you want to learn another language? JavaScript is perfect!
 
except haskell, because nobody learns haskell first
 
@FlorianMargaine the same couldn't be said about any language because it's dumb as fuck
@FlorianMargaine some unis teach it pretty early though
@KendallFrey see and then someone will see that and post statements like this :D
 
2:54 PM
You have the absolute most abrasive personality I've ever come across. How do you hold a job with that attitude? Geez.
 
(for the slow folks here, I definitely wasn't serious, I use other languages frequently)
 
I at least try to, I'm just not good at them (C#)
 
C# was the first language I really learned
 
Hi Guys, Have a look
0
Q: Jquery Validation on Modal box loaded after page

Harshal MahajanSo As Title says i have modal box which loads after the page load means it is loading after the Ajax Call and i want to validate the fields of this modal box. for that i'm using the below code , as my HTML is not loaded in DOM : $(document).on('click', ".add_style", function(e) { var sty...

 
[not that I'm good with javascript either... I just try my best and hope I don't launch a nuke]
Why are 9/10 jQuery questions about a stupid modal box?
 
2:56 PM
@NickDugger who?
 
You
 
Me?
Why now.
 
Doesn't mean I don't respect you, but you're near impossible to get along with
 
I was defending you from unbased unfair generalizations!
And you call me "abrasive" :'(
 
I prefer Bartek over Nick
 
2:58 PM
Burn
 
this is gonna end well...
 
at least bartek is smart
 
Also:
5 mins ago, by Bartek Banachewicz
@FlorianMargaine the same couldn't be said about any language because it's dumb as fuck
 
damn son
 
Just because he shared something like that doesn't mean he agreed with it
 
2:59 PM
@FlorianMargaine It's alright, I still appreciate you. Hey, I admit that I don't know what I'm doing most days, but I'm at least learning, so give me some credit there.
Also, I really don't appreciate you insinuating that I'm legitimately stupid. Not cool.
 
seems Florian is the abrasive one now
 
eh, I figure a little distance to things helps.
I admit I get heated (and passionate) about things, but I really don't think that anyone here is genuinely dumb or anything like that.
 
I'm pretty stupid
for example: I assumed some JS would work in IE without testing it and pushed it to production. got a call this morning about shit not working in IE
^ very stupid of me
 
never trust IE
 
1
Scents

Proposed Q&A site for perfumers, lovers and vendors of perfume, people working with essential oils and everyone else who is interested in producing, selling or using scents, smells and aromas.

Currently in definition.

some of the area51 proposals are retarded
 
user2620028
3:09 PM
o.O i wouldn't be able to use that site.... i can't smell very well :D
 
my smell and taste have recently changed
I don't like it
 
I don't smell very good
 
user2620028
O.o What exactly do you mean lemon? lol
 
hold on, let me get my crystal ball to inspect your code. — Azrael 2 hours ago
 
I smell like garlic. It keeps the vampires away. Probably Simon Cowell too.
 
3:25 PM
> I know you're focused on the [top priority] -- hopefully these little requests aren't too much of a distraction
FFFFFF
No, never! Distractions are never a distraction!
 
hey guys, can anyone help me with something? i´m using jquery datatable plugin...and the table is not adjusting to the ipad screen ... i have the width="100%" in the HTML...do i have to do something else?
 
oh man that plugin is a hornets nest (although it generally works pretty well out of the box)
 
@Japa I've had issues with that plugin before. Somewhere It's setting the width attribute. Not sure where, someone else had fixed it on the team.
 
@RyanKinal hah maybe, its the perfect answer to his question :P nice find
 
3:29 PM
@RyanKinal that´s exactly what is happening to me...my last collum is not appearing..which makes the user to scoll(horizonatlly) the screen ...i don´t want that..
 
I totally used that article to make my mobile app reports view
+1 that specific article
 
Google for the win!
:does the "I googled it" dance:
 
askjeeves
 
Who THE FUCK is Jeeves?
 
Oh wait, it's just "ask" now
weird
 
3:32 PM
Jeezes is dead
 
@RyanKinal never used AskJeeves back in the day?
 
heroin overdose :(
 
No, I did. He's just... dead. Like @Loktar said.
 
@RyanKinal stephen fry
 
I used to use dogpile to find mp3s of songs I wanted. It was pretty neat
 
3:32 PM
I used metacrawler
 
Dogpile was pretty sweet. I used that back in the day. Metacrawler too.
 
it was a aggregate of a bunch of search engines
@RyanKinal +1
 
I used webcrawler
altavista
uhhh
shit what was the other one
 
@RyanKinal i just did this: content="initial-scale=0.9"> instead of content="initial-scale=1.0"> and it worked...but is this a good practice?
 
yahoo
I can't believe that anyone uses yahoo to search the web anymore. I would be shocked.
 
3:34 PM
my dad does.
its crazy
 
Oh my god...
yahoo search is now powered by Bing
> Powered by Bingâ„¢
 
yeah
they merged a while back
 
That's so weird
 
lulwut
 
hotbot
fuck that was the stuff
 
3:35 PM
ill be honest I want more than just Google
there needs to be another great search engine out there
 
duckduckgo?
 
I love google, but some more specialized search engines would be neat.
 
nah fuck that one
DDG is dumb imo
 
porngle <- the google of porn
 
joogle was a thing back in the day
 
3:36 PM
They have ties to the Russian mafia (sounds crazy I know)
eh that wasnt the article I wanted
but they have a partnership with yandex
 
say I want the last match of a selector
 [].pop.call(parent.querySelectorAll(selector));
anything cleaner than this?
 
what about length-1?
 
then I have to store the results
var res = parent.querySelectorAll(selector);
return res[res.length-1];
idk, doesn't seem as clean imo
 
it's less clever
clever code is bad
 
"imo" is a trigger for anxiety, for me... someone that made my life a living hell used to use it all the time.
 
3:43 PM
@Japa :shrug:
Maybe!
I don't deal with tables often...
 
@rlemon querySelector with :last-child ?
unless you need the rest of the elements at some point
 
last-of-type is more probably what he'd use
 
eh you could, last child works fine as well
since you're calling querySelector, or QSA on a parent
 
But that depends on if it really is the last child. I'd argue that last-of-type is far more reliable
 
and he want's the last one
its the last-child.
 
3:45 PM
Oh, in that case, you're right.
 
I don't get it: how does this get the pointer to be below 0?
+++[>++[>+++<-]<-]>>.
 
just gets the last child regardless
oh shit, it didnt actually haha
just noticed my console says 15 doh
 
Yeah...
 
why the heck did it get the first li
ah nm I see why
 
@towc What do you mean, below 0?
 
3:48 PM
yeah nm, its not going to work, even with qsa you still get a list
because its the last of each list
 
length-1 seems most logical, in that case
 
@KendallFrey I have a cell at index -1
 
yea
 
can't understand what made that happen
 
although I like @rlemon solution actually
 
3:50 PM
Have you tried using a debugger?
 
I was just thinking of alternate ways
 
I find myself doing [ctrl]+[R] more often than [F5] these days... not sure why.
 
hello guys
 
@towc I stepped through it in a debugger, and didn't see anything like that
 
I'm getting my internet turned on this evening! Finally! I've been living like an animal! I've had to rent movies from redbox!? Egads!
 
3:53 PM
That is brainfuck, right?
 
@KendallFrey just finished aswell
yes it is
 
Homework question, offtopic: What's the big oh complexity a loop structure

`for i -> n then for j -> i`
 
then my interpreter is doing something weird :(
input the string I gave you
and look at the console
 
@Cereal O(n^2)
 
those are the cells
 
3:54 PM
It's still n^2, even though the inner loop doesn't run to n?
 
the array has a -1 property
 
@Cereal running time is proportional to the area of a right triangle of width n and height n
 
@Cereal n^2
 
Which is half of the running time of looping both to n, but still n^2
 
half of n^2 is still n^2 basically.
 
3:56 PM
@NickDugger that was a joke... I admit it was stupid to say it this way though. Sorry about that.
 
Okay thanks
 
@rlemon do you have that photo of @Jhawins ? I need to photoshop him.
Nevermind, got it
 

« first day (1431 days earlier)      last day (3520 days later) »