« first day (2613 days earlier)      last day (2318 days later) » 

12:00 AM
So what piece of software are you seeing 'F��' in?
 
Im looking at hex and also text files
from the terminal, from the browser, from postman
yet from the terminal, the original file displays as expected
from the terminal, if I launch a php interactive sessions, and call readfile(blahblahblah) it dumps incorrect encoding
 
F\90\FA is the same as F�� - but just viewed using a piece of software that is converting non-valid utf codes to the replacement char.
 
yet, if I look at the same file with cat, it doesnt
ok cool man thanks
 
@Dave yes. Your terminal isn't displaying raw hex.
it's trying to display characters.
You should be looking at the file downloaded through a hex editor and almost nothing else.
 
I am man
I am
from my original question
"when I look at the currupted zips in a hex editor, there's a bunch of "EF BF BD EF BF BD" bytes that aren't in the correct zip"
comparison of two lines, between good file and currupted file:
 
12:04 AM
k. I was confused when you switched back to saying the output as chars.
 
good:
73 68 65 65 74 2E 70 64 66 9D BC 65 74 5D 3B D6 25 1A
corrupt
89 EF BF BD EF BF BD 19 EF BF BD EF BF BD EF BF BD 19
 
40 mins ago, by Danack
iii) seeing what echo "\xc3\x28"; gives.....
did you try that?
 
