« first day (1816 days earlier)      last day (3132 days later) » 

2:00 PM
or just copy a file
 
@MadaraUchiha yeah made sense when you pointed it out right away
 
wtf @AwalGarg ?
 
@JorgeBaumann 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.
 
@JorgeBaumann what is "wtf" in that?
 
2:02 PM
> July 28, 2011 | 1:00 AM
 
yes?
 
I mean why, why did u post that?
 
Why did you click it?
 
Science gets us off here
Oh baby, put more water in my space ~
 
2:04 PM
Why did you do whatever you did which brought you here?
 
@rlemon Those are actually really good haha
 
lol's
 
Why did @Cereal not brush his teeth today?
 
Where do you live that cereal has teeth?
 
Wrong. The answer is Cereal's mustache doesn't let him brush his teeth.
 
2:08 PM
@Cereal In Soviet Russia
 
@rlemon hah I've thought about it actually
but it would take a lot of time away from the family
saving a lot of that for retirement :p
 
I finished 2 of my Steam games
 
how does one wear out a PC?
 
Cut holes for your arms?
 
I've had PSU's die from over use
 
2:10 PM
but how do you "finish" games like Terraria, Cities: Skylines, KSP and so on
 
@GNi33 You define a goal and reach it
 
Terraria you can sort of "finish"
just beat the bosses right?
 
Terraria actually has an end-game doesn't it?
 
"build house in Terraria" boom, done
 
Terraria can be said to be done after hardmode is unlocked, after all bosses are defeated or after all corruption is dead.
 
user3119231
2:11 PM
how would you create an fullscreen image on thumbnail click?
 
Depends on how hardcore you are.
 
@GNi33 I finished KSP
 
KSP, would be a case of defining a goal for sure though
@KendallFrey wait you can?
like land on every planet or something?
 
Career mode
 
ahh nice
 
2:11 PM
Spore
 
oh, right, it has career mode now
 
drives to work real quick
 
Settle on every single planet
glwt
 
user3119231
@MadaraUchiha I like it hardcore.
3
 
Speaking of settling on every planet
I can't wait for that fucking space planet exploration game
 
2:13 PM
@MadaraUchiha Now do it in ED
 
@Cereal graphics look lame
concept is cool
 
Aww that kid collecting his balls GIF is soo cute
2
 
@KendallFrey ED being?
 
@rlemon Yeah they do, but it looks aweshum
 
elite dangerous
 
2:14 PM
@MadaraUchiha Erectile Dysfunction
 
> Settle every planet with erectile dysfunction
 
once you've finished that, do it in Space Engine
 
Sounds like a challenge.
 
@AwalGarg And now you're on a list
 
@MadaraUchiha Shouldn't be too hard
 
2:14 PM
@BenFortune ?
 
With erectile dysfunction, settling is the least of your worries. Or rather, the most.
 
@AwalGarg (Watching kids play with their balls is illegal in the US)
 
@Cereal ahah
 
I'm glad someone got that
 
@KendallFrey do you still have to pay the escort if you didn't rise to the occasion?
 
2:15 PM
@Cereal like I give a fuck
 
@rlemon time is expensive
 
So a discount at least
 
I am just watching the pixels on my laptop screen change color.
 
@AwalGarg RedShift?
 
@AwalGarg nothing is changing color, just becoming more or less transparent in the right places
 
2:17 PM
^
 
that's not a red shift, if that's what you mean
 
How do I search for posts from a user in this thing?
 
user1596138
I got pulled over cause my transit plates expired on the 4th lol
 
@Cereal click on their chat profile "messages from this user"
 
user1596138
I was like no bro, those are 9s not 4s.
 
2:18 PM
@Cereal enter it in the search page
 
user1596138
He decided I was being a wiseass.... They are really 9s.
 
Your mom's a 9
 
no, she's really a 4, your standards are just low
 
user1596138
Yep she a pretty lady
 
