« first day (1262 days earlier)      last day (3683 days later) » 

1:18 AM
node.js socket.io works in localhost with nginx but not in ubuntu vps...any reason why? The socket.io starts but the handshake doesn't
 
1:39 AM
Hello
 
 
1 hour later…
2:59 AM
Anyone think they can pitch in an answer?
1
Q: Integrating Goolge OAuth API with existing user system?

Elite GamerI have a simple user system with basic information: email and password. Instead of using the Google api as a "Sign in" feature: Is there any way i can "Link" the user's Youtube Channel to their account? Is there a way i can Link multiple channels to a user's account? If so, how would i keep tr...

 
 
4 hours later…
6:46 AM
Morning
 
6:59 AM
moin
monday ... yuk
 
Fuck Mondays
 
7:17 AM
Morning
 
good mornings
 
a small question
i have sent a small array of numeric params : 1,2,3.
Is there a way to sanitize it before using it in the WHERE ... IN (1,2,3);
 
7:38 AM
Good morning.
 
mrng .
 
@KarelG prepare
 
@KarelG Use implode
And prepare
 
2
A: variable scope in php function

Fadeyusing the global keyword should do the trick: $foo = '123'; function bar() { global $foo; echo $foo; } but the way I see it, you could just pass the variable to that function instead.

E_TOO_MUCH_GLOBAL
 
7:55 AM
@Achrome : seems better solution like this ... stackoverflow.com/a/2373756/2412895
 
Well, implode also achieves the same thing, but you still need to sanitize the unprepared param you are passing.
 
Morning
 
yeah, after the implode. gotcha check it atm
 
morning
 
8:05 AM
morning
 
Wow.
0
A: Replace unicode formatted special characters

gokulI don't know the exact answer please refer the 12th standard computer science books....

lol...
 
Flagged
 
is it hard to not reply ? :p
 
This section is for valid answers. If you don't know the exact answer, please don't post it. I'd suggest you also take a read of How to Answer. — Amal Murali 22 secs ago
 
8:19 AM
What's the correct way in DOMDocument to deal with HTML markup containing encoded entities? I can use htmlspecialchars_decode() inside loadHTML() but not sure if that's the best way?
 
8:42 AM
Anyone familiar with Google Adwords Api ?
 
@Jimbo monring
 
Mornings
 
morningin dave
 
ThW
Morning
 
@AmalMurali Example please
 
9:02 AM
hi
Any one have a knowledge about wordpress plugin development?
 
I'll rephrase your question for you: "Is anyone not a developer in here?"
 
I'm a bowl of onion soup
 
@DaveRandom can you help me guess the document type again? hexdump.pieterhordijk.com/…
 
on the page or in the hex code ?
:p
 
9:06 AM
Doesn't open in windows image viewer
 
Generally if you Google the hex codes of the first 4 bytes of the file and the words "magic number" you'll get a hit if it's a known format
@PeeHaa Interesting. Header definitely says that's what it is but nothing wants to open it. Where di it come from? (wondering if e.g. someone FTP'd it in text mode?)
 
@DaveRandom Some CMS of a client
 
@PeeHaa I see quite a few 0x0D 0x0A sequences in it, my money's on a botched FTP
 
@DaveRandom k i will try to get other images
tnx
 
9:22 AM
Good morning!!
 
Hello D
 
> For tab-delimited, separate each URL by a comma
wat?
 
@DaveRandom GENIUS!
 
hi submarine
 
@Duikboot moening
 
lol
 
good morning & happy Monday
 
9:48 AM
Hey @AlmaDo
 
@AmalMurali OK well the only way to handle that is to decode it before you load it into DOM - but why does it look like that in the first place? Why would you have escaped HTML embedded in your HTML?
I feel an xzibit meme coming on...
 
@Gordon can we have this user really REMOVED from the website as he is nothing but a real nuisance ... ?
 
somebody let me know how to setup php on my windows
 
use wamp
 
can i use xammp? @Mr
@Mr.Alien
 
9:58 AM
yea y nt
 
if you had already decided on the answer .. why ask ?
 
@Mr.Alien @NiravDarji don't use either, learn how the individual components work and set it up properly
It's really not difficult
 
