« first day (976 days earlier)      last day (3987 days later) » 

5:02 PM
@Gordon Guess who's watching it tonight? :)
 
@webarto not me. i've seen it twice and despite being the best american film of all time according to AFI it's not good enough to watch it yet again.
 
The deeper I go into certain modern frameworks, the more I feel I need to walk around like this \( •_•)_† to ward off the evil architectures
2
 
@ircmaxell zf or sf?
 
either... both...
 
5:12 PM
Ok I have an issue: The site I'm working on has 2 forms in hidden DIV elements that are shown in a modal popup when a user presses a button. Each of these forms requires a captcha from reCaptcha. The problem is that you can only have one recaptcha per page. Does ANYONE have a workaround for this?
 
@ircmaxell .. so you have noticed too =/
 
Good evening!
 
@tereško yeas
 
21 hours ago, by bwoebi
@HamZa can't tell you, but don't read code of frameworks. It'll a) drive you crazy and b) frameworks are not exemplary code. Lots of people think this, but frameworks only get extended, because as big as they are, nobody refactors them from time to time. Even frameworks code gets slowly messy. And there are TOO MUCH COMMENTS. You don't look at the functions, you look only at the comments, what isn't always good.
 
Eih, to an extent
 
5:18 PM
@bwoebi that actually is BS
 
@ircmaxell It's always the same: the frameworks are praised for using certain patterns, a certain architecture… but after some time, if you look at the code it'll drive you į̷̷͚̤̤̖̱̦͍͗̒̈̅̄̎n̨͖͓̹͍͎͔͈̝̲͐ͪ͛̃̄͛ṣ̷̵̞̦ͤ̅̉̋ͪ͑͛ͥ͜a̷̘͖̮͔͎͛̇̏̒͆̆͘n͇͔̤̼͙̩͖̭ͤ͋̉͌͟eͥ͒‌​͆ͧͨ̽͞҉̹͍̳̻͢…
@tereško BS means?
 
britney spears i think
> that actually is britney spears
 
and britney spears is?
 
@CarrieKendall you have to consider that he might not know who britney spears is
... oh .. well
 
Frameworks are far better solution than writing code from scratch, because nobody will pay for 'ideal' code. Or in Europe and USA they actually can pay for that?
 
5:21 PM
@tereško lucky for him :D
@bwoebi she is bull shit :]
 
/me is going to google the name
 
@Ivan0x32 nobody is willing to pay for technical dept either
 
@CarrieKendall ah okay xD
@tereško this isn't bull shit?!
 
britney spears had nice songs, go away haters, leave her alone!!!
 
@webarto don't...post...video
 
5:24 PM
lol
 
@ircmaxell remove it!
 
@webarto remove it!
 
Truly this is the real sign of the apocalypse.
 
5:26 PM
you're spamming my screen with video preview images!
 
Learning GIT hub :) whop try.github.io
 
oh ... the childhood memories
 
still better than most of new songs (from everyone in pop industry)
 
at that time my favorite bad was Guano Apes =P
 
@webarto ummmmmmmmmmmmmmmmmmmmmmmmmm noooooooooooooooo
 
5:28 PM
Jun 14 at 13:16, by ircmaxell
@Gordon You won't know when. You won't know where. But one day, I will get you back for that
 
@CarrieKendall stop reminding him
 
lulz
 
@ircmaxell that's your reminder >:]
 
̿̿ ̿̿ ̿̿ ̿'̿'\̵͇̿̿\з=( ͠° ͟ʖ ͡°)=ε/̵͇̿̿/'̿̿ ̿ ̿ ̿ ̿ ̿
 
helo everyone
 
5:32 PM
hello
 
helo ppl
m new here
 
Halp!
 
i need help
 
anyone here ever try to connect to MSSQL with odbc_connect();?
 
5:33 PM
no
 
lol what the..
 
twins
 
no dear
 
hahahaha... quite a coincedence ... not twins
 
