« first day (1038 days earlier)      last day (3910 days later) » 

12:00 PM
MOAR DUTCH!
 
Negative.
 
Sem
I am, sort of.
 
@Sem I know that feeling lol
 
Sem
@HamZa No really, I live in Amsterdam. :)
 
@Sem I see, we're close :P
 
12:01 PM
I live in the Neterlands derp
 
Sem
So, when are we going to collaborate in a web project that's worth milions?
 
When you come up with an idea for one of those projects:p
 
@Sem when there's a lot of regex in it :3
 
Are you guys currently at work?
 
Sem
Yeap
 
12:03 PM
@Fabien heh, I'm done with that :D
 
@Fabien yea
 
@Fabien yes I just arrived
 
So this chat is full of procrastinating developers.
 
What else is this chat for?
 
Sem
@dragon112 Automation for restaurants (waiters mostly), CMS for any type of niche, Some humor website with good SEO and a nice next/prev frontend
 
12:06 PM
^ and so continues the regex support ...
 
Automation for restaurants you need hardware which will make it rather hard to test, CMS' are plenty imo, Humor websites are plenty - you'll need some really funny shit
 
humor websites ? Don't make me laugh
 
@HamZa Teach him to google instead.
 
^ that's the first joke
 
I'm done with it, I told him several times ...
I guess that's my problem for putting my email in my SO profile ...
 
12:08 PM
Then block him
and/or remove you email from so:p
 
@HamZa lolwut
 
@tereško lol
 
Also on facebook, seriously? :p
 
Hey Everyone ...
0
Q: How to make PHP File to insert array Data on server

iPhnQI want to make a PHP file to insert array data in my server table. In my application i have created a jsonString to post value in PHP file and inster data in server table. I don't know what i am doing wrong and the value is not getting inserted in the server DB. <?php // array for JSON response...

 
Mostly I get emails from people which I closed their questions
 
12:09 PM
How many people have signed up to take care of a / some elephpant(s)? @DaveRandom
 
Sem
@dragon112 Cheap android tablets will do the trick, and you can set them up yourself. Even make a rom with everything installed. CMS's are mostly not specialized for a niche for example a CMS for a driverschool or one for pizza restaurants specifically, and humor website are a matter of making good link circles and tricking google. Only at the start you need to add some content yourself. After it's build up the users will do that for you :). You do need regular checks though.
 
@salathe decided to take care of a herd of 20..
so at around 35
 
@HamZa Puts e-mail in his profile, then talks he wants to stay anonymous. :p
 
@Sem niche == not many people can use it / will pay for it
 
Any one any help in my Question ??
 
12:11 PM
@Leri That wasn't @HamZa that was @SweetieBelle
 
@Sem Too much work while the chances of it working are too low
 
@dragon112 that reminded me. There is a minor social network from latvia - frype.com . They have ~40k concurrent users at any time. And there was a PHP "interest group" made by someone. They ended up making it "private" because people kept laughing at them in forums.
 
Sem
@dragon112 Thanks to the internet you'll have access to that little amount of people
 
@Leri hahaha I guess :p
 
Sem
@HamZa Dreams bro, dreams
 
12:11 PM
@Duikboot You still available for design work?
 
@dragon112 No, it was different conversation, as far as I remember.
 
@Leri ah alright
 
Anyone would like to help me ??
 
@Sem It's not a dream. It's quite easy if you do have the knowledge. You may even take it as an exercise to apply some new things you learned.
 
@PeeHaa 39 adoption requests so far, none of which are from you? Although I only really want a couple so there are still a few which need a kind, loving home if you can provide one
 
12:13 PM
@iPhnQ learn the basics please.
 
I'm pressing the metaphorical button at the moment (I've emailed the guy to confirm order and request payment instructions)
 
@PeeHaa maybe we can bundle our orders so we can share the postal costs? (not sure if it's worth the hassle)
 
@DaveRandom Yeah I also need a couple. I will also ask around
 
Sem
@HamZa I thought you said it was too much work... Anyway, I prefer theory over practical matters :D
 
@dragon112 That's what we are doing :)
 
12:14 PM
@iPhnQ are you even aware how many DBs there are? Saying that you want to save something "in the server DB" means completely nothing.
 
@dragon112 Ow wait. For us you mean
 
@tereško people agree with your criticism: joind.in/talk/view/8127. I do too
 
@dragon112 I prefer to not put my real name on the internetz, for example I don't use my real name with facebook
 
Yeah sounds like aplan
 
@PeeHaa The dutchies:p
 
12:14 PM
:-)
 
