« first day (1375 days earlier)      last day (3573 days later) » 

12:12 AM
@RyanKinal so after pissing around with like 5 physical designs I couldn't get a reliable sensor
so I just bought one
waiting on the order :P
yellow/red and green/blue didn't like to distinguish well
good news is the sensor was only $5
if it works, that will also be a bonus :P
also, to anyone with cats.. I will soon be releasing a tutorial on how to build your own automated cat laser toy for $25
 
is there an easy way to take an object and get the entries if the keys are specified in a list variable?
 
huh?
Object.keys(obj) ??
 
@Crow list.forEach(function(key) { console.log(myObj[key]); });
 
not quite. In python it would be like new_obj = {k:v for k,v in obj.items() if k in other_list}
 
list.forEach(function(key) { newObj[key] = oldObj[key]; });
 
12:22 AM
oh cool that worked, thank you
 
you probably want to check if oldObj[key] exists too maybe
 
@Crow next time, google it
 
it will because I did an intersect to find them
 
if (typeof Object.extend !== 'function') {
    Object.extend = function (d, s) {
        for (var k in s) {
            if (s.hasOwnProperty(k)) {
                var v = s[k];
                if (d.hasOwnProperty(k) && typeof d[k] === "object" && typeof v === "object") {
                    Object.extend(d[k], v);
                } else {
                    d[k] = v;
                }
            }
        }
        return d;
    };
}
newObj = Object.extend(newObj, oldObj);
<3 Object.extend
hate it isn't native
..
:( imgur is blocking me now
fuck, I wonder how long that will last.
 
12:39 AM
Observation: As I grow as a SE, I complain less.
Exception: Wheatly.
Not sure if I'm just finding better companies or learning the futility of whining.
 
12:51 AM
my cats suck.
I build them this kick ass cat toy, and they are still lazy SOBs and just sit in the known path and wait for the laser to come to them to swat at it
wtf :/
 
1:03 AM
a cool toy/pet toy I got on Friday
the animals love it
 
hey guys
anyone here have IE8?
 
well this is a weird error
 
@Loktar I'm incredibly jealous
 
damn
$130
.. so tempted. but I just bought a $1100 fish tank
 
1:50 AM
hello @BobBrown
 
I don't believe this is giving accurate averages.
var data = icontext.getImageData(0, 0, this.width, this.height).data,
    rgb = [0, 0, 0],
    i;
for (i = 0; i < data.length; i += 4) {
    rgb[0] += data[i];
    rgb[1] += data[i + 1];
    rgb[2] += data[i + 2];
}
rgb[0] = Math.floor(rgb[0] / i);
rgb[1] = Math.floor(rgb[1] / i);
rgb[2] = Math.floor(rgb[2] / i);
anyone see where I went wrong?
nvm
i/=4;
@Loktar I've improved that script
still runs like shit, but i've included a tolerance variable
albeit misspelled
fiddle with
scan_size = 5,
tolorance = 5,
the majority of the 'lag' is trying to randomly generate valid urls for imgur
icanvas.height = scan_size;
icanvas.width = scan_size;
icontext.drawImage(this, 0, 0, scan_size, scan_size);
var data = icontext.getImageData(0, 0, scan_size, scan_size).data,
also seems to be a better change (in the searchColour function)
still looking like it will take a long time to finish a picture :/
 
2:14 AM
@rlemon fixed the irc issue for now fyi
 
font-size: 26.147368421052633px; <-- I'm starting to hate my predecessor
 
@monners is that in a style sheet or computed?
 
@Loktar Computed
lol, if that was in the stylesheet I'd kill someone
 
hahah ok yeah was going to say thats crazy
 
@Loktar look at irc
 
2:36 AM
 
@rlemon that's looking epic!
 
yea it is coming along
atm over 2400 404's looking for valid imgur id's
not to mention the images I load that don't meet the colour requirements
I'm not tracking those :/
I can't wait until it's finished
I wish I put a timer on it :/
I'll have to put in some metrics on it
after this run*
..
nvm
this is fun to watch. it really is
@phenomnomnominal see the progress?
 
That's BADASS
Once you have this working and a UI, people would pay for it
 
well it works right now
#1 problem is that it randomly generates imgur urls.
 
:P
Get people to pass in all their FB photos
 
2:50 AM
50% of them are 404's, and > 50% of the ones I return don't match the colour sequence
 
3:05 AM
was before I stopped it
found some bugs to fix. like I was only comparing against the red :/
 
3:16 AM
deviantart is such a dumb place
 
what deviant art is awesome
also @rlemon looks cool
 
thanks
that as it turns out is a flawed demo
I was only comparing the red values
 
turn off safe filter and deviantart just becomes boobs.
 
fixed the bug and am running again
looks like I will have to have a separate tolerance value for r,g,and b
 
3:23 AM
if anyone wants to play
requires a canvas element with the id canvas
don't judge me on the code :P
I'm surprised it even works
 
Protip: this.valueSterling Archer 21 secs ago
classic
 
3:41 AM
@Loktar hire me as a graphics guy for Grapplehero :P
mah resume
 
4:07 AM
 
That's good stuff, man
 
run for a bit over an hour, still not done
i'm going to bed
 
@SterlingArcher Too bad Loke already has a graphics guy
 
@SomeGuy thanks :) I used to be a graphics artist for PhantasyRPG.com before I learned how to code. The angel is my favorite -- she's based off a sketch I made when I was like.. 16.
Not the best.. but not too bad for no formal training lol
 
