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

11:01 AM
@tereško you don't know when that noob will turn a master and kick your ass in few years.. we can't judge a person by a single quest, let me tell you, few days back you told me why don't I do something which I am good at, I though you bullied me first which you did, but am very good at ignoring critics yea, I know how I learn things, people get good when they reach your age, till than just keep silence and see the game.. ;)
 
What does age have to do with it? O_o
 
@dragon112 experience, you can't be a pro in few days
 
also, why would a professional developer take a "do something you are good at instead" comment seriously ?
 
@Mr.Alien No but you don't need to be 28 to be a good programmer
 
11:04 AM
@tereško I didn't take it seriously, I was just thinking why that insult, I am good at something else, you are good at your things, shouldn't compare
@dragon112 actually how you measure that a programmer is good
 
@Mr.Alien There is a difference between acknowledging that someone is a developer and respecting their ability in that field. There are a lot of bad developers.
 
@Mr.Alien I have worked with 17 year old .. hmm .. kids, who could be lead-developers in a company, if not for the internal politics
age has NOTHING to do with the skill
 
Personally, I don't see @Fabien as a bad developer.
 
@Mr.Alien Being able to write good software
 
I agree with @tereško, I know 18 year olds who are better than me. :/
Especially better in their areas of expertise.
 
11:07 AM
@tereško I said people come from diffrerent backgrounds, you don't know what I've being through to get here, I earned money 2 years back not to spend but to buy some books, and a good comp to learn, I never went to any classes, etc etc, also, people have different capacity to take things, yea, age doesn't matter, I've seen very good dev at 12-13 years of age, but again, not everybody are same
so why disgrace anyone speaking bad about them, if we don't like it, stay mum and watch the show instead of throwing tomatoes ..
 
@Mr.Alien learned in an oasis in the desert - that's pretty good!
 
^ Very impressive
 
@Jimbo learn in India, that beats oasis ;)
 
@SweetieBelle Thanks. I'm well aware that I have ridiculous amounts to learn but so do most of us.
We do the best we can.
 
@Mr.Alien Btw, anamaria got banned for a week + rep reset
 
11:08 AM
@Jimbo lol
 
@Fabien Me too, I pulled moarvm repo the other day, and learned just how little I know about the inner workings of programming languages.
 
@SweetieBelle ya you can simply say that mmm you should learn more regarding this topic, this will help instead of saying hey you suck at programming
@Jimbo hehe yea, I just saw her account ;)
 
@Jimbo Who's that?
 
@Mr.Alien I suck at programming -- at least, in my own eyes. The only 'devs' I disrespect by default are the ones who come and ask someone else to do their work for them.
I always find inefficiencies in my code, especially old code.
 
@dragon112 Psycho who stalked my profile + downvoted me :P
 
11:10 AM
@SweetieBelle don't do my work for me. Just give me money :pp
 
@Jimbo YAY /dance
 
Looking back at my code from 7-8 years ago is like looking at drawings I made when I was 4.
 
@SweetieBelle that's standard
 
precisely so :p
 
@SweetieBelle I know that feeling.. I saw some code I made on the C64 when I was a kid and it was AWFUL but awesome to see.
 
11:12 AM
@SweetieBelle I suck too, but I don't criticize others who suck at, as I told you, you don't know when he gets better..
 
Looking at moarvm repository makes me feel like I know very little about how programming languages (in particular, interpreters) work.
 
I wish I could say that about 7-8 years rather than 7-8 weeks ;)
 
but if i'll draw something now.. it will no much differences from that when i was 4 :p
 
Later that C64 melted in a fire when my dad's house burned down, but that's a story for an other time xD
 
@Mr.Alien please don't give me the "it was hard for me to learn" crap, since you have no idea how I learned programming.
 
11:12 AM
I learned programming with one window holding emacs and another window holding perldocs.
 
You had 2 screens, screw you:p
 
No, 2 windows :P
I had 1 screen
Now I have 3. :D
 
@tereško yea see, where am saying you did it with an ease, everyone works hard to earn, it's just that if you can't respect, atleast hold the bad comments..
 
