« first day (1679 days earlier)      last day (3269 days later) » 

5:00 PM
@Trowski take a look at levi morrison's ardent / spl replacement on github
 
Ahh!
 
@Worf Aww... no heaps...
 
You can obtain PHP opcodes from userland with parsekit
 
i've used it for a small project, it's not perfect but not as confusing as spl
 
5:04 PM
Oh, duh. Thank you :P
Wait... what... I thought you were showing me the AvlTree, now I'm not sure, lol
 
@Trowski Because SPL was basically written by a drunk remedial student (based on reading the code)
 
Apr 25 at 6:41, by Sara
@Danack I've got this visual of Marcus doing mushrooms and repeatedly muttering iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator iterator in the corner.
2
 
@Trowski BinarySearchTree should be what you are looking for
 
user895378
@Trowski where are you located geographically (just curious)?
 
hlo guys....:)
 
5:15 PM
o/
 
could u guys help me out to solve my htaccess problem ??
 
Sure. Use nginx.
:-P
 
user895378
^^
 
Seriously though, if you throw a question out then anyone who can answer it sensibly will
Actually, probably people who can't answer it sensibly will anyway.
 
Actually the things is... url which i rewrite through htaccess search for a file in subdirectory instead from public_html
 
5:18 PM
You want it to do that, or it does do that and you want it to go from root?
Hint: leading / is the difference
 
yeah... i want to search it from root directory.
i asked this question today... but i didn't get a answer yet...
 
Then use a leading / and make sure you don't have any RewriteBase directives, because they just make life difficult
 
1
Q: url search for file in subdirectory instead from public_html using htaccess

JasonI am working on a website in which I write code for htaccess but the thing which I wanted to do is not happening. I have url which is: http://www.example.com/demo.php?id=234&title=ask%20me%20a%20question I converted to below url using htaccess: http://www.example.com/234/ask%20me%a%question ...

can u suggest me ??
 
/demo.php...
like I say, leading /
 
u mean... i had to remove leading slashes ??
 
5:22 PM
Consider the difference between cat foo.php and cat /foo.php in the shell. Same principle.
If I request /foo/bar and you rewrite it to example.php?path=$0, it would get rewritten to /foo/example.php?path=/foo/bar. If you rewrite it to /example.php?path=$0 it would result in /example.php?path=/foo/bar
 
@Danack "// expected to do jQuery" means expected to do magical things that solve my problem in a black-box way that I don't understand.
 
@DaveRandom lemme try your suggestion..:)
 
@Danack do you hate too when phpstorm adds, say, \Exception inline in the code rather than adding use Exception; in the imports?
 
Mar 5 at 1:53, by DaveRandom
https://soundcloud.com/ficklefriends/for-you <-- euro-house remix plz @PeeHaa
@PeeHaa ^
* drums fingers on desk *
 
@Worf No, I prefer to use the leading slash for stuff in the global namespace.
 
5:29 PM
@Danack Yeh, plus it starts using the import in docblocks if you import it, which screws with reflection-based things
 
@Worf I also prefer global namespaces to just use the slash. Lots of use statements bug me... although phpstorm does fold those so I guess it doesn't matter.
 
why that? if you want to change it you will edit a single line rather than several
 
@Worf You're already using PHP Storm, you'd just use the refactoring tools...
 
That's the first piece of software I've paid for in a long time, at least a decade.
 
^
/me goes home
 
5:33 PM
@DaveRandom there is no such refactoring tool :P
not for a "hardcoded" \fqn
you have to replace manually for that
 
Or search & replace in path
 
yeah
 
Although that's usually scary... I've screwed myself with that, being too hasty
 
also the slash is ugly, unless it wears a top hat
 
user895378
@DaveRandom Have a nice weekend
 
5:35 PM
@DaveRandom Yeah, 3 day weekend right?
 
@Worf Wow, they really didn't like that proposal.
 
I took a vacation day today, 4 days off. Ahhh. I will do nothing today.
 
@Trowski :(
 
@rdlowrey Central Minnesota.
 
user895378
oh wow, the great white north
 
user895378
5:36 PM
T-Wolves got the first pick in the NBA draft though :)
 
