« first day (1822 days earlier)      last day (3144 days later) » 

6:00 PM
and yeah, I think that's true... so...
oh wow, yup
I can take out everything that has a multiple of 7 as a factor
 
crl
@towc it's even divisible by 42 so come one do it with at least 7
 
so I'm left with just k^7 - k % 7 = 0
yay! This works!
thanks guys, you're good listeners ;)
 
crl
I find an answer on yahoo answers, see it at your own risk sg.answers.yahoo.com/question/index?qid=20110405041134AA2sZkj
it's actually good, using Pascal triangle like you said
 
I don't need yer dirty links, I found the solution ;)
I'm quite curious actually...
@crl this actually uses pascal's triangle in a more formal way, those 2 numbers on top of each other near the end of the answer rapresent just that I think
but that's pretty cool! Would never have got there :P
 
has anybody dealt with Google Custom Search engine ?
 
6:08 PM
@nick are you actually interested?
 
@towc yeah
here
 
what in particular don't you understand?
 
um I haven't really thought about the implementation at all i was just curious to see if you had some input
this is probably not going on my portfolio cuz its kinda depressing
but it seemed like an interesting idea, something like that image for the background
 
it's... just a photo?
 
it would appear to be so
 
6:13 PM
@towc "just"?
 
and a canvas overlay with a fine rain animation
 
don't be a twat, not everything needs animated
4
 
something fluid something organic but kinda realistic
@ssube its what towc lives for though!
 
@ssube golden words
 
@nick I am aware
 
6:14 PM
@nick Photos are so web 1.0
You need something that pops
 
sometimes the beauty in art is its simplicity, not the number of rainbow splines swirling around like a bad porn ad
 
Put in an animated talking dog
 
@Zirak we're going to have a fight
 
It will give toasting advice
 
@Zirak that's what I'm asking towc about, i think a nice rain animation would look amazing over something like that
 
Google custom search?
 
@nick Rain is so web 2.4
 
@nick just add a little bit of noise to the brightness, using continuous noise to scroll it down over time
 
two on pgae using version 2 of the api without using iframes is it possible?
 
you will need to matte the picture into two sections, one with and one without noise
 
6:16 PM
You need something that captures the artistic pain of your soul
Bootstrap
Default bootstrap theme
 
go listen to HIM, @Zirak
 
@ssube Hydraulics Inside Maria?
 
@Zirak nah, the emo band
!!youtube HIM wings of a butterfly
 
> The uploader has not made this video available in your country.
Well, fuck you too
 
6:18 PM
get a better country
4
 
k, brb
 
this one is similar in spirit and tone
!!youtube 69 eyes christina death
 
they're all popular with sad high school freshman girls from the early 2000s
 
@ssube so... people who had to redo 3 school years?
before highschool?
 
6:21 PM
@towc wat? no
 
All high school freshman girls are sad
 
or were they freshmen in the 2000s
 
most of them were pretty smart, very skinny, dark hair, sad, liked to talk about it
 
@rlemon that looks cool actualy
I'll dl it tonight
 
sometimes cut themselves but mostly for attention and less because of serious mental problems
they were all straight edge but would totally blow you
high school emo kids, man
 
6:22 PM
when I want attention I cut someone else. Usually works
 
@SterlingArcher Welp that's an... interesting tale.
At which point did you discover it?
@ssube Wouldn't jump to that conclusion - she definitely had a premature marriage and feels resentful about it.
 
@Zirak That does seem likely.
 
@FlorianMargaine github.com/hylang/hy not sure how I feel\
 
@Zirak earlier than I'm willing to admit. I knew she was married, and kind of avoided her, then asked her friend why she didn't have a ring, heard the story, then we got grouped near the bar, had some shots and started talking and I ended up at her place
... by willing to admit I meant, brace yourself, apparently
 
Did you talk to her about it?
 
6:28 PM
Yes, a little bit
She kind of avoided the subject (this was pre-drinking, so no inebriated by passing)
 
out of curiosification, how old is she?
your age?
 
You seem to feel a bit guilty (which is natural) so my advice is to hash it out with her next time you're both sober. Sounds like besides that you're having fun, which is obviously good, aside from the potential fatal gun wound.
@ssube Stealing "curiosification"
 
