« first day (2581 days earlier)      last day (2358 days later) » 

12:00 PM
@Sjon just ftr I will repeat my statement that I, and I'm sure many others, will be happy to help if you open-source it, or even set up a private invitation-only repo :-)
Given how important a tool it is in the PHP world at this point, it would be good to reduce the bus factor if nothing else :-P
 
I would probably cry (with joy) if someone brought back a viper-7 codepad lookalike.
 
The code for the original is on github somewhere
both @PeeHaa and I have tried and failed to make it work
 
@DaveRandom that's cool; and you're right
@salathe for the html-preview part or the interactive part?
 
@Sjon the HTML preview part
 
12:15 PM
@salathe how many tears for a button (next to expand/diff) which makes your browser interpret html in output instead of escaping it? :P
 
@Sjon if I have to click that button, many... tears of sadness. :P
 
the html-output by default would probably cause all kinds of xss
 
@DaveRandom can you read a bit back to when i was talking to you but you had to go
 
I totally see how @DaveRandom is doing real work and coming back in the evening. :P
 
lol
 
12:18 PM
I'm accessing a server through putty (as root) and I need to know which linux OS is installed on the server (ubuntu, centos, debian or ..)
 
This is real work :D
 
how can I figure it out?
 
@Shafizadeh lsb_release -a
 
@kelunik -bash: lsb_release: command not found
 
73
Q: How can I tell what version of Linux I'm using?

cwdOften times I will ssh into a new client's box to make changes to their website configuration without knowing much about the server configuration. I have seen a few ways to get information about the system you're using, but are there some standard commands to tell me what version of Unix/Linux I'...

 
12:20 PM
if it has systemd; you could try hostnamectl
 