I remember starting with Turtle...
 
@SweetieBelle I have 5, but 2 of them are for other machines to test on WinVista and Win8
 
11:14 AM
I used butter papers to draw :p
 
Statement: Respect is measured by how much rep you have
 
@HamZa TRUTH
 
lol ^^^
 
lol :D
 
@HamZa assertion failed :p
 
11:16 AM
@AlmaDoMundo of course lol. I mean look at me, a total noob with 7K :p
 
then I'd better to hide :p
 
Does mysqli_fetch_object support ->SUM() ?
 
@HamZa Look at me, a total boss with 3K :p runs
 
@HamZa I've more rep still am noober than u
 
Nah I lied :<
 
11:17 AM
@dragon112 Oh if you include other devices I have 5 cellphones and 3 tablets :P
 
@dragon112 yeah
 
wait, I have an excusing reason :p
 
@SweetieBelle I don't count non-pc devices
 
5 cellphones??
 
And a laptop.
 
11:17 AM
@Mr.Alien Nah, you rock in CSS :P
 
@I'll-Be-Back I did some app development, needed to test across Android/iOS/BB10/BB6-7/WP
 
@HamZa thinkin to atleast exel ui as well as php as am learning oop
 
Oh app development.. It never interest me to do app development.. I don't know why :/
 
@I'll-Be-Back because it's crap ?
 
@I'll-Be-Back I didnt really enjoy it either, but it was a contract and I needed cash.
 
11:18 AM
I have 2 MBP's 1 iMac + extra iMac screen + 1080p screen, 1 dell i5 + 1080p touch screen (for win8) and a simple vista pc
Also have a bunch of mobile devices
 
@Mr.Alien well just VoteClosed it and added some comments ...
 
I love to do App development
Specially for iOS runs even further
 
Maybe I hardly use the apps on my phone, I only use whatsapp and facebook most of the time.
and I am on PC most of the time.
 
@dragon112 PC devices: Main desktop, buildbox (no screens), laptop (11.6" screen), old MBP (17" screen, keyboard doesnt work, just used for building iOS stuff).
 
@tereško And btw I respect your talent, I don't know whether you help others or not, you have always answered my quests, so just take it as a tip, not to speak bad about anyone, you are a much better guy..
 
11:19 AM
so mobile apps does not interest me.
 
@I'll-Be-Back Mobile interests me, but that particular app wasn't very interesting.
 
@HamZa didn't got you pal
 
@Mr.Alien click on the "arrow" to see what message I was replying ...
 
@SweetieBelle Yest I downloaded PUK for android, and it's kinda nice game
 