How do you peoples connect to MSSQL?
PDO lib?
I need to pull some data out of some MSSQL tables and this is driving me nuts.. why does MS have to be so backasswards?
 
5:35 PM
yes , there is a PDO driver for that , but in general we tend to avoid MSSQL as black plague
 
@tereško yeah I normally do too but this client is all total microsoft shop.. and I just need to match a batch script to take data from his MSSQL DB and put it into a MYSQL db.
 
//database connection
$db = new PDO("mysql:host=localhost;dbname=ems",'root','');
$stmt = $db->prepare($sql);
 
oh quick twin
 
yea twin
:)
 
whats up with the mysql:host?
 
5:37 PM
@user2492764 mssql = microsoft sql
 
is that correct?
 
yes its correct
 
ys its is correct its working
 
weird.. let me try this.
don't I need some kind of driver or something though?
 
5:38 PM
@user2492764 "correct" and "working" are not synonyms
 
I know Microsoft is awesome at needing obscure hard to find drivers to do simple things.
 
@tereško
its corect n its working in my scenario
 
@CarrieKendall yes , i did
 
@tereško good for you, new job lined up?
 
i will take a summer vacation
 
5:40 PM
u should better take
@ter
 
@user2492764 actually , the way you wrote it, your code is open to SQL injections
 
`$db = new PDO("mysql:host=192.168.1.27;dbname=live_items",'reader','reader');`

errors out

`SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in C:\UwAmp\www\odbc_connect.php on line 5`
 
I won't take vacation, I'm hardcore.
 
@webarto no, you just aren't hardcore enough to take vacation.
 
I don't understand this MSSQL DSN stuff.. it's horrible.
 
5:42 PM
sorry @TheSnooker i though my stuff help u
 
Why does this have to be so cryptic.
 
but its not working in your case
 
also, please use entire words ... as in "with all the letters"
 
@TheSnooker... u shuld frst search it yourself or start a thread in questns section
 
@user2492764 no problem it's probably not you it's probably me.. I think I need an ODBC driver or something>
 
5:43 PM
@TheSnooker I'm not sure how to get it working but new PDO("mysql:host=192.168..." tells PDO to try to connect as MySQL not MSSQL.
 
hmm
 
Just passed 200 ECTS, 40 more and goodbye formal education.
 
new PDO ("mssql:host=....)
 
Hello H-1B.
 
whats this ECTS @webarto?
 
5:44 PM
I've had a realization: if you use the term "baby's daddy", I don't like you, and probably won't ever.
 
@Danack actually you have to use ODBC for PHP5.3+
 
@user2467657 European Credit Transfer and Accumulation System, every subject in college has weight, in mine, it varies from 4 to 8, and you need to gather 240 (about 45 exams) to get a bachelor half of masters degree.
 
@Bracketworks random
 
@Bracketworks how about if we just give you pictures?
 
@TheSnooker In the context of room 11, yes random; but so fucking applicable to 3 minutes ago in my world.
 
5:46 PM
oh great then @webarto... best of luck
 
:)
 
@salathe /mute
;)
 
@Bracketworks no mute on SO chat :D (is there?)
 
@salathe yes, it's called ignore, click on a user's name
 
@salathe Ignore this user :P
 
5:47 PM
best of luck @webarto
 
@ircmaxell sup?
 
@ircmaxell that's everywhere though
 
@tereško entre wrds r 4 nbs trsko
 
true
 
php.net.so php.net @ Stackoverflow :P
 
5:48 PM
Ammended: if you use the term "baby's daddy", or enjoy similarly named theatrical releases, I don't like you.
 
posted on June 18, 2013 by Mike's sudden inspirations

I was about to write "in early February" but actually it already was in late January that I stumbled over this tweet: I'm still ready & willing to hire a #PHP internals coder to work on PHP fulltime. Amazing place to work: http://t.co/GX4wtPSc — Don MacAskill (@DonMacAskill) January 18, 2013<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"> Fast-forward five months –

 
@webarto -1,000,000 points for using xdebug on there
 
@salathe stackoverflow.so :D
Different servers, right.
 