check correct answer @Shafizadeh
try this cat /etc/*release*
and uname -a
 
@Tomm for arch it's an empty file - so I'd try echo /etc/*release* instead
 
@Tomm this comment returns this which isn't useful:
Linux srv.{domain} 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
 
try this ? cat /proc/version
 
@Tomm but this is good ..! It is CentOS. thx
 
12:22 PM
np
 
@Tomm what are those * around release ?
 
@SaitamaSama what is it? (:
 
honestly @Shafizadeh i have no clue sorry
 
atom is love?
 
@Tomm ah ok
 
12:24 PM
I always thought about it like this ..
 
oooooh
painfull
atom is nice
 
@AlmaDo :-|
 
@SaitamaSama trolled :p
 
wow crazy troll
 
fu :-)
 
12:26 PM
ck?
 
gotta take this man down on his grammar aswell
taking it far man
 
ty sjon
 
I see, it's wildcard
thx
 
as for IDE.. well it's hard to come up with anything better than inteliji for my case
 
12:28 PM
PHPStorm for the win (for PHP and web related stuff)
 
well I'm not on M$ Win..
 
tho, CLion doesn't really work out for me most of the times :B
 
I am more of a windows notepad coder
 
it explains why you don't know how to debug
 
WOW
 
12:30 PM
shots were fired, this day
 
@Tomm wat
Stop
 
(:
 
That was a joke @PeeHaa
 
anyways, gotta cram those lessons up... got a test tomorrow :B
 
/me puts away gun again
:P
 
12:31 PM
I use atom
quite nice tbh
i used alot of brackets in my first year of uni
 
eh.. I want to be in school/uni once again :\
and have my test
 
and 1 shot them
 
@AlmaDo trust me, homeworks are not really, very nice
 
They are
i enjoying coding
 
@SaitamaSama I do. I finished two unis after all. Though I mostly liked my tasks
 
12:32 PM
I like school
 
Homeworks, as in general Physics Problems, Maths, and stuff...
especially that Physics crap, I hate it :B
 
I liked those as well
 
Anonymous
You'll be begging to go back to school with homework once you start work..
 
Yeh that stuff is crap
@JayIsTooCommon I am following 20 weeks of internship i work 5 days a week 9 hours a day and only now i started realising how much free time i had in school
 
@JayIsTooCommon meh, I find myself admiring adults, as they can do what they just want...
 
12:34 PM
physics.. math? oh man, so cool! and nobody will yell at you for doing something non productive. and you won't ask yourself "how do I make money with it" .. cool times!!
 
@SaitamaSama I am in school aswell but now that i work 9 hours a day i realise that school is a peanut
 
@SaitamaSama you will soon stop doing it :p
look at us old wrecks ..
 
Anonymous
@SaitamaSama Once you're an adult you'll realise how good you had it
 
You do not even have to be an adult
 
@SaitamaSama Right... I would prefer drinking and smoking pot everyday the entire day over what I am doing now
 
12:35 PM
hmmm
Tells me a little about you
xD
 
Anonymous
I had wayyy more freedom when I was a kid. Now if I make a den in a bush, I'm a pervert.
 
l0l0l0l
 
sigh
 
@JayIsTooCommon !!? "den in a bush"
 
Anonymous
!!urban den
 
12:36 PM
[ den ] A remote closed room for relaxation.
 
ooooh I see
 
!!urban bush
 
[ bush ] The only presendent of the United States of America to be all most assassinated by a pretzil.
 
Anonymous
eh, @PeeHaa like a tree house
 
ahaha
 
12:37 PM
Thought it was some weird reference I was missing :)
 
lol
 
so.. I think even if you're a kid.. making a room for relaxation in a US president .. man they won't let it slide
 
He was killed by a pretzil
 
 
12:38 PM
@JayIsTooCommon but as an adult, I feel, you've got wayyy more freedom... like you can manage your expenditure on your own, no more tests, etc. etc.
 
@SaitamaSama no more tests? In that man you're so very wrong
 
@SaitamaSama it is not really freedom, its making your own decissions not relying on others
 
(and no, I didn't mean "software testing" at all)
 
@AlmaDo hehe
 
Anonymous
@SaitamaSama I used to think the same :) couldn't wait to be an adult, driving, with a job etc... etc.... It allll changes
 
12:40 PM
if you fail your test at school - you most likely will be granted another chance. Even in uni. And even if you won't - you still can make up for it and fix your mistake. In adult life you almost certainly have only one attempt for your tests
and what's worse - you can not prepare for those tests
 
Life is a test
 
and you will eventually fail it
so will I (:
 
smh
 
yeah... guess so...
 
that's why I see the school/uni tests as an incredible luxury
 
12:42 PM
school is a luxury
 
well, now that I think about it tests aren't really the problem... but the fact that I have to cope up with a lot of syllabi is... like cram schools, school, and some other form of academics
 
How old are you
 
15 :B
 
ooh i see
 
and, the thing is you won't have to study no where near as much when you grow up, as you just got to deal with a specialised topic that you really love
 
12:45 PM
I felt like that before uni
since i had to follow classes that i had no interest in
I am starting to turn retarted
PHP Notice:  Undefined index: data
$data =  $_POST['data'];
 
var_dump($_POST);
 
but i need to make a variable
 
Yes, but there's nothing in $_POST['data'] to make it from...
 
name is a multidimensional array
daverandom told me to make a $data variable of $_POST['data']
 
but what does var_dump($_POST); output?
 
12:51 PM
i can show you
 
seems like the key is present... do you have your code somewhere like gist?
 
Which code
 
the one you are using to access $_POST['data']
 
You want the code that has the multidimensional in
 
.. yeah
 
12:54 PM
i am not accensing $_POST data yet since script wont continiue without posting
but i can give you the multidimensional array
 
so... if you are not POST-ing any data... $data = $_POST['data']; would always give you an undefined index error...
 
no
i am saying
language barrier
you said the one you are using to acces $_POST data
which means the code that requires post data
that is a loop
but it wont start the loop
if the post isnt working correctly
 
okay..
 
..
 
@Tomm so, that creates a form, right?
 
12:57 PM
no a table
the table is in a form
 
yeah that's what I meant :B
 
k
 
;p
 
then yes
 
and when you submit it, where does the POST data go? You use some AJAX, or just do a good 'ol form submit?
 
12:58 PM
submit form
 
Are you saving just some form fields?
 
what do you mean by that duikboot
 
okay, so which script does the form's action attr point to?
 
What do you want to achieve? ( Not your whole app just this piece of code. )
 
i need to save the post in a variable that i can use in a foreach loop
 
1:00 PM
You need to save 'the post' in a 'variable'.
 
yes
 
Try to explain 'human' words, not technical. What are you trying to achieve?
 
$data = $_POST['data']
That is what i am trying to achieve
 
><
 
PHP Notice:  Undefined index: data
this is error
i think the problem is that it is a multidimensional array
since i can var dump it
 
1:02 PM
Good. But that's not really my question.
 
i can print r it
There are no human words for this
i need my data variable to be able to hold the post
that human enough xD
 
A human explanation would be, you are saving a eveluation-form for end users which has to entern specific fields in a large form.
 
@SaitamaSama heh.. I can tell you. I had no childhood at all because of studies
 
Good you submit this data, and you retrieve it inside $_POST when you do var_dump? Great.
 
nope
var_dump($_POST) works
but i cant ask for someting inside my post
$_POST['data']
 
1:04 PM
Your way of saying things is confusing.
kopy.io ( Put in there your $_POST (var_dump / print_r or whatevah )
 
Thats is not the output of your var_dump.
But ok fair enough... >< which $row['blabla']; is not working?
 
smh
 
Again,
kopy.io ( Put in there your $_POST (var_dump / print_r ) So the output of var_dump($_POST);
 
Undifined index in $_POST['data']
that means
date is not finding anything
 
1:08 PM
Please read my sentence.
 
please read mine
 
Discussion closed.
 
l0l
We are both dutch
 
for the loooong time I have an urge to make someone a tiny avatar..
 
but you are the one here with a serious language barrier
why not make yourself one alma do
 
1:10 PM
Even if I have a language barrier, my questions are pretty clear.
 
Put in there your $_POST (var_dump / print_r ) So the output of var_dump($_POST)
put in there your, the ouput of var dump post
 
eh.. looks so much better now (:
 
argh, let's not lash out at people :-) @Tomm
 
Yeah in that kopy.io file.
 
Its clear for yourself
 
1:13 PM
If I ask you to put, the output // a var_dump of variable $_POST in the kopy.io website .. it should make sense.
 
this is one of the least constructive discussions I've ever seen. Also relevant: en.wikipedia.org/wiki/Muphry%27s_law
 
Discussion closed.
 
Good, almost Friday... Rebecca where are you?
 
!!friday
 
@SaitamaSama Happy Prebeccaday!
 
1:14 PM
the problem is that now I see replies to tiny avatar :(
 
\o/
 
so it doesn't help much..
 
I want to go home, get into bed and read manga again :\ #workHours
 
@Tomm if you seriously want help you should post the entire script somewhere - your issue is obviously not in what you have posted so far
 
1:15 PM
Sjon
my question was
 
@AlmaDo Just say you got food poisoning. Bam instant 2 days off work.
 
is it possible to have a multidimensional array in a $_post['']
thats a common knowledge question
 
@AlmaDo do they block anime sites at your office?
 
no hussles
 
@Fabor I don't need to even say something.. I can walk away just if I want
 
1:16 PM
@Tomm yes I read it already including all the snippets. And obviously its possible
 
@AlmaDo So... walk away? :)
 
@SaitamaSama nah they don't
 
But sjon
that was my script basically
its the while loop
 
@Fabor but then I make problems for myself the next day as there will be many of those who needed me and now their issues postponed and accumulated through the time I was away
 
and me asking for a post
thats all
and as i said i can var dump it and i can print r it so their is no mistake in the script
 
1:17 PM
if those would be problems for someone else - that's another story :p
 
so my only concern was that the multidimensional array was not being acknowledged by the post
 
oh, that's nice, once it so happened that my ISP blocked all of the pr0n sites... but not the hentai ones... guess what
 
@Tomm okay I'll bite. Put echo serialize($_POST); var_dump($_POST['data']); in your script and put the output in a pastebin
 
@SaitamaSama ISP blocked porn sites? Are they mad? Or enemy to themselves?
 
idk, it was for a day or so
 
1:19 PM
I guess ISP had nothing to do with it ..
 
@Tomm you're saying the serialize works but the var_dump throws Undefined index: data ?
 
Sjon its not worth putting it in pastebin cause its still the same error
PHP Notice: Undefined index: data
but look this works
var_dump($_POST)
 
btw, @SaitamaSama after this you dare to say you don't watch hentai :p
 
il show you that output
 
from which line does the notice come, what does that line say?
 
1:20 PM
@Tomm What everybody is trying to tell is that with your explanation it does work. So I guess you are either interpreting something wrong or are explaining your exact situation poorly
 
@AlmaDo it was a one time thing anyways :B and papa-HH had some nice ones in their store
 
line 90
which is the one where we ask data
 
@SaitamaSama suure (:
 
$_POST['data']
 
1:21 PM
:P
 
undifined index for data
 
I guess PHP errors are full of typos these days. I'm also agreeing with @PeeHaa, thanks for spelling it out once again
 
echo '<pre>'; var_dump(...); echo '</pre>';
 
@SaitamaSama suuure :p
 
duik
what do you want me to put in the ...
 
1:26 PM
@AlmaDo okay... I'll be frank here :B I open HH once, daily, if there are some nice ones, I go ahead with my holy doings, if not... I simply close the tab
 
$_POST
 
@duikboot echo '<pre>'; var_dump($_POST); echo '</pre>'; this outputs pastebin.com/VGTyr8Pc
 
So the output is formatted well.
Good.
Which value you want?
 
yeah.. you know, when you place you porn into folder /g/temp/reports/28913/work/design .. you're still a child. If you place it in /porn .. then you're finally an adult
 
@AlmaDo I made always a 'Disney' folder for that...
 
1:28 PM
@JoeWatkins In uopz ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS is used. When I use this in RINIT then cufa overload works. But when I do it within the function where the overload is done, then it does not work. Would it be safe to set this option in the RINIT itself, always
 
Duikboot lets take this one
[1]=>
array(1) {
["36 "]=>
array(1) {
["2017-10-28"]=>
string(1) "3"
}
}
i would want 36 the date and string 3
 
@AlmaDo meh, I have all of them in my Downloads folder. Couldn't be bothered to move them :B
 
so 36 / 2017-10-28 / 3
 
Ok we go step by step.
 
yeh
the space is weird
i dont understand how and why
cause the database has no space next to it
 
1:30 PM
echo '<pre>'; var_dump($_POST['data'][0]); echo '</pre>';
 
PHP Notice: Undefined offset: 0
 
@Danack lol. Indeed.
 
@Tomm fixed-lenght char-field instead of varchar or int in database?
 
@SaitamaSama what a shame. if you download tons of other stuff - it would be difficult to find it back in that unsorted trash can :p
 
@JoeWatkins To clarify, would setting ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS have any performance delay other than calling the FCALL as FCALL_BY_NAME.
 
1:33 PM
remove the [0] part then
 
also I caught myself on a thought that I don't have any of that saved :o
 
:-(
 
.. and I prefer doujins :P
 
Concurrency is a bitch
static is a bitch, too
 
1:37 PM
but not every bitch is concurrent
 
but together they can create lots of hard to track offspring
 
hah
 
concurrency + static sounds like cola + mentol
 
but yeh @Duikboot that gave me the data i needed the 3 values but i this was just to test right
cause we still have no variable
 
Just add it to a variable $id = $_POST['data']..... ;
 
1:40 PM
and it doesnt work anymore
and i think why
if i refresh or switch date
it says undefined index for data
probably because it does not have any data
should i maybe add like a if isset data
or something
so it only goes when there is data
 
@Tomm Please use the return key less often.
 
sorry @fabor
 
@Tomm if you refresh you have no POST - obviously. Was this the issue the entire time? You submit and it works, you refresh and get an error?
 
No sjon that was not the error
duikboot helped me
 
1:47 PM
@Tomm awesome - send him a frikandellentaart
 
also a multidimensional array in a post did not work
so i also had to add a var_dump
 
yay, java devs are mad :D it didn't last for even 5 minutes :p
 
@Sjon I am so hoping now that's an actual thing
 
@AlmaDo Did that OP actually use SO as a replacement for a compiler?
 
@SaitamaSama far worse.. just open the link
 
1:52 PM
@PeeHaa I'm considering getting one tomorrow; it's a must-try
 
ah.. woops. sorry we deleted it already so you'll see a nice 404 there :p
you need 15k? or 10k .. I forgot already
I mean to view removed stuff
 
10k iirc
 
@Sjon Sounds like a perfect friday lunch
:D
 
@SaitamaSama here
(a link in his post was an image :p)
 
1:57 PM
@Sjon about the spaces inbetween my cart number
you were right i had it on nchar(10)
i put it on int now and it is fixex
ty
 
@AlmaDo SO -> an app to scan text from images, and a compiler :B
 
@SaitamaSama an app for making questions coherent => image recognition app => compiler => debugger => an app for making a coherent answer
 
lol
 
but people decided .. fuck it man
 

« first day (2581 days earlier)      last day (2358 days later) »