« first day (812 days earlier)      last day (4127 days later) » 

9:00 PM
JSON is just data, XML is capable of expressing semantics as well
 
and then in some cases it's used for this:
<xbobloop statement="AssistantName" >
<xbobprint> .. write table content here .. <xbobprint>
<xbobendloop>
<xbobprint>This is a great programming language, Bob</xbobprint>
 
XML has a very mature toolchain, schemas, xsl and is extensible
 
Indeed, it's quite nice but generally abused. Something like pain medication.
 
SimpleXML is an oxymoron.
 
JSON is starting to get similar things like xpath (jsonpointer) and xsd (json-schema); but it's still very beta
 
user1125394
9:05 PM
is there a xmlbeautifier such as js...
 
plenty
google "xml pretty printer" or "xml formatter" :P
etc
 
user1125394
k never tried thx
 
:)
yea google helps
3
 
i'm glad people grew out of lmgtfy
 
@Lusitanian No, you just grew out of the sites where people use it ;-)
 
user1125394
9:06 PM
now I'll paste the source code of this page in it :p
 
@DaveRandom Ahhhhh.....
 
can anybody tell me what the ZEND_QM_ASSIGN_VAR (157) opcode does?
 
@ircmaxell will tell you off the top of his head, I'm sure...
 
ah, QM == question mark
 
Ternary?
 
9:09 PM
yep
 
makes sense
 
That's a separate opcode? Weird
 
but there's two different ones, QM_ASSIGN and ZEND_QM_ASSIGN_VAR
 
Where you seeing that?
 
@igorw One for func($cond ? 1 : 2) and one for $var = $cond ? 1 : 2 ?
 
9:13 PM
that one gives me ZEND_QM_ASSIGN_VAR
shown as <157>
 
stackoverflow.com/questions/14167529/… .. "i need to use MVC, but i need an extremely simple site"
It's kinda like posting in physics.stackexchange.com: "There is a really angry looking raccoon in my yard. Please help me make a nuke to get rid of this menace"
4
 
^ why not just close @tereško ?
 
hrm, interesting
 
@hakre because i was hoping the somehow fix it
 
9:38 PM
@tereško All I see in comments is: thanks for your feedback, but here, look at my question, I need to get this solved now anyway, so I will care about your feedback later, now help me first.
I might be a little too negative on that one, but after merely 24 hours, I don't see much progress by that user.
 
Anonymous
anyone know if using php frameworks is good or bad idea for beginners
 
no , it's an extremely bad idea
 
Anonymous
thanks. Less learning for me, but out of curiosity, why is it bad
 
@TheCOMPLETEPHPNewbie , that would be like giving "Jersey Shores" to a 4-year old to learn social interaction
the two frameworks that have somewhat acceptable code quality are Zend Framework 2 and Symfony 2 (the latter being an order of magnitude better)
but they both require you to have above-intermediate skill level
the rest of major php frameworks are complete crap (that includes ZF1.x and Sf1.x)
 
Anonymous
Ok, I was thinking, I should learn more before trying frameworks, although, I like to code without any external help. Atleast until I complete and understand the PHP manual. But, how about creating a small MVC? Would that help or not?
 
9:51 PM
 
@DaveRandom i am offended (but that's actually hilarious)
 
Also
user image
2
 
@DaveRandom LOL
 
@Lusitanian this always makes me thing of : youtube.com/watch?v=NzdpxKqEUAw
 
media.tumblr.com/tumblr_m9lrda8gEN1ru4jsh.png there's quite a few but those are my two favourites
 
9:55 PM
@tereško RIP Hitchens
 
.. only it's not hitchens =P
 
"World War 11 Veteran" is quite good as well
 
oh that was stephen fry...whoops
 
Anonymous
Hitchens is in hell... Atleast.. I hope
 
9:58 PM
If that's a serious comment, I want to ask you something.
 
@TheCOMPLETEPHPNewbie php developers do not "learn the manual". Instead it is a place where look for stuff. The parts that you should intentionally read about are array/string functions, the PDO related stuff and image manipulations. That's about it. And no, you so not need to create an MVC. You are 6 month too early for that (an extremely optimistic estimate). Before you try to make anything MVC-like you would have to have some understanding of OOP and patterns. Also, reading PoEAA wouldn't hurt
 
@TheCOMPLETEPHPNewbie How do you justify the notion of a peaceful, loving religion (which I'm sure you have about your own) with a magical sky fairy who gets really butthurt over people not believing in his existence with absolutely no evidence whatsoever -- a finite "crime" if you will -- burning people eternally?
That doesn't exactly sound peaceful, loving and morally upstanding to me.
/minirant
 
Kinda related to the religious subject
 
There's nothing like a wall of code for dinner on a Saturday. I too get charged per-whitespace character. — DaveRandom 48 secs ago
 
@tereško indeed
But anyway more factually Hitchens is dead [sadly]. That means he no longer exists. His matter has been recycled.
 
10:04 PM
I believe that when you die, you get gc'd.
 
lol
 
from my experience online , something like 98%+ of developers are atheist
 
Programming requires reasoning ability and application of the scientific method
 
.. or testing =]
 
indeed
 
10:07 PM
@tereško s/atheist/agnostic I would say. Atheism is an active disbelief, I would say that most just "don't believe" in a passive way.
 
No, that's incorrect @DaveRandom
 
Anonymous
I want to learn php functions but they are endless. Is there a list for 100 or 50 most important functions for php? I checked everwher..still nothing
 
Atheism is one of two things generally
1) A lack of belief in deities
or your definition, 2) An active disbelief in the presence of deities
I fall into category 2 for all human invented deities due to the logical impossibilities surrounding them
And into category 1 for the ones humanity hasn't dreamed up
 
