« first day (1593 days earlier)      last day (3578 days later) » 

user1596138
18:05
@corvid "findOne" most descriptive function name evar
user1596138
Function findOne() { return 1; }
good afternoon kitten
^ that
@Loktar now that I think is so is @SecondRikudo - we worked on translating the site to Hebrew.
18:13
nice thats pretty badass
eh, first time i heard about the UGT
!!xkcd ten thousand
I'm a daily lucky 10,000
i've been too long in my catacombs ...
should visit this chat more often ...
18:17
@KarelG be careful it has a way of sucking time away from you
I dunno, reviews have been mixed: "This chat is nothing but a bunch of basement-dwelling losers"
Lol, I'm in like 5 chats :D I just turn them off when I have to focus for an hour or two.
!!live
@BenjaminGruenbaum And on this day, you shall paint eggs for a giant bunny.
yay
!!roomowner
Apr 13 '14 at 19:10, by Benjamin Gruenbaum
"Official coordinator of JavaScript and advanced web technologies discussions at StackOverflow. Spearheading analysis and design of multilayer multi tier web technologies in a high frequency peer reviewed environment"
18:17
@SomeKittens a chatroom on the internet is a bunch of dwellers? nowai
@Loktar improving the frequency with 5Hz doesn't notice anyone. So, it's fine :D
unless you're a kitten ...
@ssube too bad my dad lives in my basement :(
otherwise I could be living the dream
@Loktar make your dad chat for you?
@KarelG your point being?
@ssube good idea!
in fairness he plays pc games all day and is awake from 5pm-6am so he is truly living the stereotype lol
18:22
@SomeKittens you've introduced me in something new (that UGT) , which lead to a wish to visit this site often.
@KarelG No, on the "unless you're a kitten" comment.
'twas a joke
<- SomeKittens
it's a ;) joke
@SecondRikudo why ?
@BenjaminGruenbaum That's how she died last time
Two non roomowners killed her
18:23
Why did you kill the bot?
!!live
@BenjaminGruenbaum And on this day, you shall paint eggs for a giant bunny.
@Unihedro ping
I wonder, was muting removed?
Also, who killed her (link?)
!!mute
@BenjaminGruenbaum That didn't make much sense. Use the !!/help command to learn more.
in Teenage Programmers Chatroom, 51 mins ago, by Caprica Six
@Unihedro Registered; need 1 more to execute
Maybe it needs a non room owner
how often does the bot go mad?
@Loktar Looks safe
woo India
18:30
rappelling down seems simpler and safer
and cheaper and easier
haha yea
user1596138
@nderscore did you ping me? I can't find it..
!!ban Unihedro
@BenjaminGruenbaum Unihedro added to mindjail.
!!ban Nordehinu
18:32
@BenjaminGruenbaum Nordehinu added to mindjail.
Don't kill the bot :S
or, you know, write better specs
@Jhawins I did, but I baleeted it because I was being stupid and misunderstood something
user1596138
Ah ok
user1596138
@Loktar They look attached to the wall?
user1596138
18:36
If so.. I climbed a water tower in 2014 so. I want some glory too
dude idk look at the bottom
its bowing like crazy
user1596138
jeez
climbing a water tower is still crazy though lol
user1596138
You right
I hate climbing onto my roof
user1596138
18:39
Yeah there was literally a layer of ice on everything last time I did it. I was skating around the rim hahaha it was sweet
@Loktar Dude I ran around on roofs all the time as a kid
user1596138
And I'm like where's my bro at... He's latched onto the ladder 3/4 of the way up freaking the fuck out hahahaha
@Jhawins haha
yeah that would be me
user1596138
@Loktar Haha can she do handstand pushups? I can barely do that if she can I'm officially scared
user1596138
18:40
Also bad @loktar fix that unsafe outlet you have children :P
eh they are all over 9 now
should be good
user1596138
Haha yeah who cares
@Loktar "You told me last night you couldn't do that position, now I have proof, get busy"
user1596138
They won't touch it twice either way
@KendallFrey LOL
18:41
@Loktar that can be a new stance.
@Loktar Don't let them watch Grant Thompson
user1596138
Psh timers exist nvm
I so want to make a welder from a microwave
user1596138
@KendallFrey I basically have that.
user1596138
Remember pepsi can avatar haha
18:42
that's different
high voltage vs low
user1596138
Psh it all melts everything anyway
also make the transformer hot
low voltage is much safer
@KendallFrey like Arcee hot?
user1596138
It will snake through a piece of wood in under a minute
user1596138
Fucking foot long piece of wood. You would think that would be safe to touch it with but no. It will burn a trail straight through it and literally set it on fire hahaha
18:44
phrasing lmao
user1596138
So I play the close nuff card here
@Loktar woa dem thighs
haha
@Loktar i'm happy that this image isn't a rule 34 one
talking with a co-worker about how he fucked up a proto board and "males cannot connect with males" (talking about pin connectors) overheard by another co-worker who now thinks we're both against same sex unions
kinda funny
18:46
why rule 34 rule 34?
porn porn
user1596138
Dur......
:( don't ruin my childhood
oh gosh
that's pretty nsfw
user1596138
18:48
Not really..
that's surprisingly explicit
user1596138
Unless theres a robot wiener I don't see or something?
hey all, is it better to include return in a function than to not?
function setAttributesOnElement(element, name, value){
element.attr(name, value);
}
@Jhawins there's a robot vagina...
@Blexy are you returning anything?
user1596138
18:49
@KendallFrey oh shit didn't notice that. I mean it's not really a vagina tho
@Blexy that whole function is all sorts of wrong. Why are you wrapping an OO interface with a procedural one?
well a weiner wouldn't be either
user1596138
Is she naked by default?
user1596138
I guess it is then
i mean, a jpg isn't a naked woman, it just looks like one
18:50
especially when your boss looks at it
user1596138
lol idk if my boss saw that he would think I was really kinda strange but I definitely didn't consider if nsfw at all, just provocative. I removed it since my opinion isn't average
@ssube, well all I want to do is update the the element with an attribute, so i guess that means i am returning an updated element
user1596138
I really didn't notice the camel bit tho lol
well anything is sfw for me, I am alone
user1596138
Hahahahahahahaha omfg the image I just saw
user1596138
18:52
I'm alone too after 12:30 every day
@BenjaminGruenbaum, could you explain? I'm still learning...
@Blexy you could return the element, sure. That would allow chaining, which is nice.
user1596138
LMFAO note to self - old school transformers rule 34 is the most fucking hilarious thing in the world
"Blexy" must be how you spell a vomit sound
user1596138
I am dying hahaha
18:53
call 911
Don' forget to steal the police car to continue the vigilance mission Kendall !
@ssube, so is it a best practice to use return?
@Blexy if you're working with something you can chain, yes, it's nice to do. If you're actually returning a value, obviously yes. Otherwise, no, not really.
@ssube, thanks
function Foo() {
  return new Foo();
}
new Foo('ception');
19:02
the program would still terminate lemon
I will terminate you!
looks kinda like duke nukem
if he were a minion
@nderscore now that is all I can see
thanks
> I've got lemons of steel
19:06
grow some lemons man. seriously.
testes are more lemon shaped when you think about it
that's a badass lemon
mom?
19:12
HAH !
what would the proper way to do this be?
reqwest({
    url: 'someapi',
    method: 'post',
    type: 'json',
    data: someData
})
.then(function(data) {
    return data.someID;
})
.then(function(data) {
    return reqwest({
                url: 'someapi',
                method: 'get',
                type: 'json',
                data: data
            });
})
.then(function(data) {
    // return the data
})
.fail(this.failed);
I call an api, get a result back that I then have to use to call again
reqwest? wtf
is that Kimye's next child
requests return JSON, reqwests return wabbits
but I assume how to handle the promises would be the same as in other libraries
I'm a promise noob
would I do a then within the 2nd then.. and return the result?
/me tries
19:19
@Loktar wow, that name is intended ? For a person-not-knowing-that-lib he would rather think at a typo :|
@Loktar That'd annoy the bazingas out of me
@Zirak which part, the library name.. or how I'm going about it?
the name is annoying I agree lol
The library's name. I'd double take at every usage.
@Loktar Bluebird?
haha
19:21
Also, isn't ded dead?
shit is he?
my co-worker yelled at a waiter during lunch because he sucked so bad xD
I was dying trying not to laugh
his git history isn't crazy packed
but it was a library recommended on the react page that talks about what libraries work together with it
@Blexy why did you put it in a function?
He gave a talk some time ago about how he's slowly giving up on the OSS world.
19:22
@SecondRikudo I should look at bluebird, however it just provides promise functionality right? Like I would still need to use some xhr library with it
@Loktar Yeah, bluebird is just promises.
Are you allowed to use ES6 (as in, babel)?
yea
I am currently using it
@Loktar what do you need your XHR to do?
just standard stuff get/post/put/delete
I dont need anything special, I just used this since it was a recommendation on the react page
and has nice browser support
Just use a normal XHR wrapped in a function to return promises
It's a trivial, 10 line implementation, at most.
Oh, you can promisify it - using a normal XHR wrapped in promises is 10 LoC yeah
19:26
does bluebird support IE9?
thats the lowest one I have to support
the support chart looks weird, red for ie10/11, and grey for everything else
export function get(url) {
    return new Promise(resolve, reject) {
        let xhr = new XMLHttpRequest();
        xhr.open(url);
        xhr.onload = () => resolve(xhr.responseText);
        xhr.onerror = reject;
        xhr.send();
    });
}
Help please :)
@SecondRikudo you might want to resolve with xhr.responseText
@SecondRikudo oh is that using es6 promises?
export function xhr(url, method = "GET", data = null) {
    return new Promise(resolve, reject) {
        let xhr = new XMLHttpRequest;
        xhr.open(method, url);
        xhr.onload = () => resolve(xhr.responseText);
        xhr.onerror = reject;
        xhr.send(data);
    });
}
@Loktar or bluebird, whatever you have loaded
19:28
@Loktar That's using promises in general.
Also - please help with news.ycombinator.com/item?id=9108925 so people learn about io.js 1.4
@BenjaminGruenbaum No account
make one :D
upvoted
@BenjaminGruenbaum Don't link directly to the page
19:29
My bad, yes account.
upvotes from that don't count
@SomeKittens oh, didn't know that
go to news.ycombinator.com/newest and upvote from there
Thanks
news.ycombinator.com/newest go to "io.js 1.4 released – featuring debuggable ES6 promises" and comment :)
3
weird, for me it shows 3 on newest
wont let me reupvote :/
19:30
no worrieds
It might be too late...
user1596138
I would totally go upvote. But the "hacker news" site is such a POS I just leave every time I follow a link there.
user1596138
Dat login page
and yet, somehow they manage to do just fine.
19:42
@SomeKittens VC. It lets you be shitty.
@Jhawins reddit :P
nuff said
does it have to be a fancy website Jhawins ?
if you have good content, maybe your design can suck?
Oh, someone post io 1.4 on reddit for karma at /programming
All websites should be fancy, that's what we have CDNs for.
user1596138
19:42
You should make an effort. That was all I mean haha
user1596138
i.sstatic.net/bVHAo.png // dat effort is not much effort lol
user1596138
Didn't say anything about the content. Didn't say the site was bad. Anything other than "that's pretty pathetic design for YCombinator" is just speculation into my opinions
It works in lynx
it's the site owner's choice to stay classic.
user1596138
Haha classic. I guess that's something you could call it
19:45
not having 'style' doesn't bother me
THIS OTOH...
<body bgcolor="#ffffff" alink="#0000be">
user1596138
Hahahahahaha
user1596138
This is what I meant. It lacks effort.
user1596138
style="height:5px"></tr><tr><td align="right" valign="top"
@rlemon good lord
user1596138
For something that helps us keep track of the cutting edge of technology... It looks like it has been there since before I used the internet
19:47
@ssube Do you mean startups funded by VC means you don't have to deliver a product, or the fact that HN is done by YC means they'll get people regardless because they give away money as a product?
@Jhawins Define "effort" - an entirely new programming language was developed for HN
@Jhawins well at least they have a pretty favicon
so +1
yo ho ho
HN is ugly as sin. I use it when people here ask me to upvote stuff.
but @rlemon they do have a pretty favicon!
@SomeKittens both
@Loktar all that matters really
19:50
The idea that VC funding means one doesn't have to deliver is laughable.
if I can find the tab, I can return to the tab
yea
@SomeKittens isn't that completely backwards? VC pressures you to deliver
As far as I understand venture capital, a magic corporation run by an evil villain hands you money every so often, which you spend on macbooks and out-of-state developers.
2
19:51
@BenjaminGruenbaum Correct - "here's some starter fluid. When I come back, you'd better have a bonfire"
@ssube don't forget the energy drinks! fridge must be full
@rlemon or beer, if you want that edgy office culture.
or juice boxes if you work at @SomeKittens's company
:P
At least 15% of the money must go to renting an unnecessary office, and 20% should go to recreational activities and serving company lunches.
where ever @monners works allows you to double fist coffee and redbull.
I think they encourage it actually
19:53
@rlemon They'd set up IV drips but Australia is upside down so they don't work.
You must colo at least 2 full racks of servers (all 96u) for the load that you'll inevitably get when reddit finally approves of your business model.
@ssube nah, man, AWS all the way!
@SomeKittens :groans:
Though paying too much for servers "just in case" is so far the only thing on your list I've actually seen.
ha! we do that
not my money, and I got to choose the server
:D
19:54
@SomeKittens what about the stupid nice office and unnecessary recreation?
At a previous company: "Load tests show degradation at 250 simultaneous users! We should upgrade everything!". Max simultaneous users seen: 3.
@rlemon I keep a secret stash under my desk next to my gimp
screw it going with superagent + superagent-bluebird-promise
@ssube we don't do that. Also those numbers are kind of off.
@ssube I haven't personally seen overblown offices. Free lunches, yes.
19:56
@SomeKittens "we should be able to support 10000 concurrent connections with this server" max users online, ~85 of 250 total
If having swag in the office and going to recreational activities gives you badass developers it's also worth it. Developers vary by a large scale.
@BenjaminGruenbaum Who doesn't allow swag in the office?
Well, there's allowing and there's having.
my office doesn't have a choice honestly
unless they want me to work from home everyday
"Recreational activities" makes me think everyone's going to the swingset.
19:57
my office walls are littered with xkcd comics
I have rubber ducks in my windows.
My company is covered in swag. Our breakout area even has a SNES emulator and Super Mario decals on the walls
@monners ewww an emulator
come on!!! :P
brb chrome is taking the piss
the real deal is like $50
user1596138
19:58
I didn't say anything about VC Lol. I just said HN looks like shit and I don't see much effort
user1596138
Maybe they spent 3 years coming up with that design hahaha
@Jhawins There's a chrome plugin that makes it look and function much nicer
all of my chrome tabs just lagged the hell out
@BenjaminGruenbaum of course they are, I'm just making fun of VC-funded startups
strange. CPU usage was only 75% and memory was only half consumed
user1596138
19:59
I've been sitting in my truck waiting for my bigass tire to inflate for entirely too long

« first day (1593 days earlier)      last day (3578 days later) »