Winter can a lot of fun if you like snowboarding and snowmobiling :)
I wouldn't know, don't really follow sports...
 
user895378
Yeah I'm a pansy ... I need warm weather ... lived near a beach for most of my life
 
I love snow and winter, aside from driving in it.
 
@Mike Agreed. Which is why I'm glad I spend much of my time working from home.
 
Hey, quick question while I'm here - I once, in a rush, wrote a fairly small JSON API using CodeIgniter, because I happened to be using it for something else at the time. Any particular frameworks that might be better or more geared towards that kind of use, without being overkill?
@Trowski I really miss working from home, did that for several years. I'm a cubefarm dweller now. :(
 
5:39 PM
@Mike I'm from Michigan, same. Fall and Winter are my favorite seasons. Summer... meh. Sweating is not my thing.
 
user895378
lol ... just what I don't need ... more reasons not to leave the house (crazy snow pack)
 
@ChrisBaker Exactly the same here, hate hot weather. Also Michigan (Detroit area).
 
Ah, I'm from Grand Rapids area
Well met, all hail Vernors
 
@ChrisBaker Nice, haven't been out there. Almost did for Grrcon, but that's a little bit of a drive when work wasn't paying for it. :\
 
user895378
I've got a sister in Indianapolis. I try to avoid visiting as much as possible ;)
 
5:40 PM
@ChrisBaker <3 Vernors.
 
user895378
It's all up there in that same general area of coldness as far as I'm concerned
 
pretty much.
 
Afternoon all - can someone explain why this returns "1953" as result, but i expected it to be "2315" echo (date("Hi",strtotime("+15 minutes","2300")))
 
@ChrisBaker probably gets more lake-effect weather, though.
 
@DMSJax Try "23:00" as the value.
 
5:42 PM
I think Minnesota is a lot more of what you probably classically think of as "up north" , it is a lot more rugged up there. Roughly same snow levels, but Michigan is relatively flat so it isn't "snow pack" per se. More like "shitty roads" and snow-covered corn fields.
 
@cahrles 'non well formed value error'
 
That second argument is the time to use, in epoch, if not the current time.
 
@ChrisBaker ok... I have to feed this result into a variable, the initial value "2300" comes from a long SQL table where the column headers are 24hr format time in 15 minute incriments. THe column headers in the table do not have the : character
so how best to convert a 4 digit number thats equivalent to 24hr time without the ; seperator into a time + 15 minutes
sorry : seperator
 
So 2300 as an argument is 12:38:33am. +15 minutes would be 12:53:33am. "Hi" is 2-digit military time + 2 digit minutes, so for your local time that's 1953.
@DMSJax Something like date('Hi', strtotime(date('m/d/Y').' '.$timeFromDatabase.' + 15 minutes'));
You might have to put a : in there for strtotime to make sense of it
Or, and probably better, you could use the Date object
That has a createFromFormat method, so you can feed it any goofy thing you want, you just have to tell it how to make sense of it.
 
@ChrisBaker Thanks, that does work now. I gues since it uses epoch im required to feed A DATE to it as part of the variable? i.e. the date('/d/y')
 
5:54 PM
strototime takes a string and tries to make sense of it. A string of "2300" doesn't look anything like anything by itself. If you put the current day on there (date('m/d/Y')), then add 2300.... now we're looking like a timestamp.
 
Great, my error and your explanation makes simple sense. THanks again
 
@Trowski Just checking - obviously it's your RFC and you can do what you like - are you going to use that suggested change?
 
@Danack Yes, I had pasted it in but neglected to hit save. Updated now.
 
Cool.
 
6:19 PM
@Danack Hmm... I wonder if 2/3 or 50%+1 would be required for my RFC. It's not actually changing any language syntax, but it does change what is throwable to an interface rather than a concrete class.
 
@Trowski I think, possibly, putting 2/3 is safest. It would be up to the release managers to figure out what to do if no competing proposal gets passed, as we do need to tidy the stuff up.
 
@Trowski 50%+1 is fully enough. We're neither doing a BC break (the system is anyway PHP 7 only), nor language change. If too many people behave ignorantly from internals, it might not pass. I think it's safest to do 50%+1…
 
