« first day (1344 days earlier)      last day (3829 days later) » 

20:00
@PeeHaa, Management Studio: http://www.microsoft.com/en-za/download/details.aspx?id=8961

Yes, it is.
@Rijnhardt You are trying to log in as the sa user?
(?!?!?!?)
@SergeyTelshevsky Well that is an issue, but it is a separate issue. You may not have to fix that problem in order to accomplish what you want
@DaveRandom, just as a test. I have my own account.
If it works on windows and dhcp client stuff is working, the problem is almost certainly driver related
@DaveRandom, After my own account did not work, I tried 'sa'
@Rijnhardt Then chances are the problem is with whatever you have in the server address
When you say it works in management studio, is that management studio running on the same machine as PHP?
20:02
@DaveRandom so, I just want to get it working while I get a new router, as currently it's just madness, I have to plug out and in the cable or reconnect as the router is simply bugged out
@DaveRandom, yes it is. The server's address is: 'localhost\MSSQL2014' tried that as well in the connection string.
3 mins ago, by Rijnhardt
@PeeHaa, Management Studio: http://www.microsoft.com/en-za/download/details.aspx?id=8961

Yes, it is.
@SergeyTelshevsky OK, fair enough. Still, connecting your computer directly to your modem is basically worst thing you can do
@DaveRandom I want to try set up the IP manually right now, just to make sure it will work
@DaveRandom suppose i am making a soundcloud like website where people can upload their music, how do i upload the files....
20:04
@shortCircuit Just put them on disk and store the paths in the database
then i have to buy a server, i am using a web hosting service.
@SergeyTelshevsky As this is a temporary problem until you have a new router, that's probably your best bet
@DaveRandom I understand, mate, and thank you for all the warnings, I truly understand why it's bad and dangerous
If that doesn't work, it's a driver problem and therefore not something you can fix yourself
@shortCircuit ...wat?
@radleybobins thx :) and which links? ;)
20:06
@Rijnhardt maybe it doesn't like your casing/whitespace errors in the DSN?
@DaveRandom, @PeeHaa : I got it working... X_X
i am using e web host , a free one.. how do i upload it to the webserver? @DaveRandom
Thanks for the efforts
Crystal ball says wrong credentials / host
$conn = new PDO( "sqlsrv:Server=$serverName;Database=$database", $uid, $pwd);
@PeeHaa Really? Mine says I will die tomorrow
Maybe I should get a new one
20:07
@DaveRandom, a comment suggested that.. It didn't make a difference
Or just accept the fact and start living
@Rijnhardt What did you do then?
sup guys
TELL US NOW!!!!!!!!!!!!!!!!!!
yo @AlfonsoPérez
@DaveRandom, as @PeeHaa suggested... Host address was wrong...
20:08
@PeeHaa It also said England were not shit at football, I'm pretty sure it's broken
had to put in "localhost\MSSQL2014"
heheheheheheheh yeah you suck :P
@Rijnhardt lolololol
do i use cloudstorage then?
@Rijnhardt Beware of M$ and double quotes
20:08
It is saddening, I know. facepalm
@DaveRandom now I'll get to some googling about setting up IP and will do my best not ask you to help :)
how would you guys describe "cakePHP" if you had to describe using few words? :P
Try and use single quotes whenever you need a literal backslash
@AlfonsoPĂ©rez crap
I was expecting some of that yeah haha
20:09
@AlfonsoPérez, why you no laravel?
please help me understand this
Because crap @Rijnhardt
:P
@AlfonsoPĂ©rez How many am I allowed? Is "The Cake Is A Lie" too many?
If you say so @PeeHaa
@DaveRandom, well played on the Portal ref.
20:10
@DaveRandom that would work aswell
I am just going to be interviewed nest tues by a CakePHP fan
so I was just gathering opinions
never used it
@SergeyTelshevsky ubuntu not really may area tbh. I know networking and I know *nix in general, but configuring specifically ubuntu is definitely not my area
@DaveRandom plz
@AlfonsoPĂ©rez If you just turn up with a T-Shirt that says "I am an utter fucktard" on it, you'll prob be recognised instantly as someone on their level
@shortCircuit sorry, missed the question?
oh found it
@DaveRandom There are shirts like that? I NEED ONE! NOW!
i am using a free web host, how do i put my files to the disk, should i use something like dropbox instead .. @DaveRandom
20:13
yeh @shortCircuit a free web host will not allow you to do this. Get a VPS. It won't cost you much.
wait wait wait wait
@PeeHaa to the zazzlemobile!
You are trying to do something like soundcloud in a free host?
@PeeHaa, gl my friend, gl
20:14
to some level
my one won't be that popuplar i guess
oh sorry, @shortCircuit gl
gl? openGL ?
I doubt you could even transcode music files on a freehost
Let alone store more than a few files on it
i have no idea actually
a raspberry pi on your grandma's DSL should do the work for that, problem?
2
20:15
Or stream them a lot
@AlfonsoPĂ©rez nice touch with the grandma qualifier
In fact that deserves a shiny star
can i let the users upload files on dropbox? it gives upto 50GB i think. but i have no idea how to stream the music from there
Have two for that
@shortCircuit, you just gave me an idea...
@DaveRandom Thank you very much, static IP worked, if you'll make an answer I'll give you upvote and a bounty for all the help
20:17
what is it?
OK PEOPLE FUCK YOU MICROSOFT WITH YOUR STUPID AUTODISCOVER PROTOCOL YOU FUCKING SUCK!
@shortCircuit srsly. What you are talking about here is not something you can do with free services
@DaveRandom do the stars convert to cookies or cakes at some point?, I am a newbie to this chat thing
@PeeHaa ooooh I forgot about that
That's such a shit-ton of work though
@DaveRandom My friend: it is horrible
@AlfonsoPĂ©rez You can get free beer for them in the next room 11 meetup
20:19
Well it's proprietary M$, that's a given
In fact if it's just horrible then you got off light
ok i get it.. no free service... vps is the only way... i am asking if i can do with cloud storage.. is it possible to stream from cloud storage.. then i guess i have to o with vps and find a Edwardo Saverin
@shortCircuit define "cloud storage"
@DaveRandom Every freaking device / client does something different under the same name
1 min ago, by DaveRandom
Well it's proprietary M$, that's a given
so you can put nasty stuff on there
20:20
I am thinking now... If you take a playlist say from OwnCloud or iCloud or whatever you desire... Download one song onto your server. Stream it, destroy it and then download the next to play.
I'm bored so I might attempted to handle a couple of devices tonight unless I get drunk / fed up soon and say fook this shit
like RackSpace or Amazon S3 .. i saw it here stackoverflow.com/questions/4965756/…
Minimizes the actual server usage.. (or am I too tired to think?)
@Rijnhardt that is what i am asking.. not about the destroy ..
@shortCircuit Right, OK... and from a techical PoV, how do you think those relate to streaming?
In fact I should stop here because I'm adopting a condescending tone and it will only get worse
Horrible question + answers
did that guy recommend CakePHP and CodeIgniter in the same sentence?? damn.
@shortCircuit before you start with this, go learn about how MPEG works, you cannot really understand your problem domain until you understand that
20:22
ok
That should keep @shortCircuit busy for a while ;)
The horror TEH HORROR!
Wordpress is a great place to start if you're just beginning. There are a number of audio player plugins that you will be very happy with. — philwinkle Feb 11 '11 at 5:20
@shortCircuit BTW have you thought about suing the soundcloud API instead?
@PeeHaa And with that, I think I'd better put the computer down and walk away for a while
(not sure what you usecase is)
@DaveRandom or I'll bounty you on SO!
i was just thinking, the user uploads the music file to my account or their account.. i have the link, so i play the file directly from their server.. but i have to learn mpeg as it seems... why would i sue soundcloud.. i can't even buy a vps
20:25
suing === using
@SergeyTelshevsky I totally missed this message
I think that rep would belong to the guy on askubuntu who suggested it
o.. i will first go and learn its policies.. TnC .. if it allows music to be usd for personal use.. like i make a website where people can book for concerts after listening to music etc.
@shortCircuit Is that your use case?
20:27
@DaveRandom correct answer is not the only thing that should be appreciated, so that guy gets an accepted + bounty :)
In that case I would simply write a custom audioplayer and get the stream right of off soundcloud suing its api
I can highly recommend audiomanager 2
@shortCircuit You don't necessarily have to, but if you are serious about building something actually useful then you should. streaming is one of those magical secret sauce things that solves all teh problems - simple in theory, insanely complex and labour-intensive if you want to make something that is actually worthwhile
You could even use the official soundcloud player if you don't care about their branding on it
Skype is such a piece of crap. Installed this shit on ubuntu, hangs up for about 10minutes while receives messages from the history
20:29
@PeeHaa I sued an API once. I lost.
Damnit AGAIN!?>>!?>!
I suck at typing atm
i will do both..
@PeeHaa common typo. Mine (and it is way worse than switching two chars) is omitting "not"
20:30
one for my personal project one for the person who asked me to make it
The number of times I have told people they should do something when I meant they should not... :-(
@DaveRandom :P
ow
its sometimes hard to interpret
@shortCircuit a good place to start would be to understand the concept of media framing (very important in streaming), and then to understand how mpeg layer III totally screws you in this respect
(you'll see what I mean if you read into it)
i could use .webm or .ogg or .pm4 is mp3 screws... but i have to know them first
20:37
@shortCircuit Well, one way to look at this is: this particular wheel is thoroughly invented... ;-)
\o/ github owner is fast
so these problem has already been fixed?
Yes. By soundcloud. Also by spotify. Also by grooveshark. Also by...
In other words, what do you have to offer/need that those services don't give you?
20:42
@PeeHaa I'm not sure what gif I should post when some random project on github is better at composer, than the developers of composer - github.com/composer/satis/issues/85
Why is my syslog outputting shit on my cli????
10 minutes vs 10 months.
omfg
That thing is still not handled
oapsdjajdpoajsdapdasjd
tags are for pussies
real men use dev-master
20:44
:)
I honestly think Seldaek and Nadermann are nuts - blog.naderman.de/2014/02/17/replace-conflict-forks-explained
/me is going to tidy the kitchen, bbiab
apparently.. standing where i am... not anything out of the mainstream maybe..
@Danack I have been thinking about replacing a couple of popular things and let all hell break loose
20:46
@PeeHaa it's not such a big problem now....there was a new version of composer that made replace not be global.......which obviously massively changed how composer behaves, and they still didn't tag a new version.
ow didn't even know that. I thought they still went with the "you're doing it wrong" approach like they always tend to do
@PeeHaa Well tbh you are doing it wrong.....if you are relying on packagist/github instead of something like github.com/Danack/Bastion
how do i know how they solved it...
recently i am reading this .. jicyshout.sourceforge.net/oreilly-article/… don't know if it address the problem
@Danack True
tbh I'm getting the feeling that even that is stupid, and that I should be packaging up just a tarball that gets deployed to servers, rather than having to have any external network access.
20:55
what do you guys get when going to pieterhordijk.com ?
My site or a gitlab page?
@PeeHaa the latter.
Hmmmmmmmm. WTF. gitlab is not even on that machine :O
DNS problem?
Nope seems to point to the correct ip 37.34.48.200
Or is it
@PeeHaa Getting 500. Gitlab error on torrent site
20:58
That is strange. Very strange
Was fine yesterday.
Only thing I did was a yum update and a reboot :(
So yum update can break things!
hmm dunno what is going on
21:07
@NikiC a first look on your patch was very interesting. Good work! I'm now (and continuing tomorrow evening) looking at the detail additions in compiler and parser.
user924016
=]
@daverandom I submitted, so... :-)
ok apparently I did try to install gitlab on that machine at some point :|
user924016
=]
user924016
Happy weekend everyone
21:18
@ircmaxell Before I make myself look like an idiot on internals, do you still think I'm wrong about the license implications of the GMP RFC - en.reddit.com/r/PHP/comments/28n42p/rfc_big_integer_support/…
Happy beer to you too @RonniSkansing
user924016
lol actually for once, I am abit drunk.. normally I only smoke
Why not both? :D
user924016
=] well now it is both
I'm fairly new to PHP and was wonder how I would go about with a button on an external site. Like the Facebook "Like" button. Would I have to make an API on my end to make this work? Any insight or articles would be nice. I didn't feel like this would be a good post on SO, so I came here
21:25
@user302975 Is the content of the button dynamic?
Yes. I'd have the webmaster who's embedding it on the site sign up for my service at first. @PeeHaa
Everyone has their own page, so I'd say its dynamic by page.
What facebook does is provide a javascript file. Which is something you would also have to do
Or indeed provide an API which people can use to get the data themselves
So I'd provide a JS file, and have that pass the data to the PHP?
yes
And say I wanted the webmaster to be able to change the aspects of the button, via a dashboard on my site. Would that require an API?
21:35
@ircmaxell Ooh, any spoilers? :-P
You can create a key for the user and use that as an identifier
Alright. Thanks @PeeHaa
22:16
my timezone of the day is Antarctica/Troll
@DaveRandom Hi
Been staring at this all day:
$relatedStmt = $db->prepare("SELECT * FROM items WHERE tag = (select tag from items where id = :downloadID");
$relatedStmt->execute(['downloadID' => $_GET['id']]); ?>
WHY DO YOU DO THIS TO ME PHP/SQL!@?£!@£
22:34
Anyone want to save my sanity and tell me why this doesn't actually save a cookie?

