« first day (978 days earlier)      last day (4196 days later) » 

20:00
It is.
...
wtb PHP devs PST

LAMP Developer

Silicon Mechanics

Builds and maintains the companies LAMP (Linux, Apache, MySQL, PHP) based system.  Provide technical leadership to…

Posted on Careers 2.0 on June 20, 2013

user1596138
@deep What's the problem? If you can generate an image, you can save it.
i need the images to save to a specific folder on my server, AND offer a download link
user1596138
18
Q: How to save a HTML5 Canvas as Image on a server

scottnlaI'm working on a generative art project where I would like to allow users to save the resulting images from an algorithm. The general idea is: *create an image on HTML5 Canvas using generative algorithm *when the image is completed, allow user to save the canvas as an image file to server *Allo...

user1596138
0
Q: Save canvas image as image file and force download - fail to open download dialog

Jason LiaoI'm trying to save canvas as a image file ,users get to determine which image format to download (png or jpg), then force download the file without storing the file on the server. This is what I got so far: JS Script: $.ajax( { type : "POST", url : "../php/download_image.php", data: { ...

user1596138
20:04
There's quite a few options. Use search first.
user1596138
Or Google. There are literally dozens of solutions.
Thank you.
listen punk! i'm all up in the JS room writing you mother effing gists to do what you want... and you come in here?! ... slut
3
SOrry Babe :P
swaps rlemon's coffee for decaf
Something cool - a map that shows mobile phone usage by brand from tweets mapbox.com/labs/twitter-gnip/brands/#6/52.355/0.154
20:14
Something to watch for -- the iPhone colors block out the Android colors. You'll want to toggle settings on and off to get a real idea of what's out there.
@Danack very cool
user1596138
@Danack There are more iPhone tweets from on the highway where I live then in town.
user1596138
Basically every main road is flooded with dots around here more-so than towns. Fucking idiots.
@charles good catch.
user1596138
user1596138
20:17
Kind of cool how it creates .png images for the dots. Then overlays them.
hmm UK has a lot of Bberry-es
user1596138
Found like 3 BB dots within 10 miles of here haha
@kaᵠ Yeah - they had really strong marketing push here with good deals on unlimited texts for a couple of years
And spain hates the iPhone?
@Danack Looks pretty cool. It's missing a way to see one layer minus another one, though. It looks like there's some trends between iPhones and Androids where I'm from, but I have a feeling it might as well just look like that because iPhones go on top of Android phones
Yeah - and even clicking the iphone on/off doesn't really allow you to compare.
20:21
Spain is really interesting, it's like they don';t have iphones there, full of Android and quite some BB
Spain has massive unemployment amongst it's young people - possibly related.
be ready to be astounded:
11
Q: How to use Sessions in Symfony?

Harish Kuruplike in classic PHP we use the magic variables to start,create session, so how to do that in Symfony.

Urge to destroy world rising.
2009 question.
20:25
delete / remove ASAP
posted on June 20, 2013 by Johannes Schlüter

Yay, finally we released PHP 5.5, which is a new big release for PHP. In preparation for this I yesterday sent out a mail to the PHP core developers stating that the "PHP-5.3 BRANCH IS CLOSED NOW". After I saw this quoted on twitter and different websites I want to make a few things clear for users of PHP: The mail is an information for core developer that all changes for 5.3 should go