yes it outputs blank space
if I do that from the terminal i get : �(
 
can you say what it is from viewing in the hex editor? It's impossible to tell what "outputs blank space" actually means.
 
C3 28
that's if I file_put_content("test", "C3 28")
test contains "C3 28"
sry
file_put_contents('helo', "\xc3\x28");
 
12:09 AM
...no. I meant where you currently have readfile(), replace that with echo "\xc3\x28";
 
im sorry
but how would you propose that I look at an echo through a hex editor without saving it to a file?
if I echo it, it literally outputs nothing
 
@Dave in the code you have, where there is a readfile() replace it with that echo. Then call the endpoint of your website using curl, and save it to a file. Then open that file using the hexeditor. make sense?
 
...the same thing that
file_put_contents('test', "\xc3\x28"); contains
C3 28
@Danack thank you, it might not seem like it but you just lead me to the answer
 
which is?
 
12:22 AM
I feel like an idiot
So there was never anything wrong server side, when I wsa looking at the curl data, everything was fine
but when I looked at the corrupted file, I was looking at something that the front end had touched and then passed to the user to save
 
that tricksy frontend.
 
the main problem being, the Blob constructor was outputting something unexpected:
console.log(response.data.length); //18765
console.log(blobObject.size) //35974

..oops
 
12:49 AM
Can someone please help me here? Only 8 views, no comments, in about 2 hours... stackoverflow.com/questions/47744613/…
 
@Arcticooling what happens when you type mysql -u test -p in your local box
and enter the correct password?
 
Hmm, I get the same error as well... That's wired...
This is the full algorithm I used.
As you can see there @Dave:

read -s sps
CREATE user "test"@"localhost" IDENTIFIED BY "${sps}";
 
are you sure you typed the right password in?
 
Yes, 100%
 
1:25 AM
Does the code seem okay to you @Dave?
 
1:56 AM
@Arcticooling it seems like it should be behaving like you'd expect
 
why not try and change the test user pw?
 
I think I already tried that (with another user) and failed:

https://stackoverflow.com/questions/47624251/cant-change-mysql-password-in-nix-mysql-cli
You are most welcome to answer there, and I will try it with the test user.
 
@Arcticooling Password, not password
@Arcticooling

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('NEWPASSWORD_CAME_HERE');
 
echo ${psw} outputed the correct password.
I then did mysql -u root -p[MYPASSWORD] and after logging in
SET PASSWORD FOR 'test'@'localhost' = PASSWORD("${psw}");
But
mysql -u test -p[PSW PASSWORD] fails either from variable or manually.
So when it's test ${psw} it's failing but when it's root ${rps} it isn't.
That's so wired.
Maybe you need some information on my test user.
 
2:30 AM
@NikiC Hopefully my response on list will nudge call-site & back in the right direction.
 
 
1 hour later…
3:30 AM
5 messages moved to Trash
 
lol
morning room
 
3:55 AM
tw1 server down / not found in DNS – #75665
 
@Jeeves bug,ehhh?
 
@Linus Where do you live??????
 
@Jeeves planet earth.
 
@Linus More specific?
 
@Jeeves milky way galaxy.
 
3:59 AM
@Linus No you are on earth.
 
4:23 AM
hello
 
boom.good morning to all
 
sup yall i got into some problem mind if someone help
 
gurippa..:P
 
excuse me ?
 
anda munde punda
 
4:29 AM
??
 
just kiddin...:v whats ur problem @MunkhdelgerTumenbayar
those were nothing but random meaningless words
 
oh
okey
i am gonna share my question
i am so dead on this one
 
ohh...something surely wrong with your code..how much time did you spend on debugging?
 
thats hilarious..
oh dear...
 
4:34 AM
yeah i know but i cant thinking any more solution
yeah i sux
 
never lose hope dude...this happens on regular interval to me...silly mistakes take hours to resolve...Although I cant help you directly..but one thing to mention...
did you try to render the raw html first and then insert the query result?
 
yeah dude if its easy to raw html then put query result
but this can be change on program
i mean parent level can be changed on user
like htis
 
did you check your rendered html? do they have same number of opening and closing tags?
your code does not seem like that
@MunkhdelgerTumenbayar
 
@masud_moni yeah but its not right.
 
4:48 AM
@JoeWatkins o/
 
because your logic is not clean
try to improve the if-else block
you have problem in your closings in the else block
 
ok try to think about more of logic
tnx
 
could u make a clean associative array and then start rendering the html?
 
posted on December 10, 2017

New Cyanide and Happiness Comic

 
unda kundike lunda punda
 
4:57 AM
\o
 
o/
 
5:37 AM
Is 2gb not enough to java application on server?
 
5:55 AM
morning all
 
@Linus depends on application ... but it seems pretty small amount for any decent size, medium complexity service
assigning 32gb wouldn't be out of the ordinary
 
@JoeWatkins 32gb :P
 
I haven't used this for many years, but it used to be a standard part of my toolkit, suggest using it or any profiler to find out what is going on ... if the consumption is expected, raise your limit, if it's not debug your code ...
 
@JoeWatkins thanks :)
will do
 
6:13 AM
I inherited many nasty java applications, you can either spend 6 months reading code, and dependencies' code, or you can profile it and know what is going on within the hour ...
 
Then why haven't you used it for many years?
 
because I don't do java anymore, I'd rather cut my own throat with a blunt knife
6
 
lol, I am starring this.
 
,prmomgs r11
 
6:21 AM
\o
 
@JoeWatkins what does "rather" mean in your sentence? Is there any alternative word?
 
I'd prefer to == I'd rather
 
ah ok thx :-)
 
@JoeWatkins lol
don't why people feel so proud when they hear i am php dev amd they are java dev.
 
@Linus you mean java developers are better?
 
6:24 AM
No, he means java devs think they are better.
 
ah I see .. well they are wrong :-)
 
Some probably are and some are probably not.
 
6:41 AM
lol, check this:
Legacy PHP code. (Jackson Pollock, 1948) #devart
 
I can write crap code in many languages ... Java is special though, make no mistake it is extremely powerful, it does one of two things - 1) elevates the developer such that they permanently live in an ivory tower because the thing they made is so complicated that none of the things that normal programmers think about apply to them, they have a whole other set of problems and think normal problems are solved, or 2) induces suicidal thoughts every time you open an IDE ...
2) follows 1) by about five years ... so if anyone is being a jerk today, just revisit the subject in 5-10, they will have changed their tune, or be dead ...
 
