« first day (2025 days earlier)      last day (2919 days later) » 

Ekn
10:00 AM
drawn or.. not sure
 
@Ekn No, that's clearly a Rinnegan.
 
Ekn
:p
 
@Ekn I must admit to not knowing what an e8 root system is
It's simply a fully interconnected 32-gon
My greatest work of art :P
 
Ekn
there's a representational image as well :)
 
@Ekn Hum, my Lie group theory is not very strong
 
10:06 AM
@MadaraUchiha madara admit it... geass is better than rinnegan... or anything else from the naruto universe
 
I like to stick to the simple matrix groups
 
@Saitama Depends on which Geass, for starters.
Also, I would definitely take Rinnegan over Geass in this world.
Mainly because what Rinnegan implies.
If you gain the Rinnegan naturally, you're already god-level before you even started using it.
 
@MadaraUchiha hmm...
 
hi
 
but to atain rinnegan you have to work... really, really hard, but geass...
 
10:14 AM
anime and math conversations blend almost seamlessly when you understand neither
 
doesnt have any dependency
@PaulCrovella lol
 
Ekn
@NikiC quite understandable. not that I have strong knowledge either... but it's interesting
 
@JoeWatkins did the other xhprof branch work or had to port it yourself?
 
Ekn
@MadaraUchiha I would pick Rinnegan as well. Geass is... different
 
@Ekn Geass gives you complete control over people
 
Ekn
10:18 AM
Which is... incomparable with Rinnegan
 
@MadaraUchiha for ex, I could tell, gai, to open the eight gate at the beginning of the anime
 
Rinnegan gives you movement prediction, mind reading, near invulnerability, sick 400ft tall battle avatar, at least 5 invisible indestructible clones, gravity manipulation, etc etc
@Saitama And you'd get your ass handed to you, while he dies too.
Saitama vs 8 gate gai would be a fun battle to watch though
 
@MadaraUchiha true dat...
 
Ekn
heh indeed
 
@Saitama Also, you can just tell people "kill yourself" like Lelouch does multiple times in the show
 
10:22 AM
@MadaraUchiha madara actually has a god like power, but geass can simply make madara obey the wielder's orders....
and also lelouch makes the "GOD" obey his commands in episode 21
 
@Saitama I honestly don't know if it's that simple
@Saitama For starters, that's because "GOD" is the collective minds of humans
Against which his Geass is perfect
 
hm..
 
Second, his Geass only works on humans, which excludes zombie madara, and probably rikudo madara
 
Ekn
yeah..
 
Which are his 2 most dangerous forms
 
10:24 AM
@bwoebi we are about to test today some time, had to do a pr to make it run tests locally first ...
 
Is it possible to give a web server an dynamic IP address?
 
@MadaraUchiha they are....
but... but.... but......
 
Or does it always have to be static
 
Frankly though, I'd take Accelerator's Vector Manipulation over either Rinnegan or Geass
 
@Mr_Tree Theoretically, it could be dynamic. But that's going to be a hell, since someone always has to know what the actual IP address is and adjust any DNS records pointing to your server.
 
10:28 AM
Thank you for your answer
 
And you'll need to update your webserver (apache/nginx etc.) config all the time.
 
@MadaraUchiha What is "Accelerator's Vector Manipulation" ?
 
@Saitama Accelerator is a character from the "A Certain Magical Index" universe
And his ability is Vector Manipulation
 
Yes that is what i thought. I am studying for a test and this question came up - i just wanted to check the answer was correct
 
@MadaraUchiha which is?
 
10:29 AM
He can control any vector he comes into contact with, velocity, force, manipulation, heat transfer, electric currency
Anything in nature that has a direction and a magnitude.
 
@MadaraUchiha dafaq
 
@JoeWatkins looks like maintainer is active at least :-)
 
That's one of the most abstract and OP powers I've seen in anime in general.
 
Does, that actually work....
 
@Saitama He maintains a whitelist of "harmless" vectors, that are allowed to reach him, the rest gets reflected by default
You can try to snipe him in his sleep, and the bullet would just end up in your eye.
 
10:31 AM
@bwoebi yeah, the original repo is in a bit of a worrying state, there's a few pretty useful PR's open and not even a comment on them
 
@MadaraUchiha I need to watch that anime next, then....
I am still in ep 7 of elfen lied....
 