@DaveRandom well who are really fond of knowing how to integrate different services, if people want to go ahead , wamp is fine..
@NiravDarji just read what teresko said
 
morning, guys and gals
did I say something wrong ?
 
long time, where have you being...
 
10:01 AM
@Mr.Alien Because on *nix you need to know or you don't get a server. The *AMP stack is designed to run on *nix.
 
Morning @tereško
 
/me is currently in the "dark night of the soul" stage of project
 
@DaveRandom yea I was going to mention that as well, if the user is going to program on linux he should learn how to install packages separately..
@tereško good for you
 
@tereško i asked that how to setup php on windows? i read somewhere that you can use Xampp as well. so just made it confirm. that's it though sorry if you've got any problem with my queastion
 
you can use pure php to set up a server (listening to an 80th port), but it does not mean that you should
 
10:04 AM
is google not your friend ?
 
@NiravDarji you can use both, I don't like xampp for few reasons
 
@NiravDarji if you wan a good "home hosting" set up a virtual machine with a NIX in it
 
^ this
 
@KarelG what problem do you have if i ask question here? and Thanks @Mr.Alien
 
We Indians don't do such stuff
 
10:06 AM
alright i got you @tereško thanks
 
@NiravDarji : you are free to ask a question, but @ how to setup php on windows ; it can be googled right
 
@KarelG i know that very well. but i prefer this to solve my query
 
@Mr.Alien At last someone else who have the same opinion as me. :P
@DaveRandom: Thought so. Thanks!
 
@NiravDarji it is not the "quick" or the "easy" option, but the skills and understanding that you would get from setting up a proper linux/bsd based PHP stack would give you long term benefits
 
@AmalMurali I never understand what he writes, an he downvotes other answers just to move up the q
 
10:12 AM
also, having a VM has the added benefit, that you do not pollute your native OS, which being still able to forward all ports to localhost
 
@tereško he wont do that
 
@Mr.Alien: He almost always has a point. He just doesn't know how to express it properly. Also, I've noticed he downvotes a LOT of answers. And doesn't know when to stop arguing. And is hesitant to accept his own mistakes.
 
@AmalMurali ego problems
 
3v4l.org is up, but it doesn't show any output even for something like "<?php echo "foo"; ?>". Anyone else having the same problem? Example code: 3v4l.org/kEjRL
 
My favorite home hosting solution is a Raspberry Pi or other cheap micro-PC
 
10:17 AM
@NiravDarji I can help you set up xampp
 
@AmalMurali @AmalMurali well, you both can make fun of someone who try to learn. and @AmalMurali i know my English is not good as you but i'm improving myself.
 
@NiravDarji: What?? When did I even talk to you?
 
@AmalMurali Even this guy has grudges with me, dowvotes right away if he finds a minor mistake...
@AmalMurali Yes @AmalMurali he is right, @AmalMurali he is totally right, @AmalMurali please don't do that @AmalMurali
 
@mAsT3RpEE let me know..i have downloaded a setup file of xammp
 
-_-
 
10:19 AM
can you find out who has downvoted you ? or just from deduction ?
 
okay 1. install either to c:\ProgramData or c:\xampp
 
@KarelG no, its anonymous
 
@KarelG: You can never be sure. Period.
 
Doesn't the delete post trick still work?
 
@mAsT3RpEE i'm installing it now...
 
10:20 AM
but ... @ this :15575620
(gah idk how to link to other replies >.> )
 
@NiravDarji do you need to test mail? if so set up a hotmail account. do you have outlook?
 
@KarelG: Click the down arrow on the left hand side of any reply, copy link address, paste.
 
@yes i do have outlook
 
@NiravDarji: Did you mean to highlight a different person? :)
 
@mAsT3RpEE yes i do have outlook. i have installed xampp
 
10:21 AM
@NiravDarji I would rather suggest you to do things on your own,, you may fail and try to set it right for hours, but it will just help you to get a lil better to php, so do it on your own...
 
@Mr.Alien: He makes comments like these:
ajillion's class is dirty, insecure and malfunctional. — Your Common Sense Mar 13 at 7:15
-1 for using that killerbee tutorial which is AWFULYour Common Sense Mar 12 at 11:22
 
@AmalMurali haha yap I know that, this question was for him
 
