« first day (1602 days earlier)      last day (3349 days later) » 

8:02 PM
:( babel doesn't have .assign
eh react provides it nice.
 
@Shmiddty They ought to code golf that website design
It looks like it was designed by a Perl programmer
 
user1596138
8:20 PM
@rlemon I didn't "read up on it", but you sure as hell should since you guys think this was so complicated. (meant to be a lil abrasive due to earlier comments. Not gonna hide it.)
 
@Jhawins you can take your abrasiveness and shove it :P I host the bot. I never have been in the 'server development' of it. and I've mentioned that a number of times. Kittens and Zirak are the ones who should be asked these questions. I just regurgitate what I heard from them last year.
so when people ask me ten times about 'server stuff' and the bot I tend to just tell them to read up or bug someone else. I don't wanna be a middle man (which I often still am)
 
user1596138
I used xvfb just like anybody else does headless testing. Them guys will just pretend my login script isn't a viable solution so there's no point in my contribution but I did proof of concept this afternoon and have it working... Albeit with the use of Node to do the authentication and to launch FF with the credentials
 
@Zirak and @SomeKittens ^^^
 
user1596138
Lolol nah. Dont ping me when you see that ^
 
user4330208
Is there a way to make the regex /0/ not match /10/
 
user4330208
8:29 PM
if I only wanted it to match specifically the single digit "0"
 
!!> /^0$/.test('0')
maybe
 
user4330208
u not trolling are u?
 
@rlemon false
@rlemon true
 
there you go
might not be the best regexp for the job, but works.
^ means from the beginning, $ means from the end.
hrmmm
 
user4330208
ohh i see
 
8:30 PM
!!> /^0$/.test('00')
 
@rlemon false
 
ok, good, that also works.
you could also use the word bounds
!!> /\B0\B/.test('0')
 
@rlemon false
 
I think
 
user4330208
You're actually not a bad person
 
8:31 PM
nvm
 
user4330208
Thanks.
 
np
 
user4330208
well, lets just say, I'm grateful
 
user4330208
so if "0" is an uknown variable I guess I could go new RegExp( '^' + variable + '$' );
 
that will fail as soon as variable has some special characters
 
user4330208
8:38 PM
thats why a newb like me makes sure no special characters enter into the playing field.
 
user4330208
if the user trys to enter a special character, browser immediately closes. computer shuts down.
 
I hear North Korea operates similarly
 
user4330208
Yeah, but my program and N Korea may behave similarly, but we have very different motives.
 
user4330208
incompetence vs megalomania
 
user1596138
8:41 PM
@SterlingArcher why would 2 fedex trucks be at the same house at the same time... suspicious
 
user4330208
How does something like that happen...
 
user1596138
Also that looks like a cool place to live (not the house the surroundings)
 
They ship it twice for package redundancy
 
user4330208
straight in the front door. looks deliberate.
 
user1596138
DIY walk-in
 
user1596138
8:44 PM
The van is the entrance
 
user1596138
8:55 PM
@Shmiddty the president of that investment company got suspended and 300 of his 500 rep removed for padding his rep from 2 separate puppets xD
 
@Jhawins bahaha
 
user4330208
!!> /^0$/.test( '10' )
 
@carb0nshel1 false
 
user4330208
!!> /^0$/.test( 10 )
 
@carb0nshel1 false
 
user4330208
8:56 PM
wtf is my program not behaving like that then @CapricaSix
 
user1596138
I was like I wonder if he just gave up.. But no
 
@carb0nshel1 10 !== "10"
unless .test calls .toString
but I would check that
 
user4330208
ill do a typeof but this is weird
 
or convert it to a string
!!> 10..toString()
 
@rlemon "10"
 
9:01 PM
Angular 1 will not be end-of-lifed until the majority of Angular traffic is directed at Angular 2: infoq.com/news/2015/03/…
 
user1596138
When we get visitors at work that are incredibly stoned... lul
 
user4330208
Why doesn't javascript understand modern english
 
user4330208
its 2015.
 
because it's a programming language
 
user4330208
oh crap, its working now!
 
user4330208
9:05 PM
Sweet! Thx guys. I forgot to save... lol...AFK
 
user4330208
yeah but smallTalk and COBOL are also programming languages.
 
neither smalltalk nor COBOL uses or understands modern english
 
!!afk kfa
 
user4330208
yeah but...its not fair cuz i cant think in code like an android and i just want my app to work
 
If you can't think in code and code doesn't understand English, you should probably go into marketing. Then you won't have to do things.
 
9:12 PM
glorious
 
user4330208
Captain America?
 
gif from Sterling Archer was moved
 
user4330208
@ssub my IQ is between 1 and 120. I'm not dumb. I know stuff, just not the stuff that you know.
 
@carb0nshel1 I was being rude to the marketing dept, not you.
 
user4330208
I bet you cant climb 50+ feet trees in less than 3 minutes
 
9:14 PM
If you want 'English' programming language, look into stuff like cringe Visual Basic
 
user4330208
K, my trolling isn't funny today. sorry.
 
@carb0nshel1 no idea, been too long since I was climbing. On a really easy ascent meant for quick climbs, I could do 30ft in 8-10 secs.
 
user4330208
seriosuly? lol
 
we're talking all two-hand holds, most where you could wrap your fingers around and actually get a grip
but yeah, being tall helps
 
user1596138
English to JS == pay a developer to build what you say
 
9:16 PM
if you go quickly enough, you can also just repeatedly jump from foot hold to foot hold, and make really good time
 
user4330208
lol wow. I was trying to pick an arbitrary thing that i Didn't think coders would do. You surprise me, friend.
 
you just use your arms to sort of aim, and push off with your legs
 
user4330208
@Jhawins "Ok, I want an app that allows you to communicate with your contacts". My code: document.write( 'Ok, I want an app that allows you to communicate with your contacts' );
 
Morning bitches
And by bitches I mostly mean @rlemon
 
user4330208
Advertisement: We code, what you say.
 
9:19 PM
You code what I say?? Well isn't that convenient :)
 
user4330208
yeah. unsuspecting start-ups will pay millions but little do they know we are just document.writing their instructions verbatim! THE PERFECT SCAM LOL
 
crl
@carb0nshel1 Are you using document.write in your app?
 
@carb0nshel1 That's not funny. How many times have we told you to not be a dick?
 
user4330208
AFK.
 
user1596138
lol he runs away from you
 
9:24 PM
planning to start your friday night with a nice old-fashioned kickban, @Zirak? :P
 
user1596138
He was acting like he could somehow reward a girl. I was going to say something about it but then I realized how pathetic it is that he thinks that's a real scenario.
 
user4330208
nah, i was just..thats not necessary.
 
user4330208
Kickbans are rarely ever necessary.
 
user4330208
I'm a coder just like you guys, I just have a unique sense of humor.
 
@carb0nshel1 might be a good idea to tone down the sexist comments, regardless of what sex they're from or toward. They tend to not go over well.
 
user4330208
9:27 PM
I see. I hear some people have found their soul-mates on SO, I'm always looking is all.
 
if you actually manage that, lemme know. Seems rather unusual.
 
@carb0nshel1 I don't mind trolling (if it's good) or humour (if it's decent). I mind sexism.
 
@Zirak but if you put your weed in the coke jar, you'll have to put the coke in the molly baggie, and then the molly will go on the blotter paper, and the acid will go in the ether jar, then where will the ether go?
 
crl
They probly meant to do like someone had already checked the package for weed and marked it
 
9:42 PM
just curious, do you guys do anything to protect yourselves from infinite loops when coding?
getting really sick of restarting my browser :f
 
sorry I always pop in to bitch about something but look at this: code.google.com/p/chromium/issues/detail?id=464835
 
(aside from not writing infinite loops ._. )
 
Rather, riddle me this: codepen.io/simonsarris/pen/GgXjBG
Chrome image rendering massively slows down after some cutoff in cumulative pixels drawn during a loop batch
why oh why
 
wow
^ so weird
 
@ElliotBonneville Guard loops with a counter
 
Crossposting because it's friday:
in HTML / CSS / WebDesign, 6 mins ago, by PeeHaa
I am thinking about starting a new project which will be a GUI for PHP code quality tools (think unit tests and other tools) and I need some html / css / webdesign people to make it not suck. Ping me tomorrow when I am not drunk if you feel like contributing
 
omg its friday!
 
@PeeHaa Ah, how all PHP projects start: drunk.
 
@SterlingArcher welcome to the 21st century
 
If somebody could pin that cough cough :)
@SomeKittens :D
 