!!afk goodnight sweet prince
 
4:10 AM
night night sour lemon
 
@Zirak YAY!
@SterlingArcher That's amazing for no formal training
You must have practiced quite a bit
 
4:42 AM
woah thats really nice @SterlingArcher
I thought you were just showing random images you found :P
 
 
2 hours later…
6:20 AM
v8 just got arrow functions ^_^
6
 
6:48 AM
YUS
 
7:29 AM
What does life insurance have to do with programming again? Oh yeah.. it doesn't!
 
@Neil I just find it surprising it isn't spam
 
1
Q: Why are Q.js promises asyncronous after they have been resolved?

TriParkinsonIf I have the following... var deferred = Q.defer(); deferred.resolve(); var a = deferred.promise.then(function() { console.log(1); }); console.log(2); ...why do I see 2, then 1 in the console? I understand this output is correct according to the Promises spec, which says to call...

 
Morning
 
Morrrning
 
Morning
 
7:42 AM
Coffee
 
user2985029
morning
 
!!coffee or even more coffee?
 
@Oleg Could not process input. Error: unexpected || on line 8
 
wat
 
Even caprica needs coffee
in the morning
 
7:44 AM
green tea FTW
 
Not in the morning.
 
mornign everyone - so far today is better than yesterday!
!!coffee or green tea
 
@DrogoNevets Could not process input. Error: unexpected || on line 8
 
D:
 
shes not very well these days is she
 
7:53 AM
lol
 
or maybe, she really does need coffee
 
!!2 or 2
 
@RakeshJuyal That's not really a choice, now is it?
 
!!1 or 2
 
!!javascript or ecmascript
 
7:54 AM
@Cerbrus 1
@jAndy ecmascript
 
Apparently she doesn't like tea
 
@DrogoNevets Could not process input. Error: unexpected || on line 8
 
atta boy !
 
!!spartan or kratos
 
@RakeshJuyal kratos
 
7:55 AM
what?
 
!! one word or two words
 
@DrogoNevets two words
 
really doesnt like tea!
 
!!Tea or coffee
 
!!green tea or coffee
 
7:55 AM
@Cerbrus Tea
@jAndy green tea
 
wut
 
atta girl !
 
How it said Kratos?
!!-10>>1
 
@RakeshJuyal That didn't make much sense. Use the !!/help command to learn more.
 
Put a > before the operation
!!>-10>>1
 
7:56 AM
!!/help
 
