« first day (597 days earlier)      last day (4337 days later) » 

10:00 PM
I bet Flashback made Apple do a double-take
 
Sam
@Hakre you remember when i asked if there was any improvements to a question yesterday? You think i shold start a bounty? stackoverflow.com/questions/10866098/…
 
So lame: Maintainer concerned about whitespace in patches - but has no coding guide.
 
What's your take on navigation placement? Navbar or sidebar?
 
Apple has depreciated Java—it’s not even installed with Mac OS X 10.7 Lion
 
Sam
Navbar in my opinion
 
10:02 PM
@hakre what project?
 
@Sam why?
 
Sam
Its just my preferred place :)
 
Just a gut feeling?
 
@RepWhoringPeeHaa SimplePie
And that's about a data-file only (composer.js), I mean for PHP it was clear (after running a statistical analysis across all files).
 
What browsers are you guys using?
 
10:05 PM
@Techboy6601 lynx
 
@hakre +1 to that!
 
@hakre O.O does that even support AJAX?
 
Sam
Chrome 19.0.1084.52 m
 
@Techboy6601 Chrome
 
@Techboy6601 nice
 
10:06 PM
There is a browser called nice?
 
@Techboy6601 chrome for browsing
 
nice, ice, twice - it's a great familiy of browsers
 
@Techboy6601 neh I just really liked that comment
 
Sam
I might get a copy of netscape just for kicks
 
lol
 
10:07 PM
 
hahahaha
 
@hakre Seems legit
 
Okay one of my favorite browsers is Netscape 2.01 Gold.
Let's try SO on it.
 
Sam
 
'Welcome to Mosaic, an Internet Information bro' XD
 
Sam
10:09 PM
Haha :p
 
Mosaic: Browsa 4 ganstas
 
Sam
Must be more secure than IE6
 
hahaha
 
@Sam That one does not work with virtual hosts in apache.
 
Sam
You have a copy of mosaic?!
 
10:15 PM
SO on Netscape 2.01 - I have javascript on, but it still does not work :/
@Sam Not right now installed, but I know that browser.
 
Sam
Ohh
 
@hakre I think you should ask on meta about this serious issue
 
@RepWhoringPeeHaa not at all
 
@RepWhoringPeeHaa Yeah so many obscure javascript errors
 
@hakre probably not a recent version of javascript
 
10:16 PM
I've got netscape 4 on my browser testing VM, always fun to load sites up and watch the fireworks show
 
which figures
 
Sam
This needs to be fixed, 50% of of users who visit SO use netscape
 
@Sam whats SO?
 
Sam
Stack Overflow
 
><
 
10:16 PM
:S they use netscape :S
 
 
>________________________________<
 
Sam
Im on netscape
 
Json was not born yet.
 
why can't u use chrome?
 
10:17 PM
@hakre what version of ecma script does it run. Or is it before ecma?
 
....
 
Sam
Me looking at chrome
 
What's ECMA?
 
ECMAScript is the scripting language standardized by Ecma International in the ECMA-262 specification and ISO/IEC 16262. The language is widely used for client-side scripting on the web, in the form of several well-known dialects such as JavaScript, JScript, and ActionScript. History JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, later LiveScript, and finally renamed to JavaScript. In December 1995, Sun Microsystems and Netscape announced JavaScript in a press release. In March 1996, Netscape Navigator 2.0 was released, featuring support for Java...
 
@sam seriously y netscape?
 
10:18 PM
Netscape always was ecma.
 
oh
I had no idea about that, I thought Javascript wasn't based off of anything
 
@hakre I just read it :)
 
Anyways, why is it called Javascript? Was it made by some guys at oracle?
 
noooooo it was not
 
10:20 PM
helpful article is helpful
- Another quote by the department of redundancy department
 
Javascript? Read here: yuiblog.com/crockford
 
@Sam lmao reminds me of tereško
 
@hakre wtf?
The world's most popular programming language? It's not a programming language!
 
@Techboy6601 ???
 
10:23 PM
@Techboy6601 What???
 
You can watch for closely 2 hours and then you can tell if it's a programming language or not.
 
Javascript is an interpreted language
Someone could easily make a new browser that introduces new concepts
like - oh, wait - Chrome!
Ex. desktop notifications
 
@Techboy6601 "Interpreted language" is a subset of programming languages...
Surely you can't be serious
 
Interpreted languages are interpreted by programming languages
run a Python file without Python and tell me what happens
 
10:25 PM
Interpreted languages are programming languages...
 