9:45 PM
@PeeHaa pin'd
 
ty
 
thanks @KendallFrey <3
 
I don't think there are many designers here who are not in the webdesign room
 
I swore off reporting issues to chrome anymore but this one is really annoying
 
@SterlingArcher Specially for you
 
9:47 PM
@SimonSarris Have you reported many bugs to the Chrome team already (I just recall one or two)
 
NOT FALLIN FOR IT THIS TIME PEEHAA
 
:'(
 
@copy I've reported 29 apparently: code.google.com/p/chromium/issues/…
 
> 1 - 35 of 35
Yeah, ouch
 
report to chrome team:
crickets
or a year later "hey this got fixed can you close it?"
crickets
robot comes around "lol autoclose"
unless I tweet at somebody and whine
but I do not like to whine
report to firefox team:
"oh hey that's already fixed in nightly but thanks"
"oh hey we'll fix that" ~1 week turnaround time from report to patch on a few different bugs, no lie
TO CHROMES CREDIT
they are a little better now than in 2010-2012, but still haphazard
and the one security bug that I found in nightly (you could draw arbitrary parts of the webpage onto a canvas)
they took VERY seriously, fixed it very quickly, and gave me money?
 
9:52 PM
@SimonSarris teach me your ways!
 
makes me want to go find some security issues in chrome
 