Right that's it, I'm getting my OED out
 
lol
 
Anonymous
10:09 PM
@Lusitanian lets not go there, I have debated about religion vs atheism.. Always, its a time killer
 
@TheCOMPLETEPHPNewbie learn the functions for arrays and strings .. that crypt() .. that's about it
the rest you will pick up when you start making something practical
:7031672 you could have just attributed the citation ..
 
@TheCOMPLETEPHPNewbie Only reason I brought it up is because you wished someone to be in hell, violating a teaching of your own religion which is "Let he who is without sin cast the first stone"
@tereško true
 
Hmm, it does seem to be a little ambiguous. I think of "Atheism" as implying that one believes that there is no god, rather than simply not believing that there is one. Not that clear cut though, it would seem.
 
@DaveRandom , have you heard the "non-stamp-collector" argument ?
 
^^ is a good one, it will clear this up for you
 
10:12 PM
@tereško No
 
@DaveRandom TLDR, If atheism is a religion then not collecting stamps is a hobby.
 
is a religion needs a name
 
every time I hear a theist say "atheist fundamentalist" i want to cry over the irony
 
Right OK so it's an argument devised by someone for whom gr[ae]y is not a colour then.
@Lusitanian (out of interest) are you Jewish or did I imagine that?
 
gray is a color
 
10:15 PM
@DaveRandom by inheritance yes and i tend to associate with it on purely cultural grounds
but i don't, for example, advocate stoning adulterers to death
(nor do most christians or jews)
 
yeah, was gonna say.
 
@Neal is Jewish too btw
 
evning
are we having religious discussions?
 
@Nile ah, 'feinstein' :D
 
=p
 
10:16 PM
@NikiC yes but @TheCOMPLETEPHPNewbie started it!!!!!!!!!!!!!!! (runs away)
 
@tereško /me seeths quietly
 
@Lusitanian It's okay. As long as we all agree that there is no god. :P
 
@NikiC besides @TheCOMPLETEPHPNewbie but that's why he wasn't involved in the conversation
it started when he said he wishes christopher hitchens is in hell, if you scroll up
heh
 
Anonymous
When did this idea came that Christians are supposed to be a perfect beings in the sense to what is mentioned in the scriptures
 
@Lusitanian lol I take that's a photo where someone told you to smile? I have many of myself like that from when I was younger. Now I just look miserable when that happens
 
10:19 PM
@DaveRandom it was indeed, i donated a bunch of money and they did an article about it or something
@TheCOMPLETEPHPNewbie ^^
 
@DaveRandom what are you two talking about?
 
@TheCOMPLETEPHPNewbie emm .. that would be kinda hard, since most of the "christians" have never read the black books with a bronze age torture/execution device printed on it
 
@tereško the best argument for not believing christianity is reading the bible...if you can get through it all
 
Anonymous
Everytime one makes a mistake atheist say.. "Arent you Christizn..." That is a retarded understanding of what religion is about
 
10:21 PM
@TheCOMPLETEPHPNewbie you're allowed to make mistakes!
so am i and so is everyone in here
i respect you as a person and i respect your right to believe what you do
@NikiC a picture of me from 4 years ago
so um...php.
 
@Lusitanian Right, you look funny on that one :D
 