@Saitama Keep watching it :)
It's not that long
 
And I get the feeling that Lucy is Kohta's long lost sis
 
hello geek anyone free ?
 
@Levi The 2 week discussion phase for unions is over … Do you want to hold vote in limbo until 7.1 feature freeze?!^^
 
10:37 AM
@Saitama Mayyyyyyybe
 
Ekn
How does this look?
 
@MadaraUchiha ;)
 
Ekn
.. bad - notbad.obama.png - nice :p
 
@Ekn wuzzat?
I feel like there's missing context in that pic
Is it part of a bigger form?
 
Can anybody please help me in Prestashop webservice?
 
Ekn
10:41 AM
nah, it's just that. I just haven't decided how to represent it yet.. it just takes a link and some short descriptive title and saves quickly
 
@Ekn Too much left margin
 
Ekn
yep, I'll change it's place and that now
 
Anybody?
 
I think the prestashop forums would be a better place if your questions are specific to the webservice Kshitij
 
I tried there too but got no help
 
10:45 AM
I would give it a 99.8% chance that nobody in this channel knows anything about the details of the prestashop webservice.
 
@KshitijPandey what's the exact question?
 
Don't break my assumptions HamZa!
 
@DamienOvereem haha, I used it once. I'm pretty sure I'm far from knowledgable in that domain.
 
I am making a call to prrstashop api
and getting a 302 status response
 
10:47 AM
@DamienOvereem lol
 
This call to PrestaShop Web Services returned an unexpected HTTP status of:302
Like this
 
@KshitijPandey 302 means redirection to another uri...
 
@Ekn I'd use example.com (or .org or whatever) - the domains are reserved for the purpose
 
But on giving the same url directly to the browser I get the xml response
 
@KshitijPandey how are you calling it? You might need to "follow" the redirect
 
If you're using (php) cURL, then there's an option to follow it
 
^ that
 
define('PS_SHOP_PATH', 'http://127.0.0.1/presta/');
$webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG);
How do I follow it?
Sorry I am kind of new to stack
 
use pastebin or something like that, to show us code
 
Ekn
@PaulCrovella Of course, that was just for my own (pretty desperate) amusement
and lack of coffee
 
10:51 AM
@KshitijPandey Use pastebin or gist.github to share the whole code. If it contains sensitive info, make sure to make it "private" or set an expiration time.
 
How do I do that
Sorry I've got no idea about these things
 
I'm speechless...
 
heh
 
I have wrote the code on gist
but how do I share it?
gist: 16ca0b9d98442f0aed133fd8e1c8d840, 2016-05-02 10:53:15Z
<?php
	if (isset($_SERVER['HTTP_ORIGIN'])) {
        header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
        header('Access-Control-Allow-Credentials: true');
        header('Access-Control-Max-Age: 86400');    // cache for 1 day
    }
 
    // Access-Control headers are received during OPTIONS requests
    if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') {
 
        if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD']))
            header("Access-Control-Allow-Methods: GET, POST, OPTIONS");         
 
        if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']))
            header("Access-Control-Allow-Headers:        {$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']}");
 
        exit(0);
    }
	require_once('PSWebServiceLibrary.php');
	define('DEBUG', false);
	define('PS_SHOP_PATH', 'http://127.0.0.1/presta/');
	define('PS_WS_AUTH_KEY', 'ZW1826R7N46TRCIBE9WFPATFIY5CGF8N');
	try {
		
		$webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG);
                $xml = $webService->get(array('resource' => 'cart_rules'));
                $opt['resource'] = 'cart_rules';
 				$xml = $webService->get($opt);
            	$resources = $xml->children()->children();
            	echo $resources;
	} catch (PrestaShopWebserviceException $ex) {
		 echo 'Other error: <br />' . $ex->getMessage();	
	}
?>
 
@KshitijPandey send the link?
 
Ekn
10:54 AM
o.O
 
share the link.... which you see in the address bar of your browser
 
feel so stupid
 
wow, can't believe I got muted for that. so silly.
 
Yeah..
 
@taco wut?
 
10:55 AM
Hi, i have a csv file and i want to delete every line that's not containing "@anything.anything" for example "@aol.com"
 
@HamZa I'm not falling for that!
good night guys
/poof
 