I'm interested in mobile gaming
I love my Blackberry Z10, never got along with iOS or Android. idk what to do when BB goes out of business. :(
 
11:20 AM
@HamZa aaa I saw that when you posted a cv-pls here
 
@SweetieBelle RIM will be selling BB (or well they try to)
 
@SweetieBelle What language for mobile app?
 
@dragon112 My PCs are high spec but I dont have many of them :P
 
Oh they are officially called Blackberry now right?
 
@I'll-Be-Back C++ if I get the choice. :P
 
11:21 AM
@I'll-Be-Back Objective-C all the way, just like @DaveRandom!
 
I'm not a big Apple fan
 
I have not done C++ for a long time.
 
I will kill you. Don't think I won't.
 
Hahaha:D
I know you will
 
@I'll-Be-Back I use C++ at work day to day :P
 
11:22 AM
Any time I mention Objective-C I will have to ping you now.
 
What projects?
 
@SweetieBelle Qt?
 
In fairness you are lower on the list that everyone who's ever worked for M$ at the moment
 
@DaveRandom What did they do now?
 
@I'll-Be-Back We run a digital download platform.
 
11:23 AM
I mean seriously, you think PHP has inconsistent naming? Take a look at msdn.microsoft.com/en-us/library/windows/desktop/…
3
 
@SweetieBelle iTunes? xD
 
The back-end that ties everything together is C++
@dragon112 Similar kind of thing
 
Thats nice.
 
Sweetie, sorry for the question, but are you really from NC? O_o I thought you guys have an even bigger and even greater firewall than Chinese have.
 
I wanna learn Python when I get time.
 
11:24 AM
@DaveRandom Trust me I know. Have been working with C# for the last 8-9 months... Have barely touched anything else.
 
@Ivan0x32 No, I'm not. :P
 
Python is really popular on github.
 
@Ivan0x32 Though, China's firewall is very easy to bypass
All you need is a VPS running SSH outside China. :P
 
Any LEB is fine.
 
11:27 AM
@SweetieBelle well unless they block all SSH connections ...
 
@HamZa How would you do that?
 
they actually do
 
Then change the port? :P
 
They could blanket block port 22, but run it on another port
 
@SweetieBelle SSH is a protocol isn't it ? You can block it
 
11:28 AM
@I'll-Be-Back no, DPI will handle that
 
@DaveRandom lolz
 
@SweetieBelle you just block ANY access to the subnet providing proxying to you?
 
What about tor?
 
blocked
 
@Ocramius Blocking every subnet used by every VPS provider would be pretty difficult. :P
tor isn't blocked
 
11:29 AM
Advanced firewalls could block by protocol
But seriously, if they block SSH then it will be a chaos
 
You can't bootstrap it normally though, you have to find a bridge.
@HamZa If they block SSH then the companies would revolt.
 
You guys ever played with Asterisk?
 
I guess satellite will save them :p
 
Chinese companies need to be able to run overseas sites, they want to prevent people seeing dissident content, not running businesses.
 
I love Chinese people.
Nice people.
 
11:31 AM
Yeah. I had this asterix action figure.. Silly thing was that it was just as big as obilix.. which was ofcourse utter nonsense.. Idefix was the cutest though!
 
@SweetieBelle, yes, the need, So - if I recall, they have white-list of hosts with allowed ssh and https
 
@SweetieBelle well, that indeed... and yes, of course TOR
 
@AlmaDoMundo They allow SSH in general. My friend in China has boxes at OVH and SSH's into them.
 
@dragon112 what nonsense that number changing lol
 
@HamZa number changing?
 
11:35 AM
@SweetieBelle friend? china? You're eligible for PRISM tracking
 
Oh yea, doh... Check more on their site, they are awesome:p
 
@dragon112, china? friend? wait a moment. done. I've made a call, agents are on their way :pp
 
Why'd you ping me on that, I'M INNOCENT DON'T TAKE ME :<
 
11:37 AM
Notice: Array to string conversion in

$area54 = "SELECT `Klantvraag` FROM `Kalender` WHERE date(START ) = '$timema'";
$area55 = mysqli_query($connect,$area54);
$area56 = mysqli_fetch_all($area55);

foreach($area56 as $key) {
	 echo $key;
	}
What am I doing wrong?
 
@Tredged You are putting an array into a string, so one of your variables is an array
 
i guess $timema or $key is an array
 
echo $key['field_name'];
 
Ah yes it's $key obviously
 
RIP
Death reason: SQLi
 
11:39 AM
$key is a row from your db
 
Whats the correct way then .....
 
UMM HOW i word this... ok u take 20 lbs no lifting for 30lb if guy, so divide 2 u dont sit, u get 10 but for guy it no 30, so 20 would be for guy if u werent a girl ?
 
The rows contains only INT
 
Friends in China is a dangerous thing? :P
@Tredged Don't put '' around ints >_<
 
@SweetieBelle It won't break on that
 
11:41 AM
@dragon112 But it does allow for vulnerabilities, potentially...
@Tredged Use bound parameters too.
 
@dragon112 well without the '' errors dissapeard but it wont work lol
 
@Tredged Is there anything to select in your database?
where date(START) = the variables value?
 
@Tredged you are not using prepared statements .. that would be the first thing that's wrong
 
@Tredged Stop using Dutch names for things when coding
 
11:45 AM
@PeeHaa possibly a legacy db?
 
@dragon112 Yes there are 2 rows with INTS lol
@dragon112 It select when putting '' around the $timema
 
What is $timema, an int/string/?
try var_dumping it
 
2013-08-12
string lol
 
so that's a string, it obviously needs quotes around it
 
@PeeHaa 1000 times this.
 
@dragon112 Then still Notice: Array to string conversion in and it wont work
 
@Tredged do you know what prepared statements are ?
 
@PeeHaa There is little harder than trying to fix code in which all the variables are foreign -_-
 
@Tredged What are you doing with $key?
change echo to var_dump($key); and see what it is
 
@SweetieBelle It's not foreign for me ;)
 
11:51 AM
well .. i guess i am on Tredged's ignore list
 
@dragon112 array(1) { [0]=> string(7) "1236091" } array(1) { [0]=> string(7) "1257963" }
@tereško No lol, sorry!!
 
As you can see it's an ARRAY\
 
@tereško I do, and I will use it thanks :)
 
