« first day (548 days earlier)      last day (3240 days later) » 

21:00
@TylerH Ah, I see what you're saying. transition: translateY 2s; for instance.
user652649
@JonathanSampson my english is terrible, i know :P i hope i have been clear
yeah, if I want to animate one part of a transform but not the other, I'm out of luck
unless I put the animation on a new element where I use a new transform property
@WesleyCrushed I think I understand what you're asking.
Wes had a good suggestion like translate(1) or translate(2n)
So you'd like to use the ( <- ) -> ) buttons with New Tab functionality.
21:02
and it's being discussed at www-style so I thought maybe putting the bug in your ear could make a prefixed way to do it available in IE before anyone else :-)
user652649
yes
Click "Back" clones your tab, and then navigates backward.
user652649
as in chrome, and firefox
Yeah; right now you'd have to press Ctrl+K and then Alt+Back Arrow.
@WesleyCrushed you mean the click-and-hold to open up the drop-down menu of your page history? That would be awesome in IE
21:04
In IE you can right-click to get a list of pages deeper/closer in history.
But from that menu you cannot choose to open one of those in a new tab.
So you'd have to clone your present tab (Ctrl+K) before taking that step.
!!iswesanidiot
Golden
user652649
1 message moved to Trash can
user652649
there is time for that, and this isnt xD
@JonathanSampson I've gotta run, but feel free to ping me a response if you like. It's a shame that Twitter doesn't let users see tweets directed at them by protected users.
@TylerH Will do!
user652649
21:10
@JonathanSampson i have one more feature chrome implements that you guys may not know of. 1 sec
@WesleyCrushed Many of us use Chrome every day :) I use IE, Chrome, and three versions of Firefox daily :)
Actually, I guess anywhere from 5-7 versions of IE, 2-3 versions of Chrome, and 3 versions of Firefox daily :)
user652649
once you realize you can do this, you couldn't live without:
user652649
user652649
basically holding Ctrl on your kbd, you can select more than one tab at once, detach them, or group them
user652649
it's GOLD for me
21:15
@WesleyCrushed Oh, Nifty! I hadn't noticed that before.
I'll pass that GIF along with these other suggestions (drafting email now).
user652649
@JonathanSampson i wonder how many vms you run at the same time :D
@WesleyCrushed No VMS :P
user652649
is there a way to run multiple msie on the same machine? :o
user652649
virtualpc?
@WesleyCrushed in FF you clone the tab, which is awesomer
21:18
@WesleyCrushed Not presently. I have multiple machines though. I have an unstable build of Windows 10 with an unstable IE on it, and a Windows 8.1 build with IE11 on it. For other versions of IE, I can spin up a VM if I need to (but I rarely need to).
@WesleyCrushed 24/7/365 is the right time for that :P
@WesleyCrushed there's some app for linux that loads up only necessary things for the win* executable in a fast vm on the fly
can't remember the name atm
user652649
@JonathanSampson when i work at some frontend i sadly have to run, usually at the same time, at least 3 vms (msie7, msie8, msie9)
@WesleyCrushed ouch.. have to support 7 still?
21:22
PC games are so so much cheaper, might have to get a gaming pc
@joshhunt yeah thats why the whole pc gaming is more $$ is a myth
you save SO much money on the actual games
user652649
@Loktar sometimes yes
the initial cost is a bit more pricy ($1500-$2000 am I right?) but the games are way cheaper
@WesleyCrushed You could probably run just IE7 and IE8. In fact, you may very well be good to just run IE8 and only test occasionally in IE7.
@WesleyCrushed for deprecated versions you should only make sure everything works/is visible, don't worry too much, noo need to have it perfect for dinosaurs
21:25
@joshhunt thats a VERY high end machine at that price
IE8 was the most compliant browser when it came to CSS 2.1. So as long as you write proper CSS, your stuff should work flawlessly in IE8 and IE9. With IE7, any small issues could be resolved using a Conditional Comment.
You can get a nice mid range gaming pc for around $700
@Loktar probably should have mentioned my estimate is in NZ$ and I think parts are a bit more expensive over here
user652649
@JonathanSampson eh, no. msie7 is bad at everything, msie8 is mostly bad at js, msie9 is the "minimal features" reference
you kinda need to use up about 1000$, without keybd,mouse,screen
21:26
@CSᵠ eh not to get into pc gaming
not to get into, but to have HD+ everywhere
HD+?
@WesleyCrushed I know for a fact IE8 had the team focusing on achieving near-perfect support for CSS 2.1. You should find little issue with it. As for missing ECMAScript features, you can shim those with a conditional comment. IE7 will be the most pain, but not too mention in my personal experience.
You mean 4k? Because 1080 you can run on $600 systems just fine
HQ details i mean
@WesleyCrushed If you have specific issues you're running into, please let me know. I'd love to be of assistance.
This is what I was thinking of building for a friend: pricespy.co.nz/list.php?l=127485&view=m
@Loktar as video, not the same thing when millions of objects are computed for 1080p
which was $1900ish NZ
21:29
@CSᵠ ... I don't mean video lol
Alright; all feature requests have been sent to the appropriate parties :)
1080 gaming on the PC has been common for like 8 or so years now
I remember gaming at 320x240 - pixels galore! :D
@Loktar nice
^ 1080 gaming for $553
user652649
21:30
@JonathanSampson thank you: stackoverflow.com/questions/18295869 :D
@JonathanSampson haha same here
I remember having to run HL in a smaller window to get better fps
I think I played Nukem and Dark Forces at 320x240.
back when you could decrease the screen size along with resolution
that sounds about right for that time
user652649
@JonathanSampson that question ^ originally contained also this photo:
user652649
21:31
I think things must be cheaper for you guys cuz I definitely can't get stuff at that price
"You see that vertical column of peach-colored pixels wiggling?" "Yeah..." "That's a person dancing... pretty epic, huh!"
user652649
but i'm joking, i gave up on that :D
@JonathanSampson heh I remember doing that when playing Delta Force
Pixel hunting at its finest
First GTA for PC was like that too IIRC.
yeah it was overhead
and the 2nd
heh just heard a coworker was banned from wordpress SE
now I want to try and find his account and see why, he said it was due to asking a plugin question
21:35
hi friends.. I have a basic question. I want to color a table cell in red or green and also write some text in each of those cells with the same color. This will help me in sorting the columns but keep the cells completely colored out so that no text within them is visible
I have created some sample code here: jsfiddle.net/66wxpg7v
@linuxfan Check out the <col> element.
@Loktar awesome thing you can do when you cherry pick stuff, but: disable motion blur, antialiasing, volumetric fog, render at 900p only, 30fps is low, etc
user652649
@PeeHaa any suggestion about how to organize the tests, like how to use the autoloaders, the bootstrap and things?
Yeah I do. One moment. I am tagging a release
@JonathanSampson will col allow me to also set the color for text?
user652649
21:38
@PeeHaa when you have time <3
@linuxfan I believe col will let you set the styles for all td's in a given column. So, for the first td in every row. You could, alternatively, use CSS selectors.
@CSᵠ wait what do you mean?
td:first-child { background: red; color: white } would target the first TD in every TR.
30fps is what the next gen consoles run at
ohh I see ass creed 4
The thing about that though thats a bit unfair is Ubisoft is notorious for having terrible PC ports
@linuxfan I believe I covered the use of <col> here: youtube.com/…
21:40
@JonathanSampson thanks for the link. i will view it now.
@Loktar that's the thing, spend a bit more and be worry free
and 30fps is low
oh yeah for sure, spend more
pilots were tested at over 250fps and reacted
I was just illustrating you don't have to spend over 1k, or thousands of dollars for a decent gaming pc
but 60fps should be a norm
21:40
if they spent $800 instead of $550 they would get some pretty noticeable improvements for sure
your brain can definitely register that speed
yeah, the current marketing due to the next gen systems being underpowered is ridiculous
> 1080 and 60fps don't matter story telling does!
are you talking about building your own pc or buying a prebuilt one?
I say, Why not both?
@joshhunt building, prebuilt you pay more
ohh yea, and i was talking about mid-range (if not more) at about 1k
21:42
where you would you buy parts from? Want to compare against NZ prices
Newegg and Amazon
depending on who had better prices at the time
user652649
@JonathanSampson before @TylerH was talking of this: fremycompany.com/TR/2012/ED-css-list-properties
@linuxfan Details for first-child can be found here: w3.org/TR/CSS21/selector.html#first-child
@JonathanSampson thx..
@WesleyCrushed I'll bring it up in talks with our CSS program managers.
user652649
21:44
a { background-image:url('a.png'), url('b.png'), url('c.png'), url('d.png'), url('e.png'); }
a:hover { background-image(3):url('c_hover.png'); } // changes only the third value of the above ^
It's a good idea for sure; something I can see value in. Of course we'd want to make sure it was handled within the W3C so it's properly vetted by others as well.
@WesleyCrushed Aaaaaaand it's done
We'd probably want it to be zero-based though, for consistency :)
@Loktar hmm so Amazon / Newegg prices are about $15 cheaper (after conversion) compared to prices here for an Intel Core i5 4690K 3.5GHz
ah so thats not too bad
21:47
not as bad as I thought, but how did I end up with $1900?
haha idk, for a kickass machine I guess?
Basically what I always do is this @WesleyCrushed. So I have my testsuite in the root of the project and have a test directory underneath it
I mean you can easily spend $1900 on a PC but it will be pretty damn nice
Here's the parts: http://pricespy.co.nz/list.php?l=127485&view=m
Have a look and see what you think
Thought that does include monitor / keyboard / mouse
It also contains a bootstrap file which is often nothing more than a simple autoloader and a include of the projects bootstrap file
In the test directory I have a Unit directory with all my unit tests which mimics the directory structure of the project
21:48
@joshhunt damn yeah idk that seems nuts
That ram is pricey
^ Yea it would be good to know if it is certain stuff that is more expensive here
stuff like ram can be easily shipped
user652649
looks very intuitive @PeeHaa will replicate that FS (but i wonder what Mocks are :D)
@WesleyCrushed Basically things that could not be easily made by using PHPUnit_Framework_TestCase::getMock phpunit.de/manual/current/en/test-doubles.html
#MDFail
and a bit underpowered imo
the PSU is pricey too
woah weird.. my messages were posted out of order lol
anyway I have to head home @joshhunt what I generally do is go to a site like ibuypower.com check out their systems and then match up the parts
Thanks for the help
21:52
I would love to have anonymous classes in php because that would mean that entire directory wouldn't be needed anymore
then you are almost garuanteed you will have compatible hardware as well
^ true, because that could be very costly :D
I would love to have a world where everyone uses python; besides those people who write piss-poor PHP code now. They can go and write Java instead :p
user652649
so a mock is basically a fake instance @PeeHaa
@ThiefMaster I use python ;)
@WesleyCrushed correct
user652649
21:55
there's a lot to read here
@WesleyCrushed It help when you are unit testing code to actually test small units (e.g. a specific class)
user652649
does it work with interfaces too? $stub = $this->getMock('iSomeInterface');
If you have some class with some dependencies and you don't mock them it means you are not only testing the class but also the dependencies (and possibly the dependencies of those)
@WesleyCrushed Yes
So instead of testing 10 different implementations at the same time you only test one single thing
user652649
so you use mocks to test the unit only, not class/method dependencies
user652649
makes sense
21:58
Exactly. Because I can exactly tell what the mocked object does because I control it
And when you do that it becomes painfully clear when you have some hardcoded dependency, because there is no way to mock it out
Simple example would be this gist.github.com/PeeHaa/2b704bd6519637647942
user652649
yea, yea
When you want to unit test this class you are actually also testing Something
user652649
ok i think i'm ready :D
user652649
ty
user652649
will try to test a class now xD
22:04
It might seem hard to do at first, but once you go black you never go back get the hang of it you will see it helps you write better code
user652649
i was convinced of that already. but time is never enough :( but things are getting huge now and i can't manually test anymore, so i'm forced to find the time
user652649
ah, i guess i need to add phpunit.phar to my ide now, because it can't resolve PHPUnit_Framework_TestCase
user652649
sorted :D
What IDE do you use?
user652649
phpstorm
user652649
22:15
i just had to move phpunit.phar in the project's folder
haha, you silly PHPers
GET A REAL LANGUAGE NOOBS!
2
user652649
@PeeHaa it seems my bootstrap file is not getting opened
Anyone know why you would use input:focus:invalid:focus{ (two :focus's)?
user652649
it just contains:
user652649
<?php
file_put_contents("sdofkasdf.txt", "I WORK");
require(dirname(__DIR__) . "/INIT.php");
22:23
It's in pure.io
user652649
the txt file doesn't get created :P
as a guess @Billy so you can get a style ONLY on the input ONLY when focused AND invalid
@WesleyCrushed Are you sure or is it just confused about the path?
or it is just shit LESS output
file_put_contents(__DIR__ . "/sdofkasdf.txt", "I WORK");
22:25
But that's just :focus:invalid
@rlemon unminified a section, seems intended pastebin.com/Av3hjx62
user652649
:P bootstrap.php <- didn't work, bootstrapTest.php worked :P
@Billy look at the less source
not unminified
it is compiled css
Yeah ok I'll find it
looks like a bug to me
raise an issue
might do something crazy on different browsers?
maybe it is an edge case?
now i'm really interested
That's bootstrap
22:30
ahh it is
I bet you pure copied that code
Wes said bootstrap
I goofed
no but I bet you pure copied the code from bootstrap
that is basically the bootstrap output
I can't find anything on it
it does take higher specificity
so that could be the reason
oh yeah hahaha I think they might have
actually that makes a lot of sense
.pure-form input:focus:invalid,
.pure-form textarea:focus:invalid,
.pure-form select:focus:invalid {
    color: #b94a48;
    border-color: #ee5f5b;
}
.pure-form input:focus:invalid:focus,
.pure-form textarea:focus:invalid:focus,
.pure-form select:focus:invalid:focus {
    border-color: #e9322d;
}
in this block of code, the lower half just over writes the uppers border color
it's strange
Yeah I get that it has higher specificity but it seems to me it's the same selector
user652649
22:35
now i remember why i failed last time i tried to use phpunit @PeeHaa
user652649
e:\php.exe -c "e:\php.ini"
user652649
even using absolute paths php tries to load .dll from the wrong dir
lol
seeing as it seems they copied it from bootstrap, I guess I'll open an issue there instead
user652649
22:41
I DID IT!
user652649
had to hardcode this
user652649
extension_dir = "E:/fullpath/php/ext/"
user652649
in php.ini
user652649
22:47
user652649
@rlemon robobeer?
give me 5 minutes
got a webcam?
bit laggy
I need to enable it but yeah
user652649
22:49
AHAHAHAHAHHAHAHA
user652649
> You have fully used your vote allowance for today
user652649
i have starred too many things today
user652649
never happened before
user652649
i didn't know there was such limit
user652649
i'm surprised that i didnt find it before
user652649
22:50
:D
wot?
there shouldn't be for room owners
in rooms they own
I suppose they changed that
@PeeHaa good with calculating big O
?
function sweep() {
  data = vcontext.getImageData(0, 0, width, height);
  for( var x = 0; x < width; x += settings.scan_size ) {
    for( var y = 0; y < height; y += settings.scan_size ) {
      var pdo = getPixelDifference(x, y);
      if( pdo.diff > settings.threshold ) {
        make(x,y,pdo);
      }
    }
  }
  pdata = data;
  vcontext.drawImage(video, 0, 0, width, height);
  setTimeout(sweep, 1000/30);
}
function make(x,y,c) {
  for( var i = 0; i < settings.count; i++ ) {
    if( conf[i].alive ) {
how bad is that?
@rlemon Nope sorry
Can ask @daverandom to have a look
eh, it's okay
I think chrome is getting shittier
I swear that used to run smoother
I know that chrome is getting shittier
Used to be such a nice browser
dev tools were top notch
dayum
22:58
@rlemon make looks like O(n)
but irl looks faster because of the continue
what's scan_size ?
sweep looks like O(h*w) so either O(w^2 + r) or O(h^2 + r)
14 mins ago, by rlemon
http://codepen.io/rlemon/pen/fyphd
check it
Demo requires webcam
^don't have high-tech shit like that
but you can see the code
yeah
i see a problem
you'd make good use of a hashmap like for alive conf
instead of a loop iterating from 0 to n
setTimeout(sweep, 33); instead of setTimeout(sweep, 1000/30);
store this outside the function data = vcontext.getImageData(0, 0, width, height);
@CSᵠ micro
23:11
this last ones are micro
yeah
v8 takes care of it
ohh, k
the hashmap is a good point tho
ofc
i'm never sure what magic the compiler does
you sure this: data = vcontext.getImageData(0, 0, width, height); is taken care of?
user652649
PHPUnit 4.3.4 by Sebastian Bergmann.
Time: 84 ms, Memory: 4.00Mb
OK (1 test, 1 assertion)
user652649
23:12
took 1 hour ^
can't get around that one
that gets the new frame data
user652649
actually more than that
You should be set now though :)
user652649
yea :D
user652649
1 method = 1 test method, right?
user652649
23:14
1:1
Nope. Depending on what the method is doing it will have more tests
Every test should test one specific thing (/ codepad)
I must ask, why you keep 'var'-ing everywhere? @rlemon I thought it's pointless mostly
@WesleyCrushed this method can do different things based on different inputs github.com/PeeHaa/OpCacheGUI/blob/master/src/OpCacheGUI/I18n/…
@CSᵠ intent
if I need a variable inside of a block / loop / etc
user652649
ok
23:17
user652649
aaaaaaaah
user652649
perfect :D
actually the hashmap should speed up a lot, not sure by what order, but it's used in a lot of places
lol?
anyway something appropriate for halloween
user652649
@PeeHaa can i write a class test as

abstract class baseTests extends PHPUnit_Framework_TestCase

class concreteTests extends baseTests
user652649
nope, it doesn't work sadly
user652649
user652649
23:55
going to bed
user652649
thank you a lot for your help
user652649
i owe you a pizza :D

« first day (548 days earlier)      last day (3240 days later) »