<?php

setcookie("name", "Alex Porter", time()+3600);
echo $_COOKIE["name"];
print_r($_COOKIE);

?>
A cookie belongs to the request
It will only be available once you do another request
Even if I reload the page I get nothing, though
@PeeHaa Is that CMS available to the public?
Nope
Client use only?
Or just not launched yet?
22:37
Both. Client use only and not launched yet :)
Oh
@PeeHaa Think you can help with my php problem?
Is it that sql thing?
Yeah
Before that code; I have the following.
$downloadStmt = $db->prepare('SELECT * FROM items WHERE id = :downloadID');
$downloadStmt->execute(['downloadID' => $_GET['id']]); ?>
Nobody knows what's up with that cookie?
I figured it'd be a six second problem for you guys
@GoldenJoe I'm new to PHP but I just read this
Not sure if that will even help.
22:39
@GoldenJoe I just gave you the answer
@RahulKhosla looks fine to me
Isn't reloading the page another request?
yes it is
That doesn't work either.
@PeeHaa Thats what I thought... but nothings outputting. Is it because :downloadID is being set twice?
Where do you set it twice and where / how do you output it?
22:40
$downloadStmt = $db->prepare('SELECT * FROM items WHERE id = :downloadID');
$downloadStmt->execute(['downloadID' => $_GET['id']]); ?>
<?php foreach ($downloadStmt as $row) {} ?>
$relatedStmt = $db->prepare("SELECT * FROM items WHERE tag = (select tag from items where id = :downloadID");
$relatedStmt->execute(['downloadID' => $_GET['id']]); ?>
<?php foreach ($relatedStmt as $row) {} ?>
@GoldenJoe "doesn't work" is not a sufficient problem description
Within the {}'s I have stuff.
Ah it's back thanks @PeeHaa
np :-)
That worked with the old (not PDO) query.
22:41
I'm only doing one thing there: setting a cookie. How many different ways can I say it's not setting the cookie?
@RahulKhosla Does it work when you run it directly in your sql tool?
The cookie doesn't set. Nothing prints out. That's all.
Have you error reporting enabled?
@PeeHaa I've never ran it in any SQL tool. I'm guessing PhpMyAdmin has a built in tool?
yes
22:44
@PeeHaa so I ran just: SELECT * FROM items WHERE tag = (select tag from items where id = :downloadID)
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':downloadID
LIMIT 0, 25' at line 1
change :downloadID with the actual id
Honestly, this room is such a waste of time.
You're a waste of air
Holy...
@PeeHaa Thanks, because of you I noticed I had a syntax error.
22:46
downloadID)"); not downloadID)";
:)
@PeeHaa Just a more slight problem.
@PeeHaa I only seem to get one result, any idea why?
well it only matches one record if you get one result
@GoldenJoe please stop being such a dick to the people who are trying to help you on main. tnx
evening
Heya @Gordon
22:48
Yo G
@PeeHaa It should have more results. The query is searching for tag(s) that match the current (first) query that is being displayed.
@PeeHaa gyazo.com/db7d851f485cd8bff96a8a2680a4ba03 If 'button' is in two rows, it should output both results.
question: assume you got a REST API. most of it's routes require an authentication token to be sent along. basically all but /login. Checking the token presence is done with Sf2 firewalls and providers. Would you still put an assertion in each controller test to validate a certain route contains the token? Something like testGetResourceXRequiresAuthentication
@RahulKhosla What happens when you run the queries independently?
@Gordon How is that stuff implemented in the controller?
@PeeHaa its not implemented in the controller at all. its handled through symfony listeners before the controller gets invoked
Mmm nothing for some reason. I just tried; $relatedStmt = $db->prepare("SELECT * FROM items WHERE tag = buttons"); and nothing outputted.
22:54
@Gordon In that case I don't see the need to keep testing it
@PeeHaa then how do you know that resourceX does indeed require authentication?
@PeeHaa I just ran SELECT * FROM items WHERE tag like 'buttons' in my SQL tool and I got MySQL returned an empty result set (i.e. zero rows). (Query took 0.0003 sec).
@PeeHaa after all, you could have misconfigured it in the firewall or the listeners
You are looking for LIKE @RahulKhosla
What kind of tests are we talking about? Unit?
@PeeHaa integration
22:56
@PeeHaa I also ran SELECT * FROM items WHERE tag = 'buttons', same result.
@Gordon aha
1 min ago, by PeeHaa
You are looking for LIKE @RahulKhosla
@PeeHaa I tried using LIKE ^. Returned zero.
zero for = aswel.
Well check your data and your query, because the problem is in there
SELECT * FROM items WHERE tag LIKE 'buttons' should return id 1 and 5 correct? gyazo.com/db7d851f485cd8bff96a8a2680a4ba03
read the docs on the mysql syntax of like
How did you setup the firewall rules. Did you use different patterns or do you have something like /secure/ @Gordon ?
22:59
@RahulKhosla A word of advice which may seem a little aggressive but it's not my intent. Help is like a heat meter. Each time you ask the heat increase and without a cool down period it'll eventually blow. In other words try not to ask for help too often otherwise people will lose patience.

« first day (1344 days earlier)      last day (3829 days later) »