« first day (2243 days earlier)      last day (2705 days later) » 

9:00 PM
@PeeHaa you should ask them why the composer.json isn't in the root dir. They added that file to a subdir........they must think it's doing something. And rather than splitting, it just needs composer.json moving to root to be packagist-able I think?
 
@Danack because the repo contains shit for different languages
It's basically a clusterfuck
But it's all fine. @bwoebi already rained on my parade and I have to create my own repo because blocking
 
@Tiffany wait until you have kids... they have all these damn phrases they use that are just plain annoying...
my oldest son says the phrase, "I came here to have a good time, and I am feeling so attacked right now" like to anything anyone says
or they say, "RIP (insert someone/something)" or "same" or "me" when it has nothing to deal w/the situation...
I'll say, "I am running up to the store."

"me"
"you're coming too?"
"no"
????
 
Anyone know any way I could limit the character length of print_r();? I have it print a multidimensional array and I don't know how many dimensions it will be so I can't just splice the array :|
 
you want to limit the number of elements that are printed?
 
After I did a reboot of the server curl_init() no longer works :(
php7.0-curl is installed and it's enabled in php.ini
 
9:08 PM
I guess so. Well, maybe the array just has 100 strings, maybe the array has 20 arrays with 5 strings each, maybe it has 4 arrays with 5 arrays, each array containing 5 strings, etc...
So in all it would be 100 elements for each array, but I want to only show 20
does that make sense?
 
yeah, if you are looking for some built in function in print_r() to do that, you won't find it... You'll need to process the arrays themselves first then print the processed array
 
Yeah that's what I assumed
Then just keep a count
Was hoping I could turn print_r() into a string and just make a substring of it including the first 1000 characters
Doesn't look like there is any way to do that though
 
@Alesana Why do you want to limit it
 
I think you can turn print_r output to a string
 
@PeeHaa I want users to be able to see the format of the array that the JSON link they put in has without making the window/tab unusable.
 
9:12 PM
so .... @Shafizadeh, what is your current setup for development, and what aspect of the development process do you want to simplify/improve? (I promised to pick up this subject in the evening and the evening has arrived)
 
Why on earth would you use print_r for presenting things to end users?
 
$var = print_r($what, true); // this way I guess
 
Don't get me wrong I can see use cases
I am just wondering if yours makes sense :)
 
Anonymous
hm..
 
iow @PeeHaa questions your skillz
 
9:13 PM
I think it does ;).. I can show you an example in PM if you'd like..
@mSatyam I didn't realize you could do it, I will test it in a second
 
I thought print_r returns (if anything) a boolean value only?
 
@rabbitguy No I am not
 
@Alesana yes you can give it a try it might work
 
@Alesana You can just explain it here in chat
 
I was going to share the site but okay, so I have a script that relies on the API of multiple advertising networks
But, I can't include all of them
So I am making a wizard where you can put in your api link and tell it which key represents what field
 
Anonymous
9:16 PM
thats pretty vague
 
and I use print_r(); to show them how their json data, and then I ask them what key each field is using.
 
@Alesana rows as in dynamic content?
 
Yes, each api uses a different format
Fixed it, which key represents what field
 
@Alesana Can't you just render a form based on the json instead of print_ring data?
 
[ print_r() ] Prints human-readable information about a variable
 
9:18 PM
I could, but print_r puts it in a perfect easy to read format
 
Anonymous
meh
 
I strongly disagree, but whatever works for you
 
@MadaraUchiha nerds
 
And are you trying to limit the nesting level or the number of "records"
 
9:19 PM
That is if I include it in <pre></pre> tags, otherwise it is difficult to read
The number of "records", or in reality just the number of characters...
 
@DaveRandom PHP dev
 
What would be an easier to read format than print_r() :O
 
@MadaraUchiha I... I'm sorry.
 