6:35 PM
And if it doesn't pass at 50%+1 and another RFC comes along promoted by someone inside Zend, it would be incredibly likely to pass, even if the community as a whole voted against it......
 
@Danack Sorry. But that's bullshit.
 
In which way?
 
That a random RFC would be likely to pass because it's from Zend
 
They don't vote in lockstep, but there's been very little splitting of votes from people who work for zend. That does give any rfc coming from them a decent advantage over other RFCs.
 
Have you tallied up their votes, or are just throwing that out?
 
6:49 PM
@Danack If you don't mind I'm going to post the content of the gist you wrote on the PR.
 
want to see something pretty and completely unrelated to PHP? no?
 
Mogoring!
 
@salathe Throwing it out there. But I don't think that it would be unreasonable for them to do that....people are going to be able to explain why their RFC is a good thing to people to they talk to all day, much more people can on the internals email list. People who work together are also far more likely to have experienced the same set of problems, and so have similar ideas of what is important or not.
 
@Danack Right, I don't think you meant it was malicious, just that as a group that works together they tend to share ideas of what PHP should be.
 
7:12 PM
tbh the same allegation could be made more easily against the people who vote in this room....and we're not evil right?
 
Some of us aren't no :)
 
@Danack I'm new here, so I haven't decided yet :P
 
@Andrea that's vim! That's not pretty! (j/k)
 
I'm pretty sure that I am evil. :)
 
@Danack yeah… just always vote the what Nikita and Anthony vote… heh? ;-D
 
7:27 PM
lol ^ if you can't decide what to vote then you should abstain
 
@kelunik Yeah I see that now. That is stupid
 
@Andrea no idea what you are trying to do, but I prefer to organize like this gist.github.com/marcioAlmada/590d50c67a3be3ccd798
 
7:46 PM
Will we really need RFC for the throwable thingy?
 
We just need to agree on something. Currently the only concrete way to do that is use the voting plugin for the wiki.
So "RFC" maybe isn't needed but wiki probably is.
 
I'm putting together an RFC right now. Thoughts? wiki.php.net/rfc/throwable-interface
 
@LeviMorrison looks like my deep valley low expectations are still too high for internal discussions.
 
@marcio trying to make an 8-bit colour encoding
 
@Trowski you should add a before and after of the code snippet
 
7:58 PM
@marcio The same thing would happen, except the object would be called TypeError. I could add a catch (Error $e) block though.
 
> The code above will not catch the TypeException thrown due to the mis-matched type-hint, resulting in the following message to the user [...]
 
After this change, the message would instead be
`Fatal error: Uncaught TypeError: Argument 1 passed to add() must be of the type integer, string given`
 
this part implies a possible mismatch between the expected behavior and what really happens, so you I guess this needs more explanation. What's the intention? Catch all exceptions?
 
I kinda missed the discussion I think, but why an interface instead of moving the BaseException to the top? @Trowski
 
@PeeHaa when Feedr is back up, can you add github.com/danack/MemTrigger to it? Or just let me know so I can add it.
 
8:03 PM
@marcio The intention is to make the two exception branches clearer instead of using overlapping names.
 
Yeah of course. I am working on it as we speak
@Danack Interesting btw
 
@PeeHaa "The interface isn't pointless. It allows us the capability of having types of exceptions outside of the current hierarchy....and yes, it's difficult to imagine the actual scenario that would be useful in, but at least it leaves it open..." i.e. the same reason interfaces are usually good...
 
@marcio How about this wording: The reason an object named TypeException would not be caught by catch (Exception $e) is not obvious. The Exception suffix implies that TypeException extends Exception. If the name of the thrown class was TypeError instead, it is much clearer that the class does not extend Exception, but rather is part of a different class hierarchy that must be caught separately.
 
@Danack k tnx. At least you are not ignoring me :P
 
And yes, if anyone has an actual application that would benefit from being able to detect when the memory usage balloons out, please try out MemTrigger and let if know if where it breaks.
 
8:06 PM
@Trowski looks better ^^ the example looks fine then.
 
@PeeHaa I was going to reply :P @Danack just beat me to it.
 
;-) j/k It's all good :)
 
@Trowski Sounds good to me.
 