@RakeshJuyal Information on interacting with me can be found at this page
@Magikaas -5
 
Why'd she answer you first?! D:
No fair! >_<
 
Dear god, she can eval...
 
!!c>"coffee" isnt "tea"
 
@Oleg true
 
!!kratos or spartan
 
@RakeshJuyal spartan
 
@DrogoNevets Yes, let's send drones to Africa too.
 
are those the new Intel CPUs?
 
Will they not just shoot them out of the sky?
 
7:59 AM
Israel is doing demonstration of Iron Dome.
If any country had doubt on its efficiency.
 
@RakeshJuyal Hmm?
 
@Oleg i thought it was a brilliant idea
 
Looks like you have great knowledge of Anime. Can you suggest any good one? I have never seen any.
I would love to watch action.
@SecondRikudo
 
@RakeshJuyal You haven't seen any anime yet?
 
Never saw any.
 
8:02 AM
What style of series do you like?
 
You gotta watch Full Metal Alchemist
 
Action? Drama? Comedy?
SciFi?
 
Action @SecondRikudo
Action and Sci Fi
Both I would love to
 
@RakeshJuyal Fullmetal Alchemist: Brotherhood
Followed by Code Geass
 
Ghost in the Shell
 
8:04 AM
Awesome. Thanks @SecondRikudo and @C5H8NNaO4
 
I loved "Kaze no Stigma" too
 
@RakeshJuyal Feel free to ask in the anime room too'

 Maid Café (メイド喫茶)

Welcome back, my Master! (お帰りなさいませ、ご主人様!) Sit wherever you'd l...
There are people more knowledgable than me there
 
Join us...
Join usss.....
 
We've cookies.
 
And cake, but only on sundays
 
8:05 AM
ok, I am going to watch alchemist , code geass and ghost in shell
 
!!the cake is a lie?
 
@Oleg Definitely
 
D:
 
@CapricaSix Lies!
 
8:07 AM
How do you motivate yourself finishing boring, not challenging tasks?
 
@C5H8NNaO4 Money?
 
@C5H8NNaO4 move on to more interesting, challenging ones.
 
@Magikaas Not gonna get any money for my own project.
@Oleg Yeah, but then the stuff that needs to be finished, remains undone
 
@C5H8NNaO4 what do you care?
 
@C5H8NNaO4 Ehm. Think about what you will have achieved when it's done?
 
8:11 AM
You can try reading "Getting Things Done" by David Allen. Almost 300 pages of pointless blabbering.
 
@BenjaminGruenbaum it seems like they really do have that soldier...
Crap, what a fucking mess.
 
@BenjaminGruenbaum What ! Marvelous day ! And... node ?
 
@Oleg Mh I guess I need it to be finished to move on.
But do you get things done, if you manage to finish it?

@Magikaas Yeah that's what I'm trying to do, but it's not working well. It takes forever implementing only little things.
 
@C5H8NNaO4 Not sure what else to say. You can't really drop it I guess, but working further on it seems to be slow. Do what you think is right then, if you can't find any good reasons to work on it
 
@C5H8NNaO4 need to finish it? just finish it already. Get some coffee and go.
 
8:18 AM
@C5H8NNaO4 Put on some good music. Helps me a lot when programming
 
I guess you're right. I somhow need to conquer my weaker self. And get throught that. It's gonna be challenging after that again.

@Magikaas That's a great Idea, Music always helps.
 
@C5H8NNaO4 Tell your project to an interested friend or family
Tell them you'll finish it in <insert honest estimate here>
Go public with the fact that you'll finish your project in that time
 
@SecondRikudo :D They don't want to hear about it anymore i guess :P

Ok, that's an interesting idea, If I do that I have to work hard on it.

I need to finish it before Feb 2015 anyway, as I want to use it as my final project of my apprenticeship. But I should probably make a earlier deadline
 
@SecondRikudo naa, he's dead
From what I heard they found erm, parts of him.
 