:(
With ED, standards aren't the only thing that's low.
 
2:21 PM
@KendallFrey so the calculator everyone pined over was made by some 16 year old kid
 
Ugh, search terms have a minimum length
 
user1596138
"haha dude I swear these are supposed to be 9s lets look at the bill of sale.... Oh the 9 on the bill of sale also looks like a 4... We can just go with 4s I see it too" lol writes me the ticket
 
@Cereal what are you looking for
 
@Cereal So do your mom's terms
 
@rlemon How many times you've said "^" in this room
 
2:22 PM
@rlemon Now tell me how to do it in Terraria
 
Getting downvoted for answering with ES2015, wheyyy.
 
@BenFortune needs more jqwerty
 
@Cereal write a scraper and check the transcript
 
@rlemon effort
 
Do node sockets retry connections after some timeout?
 
2:27 PM
@corvid What kind of sockets?
 
net.Socket
 
So TCP?
 
Probably not
But you should be able to set a timeout and the retry yourself
 
user1596138
@BenFortune link
 
2:30 PM
@LanaKane They removed it, but it was this
 
user1596138
Ah.
 
user1596138
@rlemon lol make one of the prizes a Sublime Text license
 
@Cereal I have like 70% of the boilerplate done if you are willing to walk down the rest 30% of the road.
 
user1596138
> your prize is no more nag messages!
 
2:33 PM
What's this "12 days" thing?
 
@SterlingArcher aww picture was removed
 
user1596138
@BenFortune He does a drawing before Christmas and gives away prizes for 12 days
 
I just love the tree fiddy comment
 
user1596138
Basically.
 
@AwalGarg Hm, actually do my job, or write code that's only going to be used once
 
2:36 PM
ofcourse not
 
Ah, it's kind of annoying because I have multiple sockets
 
user3119231
let the dude pass! i.imgur.com/R0BolPI.webm
 
user1596138
@Maurize Plot twist there are people in that dumpster!
 
user3119231
@LanaKane well played, we ll played.
 
2:39 PM
@KendallFrey space hooch
 
user1596138
@rlemon lol I saw that I thought it was cool how all the air starts rushing out so fast you see a ploom of mist/dust
 
user3119231
again 20 minutes with you crazies remaining until freedom
 
raccoon raised by dogs
 
> they said I could become anything, so I became a submarine
 
user1596138
 
user1596138
Murica
 
@Cereal third frame
me and my gf
 
Lolol
 
user5020521
hi guys how come invalid regular expression group? : SyntaxError: invalid regexp group
 
user5020521
this is the js
 
user5020521
2:43 PM
function ValidURL(str) {
    var pattern = new RegExp('^(https?:\/\/)?'+ // protocol
                             '((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|'+ // domain name
                             '((\d{1,3}\.){3}\d{1,3}))'+ // OR ip (v4) address
                             '(\:\d+)?(\/[-a-z\d%_.~+]*)*'+ // port and path
                             '(\?[;&a-z\d%_.~+=-]*)?'+ // query string
                             '(\#[-a-z\d_]*)?$','i'); // fragment locater
    if(!pattern.test(str)) {
 
@Cereal Trash pandaaaaaaaa!
 
Does the connectListener on a net.Socket fire whenever the connect event happens?
 
@Riccardo990 ew
 
user5020521
the first line is marked as invalid when I try to debug the line
 
> I wonder how space weed would be like if they'd grow it up there.
> Pretty high I would guess
 
user5020521
2:44 PM
@rlemon am I doing anything wrong?
 
new RegExp is questionable here
also your string concatenation is ugly.
 
user5020521
what do you mean with new? mine is too old?
3
 
lol
glhf
 
user5020521
I've found this code on a question here
 
user5020521
I was unaware of its inadequacy
 
user5020521
2:47 PM
and what about the ugliness of the string concatenation? what can I do to do better?
 
user3119231
@Riccardo990 how about using jsfiddle. is much better :) jsfiddle.net/fq0ho9su
 
user3119231
btw is saying invalid regexp group (f12 makes some magic console stuff)
 
user5020521
thank you and that's right @Maurize gimme some time to update that fiddle so that I can show you how I call that function
 
user3119231
-> As I learned some regexp I've used regexr.com
 
user3119231
It is a nice editor for trying your regexp
 
user1596138
2:50 PM
14
A: Check if a Javascript string is an url

Tom GullenA related question with an answer: Javascript regex URL matching Or this Regexp from Devshed: function ValidURL(str) { var pattern = new RegExp('^(https?:\/\/)?'+ // protocol '((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|'+ // domain name '((\d{1,3}\.){3}\d{1,3}))'+ // OR ip (v4) addr...

 
user1596138
You could just post the link to the answer
 
user1596138
Function returns: SyntaxError: Invalid regular expression: /^(https?://)?((([a-zd]([a-zd-]*[a-zd])*).)+[a-z]{2,}|((d{1,3}.){3}d{1,3}))(:d+)‌​?(/[-a-zd%_.~+]*)*(?[;&a-zd%_.~+=-]*)?(#[-a-zd_]*)?$/: Invalid group Google Chrome (Version 30.0.1599.101) (Mac OS X: 10.8.5) — dr.dimitru Oct 19 '13 at 13:37
 
user5020521
jsfiddle.net/fq0ho9su/1 please look at the updated fiddle @LanaKane @Maurize @rlemon
 
user1596138
Be aware that if you use a string as a parameter for the RegExp you have to double escape the backslashes - otherwise you get errors like invalid group. — Kjell Jun 5 at 16:13
 
user1596138
Maybe if you just read the comments ;)
 
2:51 PM
@Riccardo990 return !!URL(str) shall do in the browser environment.
 
@Riccardo990 I'm not really interested. sorry. good luck have fun
 
speaking of regex, does anyone know how to make sense of deobfuscated code? even after it's deobfuscated, there's tons of unintelligible regex..
 
@LanaKane so, OP is just a vamping bastard? shall I start handing out pitchforks?
 
user3119231
Please update his fiddle and give out link.
 
user5020521
@AwalGarg try to update my fiddle with your suggestion
 
user1596138
2:53 PM
@rlemon Yeah, he pulled code from an answer to ask us about but didn't stop to think maybe the comments address the issue lmao
 
user5020521
thank you
 
@Riccardo990 stop vamping
you've been given suggestions
figure them out on your own
 
user1596138
@AwalGarg I bet you can't update his fiddle with your suggestion
 
@Riccardo990 yes sir let me do your work for you for free ok wait now updating thanks
 
obfuscation, no breathing, don't give a beep if I decouple your meaning
 
2:54 PM
Good thing I didn't go to the doctor
My back still hurts but it feelx 10x better today
 
user5020521
@rlemon i didn't mean to vamp @AwalGarg I din't ask you to make the job for me I just didn't understand your suggestion and how to implement it
 
@SterlingArcher dude, I told you @KendallFrey's mom needs supporting braces if you're going to partake
 
@rlemon well you could have fucking warned me in advance >=(
inb4 s/ing warned/ed/
 
!!> URL
 
@AwalGarg "ReferenceError: URL is not defined"
 
2:55 PM
rekt
 
@rlemon ^ can be whitelisted? It is pretty harmless @Zirak
 
don't ask me
 
user5020521
matter of fact I just got confused with that syntax error related to regExp invalid group
 
user1596138
@AwalGarg what
 
@Riccardo990 go to the place you lifted the code from and read the fucking comments like @LanaKane pointed out
 
user1596138
2:56 PM
You can't just call URL @AwalGarg
 
ah, missed new
 
user1596138
You have to use new
 
user1596138
No it won't work here anyway but I meant in general :P
 
user5020521
@rlemon I don't wanna get banned another time so I'm trying not to be rude
 
...
 
2:57 PM
You don't typically get banned by reading things
 
I said read the comments
 
user5020521
I read the comment but I simply found them unclear
 
user1596138
@Riccardo990 You stole that code copy/paste from an answer on SO. Go read the comments on that answer and then disappear.
 
go home @Riccardo990 you're drunk
 
user3119231
how about if everyone calm their asses? :D
 
2:57 PM
@Maurize had chilli's last night
my ass isn't calm
 
Speaking of banned, I wonder when YourAdrenalineFix's suspension will be up and he comes back for more
 
user5020521
@Maurize this time I din't do anything and stole anythinh
 
user5020521
@rlemon i'm quite sober
 
@SterlingArcher he changed his name
and updated his profile to "remove me"
 
Where is my hero "Code penis better" aka "php_purest" these days
 
9 days left xD
 
chat users stick around for whatever reason
@BenFortune main account is gone m8
 
oh rip
 
user3119231
2:59 PM
however my children, I have to go home and speak with people who don't understand what I am showing them / explaining them.
 
user5020521
@LanaKane thank you for your suggestion I will disappear quite soon just gimme da damn time to read the comments
 

« first day (1816 days earlier)      last day (3132 days later) »