« first day (1384 days earlier)      last day (3564 days later) » 

9:00 AM
link?
 
@Jimbo meh, 10M downloads for my trashy jQuery plugin hehe
 
@Jack You've had 7 years though ;)
 
True
I haven't maintained it in 7 years as well.
 
hi anything possibility to add menu in front end menu bar using customized plugin in wordpress?
 
@Leri Yup. It's the most sensible solution.
 
9:05 AM
@PeeHaa For some reason my git is taking forever to push to the cloned thingy, or I would link you up-to-date-code
 
@Jimbo where did you get these data?
 
@FlorianMargaine Click the button with 18.71k on the page
 
@Jimbo I don't find it
 
@FlorianMargaine You can't miss it; anyway, this is the link.
 
though I can't update it, for some reason, from here there isn't any major change it SO; how bad is this: github.com/moshmage/motoserra ?
 
9:11 AM
@Jack ooooh. I thought it was part of github's UI.
 
Overall: 144 903 installs
30 days: 26 496 installs
Today: 479 installs
:)
 
E-Penis battle :P
 
:D
 
lol
 
Last time I put an update, ircmaxell had to show me his 5 million incher
 
9:13 AM
hahahahahaha
 
(read: 5M downloads, php_compat or something)
Nah, not so much
> Overall: 1 625 878 installs
 
Overall: 1 installs
30 days: 1 installs
Today: 0 installs
 
Yay Patrick!
 
:) ^
 
my dynamodb session provider; Overall: 67 installs - 30 days: 3 installs - Today: 0 installs
/o\
 
9:14 AM
(╯°□°)╯︵ ┻━┻)
 
PHP 7: ¯\_(ツ)_/¯
 
don't know how to ascii art, but I use correct punctuation.
 
@iroegbu yes, I am aware that that needs a revamp; But I cannot undertstand why you guys say that everytime a database class passes by x)
 
@AlmaDo PHP "7"
 
9:17 AM
(:
 
hello
how to hid jwplayer file path
 
@MoshMage well , you could start it by updating for php 5.0
 
@user2848901 say waaat
Aaaaaarg tabs @MoshMage
 
I thought I was using 5.0? :o
@PeeHaa tabs?
 
Gawd, is this troll php users with javascript questions day?
 
9:20 AM
i am using jwplayer for video
 
btw, github.com/moshmage/motoserra/blob/master/classes/… , you CAN use exception wiht MySQLi
 
@MoshMage you shouldn't be using var in PHP5
 
@PeeHaa hello
 
also, yeah , that prep() thing is complete crap ... hell, it's actively harmful
 
9:22 AM
@PeeHaa uses code from deleted answer ... win!
 
brb, installing ubuntu on work laptop :)
 
my condolence
 
wut? I thought it was pretty neat. I mean. It does end all possibilities of injecting stuff -- or so I thought?
 
lolno
 
No that is a horrible horrible thing to do
 
9:23 AM
@MoshMage Keep asking questions - these people know what they're talking about :-)
 
Second line github.com/moshmage/motoserra/blob/master/classes/… is not meant for preventing sql injection but should only be used when outputting data
 
it injects global variables straight into all your code :)
 
$new_enough_php = function_exists("mysql_real_escape_string"); -- L. O. L.
 
@tereško right now its running osx...
 
Third lin github.com/moshmage/motoserra/blob/master/classes/… --> bail if that is not the case because you dont want to support 12 year old php version riddled with vulnerbailities
 
9:25 AM
"PHP developer" requirements: PHP OO using 5.2 and 5.3 or higher; MySQL +Cluster (DBA level preferable); MongoDB storage; at least one successful project on Ruby, J2EE knowledge, JBoss mandatory, {..} .. cool story. Who the hell are they searching? Oo..
 
@NikiC I have a fix for 67693 that could go into phpng as well ... you reckon i can just push it there?
it's in master as well, of course.
 
Also you have lots of public mthods which don't do any sql injection prevention @MoshMage
 
@AlmaDo Dev with >10 years experience. :-)
 
