« first day (1346 days earlier)      last day (3618 days later) » 

9:00 PM
 
pffff who is this "T. Berners-Lee" guy and what does he know :P
 
That's generic URI syntax, there is a more restrictive set for HTTP, trying to find it
 
OK. So how would you match IP's with "closed" status and connection port 5001? Dumb regex attempt
Can't really think atm. :/
 
@AmalMurali hackerrrr
 
query is not allowed unless abs_path is present
 
9:02 PM
lol. The third block doesn't have a "closed", so it matches until the end of the string.
 
although it's open to interpretation I guess
 
@HamZa Disclaimer: this was posted as a question under the comments of one my recent answers :p
 
when I read that first time round I interpreted it as path must be non-empty if qury is present, now I'm not so certain
@AmalMurali jsfiddle.net/zp6QH/1 with jQ
 
@AmalMurali You could do something as simple as checking if there is no double newline
 
@HamZa: How? Using something like ((?!\n\n).)*?
 
9:04 PM
@AmalMurali exacta
 
WHEE
 
Ah so ugly... Just use \R\R instead of \R{2} :P
 
:p
\R is cool. Is it supported everywhere?
 
@AmalMurali perl/pcre AFAIK
Ah SO is down when I need my regex reference :P
 
google cache FTW! Here!
 
9:08 PM
In my gist I wrote php, I wonder...
 
@DaveRandom it says
"If the abs_path is not present in the URL, it MUST be given as "/" when used as a Request-URI for a resource"
Later on in section 5.1.2 it says
"Note that the absolute path cannot be empty; if none is present in the original URI, it MUST be given as "/" (the server root)."
 
Why does SE even has a failover location? I fix shit faster then that they are failing over...
 
What? They now have a different error message...
Earlier it was "Read-only mode". Now it is "301. Temporarily not available".
Fix yer shit, SE.
 
@PeeHaa btw what did you think about that app?
 
@DaveRandom Thanks!
Anyway, it's pretty late here (2:40 AM) so I'm gonna go sleep. Laters!
 
9:11 PM
@AmalMurali sleepsta
 
@HamZa Ow crap. I totally forgot to install it :P Let me find where I downloaded it
 
@PeeHaa hehe and I thought "PeeHaa found it so horrible that he didn't give feedback" :P
 
@Pitchinnate That's talking about the request line in an actual request though
GET HTTP/1.1 is not valid
I'm less certain about my earlier assertion now I've re-read it though, I admit
 
@DaveRandom oh gotcha
 
foo
yay
 
9:22 PM
main site is still down?
 
9:38 PM
 
hahahahahahahhaha
 
bubaj.com - web design firm
from my country
 
@Fabien nice reminder, I almost forgot it.
 
9:54 PM
SO is back
 
Hi
Is is really bad to upload and store and image, and apply a watermark in the process of uploading (the massive pixel sized image)?
@NikolaR. Bad design :D Also 400+ backlinks? What...?
 
@RahulKhosla Stuff like processing images really ought to be done in a background task, so that the actual web request is quick. supervisord.org is good for running background tasks.
 
@Danack Is this something thirdparty? Im already doing all the requests before the user can see it. Only after is it shown to the visitor.
@Danack My only concern is filesize and possibly CPU.
 
I'm not sure that I understand any of those sentences.
 
10:09 PM
@Danack 1) I upload the image, and the script adds the watermark, the image is fully uploaded and now has the watermark on it. 2) The visitor can see the image post-uploaded.
What I am asking is; is it bad for a visitor to view such a big file?
 
@RahulKhosla just add watermark on one-time image upload
 
@NikolaR. Thats what i have done, but I am using the 2000*2000px* or w/e image for a thumbnail as well, specifying the width at 200px; to display.
 
@RahulKhosla dont do that because if I inspect the img element and click on image source, I will have access to 2000x2000 image
instead, create thumbnail images in the process of image upload
once image is uploaded, create thumbnail image from it and store it with different name
 