@NikiC :(
 
any non-framework-collectors in the house?
 
@Lusitanian That smile ^^
 
@NikiC lol
 
10:26 PM
@Lusitanian Quite a lot of that is common to the Torah and the Qur'an as well :O
 
@DaveRandom indeededly, the old testament === tanakh, which includes torah
 
And quite literally all of it is utter bollocks.
 
@Lusitanian , i have actually been thinking about reading it. To this day the only foundational book for any religion that i have read has been "The Book of the Law"
 
@DaveRandom Correct.
> The Bible contains equal amounts of fact, history and pizza. --Penn Jillette
 
is your religion php
 
10:28 PM
@Sharlike i don't have one :O
> @NikiC changes the room description to "Theological discussion area"
 
Anonymous
pitty..
 
@NikiC in complete response to this, it was four years ago. i almost look less awkward now.
 
@Lusitanian almost less awkward? :D
 
lolol
nah, probably significantly
 
@Lusitanian I lol'ed
 
yay for history :)
 
@PeeHaa you room owner you :)
 
All of my what cannot what enough to what.
 
All of your what cannot what your huh?
 
@Bracketworks w.t.f.
Is this serial?
 
10:41 PM
I'm completely cereal guys.
 
i wounder .. could i repwhore 80 points , without making my brain leak through ears ?
 
@tereško In how long?
 
@PeeHaa **cereal
 
hour
 
Probably not
 
10:44 PM
@Lusitanian c'man we're programmers...
 
You'd have to haunt or
 
@PeeHaa $cereal = new FrostedFlakes();
 
and answer some questions
 
Only thing I can "eat" in the morning
 
10:46 PM
@PeeHaa When you put it in quotes it brings to mind an image of shoving it up your nose or something
 
hehe. You guys don't do that?
 
Have a line of Shreddies for breakfast
 
lol
0
Q: If the processor can talk to all peripherals through data sent on buses, device drivers aren't necessary

Andy HarglesisRe-read the subject title and tell me how that can be otherwise. Why do people say device drivers are necessary when the processor has the capability of sending certain data through a bus that will direct it to the peripherals?

.____________________________________________________.
 
@PeeHaa i use muesli for cases when i have no time/ingredients for making proper meal, but am still extremely hungry
 
@tereško never had it but looks really good
 
10:49 PM
$cereal = new Whiskey(['proof' => 0.40]);
 
@tereško I just cannot handle proper meals when I just get out of bed. It's either that or some yogurt in the car while driving to work and shaving at the same time when it is really late :P
 
Mozilla: 1, @DaveRandom: 0 :-(
 
class FrostedFlakes extends Cereal
 
@DaveRandom Oh oh. That doesn't sound good
 
@Lusitanian i tend to buy the ones on the expensive end of spectrum .. they can be stored for long time, and i use them rarely .. why not pay a bit more to get something tasty when i am forced to eat it
 
10:50 PM
Timestamp: 05/01/2013 22:50:06
Warning: WARN addons.updates: Error: The signature or updateKey for cv-pls@stackoverflow.com is malformed
Source File: resource:///modules/AddonUpdateChecker.jsm
Line: 494
 
lol cv-pls@stackoverflow.com
 
@PeeHaa well ... which is why i mentioned the "not having time" ...
 
@DaveRandom :(
If I ever would have enough time to do anything proper before I go to the job I would hate myself, because that means I could have stayed in bed a little longer
 
@tereško i'll look for it here, seems more tasty than '5 minute oatmeal' type things
@PeeHaa i understand the sentiment
 
10:53 PM
You know what actually, it's kind of a good thing, because Googling that error has yielded the single most useful article on the subject of signing update manifests that I've come across so far
 
sometimes i fall asleep before 22:00
.. which means that by 6 in the morning i am wide-awake with nothing to do
 
wow 38k
-1
Q: round corners of table header

DonThis page shows a HTML table. I want the top-left and top-right corners of the header (the first row with the green background to have a radius of 4px. I've tried the following: table th:first-child { border-radius: 6px 0 0 0; } table th:last-child { border-radius: 0 6px 0 0; } But it...

> But it doesn't work.
 
@PeeHaa WOW
 
hello there :)
 
you changed the avatar
also, hello
 
11:00 PM
@KamilTomšík heya
 
@tereško nope, I've just finally made first gravatar :)
so seems to use that too
@PeeHaa Hi :)
 
yes
 
Most pointless CSS generator ever? border-radius.com
 
@DaveRandom created by tumblr product engineer, he obviously knows what he's doing.
 
@DaveRandom why do you think so? somebody could want to generate firefox-only css :)
 
It's for generating one property, the only thing it does is add -moz and -webkit. That kind of thing is exactly why people don't read docs and ask stupid, poorly researched questions.
Oh no wait sorry, it looks like Mozilla did something stupid (which no longer suprises me) with the corner-specific properties.
 
In all honesty those top-left-right-under-and-above proprties are kinda fugly
 
@DaveRandom wait... css docs? you mean the site where it is actually explained how that magic works? please share, pls pls :-D
 
hey there whats up guys
 
@KamilTomšík OK, standards then, smart ass :-P
 
11:10 PM
@DaveRandom sorry :-)
 