@Leri it's 5+ years there (in requirements list).
 
wow. Thank god I never tried passing tags into that x)
I thougt stripslashes well.. stripped slashes trying to escape stuff, like `\'`
sql injecction prevention should be the prep() function, but it turns out it's just a dud xD
 
9:27 AM
I can't imagine.. and it's only general requirements. There are "small" things like jQuery + Angular (as "great benefit")
 
@AlmaDo Looks like they want one person to do the work of multiple people
 
:)
 
how could that be in requirements?
 
@AlmaDo probably someone to maintain a legacy wordpress-driven shop
 
@AlmaDo looool
 
9:29 AM
@tereško if "wordpress" is around J2EE & Mongo, my opinion about it is improved just now
 
nope
 
and wtf is Ruby doing in that list..
 
I'll just start reading up on Symfony, it'll teach me better than trying to hack my way through my own code ;P
 
soo, they're looking for php dev who should also do their own backend in jboss, mongo and mysql?
 
@AlmaDo Hmm. Honestly, if you omit last successful project and jBoss, it's not much for 5+
 
9:29 AM
dat too
 
@Jack okay. what about MySQL Cluster, Mongo & Ruby ? (:
and yes, Angular + jQuery as well
 
@AlmaDo they would expect you to integrate that lecacy php page with their SOAP API, which has been written in java and the "new website" which has been started in ruby rails
 
I just closed that position (: too funny for me
Anyway, already applied for some positions today
Filtered so no contain "frameworks", "expert CSS knowledge" or messy things like above
 
> If you need Java integration in PHP 5 or PHP 6
What ^
 
9:34 AM
^ yay, I'm sooo ashamed
I'm overtrolled (:
 
Ah suck it Docker, who's your daddy now!
 
@Leri fixed
Also I nuked the other spam comment
(will take a while to propagate to all mirrors)
 
I'm just curious. Is it only PHP problem that it's not enough to know "just PHP" to be a good person to hire. You should also know many, many surrounding things. I'm not saying about DBMS (it's almost mandatory in web), but it's always expecting to know PHP frameworks, javascript & it's frameworks too, CSS etc.
 
That's because to know JavaScript and jQuery and CSS and HTML5 are very simple
 
or other languages also have such continuous list of things which should present in skills list?
 
9:39 AM
@AlmaDo I was not expected to know any frameworks
 
like.. hm, Objective-C (iOS) or C#
 
@AlmaDo It's idiotic recruiters or recruitment marketing
 
@DaveRandom Great. BTW, have you ever tried that converter?
 
@DaveRandom so, I found some places where it's not mentioned in requirements list (but that's not guarantee that they won't ask that if will respond in my letter, sigh)
 
@Leri No, because things like that are stupid and because I have no need for Java in any scenario where I would use PHP or vice versa
If I ever really want to convert some code from one to the other I will do it manually because codegen tools like that never create good code, they rarely even create code that does what the original did, and then you are stuck debugging something you didn't write
 
9:42 AM
@Fabien got some successful story? :)
 
It's a year since I'm with you, guys! And I like this year!
 
@DaveRandom Agreed but haxe.org was working for me well. And I should admit generated code was pretty clean.
 
@AlmaDo I had a couple of interviews before I got this job, and all of them said "this is what we use", none of them said "knowing this is a pre-requisite"
 
Not enough support is the only reason why I quit it
 
9:44 AM
@DaveRandom fair. I hope that I'll find a good place (:
 
@DaveRandom I can still rmb this local job that required knowledge of Haskell for ... their reporting system =/
 
@FlorianMargaine nah.. that's just for SO (:
 
@AlmaDo Cool, I've answered your second question on SO :)
 
uh.. and what was the first? I guess it was ugly :p
 
1
Q: Calling methods concept in PHP: static call versus object context

Alma DoSO, I have a problem with concept of PHP class method calling. Let we have a class that implementing simple sigma action, for example, a sum: class Sigma { protected $_fValue = null; public function __construct($fValue) { $this->_fValue = (double)$fValue; } public static ...

 
9:48 AM
oh that. It reminds me that it was a great sample of XY
 
@AlmaDo welcome :)
 