@Sem A work may be easy but it can be long :)
 
@HamZa I just use Facebook for people I know
 
@Gordon it's basically - gems buried in bullshit.
 
:( my BAD ... Edited now it's php mysql
0
Q: How to make PHP File to insert array Data on server

iPhnQI want to make a PHP file to insert array data in my server table. In my application i have created a jsonString to post value in PHP file and inster data in server table. I don't know what i am doing wrong and the value is not getting inserted in the server DB PHP/MYSQl. <?php // array for JSO...

 
@PeeHaa I mean we are dutch after all xD
 
12:15 PM
:P
 
@HamZa You want a/multiple elephant(s)
 
@HamZa i tried alot, but not working
 
@dragon112 lol got a picture ?
 
@DaveRandom got a picture of dat elephants?
There it is!
 
12:16 PM
Dutchies sux0r!
 
I wants one!
 
@dragon112 hmmm no thanks
 
@DamienOvereem You're from Leeuwarden, nuff said xD
 
Please if any one have any idea where i am making mistake, please tell me stackoverflow.com/questions/18313370/…
 
@iPhnQ what is objective-c about that ?
 
12:17 PM
muhahaha
 
Sem
@dragon112 9 euros you say?
 
@iPhnQ where's the things you tried about connecting to db ?
 
@tereško yeah. I stopped it after 25 minutes because I don't think there will be much to learn from for me given the content so far. It's pretty much the longer and more sarcastic version of my yesterday's blog post.
 
@PeeHaa hahahaha
 
@Sem + shipping
 
12:17 PM
@Sem Yea + a little postal
 
and your "echo 'hi';die;" probably stops the execution of your code too ..
 
Sem
And I guess @DaveRandom will be the one sending it? :)
 
atleast post working code without silly debugging nonsense in it..
 
@HamZa my file connects with server easily i have checked it
 
@Sem Yea either that or we will assemble in one location in the NL and send it from there (shipping from the UK is expensive)
 
12:19 PM
@Sem Yeh but it's a small soft toy, I can't imagine the shipping will be prohibitively expensive
 
i am just geting error because it's a json response
 
and i am not able to get it correctly
 
@iPhnQ: How do you expect anyone to fix your code that's having issues with inserting something in your database, without providing the code that is responsible for actually handling your database..
 
@DaveRandom That's why I added "Not sure if its worth it"
 
12:20 PM
@DamienOvereem My guess is that he doesn't even have that and want us to write it for him
 
Thats why i closevoted the darn thing
 
@HamZa that tutorial is more aimed at people who already have some clue
 
@iPhnQ voted to close it. You need to learn the basics, learn to search and practice a lot
@tereško hmmm, so is there a beginner friendly start tutorial ?
 
@iPhnQ , get this book (buy it, steal it .. who cares) and come back when you have finished reading it.
 
12:22 PM
hahaha
 
Sem
@DaveRandom I would like one, if you have info about shipping it to the Netherlands to me personally or that we'll meet somewhere in the middle feel free to mail me about it :) And how is everything going with the family and work?
 
ok guys .... i got it
i'll read more
 
@tereško I've recently found it-ebooks.info where you can download books for free legally (for educational purposes).
 
@tereško Don't give that advice to everyone you find lacking please.. Amazon only has 13 of those books left in stock..
 
and i'll correct and edit my question accordingly
 
Sem
12:24 PM
@tereško Can't thank you enough for recommending Clean code the other day. Was absolutely worth it and I never read books at all.
 
Clean code is easy .. Ctrl+a, del ..
 
@Leri how can that be legal o_O ?
 
@HamZa Dunno, but they claim so.
 
@HamZa wouln't it be awesome if all books were free for educational use only ? :)
o'reilly would go bankrupt fast i recon..
 
@DamienOvereem lol are there books for non-educational purposes ?
 
12:26 PM
Lord of the Rings ..
absolutely nothing educational in there ;)
 
hahaha
 
@DamienOvereem Course it's educational. It teaches of love, betrayal, how awesome bows are, determination... and how hobbits are awesome.
 
@Sem then as my next trick i can suggest you reading SQL Antipatterns
 
@Jimbo As in.. 2 girls and one cup teaches about the human digestive system ?
 
@Jimbo Hobbits are awesome indeed
 
12:28 PM
@DamienOvereem As does.. er.. the human centipede.
 