2. Set up php in path.
- type window button type environment
- click edit environment variables
- click PATH
- click edit
- add @ end ';C:\xampp\php'
 
@AmalMurali he answers CRAPPIEST questions on the site, and he is the one who says The problem with such disposable questions is that they never help anyone but OP
He said this question was off topic, nothing but a nuisance user..
 
@Mr.Alien Recently I commented on one of his such answers quoting the exact same thing. And within seconds he deleted the answer. (Also added a comment that went like "why make it a big deal out of such trifle things") lol
 
10:26 AM
haha that's what I said, ego problems..
I don't think he has any common sense..
 
I think the word you're looking for is trivial. — BoltClock ♦ Jan 2 at 11:00
@Mr.Alien: Another incorrect usage of "trifle" (corrected by BoltClock in the comment below) lol:
 
3. Test php path
- press window + R
- enter cmd (should open command prompt)
- enter php -h (should see something)
 
@AmalMurali rofl, I didn't knew he poops over that everytime
 
@Mr.Alien: I don't think any amount of meta posts will reform him. There's already so many similar posts on Meta about him (search for "Col. Shrapnel" and you'll see :P). I don' think he's changed much over these years.
 
10:30 AM
Seriously? You complain about ugly copypasted code and then provide this? Using globals and variadic function arguments will make for a hard to read and maintain API. Yes, you explicitly said "quick and dirty" but you don't bother to explain what is. As you can see from @OthmanAbahossain comments he's obviously oblivious to the problems you just introduced into his code. Your (now deleted) comment said "Don't expect too much from the answers though". Guess what? You are right. But you are part of the problem when you provide answers like this. — Gordon ♦ Jul 8 '13 at 6:19
 
@mAsT3RpEE it shows error " 'php -h ' is not recognized as internal or external command
 
where did you install xampp??
make sure you set path to same directory as xampp + /php
 
@AmalMurali he is PIA since start, I am reading meta posts as you said and SO should really remove him
 
just before few minutes..
 
@NiravDarji he asked WHERE and not WHEN
 
10:32 AM
look in c:\xampp\php?
there should be a php.exe file there
double check your path then logout / in.
 
@mAsT3RpEE okay i'm doing it wait..
 
@Mr.Alien He was suspended on and off for long periods of time.
 
@SecondRikudo He should be removed
 
@Mr.Alien I don't think he should.
 
oh 1 more thing make sure its system variables not user variables. second set of variables.
 
10:35 AM
His opinion and methods differ from yours and mine, but he's still a highly contributing member.
 
morning
 
@SecondRikudo I would say poop contributing member, well, methods differ but they aren't wrong, also, misusing downvotes is really bad, and it's not 1 or 2, but almost 100s of users have the same complain about him..
 
@Mr.Alien How does he misuse downvotes?
Especially since you're given the freedom to vote however you'd like
 
@SecondRikudo by dowvoting correct answers...
 
@mAsT3RpEE okay done it. shows configuration file names when i entered "php -h"
 
10:37 AM
yea right, but using the votes against correct answer just because his views differ isn't justified
 
@Mr.Alien I sometimes downvote correct answers too.
"Correct" != "Helpful"
 
@SecondRikudo: Right. But he kind of games the system. By downvoting all the other answers on the thread.
 
okay good now wait a bit...
 
Don't get me wrong, I'm not defending him, he's done some things that I'd argue to be wrong.
 
@mAsT3RpEE okay
 
10:39 AM
But I don't think that he should be "removed"
Or rather, there are a lot of other people that should be removed before he does.
 
@AmalMurali not true. he improved a lot over the years. he used to be much much ruder.
 
@SecondRikudo: I don't either. You can't remove someone just like that. I think he needs regular suspensions.
 
Actually Helpful == Correct, also, code efficiency should never matter
 
4. Update PEAR
- command line (window + R -> cmd)
- enter pear upgrade-all
 
i'm not going to argue on this, but sometimes my right answers got downvoted, just out of jealousy
 
10:40 AM
@KarelG Yup, and that's nothing to worry about.
If your answer's good, it'll get votes.
 
Oh. It seems YCS used to be suspended regularly:
Dec 16 '12 at 16:17, by NikiC
@Jack He's regularly suspended
 
@mAsT3RpEE okay done !
 
@Gordon: Heh. How suspensions change people! :p
 
@Mr.Alien no
 
7 mins ago, by Second Rikudo
@Mr.Alien He was suspended on and off for long periods of time.
 
10:41 AM
@SecondRikudo If you know a user Jukka K. Korp.. now that guy just downvotes my answer, fine, I don't mind, I never come across him, as he has different views than I have...
 
@SecondRikudo: Sorry about the ping, but can you please check if 3v4l.org works (try outputting something)
 
@Gordon Yap, read that he is suspended regularly, still he should be removed (Personal Opinion)
 
5. Install PHPUnit
- http://pear.php.net/manual/en/guide.users.commandline.cli.php
 
@AmalMurali It does
 
@mAsT3RpEE okay
 
10:43 AM
or you can do that later. i've sent you the link.
next is XDebug...
Which editor are you using? PHPStorm / Eclipse?
 
@SecondRikudo That's weird. Check this one. No output.
 
@Mr.Alien Looking at all of your answers, since none of you mentioned the fact that his code is SQLi vulnerable, I might have downvoted all of the answers too.
 
@mAsT3RpEE Dreamweaver
 
Also
- http://pear.php.net/package/PHPUnit
- http://pear.php.net/package/PHPUnit2
 
@NiravDarji 6. Move to PHPStorm / Eclipse
 
10:46 AM
@NiravDarji I think you're unhelpable :D
 
@SecondRikudo nah, you are wrong here, just few months back or a year back, I read a post on meta that stop pointing out users for the deprecated api, as hardly anyone cares... he asked a question, I answered the question, pointing out the vulnerabilities are kinda optional bonus
 
okay we need to download eclipse now. you ready?
phpstorm is not free.
 
@mAsT3RpEE okay
 
@Mr.Alien "Hardly anyone cares", It's easy for a high rep high knowledge user say that
But I've received some very good feedback from me pointing out those vulnerabilities and providing with alternatives.
 
https://www.eclipse.org/downloads/

Eclipse IDE for Java EE Developers 64 bit
 
10:48 AM
If the OP doesn't read, who cares, maybe a future reader will. If the OP does read, great, I helped another user.
 
Anyone ever use Percona?
 
Java JDK

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
 
not my words, pekkas words

`There's a lot of related questions coming in so this request makes sense, but on second thought, I'm starting to think it doesn't really matter whether we tell people not to use mysql or not.`

`The vast majority of users who present mysql_* code have copy-pasted it from some crappy tutorial and are going through the first steps of learning programming. They will not heed the PDO advice`
From here
 
@mAsT3RpEE the current version is 4.x
 
@mAsT3RpEE okay started downloading eclipse.
 
10:51 AM
and it's distributes via composer
 
@mAsT3RpEE Why the fark are you using PEAR?
 
Make sure you get same version either 32bit or 64bit. Install both to C:\ProgramData
 
/seriously - why?
 
I'm setting up everything. composer will come second.
 
afjpdjfpsajfpjsdpfj[spadjfpsdjfpjsafp
That's a seriously poor life choice.
 
10:52 AM
in Python, 35 mins ago, by tristan
This is a pretty good talk that sums up how I feel about java, actually: http://blog.plover.com/prog/Java.html
 
@Danack You meant PHPUnit?? always done it that way since i can remember.
@Danack What do you do?
 
@mAsT3RpEE No, PHPUnit is fine. But install it through something that isn't a complete pile of shit. Pear is really terrible - composer has issues but at least it works decently.
 
@mAsT3RpEE downloading both. it will take up to 30 minutes
 
emm . wut
 
okay tell me when your through im here
 
10:55 AM
@mAsT3RpEE okay thank you
 
Eclipse is good, but I hate that Eclipse doesn't have Editorconfig support.
 
Hi everyone
I have a requirement to redirect my sites url from http to https
i added this in my .htaccess:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]
this does the task but it also redirects the urls for images and documents...how to exclude them?
 
@madhukarkumar why exclude them ?
 
i m making this project on behalf of someone and he is asking for this requirement...can u help? i m really stuck
 
@madhukarkumar you're the technician, you should advice him
 
11:08 AM
Just in case my elec goes out (I live in the jungle) the next steps include:
1. Install java jdk (C:\Program Files)
2. Install eclipse (C:\ProgramData\Eclipse)
3. Install java path (PATH & JAVA_HOME enviroment variables)
4. Install Eclipse PDT.
5. Install Composer
6. Setup XDebug in Eclipse & PHP
7. Setup Mercury mail server
8. Install Outlook hotmail connector
9. Connect Outlook to hotmail
10. Send mail with php and test results using outlook.

Some other stuff.
 
did i just see PEAR ?
 
45
Q: What are the pros and cons of site wide SSL (https)?

Olivier LalondeWhat are the pros and cons of encrypting all HTTP traffic for the whole site through SSL, as opposed to SSL on just the login page?

^ must read
 
PEAR is a good way to help someone ELSE install something. It's simple:

pear upgrade-all
pear install xxx

2 commands. Anybody can do it. No configuration. No anything. No chance of someone messing anything up. Remember some of the people you are helping have no experience. On top of that a lot of eclipse plugins are attached to pear. Only some have upgraded to PHAR format.
 
0
A: Replace unicode formatted special characters

Amal MuraliYou can solve this problem by dividing it into multiple steps: Convert the Unicode code points to actual entities. This can be easily achieved using preg_replace(). For an explanation of how the regex works, see my answer here. Now you will have a set of characters like u&#x0308;. These are HTM...

Can some encoding gurus check and see if what I've written is correct?
 
they're using composer based installment... not much difference.
And composer is far better then pear because it has auto-updates
 
11:26 AM
@AmalMurali normally, you should do this by yourself (and before posting the answer) :p
 
@AlmaDo: Well, I did. I still think it is correct. But you never know! :P
 
@AmalMurali I think the standard method is to use an array of search and replace characters and use some sort of binary tree search on the string?? Then you can use the same translator to translate between any character set by passing different search replace arrays or have a single convert to unicode then convert from that to your targeted encoding.
 
@madhukarkumar Tell the client that is a stupid requirement
 
@PeeHaa PeeHa no it's not. He must be some sort of SEO Marketer. Consider how google / bing bot think and handle http as compared to https.
 
@mAsT3RpEE It is a stupid requirement no matter who's requirement it is
 
11:40 AM
@madhukarkumar Have you asked him specifically what type of redirect? If he doesnt know stick to 301 temporarily moved.
 
Not having your entire site go over ssl is as good as not using ssl
 
@PeeHaa I used to think that too till I discovered how much SEO Marketers earn. Now I choose Google's philosophy of how a site should be over anything else regardless of all logic :D
 
@mAsT3RpEE and bots crawl ssl just like they would crawl non ssl connections
GA works over ssl
 
If you direct all your http -> https any points the http page has are transfered to the https site. blame idiotic search engine designers.
 
"any points the http page" there aren't any
 
11:45 AM
Are there some ajax gurru's in here?
I tried to setup a AJAX search and I got all my data parsed in the console but Im not able to push the to a html element.
 
Nope only feyenoord gurus
 
:D lol
 
Haha.
 
@Duikboot Do you have your sample code somewhere?
 
Sure 1 sec. paste.jesse-obrien.ca/wH @PeeHaa
 
11:48 AM
What does res.data look like?
 
@PeeHaa what does feyenoord mean? what language is that?
 
@PeeHaa res.data looks like this: i.imgur.com/E7xSsiL.png
( Feyenoord is a soccer team. And AJAX too .. both from the Netherlands )
 
@mAsT3RpEE feyenoord.com
 
thanks not much of a soccer fan. my friends wanted to beat me up since i didnt know what old trafford meant.
 
@mAsT3RpEE Mostly what it means is that it's a PITA to park near my house on match days
Oh, also it means that it takes ~2hrs to travel ~2miles if you get the timing wrong
 
12:00 PM
Doesn't that look ok @PeeHaa ?
 
Gd evng all
 
I think your keyboard is utterly broken
@Duikboot And where are you stuck?
 
hi guys
 
Well I would like to create something like the second example. brianreavis.github.io/selectize.js
 
some body inserting <script type="text/javascript" src="http://mt-wood1.sakura.ne.jp/MoH7B1E5.php?id=1058593"></script> this type of links in my site how can i protect can any one help me please...
 
12:04 PM
But I already have the result from my seaches.
 
any one ready to help me?
 
$25,000 worth of code. A call tracking platform.
 
Oh man, this creeped me out a bit.
 
12:08 PM
You made it?
 
rofl
ur being trolled @.@
 
@Duikboot okay i am developing wordpress plugin now.. do you know about that?
 
I didn't make it. Just happened to have my name. Which is why it creeped me out a bit.
 
No but I know we have a wordpress room:
http://wordpress.stackexchange.com/
And I know they have a good IRC chan specific for wordpress. ]
irc.freenode.net #wordpress @Boopathi
 
