« first day (2197 days earlier)      last day (2748 days later) » 

Wes
10:00 PM
took me months to fine tune the settings
dogdamnit
 
waves bye
 
Wes
:'(
bye \o
 
we need a plugin for naming things
if only Jeeves could do that for me...
 
Wes
Oct 17 at 18:32, by Tiffany
This is probably my favorite though. Enterprisify your class name!
 
btw @PeeHaa I'd actually prefer you doing the tests :P chances are way higher that I'll understand and learn something thay way
but dunno how to act on this really
 
10:13 PM
given an rgb colour, can we automatically adjust the colour so that the adjusted colour doesn't clash horrible with the original colour ?
 
I read that a few times and still don't think I understood it really :|
 
this
say someone chooses violet 5, how do you get to yellow 5 ?
 
You probably want to base on hsl instead
 
(I'm assuming that's how it works)
what is an hsl ?
 
hue, saturation, and lightness
I think?
 
10:18 PM
all we have to work with is rgba, is that not enough ?
 
yes
 
I know nothing about this stuff, in case not clear
 
vs
Depending on what you want to do going from color 1 -> color 2 in hsl is easier
 
those "harmonies" are known algos maybe ?
or does someone want to look through the javascript for me :)
 
@JoeWatkins That's hsl based
 
10:20 PM
yeah
looks like rgb is enough ...
I never heard of ryb
 
Wes
btw, do you know if i'm allowed to install the same phpstorm on multiple computers i personally use?
 
@JoeWatkins looking for something I think you want
 
I did use it on two separate computers using same creds
 
The TL;DR of it is that rgb is annoying to work with for these things because look at it. It's a stupid cube
Last time I need to do something like this I converted to hsl and back iirc
 
of all the cubes I've seen, it's one of the stupidest ... probably ...
 
10:24 PM
ikr :P
this should get you the wheel itself stackoverflow.com/questions/4235072/…
 
ha, the first and second responses look real similar to me
 
239
Q: Algorithm to randomly generate an aesthetically-pleasing color palette

Brian GianforcaroI'm looking for a simple algorithm to generate a large number of random, aesthetically pleasing colors. So no crazy neon colors, colors reminiscent of feces, etc. I've found solutions to this problem but they rely on alternative color palettes than RGB. I would rather just use straight RGB than...

?
If you really want something exactly as that site I could try something out tomorrow
I would need to search my projects for the basic stuff and add the magic harmony pointers
 
that's a conversion thing, right ?
 
What is?
Anyway the answer is yes :P
 
right
sorry, I dunno if I'm being stupid, but does that help me to adjust the colour if it's in another format ?
 
10:31 PM
yes
hsl/hsv is much saner for that
Luckily it's a "simple" conversion from/to
 
oh oh I seeeee
I really have no idea how color works
 
isn't the generic color "wheel" = hsl/hsv or did I confuse myself?
 
Anonymous
!!github
 
good: We are observing normal traffic volume and will continue to monitor. Some users may still be affected while DNS changes propagate as of 2016-10-21T22:10:11Z
 
@JoeWatkins Me neither really :) Some months ago I had to do stuff with it for a project which forced me read about it. And my mind was blown
 
Anonymous
10:33 PM
@PeeHaa this is difficult to test :P
 
I still don't get it, but I have some idea
@Ekin iirc yes
 
one of these things here says you can take an RGB colour, convert to something called XYZ, then into something called CIE-L*ab which allows you to adjust the angle of the observer and lighting, then convert back to XYZ and back to RGB ...
 
@JayIsTooCommon uhm yes :P
 
Anonymous
@PeeHaa hmm
 
@JayIsTooCommon I could set up a test site you can scrape against for testing
Or just do random('up', 'down')
 
Anonymous
10:35 PM
@PeeHaa Ok, before I try and test - fancy seeing the code to see if I'm sane?
 
@JoeWatkins Don't know that one. But when I was reading about it the rabbithole was pretty fucking deep yes
@JayIsTooCommon Sure
 