@webarto -2,000,000
 
What does this X thingy do...
 
5:51 PM
@webarto try it and see
 
@Feeds What is this shit? I don't even...
 
@salathe I just read the Wiki page for this; $iq--;
 
@Bracketworks *grin*
 
@salathe Nah, we be mates.
I was hiding my Yubikey so well that I lost it.
 
possibly the meanest thing anyone's ever said to me: "u need to teach a jquery class and let me sit in on it"
 
6:12 PM
@CarrieKendall oh good god
did that poor person live?
 
@ircmaxell its my best friend :'S
 
that doesn't answer the question :-P
 
@ircmaxell fair enough, maybe i will run her off the trails this afternoon
 
nice
 
Plausible deniability.
 
6:22 PM
or maybe not :-P
 
On Windows, I'm getting an unknown software exception; segfault?
0xc00000fd
 
@Bracketworks Stack overflow.
 
Normally PHP just dies with an allocation error.
Seeing that now on the intertubes; yea.
 
hi everybody :)
 
Any idea on this then? PHP stack overflows on while ($a = [$a]) ;, ok, same with while ($a = [[$a]]) ;... but appears to die gracefully (with memory allocation failure) on while ($a = [[[$a]]]) ;
Note the wrapping of $a in dimensions.
(yes, I'm just screwing around)
 
6:31 PM
Does anyone know where to find a good example of pulling data from a web service using php? Or making a web service in php? Or would asp be a better option?
 
just finished my first php proyect today :) ever! I'm kind of excited, did it all by myself. Hope it doesn't break, client dies and get fired.
 
@Rice_ are you looking to do SOAP or REST? personally I'd avoid trying SOAP in PHP like the plague... REST is relatively simple to do though
 
@JoeMeyer I'd try to avoid SOAP in any language
insert awful joke about my horrible smell
 
@cspray agreed but sometimes companies I have to interface don't share that same opinion...
 
6:38 PM
@Bracketworks it dies when cleaning up the array
 
@Rice_Crisp It may be a bit complicated as an example but github.com/Danack/FlickrGuzzle shows how to use Flickr's api.
Which is one of the worst APIs ever
 
@bwoebi Could you elaborate? I'm not understanding why [$a] and [[$a]] throw the message and fatal, but [[[$a]]] only fatals.
 
@JoeMeyer Yes, unfortunately this is true. We have a vendor that uses SOAP and let's just say it was not a pleasant experience
 
While more work, you could always write a RESTful API, and then create a SOAP adapter
 
@cspray, Our payroll system is "in the cloud" and the only way to talk to it programatically is to use SOAP.... I have thus far been completely unsuccessful in getting php to work with it
 
6:42 PM
Is is hard to put on a submit button of a from a 'javascript popup with a button in, when that button got triggerd the submit may be executed? ( I need to create an alert) Something like 'Are you sure you want to overwrite your data?)
 
@Bracketworks depends on where it notices the memory fail
 
I'm trying to make a web service that pulls a bunch of posts from a database and displays them on whatever webpage has sent the request to the web service. Would SOAP be the best angle of attack for something like that? Again, I know some asp as well, so if SOAP is easier in that scenario, I could probably figure it out.
 
@duikboot, no just use a confirm box
 
@Rice_Crisp I don't see how ASP is a substitute for SOAP?
 
@cspray someone said they would avoid soap in php, so I'm saying I could use asp if that's easier
 
6:45 PM
@Rice_Crisp it's entirely up to you what language you write this in, I personally prefer a REST API which i'm sure you could also do in ASP but I wouldn't know where to point you for help on that.
 
Is it evil to use that one? <form method="POST" action="?page=clients&amp;action={$data.id}&amp;method=validate" enctype="multipart/form-data">
 
@Rice_Crisp just avoid soap period. It's borderline antiquated imo.
 
I would like to use jqueryui.com/dialog
 
@Rice_Crisp In my opinion consuming SOAP services blows big time; I couldn't even imagine having to write a provider. In my opinion I would just go RESTful. Developers consuming your API will thank you
 