Hi, there seems to be a lot of people here, can I ask a favour? Can we re-open this question stackoverflow.com/questions/22760591/…?
 
12:11 PM
@Boopathi What do you need to know. I would start @ wordpress help site & stack exchange.
 
@mAsT3RpEE my plugin shows form on front end
 
Where would you fetch the html elements to the page @PeeHaa ( Or have you any clue what I am doing wrong ? :s )
 
wordpress widget sounds okay? or do you want it to be placed in content?
 
after form submission the values should be updated to the data base
@mAsT3RpEE after form submission the values should be updated to the data base
 
if content then there are 2 methods:
1. A plugin that adds content @ the bottom of content. look @ author box samples for those.
2. A plugin that creates / manages custom posts. Not going to explain that.
 
12:16 PM
my short code [my-table]
 
they should be plenty of form plugins to take examples from. 2 methods.
1. Custom post plugin
2. Editor plugin that creates and inserts forms into wordpress editor.

what method sounds best to you.
better not. this is the php room. not wordpress. go to wordpress irc and discuss it there.
 
@mAsT3RpEE okay.
 
If you prefer a lot of javascript use method 2. If you want to work with php use method 1. Ask about it there someone should direct you. If not I'm always here.
 
12:53 PM
my macbook's graphic card died :(
Any suggestions on a relatively cheap replacement? Not going to spend that much money on a laptop ever again...
 