@SomeKittens you are #1 on HN!
and what ways! there are no ways
 
I wonder if I could find security issues in chrome for a full time job
(actually that would suck, nevermind)
 
the security issue was "I'm trying to do something and its not worki- WHY IS IT DRAWING PART OF THE BROWSER WINDOW INTO MY CANVAS THIS IS BAD"
I am not clever enough to go looking for security issues
 
@SimonSarris Technically, tptacek is #1 and I got lucky enough to open Twitter at the right time.
My writing sucks
 
9:53 PM
what were you even trying to do that that happened?
I've never accidentally rendered the window onto canvas before
 
and I've stopped publishing for now. Too much "silly youngfolk - you'll understand when you're older"
 
@ElliotBonneville it was like something funny with the bounds arguments to drawImage()
 
@PeeHaa just because I let you be the outer spoon, that doesn't make me your bitch.
 
:P
 
9:55 PM
that was the bug, it was really simple and should never have happened
> @simon.sarris: thanks for being the first to notice this regression! Since it's a security bug, and you were the first, this qualifies you for a provisional $500 Chromium Security Reward :D Congrats!
#feels
 
@SimonSarris wow XD
 
If you had $500 for every time you noticed something that shouldn't happen...oh, wait, you do!
4
 
I feel like merely being the first to notice something that anyone would notice in a few hours is undeserving of money
@SomeKittens LOL
 
@SimonSarris it's not as if Google is going to miss the $500
probably used to encourage other people who might then go and search out issues. good investment imo
 
see its stuff like this
I reported this THREE YEARS AGO
 
9:59 PM
@SimonSarris I just feel like there's this huge gap between me and the next level. Not sure what it is or how to overcome it.
 
crickets all around
its super easy to reproduce
@SomeKittens what do you mean? we should talk about that some time
 
1 message moved to JS trash
 
ftr I feel the same way @SomeKittens
 
@carb0nshel1 those messages are considered trolling and for a non regular will land you in a ban.
 
@ElliotBonneville Have we met? You sound familiar.
 
10:01 PM
@rlemon It did
 
@SomeKittens I drop by occasionally
 
@SimonSarris Would love to! Hopefully in a less Google-indexed place.
 