@NikolaR. But I also want to display a clear image on my product page.
 
then create 2 more sizes out of original image
 
10:13 PM
So I am just using the same thumb/uploaded image for evertthing.
Oh ok
 
filename-original, filename-thumbnail, filename-preview
 
Why would I need the original then?
It's just a watermarked large version.
 
original is the one user is downloading
 
But it would be watermarked.
 
Oi.
 
10:21 PM
?
 
I'm setting up a new VM to work on php-src, general recommendations?
 
No idea, I have a server with debian 6.
 
/cc @ircmaxell @rdlowrey @bwoebi
 
@DanLugg For PHP-src? Use any common Posix OS.
 
10:24 PM
@LeviMorrison Not only common but non-crippled.
:D
 
lol
 
@DanLugg All the cool people use RHEL derivatives
 
^ fact?
 
Well I'm cool, so my sample of 1 makes it fact
 
lol
CentOS?
 
10:25 PM
If you increase the sample size, who knows
 
I think most PHP installations I see are on some Debian OS.
Debian itself or Ubuntu.
 
Upoontu? Meh.
 
I wonder how much longer Ubuntu will even be Debian based.
They're already getting kinda far apart.
 
@DanLugg For servers, yes. For the sake of consistency with my servers when I run a VM, also yes. But I have no problem with fedora
 
I haven't followed, are they diverging?
 
10:27 PM
Really sucks to get out of the shower to only continue sweating. Scum-bag body.
 
I was gonna just go another Win 7, but I've only got VS2010 at the moment. I could get the express, but eh... Also, Cygwin, but never had success with it.
 
@DanLugg most unix derivates are fine. even os x is.
 
Have any of you had success with Windoze + Cygwin?
 
@DanLugg works fine in 2013 expr, I have a build on this laptop I made with this exact setup, but don't develop on win, develop on something not shit and test on win
The win build env is a huge pita to set up
 
@DanLugg Windows? That's nothing with unix. Go away. Hell is a nice place for that I've heard.
 
10:31 PM
@DanLugg There are just enough differences in packaging now that if you aren't careful a .deb won't work on Ubuntu or Debian
 
a good thing about using rhel specifically with PHP is you can outsource your problems to remi (although I haven't actually needed to do that yet)
 
@bwoebi lawl, funny guy.
@DaveRandom Yea, that's what I was thinking (though, was going to dev because lazy)
 
<samsim> I heard about this guy who broke into a lion's den at the zoo
<samsim> and got mauled
<samsim> and people were talking about how there should have been better defences put up to prevent people getting into the cage
<samsim> a friend of mine suggested setting up some kind of deterrent
<samsim> for example, putting some sort of fierce animal in the cage, which would attack anybody who climbed in
3
 
@DanLugg uh, that was pretty serious
 
@bwoebi I know.
 
10:34 PM
@DanLugg believe me, that is the opposite of the lazy option. each new extension to decide to add to your build will cost you half a day
 
@DanLugg stick with your distro of choice. Give it at least 2 processors, and 1 GB ram, and at least 12 gb HDD
 
@ircmaxell I don't run in parallel, so it'll be 4, 4 and probably 50.
 
Uh, if you are compiling code I suggest more than 2 processors.
^^
 
I said at least
if you only have 4 logical cores, there's no reason to give the VM all of them (since native performance will start to suffer
 
@LeviMorrison Yea, I reckoned. I've got 6 to dole out.
 
10:35 PM
Code compiling is one of the few times that having a beefy machine comes in handy as a dev.
 
I typically do 1/2 logical cores for compiling
 
@ircmaxell I just use nice and give it all of them.
 
yeah, that's fair
On my desktop at home, I have my VM using 6 cores and 16GB of ram, leaving 2 cores and the other 16GB ram for the rest of the machine
 
@ircmaxell What model CPU do you have?
(I'm guessing AMD FX, cause it's probably not Xeon)
 
You mean Xeon?
 
10:37 PM
^^ Yes. I enjoy the letter "n".
 
I just enjoy inert gases
<insert fart joke here>
 
No, Sandy-Bridge-E 4xcore
 
4x? 6+2?
 
when I built it, there was no -E version of Ivy Bridge. So it was either: go with a slightly odler processor (1/2 the cores), or have more RAM. I chose more RAM :-)
@DanLugg 4 core. With hyper-threading, so 8 logical cores
 