@DamienOvereem NO.
 
(Which I haven't seen, btw)
 
@Jimbo Also NO
 
@dragon112 NOM NOM NOM
 
@Jimbo There's far worse out there than that film.
 
12:28 PM
@Sem Using the royal mail mega-cheapo 5 day shipping it's £4.95 based on a guesstimate of size/weight, although that's untracked - obviously there are other more expensive options if you want tracking and stuff (I'll do whatever you want really). And it's going not bad apart from still having a crap job, you?
 
@dragon112 Enjoying yourself yet ? :)
 
@Jimbo It's a dutch movie.. I'm so ashamed
@DamienOvereem Sure I am
 
when i contact a company (whose product i am paying for) for help and they point me to stackoverflow it makes me want to push them down a well..
also, good morning
 
@CarrieKendall Haha,
 
@Fabien hoooo, care to give an example ?
 
12:30 PM
It's possible that it might be better to ship however many to somebody in NL and they can reship them, IDK
 
@CarrieKendall lol
 
Also I will be at PHPNW13 so if anyone is going that would be a way to avoid shipping costs (assuming I have them by then)
 
hai guiz we charge munie 4 the pruducz but rely on the open communty 2 fix it, thnz!
3
 
@HamZa TBH you probably don't want to know, but if your morbid curiosity gets the better of you google - Most digusting films
 
@DaveRandom Sounds good to me, I'll have one then, then :)
 
@Jimbo Yeh no worries, I might bump into you before then anyway since you're only up the road in relative terms
 
@Fabien I see
 
Sem
@tereško it-ebooks.info/book/70 is this free download illegal or what?
 
@Jimbo He knows where your house is at!
 
@Sem I doubt it's legal ...
 
12:33 PM
@Sem dunno .. I usually either buy or steal stuff. And I like to know which option I choose
 
I mean if it was legal we would have been able to download it from the author's site ?
 
posted in here: always assume illegal >:]
we're the most badass law breaking nerds you've ever come across
 
0
Q: How to make PHP File to insert array Data on server

iPhnQI want to make a PHP file to insert array data in my server table. In my application i have created a jsonString to post value in PHP file and inster data in server table. I don't know what i am doing wrong and the value is not getting inserted in the server DB PHP/MYSQl. <?php // array for JSO...

 
@Jimbo You made me google "the human centipede". I will dispise you forever ...
 
I have edited it
please check @HamZa @tereško @DamienOvereem
 
Sem
12:35 PM
@DaveRandom Well, stopped keeping myself busy with 1-man projects that were impossible for me. Still having the same job alright. Got a programmer to help me now though.
 
Are you getting errors @iPhnQ ?
 
yes @DamienOvereem
 
Why didn't you add that to your question then ...
 
@DamienOvereem +1
 
In any case.. right after your if.. $_REQUEST.. bit, try a print_r(json_decode($_REQUEST['svalueid']));
 
12:37 PM
@DamienOvereem Mwahahaha
 
@DamienOvereem i tried it prints value with /n
 
You should be seeing a stdClass object as output.. if you are not, you are not posting a valid json encoded string
 
Sem
@tereško Fair enough. Lots of good looking books on that website btw.
 
i even tried wth declaring a variable with the value that i want to enter
 
@dragon112 I know, he's seen my skyrim poster and everything!
 
12:39 PM
Im starting to doubt you know what json is and why you should (and should not) use it ...
 
@DamienOvereem i have json like this and i declared a variable in my code which has this but still shows same error {
"svalueid" : {
"0" : 1,
"1" : 2
}
}
 
@Jimbo You guys are pretty close, what's the wedding date? xD
 
lol
 
i tried with json_encode and decode both but not works
 
hire a developer
because you obviously have no intention to learn
 
12:42 PM
the start { and end } do not belong there
still don't know why you are using json for post data though
 
just stop
 
<pre>{
\"sidselected\" : {
\"0\" : 1,
\"1\" : 2
}
i get this resposne if i use echo<"pre"> and print request
@tereško i have intention to learn but i had a little hurry + have you learned it in one day ?
 
Uh oh.. you really shouln't have said that ;p
 
Guys! I need to program an iphone application in object C.. but I have no clue how to do it, but it must be done tomorrow!.. Help me!!!
I now concur with @tereško. Hire a developer who can actually do it properly in a hurry :)
 
12:45 PM
:P
 
@DamienOvereem Sure I can help you!
 