so just echoing an array means you are changing an array into a string
 
I'm gonna go and bask in some nostalgia: youtube.com/watch?v=yq9xJB9_lpU
hell .. i actually might play that game today
 
11:53 AM
Hello
 
@Tredged so echo $key[0]; should fix it for these cases
 
How would I fix those notices then @dragon112
 
what notices?
 
@tereško You played the latest one right?
 
Still waiting for HL3
They sure are taking their sweet time over at Valve
 
11:56 AM
@dragon112 I want to use $key in a query
 
then do this: $key = $key[0];
 
@dragon112 Half life 3? Not in active development
 
then you have what you expect in the $ key var
@Jimbo MotherF.... I hate valve right now
 
@dragon112 Ah I understand but how will I display the results if I for example would do a fetcH-assoc inside the loop or out
 
How do you mean? the same way wouldn't you?
Like you have been doing
 
12:00 PM
@Jimbo nope , I have only a netbook currently .. and all the free cash is going in furnishing the apartment
 
@dragon112 I mean I do a multiple select how would I echo those results what same way lol ?
 
Funniest Amazon Reviews been released, some of them are quite good!
 
This as a test is correct? @dragon112

	$key = $key[0];
	$area57 = "SELECT `Klantvraag` FROM `ploegopdrachten` WHERE `Klantvraag` = $key";
 
I suppose, if that's what you want
 
@dragon112 Thanks :)
 
12:03 PM
@Jimbo "As shown in the picture, the slices is curved from left to right. All of my bananas are bent the other way.” +1
 
"I had a two-wolf shirt for a while and I didn't think life could get any better. I was wrong. Life got 50% better, no lie."<-- roflcakes
 
@Tredged Just one thing: Can I have the URL of where you're putting this live?
 
@ircmaxell He promised he would use prepared statements
 
"Do you have any idea where this stuff comes from? It's excreted by squeezing the wobbly thingie on the UNDERSIDE OF A COW! That's hardly made clear anywhere on the label."
 
12:04 PM
 
Because $key[0] is going to be '0 OR 1 = 1; --'
 
Uranium ore: "It is not cat food…. The cat's huge and well, doesn't really look much like a cat anymore."
 
0
Q: Connecting to an API with PHP

user2689318I'm having trouble connecting to an API with PHP. I'm using an API called Hypercharge, which is a Payment Gateway API. I'm a complete newbie to API integrations with PHP. Basically I am having to connect to the API using their WPF API. The API Doc can be found here: http://demo1.josephman.co.u...

 
@ircmaxell Ah well what you gonna do:p
 
by all the gods why newbies are trying to work with payment gateways API ? :\
 
12:07 PM
 
Accoutrements Horse Head Mask : "It's not big enough to completely cover a horse's head, and it doesn't provide enough air flow for them, either."
@Jimbo I think I shouldn't be reading that at work. I'm actually laughing out loud :o
 
@AlmaDoMundo What could POSSIBLY go wrong?
'I can't send a POST request, please let me operate a site that handles money!'
 
@dragon112 Why on a var_dump num rows do I get int(5) int(0) int(0) while there are only 5 rows
 
@SweetieBelle, of cause, nothing. It's simple. You're sending something and receiving something :p all is well
 