You have several options. Pass the true param like @rabbitguy said and cut it off
Or just trim the array
Cannot kick mods @DaveRandom :(
 
wait, what did I say?
 
9:20 PM
Cannot even flag mods
weaksauce
 
@rabbitguy I was trying to find it too
 
:P
 
Trimming the array wouldn't work as I won't know how many dimensions it is
 
@Alesana I know what he was referring to...
I'm just being a dish
 
9:22 PM
@Alesana Either an HTML petty rendered view, or even I would argue that something like what this gives is better than print_r()
 
oh hey you fixed my name \o/
tnx
 
I think I will output it into a <textarea> then just use javascript to trim the value of the textarea
 
@Alesana you've picked a strange way to skin this cat
 
@rabbitguy honestly, not planning on it. The only way I'd even consider it is if I had the right guy in my life, who wants kids. Even then, I'm probably going to sway towards adoption.
 
@rabbitguy :| I will keep looking for a better way haha
 
9:24 PM
Apparently nginx stopped working after I rebooted the VPS
 
@Alesana you're letting users tell you how to interpret JSON, right?
 
@Tiffany kids are awesome... I couldn't imagine not having my own... I seriously doubt I'd be alive right now if I didn't have any, and that's the God's honest truth right there
 
when I do service nginx restart I get an error to look at the logs for more info
 
@DaveRandom That shows the data very similar to.. echo "<pre>"; print_r($array); echo "</pre>";
 
@sweg_yolo_69 it probably did not stop. The problem is that you have not set it to auto-start
 
9:24 PM
@DaveRandom Yes
 
or do you have real errors?
 
@Alesana then present it to the user as JSON. See the JSON_PRETTY_PRINT flag for json_encode()
 
ugh I need beer to unconfuse that chatbot code
 
@Tiffany lol
it's not that bad, but yeah, I see your point
 
9:26 PM
Dec 06 21:24:44 VPS nginx[1854]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 06 21:24:44 VPS nginx[1854]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Dec 06 21:24:44 VPS sshd[1846]: Received disconnect from 58.218.199.182: 11: [preauth]
Dec 06 21:24:44 VPS sshd[1846]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.199.182 u
Dec 06 21:24:44 VPS nginx[1854]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
 
@sweg_yolo_69 something is already sitting on port 80
 
My money is on apache install on the machine
 
^ that
 
@Tiffany makin a family is a lot of fun, though... I guarantee that :D
 
Yes, that is it
Though I don't know how to uninstall it
 
9:27 PM
hehe
 
yum remove apache?
 
@sweg_yolo_69 there is this new thing: google
 
I'm running debian 8
 
you should try it some day
 
haha
 
9:27 PM
Well I tried that but it didn't work
 
apt-get remove apache2 && apt-get purge apache2
 
"debian 8 remove apache"
 
apt-get autoremove then
 
Anonymous
Does anyone here use VirtualBox, anymore?
 
9:28 PM
but it's not like I didn't try that before
 
you also have to stop the running apache service
 
Plus it fucked up phpmyadmin and php as well
 
@DaveRandom I guess it would only make sense to do that. Thanks for showing me JSON_PRETTY_PRINT. I was only displaying it as an array because I was trying to do some automatic detection with it before asking them any questions
 
@Tiffany I have a feeling those comics are written by ppl who really dont' enjoy being parents, lol
 
And prevent it from running at boot
 
9:29 PM
just because executable files are gone does not mean that an application on linux stops
 
@rabbitguy the artist isn't a parent, he doesn't want kids
@rabbitguy at least I assume that's the case
 
I did service apache2 stop
 
@Tiffany Stockholm syndrome?
 
I'll try removing it again
 
you can always reboot after that
 
9:30 PM
@tiff can I ask how young you are?
 
@rabbitguy honestly, I like 80% sure I don't want kids. I'm happy being child-free. I have a niece and a nephew, and that's good enough for me. I'd rather have a bunch of cats.
@rabbitguy 29
 
I've spent most of my 20s thinking about it :P
 
@Tiffany don't take this as a put down, but if you are 29 and think you hsouldn't have kids, then don't have kids
I knew I wanted to have kids in my teens...
 
@rabbitguy I'm not :P
 
9:31 PM
I know I don't want to have kids, and I'm 21
 
also, avoid sex...
sex == kids
 
I have a surgery coming up this Monday to assure I will never have kids ;)
 
what convinced me was watching my sister with my nephew, when I was like 16 or 17
 
@tereško I removed apache2 but now curl_init() isn't working as well as phpmyadmin as a whole
 
@Alesana that's pretty rough... I hope you are sure on your choice...
 
9:32 PM
@rabbitguy that's what sterilization is for :D
 