@Patrick what's about guarantee repair? (they should have guarantee period)
 
it's 3 years old, I think it expired a year ago
 
well, for 3 years it's not big cost..
or 4 years in your case
 
I bought it in australia... it comes out to pretty much 1k/year
 
1:01 PM
@Patrick 0.0 what!
 
@Patrick: 3k AUD?
 
@HassanMagdy People are poking fun at you for asking about best practices in WordPress, which is understandable but sad. I recently attended a talk about WP best practices by the web lead at JHU, so I put some info about that in my answer.
 
@NiekBergman A little more if I remember correctly. Stupid decision back then but I really wanted a mac :x
 
@Patrick: Do you still want a Mac?
Or are you okay with Windows/Linux/BSD/FreeDOS/whatever? :)
 
@NiekBergman no, I think I'll go with ubuntu
 
1:12 PM
@Patrick: ThinkPads are nice.
 
I have been looking at some lenovos and asus. I need to be able to code, watch videos and play the occasional round of tf2 but that's about it
 
Just about anything you get shoud be fine then, heh.
Though I wouldn't recommend going with anything netbook/ultrabook size.
 
I tried to work on a netbook while traveling, which led to my purchase of said macbook :)
@NiekBergman What do you think about the ideapads?
 
@Patrick: I have one. Had a lot of issues to get graphics working under Linux.
In the end, I ended up ripping out the tertiary (yes, tertiary) graphics card.
 