@Tredged yea because english
@Tredged I don't know, what is your code like?
In a pastebin.com please
 
12:11 PM
Sure
@dragon112 codepad.org/8q8QWEiN I will edit the security later I just want it to function lol
 
Also having area51, area52 area53 etc is pretty unreadable...
 
@dragon112 I know but that can be easily changed
 
I don't really understand your code..
 
does SO have restriction on comments count per answer?
 
Why not do this:
 
@Tredged Wait you are selecting the same thing as you are inserting? ("SELECT Klantvraag FROM ploegopdrachten WHERE Klantvraag = $key") That doesn't make a lot of sense really
 
@dragon112 I want to fetch the Klantvraag where the date givin and get those rows count from the table ploegopdrachten so I can make a math thingy (berekening)
@dragon112 Oh my bad
 
is a 'Klantvraag' a customer id?
 
Yes sir
Its a unique int id
 
but why is it called Klantvraag and not Klant
is it something else then a customer id ?
 
12:19 PM
@dragon112 Cause of an export .csv I have thats why
 
Ok so the Klantvraag is the customerid, alright.
 
Yes.
 
Well int(5) int(0) int(0) means you have two other id's in the 'Kalender' table that aren't in the 'ploegopdrachten' table
so its 5 records for the first id and 0 for the other 2
 
yes thats true lol
 
Well there you have your answer.
 
12:22 PM
is it possible counting up only the ones that have rows?
 
Sure: $counter += $row_count;
 
or just count all those values together so 5 0 0 becomes 5
 