@hakre your argument is invalid
 
I think you're confusing "programming languages" with "compiled languages"
 
you still need the Java VM to run java files
 
Sam
I would say javascript is more scripted, i dont really think of it as "programming" per say
 
yeah exactly
 
10:26 PM
@Techboy6601 I cannot even fathom what is going on inside of your head to produce these thoughts
You can't assign your own definitions to words, and then assert them as facts
 
I'm merely stating facts
Not my own definitions
 
lol
 
Sam
This chat room is getting argumentative, i fell like this :(
 
By definition, an interpretive language is a programming language
 
Scripted languages are nothing without a higher-level programming language to figure out what to do with the data it is given
 
10:28 PM
Interpretive languages differ from compiled languages, but both are subsets of programming languages
 
What?
Please explain the difference between compiled and programming languages
 
I just said there isn't one... derp
 
exactly
 
1 min ago, by orourkek
Interpretive languages differ from compiled languages, but both are subsets of programming languages
 
I just agreed with you I hope you realize that e.e
 
10:29 PM
@Nick wrong
 
@Techboy6601 You mean the link was broken?
 
@orourkek yeah that was wrong lol
 
Interpreted languages are not the same as programming languages
 
@Techboy6601 You said that JS is an interpreted language but not a programming language. But interpreted languages are defined as programming languages
 
Interpreted languages need a interpreter
 
10:30 PM
omg
 
Isn't it a form of programming language ?
 
go read a book
 
I'll be off then. When you're finished with the discussion, please write a summary and link it somewhere, so I don't need to fear I'm missing something ;)
gn8 everybody
 
@hakre later
 
@hakre buh byeee
 
10:31 PM
@hakre eggroll
 
Sam
Cya @hakre
Here is a web designer
 
Hey that's me!
 
want me to start linking sources? I will spam this chat with links for the rest of the day, because every reliable source will say the same thing
 
Where did you get this?
 
10:32 PM
college humor..
 
funny thing
I don't own a MAc
XD
 
Sam
Haha me neither, i think they are overpriced
 
Eh not really
 
@Sam I love OSX haha
 
I can bet you OSX took a lot more time to make than Windows
what with the Apple touch and etc.
 
Sam
10:35 PM
They have more money and so can afford more staff
 
Apple Touch ? Multi-Touch ?
 
>.< no
Apple touch as in their own spin on it
 
@Sam I disagree with this but, no need to start an argument
 
Sam
Comment, vote, [tag:cv-pls] on this question anyone?
http://stackoverflow.com/questions/10866098/google-maps-infobubble-pixeloffset-moving-from-default-position-above-marker
@Nick enough arguments for one day ;)
 
@Techboy6601 wtf is apple touch ?
@Sam I agree :D peace brah
 
10:37 PM
@Nick ugh nevermind
ever noticed how PHP shells also spell PHP's hell s
 
don't you mean PHP's hell s :P
 
I don't see any mistake
:p
 
Sam
Unrelated question time!

What shall i learn 1st, vb or C#?
 
C#
and I recommend you stick with C# since VB is nearly nonexistant these days
 
C#, people still use vb ?
 
10:43 PM
My thoughts exactly @Nick
 
Sam
I have a project at work who i picked up from an old dev in vb
 
I got a book on VB that introduced me to programming in general but I'm into web development more now
 
I would imagine quite a few of the tools used in medium to small businesses are written in VB. I still see quite a few job postings for VBA development in the Office Suite
 
Ah, but VBA and VB are completely different
 
Sam
Ill go with C# :), after ive done the Zend PHP5 certification
 
10:45 PM
VB is where you start from scratch; VBA lets you gain access to Office APIs and do advanced st00f in Office
 
@Techboy6601 Its still Visual Basic
 
@CharlesSprayberry a very basic Visual Basic at that too
I don't think it's possible to make full-blown VBA apps
that's not what it was made for
I wonder if this is on a IRC server
 
@Techboy6601 The Order Management System used by a previous employer was written on top of Access with VBA stoneedge.com
 
Don't you still need the Office suite?
 
@Techboy6601 You must have a copy of Access 2003+ on every machine that runs the app
 
10:49 PM
That's like a $100 per each machine
no wait even more
 
Meh, most businesses have agreements to get Office installed on the machines anyway
 
Office 2003 didn't let you buy individual products
Charles: Windows is expensive
a lot of businesses use Linux instead
 
@Techboy6601 And a lot don't
 
What about money?
 
Most businesses have money haha
 