@Pheagey agreed
 
6:47 PM
@cspray what he said.
 
I'll look into REST then
 
@Rice_Crisp it will bring you rest in the end, hmhmhmhm
 
@CarrieKendall bad puns are bad :P
 
don't you mean.. brilliant?
 
@CarrieKendall Brilliantly bad
 
6:49 PM
@cspray what he said
 
@CarrieKendall If only I wasn't at work :'(
 
ROTFL
 
basically you need to do something to prevent the form from submitting on a normal form submit (return false), then do some javascript to submit the form on confirmation
 
i also have my next meme loaded.. just waiting for something deemed stupid enough to use this bad boy
 
6:52 PM
facepalm eh? I'll see what I can do
 
it can't be contrived.. this one is too good
 
you underestimate my natural stupidity...
 
@CarrieKendall "Is is safe to store a users password in the an encoded cookie?"
/sarcasm
 
:)
<- is waiting or ircmaxell to have a coronary.
 
6:56 PM
@CarrieKendall that looks like Maxell's redheaded brother
or maybe - evil twin
 
/me needs to learn to use some cool chat features
 
@tereško I take offense to that
 
no offense was intended
 
@Bracketworks ask this question on SO…
 
@ircmaxell Though it does look like it :o Just sayin' :P
Evening everyone
 
7:06 PM
yellow
 
7:24 PM
 
@Bracketworks
php-src root# php -r 'register_shutdown_function(function() use (&$i) { print "\n$i ... !\n"; }); while($a = [$a]) $i++;'
PHP Notice:  Undefined variable: a in Command line code on line 1
PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted at /var/root/php-src/Zend/zend_vm_execute.h:38577 (tried to allocate 72 bytes) in Command line code on line 1
1719234 ... !
php-src root# php -r 'while($a = [$a]);'
PHP Notice:  Undefined variable: a in Command line code on line 1
PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted at /var/root/php-src/Zend/zend_vm_execute.
What's going on here?!
 
I thought something odd was happened.
Have you compared with the nested arrays?
 
yes
so php -r 'while($a = [$a]) $i++;' doesn't segfault either...
lol?
but just a notice
It only fails when memory is exhausted at zend_vm_execute.h:38590. If it fails at any other place, it doesn't segfault
why?
php -r 'while($a = [[$a]]);' segafaults at exact this same line, but php -r 'while($a = [[[$a]]]);' not
with three braces it fails at zend_vm_execute.h:11436 e.g. at some other place than with one or two braces
@ircmaxell or @NikiC … do you have any idea what may cause this?
 
@bwoebi what do you mean "what's going on"
 
look at the few posts above?
 
7:35 PM
ummm... it hits the memory limit?
 
and segfaults when it hits the memory limit at this place: zend_vm_execute.h:38590
why does this segfault?
 
segfaults?
Oh, didn't notice the read-more
recompiling, sec
 
and don't forget the --enable-debug to see the file and line information of source code
 
weird
 
@ircmaxell yes...
 
7:41 PM
what's weird is it doesn't segfault with gdb
 
@ircmaxell what did you run with gdb?
 
(gdb) run -d memory_limit=512M -r 'while($a = [$a]);'
PHP Notice:  Undefined variable: a in Command line code on line 1
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted at /home/ircmaxell/php-src/Zend/zend_hash.c:360 (tried to allocate 64 bytes) in Command line code on line 1

Program exited with code 0377.
 
Evening
 
@ircmaxell try with 1G RAM
 
But valgrind catches it
 
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted at /home/ircmaxell/php-src/Zend/zend_vm_execute.h:38590 (tried to allocate 72 bytes) in Command line code on line 1
==22006== Stack overflow in thread 1: can't grow stack to 0x7fe601ff8
==22006==
==22006== Process terminating with default action of signal 11 (SIGSEGV)
==22006==  Access not within mapped region at address 0x7FE601FF8
==22006==    at 0x8DDAD4: _zval_dtor_func (zend_variables.c:45)
==22006==  If you believe this happened as a result of a stack
 