Ok that set of words makes no sense to me ^ (didn't say sentence on purpose)
 
changed it.
 
morning
 
12:26 PM
Well that's what $counter += $row_cnt; does :p
 
@NullPoiиteя Morning.
 
@NullPoiиteя hm... evening
:p
 
the 0's add 0 ;)
 
@dragon112 but then it'll become 5 5 5 xd
 
Oh you mean don't output when there is no value?
that's just an if () { man you can do that yourself
 
12:27 PM
ah ok
@dragon112 so if($row_cnt = '0'){ $row_cnt = ''; } how would a if remove the 0 could you explain?
 
@AlmaDoMundo hm hm :P
 
Why not do this: if ($row_cnt > 0) { var_dump($row_cnt); }
Also a single = will break your code:p
in the if
 
@NullPoiиteя certainly, I'm not the one who's lazy today :p
 
oh lol thats right xD
 
what should we use for too localize question ?
 
12:32 PM
localize?
 
5
A: What are the various ways to hide a <div>?

Madara UchihaSeveral possibilities: display: none - This will cause the browser to not render it. It would also make it completely vanish from screen readers as well, so beware. visibility: hidden - This will cause the browser to render it, it wouldn't be visible, but would leave a space corresponding to th...

 
@AlmaDoMundo i used to close question as Too localize
 
Anyone has anything to add to that list? :P
(Ways of making elements disappear)
 
Yes, throw a meteorite on it.
 
got the point
 
12:33 PM
That'll hide it
 
@MadaraUchiha $("div").html() :P
 
@dragon112 Doable.
@NullPoiиteя CSS only
 
@NullPoiиteя That's not hiding that's mutilating the poor div.
 
@dragon112 one last question please.
 
What did it ever do to you to deserve that?
 
12:34 PM
@dragon112 how would i userow_cnt outside the foreach to make the (berekening)
 
@MadaraUchiha Think max-width & max-height at 0 would work?
 
@dragon112 :P
 
@Tredged Sure, not like I plan to do much today:p
 
@MadaraUchiha could you tell me what should i use for too localize question ?
 
@SweetieBelle Yes, but it's practically the same as width and height, so I don't know if it should actually be put into the list.
 
12:35 PM
@SweetieBelle only if overflow: hidden
 
@NullPoiиteя Link?
 
@Tredged Err what?
 
@dragon112 , may be left: -9999 then?
 
12:35 PM
explain again
@AlmaDoMundo that's an ugly hack
 
@NullPoiиteя Leave it, I say.
 
@AlmaDoMundo It's also still visible, just not on your screen:p
 
@dragon112 if it is stupid, but it works.. well, then it is not so stupid :p
 
@dragon112 You help me made the row_cnt right the int thingy 5, how will i use that outside the foreach to make a (berekening dus $som1 = $area53['SUM(cdwa)']; en die rowcount delen met elkaar)
 
:( i want to flag and close almost all of them :P
 
12:36 PM
@dragon112 Yeah, what you have a workstation with 10 screens?
It would be visible then!
 
@MadaraUchiha It's actually 3 on the same device, but yea...
7060px wide total:D
 
o_O show me the photo
 
@Tredged You would just have a variable outside of the for loop and count the amount of rows there
@MadaraUchiha Pretty close actually xD
 
@dragon112 isnt it possible to just use the if variable teller = $row_cnt;
 
12:40 PM
Oh a 9 too much :<
@Tredged Show me your new code in a pastebin/codepad
 
@dragon112 7680 wide here. :D
2560x1600 x3
 
@SweetieBelle I have 2x 2560x1440 + 1x 1920x1080
but the last one is usually tilted so it would be 1080x1920 then
 
@dragon112 I used to tilt my mid screen
 
@Tredged change $teller = $row_cnt; to $teller += $row_cnt;
 
12:42 PM
Thats the one I usually have my editor open on
 
morning, woo friday
 
@dragon112 and then? because itll get undefined i think
 
@CarrieKendall hello
 
@Tredged if ($row_cnt > 0) { $teller = $row_cnt; } <-- this doesn't make sense. What happens when $row_cnt === 0? it will add 0 to the teller xD
 
12:44 PM
Is there a good naming convention for differentiating methods for passing lazy and non-lazy objects?
public function addFoo(FooInterface $foo) { }
public function addFooLazy(callable $fooLazy) { }

// ...

$bar->addFoo(new FooImplementation());

$bar->addFooLazy(function () {
    return new FooImplementation();
});
 
change it to *
 
I dunno, the *Lazy convention just doesn't seem right.
 
@Ocramius a good idea >:]
 
@dragon112 I changed it to += but I want to make the (som) outside the foreach lol
 
Then you need to have $teller = 0; before the foreach starts
 
12:46 PM
may be *delayed instead of *lazy ?
 
@dragon112 nvm I mis said something
 
@MadaraUchiha isn't this guy the guy who said that your answer should really be a comment?
 
@AlmaDoMundo Perhaps; I was thinking between Lazy and Deferred
But I didn't know if someone knew of a common convention off hand; I suppose I'll have to peruse some frameworks for commonality.
 
@CarrieKendall Even if he did, there wasn't any way to answer that question that couldn't be a comment./
 
12:51 PM
ROFL
Refer some tutorials and learn CSS. — arulmr 3 mins ago
 
@Bracketworks so, then the obvious answer is not to answer :P
 
@CarrieKendall Precisely ;-)
 
repwhores gawn repwhore NAWMEN
 
all bad questions should be linked to rebecca black today
 
12:54 PM
@Bracketworks bam, done :)
 
in spite :>
 
@CarrieKendall I don't think the mods would frown too heavily on that.
 
good that no one yet posted her video in the room, @Gordon gets fired up if you say anything bad about her..
 
its the only video not GEMA'd :P
 
Is there any way of changing my Github avatar without registering for a 'Gravatar' with wordpress.com?
 
12:56 PM
@Mr.Alien Why'd you ping him! Hit the decks! Incoming Friday!
@Danack Possibly, but I caved and said IDGAF.
 
@Bracketworks To having a custom avatar or giving wordpress your email address?
 
@Danack No, you have to register for gravatar
 
@Danack Giving Wordpress my email.
 
Blah
 
@Mr.Alien I already posted it at exactly 0:00
 
12:58 PM
@Bracketworks enjoy messing up a bit, last week he thrashed me ... hehe
 
I think you forgot to research your question, but its Friday so no hard feelings. — Carrie Kendall 23 secs ago
>:]
 
@Gordon aaah, I didn't see that ;)
 

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