hmmmm
 
10:41 PM
Really? I didn't know that's how HT worked...
 
I can't remember what I have. i7 somethings. 4 cores, 8 logical cores.
 
wondering if I could snack half of my new gaming rig for virtualization with xen
 
No idea what i'm gonna do :D
 
and still run windowns on it...
got 12 logical cores there <_<
 
I have AMD Phenom
6 cores
Been meaning to build a new rig.
I'm flip-flopping on AMD FX and an i7; leaning more and more toward i7 because it's just more powerful (from what I understand)
 
10:42 PM
What do you intend to use it for?
 
@DanLugg it lets one physical core execute 2 threads at the same time (kind-of). It's really a trick, but most applications see it as 2x. Math heavy will see it as 1x
 
@ircmaxell An okay.
 
If you are doing heavy floating point stuff don't use AMD
 
@LeviMorrison Unfortunately a slew of things; essentially everything minus gaming.
 
Man I love a fresh rig. Gets me excited thinking about it. Of course I tailor mine for gaming too.
 
10:43 PM
AMD is skimpy on the floating point units :/
 
Suggestion: pick a CPU, and then go nuts on the RAM. Sacrafice some CPU for more RAM
 
And get fast RAM.
And fast HDD/SSD
 
and make sure the chipset for the CPU can do large ram
 
^^ Yes. This I do know.
 
Faster ram usually sacrifices CAS :\
 
10:44 PM
@LeviMorrison SSD boot, and RAID-0 data drive :-)
 
@LeviMorrison s/HDD/SSD/
^^ Yea.
 
And a Titan Z graphics card.
 
I didn't have a choice. When I got mine, Microcenter only stocked one 32gb kit...
 
Then send it to me.
 
oh, and suggestion: don't use windows. My gaming rig is a monster, yet it's slower than my old laptop when booting :P
 
10:44 PM
When doing performance optimization you need to optimize for your two biggest bottlenecks; in modern computing it's rarely CPU ^^
Excluding network which people rarely can control, that means storage, both RAM and disc.
 
@Ocramius Meh, I find Windows boots fine off SSD
 
@Ocramius Windows works fine for my desktop
 
A mere £10k
 
^^ Lol, scorpion
 
in fact, my Ubuntu VM inside of Windows is faster than my macbook is native...
 
10:46 PM
Any of these would suffice.
 
"works fine" and "works fast" are different concepts
 
I've had 0 issues with it (Windows 7)
 
^^ Same.
 
yeah, but 1 minute boot time is
 
1 minute?
 
10:47 PM
yah
 
my desktop boots from cold to login prompt in about 7 seconds
and to desktop from login prompt in 1 to 2 seconds
 
Oh, @DanLugg, rather than dumping money into a machine you should probably look at upgrading screens and chairs :D
 
@ircmaxell that for me as well, but boot is still 1 min :\
 
@ircmaxell Mine takes at least 3 seconds at grub because I make it play a Mario ditty :D
 
@LeviMorrison I do need a better chair; but I've got 3 1920x1080s
21"? I think
 
10:48 PM
maybe load of weird drivers, may as well be because of ASUS :P
 
@DanLugg Ugh, no man you are selling yourself short.
 
@LeviMorrison Paaaardon?
 
1080p is small
 
Do tell, what is it you have? Do you express your resolution as a magnitude?
 
1080p is fine tbf. It's the lowest I would go but it's not bad.
 