@BenjaminGruenbaum Still MIA
 
8:29 AM
@BenjaminGruenbaum hey benji! how are you doing?
 
Doing good :)
We have a big launch today, everyone watch CNBC my brother is on soon
 
great. everything okay down there?
the situation was (is?) pretty heated up I heard? :/
 
Yeah, it is. I hope the situation gets resolved quickly
 
were you affected by it? with all these rocket launches?
just glad you're okay. And I hope this all doesn't get out of hand even more than it already did
 
@GNi33 affected? It's not pleasant but it's not too huge of a deal.
 
8:38 AM
excuse my little skepticism, but I still can't really believe that probably the most upgraded military on the planet has any struggle with some piss poor peoples rebellion
 
The world cup was a bigger event here.
@jAndy that's because you haven't been there.
 
true
have you ?
 
in Gaza ?
 
Well, not recently, but still
In the last two years they've used a lot of concrete to build an underground tunnel system and booby trapped a lot of areas.
The Israeli army doesn't carpet bomb and doesn't shell civilian areas (at least intentionally)
 
8:41 AM
I never really understood what the hell is going on there in the whole area for last couple of decades.. there are a few versions of the story and none of them really sounds convenient
 
The egyptians gas those tunnels when they find them
@jAndy I feel that the history of it doesn't really matter.
 
The biggest struggle is how to take care of the hostile government there without dropping bombs on civilian population.
 
@jAndy usually "piss poor rebellions" are the hardest to deal with
 
@jAndy it's quite simple really, the people in Gaza are poor and Israel and Egypt are both oppressing them (really, we are, anyone who denies that is lying or is misinformed). Every time we let stuff like chemical components and concrete in they try to use it to bomb us - which makes sense because we are oppressing them (by not letting stuff in to begin with). So the Israelis and Egyptians don't want to let too much stuff in, and on the other hand the Gazans are oppressed.
The fact that their government is very corrupt does not help either.
 
it just sounds like a huge David-versus-Goliath scenario, where Palestine obv is David. Seriously.. thats not really a conflict really. Palestine shrinked systematically over the past decades and they can't really do anything againt it
 
8:44 AM
The inner Gaza political situation is very complicated as well, with multiple extremist factions.
 
I just don't understand the reason
there is nothing in Gaza really. Is it just about space or religion, that would really be a shame
 
@jAndy there was never a country called Palestine, the Palestinian territories have not shrinked very much at all. In fact in 2000 Israel offered Palestinian leaders 94% of the original territory as well as a comparable sized land area in areas that are not populated by Israelis (remember that the settlement is based on lines that have only ever existed in theory).
@jAndy it's about neither really. Israel is very disinterested in Gaza, we even withdrew anything we had there in a one sided fashion from there about 6 years ago.
We just don't appreciate rockets being fired at Israel.
 
afaik Israel never stopped to build settlements
for whatever reason
 
Israel disbanded its settlements and forcefully removed settlers who didn't want to evacuate in Gaza.
 
@jAndy That's true, and it was never an obstacle to begin with.
We signed multiple treaties with Jordan, Egypt and the Palestinians in the Western Bank multiple times, all while the settlements were still building
 
8:48 AM
Some areas are called "settlements" although they're neighborhoods in Israeli cities. Remember that the border was decided by the UN and is completely arbitrary. Israel agreed to that border in 1947 but reality meant some areas that already border Jewish cities will have to stay in Israel. That's the "building settlements" you hear of.
 
is it really just about Gaza? or the other territories that were raided a long time ago?
 
The settlements are merely the newest excuse for both sides to not reach peace.
 
but still... I mean there is no balance at all. The rockets fired from Palestine look like childs toys compared to what Israel backfires or is able to "accomplish" military
 
Israel has offered to exchange land with the Palestinians for that (because surprise surprise they built extensions to their cities too) and they refused.
 
its not a war or something, its yea, david vs. goliath
 