@Zirak Hang on. From what I heard, they banged once. You don't have a serious conversation after banging once.
@Zirak It makes me think of a curiosity that turns you into stone.
 
@ssube Not necessarily "what's our future together", but "I don't feel terribly comfortable banging you behind your husband's back"
 
That's the sort of thing you bring up after #2 or 3.
 
6:33 PM
I'd have raised it before #1 but my world view is rather prudish
 
IMO, pre-#1 is silly: you don't know what, if anything, will happen. Post-#1 looks like you're assuming you'll see the other person nekkid again. Post-#2 or Pre-#3 is the sweet spot for questions that are serious but also totally your business.
 
@BenjaminGruenbaum yeah like I know why, but you could make the same argument for _.map. I'm actually just being lazy, if I add array = array || []then it makes my coverage drop below 100% and I couldn't be fucked writing a test for it last night :P
 
@ssube she's 2 years older than me
 
@ssube meh. If you feel uncomfortable with something you should straighten it out and not wait for eventualities.
 
@Zirak It's not worth asking somebody about their life if you're not going to see each other again.
 
6:38 PM
The weird thing is I didn't feel uncomfortable, because honestly she seemed very happy when I paid attention to her
 
@ssube It's not just their life any more
 
It's also not really your business until seeing them becomes a thing that might happen again.
 
I want to trust that she will let me know if this is something, or just fun (either way, I'm down)
 
@Zirak After you've slept together a couple times, yeah. After one night, it still is.
 
I feel like I post a comment like "This doesn't really make any sense...." on about every 3rd question that I read lately. Seriously, people don't even try to work out what it is the code they post is doing.
 
6:39 PM
room topic changed to JavaScript - Sterling Archer's Love Life: Read this: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentationâ„¢ Helps. WooHoo ES2015 (ES6) released! [ecmascript] [es6] [ill-get-the-ladder] [iojs] [jabbascript] [javascript] [nodejs] [promises]
Is it bad that I don't feel guilty?
 
That's subjective. You feel like that, I feel otherwise, @SterlingArcher feels like it's Meowschwitz (I should switch memes, used that several times in relation to his sex life)
 
Dang
cold blooded bro
 
@SterlingArcher Nah
 
I need some ideas...I have a website that I created for my boss at work so that he can view my work for approval. If you hover over any of the project files you will see a tooltip telling you the status of each file.
I have to manually change the status every time something is approved. There has got to be an easier way for me where I don't have to copy and paste the block of code.
 
@Zirak I'm trying to figure out which pussy/Meowschwitz pun you're going for, but I don't like any of them.
@benlevywebdesign It's called a CMS.
 
6:41 PM
Now I need to rewatch the show, thanks Obama
 
Oh, that.
My housemates and the girl I was hanging out with this summer were talking about doing an archer group costume the other day.
 
@Zirak cool. I think I was more worried that I was so... uncaring that I just didn't care. But logic tells me (not to mention she's absurdly smart) she knows what she is doing
 
@ssube, Like WordPress or something similar?
 
@SterlingArcher mostly knows what she's doing. Don't assume she's got it all covered.
 
@SterlingArcher dude.. gtfo of th at
not worth the trouble.
If she is willing to cheat on her husband what will make her respect you any more?
 
6:42 PM
So many conflicting answers D:
 
@Loktar Because like all human beings her motives are complex and made of several interleaving stories of her life
 
@Zirak say hi to your GF for me
 
@Loktar the oooonly thing keeping me from running is that literally everybody has told me she's prepping for divorce already
 
@SterlingArcher I would wait for that then.
 
No ring, moving to a new apartment
 
6:44 PM
We don't know jack shit about her
 
People could be perpetually filing for divorce.
 
That's true
 
@ssube is that what you mean?
 
How well do you know her?
At the end of the day really its about how much its worth to you I suppose.
 
@Loktar If she's already separated and getting a divorce, then it's not a weird moral situation. The previous relationship is done. If it's just for fun, then it doesn't matter either way.
 