@KshitijPandey pro-tip: never forget to remove credentials/passwords
 
@taco wut happened tho?
 
Yeah sure
 
@KshitijPandey My first approach would be to remove the first 19 lines of code. To track the bug, you need to keep the code minimal. Second, define debug to true: define('DEBUG', true);
 
10:58 AM
Did that
Now getting the http request and response header with the 302 error
 
@DamienOvereem I know that it's probably terrible, does that count?
 
@KshitijPandey is the path to the API correct?
 
yeah its correct
 
@KshitijPandey 302 is not an error, it's a redirect. When you get a 302 it means you haven't finished yet...
 
cause when I directly paste the url in browser I get the xml response
So how do I follow that redirection??
 
11:01 AM
^ because the browser follows the redirect
 
oohhh
 
CURLOPT_FOLLOWLOCATION is my stab in the dark guess without reading the conversation
 
@DaveRandom Prestashop has a library to communicate with their API
 
@HamZa any idea about this ==>> i have a csv file and i want to delete every line that's not containing "@anything.anything" for example "@aol.com"
 
Ah k, well look at the final url in the address bar then
 
11:03 AM
Basically you might need to read the source of the library that you're using. There are 3 outcomes:
- The documentation describes how to "follow" the redirect
- YOu might need to edit the library like @DaveRandom suggested
- You're doing it wrong somewhere (htaccess? code? no idea?)
 
Ok
I'll try all the 3 options
 
@Devilion dont ping random people
 
Thanks @HamZa @DaveRandom @Saitama
 
@Devilion I need some samples. Here's a first try: regex101.com/r/mB5fQ4/1
@KshitijPandey which version are you using, 1.6?
 
@KshitijPandey triple check that url you are using as well including http vs https
I would personally say that if the lib does not follow redirects by default then it's broken anyway, but that's me
 
11:09 AM
Just a second, I found the culprit...
@KshitijPandey ^
 
Is it @PeeHaa's fault?
4
 
haha
 
@DaveRandom Isn't everything PeeHaa's fault?
 
@DaveRandom IT IS....
 
I would add "CURLOPT_FOLLOWLOCATION => TRUE,"
 
11:11 AM
Can I fork dat, and send a pull req?
 
@Oldskool yes
 
@Saitama yes?
 
geezus that code is a mess
 
@HamZa k. :D
 
@Saitama But I don't know if they didn't know or deliberately designed it that way...
 
11:12 AM
@Saitama check the issue history etc, there might be some security or legacy reason it's like that
 
@DaveRandom alright :)
 
Enough php for today haha
 
I cant find the issues tab
 
@Saitama It's a feature, it can be disabled.
 
But you can send a new pull request...
Hmmm...
 
11:14 AM
They probably have an issue tracker on their main site or something
 
cough
 
gesundheit
 
@KshitijPandey if it worked, can you update me? I'd like to know if our solution worked or not. Thanks
@Gordon danke
 
There is a (not very good) argument that following redirects by default if the API does not use them is a security hazard
 
> -1 days in this column
 
11:16 AM
For those who dont know german... used to wish good health to a person who has just sneezed. is the meaning of chat.stackoverflow.com/transcript/message/30283179#30283179
 
Well done jira...
 
@DaveRandom I'm almost pretty sure that he/she did something wrong somewhere. I can't remember having that issue before.
 
But if the API does not use redirects then he probably just has the wrong url anyway
Bbiab going out
 
@DaveRandom lata
 
@Saitama working hard are we?
 
11:18 AM
@Naruto for what?
 
@Saitama it's a rhetorical* question
 
because that damn slither is open on your browser ;)
 
@Naruto lel...
I got to 12k this morning
 
I hope your never send screenshots to your boss xD
 
@Naruto I have no boss... :D
 
11:22 AM
@Saitama ok sorry
@HamZa it's not working?
 
@Devilion explain why not? Remember that PHP doesn't have the "g" modifier.
Otherwise, show the code (gist.github or pastebin)
 
@Saitama Dude, Gesundheit is totally an english word: oxforddictionaries.com/definition/english/gesundheit
 
!!google gesundheit
 
just like Zeitgeist and Kindergarten
 