8:49 AM
@jAndy of course, Israel is a much stronger country with a much better trained army and much better technology.
In David vs. Goliath, David was the good guy though, there is no universal good guy here.
Moreover, Israel has no interest to fight the Palestinians, it is only interested in removing Hamas because it fires rockets at Israel.
 
@BenjaminGruenbaum Also wrong
Israel currently is not interested in removing Hamas
 
That's precisely the sort of backwards mentality that's causing the conflict to begin with
 
Otherwise, it would have done so.
 
I always try to understand any side and try to understand reason and logic. I truly belive that you have to be VERY VERY desperated to fire some rockets into an over-mighty oppononent
 
Is it still the Hamas ? I think the Hamas is moderate compared to the new groups that emerged...
 
8:51 AM
without having any chance really
 
@jAndy the political situation there is more like a gang war.
 
at least, you could look like it like so
 
There are several competing gangs, Hamas is one the Islamic Jihad group is another. They are competing for power.
Sometimes, one faction fires rockets at Israel to show it is more "badass"
 
Israel currently prefers Hamas over the Islamic Jihad
 
Israel doesn't appreciate rockets being fired at it, or 3 teenagers abducted and murdered just because.
 
8:52 AM
and still.. nobody really is there and can see it with his own eyes whats going on. Since I don't trust media a bit anymore
its pretty hard to make any kind of judging remotely
 
It always is.
 
@BenjaminGruenbaum I'm sure the same could be said for the Palestinians, no?
 
@jAndy It's even harder when you're in Israel. As in every country in war, information is very biased.
 
You're welcome to come here and see for yourself.
@Neil of course :)
It's a shitty situation, but both sides don't trust each other.
 
I'd love to. I'd always love to go to Kiev and the Ukraine to see whats happening. I just had some very close friends who have been there, and there stories were like 400% different from what you could hear in any media
 
8:54 AM
@dystroy I don't think so, Israel's second biggest news paper is very left winged. Moreover I get most of my news from people and from foreign media. Also the media here isn't that bad compared to worldwide media which is pretty bad though.
 
@BenjaminGruenbaum There's hardly any reason for either of them to trust the other
 
@Kippie I don't get the point in the fighting though.
Hamas spent billions in foreign aid in arming itself, they could have really made a difference in Gaza.
@jAndy just to be on the same page, I hate what's going on in Gaza right now with a passion, killing 500 people with over a 100 civilians (some estimates are up to 70% civilians) is a horrible horrible thing.
 
@BenjaminGruenbaum Hamas are profiting from this conflict
 
that's probably the biggest joke in any conflict or war.. talking about "Israel vs. Palestine" or "Ukraine vs. Russia vs. USA" or "Germany vs. Allies" you name it, its always only a very small "elite" group that forces war issues and the whole thing
 
The fact that they're there with no electricity (though they did that to themselves when they fired a rocket at Israel and hit it since Israel is supplying them electricity) is sad :/
 
8:57 AM
They get aid, shitton of money, and instead of helping their own civilians, they spend most of it on this conflict to earn yet more money
 
we're forgetting that 99% of civil people mostly don't hate each other
 
@jAndy I wouldn't call them elite. I'd call them extremist.
 
and most likely don't want any war
 
Yup, the vast majority in Israel don't want a war.
 
@jAndy Well... They did elect Hamas there...
 
8:58 AM
@BenjaminGruenbaum I'd call them "Governments"
 
Then again, most of them realized over the last two weeks that there is little choice.
Israel has also offered Hamas long term ceasefire twice since this round started, the second time it stopped shooting accepting an Egyptian ceasefire.
 
@SecondRikudo where do you get your information from ?
that sounds so propaganda
 
Hamas refused and shot rockets at Israel.
 
@jAndy They had an election... back when Israel retreated one sidedly from the Gaza strip
 
@jAndy they did elect Hamas, before Hamas the PA was a democracy attempt. Hamas was elected because they were not as corrupt as the other faction at the time - the Fatah.
 

« first day (1375 days earlier)      last day (3573 days later) »