:P
For shits and giggles scan this page
HSL and HSV are the two most common cylindrical-coordinate representations of points in an RGB color model. The two representations rearrange the geometry of RGB in an attempt to be more intuitive and perceptually relevant than the cartesian (cube) representation. Developed in the 1970s for computer graphics applications, HSL and HSV are used today in color pickers, in image editing software, and less commonly in image analysis and computer vision. HSL stands for hue, saturation, and lightness (or luminosity), and is also often called HLS. HSV stands for hue, saturation, and value, and is also...
 
there's an examples chart a bit below
 
Anonymous
 
10:38 PM
At some point I kinda got it all, but then beer and sanity happened
And crying. Lots of crying
 
:D
 
I would rather set it to null
private $lastKnownStatus = false;
 
omfg, I just wanted one formula ...
 
Yeah. That was me couple of months ago. I feel your pain bro
As said. I could see if I can cook something up for you
wouldn't such a thing already exist btw?
 
Anonymous
@PeeHaa kk
 
10:42 PM
when I first tried to ask the question, I confused poor @Ekin ... I dunno what words to use as a criteria for searching for an existing thing ...
 
@kelunik tomorrow afternoon, yes.
 
Is repeat in ms @bwoebi?
too lazy to click
 
Anonymous
@PeeHaa I know I've refactored the original stuff but I'd be repeating code if I hadn't :/
 
@JayIsTooCommon why do I see 2 github files?
 
Anonymous
10:45 PM
original & my changes
 
Anonymous
I linked you to the revisions
 
At first glance it looks fine
 
Anonymous
well that's a first - either you've been drinking or i'm getting less stupid.
 
You probably want to add the last known status to the persistent storage
Otherwise it will always post the status when it (re)starts
 
Anonymous
Well I have this
 
@JoeWatkins regarding your macro issue on windows, can't you check the preprocessed code?
 
Anonymous
which will now be is_null(), but I can still change to persistent if preferable ?
 
Wes
:'(
 
Where are you linking to? l68?
 
Anonymous
Yeah, so if the property is null (which it will be by default), I update it with the current github status and return without posting
 
10:52 PM
Yeah not sure if edge case or not
Maybe you are right
 
Anonymous
I'm up for persistent if you think it's better :)
 
Not sure now anymore. Just leave it for now. Can always be added later
 
Anonymous
hoki - umm as for testing.. :P I could just setup a local fake json
 
yeah
 
Anonymous
will give it a go
 
10:57 PM
brb narcos
 
@JoeWatkins the answer with colour is probably to use a library for manipulating it
not because you can't understand the math yourself, but to save you reimplementing it
 
Anonymous
@DaveRandom Ping
 
11:26 PM
@bwoebi I'm so unfamiliar with ms tooling, dunno how to do anything ...
I'm sure I did know at some point ...
@Andrea yeah probably ... I was hoping there was an easy answer ...
 
@JoeWatkins RGB-to-HSL conversion and back is easy enough, there's sample PHP code out there for it (albeit crappy but who cares)
 
it wasn't the conversion, that's easy enough
it's the adjustment, there's no clear answer, I don't think ...
unless I misunderstand something ... converting the color to another scheme is ranges from easy to difficult, but all doable, but what I don't get is how I take the converted form and change it so I get a color that doesn't clash with the original, that's on the opposite side of the cube or whatever shape the scheme is modelled as ...
 
11:40 PM
@JoeWatkins I have no idea either, google's your friend
 
Wes
@Andrea i think @Ocramius (right?) didn't like that because convert object to array and then the array back to object would lose data
maybe for json related stuff?
 
11:52 PM
wut...
 
Wes
me, bob?
 
@Wes you're @Wes, @bwoebi is bob
 
:-D
 
Wes
til
 
Wes
11:56 PM
i remember someone saying that the loss of data between conversions would be bad. this is as much as i can remember :B
i think it was ocramius
 
@JoeWatkins do they?
@Trowski I cannot relate to that … names are just … names … IMO, the name Promise is for the concept of resolving to something later. The how is totally, utterly irrelevant in my eyes…
 
Amo
Hi all, is this the right place to ask about internals?
 
@bwoebi probably not if you know what you are doing ...
is it normal for cmake to be installed in /Applications/CMake.app/Contents/bin ?
because that's really dumb
windows dumb
 
@DaveRandom right, I'm just confused that it's zend_object**, not zval* … will look tomorrow morning.
 

« first day (2197 days earlier)      last day (2748 days later) »