@Danack you also can hook into zend_mm and watch when too big allocations take place
 
BTW, I'm pretty sure the BC break discussion about Exception not catching everything will be back along with RFC timeline pedantry :/
 
8:12 PM
@bwoebi What is the hook function called zend_mm_set_custom_handlers?
 
@Danack yeah
 
Thanks, I'll have a look. I suspect something that watches every time something is allocated might be too heavy a load, but it's an option...
 
@Danack you also eventually can temporarily set memory_limit higher when too big allocations come in
@Danack I bet with you that your current approach is slower
because… actually… allocation functions are usually called more rarely than every 5 ops
at least from my callgrind experiences
 
@bwoebi It's not currently getting called per-operation....I'm not actually sure how often it is getting called, but this:
	$b = 0;
		for ($y = 0; $y < 100; $y++) {
			$a = $b + rand(0, 4);
			$b = $a / 2;
		}
doesn't trigger it.
 
looking at your code, sec
 
8:17 PM
Hi friends, any ever had the same issue?
http://wordpress.stackexchange.com/questions/189104/widget-stuck-at-particular-point-when-dragging-to-bottom
 
It's currently set to replace zend_execute and just chain the call to the original version of that function. I got the complete replacement working, but it's currently ifdef'd out.
I thought I could count the opcodes being called from there, but this line was never reached.
 
@Danack never reached? … With the example above, no wonder.
You need to do an userspace fcall to reach it
 
@marcio Hopefully we're past that and we can at least agree that if there is going to be a separation, lets make it clear rather than obfuscate it behind similar classnames.
 
@Danack you probably want to increment opcodes on line 571
 
Admin area of both wordpress and prestashop incredibly slow on apache
non-admin areas are fine
must be the server since two different softwares have the same problem
 
8:33 PM
@Trowski all in favor, thanks for doing this RFC.
 
anybody got any idea?
 
@marcio No problem. Hopefully the rest of internals can be persuaded.
 
8:47 PM
@user3692125 how did you identify the bottleneck was the web server?
 
@RonniSkansing not exactly the web-server itself... but the dns/server/db setup.... since two unrelated softwares have speed issue only on admin area... and for both softwares, the usual fix for this is modifying something in /etc/hosts file...
 
@marcio Have you ever looked at the project I'm working on? Icicle github.com/icicleio/Icicle
 
@Trowski I did… I'm not sure if I should like or hate it. There are a few interesting aspects, but ultimately it's a bit… bloated.
 
@Trowski yup, I never used it though.
 
@bwoebi Bloated? Since it includes so many things? I'm not sure what I should think of that comment.
 
8:54 PM
@Trowski oh, so you're behind Icicle?
neato!
 
@Ocramius Yep! Have you tried using it all? Any comments, suggestions?
 
@Trowski I haven't tried anything new this month - too busy, sadly
@Trowski I have a project that will need an app server, and I'll start again in june
 
What sort of project?
 
@Trowski CQRS+ES, using a WS server, AMQP and an HTTP server
all async and dockerized for testing already :)
will be fun
 
@Ocramius Interesting. I'm close to completing the HTTP layer right now, and I have quite a bit of code for the WS layer.
 
9:01 PM
Admin area of both wordpress and prestashop incredibly slow on apache... any clue?
 
Hopefully both of those would be ready for use sometime in June. Should be easy to layer AMQP on top of that.
 
@Trowski Mainly the architecture of the app how everything is spread into nice minimal classes traits and interfaces… but that's only personal preference
 
@bwoebi Ah, I see. There's a few schools of thought on that, and I guess I prefer to spread things out to make it easier to change small pieces of functionality without having to re-write an entire class.
 
@Trowski playing around with bunny/bunny and cboden/ratchet - it's a lot of fun :D
 
It does make it so there are a lot of individual pieces...
 
9:03 PM
@Trowski I rather find other issues with it… for example… what's this DuplexInterface::isReadable() ?! … it's linking to isOpen() ultimately… which does an is_resource() … well weird. Why would you call that in a while loop condition… not sure what that helps
And @Trowski you're using a shitload of exceptions for things… eofexception… huh… why? Why is that an exception for example?
 