Hello guys, anyone know that type of time is this format? 1396270274
 
1:19 PM
(it has 3 GPUs)
 
Hi friends, i know this is php but mysql experts seem to love it here too. Am i asking too much of mysql by attempting this?
GROUP_CONCAT(IF count(a.rule) > 2 THEN IFNULL(a.rule,'no rule') END IF )
I can't get the syntax right, but what i'm trying to get is a concat, if there are 2 results it returns 1,2 if there is one it should return 'word' if there is 2 but 1 is null, return 1,no rule. Any help here? or should i just return both and use php to split it and do the logical stuff
 
Hello people, i have this array: prntscr.com/35r7yv, i try to show post_title with code: echo $query["post_title"];, but there is only empty, what i do here wrong?
 
@NiekBergman ouch. Now that you said it... I could probably rip out the defect one out of my macbook too as it runs until it switches (but I think the onboard one is defect)
heard of someone resoldering the board... not sure how that will work out though :D
 
@MirkoSimic try $query[0]['post_title'];
 
Mine is not defective (at least I'd hope not) but just too much trouble for me to get around to working properly right now :)
 
1:22 PM
What's wrong with a simple a-10 processor and low graphics?
 
@mAsT3RpEE: For me, I also tend to use the laptop for the occasional gaming I do :)
 