@Sem winner. I still have a huge pile of unfinished projects which only keeps getting bigger. I keep having ideas, combined with no time + general inertia.
 
@iPhnQ i herd u wanna hier a dveloper
@DaveRandom Story of my life.
 
@SweetieBelle mwhahahaha
 
Is the minimum characters of a domain 3?
 
12:45 PM
@dragon112 It has to be something like angrybirds. And it's only good if i make atleast 2 million by the end of the year. Can you get it done by the end of the day ? :)
 
@SweetieBelle nice one
 
@PeeHaa depends on the TLD
 
@PeeHaa sld/tld combo or just part?
 
aaah crap
 
@PeeHaa Depends on the TLD, 2 is minimum (some require 3)
 
12:46 PM
I wanted to register sq.li
 
and it was taken
 
@DamienOvereem Done, download here: screwthatfaceofyours.com/getlost
 
i knw this is just a small thing that somewhere i am doing wrong so i thought may be anyone can find it
 
@tereško Nope it is "reserved / na"
 
Sem
@DaveRandom Unfinished projects/ideas like?
 
12:47 PM
The DNS system allows, theoretically, for a.b to be valid, but (afaik) ICANN doesn't current recognise any 1 letter tlds as valid
 
Oeps! Google Chrome kan screwthatfaceofyours.com niet vinden
 
Awwww
Must be a typo, try this one:
 
@DamienOvereem it was not intended to be found
 
could we stop the flow of crap in this chat room ?
 
12:49 PM
@iPhnQ problem is, so much of your code is bad that nobody cares to actually dig into it. The question stands though, why the hell are you using json to post a sequential array?... Why not just post the array ?
 
@PeeHaa The official line is that countries shouldn't let people register in the SLD of their country TLD, although many do - but in the UK I know you can register direct children of .uk, there are probably others that impose the restriction.
 
Edit: no trolling, I have work to do
 
@tereško To follow up on the "crap" statement.. I just learned about "the human centipede" .. look it up :)
 
^^ Is awesome
 
@DamienOvereem beacuse i am posting it via HTTP request from iphone application
so it uses json that's why
 
12:50 PM
hire a developer
 
@Sem Oh, various things. I have still yet to finish LibDNS v2.0, I have a 90% done PHP-doc JSON API, various partial parser implementations, about 40% of a DHCP implementation, the list goes on. There's even some useful stuff, although right now I can't think of any.
 
@DamienOvereem lol you want to create a chain :D
 
that's not a solution @tereško
 
since you are "posting" via a HTTP request.. you are indeed doing a POST, which means you can POST an array.. instead of posting 1 variable with a json string.
Just POST your data as an array (yes, you can do that).. and echo the response in json, which javascript can easily parse.
 
@dragon112 use foaas.herokuapp.com
2
 
12:52 PM
ok @DamienOvereem i'll try to do that
Thank you :)
 
@DaveRandom can you get the elephpant to Nig?
 
nevermind .. i managed to read "capitalized" as "uppercase"
 
@DamienOvereem What's wrong with posting JSON? :S
 
You're on drugs, mate.
 
@tereško the crap has gotten to your brains lol
 
Sem
12:55 PM
@DaveRandom Sounds like non-commercial stuff or am I mistaken?
 
@iroegbu I'll ship anywhere via any means as long as you can pay for it ;-) (the cheapest option I can find for Nigeria is GBP £7.20)
 
that for everything including shipping?
 
@SweetieBelle In his context? Everything. There is nothing wrong with posting pure json (ie. REST services), but alot is wrong by mixing it with form data.
 
@Sem Oh yeh none of it's commercial, I have a couple of potentially monetisable ideas but they're all just kind of floating "wouldn't it be nice if..." ideas, mostly centred around places where there are currently no decent commercial solutions
Telephony billing, for example, is just data crunching, but everything I have ever seen sucks. Like, really sucks. Mostly because the UIs look like they were designed for Win95
 
12:58 PM
@Ocramius You made me giggle ;p
 
/off/:@DamienOvereem/:@dragon112
^_^
 
posted on August 19, 2013 by Lorna Mitchell

I've got an application (okay, scratty PHP script) which glues together some API things and shows them onto a dashboard for me. Recently, I updated it to use Guzzle as the consuming client, since twitter now needs me to authenticate (I wrote about that if you're interested), and I used Composer to bring the new library in. It was very simple so I thought I'd share it as it's quite minimal ex

 

« first day (1038 days earlier)      last day (3910 days later) »