6:44 PM
Her husband being a state trooper means he could make things difficult if he really wanted.
 
Just met her, but she works with my brother
 
@ssube she is not getting a divorce
considering she hasn't filed.
 
I would say separated is the most appropriate term
 
yeah I mean heres the thing, do you need to rush into anything with her now?
Does it hurt to wait?
 
Not at all
 
6:46 PM
That seems like the most level headed thing to do imo.
Wait it all out to see what happens
once she actually files its really a different story
 
@Loktar NOTATION THAT YOU CREATE A VACUUM
 
All I know for sure: she's not "easy", husband is not coming back. I'd like to know if they still talk though
 
@Zirak wat?
your gf is a hoover?
 
Only @BenjaminGruenbaum understands me :(
 
I'm not going into this assuming we're going to date, but she's the kind that is incredibly date-able. Pending filing, cause Loktar be right there.
 
6:48 PM
 
^ was that even english
 
Looks like an HTTP request, underwater.
 
@Zirak hahah alright I get it sorry man I was just being a dick
 
(credits to @rlemon)
 
👌
 
7:00 PM
so ... I was drinking and decided to reinstall my VPS from ground up
 
I did that 2 weeks ago. And I wasn't even drinking.
 
People are amazing.
 
well, I was jsut running portupgrade and notice that there was a shitton of useless stuff on the system
oh ... and upgraded my VPS to an SSD, which reduces my monthly cost
 
That's amazing
 
crl
7:03 PM
@Loktar how is it done, if you have an idea?
image by image?
 
no idea, it was on /r/pixelart
I assume so @crl
all drawn by hand
 
@Loktar it's probably some combination of bored and talented
 
^ isn't everything of value?
 
.. then again, that goes for most of the interesting stuff on the internet
 
lol
 
7:10 PM
Weird question... im trying to install a CMS on a local server, but when I visit the URL, it just downloads the PHP script from the browser
Does that mean I'm not pointing to the proper URL..?
 
running a webserver that supports php?
 
your MIME types are bad or the server isn't set up to run PHP scripts
 
Oh ffs..
It's nodeJS server
 
lol
 
How in the hell is this gonna work
 
7:11 PM
easy fix, rename it to .js!
:p
 
lmao
Can PHP scripts run on a nodeJS server? O.o
 
lol its interesting that exists
 
@SterlingArcher get keystonejs instead
probrem solved
 
not an option
libs are set in stone :(
 
keystonejs
 
7:15 PM
@SterlingArcher sure, you just call out to the interpreter, just like apache does
that's why php is so slow
 
@ivarni keystone.lite.js
 
even the in-memory type interpreters are still pretty bad, like wsgi or whatever php's company sells
 
will node-php allow me to run PHP scripts in the same hosting space?
Like, localhost/install/index.php, where localhost is a node server
 
As long as you have php installed...
 
"hosting space?"
 
7:16 PM
So assuming localhost is my machine, I can just install PHP on my computer and wham?
 
It's as ssube said, you're just calling php path_to_file
 
> assuming localhost is my machine
 
it's actually mine fuck off
 
This seems too complicated.
Maybe they just run it on 2 servers instead of reverse proxying nodejs to run a script
 
crl
7:22 PM
> assuming localhost is not blocked
 
@SterlingArcher I'm a stupid kid with literally no experience with girls (or with social relations in general), but I'd say that you should just ask her everything you may want to know to feel comfortable/know that you're leaving? She's cheating on her husband, she kinda owes you a lot of explanations IMO. If she doesn't I don't think it's worth thinking she's a person with morals
 
Holy shit, cheeseboy comes in with the solid answer
 
and I know I'll probably hate kids that try to tell me what to do when I'll be your age, but I kind of don't care for now :P
 
@towc She's not cheating, he left her.
 
fuck morals keep it 100 just do it
 
7:24 PM
@ssube morally still cheating? I don't know...
 
It's "technically" cheating until the divorce process is completed
Morally is another story
 
if the husband doesn't see it as cheating then go for it
 
@SterlingArcher Meh, not if they're known to be separate
 
meh the relationship is over who gives a shit about legality
 
That ^
 
7:25 PM
yeah, I wasn't going to look at the legal aspects
 
plus there are laws about that if they've separated
like when he fucks off to another state
 
but srsly, the only problem is if the husband sees it as cheating
 
user2620028
@ssube really? wow that is news to me lol
 
@HatterisMad depends on the state, but some have common-law marriage and separation
 
@HatterisMad Just like a publicly recognized couple doesn't have to be married to enjoy most of the perks.
 
7:26 PM
the husband is 1000+ miles away
And apparently not coming back
 
then bang her while it lasts ;)
 
I just now realized how rarely I have installed FreeBSD while being sober
it's actually kinda scary
 
and bombard her with questions, so that you know exactly what's going on
 
!!afk meeting with VP
 
7:27 PM
For example, if you have a girlfriend "everyone knows about" (to some legal definition of that) for some time defined in law, and you die, your belongings go to her as if she was your wife.
 
!!urban VP
 
@towc vp Slang term for "Vice President". In a multi-unit retail company this term is used to define a high salaried company official who constantly dons a black business suit and randomly appears at non-specific locations to crack the nuts of the unfortunate store manager who is assigned to that district. This person is well versed with the proper four-letter words and appropriate venacular to ensure that the manager w(snip)
 
user2620028
Is this relevant at all to the problem I am having currently of: My girlfriend can't tell the US embassy that she has an American boyfriend while applying for a visa because instead they want her to apply for a fiance visa.
 
crl
!!acronym VP
 
7:27 PM
@HatterisMad Are you planning on wifing her?
 
user2620028
@Madara no plans set in motion
 
@HatterisMad Well, there's no such thing as a "girlfriend" visa.
 
^
How long are you together?
 
If you're married or on the way, then you're good. "Hey, I'm banging this person today, let 'em into the country" isn't a thing.
 
user2620028
@ssube not wanting her on a fiance visa... lol she can't apply for a tourist visa... they want her to do a fiance visa
 
7:28 PM
Unless you have a private jet.
 
@crl lol, video phone. Is there such a thing as a non-video phone?
 
user2620028
@madara uhhh like a year and a half
 
@towc yes?
 
oh wait...
 
user2620028
LOL
 
user2620028
7:29 PM
its called a phone
 
right....................
 
@HatterisMad Yeah, getting engaged is the best way to go
 
user2620028
:/
 
user2620028
I really hope you are joking
 
The US doesn't have a known couple visa, afaik
 
user2620028
7:30 PM
dammit lmfao.... i am not wanting her visa to be relevant to the status of our relationship. That is the whole point
 
@HatterisMad why would it be a joke?
why would they let some random person into the country on special terms?
dating isn't a government-recognized status, it has no perks
 
user2620028
its not special terms! She wants to come to america for a couple weeks as a tourist... And since she is dating me they want her to apply for a fiance visa
 
user2620028
not sure if trolling... or...
 
Oh, she wants a tourist visa
But they insist she apply for the fiancee one
Well, have her tell them you broke up
 
@HatterisMad you explained that backwards the first time
yeah, just have her say she wants to go as a tourist
 
user2620028
7:33 PM
Pretty sure i made it clear every single time lol
 
why were you applying for her visa?
 
user2620028
We called the embassy and asked what she needed to apply for a tourist visa and they asked if she knew any Americans, she said her boyfriend was American and they said well then you can't apply for a tourist visa. You have to apply for a fiance visa instead.
 
maybe the fiancè visa gives you some advantages?
 
user2620028
yeah but like i said... i don't want her visa status to be based on our relationship.
 
ok, fair enough
 
user2620028
7:36 PM
It is not a good thing for her country for her to be on a fiance visa. The Thai government would basically think she is a prostitute.
 
user2620028
That is one of the downsides to her being on a fiance visa lol.
 
then have her call and ask for a tourist visa
 
I actually had to google visa because I thought it was a debit card, so I don't know much about them :P
 
user2620028
Because you know the joke, Thailands best exports, Wives and rashes.
 
do you even need a real visa just to tourist?
I've been to countries and didn't get any kind of special visa, just a passport
 
7:38 PM
btw, how are you dating a Thai? How did that happen?
 
although I did go to civilized countries (stayed in the EU)
 
@ssube most western countries have visa waiver programs between each other
Like I can go to the US with an ESTA visa waiver, but that program only includes some (mostly western) countries
 
user2620028
Yeah Thailand doesn't count for the waiver
 
user2620028
@towc met her in the states, dated in the states for a while
 
oh, nice!
btw, what if the Thai government thinks she's a prostitute? What would change?
 
7:42 PM
@towc just assuming from context, but your government thinking you're a whore is probably not a good thing
those are frowned upon in most civilized countries and a lot of others
 
user2620028
@towc its like grade school over here. It would be tough for her to find a serious job in her field. And nearly impossible for her to get a visa to travel to other countries... that kind of stuff.
 
@HatterisMad so the employers look up government files? wut?
 
@HatterisMad what disaster of a country equates whores with grade school?
 
anyway, you probably have done the research and know better...
 
user2620028
@ssube yeah you are making a connection i didn't mean to imply. I definitely meant her being on a fiance visa would make it tough for her to find a job etc...
 
7:45 PM
> its like grade school over here.
 
user2620028
@towc she is studying to become a lawyer. it is very possible it could come up
 
user2620028
I think the starred comment of "Get a better country" is much more relevant in this conversation than the actual context.
 
With a rest api, when I sign in and it gives me an api token, I'm guessing it saves that token code into the DB next to your user profile too?
and then when you make a request along with your api token, then it compares against the saved token?
 
maybe it does, maybe it doesn't. What's it to ya?
 
Unless it's a JSON Web Token
 
7:51 PM
@ivarni It is.
 
Then the server doesn't really need to save anything
That doesn't mean it won't, it could just put an ID in the token and pull data from a DB based on that
 
Then how does the server check if the token is really you?
Oh ok
 
Read the link :)
 