with 512M it works also for me.
 
without GDB it kills it at 128mb
 
then try with 128 mb in gdb?
 
7:51 PM
@ircmaxell could you reproduce it at 128 mb in gdb?
 
no
and 1g is still running
 
// and so on...
#116390 0x0000000100900db7 in _zval_ptr_dtor_wrapper (zval_ptr=0x14279fca8) at zend_variables.c:182
#116391 0x000000010092162a in zend_hash_destroy (ht=0x14279fb48) at zend_hash.c:560
#116392 0x00000001009006ed in _zval_dtor_func (zvalue=0x14279fd38, __zend_filename=0x100eb0708 "/var/root/php-src/Zend/zend_execute.h", __zend_lineno=81) at zend_variables.c:45
#116393 0x00000001008e7944 in _zval_dtor (zvalue=0x14279fd38, __zend_filename=0x100eb0708 "/var/root/php-src/Zend/zend_execute.h", __zend_lineno=81) at zend_variables.h:35
this is the backtrace I get.
 
non-infinite but deep recursion
 
8:04 PM
yes. But why the hell occurs the recursion with one or two [ but not with three?
I mean these two segfault: php -r 'while($a = [$a]);' and php -r 'while($a = [[$a]]);', but this one doesn't segfault for me: php -r 'while($a = [[[$a]]]);'
 
@ircmaxell I had to do post-mortem debugging last week.
No fun at all
Do you know how to load gdb from a core dump?
Of course, it's usefulness is limited in that situation.
 
btw. I mean: they segfault sometimes. If I vary the memory_limit a bit the one doesn't segfault, but the other does and like this
@ircmaxell look at this:
php-src root# php -d memory_limit=1025M -r 'while($a = [$a]);'
PHP Notice:  Undefined variable: a in Command line code on line 1
PHP Fatal error:  Allowed memory size of 1074790400 bytes exhausted at /var/root/php-src/Zend/zend_hash.c:376 (tried to allocate 64 bytes) in Command line code on line 1
php-src root# php -d memory_limit=1024M -r 'while($a = [$a]);'
PHP Notice:  Undefined variable: a in Command line code on line 1
PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted at /var/root/php-src/Zend/zend_vm_execute.h:38590 (tried to allocate 72 bytes) in Command line code o
(the segmentation fault message is hidden by the read more)
So: if I set the memory_limit just one MB higher, it doesn't segfault, but with 1024 MB for example, it segfaults.
is system and configuration dependent at which MB exactly it triggers the segfault
 
Could anyone sit through with me, and explain to me what the purpose of iterators are?
 
m59
What's wrong with include "{$data['template']}.html"; ?
 
@m59 principially nothing………
 
m59
8:19 PM
it doesnt work
 
`<?php
$page = file_get_contents('http://www.example.com/');
echo $page;
?>`

This does not work as an iframe replacement .. lol
 
A recruiter just wrote me and offered me 500 bucks when I recommend someone she manages to fit into to her job offers. Yay or Nay?
 
m59
nm, I think I accidentally made $data a string
 
@Gordon isn't that a normal practice? $500/ipad/etc
I've been gainfully employed for over 7 months now, still can't seem to get recruiters to stop emailing/calling
 
@Daniel is it? If you recommend me to a recruiter without asking me prior I'd probably flail you
 
8:23 PM
@Gordon yeah that's what I meant, it is a bad practice but almost every recruiter email I've seen asks for referrals. I can't see doing that to anyone I like lol
 
so i've spent half a day fucking around with CORS and still cannot get this stuff working as expected. I am correct to assume with cors enabled on my server I will not get the cross-origin canvas taint?
 
I mean, you don't give pocks to people and recruiters are pretty much pocks
 
exactly
 
@Gordon If you like the company and the individual and think they're a good fit, why not recommend? Like you said, talk to the person before recommending though.
 
@rlemon You still haven't got it working? :P
 
8:28 PM
no :(
 
@rlemon If you send the correct header I (or anybody else depending on the header) should be able to access to access to content
What does your header look like?
 
headers are sent if you visit lemonmeme.com
 
@rlemon No it is not?
code dump alert
Request URL:lemonmeme.com
Request Method:GET
Status Code:304 Not Modified
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4
Cache-Control:max-age=0
Connection:keep-alive
Host:lemonmeme.com
If-Modified-Since:Tue, 23 Apr 2013 16:55:27 GMT
If-None-Match:"82c653-91-4db0a0d59fdc0"
Referer:chat.stackoverflow.com/rooms/11/php
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1540.0 Safari/537.36
 
well wtf.... it was. ;)
 
8:30 PM
ahh, I changed Header set to Header add to see if I was getting the keyword mixed up :)
 