lol
 
@JoeWatkins you forgot generating XML stack traces. that's what it's for
 
that's very true but I was talking about what it does to developers, rather than it's primary function, in an attempt to explain why Java programmers look down on everyone ...
it's not just PHP ... they'll look down on C/C++/C# or any other proper language you'd like to mention ... because ivory tower ...
 
6:55 AM
Except for swift maybe.
 
we all look down on stuff Apple made
 
@JoeWatkins I have noticed a certain discontempt for php since I started Java again
not to the extent that I'd look down on other people though
 
don't get too into it, it can only lead to your premature death ...
 
Guys, when I download/install a php script using composer, where will it be placed? The current directory that I'm in?
 
that feeling that Java has it all right, and that you can see the problems with other languages, it just doesn't last ...
 
6:58 AM
vendor folder
 
@SalOrozco well some frameworks don't have vendor folder.
 
Composer creates the vendor folder not the framework.
 
you so believe that, that you begin to turn to java for everything, and what you end up with is a monster, with stupid, sometimes intractable problems ... then comes 2 ...
I've never seen a nice java stack ... not one single time ...
 
So don't learn JAVA.
 
7:00 AM
@SalOrozco Thats not a real solution.
 
My Question is related to wordpress.
I am trying sync products from other server in wordpress application.
everything is done except images is not showing. it find images path relative to wp-content directory. but i want to put image link as it is.
 
We don't do wordpress here, sorry.
 
There isn't any dedicated room for wordpress
 
lol
 
7:06 AM
@SalOrozco @mega6382, making a custom PHP blog, and having some problem in implementing search stackoverflow.com/questions/47688850/…
 
Wordpress not my thing sorry.
 
@LovepreetSinghBatth Please, don't spam the thread with your question. you have posted the link once, and it is enough. If someone wants to help they will.
 
@JoeWatkins This is not related to my concern, I want a way to insert image links to database directly without upload image to wordpress installtion directory
 
I need to send email by PHP from my server. What's the first step? Should I install a SMTP server?
 
7:12 AM
First step is "google it".
 
lol
Learn to learn. Be resourceful google is your friend.
 
morning
 
yeah, I found the answer
 
@Ekin o/
 
\o
 
7:18 AM
o/
@MdAdil yeah, makes you wonder why..
 
o/
 
7:33 AM
o/
 
\o
 
o/
@MdAdil I have no idea what you are talking about
 
7:51 AM
0
Q: absolute path in images in wordpress

Md AdilI am making a Wordpress plugin to sync products from another application by calling APIs. Like (json): [ { "name": "IPhone", "images": ["http://some-other-than-wordpress-app-domain/some-image-url.jpg"] } ] in plugin (php) foreach($product->images as $image) { wp_insert_attachment...

I posted my question here. Maybe this will help you.
To understand
 
52 mins ago, by mega6382
We don't do wordpress here, sorry.
 
some people do things to wordpress here, but not with it
 
:P
 
8:33 AM
mornin
selling snow
anyone wanne buy some?
 
\o
 
Good afternoon :)
 
9:18 AM
o/
konichiwa
 
よう
 
hmm, I've been learning from this site, and its been quite good so far
 
well good for you.
!!wotd
 
cri de coeur French. an anguished cry of distress or indignation; outcry.
 
9:29 AM
@Jeeves using multiple words for a word of the day is cheating
 
@PaulCrovella Evening and nigh.
 
@Jeeves yawn,yawn.
 
@Linus Tell me a joke.
 
@Jeeves i am a joke.
 
@Linus Another One please.
 
9:34 AM
If there was another bot(just like @Jeeves ) in this chat, and if it tags Jeeves in a message, will there be an infinite loop of them tagging each other?
 
@mega6382 I'd like to tell about God.
 
@Jeeves keep quiet.
 