@Jhawinsss while it is nifty, it does feel out of date, somehow
congrats @LeviMorrison!
a friend of mine just posted this from France
@Charles boooo. Let's celebrate with another beer because it is almost friday friday friday
20:30
okay back to the inner depths of hell, ravaging through SO questions and unicorn shit
@PeeHaa埽 Beer after more moving-house prep.
@Charles moving house?
You mean the entire house gets moved? ;)
@Gordon no Anunaky :((((
where did they put that?
@PeeHaa埽 There's a thunderbirds episode where they do that to some large building. I remember being very amazed when I saw thing on the news a few years back. I suppose the future is here.
@PeeHaa埽 Ah, yes, the key difference between $house->move() and $house->getOccupants()->move()
20:33
@kaᵠ not sure. on a camping site or something
why would anyone not allow penguins?
because they wouldn't survive it?
@Jasper I friend of mine has been in that business. It's just crazy
Anonymous
@CarrieKendall profile views 666
@Charles When are you moving out?
@Charles those are called "residents" , not "occupants"
20:35
and the 2nd one doesn't look right also... love frogs? how much love? twice ?
@Jasper you and your logical explanations. go away :P
because occupants are the people who occupy residents
@kaᵠ well, it's in france. of course they love frogs
@Gordon and snails
@Gordon sorry forgot this room is called php :P
Anonymous
20:36
@kaᵠ snails? are you for real?
@Jasper yup... Personal Help Posts
@phpNoOBఠ_ఠ yea, why not?
Anonymous
@kaᵠ Why do you mean why not? oO
Anonymous
Do you eat frogs too?
@PeeHaa埽 My wife is moving this weekend, I'm moving July 4th weekend...
@phpNoOBఠ_ఠ The french do...
20:38
@phpNoOBఠ_ఠ i ate, but not on a regular basis, they're very good
@tereško Pfft, submit a change request order.
escargot isn't as bad as it sounds.
@phpNoOBఠ_ఠ snails provencale are great
@rlemon it isn't bad at all as long as it's cooked right
@kaᵠ I wasn't so big on the texture.
20:41
Don't speak bad about french, I am watching you :D
@cheesemacfly can I at least speak bad about Quebecers? they are not really french.
And yes we do eat snails and frogs :)
hehe
Anonymous
@Gordon What could you possibly eat from a snail, enough to get a taste from it? let alone to satisfy your taste? They are just tiny, and no offense but disgusting.
@cheesemacfly have a good recipe for cooking snails?
20:42
@rlemon Aren't those your people /ducks for cover
:D
@rlemon oh yeah, the just speaking the same language but that's it!
Anonymous
Some people are weird. And, I ate a rabbit meat one day, and almost threw up after that
@kaᵠ butter + garlic and well cooked
@PeeHaa埽 i'm native american. Fuck the brits and the french. you guys suck.
@phpNoOBఠ_ఠ What's wrong with rabbit?
20:43
@phpNoOBఠ_ఠ what about from an insect? they eat them a lot in asia
whines about no land... yadda yadda yadda
@rlemon I'm neither british nor french so I agree ;)
@phpNoOBఠ_ఠ they are tasty. especially with a sauce provencale and some toasted bread.
@cheesemacfly correction: they speak a bastardized version of your language.
1
Q: What technology can be used to update a web page with updated content without refreshing the page?

MaffWe have been offered training at work for courses on what ever we want. What we are trying to achieve is the following: we have a page with stats from multiple folders/servers (we can deliver these in any format, html, txt etc). Currently it refreshes every minute with the up to date info. What w...

20:43
@phpNoOBఠ_ఠ did you try to cook it first ?
2
Anonymous
@Gordon Please stop, please.
^^ why do people think its only ajax that can achieve this
@rlemon a beta version of the french language
This really reminds of the hypocracy I've seen with Haggis. Just about everyone loved it. Until they heard what was in it...
@tereško ROFL
20:44
@cheesemacfly eh, more like the framework nobody wanted or needed. but gained in popularity until we are all forced into using it
@Baba Obviously the only correct answer to anything that communicates with a server is websockets
Everybody knows that
IFRAME HACKS!
@Jasper I didn't love it... But yes, I know that feeling
@rlemon IFRAME SUX!
@PeeHaa埽 :)
20:45
dude, Iframes are the future.
websockets are so last year
@Baba why do people think that jquery is only way to do it ?
@rlemon where you forced to learn some french when you were young by any chance? :D
@tereško that is the first thing you see when you google :)
@kaᵠ IFRAME ALL THE THINGS!!!
20:47
@cheesemacfly in Canada it's mandatory to take french in school from grade 1 until grade 9
all signs and print must be in english and french.
pushState is also cool :)
@rlemon No, in Quebec
@ircmaxell Personally I don't, I was one of the few people present who didn't let the knowledge of what was in it influence my opinion
oh boy, how unlucky you are ;)
Anonymous
@tereško Yes! obviously. It was offered to us, by some people though. @PeeHaa埽 We're not used to it. That's all. Every animal, except for a beef, goat, sheep, and chicken is generally taboo.
20:47
@PeeHaa埽 Don't you understand the question?
EXCEPT in Quebec. Those guys are so arrogant they don't enforce english
@rlemon XML islands FTW!!
@ircmaxell F@CK IFRAMES, GO WITH PLAIN FRAMES
Anonymous
horse meat === taboo
@Baba cool, until you need to support Safari
20:48
@phpNoOBఠ_ఠ If it had lived at some point I'm willing to eat it :P
@ircmaxell are you disagreeing that it is mandatory in all of Canada?
@ircmaxell i think the latest version is supported .... one moment
@TimWolla lol
isn't it?
20:48
@phpNoOBఠ_ఠ what about deer or boar?
@Baba it's "supported"
@ircmaxell it is mandatory everywhere
source: I am a canadian and don't live in Quebec
sigh
fair enough
20:48
@phpNoOBఠ_ఠ we europeans have been eating horse meat the last few years. just no one told us :P
@Baba it's not standards compliant... They recursively run the url through urldecode
hence the "have fun"
@ircmaxell github is using it more than ajax
@Gordon and you still probably are
afaik the grades may change, but that is just differences in school boards from province to province. Canada as a whole has french as an official second language and we force our kids to learn it. In Quebec however they are not forced to read / write in english
I'm not even sure all schools there teach it
@cheesemacfly i actually don't mind. it's tasty. I just want it properly declared
20:50
@Gordon horse meat is ok, just that the horse is such a delicate animal nobody would want to know/kill
@kaᵠ i'd agree if it was unicorn.
on the other side, pigs are fugy so.. no problem in killing and eating those
@Baba I'm not saying you can't use it
horse is tastey
I am saying it's a pita to deal with
20:51
one of the guys at my work eats it all the time
@PeeHaa埽 i prefer not to eat other mammal predators
I tried some from his sandwhich. was good.
@ircmaxell oh yeah, pita is tasty, too
Anonymous
@tereško No deers! @Gordon Some Eritreans who actually come here, ate a horse meet thinking it was beef, and after they find out... Trust me, you don't want to be there!! :)
deer meat is also good (smoked)
20:51
actually deer is really good
duck is probably the only meat I don't care for
it's like a "duck of the mammals"
@phpNoOBఠ_ఠ oh, btw. today is world refugee day. not sure if its appropriate but I guess Happy World Refugee Day. Everyone deserve ahappy day, right?
darker and spicier
sheep/duck/rabbit must be cooked right also
20:52
smoked deer meat is my favorite way to eat it
@kaᵠ yea i've only ever had really greasy bland duck
sheep and rabbit I enjoy
Snake is a strange meat. Very rubbery, almost like Calamari
sheep pastramy is awesome
Anonymous
@Gordon Never knew that it was today. thanks though :)
@rlemon hmm.. always wanted to eat snake
the best I get locally is a nice schinkenspeck, which isn't really strange by most standards.
@rlemon i had moray eel once. cant remember how it tasted though. only that it wasn't bad.
20:54
@rlemon smoked squid is an awesome beer-snack
@kaᵠ had it in a fondu
@Gordon I had pickled eel... wasn't a fan.. pickled meats are strange.
@rlemon Ah, a German :)
@PeeHaa埽 BOSH is also a valid way to communicate with server
@TimWolla was engaged to a polish chick (introduced me to it by another name) and am now dating a German.
I am Native American (Canadian Indians)
@rlemon: which part of Canada?
20:55
@rlemon that really good one too , but seasonal
Ontario
lots of family in BC
@tereško yea I wasn't so much a fan. I like things pickled... just not eel.
@rlemon Interesting that you have "Schinkenspeck" over there.
@Jasper hehehehe
20:56
@Baba By the looks of it it needs multiple requests?
@TimWolla you have to get it from a Euro Food supermarket
it's not easy to find
@PeeHaa埽 Its the basic concept behind long pooling .. used a lot
I love long pools.
Do you know "Schnitzel" or "Bratwurst"?
so much nicer to swim in than short ones.
20:57
Do we get to have setLocalStorage in PHP ?
@rlemon and then there are wild mushrooms .. another seasonal thing (late summers, early autumns) ... but that might be just a latvian thing. I have heard that in other countries people are quite scared of wild mushrooms.
@TimWolla yea, I have a stick of liverworst waiting for me at home and some chicken schnitzel for dinner tonight ;)
GET OUT OF MY HEAD!
Anonymous
@TimWolla Did you say Snitzel? Fo shizzle ma nizzle !
and in Ontario (Kitchener-Waterloo) specifically we have the largest Oktoberfest outside of Germany in the world.
We have a VERY strong german culture here.
@tereško there are few I will risk (because I know they are safe) but I do enjoy the odd puffball or shaggy mane
@rlemon try some mushroom schnitzel also, really tasty
20:59
Nice that you know good German food
Kitchener-Waterloo Oktoberfest is an annual nine-day festival in the twin cities of Kitchener-Waterloo, Ontario, Canada. Based on the original German Oktoberfest, it is billed as Canada's Greatest Bavarian Festival, and is the second-largest Oktoberfest in the world. It is held every October, starting on the Friday before Canadian Thanksgiving and running until the Saturday after and attracts an estimated 750,000-1,000,000 visitors every year. While its best-known draws are the beer-based celebrations, other cultural and entertainment attractions also fill the week. The most well-known i...
also, Kitchener used to be called "Berlin"
WW2 we decided it might not be a good idea to be named after our enemies.
i know ~8 edible mushrooms that grow in forests. And I am quite uninformed.
also , none of them are puffballs
yea, I don't risk it unless I know. so there are two maybe three I will eat
two of which are puffballs
there is one more that is a real mushroom I just can't remember the name
it's brown, looks like a shaggy mane but is stubbier
grows under pine trees and such
hint: it's a latin name
HAPPY FRIDAY PEOPLE !!!!
@rlemon these ones ones will soon come into season
omg , i thought this it was thursday
While goin' the road to sweet Athy, hurroo, hurroo
@Baba I like answers with nice images.
Especially if they are hand drawn
@tereško timezones and all that
anyways.
21:03
@TimWolla he took his time ..,, +1
5pm (EST), on my thursday :(
l8tr g8trs
(who are we kidding I have no life and will be online when I get home)
1 hour til midnight it is
Not 5pm :P
Ye haven't an arm, ye haven't a leg, hurroo, hurroo
Ye haven't an arm, ye haven't a leg, hurroo, hurroo
Ye haven't an arm, ye haven't a leg
Ye're an armless, boneless, chickenless egg
Ye'll have to be put with a bowl out to beg
Oh Johnny I hardly knew ye.
0
Q: What is the difference between a generator and an array?

David RodriguesToday the PHP team released the PHP 5.5.0 version, which includes support for generators. Reading the documentation, I noticed that it does exactly what it could do with an array. PHP team generator example: // Only PHP 5.5 function gen_one_to_three() { for ($i = 1; $i <= 3; $i++) { ...

So the first PHP 5.5 questions
Boletus edulis, commonly known as penny bun, porcino or cep, is a basidiomycete fungus, and the type species of the genus Boletus. Widely distributed in the Northern Hemisphere across Europe, Asia, and North America, it does not occur naturally in the Southern Hemisphere, although it has been introduced to southern Africa, Australia and New Zealand. Several closely related European mushrooms formerly thought to be varieties or forms of B. edulis have been shown using molecular phylogenetic analysis to be distinct species, and others previously classed as separate species are with...
yield was added in php 5.5?
I love it, 3 answers, and mine is longer than all 3 and the only one with code
:-D
21:13
oh I didn't even notice
@ircmaxell Nice copy from the manual :)
hello guys, Idk why my query is not working when I add the estado=' ' AND