10:52 PM
Every VBA app is open-sourced and you can't change that, the second you release it for buying it will be pirated
 
@Techboy6601 What about it? If people didn't use Windows because it was more money then Microsoft would have went bankrupt years ago.
 
Anyway supper time, I'm out. Peace.
 
@CharlesSprayberry thats not what I meant I'm just saying a VBA dev is not a very good career path to take
 
Sam
+ Most of the business users are more familiar with windows.
See yout later @Nick
 
@Techboy6601 I'm not arguing that point at all
 
10:53 PM
Windows is also vulnerable to malware
 
Sam
So is Mac + Linux
 
for small companies that's not a problem, but think large scale, millions of dollars and tons of competitors
 
Sam
Just not many viruses are made for the 2
 
@Sam yeah, that means a less chance of getting infected and losing money/secrets
 
@Techboy6601 Small to medium sized business are exactly those I'm talking about :)
 
10:54 PM
plus Linux is free
 
Sam
@Techboy6601 So they should hire a good IT department to increase the protection ;)
Are you talking about server hardware here? Or end user computers?
 
It's impossible to stay up with malware these days
@Sam I would assume small-medium size businesses would use some copy of XP or something
 
@Sam I was referring more to workstations instead of server hardware
@Techboy6601 Probably whatever comes on their machine at the local Best Buy. Depends on how frequently they upgrade; XP or 7
 
Sam
I would have thought workstations would be windows
 
@Sam Me too
 
10:57 PM
Remember the attention Flashback got though? As soon as someone found out Apple would have guys patching it
 
@CharlesSprayberry I think most medium sized businesses still use XP
 
These days Windows viruses aren't even named
 
@Nick I could imagine.
 
@Techboy6601 lol is there any reason for them not to patch it ?
 
@Nick if they could then that would be great but there's way too many to find, let alone patch, on Windows
plus small to medium businesses have limited work force so I doubt that will be a big priority, especially for non-tech-savy CEO's
pumpkins
 
Sam
11:02 PM
@Techboy6601 You think i should start a bounty for my question? stackoverflow.com/questions/10866098/…
 
Hey guys. Quick question. What makes prepared statements secure. Binding the parameters or just the prepared statement itself?
 
@Sam depends, bounties are good if you need a quick answer
 
Sam
The prepared statement itself, it isnt actually turned into a sql statement, and so stops sql injection
@Techboy6601 I might leave it a day or 2 and see if anyone answers
If you find the question useful would you please upvote? Ta
 
when in doubt, mysql_real_escape_string
that's my motto for these things
 
Sam
@Techboy6601 -1 Doesnt rhyme!
 
11:05 PM
@WayneWhitty Because the DB server already knows what the statement is. Its just filling in the data.
 
@Charles
 
@Techboy6601 This is a horrible motto. (1) mysql_* shouldn't be used at all (2) numeric data types don't need to be escaped; cast them to ints or floats as appropriate
 
Thanks
 
@Sam -9001 Mottos don't have to rhyme!
 
@Techboy6601 mysql_real_escape_string isn't fool-proof either
 
Sam
11:07 PM
mottos that rhyme should be a crime
 
@CharlesSprayberry I said "when in doubt"
 
Then mysql_escape_string
Then addslashes
Then...
 
Tacos
 
Really though the answer to this question about SQL injection, also top star in chat, should provide a lot more info
 
I really hate mysqli's bind_param function
 
Sam
11:10 PM
I use PDO personally
 
got to go
bye guys
 
Sam
See you
Im getting off too, see ya guys
 
Hi guys
i'm trying to download a file with curl
but it don't donwload
it's a jpg
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL,"myftp/fr/styles/images/bgBoutLangue.jpg");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($curl, CURLOPT_FTP_USE_EPSV, 0);
curl_setopt($curl, CURLOPT_TIMEOUT, 300); // times out after 300s

// Sets up the output file
$outfile = fopen("./bgBoutLangue.jpg", 'wb');
curl_setopt($curl, CURLOPT_FILE, $outfile);

// Executes the cURL
$info = curl_exec($curl);
fclose($outfile);

// Completes the job
the file is created but it stay with 0 ko
 
11:49 PM
0
Q: WaterMark with PHP

TomirammsteinI'm working with PHP and I want to add a watermark in some photos. Something like this: [NOTE THE 9GAG.COM/GAG/4203228; like a footer] I know that the watermark can be added with the GD library, but I don't know how to add it. Any suggestions?

 

« first day (597 days earlier)      last day (4337 days later) »