@Linus I will not be suppressed :D.
 
:D
 
Morning 11
@mega6382 There was a twitch stream where someone linked up cleverbot to speak it itself and rigged it up so they had difference text to speech voices
it was pretty funny
 
9:39 AM
Which one is correct?
- How relationships work in Laravel
- How relationships work in the Laravel
 
@Sean lol
@Shafizadeh 1st one.
 
thx
 
Bots are stupid. :P
 
I thiiink that video / highlight was scripted but there's loads of youtube videos for seebotschat where it's just cleverbot speaking to cleverbot
This one is pretty good, the chat makes it funnier
 
9:48 AM
@Shafizadeh neither, "How do relationships work in Laravel"
 
@JoeWatkins thx
 
you're right, I assumed it was a question ...
 
Woo, I got ondrej to change the ppa name \o/
 
mooooooin
@Shafizadeh neither. The correct one does not involve Laravel.
 
lol
 
9:56 AM
@DaveRandom :D ..! I don't know why people in here hate Laravel ..! Also you seem on a good mood (according to mooooooin)
Is this sentence correct?
> Also you seem on a good mood
 
no :p
 
no I'm just a cow this moooorning
 
@DaveRandom :D
 
@DaveRandom give me milk
 
@AlmaDo What about this: "Apparently you have a good mood"
@SaitamaSama hahaha
 
9:58 AM
@DaveRandom I am really in a mood for steak right now. So, lets get slicing.
 
@Shafizadeh the first one is almost right, it's just that people are usually "in a good mood" rather than "on a good mood"
"on a good mood" suggests that mood is some kind of drug, and I have taken a good one
 
(:
 
> You seem to be in a good mood
that should be about right
 
ftr I am not in a good mood
 
@DaveRandom Ah I see :D
 
10:00 AM
it's 10am on a Monday and I have had <3 cups of tea
 
@DaveRandom Which you probably have. :P
 
my mood is, at best, "unspecified"
 
@DaveRandom first time in a long time I've seen that used for "less than three"
 
lol :-P
 
lol
 
10:01 AM
today is not likely to be an awesome one tbh, because it has started with me having to hand-edit a WSDL document
 
guys, there was a replacement syntax, what is it?
 
because apparently this service has updated it's model without re-publishing the WSDL
 
s/what/to
 
@AlmaDo ah thx
@SaitamaSama s/in/on
 
@Shafizadeh In addition, that could be taken for passive aggressiveness haha
Like "apparently" you're in a good mood (but I don't see it)
 
10:03 AM
17
Q: How long would it take to “ domesticate” humans?

Jayden HarrisIf aliens were to come down to Earth and enslave humanity, how long would it take to selective breed the humans to make them more docile and less resistant to their alien captors. Like if the just breed the most friendly and least aggressive humans and killed of the rebellious ones, how long woul...

:D
 
@DaveRandom Damn, that's a lot of tea for a morning
 
GAH, I'm so bad at hog
 
@Sean =)
 
Can anyone recommend a library for generation gaussian distributions of amounts of money?
 
I guess you should explain what's "gaussian" first :-)
 
10:21 AM
er, apparently I'm actually asking for a 'lognormal distribution'
 
That only has a version of dev master, which is disconcerting.
public function __construct($mean = 0, $variance = 1, $skewness=0, $kurtosis=0) {
			static::validateParameters($mean, $variance, $skewness, $kurtosis);

			$this->mean = floatval($mean);
			$this->variance = floatval($variance);
			//$this->skewness = floatval($skewness);
			//$this->kurtosis = floatval($kurtosis);
		}
Also, disconcerting.
 
10:52 AM
sigh hilarious .. answers (: And if OP was a female while a "photographer" was male - the answers would be "it's a harassment! sue him!" .. "Equality" .. sigh
 
@kelunik Sure. From master?
 

« first day (2613 days earlier)      last day (2318 days later) »