$query = pg_query("SELECT cedula, nombres, apellidos
FROM tablasmaestras.maestra
WHERE estado=' ' AND
CAST(cedula AS TEXT)
LIKE '%$search_term%'
ORDER BY cedula DESC LIMIT 10");

it was working fine until I added it. Whats wrong here?
@tereško I see, thx
I still don't see what is called generator
21:17
@TimWolla I wrote that all out by hand
@phpNoOBఠ_ఠ thx
@Granola You failed to define "is not working."
@TimWolla and I resent the implication that I would copy from the manual
stackoverflow.com/a/17223873/782822 5k+ rep, and a link only answer
@ircmaxell I think the min/max stuff is unnecessary
21:19
@ircmaxell I meant the example, sorry for being unclear
@NikiC prob is, but I chose to be defensive
@ircmaxell range(10, 1) should either give the range 10,9,..,2,1 or should just error (or for the purpose of an example, not be handled at all)
@ircmaxell Defensive is throwing an exception ;)
@TimWolla Ahh, in the question :-D
@NikiC sure, whatever... :-P
@ircmaxell Nope, in your answer. The xrange-example is used in the manual as well: uk3.php.net/manual/en/language.generators.overview.php
Though obviously different from your one
@TimWolla ;-)
21:21
@Charles sorry I got dced. Idk why is not working in my page but when I run it in the query tool in postgres in run fines
it's just x-range is a useful example because it's something most devs have worked iwth
runs just fine
@Granola Saying that it's "not working" is like going to the doctor and saying "it hurts." You need to tell us what the expected behavior is and what the actual behavior is.
3
@NikiC removed
@Charles let me see how I explain it to you.. I just thought there might me some syntax problem
21:22
@ircmaxell :)
and no rep for any of this
GDI, I hate compiling sometimes
> configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
21:42
@ircmaxell well, password_hash is finally officially in the wild, and @NikiC may many SO questions about generator and coroutine confusion find their way to you
@Leigh Lucky for me that I don't have to answer any of them
Why OSX sucks: High CPU loa, wired is more reliable. Low CPU load, wireless is more relaiable
And my favourite PHP 5.5 addition. password_hash() - password hashing demystified for mortals - http://www.php.net/manual/en/function.password-hash.php #php
Oh wow, cause to feel smug much
@ircmaxell Now we only have to wait until it is widely adopted
21:50
[blog] PHP 5.5 is out, what's up with 5.4 and 5.3?: http://bit.ly/1483eBR
/me makes no comment
I already made the obligatory post on the work google+ - Your minimum supported version is now officially dead. Wake up people.
@ircmaxell wait, everyone knows Rasmus is a troll. If he likes your lib, it must suck :P
CRAP
> I find it hard to believe this feature made it into 5.5.0 without a shred of documentation.
@ircmaxell Should point whoever said that at the new GD functions. It'll break their tiny little brains.
21:55
@Charles it's wasn't about GD
@ircmaxell Yeah, but I guarantee you that the lack of docs in the new GD functions is going to be worse than whatever they're complaining about.
Just so we're clear, you know that a burner laptop refers to the fact that the laptop is physically burned after the operation, and not how your packets are routed...right? — DKNUCKLES 3 hours ago
@Gordon sigh
^ Exactly 00:00 !
uuu yee yee
22:01
@Gordon php-5.5 tag is okay to use, right?
21
A: How to use version specific tags?