@Tiffany What convinced me was growing up in a family of 10 haha
 
@Tiffany let's put it this way: if they told me that I would live 400 years, I would find "having kids at some point" a lot more appealing.
 
@Alesana O_O
 
@Tiffany I had two, then decided on sterilization...
 
@Alesana I think the male equivalent is much more reversible
(If you're into that part of your life)
 
9:33 PM
because wasting 20-ish years of 400 is not all that much compared to 20 of 70
 
@tereško yeah, I agree.
 
@MadaraUchiha I am doing the male equivalent... It is 90% reversible and if not then they can extract semen from your testicles and inject it into the female.
 
@tereško it's the "wasting" part of that sentence that says you're not wanting to be a parent...
bcz I don't feel that raising kids is a waste on anything
 
I'd rather have a cat sanctuary :D
 
I had my first kid when I was 25
 
9:34 PM
@Alesana Ah, apologies, I thought I was talking to @Tiffany for a moment
 
@rabbitguy sure, but those 20-ish years you are NOT living for yourself, it's not a bad thing, but those are not "your"
 
I would rather adopt because if I end up wanting a kid there are enough kids out there who also want parents, doesn't make sense to make a new one
 
@MadaraUchiha :P
@Alesana yup, that's how I feel too.
 
we are just gonna have to agree to disagree on the parent topic, I guess
 
@tereško Remember the beginning of Idiocracy? :P
I'm getting flashbacks
 
9:35 PM
 
@Tiffany Yay someone agrees. For now, like you, I will fall asleep with my cat every night
 
@MadaraUchiha not clearly. There was something about hookers and army generals.
 
@tereško Before that
 
@Alesana same.
 
Where they explain why the population is growing stupider with each generation
 
9:36 PM
that's what every previous generation thinks...
 
@Alesana if you look at my github repos you will see that is basically the opposite of my approach to anything
4
 
the population is growing dumber bcz the smart ppl aren't reproducing
 
@tereško how do I find the correct path for php extensions? It seems to be different in php7
 
@Tiffany Well, the claim is that in the past, we had natural selection to kill off (a large portion of) the idiots
 
9:37 PM
I never liked the original wheel
 
You were careless and got yourself hurt? You died.
 
@DaveRandom lol!
 
@MadaraUchiha ah, yes
 
But today, modern medicine made this moot
And stupid people are objectively making more kids than intelligent people
So on average, the population will get stupider and stupider with each generation
 
@DaveRandom What is the opposite way?
 
9:38 PM
@MadaraUchiha could explain why the average age in this chat room is 30
 
@tereško Heh
 
30?
really?
 
@MadaraUchiha Well, stupid is not objective. Poverty is, and it is objectively true that people in poverty are objectively making more [unwanted] kids than people not in poverty. This is why we need free birth control methods for everyone
 
@rabbitguy close to it
 
@tereško 30+12/x+1
 
9:39 PM
once again, I'm old
 
I'm 25 \o/
 
I'm 39 :O
 
here .. you have your answer
 
I ended up going with echo substr(json_encode($_SESSION['apijson'], JSON_PRETTY_PRINT), 0, 20000); by the way, if anyone was actually interested
 
it's kinda like the average age of gamers: 35 ... ish
 
9:40 PM
@Alesana IQ doesn't relate to money, and a correlation was found, but I'll take that point.
 
@Alesana Make a new thing every single time
 
Worth noting that the movie is a comedy, not one based in actual facts
 
@Alesana IQ depends on how you are good at abstraction ... also the IQ test are kinda limited
 
@MadaraUchiha Ah, I would also argue that IQ doesn't directly relate with intelligence
 
/me doesnt really trust IQ tests
 
9:41 PM
I'm with @tereško
 
also @Alesana note that I am certainly not disagreeing with what you said or attempting to discourage, merely making a cheap and easy joke
This is also something I do a lot
 
I actually don't have an opinion, I haven't researched enough about IQ tests to argue for or against
 
@MadaraUchiha we also have a larger pool for diverse genetics, which reduces the probability of inbred genetics. I don't like the idea of saying that "we don't have natural selection, so people are stupider" because then people start arguing for eugenics. Then you have something like GATTACA.
 
@MadaraUchiha I have taken few. They are worthless.
 
@DaveRandom Ohh are you talking about the making a new baby when there are already babies out there?
 
9:43 PM
@Tiffany That's... sadly not true everywhere
In fact, it's not true more than it is true, still, nowdays.
 
hey, ladies... if you need practice on making babies w/o actually making babies, I'm your man... just wanted to put that out there
<-- sterile
 
@Alesana well, you could argue that intelligence might be affected by epigenetic factors
 
@MadaraUchiha depends on how often people travel and how far "they leave home"
 
@rabbitguy natural or vasectomy?
 
Here is my unpopular opinion - when it's more feasible and safer, each male infant get a required vasectomy so there are no unwanted pregnancies, and when a couple decides that they want to have a baby they go to the doctor where the sperm is extracted from the male testicles and implanted in the female, which is a globally free procedure.
 
9:44 PM
vas
 
@rabbitguy did it hurt?
 
no, not at all... I just laid on the couch for two days acting like it did
but I felt literally nothing
 
When they put the needle into your.. you know.. ?
 
I had piercings that hurt worse for longer
even the initial needle didn't really hurt
 
9:45 PM
That's the part I'm most scared of
 
I mean, it wasn't comfortable, but it didn't "hurt"
have you ever been kick in the balls?
 
@Tiffany In countries like China, India, most of Africa, you have very little genetic diversity compared to Europe and the US
 
@rabbitguy Yeah
 
@Alesana it feels nothing like that... the polar opposite in fact
 
@rabbitguy It feels like your balls are kicking someone?
 
9:47 PM
lol
 
haha
I read it felt like that, hmm..
 
the part that sucked the most about getting a vasectomy was that I couldn't have sex or ANYTHING for 6 weeks after the procedure!
that's really the worst part
 
6 WEEKS?!?! I was told 1 week..
My girlfriend is gunnu be pissed
 
@MadaraUchiha according to the "we wuz kings" followers, that's a good thing .. and you can't call it racists
 
maybe I am wrong, but we had to wait for quite a bit, and even then we had to wait several weeks to "clean out the pipes" so to speak
 
9:48 PM
@tereško is that the redpiller website?
 
@Tiffany You need to get approved to adopt, should it be so different to create a new one?
 
@Tiffany shouldn't be
 
@Alesana that's what the youtube video I linked suggests :D
 
@tereško Genetic stagnation is never a good thing
Ask the Jews
 
o_O
 
9:49 PM
also, @Tiffany, I think you meant "mgtow"
 
Did you know that there are diseases only Jews get?
 
@tereško I was thinking of the "Return of the Kings" site, which is a redpill site
 
(I'm a Jew from Israel, btw, don't feel uncomfortable)
 
I smell an antisemite in the room
 
but mgtow is a similar mentality
 
9:50 PM
@Tiffany Right I just watched it haha. Now, I don't actually say that they should make people get approved but if it were a medical procedure to have a kid instead of something that happens from sex, then unwanted pregnancies would literally drop to 0..
 
@MadaraUchiha Boy are there really bad jokes in there :P
 
@rabbitguy Yeah! Imma kill all Jews and one clown!
@PeeHaa It's true though
 
I still feel uncomfortable... the 20% Jew in me is feeling unloved now
 
Genetic diseases that came from the extremely close communities across hundreds of years
 
@Tiffany "Red Pill" is the movie that feminists are loosing their shit about. Which would be MRA related instead of MGTOW.
 
9:51 PM
@tereško is mgtow just male abstinence or am I missing something?
 
This is going to end well!
!!? jew diseases
 
lolol
 
@Alesana yeah, basically
 
Search for "jew diseases" (https://www.google.com/search?q=jew+diseases&lr=lang_en)
• Ashkenazi Jewish Genetic Diseases - There are a number of genetic disease for which persons of Jewish heritage (at least … It is estima… (http://www.jewishgeneticdiseases.org/jewish-genetic-diseases/)
• Jewish Genetic Disease Consortium - Working to Pr… - The Jewish Genetic Disease Consortium (JGDC) increases awareness about Jewish genetic diseases and… (http://www.jewishgeneticdiseases.org/)
• Medical genetics of Jews - Wikipedia - Spring naar Ashkenazi diseases - Of these diseases, many also occur in oth
 
@Alesana yeah, I agree. But I do think people should be approved to have a child. The priority of raising a child is incredibly important.
 
9:52 PM
I am dissapoint @Jeeves
 
That... went surprisingly well
 
We need to train him better
 
For example, too many mental diseases are caused from how a child was raised.
 
@PeeHaa Another interesting speciment are the Finnish
 
@PeeHaa or, as they are called Jewdeases for short
 
9:52 PM
For different reasons
 
@Tiffany I have made that point before in conversation but I haven't actually researched what the effects of it would be enough to argue it.
Such as, a smaller diversity of genes.
 
In the past, if you went from one village to the other during the 2 weeks of summer, you'd stay there for the rest of the year because of snow
 
@rabbitguy well, you can become a "real jew" only by birth. It's a strange religion.
 
@tereško Red Pill is actually a thing though. It's been a subreddit for years.
 
> It is estimated that nearly 1 in 3 Ashkenazi Jews in the United States is a carrier of at least one of 19 Jewish genetic diseases.
How you are all still alive is a mystery
 
9:54 PM
@tereško I hate being grouped into anything, so I am glad that one is hard to get into :)
 
@tereško Yeah, we also circumcise people before they can speak, fun!
5
 
@rabbitguy well ... you cant actually "get in"
 
@tereško I have a decent amount of Jewish blood in me...
 
@rabbitguy Is your mother a Jew?
 
@MadaraUchiha "we", lol... I was circumsized as was my son when we were born and I would never really say I am Jewish
 
9:55 PM
To answer that, ask whether her mother is a Jew
It's a recursive thing
 
@MadaraUchiha it's also happens to be the first attempt of a male-on-male blowjob (with open wound ... very healthy ... no way this can ever go wrong)
 
@MadaraUchiha no... we did our ancestry... I am ~20%
 
football. shit it.
 
I don't understand why people circumsize
 
9:56 PM
@rabbitguy Then you are not a Jew.
 
@DaveRandom :P
 
Our Rabbanut, for that matter, won't accept you as a Jew
 
@MadaraUchiha no, I am not... like I said, I have a decent amount in me, but I am no Jew
 
Okay I got to get back to work
 
@MadaraUchiha How do I find the location where my php extensions are installed?
 
9:56 PM
@Tiffany Consenting adults circumcising themselves? You know, whatever, do whatever you want
@sweg_yolo_69 phpinfo
But children?
I'm sorry, I can't get behind that
 
@MadaraUchiha wait... does my Chrone's disease give me any Jewish benefits? Namely the money part of being Jewish?
 
@MadaraUchiha yeah, that's the only way I could see it. Circumcizing babies though... :|
 
@Tiffany in adults - either a trend or a fix for a "mechanical issue"
 
@MadaraUchiha I tried but it isn't there. The reason that I'm asking this is because I did apt-get install php7.0-curl, enabled it in php.ini but it isn't working
 
@MadaraUchiha Statistically the answer is yes for literally everybody. It depends how you define "the first Jewish woman" I guess.
 
9:58 PM
@sweg_yolo_69 I'm sorry, it's been a very long while since I've worked with PHP
 
Biologically it's actually everybody
 
@MadaraUchiha NP man
 
But @PeeHaa or @DaveRandom can probably help you out with these things
(Or, anyone in the room, really)
 
@tereško it's almost compulsory in US hospitals though. Like you have to tell the doctors that you don't want the procedure performed.
@tereško when you have a male infant, that is
 
I can't offer help right now, but I can probably offer a terrible pun or a sarcastic comment?
 
9:59 PM
Why won't $_SESSION['variable'] stay set >.<
 
@DaveRandom That will do I guess :p
 
@DaveRandom Wait wat? We can actually opt out of those?
 
Hey, I circumcised my son, and the only real reason I did is because I wanted him to not feel "different" from Dad by not circumcising him...
 
@Alesana cause it's a session variable?
 
I mean, tbh, I dunno how to pee w/the extra jacket attached
 
9:59 PM
@PeeHaa No, they are the baseline, it's the help you can opt out of
 
@rabbitguy pull it back
 
well, @MadaraUchiha from what I know about Torah, the foreskins of enemies used to be a form of currency. Kinda like with Indians and scalps.
 

« first day (2243 days earlier)      last day (2705 days later) »