@Zirak ahh. On mobile so can't see these things
 
@SomeKittens well you can always google or fb chat me, and I do write/reply to long emails
I try to write like 500-1000 words a night to friends now, on not-busy nights (like 4 nights a week)
 
@SimonSarris I'll word-vomit all over Inbox and see what happens.
 
10:04 PM
my name at gmail :D
 
@SomeKittens I assure you my gap is bigger than yours.
 
@rlemon idk I feel like I see people lightyears ahead of me and not sure how they got there. pretty sure I've the biggest gap
like do some people make contributing to random github repos a full time job?
 
I got where I am slowly and painfully and it was fun as hell but also aged me horribly.
then I see others who surpassed me in a fraction of the time... then I drink.
 
@rlemon you make it sound like you've made a career out of knife fighting, not programming
 
@rlemon You can dev professionally in more than one language
 
10:07 PM
languages are all the same
 
@SomeKittens you know much more about design patterns than I do
 
oh, oh. I know what design patterns are!
 
thinking about things, thinking about thinking about things, etc
 
Design patterns suck
 
thats where its at
 
10:08 PM
like Simon says, languages are all the same (similar, to an extent)
 
@SimonSarris nah
 
@Zirak languages except fucking prolog are all the same
...imperative languages are all the same
 
@SimonSarris prolog is just inside out
 
Algol like languages are fundamentally built on the same basic building blocks
 
10:08 PM
@Zirak after learning your first programming language, the second comes much easier (imo)
 
But thinking in OO or functionally or declaratively...
Lisp likes are also radically different
 
@rlemon noooo
 
i've seen your code. it's much cleaner and more organized than mine.
 
functional langauges are all the same
 
@SimonSarris Prolog is stupidly wonderful
@rlemon that's because I use spaces and comma-first
 
10:10 PM
if they're not just implement the other one inside of the one you're using and off you go
 
hurr hurr
 
REBEL-like languages are all the same
 
I bulk replace that first actually :P
 
I should try to find languages with the same paradigm as REBEL to compare them
 
rlemonify
!!afk coffee
 
10:10 PM
I want to say, I love javascript, but its not true. I love the tools around it, chrome dev tools and FF dev tools
the language itself could be something else entirely, as long as those good tools were there I'd be v v happy
 
I love js because now I can pretty much use it everywhere. one language to rule them all.
 
oh god
 
I love js
 
welp I'm out for now
ttyl all
email me randall!
 
10:12 PM
i'd better run too
bye o/
 
Why do we circle back to the point where everyone says "I'm stupid beyond recognition"
 
I don't think I'm stupid in the slightest
I just am jealous of skillsets others in the room possess and how quickly they have gained their abilities in programming
 
@darkyen00 OH MY GOD LOL
 
@SimonSarris es6 bro, it's like JS but good at stuff
 
@SterlingArcher BECKY, LOOK AT HER BUTT
3
 
10:21 PM
oh god how did I watch that all
I'm literally dying over here
 
i need to learn me some fortran
fortran iv
 
and I still have 8-bit Friday in my head
 
like a boss
actually i just learned cross document messaging was a thing, and feel really dumb for not knowing about it
:(
 
@Rooster fortran iv-tran?
 
10:27 PM
@ssube דtran
 
lol
oh yeah
ba I'm just brainstorming because I have no idea what to be doing at work right now
learning fortran will open alllll kinds of doors 4 me though!
 
tran doors?
 
all kinds
*doors
 
are you sure?
 
1==1
 
10:30 PM
except on intel
 
dude youre getting a dell
 
What do you guys use for gif screencasts?
 
liceCap
 
10:45 PM
@rlemon Just like Java
 
10:57 PM
@SterlingArcher youtube.com/…
LMFAO AO AO
 
damn he got knocked the fuck out in the last one
 
lol
atleast he didn't got shot
damn its not real x)
 
11:13 PM
@KendallFrey DO WANT
 
11:29 PM
 
11:52 PM
> debug.html:1 Uncaught SyntaxError: Unexpected token u
 

« first day (1602 days earlier)      last day (3349 days later) »