Jeff AtwoodIn general, you should strongly avoid creating version tags. I would only use version tags when the question content is irrevocably tied to a specific version of something and can never be relevant to earlier versions or later versions. In other words, it is perfectly sufficient to tag your que...

@Gordon you tricked me!
@Gordon ja;dr
@igorw but you love it!
@Gordon social engineering at it's finest :))
22:05
clearly
@Gordon came for the free burritos, stayed for the amazing music.
@igorw that's the spirit :)
@Charles they are complaining about no docs on the opcode cache. Like none. At all
@ircmaxell I don't know how (or have an account to) but most of github.com/zendtech/ZendOptimizerPlus just needs copying across.
We get points?
alright, later all
@ircmaxell I have to say, I don't know zeev, I only have an opinion based on what I've read on the list since he decided to be a proponent of "opcache" in 5.5, but I have to say, no documentation fully compliments the opinion I formed :/
@ircmaxell Classy!
22:57
With APC being dead-ish, what's the replacement for APCs upload progress feature? Does APCu support it? I can't see it in it's documentation.
@Danack Who's the replacement for Michael Jackson?
Bieber?
Sometimes a flashy thing a bunch of people like goes away, doesn't always mean there's something to replace it.
k, thanks.
nicely put @Leigh
23:03
direct all complaints to Westons breweries!
didn't get that
@Danack Ahhhh yeaaa :)
Just for you @Bracketworks A young Bieber youtube.com/watch?v=jpl1FVGyE2c
dat hair
@Danack Why the fuck am I watching this?
'cos you're a secret belieber ?
23:07
Shit, my secrets out
Ah dammit; and I got firday-rolled
lol, +1 for @Gordon another victim
Seriously though; that Lego movie is going to be awesome.
I just wish they hadn't announced it so early.
I forgot to read the date - when's it out?
pff, 2014
> The LEGO Movie (2014) in cinemas April 3
I doubt if that date changes that it'll be earlier :-(
may be april 1
23:13
Yea, of 2015
23:33
@ircmaxell hahaha
That clip of the song in the video is as much as I've heard of that song
And it was too much
I just assume that starting on Thursday afternoon any link Gordon posts is not a link I want to click on

« first day (978 days earlier)      last day (4196 days later) »