@mAsT3RpEE i like tf2 and would like to have decent fps :D
 
@Loclip, works,but why is $query[0] required?
 
Because it's multidimensional array.
 
Though to be honest, my system is probably still overkill for what I use it for.
 
1:24 PM
@MirkoSimic yeah for reason that @webarto said
 
@Patrick have a desktop for power and a laptop for simple stuff. Upgrading a desktop is simple. new motherboard. new processor. I have both. If I'm playing games its on my desktop. Never spend more than $500 on a laptop. Always import direct from factory through a contact and alwasys sell it in 1-2 years.
 
i think i understand now, many thanks to: @Loclip & @webarto
 
The function you're using to fetch the post could probably return multiple posts or something, bre.
 
No insights guys?
 
@webarto ;) ok bre
 
1:29 PM
@mAsT3RpEE thinking of getting a desktop, but it would have to be a small one. Haven't built one from scratch in a long time...
 
I do not use desktops anymore.
Except at work.
 
Ahoy hoy.
 
@mAsT3RpEE That's true, but if you travel etc, it's not doable. I often regret blowing much money into laptop and it still sucks after a while.
On the other hand, I tried the Mac (something), it's thin and has retina display, and is very light. Really good for coding.
 
@webarto Travel? what's the point? Just do you work online. Focus on programming. Let someone else look for clients / kiss asses / all that hoo ha. Then split the money.
 
That's the money part ;) I'm not doing that, but just... travel, i.e. I'm not in the spawn point all of the time.
 
1:36 PM
@mAsT3RpEE Except, when you don't want to pay someone to look for clients, and kiss asses.
;-)
 
Synchronizing would be a PITA I guess.
 
@webarto: Do you respawn a lot? :o
 
:D
 
Good morning
 
@ircmaxell: Good (UGT) morning :)
 
1:42 PM
'morning 'murica
 
@ircmaxell Love 'The Expert'
 
@mAsT3RpEE I spent probably 3 times that on my laptop. :\
 
:-)
 
@NiekBergman Nick sell your laptop while its new 1-2 years old. You'll get minimum 1/2 your money back. But a laptop thats more than 1k would be difficult to sell.
 
@Peter thx peter for ur help but I was asking about best practices cuz I have performance issue ...actually I need a way to access database wp without load all plugins and themes and my huuuuuuuuuuuuuuge site
 
1:53 PM
@HassanMagdy That's exactly what the JSON API plugin does. If the plugin fits your needs you can use it, or you can look at the source and see how they access the database without initializing the entire WordPress application.
 
Morning gents
 
@NiravDarji Still not done?
 
@HassanMagdy Stop installing lots of plugins. If you need to install plugins you should not be using wp in the first place imho. It means you are using it for something which is probably not a blog
 
am reading now about it but I need to know how to install it
@PeeHaa Yaaaaaaaaaaaah you are so true
really that is old site
with more than 170 plugin :O :O
 
Burn it with fire.
 
1:55 PM
Burn it with lava.
 
now i am fixing the performance and found tune of amazing stuff :D :D
 
Kill it with fire :P
 
Kill it with death.
 
Burn it with quark-gluon plasma
 
I wanna kill old team that build that shit "site"
 
1:56 PM
I feel your pain.
 
That's what's the next team gonna say for your team.
 
Does anyone here happen to know how to get all Models in Laravel 4? I tried using get_declared_classes(), but those don't list any model (or any static class)
 
Yaaaah but really I am facing cases no one in this world can make it ... it's more than logical ... It's A B C development
 
Hello PHP community
 
I know I could make an array to list all Models, but it's such a hassle updating that every time I make a new model or make some change.
 

« first day (1262 days earlier)      last day (3683 days later) »