crypto
it's crypto all the way down
 
fucking primes, how do they work?
 
crl
8:01 PM
May 2 at 18:42, by crl
function isPrime(n) {return !Array(n+1).join("1").match(/^(11+)\1+$/) }
 
> JavaScript - Sterling Archer's Love Life
Shouldn't this room be empty?
@crl That's beautiful and hideous at the same time.
 
It's more of both in the original perl
factoring primes via unary
 
crl
yeah, comes from perl :)
 
not sure I get how it works...
so, you get n+1 in unary
then look for 1 and more 1s...?
what's \1+$?
 
The first capture group captures "n" ones, then the "\1+" says "find one more instances of the first capture group"
 
8:12 PM
perl -lne '(1x$_) !~ /^1?$|^(11+?)\1+$/ && print "$_ is prime"'
 
It matches composite numbers, 2 or higher: (11+) repeated once or more (\1+)
 
crl
@towc \1 is first match, so it tries to match '1111..' n times with some divisors group
 
that's interesting!
 
crl
oh, let's kill Cap with it, can I? well trying on my browser first
ok I shouldn't
 
8:16 PM
you probably won't crash anything with it
 
That was terrifying
I stuttered in front of the VP
 
user2620028
im sure its not the first time it has happened
 
crl
!!> var isPrime=function(n) {return !Array(n+1).join('1').match(/^(11+)\1+$/)}; isPrime(99999)
 
@ssube famous last words
 
@crl "Exception: too many items"
@crl "Exception: too many items"
 
crl
8:18 PM
!!are you still ok?
 
@crl Nuh-uh
 
just hope you're not giving rlemon a fire hazard ;)
 
@crl Runs it in a web worker, times out and terminates after a second or so
 
And it blocks the array creation
 
teehee
@Esailija thought of that, otherwise it'd have tried allocating too much memory and crash the browser
 
8:24 PM
!!> [].constructor(1e9)+1
 
@copy "Exception: too many items"
 
good
 
crl
nah I love you Cap, hi Benj
 
@Cap you suck
 
8:29 PM
!!youtube case #67
 
I'm totes in love with this song. Christopher Volpi has a crazy amazing voice rance
 
crl
nvm
 
8:45 PM
@ssube jesus that's a throwback... middle school days for me
 

« first day (1822 days earlier)      last day (3144 days later) »