« first day (1097 days earlier)      last day (3834 days later) » 

8:01 PM
walked into a table like 25 minutes ago
balls still hurt
:(
 
Why did I imagine <table> first?
 
hehe
made me laugh, didn't help with my other issue
who the hell puts a table at 32" high
average inseam for a man in N.A. is 32"
 
!!convert 32inch cm
 
@JanDvorak Confuse converter with ", receive error message
 
0
Q: CoffeeScript - Quickly return a match if it exists, otherwise return the original

Talasan NicholsonI feel this is subpar and there's probably better way: format = function(e) { var crud; if (crud = e.match(/\]\: (.*)\)$/)) { e = crud[1]; } return e; };

 
8:02 PM
!!convert 32IN cm
 
@rlemon Confuse converter with in, receive error message
@JanDvorak Confuse converter with in, receive error message
@rlemon Confuse converter with IN, receive error message
 
I hate you Caprica
 
@JanDvorak Confuse converter with inch, receive error message
 
81.28 cm
!!> 32*2.54
 
@rlemon 81.28
 
8:03 PM
oh. Ow.
 
are bots used in these chat rooms?
 
never
 
@CapricaSix Hijacker
 
What's this mean? "I'm now hosting Caprica, if you find issues with her (I.e she isn't working) ping me instead of Zirak and I'll sort her out."
 
0
Q: Looping through a site to create a site map

BatmanI need to iterate through a site to list all it's top level sites then each sites subsite, then each subsites subsite, etc, until I end up with a tree of my entire site collection. I'm not sure how to loop my function to accomplish this. This is my initial html: <div id="treeviewDiv" sty...

 
user1125394
8:07 PM
!!are you a bot?
 
@cc Yes!
 
@shmuli Caprica is a parasitic demon. rlemon happens to be the current host
 
dooooot
 
@Shmiddty Turns out I already have milk. Oops.
 
Zirak recently freed himself from her
 
8:08 PM
sounds like October to me...
 
user1125394
and additionally a fake blonde
 
hey anyone experienced with jquery plugin caoufredsel?
 
do any of you write pure Crockford Javascript
?
 
@shmuli Only Crockford write pure Crockford
Other people don't put so much inane comments
 
hi guys, what's going on?
 
8:13 PM
@dystroy: is it typically something that's encouraged?
 
@Kippie not much. The end is still nigh.
 
Good.
 
@dystroy Hah. I doubt it.
 
@shmuli Personnaly I can't stand his comments
 
@copy It has to be something like this right? for(a=b=c=1;b<<1;b=a+(a=b))c=b+[c];print(c)
 
user1125394
8:14 PM
!!urban crockford
 
@cc No definition found for douglas crockford
@cc crockford The act of passing out in a pile of your own piss and vomit - often in toilter cubicles, but not location specific.
 
user1125394
no, sorry for him
 
@dystroy: I checked out his github repository for JSlint... his code looked pretty messy to my eye, to say the least...
 
user1125394
some researcher director once told me: 1 line of code = 4 lines of comments...
 
Talk about shoemaker's children
 
user1125394
8:16 PM
I told him, meh I have 600 LoC :(
 
yeah, and it was hard to find consistency throughout his code...
@cc: "I told him, meh I have 600 LoC :("... what's that mean?
aha... lines of code...
 
Trying to measure the coding efficiency by lines of code is like... meh, you already know that
 
user1125394
!!wiki shoemaker
 
Shoemaking is the process of making footwear. Originally, shoes were made one at a time by hand. Traditional handicraft shoemaking has now been largely superseded in volume of shoes produced by industrial mass production of footwear, but not necessarily in quality, attention to detail, or craftsmanship. Shoemakers or cordwainers (cobblers being, historically, those who repair shoes) may produce a range of footwear items, including shoes, boots, sandals, clogs and moccasins. Such items are generally made of leather, wood, rubber, plastic, jute or other plant material, and often consis...
 
user1125394
!!undo
 
8:18 PM
@cc I'm afraid I can't let you do that, c c
 
@JanDvorak Are you citing the author of Bob and Windows ME ? :D
 
!!afk talking with the boss
 
@RUJordan Why are you leaving me!?
 
!!/urban afk
 
@dystroy afk Away From Keyboard.
 
8:19 PM
but comments are the most minor detail of the Crockford subset...
what about some of his other input into the language...
?
do people generally try to incorporate his ideas into their code?
 
Can't answer on that, I don't know his ideas.
 
@shmuli He makes some really good points. I mean, he wrote The Good Parts, which is a pretty definitive guide to JS.
But I don't think anybody takes all of what he says to heart.
 
user1125394
!!lucky javascript+father
 
I mean, he discourages the use of the ++ operator
 
Which is just ridiculous
 
@RyanKinal Last time I saw a two lines extract from The Good Parts on SO, it was a document.write
 
user1125394
functional languages don't have ++ too
 
@dystroy Exactly
 
++ isn't pure, but it's incredibly convenient
 
user1125394
8:25 PM
!!> var x=1; (++x)++ + ++(x++);
 
@cc 3
 
That's one of the things I reproach to Go : they simplified it so that it's not an expression
 
@cc 4
 
It's simpler, but many things you could do in a concise (and clear) way are gone
 
@cc "SyntaxError: invalid increment operand"
 
8:27 PM
Lisp has a 1+ function
 
ps.setString(i++, "set") // so convenient
 
user1125394
without ++, for loops would be a bigger pain
 
@cc nope
 
I don't use ++ for loops in js...
 
functional loops look like for x in coll do ...
 
8:28 PM
@FlorianMargaine what?
 
or rather coll.map {|x| ...}
 
user1125394
!!> for (var i=0; i<1; i+=1) 1;
 
@cc "SyntaxError: syntax error"
@cc 1
 
@FlorianMargaine I too prefer the --> operator
 
So, the += operator is pure?
 
user1125394
8:30 PM
for (var i in range(1,10,1)) ...
 
!!c>console.log x for x in [0..10]
 
@JanDvorak Could not process input. Error: unexpected .. on line 8
 
user1125394
^ this is purer or forEach(x=> ..)
 
for (var i = arr.length; i --> 0;) print(arr[i]);
 
@JanDvorak "undefined" Logged: 0,1,2,3,4,5,6,7,8,9,10
 
8:31 PM
@dystroy That is quite clever
Of course, The Crock is generally opposed to clever...
 
oh, that -->
 
Wouldn't that confuse the hell out of people that know the pointer operator, though? :p
 
@Kippie that's the point (yes, I know of the pun)
 
hey all
 
Think I even saw a SO question about --> once
'sup dave?
 
8:32 PM
hey dave
 
i missed any drama tonight ?
 
Not sure. Check the flags log
 
bang bang
 
@RUJordan You saw that whore again, didn't you!?
 
...whut?
.____.
 
8:33 PM
i always enjoy seeing the star'd messages for the day they always so random
 
@Dave Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
o_0
caprica been reset or something?
 
Hosting changed
 
@rlemon i want to make an os called ChaOS
 
yes
 
8:34 PM
ah okay :)
 
See at right
 
ah rlemon runs her now fair enough
 
would anybody be able to point me in the direction for an algorithm/method for detecting the most important parts of an image?
 
*points down
oh wait maybe she was speaking to that dave^
 
@Dave simple, the bottom right position
 
8:36 PM
Daveception!
 
give me the height / width
 
@rlemon any new canvas experiments you been doing?
 
otherwise your question is unanswerable because what the fuck is the "most important" part of an image
@Dave working on a Terraria designer
 
@Dave [img.width/2, img.height/2] seems like a reasonable initial guess
 
ignore the ugly UI
 
8:37 PM
@Dave Do you mean face detection?
 
i'm working on that next.
@RyanKinal who knows
 
@Dave change your name im getting your pings this goign to get annoying :P
 
Man, this has to be really annoying for both of the Daves.
 
if there are boobs in the pic, those instantly become the most important part
 
@rlemon yay new blocks to play with
 
8:38 PM
but if it is a picture of pizza, well... then... I give up it is all awesome
 
@Dave wait, there are two daves?
 
It's not so much face detection, as it is something similar to what would be used for thumbnail generation... though I'm not using it for thumb gen
 
yes
 
I've seen in depth articles for it in the past, I just cannot for the life of me remember what the technical name for it is...
 
for all of my thumbnail generation I just center and crop/scale
works out pretty good so far
 
8:41 PM
@rlemon the click and drag it bit strange some times it works other times it doesnt =/
 
but otherwise I can't see a image detection algo that would EVER understand the context of the image unless you tell it to
 
haha, no never mind I found it
 
@Dave yea that is some shit I need to work on - as right now it is how it works in the game. but I don't like that
 
It's called intelligent thumbnail generation
 
@dave ok bye :P
 
8:41 PM
@rlemon, the reason that doesn't work all the time
is because the focus of an image isn't always at the center
thx guy bye
 
and if I have a picture of a dog, the focus is his face. but the face detection algo / data is MUCH different between a person and a dog.
so you wouldn't (afaik) be able to find a quick / small algo to consistently do this
 
guys
GUYS
 
@SimonSarris o/
LONG TIME NO SEE!
 
the array sorting mechanism in chrome is fucking broken
and I know I've been away (busy, honest!)
 
how so
 
8:44 PM
but I came here to bitch
because when I submit a bug nobody is gonna care
 
[3,2,1].sort();
[1,2,3]
 
@SimonSarris wat?
 
when you use a comparer function
 
please go on
 
and the comparer function returns all zeroes
 
8:45 PM
your claim needs some supporting evidence
 
this is what happens if u do face recognition software 4.bp.blogspot.com/-Jtus8MSt2UM/UEk14t-x4aI/AAAAAAAAAKU/…
 
some of the time, chrome changes the order of elements
 
[3,2,1].sort(function(a,b) {
  return a-b;
});
[1, 2, 3]
 
@SimonSarris it is free to do so
 
technically in the ECMAScript standard that's OK to do
 
8:46 PM
 
user1125394
!!> [1,3,2].sort((a,b)=> Math.round(2*Math.random()))
 
@cc "TypeError: Math.rand is not a function"
 
Dirthulhu
 
@cc [3,2,1]
 
@rlemon
[1,2,3,4,5,6,7,8,9,10,11,12].sort(function(a,b) {
  return 0;
});
[7, 1, 3, 4, 5, 6, 2, 8, 9, 10, 11, 12]
 
8:47 PM
@SimonSarris this follows the spec
 
technically legal in ecmascript
yeah thats the rub
who cares what the spec says
what other browsers do is more important if its sane
 
user1125394
!!> [1,3,2].sort((a,b)=> Math.round(2*Math.random()))
 
@cc [2,3,1]
 
@SimonSarris negative
 
!!afk food
 
8:47 PM
@RyanKinal I thought you'd never come back!
 
Huh... I wondered what would happen :-)
 
@JanDvorak lots of things in browsers aren't in specs
 
Anyway, for realzies
!!afk
 
@RyanKinal Just go already!
 
@SimonSarris this one is
 
user1125394
8:48 PM
the specs are 7 comes always first
 
This looks like one round of a threeway quicksort
 
user1125394
right quicksort I see
 
7 is picked as a pivot, swapped into the first position, rest compares as equal and isn't moved
not sure what #2 is doing, though
 
well this is no fun
 
ok so we sell OEM and we sell retrofit solution. Someone buying from one of our OEM partners just emailed and asked if our control system was better than theirs. (they are the same system)
tee hee
 
8:50 PM
any one got windows 8.1 ? worth getting or no ?
 
@Dave I use it
 
how do u rate it over w7 ?
 
way nicer
start street is 100% more useful than the start menu
 
@SimonSarris even on desktop?
 
there's no reason you need to see 90% of your screen when looking through a dim menu trying to find the app you wanted to open
I only use it on desktop
well its on my laptop too
 
8:52 PM
yuck
I fucking hate win8
change for the sake of change
 
shhhh
where's @Loktar when I need him
 
W8's touch interface makes more sense on touchbooks, though
 
and I 100% disagree with simon. The start screen is horrible.
 
well you can use a mod to take it back to windows 7 layout
obviously that will use a bit of ram
 
@rlemon its change for the sake of interoperability
 
8:52 PM
third party
 
user1125394
!!google windows 9
 
yeh third party
 
If you have an Xbox or windows phone or windows 8, the interfaces are now all the same
 
@SimonSarris bullshit, then allow me to disable that screen when not on a touch interface
*without the use of third party software
 
8:53 PM
that helps SO MUCH when you have a 72 year old father who's getting a smartphone
 
user1125394
o fuck 9 will be just like 8
 
> when not on a touch interface
 
@rlemon you use the start screen literally 0.00000001% of the time the computer is on, just when you want to search for a program or file that is not on your taskbar
aside from that, why does it matter?
 
yea i've used 8 for a few weeks
and hated every minute of it
 
user1125394
I don't want Apps on my desktop screen :' stupid idea
 
8:54 PM
isnt it using more memory than the classic desktop style
 
I've also used it on a tablet (albeit it was borked from the get go)
hated it as well
 
memory that i could spare to render 3d models :P
 
tl;dr we have desktop management software and I had to make sure it was supported on win8
so I have used it, this isn't a "used it for ten minutes and now has every opinion in the world"
 

« first day (1097 days earlier)      last day (3834 days later) »