@bwoebi The echo server example is almost a little overly simple, but since that's dealing with a stream socket, as long as the client is connected isReadable() is going to be true, and you can try reading from the socket.
 
an EOF is a normal condition which legitimately can occur… and is just an empty "".
@Trowski and what do you do upon an eofexception because stream was closed?
you let it bubble up and everything explodes?
 
@bwoebi Actually that's an interesting situation, and agreeably a poor choice. The way that's handled, EofException actually isn't thrown anyway, it's just used as the reason the socket closed.
 
in your example you just catch Exception… well great. but one shouldn't do that really.
@Trowski it isn't? it's passed to deferred->fail(), no?
 
No, actually an empty string is used to resolve the deferred and it's set to null.
 
9:13 PM
so, what's then that what I linked to?
oh
It's resolved and set to null
and then there's no fail
 
Right, that EofException is actually something I meant to remove.
 
well, that's a bit weird that code ^^ @Trowski
 
I realized some time ago that rejecting the promise on EOF was stupid.
That should just close the stream, rather than also try and reject the promise.
 
But it's interesting that you actually have abstractions for $stream->read() and $stream->write()… I mainly already wish having $stream->write() for a long time in Amp … (@rdlowrey ;-))
 
Basically it should just be $this->close().
 
9:16 PM
yes
 
My tests never noticed because the exception just gets ignored. Thank you for pointing it out :)
 
@Trowski experience tells me that in theory yes, but in reality you really just end up changing equally as much
but I'm sure your lib never matches the performance of Amp… just because it's much higher level
 
I do think it has a bit more overhead, but I think it might be easier to use... so it depends on what you want to do.
I think there's room for both depending on if you're looking for raw performance or ease of writing code.
 
@Trowski the only fundamental difference is mainly in Amp directly invoking a readability/writability watcher
and icicle having an abstraction with a promise in between
this is how it looks with amp… you just call @fread() and are done
you anyway need an if() comparison against !="" to check for EOF…
 
@bwoebi Yes, but the promise-based stream abstraction makes it easy to have unrelated components talk to each other.
Technically you can do the same with Icicle, you just have to use the loop events rather than the stream socket abstractions.
 
9:24 PM
@Trowski components don't talk to each other that way. they talk to each other via some highly scalable pub/sub application in background like redis
otherwise your code isn't going to be scalable
 
Node uses streams quite a bit.
 
@Trowski sure. I regularly saw port exhaustions when exaggerating the load…
as said, this isn't scalable
 
Actually I'm talking about streams within the app to translate data. Not really between separate processes.
So when I say streams, I don't mean like over tcp or unix socket, I mean just in memory.
However sockets are just a kind of stream.
So I can stream data over a tcp socket, or stream it to memory, or a file, whatever. The component doesn't care about the endpoint.
 
@Trowski tcp sockets to lo0 are just in memory?^^
but as said, I've already seen port exhaustions because that
 
@bwoebi Ok, well maybe memory is a bad example :P
 
9:29 PM
:-P
 
@bwoebi I will keep that in mind, I hadn't really heard of that problem.
 
because nobody encounters these issues with his small apps (as long as not doing heavy stress tests, which nearly nobody does)
because their apps already fail under the load before the port range is exhausted
because… well… inefficient apps.
 
Was this going to be fixed in 7 or did the discussion go dead:
> /srv/www/Feedr/init.production.php(38): PDO->__construct('pgsql:dbname=fe...', 'webserverproces...', 'itsasecret')
?
 
no it wasn't
why should it be fixed?
 
Because leaking passwords is bad?
 
9:33 PM
@PeeHaa because leaking stacktraces is bad?
 
Yes. But passwords is badderer
mysql_* did one thing correctly and it was this
 
@bwoebi I might have to talk to you about your testing methods. I've done some testing with Icicle and was fairly happy with it's ability to handle loads.
 
@Trowski what loads?
 
On a more important note, they have refurbished my local pub, and it is different and I don't like it.
 
Goddamnit!
 
9:35 PM
Sending a few thousand requests per sec and handling them all without fail.
 
@Trowski a few thousand is not a lot
 
@Danack I hope the thing is under version control
 