@FlorianMargaine Not major success but got it running what I mostly need for us.
 
@Jack you also helped with this stackoverflow.com/questions/21902817/… (much more interesting), so..
 
Hello guys! Do you know how can I prevent SQL injection in my WordPress plugin's form?
 
@AlmaDo ah yes .. that took some effort lol
 
9:50 AM
 
ty
 
@Jack I remember that was such a "fight" in comments (: a shame we deleted them
 
patrick can you kelp me in wordpress?
 
Kelps are large seaweeds (algae) belonging to the brown algae (Phaeophyceae) in the order Laminariales. There are about 30 different genera. Kelp grows in underwater "forests" (kelp forests) in shallow oceans, and is thought to have appeared in the Miocene, 23 to 5 million years ago. The organisms require nutrient-rich water with temperatures between 6 and 14 °C (43 and 57 °F). They are known for their high growth rate — the genera Macrocystis and Nereocystis can grow as fast as half a metre a day, ultimately reaching 30 to 80 metres (100 to 260 ft). Through the 19th century, the word "kelp" was...
 
yeah, what does algae have to do with wp?
 
9:52 AM
^ @Patrick it's for you
 
@Zorgatone have you written a plugin and now want to prevent sql injection in it?
 
If you have a wordpress question, please press 1. Otherwise, please hold and we will connect you with one of our chat members...
 
@Fabien nice
 
What a cactus.
 
in what an ass?
 
10:03 AM
in whose ass you mean?
 
Meh, ass owner is known and he definitely likes that ass.
 
10 messages moved to bin
 
it was @PeeHaa (:
 
@RonniSkansing yessir ^_^, I'm kinda newbie on wordpress devlopment.. I don't know if I can use the mysqli or pdo library directly, as I can't know user&pass of the DB, and I have to rely just on the WP hooks
 
@Zorgatone in the wp-config you must have input your db credientials (wp-config.php in the root). I would recommend you use PDO instead of the $wpdb global.
 
10:14 AM
@RonniSkansing No man, I can't read that directly from my plugin
 
@Zorgatone Well, it's not your fault that you platform is piece of crap. Don't violate their guidelines. However, don't show your plugin to the public. :D
 
@Zorgatone that last reply was abit unclear to me.
 
And quit using/developing for wordpress asap.
 
@RonniSkansing I don't think It's good to get the user and pass of the user from my plugin, that's kinda bad imho xD
the SQL DB credentials
 
global $insertanythinghere; is the worst thing you can do.
 
10:17 AM
@Zorgatone I am not sure what you mean, what I was saying was, your db credientials are already defined in the wp-config.php
 
hm..  nice knowledge level table:

You know all the things            -  Junior
You realize that you know nothing  -  Middle
You don't care                     -  Senior
 
Lol
@RonniSkansing I'm saying that I should not write code that reads the content of the wp-config.php settings
 
Where are you @JoeWatkins! :P
 
@AlmaDo Don't care what? :D
 
@Leri so you're not a Senior
 
10:18 AM
Ahahaha
#trolled
 
@Zorgatone the username and password are constants. They are already loaded whenever your plugin is loaded, just try var_dump(DB_PASSWORD); die;
 
@RonniSkansing LOL you're right sir xD
 
@AlmaDo I never said I am. :D but still curious what you should not care. -.-
 
@Leri Anything
 
@Zorgatone If you don't care anything, you are dead, imho. ;)
 
10:22 AM
Surviving should be the primary thing you should care about ahah
Just care about what you want to, and #yolo D
xD
 
@Leri you don't care what's in the requirement list (:
 
Btw, where should I include my plugin's admin page stylesheets?
I'm using @import inside my custom page and it's slow to load
xD
 
@Zorgatone often then info is on the wp "codex" page. codex.wordpress.org/Plugin_API/Action_Reference/…
 
@AlmaDo excellent!
 
ty
 
10:25 AM
which php version are you on?
 
I'm on PHP 6
 
5.5 and 5.7 (windows/linux)
 
@AlmaDo Then I'd already be senior. Something must be wrong with your table…
 
@PeeHaa hmm.. don't forget, you will hire us (: For Eleven Team Productions :p
 
10:26 AM
:)
 
@bwoebi hm.. I don't care
 
@AlmaDo ;-)
 
what is "First screening" ?
 
@RonniSkansing sometimes when I google for wordpress docs I get so much crap I don't need, just because keywords match not only what I need to find in the docs, that's why I asked here ^_^
 
@AlmaDo don't care! :-P
 
10:28 AM
Context: Should your experience and skills match our client’s expectations, we will be in touch to arrange initial screening
 
@Zorgatone add "codex.wordpress" to the search
 
kthxs
 
also, what's the difference between "London" and "city of London" ?
 
@AlmaDo london is the big city. city of london is the small town which gets its money from the MAFIAA
 
10:32 AM
oh. that sounds like opportunity
 
That name, lol
 
What do I need?
 
How do I know if my script admin page is loaded for the first time and I need to create my custom DB table? How do you do it?
 
@Leri To me that's a slightly different thing, even though it basically does the same thing at the end of the day - it's for maintaining an application across multiple platforms, not code conversion.
And I wouldn't do that either :-P
 
10:41 AM
@YogeshSuthar welcome back! Where have you been!?
 
> On the server, you can target PHP (for cheap hosting)
lol, sigh
 
@Zorgatone depends on what your plugin does
 
@Zorgatone Check against a variable?
 
lol. Google displays fwtools.de/clan/de7/4330/404+-+Name+not+found this as a soft 404 error, while it shouldn't be anything like a 404 :o
 
@iroegbu did you succeed or shall I help you?
 
10:47 AM
@RonniSkansing I need to create a custom table to manage some custom data (big big tables), nothing to do with wordpress in theory.. Just to make it easy for the website admin to view the data they need
I came up with this link: http://codex.wordpress.org/Creating_Tables_with_Plugins
I just need to create with this hook? register_activation_hook
 
@HamZa I might need help... can't seem to figure it out
you finished them?
 
@iroegbu I'm at 35 :P
 
I'll keep trying... if I can't I'll ask for help again.
 
@iroegbu In the mean time, I'll try to create a gif :P
 
@SecondRikudo ohlook! You're in js as well.
 
10:51 AM
okay, thanks
 
Btw I just realized that I can use $wpdb->prepare to prevent SQL Injectio ^_^
 
@MoshMage I am everywhere, and nowhere.
 
@Zorgatone are you using wp3?
 
@HamZa latest wp
 
Oh I see... That's good, the old ones were far from that AFAIK
 
10:53 AM
if i have a directory on my website name "abc" and in it two php files (page1.php, page2.php) how can i restrict access to that directory if someone types: site.com/abc/ for not to be viewable those php`s ?
 
@KraziiKiiD Use a .htaccess if you're apache powered
 
@HamZa that's what i used
 
@KraziiKiiD Now you need to know the implementation :P
 
@HamZa i've tried this, but isn't good:
RewriteEngine on
RewriteCond %{REQUEST_URI} !/page1/
RewriteCond %{REQUEST_URI} !/page2/
RewriteCond %{REQUEST_URI} !/abc/page\.php
RewriteRule .* public/abc.php?q=$0 [L,QSA]
 
...
 
10:55 AM
@HamZa where is the problem?
 
@KraziiKiiD It's time for me to check some regex questions. Maybe I can reach 10K someday
 
@HamZa You say that like you had some lousy 68points
 
LOL. Just spent about 30 minutes trying to figure out why site wasn't setup correctly in nginx
kept modifying server configs and restarting a lot
 
@HamZa Was busy with work.
 
@MoshMage I'm not a repfarmer, that's why I don't acquire rep that quickly
@YogeshSuthar Alrighty!
 
10:58 AM
Finally saw that nginx WASNT restarting correctly and the [fail] was aligned to the right of my console and I never spotted it.
 
@HamZa Yeah, but's not like 500 points take that long, just go on to the bounties on regex and any 3 or 5 answers should get you there :P
 
@MoshMage There are some questions I really wonder why there is even a bounty on it
Also:
 
@Zorgatone you can use the register_activation_hook to run some custom funcion when the plugin is activated.
 
in RegEx, Jul 24 at 11:41, by HamZa
lost interest. I have made rules for myself:
- If I find a duplicate, close it as such
- If it's too easy and there should be a duplicate but too lazy to search for and no one has posted an answer: post a CW answer
- If I'm too lazy to post a full answer: post it in the comments without providing an answer
- If I feel like providing a full answer: post as answer
- If it's horrible, no efforts: downvote and probably close it
 
@RonniSkansing That's what I'm trying now, thanks.. I'll just use it to run my SQL code to create the tables if they don't exist arealy.. ^_^
 
11:02 AM
@Gordon You are German, your opinion on acceptable name lengths is invalid :-P
 
I know I'm picky. Also whenever I enter I get out of it with multiple facepalms.
 
@HamZa Those should be rules for the site in general
 
@HamZa 1 star for rules. :)
 
Thanks guys :)
 
@HamZa A Coder with a Code!
 
11:05 AM
 
LOL it's not working :(
<?php

register_activation_hook( __FILE__, 'wintertour_install' );
function wintertour_install() {
global $wpdb;

$wpdb->query(file_get_contents(plugins_url("CREATE_DATABASE.sql", __FILE__ )));
}
?>
 
youtube.com/watch?v=BKorP55Aqvg <- brilliant! comedy, not Friday
 
I guess WP is gonna stay like that like forever...
 
I'm going to do my meal break, cya
 
Video screen capture for windows, free?
 
11:13 AM
 
^ I use MSI Afterburner (well, I believe, it relies on my video-device to capture video directly from that device)
 
@Leri wow
 
anyone here is from the usa or the uk? I wanted to know if you guys really use the expression "he broke his fast"
(meaning he ate breakfast)
 
@MoshMage Nope
Whoever told you that is talking bollocks
 
wazzup, bro? you broke your fast? gimme da code!
 
11:17 AM
But is it a valid expression? Raymond E. Feist uses it in one of his books, I got the jist but I never heard such expression that's why I asked
 
@MoshMage Not with regards to breakfast. If someone is fasting, perhaps they can break it, I don't know, it's not English culture
 
@Jimbo Exactly
If I translate that into dutch that's exactly what we say when we finish fasting at the end of the day
 
@HamZa Dutch people fast? Is that, because they're Dutch? Or a religious event?
 
@MoshMage I am from India, and we also do fast.
 
@Jimbo no, muslims do. At home we don't speak english. We mainly speak dutch or arabic.
 
11:20 AM
soooo what does "fasting" refers to? (also, i just wikitionaried it and en.wiktionary.org/wiki/break_one's_fast seems like a valid expression. should've googled before asking though now I seem like a smartass)
OOOHHHHWAIT!
 
Things that invalidate the fast:
> Eating, drinking or smoking deliberately, including taking any non-nourishing items by mouth or nose. - See more at: islamicity.com/Articles/…
 
@MoshMage I thought that fasting meant "restricting yourself from eating and drinking". Note that some religions allow to drink certain drinks
 
fast = time without eating
 
It says nothing about ingesting food
Absolutely nothing.
Put a tube down your throat, liquidate your KFC, boom.
 
@Jimbo NO at least not in islam :P
 
11:23 AM
1 day fast == eating nothing in a day. :)
 
@HamZa I'm looking at Islam rules for that.
Show me rules / passages, I guarantee that it says nothing about ingesting.
 
oh. Now I got it; "broke his fast" doesn't mean "ate breakfast" it just means "he was some time without eating and then he ate something after X time of not feeding"
 
@MoshMage exactly
 
php: Teaching english grammar like no school before
 
@Jimbo There are rules, I don't know all of them since I'm almost never sick. So I never had to deal with those extreme edge-cases
 
11:24 AM
@HamZa I don't mean because you are sick, I mean because f* the system
 
@Jimbo that's.. actually ingenious x)
 
Because it's still "allowed" :P
 
@Jimbo lolwut... I'm not a pentester when it comes to religion. Sorry :)
 
Would surely like to know if that workaround worked x)
 
@HamZa It's a point though - if a genie said I had 3 wishes, I'd have to be a pentester to choose something and not get something bad come from it, a load of sub-clauses all in one long sentence etc
 
11:25 AM
@MoshMage Meh, I mean then there's no point in fasting if you did that
 
Well, you fast because the rules say so
And if you do things that don't invalidate the rules, yet keep you happy, win-win
 
Also Ramadan (a month where muslims fast in) has ended just a few days ago! So I can eat again!!!
 
@HamZa true; But I'd like to see the reactions to it and the discussion that would emerge from that. Come to think about it, that's like spreading chaos.
Still, @Jimbo, I think everyone would choose to fast than having tubes down their throat x)
 
@MoshMage It has already been discussed whether that invalidates your fasting or not. Most of them do, you need to catch up later on when you get better. If you are sick for ever (chronicle) then you need to feed some poor people
 
@MoshMage I'm sure they would. I'm just not a very good rule follower ;)
I would not make a good muslim. In fact, I'd probably be a terrorist.
 
11:29 AM
I will eat now. Cyaa.
 
@HamZa In a bit
 
@HamZa Are you telling me that another person in the world actually tried to tube himself and liquify food to its stomach [while on religion fasting]? That's.. awestrucking. Also, have a nice meal :)
 
@HamZa happy Aidilfitri :)
a bit late, though, but still heh
 
@Jack Hey thanks man!
 
11:41 AM
@HamZa I've solved this problem by not fasting.
 
@MoshMage No, it just happens that there are some people in the hospital that must use a tube.
 
Last weekend we went up to Penang from Singapore, Kuala Lumpur was like a ghost town in comparison to its regular traffic.
 
@SecondRikudo I thought that jews also have a period they fast in?
 
@HamZa That is correct.
 
11:43 AM
@Leri Why'd you waste time on editing it if you put it up for closing/deletion?
 
user image
2
 
@Fabien ahahahaha
 
@SecondRikudo Because of habit.
 
I don't see why people use tomcat
 
11:44 AM
@HamZa It's enterprisey
 
@HamZa Java servlets
 
Wasn't there a report recently that North Koreans were planning on a trip to the sun? They would go at night of course.
 
@PeeHaa to me it seems worse than wamp
 
http://stackoverflow.com/q/25057787/1679187
 
Funny typo: "Pant.net" instead of "Paint.net"
 
11:47 AM
oops
 
> Chose from over a thousand useful add-ons to personalize and make it your own.
For some reason I don't take this site too seriously..
 
@HamZa Give me a decent open source emailclient or GTFO
 
@PeeHaa thunderbird!
 
horrible piece of shit is that :(
btw that favicon makes me think of ut2k4 for some reason
 
11:51 AM
@PeeHaa sounds like you saw nice pieces of shit (:
 
@YogeshSuthar .... iOS device CPU, GPU and memory from code?
@PeeHaa then what do you use?
 
@HamZa yes.
 
@YogeshSuthar So it's not suited for SU
 
@PeeHaa lol
@PeeHaa ahahaha
 
11:55 AM
@PeeHaa emacs
 
@FlorianMargaine lolwut
 
@PeeHaa that said, I've found geary to be pretty good
 
@Fabien also applies to an email that I just saw... containing a QR code -.-
 
@PeeHaa It is related with hardware info, so i thought SU will be better.
 
@YogeshSuthar ?
 
11:57 AM
@PeeHaa best workflow ever.
 
ah wrong ping @YogeshSuthar :)
 
@YogeshSuthar I know, but still
 
@FlorianMargaine Anything thing that runs on a real OS (windows)? :P
 

« first day (1384 days earlier)      last day (3564 days later) »