@LeviMorrison if I like the person I recommend him/her for free. Recommending friends for money feels like selling them. And asking me to recommend people for money feels shady.
 
Can you change it back for me
 
just did
.htaccess
Header set Access-Control-Allow-Origin "*"
~
 
@Gordon Possibly.
 
@rlemon much better. 1 sec lemme check something
 
8:32 PM
ok people, have a good one!
 
@Gordon Recruiters make about 25% of persons salary for first year for any person they place. You can ask for more than $500. Possibly even split it with the person you recommend.
 
my old office we had a system:
entry level position: $500 if you recruited them (after they pass probation)
sr level position: $1000 "
management: $2000
they didn't often take the people we suggested :?
 
@rlemon hmmm the cross domain request just works as it should
What do I request to use on the canvas?
 
1 sec i'll grab a link
 
8:35 PM
well it's for a mp4 for a demo. tinker.io/8d4a9
this throws an error
 
hey guys, I've been thinking about this.. i'm just learning php, and at work they made me use codeigniter. Now I can do more things but I feel like I'm not really understanding what I'm doing. For instance, I can easily connect to database from ci, but not so sure on how to do it with native php. Should I stop learning CI and focus on php without framework, or continue learning CI? :S
 
I'll give you the simplified image example as well
 
Is it possible to submit a php form, with a confirmation dialog box with javascript, should I use ajax for that?
 
tinker.io/0d397 image example
 
@Ant100 Learn PHP over a framework for sure.
 
8:37 PM
All I want to do is run my demo on codepen.io with the resources on my own server... and no cross-origin issues... am I insane to want such a thing?
 
@rlemon What are you doing here?
 
js room failed me
 
@rlemon In the case of JS yeah you are :P
 
@PeeHaa埽 really? I thought cors would allow such a thing
 
Cabbage
 
8:39 PM
unless you are just poking fun at JS.. in which case... don't confuse me!
 
Hello guys, quick PDO question. I have a mysql query I'd like to wrap up like this: $sql = $dbh->prepare("SELECT * FROM log"); then I execute it like this: $sql->execute(); , now my question is why can't I use it into a: foreach ($dbh->query($sql) as $row) loop ? When I'm trying to get it to run into the foreach It does not read from the db anymore. Thanks.
 
I was and sorry :)
 
I am trying to use the latest version of fpdi with tcpdf but when I try to import them I get Strict Standards: X::Method should be compatible with Y::Method
I think what the error is saying is that the methods signature (expected parameters) don't match. Is that what Strict Standards means?
 
@Danack i dont want more money. I dont sell my friends.
 
@Gordon I want more money. I will gladly sell your friends for you!
 
8:41 PM
I have a question about breadcrumbs
 
I would sell mine... but lack of inventory.
 
I URI is like /path/path/path
 
@LeviMorrison I'm kind of lost on what the 'next step' is. People talk about doing lots of trial/error, and also checking out big proyects codes. But I dont know what they're talking about, where can I find this?
 
I need to assign a href to the breadcrumbs which i have
 
@Gordon I agree - but if you know someone who is looking for a job, and that recruiter has a job, there's no need for the recruiter to keep all the money (for doing almost no work in my experience).
 