Not sophisticated at all, which is why I'd like to learn more :)
@bwoebi What would you consider a lot?
 
@Trowski 50k+
 
@bwoebi What kind of requests are we talking about and on which hardware, that's the question.
 
9:39 PM
@kelunik sure… but a few thousand is even on todays bad hardware not really a lot
 
@bwoebi Are you talking about over an already established connection?
I was talking about separate TCP connections, fulfilling an HTTP request, and closing the connection.
 
hmm… HTTP reqs usually also have keep-alive… I'm not sure what exactly I tested.
 
Yep, and if I enable keep-alive my performance gets much, much better.
If Amp can handle 50k+ HTTP requests per second, I'm impressed, and would like to know what kind of crazy hardware that was run on.
 
I think @rdlowrey reached 70k req/s on a normal server (nothing extraordinary) with PHP7 using stream_select() internally
 
Ah, I was also testing on PHP 5.5. I should really do some testing with 7. Looks like I have a weekend project :)
Just from running my test-suite on 7 I know the performance is crazy.
 
9:45 PM
@bwoebi Tried to test on my srv with ab -c 150: socket: No buffer space available (105). :-(
 
… no idea about that error^^
 
That's an odd error. I know you have to raise SOMAXCONN above the usual default to test high concurrency.
 
Hmpf, need a local setup first ...
 
10:04 PM
Fuckdamnit I hate selinux
 
--with-cpu-opt=CPU build for the specified CPU, valid values: pentium, pentiumpro, pentium3, pentium4, ... I know I have a Pentium my cpuinfo gives this: vendor_id = GenuineIntel, and model name = Westmere E56xx/L56xx/X56xx (Nehalem-C). So which Pentium option should I choose? I'm assuming Pentium4?
 
@crypticツ I think Westmeres were only Xeon or Core iX.
 
Isn't Pentium 4 really old?
 
oh I dunno, all I know is that CPUs make all teh things run.
 
:-)
 
10:09 PM
Based on the info, it's Xeon.
 
@LeviMorrison Looks good to me! Push it!
 
^ Flexbox driven UI for PHP.net
Unfortunately it will take a while before it could be pushed.
 
@LeviMorrison Ooo, shiny.
 
@LeviMorrison :(
 
10:11 PM
I also want the ability to collapse the sidebar (cookie driven)
 
@Trowski cpuid gives family = Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6) Which contains both pentiumpro and pentium3. Should I just go with pentium pro?
 
@crypticツ If it's your local machine usually -march=native
 
@crypticツ What are you selecting this for anyway?
 
compiling locally for remote server. My specs don't even come close to the VPS =o(
 
@Danack can you check whether you are admin on the feed please? feedr.pieterhordijk.com
 
10:15 PM
@crypticツ Give me an entry from /proc/cpuinfo.
 
@PeeHaa I appear to be - the adding a repository might be defeating me.
 
Notice: Undefined variable: request in /srv/www/Feedr/routes.php on line 151

Fatal error: Call to a member function getBaseUrl() on null in /srv/www/Feedr/routes.php on line 151
Oh wait. That was just me fucking things up I think
 
NOT MY FAULT
 
@crypticツ Nehalem-C is the key
 
10:19 PM
@Danack Nope it certainly is mine
:)
 
Probably --with-cpu-opt=nehalem
nehalem-c if they have it
Which, I think might be westmere
 
@LeviMorrison in this case the it states the following: valid values: pentium, pentiumpro, pentium3, pentium4, athlon, opteron, sparc32, sparc64, ppc64
 
@LeviMorrison breadcrumbs are a bit too eyecatching… make it smaller
 
@bwoebi Done.
 
@Trowski Testing with a real application, there are not that many requests / s.
 
10:22 PM
@crypticツ …what compiler are you using?
 
@kelunik ab -c 150 would be sending 150 concurrently. The OS imposes a low limit (like 128) on the max number of sockets a process can have open.
Unless I'm misunderstanding what you're doing... which is very possible.
 
@Trowski Yes, but that would result in Too many open files.
 
@LeviMorrison gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
 
@crypticツ Instead of --with-cpu-opt do -march=westmere
 
@kelunik True. Then I have no idea...
 