Gesundheit, Medizin, Krankheiten, Ernährung - gesundheit.de Ratgeber für Erkrankungen, Ernährung und Fitness. | Gesundheit – Wikipedia Gesundheit ist ein vielschichtiger, kulturell und histo… | Gesundheit - Wikipedia, the free encyclopedia Gesundheit (German for health) may refer to: Look up Ge… | Search Url
 
11:27 AM
@Gordon okay....
 
!!wiki gezondheid
 
@HamZa Sorry I couldn't find that page.
 
!!google gezondheid
 
Gezondheid.nl De bloeddruk van een persoon zegt veel over zijn of haa… | Gezondheid - Startpagina.nl Gezondheid, belangrijk en mooi meegenomen. Je kan oud w… | Gezondheid | NU - Het laatste nieuws het eerst op NU.nl Lage stem duidt mogelijk ook op gezond immuunsysteem 10… | Search Url
 
@Jeeves could you move to some english place, really, fast?
 
11:28 AM
!!google jeeves
 
!!google spam
 
Jeeves, Ziekenhuisdiensten, Senior Service Jeeves wil gastvrijheid, dienstverlening en ondersteuni… | Chauffeur gastheer student senior gezocht, bekijk vacatures bij Jeeves Bij Jeeves werken doet u op gevoel, onze dienstverlenin… | Chauffeursdiensten, studentchauffeur en seniorchauffeur van Jeeves Jeeves levert sinds 1998 chauffeurdiensten met studente… | Search Url
Spam (post) - Wikipedia Spam is een verzamelnaam voor ongewenste berichten en i… | Spam - Wikipedia Spam kan verwijzen naar: Spam (post) - ongewenste elekt… | Spam; Wat is dat en hoe kun je het voorkomen? Een spambericht is een bericht dat u ongevraagd ontvang… | Search Url
 
Seriously.. dutch google?
 
ahahaha @PeeHaa ^^
 
Yeah @DaveRandom knew how to fix it, but he wouldn't tell me
 
11:29 AM
facepalm
 
Just deploy it in somewhere like, us, uk, etc.. etc...
 
Does it default to dutch in Netherlands?
 
@PeeHaa Simple fix until proper fix would be to use .co.uk
 
@littlepootis yes
I guess IP based?
 
11:31 AM
@HamZa that is it...
 
@DaveRandom or some shaddy service like "hide my IP" hehe
 
i want to add multiple reviews of one employee. is it possible without creating a review table in db ? emprates.96.lt
 
haha
mornings
 
@FélixGagnon-Grenier '
 
afternoons
 
11:36 AM
@PeeHaa Maybe you can change the query here github.com/Room-11/Jeeves/blob/…
 
@Hisham you should add another table
 
ok
 
@MadaraUchiha so true.... :P
 
@MadaraUchiha I was expecting something more violent.
 
11:40 AM
@MadaraUchiha LOL
 
!!chuck
 
Chuck Norris doesn't wash his clothes. He disembowels them.
 
why does chuck norris's clothes have bowels
 
11:42 AM
so he can disembowels them
 
So I heard something weird today. Someone saying "look up the source code of HTML"
 
@HamZa While you're at it, look up the source code of XML too!
 
haha
 
it aint html source code , its functionality
 
:P
 
11:47 AM
Well, technically, it's a specification. Right?
 
@MadaraUchiha I have yet to ask that question of teresko :)
 
@HamZa Correct. It's just plain text following a given standard (or at least it should ;-)).
 
@DamienOvereem Yes?
:P
 
@HamZa It's the browser that transforms it into visual stuff.
sorry, mispinged :)
 
yup
 
11:48 AM
Seems like a great thing to do when I am bored.
 
@HamZa HTML is an interpreted language
So there's no "source code" of HTML, there's a standard that interpreters are expected to follow :)
For that matter, there's no "source" to PHP either, PHP is a language, it has, at best, a language specification
 
@MadaraUchiha does it have a spec haha?
 
PHP's "source" is the interpreter.
 
I remember something about FB trying to make one?
 
@HamZa I don't think it does, and it would benefit from a spec greatly.
 
@PaulCrovella I see @NikiC everywhere on github whenever there's PHP :o
 
What is this odd thing people call specs ?
 
sometimes misspelled sanity, it is
 
@HamZa We have a lang spec
kinda sortof
Oh too late
 

« first day (2025 days earlier)      last day (2919 days later) »