8:41 PM
But i am struggling to parse the paths into he right place
 
@rlemon I can recommend you if you want
 
@rlemon I know the feeling
 
@Danack do they ever do any work?
 
any ideas ?
 
@Ant100 For a lot of basics you can use this (okay) tutorial: codecademy.com/tracks/php
 
8:43 PM
@rlemon I thought you had to specifically set the crossOrigin attribute on the image element, but no dice. Will try some more things
 
After that, just build something.
 
@PeeHaa埽 yea I did try that as well
 
@Gordon Sometimes when you have a very specific hard to fill role, or when there are too many applicants and the headhunter needs to filter out the wheat from the chaff then yes - though most recruiters seem to be allergic to work.
 
m59
Am I messing up if I do two sql queries back to back?
two different tables
 
@m59 depends on the queries.
 
8:44 PM
@GameCharmer what he said
 
@LeviMorrison ah yes, I like codeacademy lots of tuts :) Build something, as in a cms?
 
@Danack that's a myth ime. they don't do any work. keyword bingo is all they do.
 
@rlemon I don't get a tainted error in ma console now, but I neither see anything in canvas I think. Should something come up?
 
m59
I'm working on my cms. First query is for general site infomation (meta/template) and the other for the page content
 
@m59 that seems an acceptable use for 2 seperate queries
 
8:46 PM
@m59 If your second query is inside a loop, and the loop is based on the results of the first query, then you can probably join and save yourself extra queries in the loop
 
m59
cool.
 
@PeeHaa埽 on the image example no
 
@m59 @JoeMeyer Ninja'd. :P
 
m59
@GameCharmer my head exploded probably.
 
it's a mostly transparent image
 
8:46 PM
 
m59
So, there's a system in place for dealing with contingent queries like that?
that's what joins are about?
 
@m59 @GameCharmer for example if you wanted to get all users from one table and then all of their assigned permissions from another table, that would be best suited to use one query as opposed to two since the two sets of data are related
 
@PeeHaa埽 let me try this
 
ok now lets get it working on the video : tinker.io/8d4a9/2
 
8:48 PM
@m59 @JoeMeyer Yup, when the data relates to one another (relational database anyone?) joins are great. If it's totally unrelated, 2 queries never hurt. :)
 
m59
@JoeMeyer yeah, I know about relational databases, but maybe not sure how it relates in this case.
 
@rlemon Looks like another problem. 1 sec I'll investigate
 
m59
@GameCharmer I think 2 is right here, since neither have anything in common.
 
Looks more like a server issue @rlemon I can see the (partial) response and that just breaks shit. Something tells me I have seen this before
Yes almost certainly a server issues
 
m59
Here's a really fun one. $this[$requested[0]](); inside of public function respond()
can anyone see what I tried to do here and point me the right way?
 
8:53 PM
Better get of this super state of the art pre alpha version of a browser to be sure
 
m59
er better yet, let me just outline my approach to this api business so far...
 
@rlemon Do you also have another format of the thing on your server by any chance?
 
I have an ogg format but it is frikkin huge
lemonmeme.com/demos/PUMPED_UP_KICKS_DUBSTEP.ogv
 
@rlemon uhhhhm the video isn't H-264 by any chance is it?
 
m59
8:57 PM
say I request site.com/api/articles/14
I want to get the request "articles/14" then call the articles function of my api class. If it were nested further like users/14/images/1, then call function users, which then can call function users_images
this is probably a legendary disaster.
 
no that's not right. chrome should support that
What's the format of the thing?
 
@PeeHaa埽 it works when it is not cross-origin
 
@rlemon No it does not for me. When I access the thing directly on chrome I get the exact same thing as on your demo. I.e. a broken partial request. On FF it works just fine
MPEG-4 Visual coded perhaps?
 
works fine for me in Chrome
you might be missing codecs yea
Google Chrome	27.0.1453.110 (Official Build 202711) m
OS	Windows
 

« first day (976 days earlier)      last day (3987 days later) »