10:25 PM
If it doesn't like westmere then nehalem should work.
 
@crypticツ I think pentium4 is what you're looking for from that list.
If those are your only choices.
 
Thanks you guys. Will try those 3 options and see what works. =o)
 
$ siege -b -t30S -c 1000 chat.kelunik.com
Elapsed time:		       29.28 secs
Transaction rate:	     3719.43 trans/sec
Throughput:		       11.55 MB/sec
Concurrency:		      882.76
Successful transactions:      108905
Failed transactions:	           0
Well, that was actually apache, lol.
 
Not too shabby for Apache, but it really depends on how much work it has to do to fulfill those requests.
 
It's just the default page, so there's no work. Just forgot I deployed my chat on another port now.
 
10:32 PM
Apache can be configured to serve up static files crazy fast.
 
@Danack can you create a proper github release of memtrigger so I know whether it works (crontab runs every 10 minutes)
 
If I try to run siege on Aerys, I get [alert] HTTP: unable to determine chunk size: Transport endpoint is already connected.
 
@PeeHaa I don't know about proper releases, but I tagged a version.
@PeeHaa I don't know about proper releases, but I tagged a version.
Also, I have very shitty internet.
 
*** *** buffer overflow detectedbuffer overflow detected ***: ***: siegesiege terminated ← Can anyone recommend a good http benchmarking tool?
 
I think it may take some time for SO to notice my server is back up again. IIRC it backs off once it doesn't get responses from feeds
 
10:40 PM
That's the first time I've 'released' something on github.
 
Yeah it's a bit strange that you have releases and releases :P
Excellent release note btw :)
 
\o/
 
@kelunik github.com/wg/wrk … maybe that… it's lua… so you probably won't get weird buffer overflows :-P
 
^ Some adjustments
 
11:00 PM
I'm not sure whether I like the navigation having a separate scroll buffer
 
<frameset>
 
Hey guys, regular ol' html. Is there a way to make <label for="drop_down_option_1">Option 1</label> Cause it to select an option value in a <select></select> ? Trying to cater to a responsive layout and would prefer options be in text in full site and in dropdown when screen is smaller without javascript. and avoid having two different forms/duplicate content.
 
@ChrisBaker nice… but I bet this isn't a frameset^^
 
Oh I know, just teasing. I don't care for inner scroll bars either.
 
@bwoebi Actually, it's a <table>. :P
 
11:05 PM
ahahaha
 
And, I have some legacy code that I support at work which uses framesets, so...
Tables, keepin it classy :)
 
It's all just divs…
 
I get to refactor that old bum next, turning it into a desktop application. Which means I have to pick a language for that.
 
And adressed via body > div > div > div > div + div + div > div + div { ... } in CSS
@ChrisBaker Use PH… oh… desktop app? just use Assembly.
 
11:09 PM
@kelunik right… totally unmaintained.
 
The most recent Windows desktop language I know is VB 6. Probably not appropriate for this, might as well go for Assembly. I had C# in mind, but why not.
 
@ChrisBaker you have my respect when you do a full-blown desktop app in hand-written Asm…
 
Implying I do not have your respect now :( I'll just be over here, kicking rocks.
 
;-D
 
Wonder if I could hook up phpgtk with this: jackaudio.org
The software will have to interact with an 8-channel audio I/O interface
And route CD playback, digital playback, and router audio to dynamic ports on the audio I/O
Need to make a screen to build track cross-fading automation
And take input from the serial port plugged in to a 12-channel mixing board, to get track mute and stop events.
I barely know how to do any of those things....
 
11:14 PM
@bwoebi It's not navigation… it's just a list of related items…
That's what I wish people would understand…
Unrelated: I am not sure I can make it work without them scrolling independently.
 
user895378
@bwoebi We don't have those abstractions because they're slow. Also, PHP already has streams.
 
user895378
Amp doesn't have them because they're slow.
 
@LeviMorrison why not?
 
@bwoebi CSS is hard, man.
 
@LeviMorrison If you have any questions, just ask. ;-)
 
11:59 PM
@LeviMorrison CSS is easy, just know your tools :-D (which is the hard part, though^^)
 

« first day (1679 days earlier)      last day (3269 days later) »