hey guys can you give me some ideas about this issue its been 1 month i am still working on it any help or suggestion will help me alot
0
Q: Youtube api getting data from MySQL database is not working

Humma ShahI have saved my account Youtube access_token in my database and now i want to get that token from my database and post it using Curl I am using AJAX to post Youtube api, in my youtubeeapi.php I have put code something like this but its not working, This one is working = 'Authorization: Bearer ...

 
I've been using SASS as of recent; goodness does it make life easier.
 
@DaveRandom not only
-webkit-border-bottom-left-radius: 123px;
-moz-border-radius-bottomleft: 123px;
there are some differences in implementation
 
@DaveRandom "Mozilla did something stupid" --- in other news --- you are not a hamster.
2
 
lol
 
11:13 PM
now to be serious, when it comes to mozilla, MDN is probably the only good thing they have.
 
and it was worse few years ago
 
well, it was also better - in pre-opera times (when compared to IE which seems to be finally dead, oh yeah!)
 
Where on earth do you get that from? Last stats I saw IE still accounted for well over 50% of browser traffic.
 
I mean the legacy versions, of course - IE9+10 can be considered as modern browsers
 
(globally)
 
11:16 PM
@KamilTomšík what is pre-opera times? I've been using opere since forever so not sure what are you talking about ;)
 
are you talking about time before wsc.opera.com ?
 
@dev-null-dweller when firefox was not even mozilla but still netscape :)
 
Ha! Chrome ftw
 
11:17 PM
@DaveRandom The germans gave up you can come out of your shelter now ;)
 
:-P
Clearly I don't have my finger on the pulse like all you cool kids
 
can somebody help me it solve my issues once you done
*to
 
@KamilTomšík So you are saying that then some things were better ?
like no standards
and vbscript + activex on webpages
 
vbscript. useful!
 
11:20 PM
I've created entire operating systems in vbscript :P
 
@dev-null-dweller I was trying to say - that time, netscape was best option out there, today theres hardly better choice than chrome
 
@PeeHaa Actually is. For torturing enemies
 
Peehaa have you done any work on youtube api v3 ?
 
@dev-null-dweller It was pretty useful to automate stuff on win machines
pre powershell that is
 
Dim peopleUseVbScript As "a viable option" ' but nobody else does
 
11:22 PM
:P
 
ah yes, vbscript
 
@PeeHaa Please stop. You are suffering from Stockholm syndrome
 
VBScript: At least it's not as bad as AppleScript. VBScript. By Microsoft. <--- Microsoft advertising slogan.
 
@ShaquinTrifonoff A fair amount of porn has gone by watching their "What's happening now" box at the bottom.
 
VB: Very Bad
 
11:23 PM
@dev-null-dweller Was there a easier way to automate simple things as a sysadmin in a win environment back in the day?
Yeah I said it: back in the day (/me feels old)
 
That's because you are (:
 
@PeeHaa Can't say since back in the day having windows on a server was for courageous only
 
@dev-null-dweller I was more talking about automating things on all the clients :)
 
@dev-null-dweller hows that different today? :-)
 
does anybody done any work on youtube api
because i am working on it since last month its been 1 month and my issues is still not resolve can any body tell does facebook support mysql
to save data and use it to post things on youtube video
?
 
11:31 PM
@KamilTomšík A little better, now there is a lot bigger community, better docs, some open source projects. MS have moved on with their products
 
'night
 
@PeeHaa Thath when I starting learning php, to automate simple operations
 
@dev-null-dweller youre right, .net :)
 
@dev-null-dweller Have fun trying to push and run PHP on workstations at some random corporation ;)
Hey boss I would like to roll out PHP on all workstations. Whatyasay? :P
:D
 
@PeeHaa Corporations.. Another world. mine was for pure home usage, and some help in maintaining high school computer room
 
11:39 PM
anybody still alive
 
11:50 PM
me :D
I'm still live and kicking :D
 
lol
that's nice
i am working on one issues would you like to help me in that
 
^ just throw these escape functions on everything - and then wonder ^^ ;)
 
@ircmaxell are you about and do you have 2 minutes? If so can you translate the very last section of this into English for me? I have the string I need to sign, I have signed it (I think) correctly with openssl_sign($signTarget, $signature, $privateKey, OPENSSL_ALGO_SHA512), but I think I now need to prefix it with an algo identifier for storage and I can't work out what that should be
I terms of what the algo id string would look like
(or anyone else who knows what they are doing with that sort of thing)
I guess it's just a few bytes but I can't find anything that explains (in a way I understand) how to construct them
@PeeHaa Where is that lazy ass mofo anyhow? Not seen him since before Christmas
 

« first day (812 days earlier)      last day (4127 days later) »