10:49 PM
I have two 2560x1600 screens and two 2560x1440 screens (not used at same time; different stations)
 
Price wise it is sensible too.
 
The 1440p's are 27" and were much cheaper.
I don't miss the 160px very much.
 
5760x1080 is okay in my books, though, I would go with 5760x2160
 
But whenever I go home and work on my 23" 1080p screen I'm always constrained.
 
You're spoilt by your work resolution :p
I got 3*1080 @ 24". Anything bigger wouldn't fit on my desk.
Unless I go upwards.
 
10:51 PM
My 2 screens are technically smaller.
But that's a good thing.
A much higher pixel density.
 
@Fabien That's where I'm going!
I need a mount + 3 more screens.
 
Sure you've got 2x 1080p but spread out over 3x24"
 
+ another video card.
 
@DanLugg Single mount it totally worth it. I have one.
 
I have a big desk that I want to trash; I'd like a 6 screen wall overhanging.
 
10:52 PM
@DanLugg But yeah. Upgrade your chair.
At least you have dual monitors.
 
@LeviMorrison s/dual/tri/
And yea, I do need a new chair.
I mean, the one I have is fine, but it's not as comfortable anymore.
 
I meant it in the sense that people who don't have dual or more are suffering productivity loss.
Especially in our field.
 
^^ Very true.
 
Bucket seat racing office chairs are awesome.
 
You spend a lot of time sitting; it should be a good chair.
 
10:54 PM
I need a whole new office, I think
 
I've got a spare 1440x960 (or something) and an industrial touch screen (which I think is in the neighbourhood of 1280x768)
I wanna mount the touch near my door and do some home automation fun.
 
Arduino incoming :)
 
^^^^^
 
Get a Oculus Rift while you're at it
 
10:57 PM
@Fabien Aren't they working on a v3? As in, close to releasing?
 
Release won't be till 2015
 
Oh, well.
 
it is worth waiting for though. Bigger res. Or potential competitors.
I think we're getting one at work. Don't know why.
 
Bigger res and lower prices because competitors.
@Fabien Well if you dont' need it, I'll give you my postal. About 3 weeks?
:-P
 
lol. Need and want are very different things :P
 
11:01 PM
@DaveRandom I went Fedora
I'm debating LXDE over Gnome because VM.
 
I spend most of my time in a terminal so I don't really care.
XFCE, Gnome, KDE... whatever.
 
<3 terminal. I'd get a terminal tattoo if it wasn't a dumb idea.
 
Meh, I'm already getting Gnome bundled. Eff it.
 
"Our application is built on node.js, but don't worry, the one part we're having problems with is in JavaScript".
 
lol
 
11:09 PM
hi, any wordpress developers here?
 
@JacobRaccuia @PeeHaa is one
he wrote this plugin
 
lol
 
heh that's a surprisingly useful plugin
 
Might be @RonniSkansing's though
 
@ircmaxell Ummm... ref?
@DanLugg You really don't even need a desktop for this
 
11:18 PM
@DaveRandom I know, but I like one regardless.
 
@DaveRandom no ref provided
 
Then where did the quote come from?
Was there a tiny avatar that's no longer here?
 
@ircmaxell it's not from peehaa.
 
oh, nevermind then :-)
 
@JacobRaccuia core.trac.wordpress.org/search?q=hakre - but it's some time ago
 
11:20 PM
@DaveRandom I can't say. I know, but I can't say. If that gives you a hint
 
@hakre 1500 pages of tickets and change requests? sheesh!
 
1500 results
not pages
 
154 pages
still incredible
 
E_TOO_MUCH_THE_LOOP
5
gn8 @all
 
nn
 
11:41 PM
@ircmaxell No, but I do enjoy a mystery...
(I don't really, it's actually killing me :-P)
That said, 24 is also killing me
 
11:54 PM
Amazon's live chat help nails it. http://t.co/mq90GKmaV8
 

« first day (1346 days earlier)      last day (3618 days later) »