Newest at the top
2025-09-28 01:33:50 +0200 | acidjnk | (~acidjnk@p200300d6e71719741804246150b63047.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
2025-09-28 01:26:47 +0200 | emm | (~emm@user/edmeme) (Client Quit) |
2025-09-28 01:26:06 +0200 | emm | (~emm@user/edmeme) edmeme |
2025-09-28 01:25:41 +0200 | Googulator84 | (~Googulato@193-226-241-153.pool.digikabel.hu) (Quit: Client closed) |
2025-09-28 01:25:40 +0200 | Googulator48 | (~Googulato@193-226-241-153.pool.digikabel.hu) |
2025-09-28 01:24:22 +0200 | arandombit | (~arandombi@user/arandombit) (Ping timeout: 255 seconds) |
2025-09-28 01:19:39 +0200 | arandombit | (~arandombi@user/arandombit) arandombit |
2025-09-28 01:17:37 +0200 | sprotte24 | (~sprotte24@p200300d16f22ee00292e69812e23861a.dip0.t-ipconnect.de) |
2025-09-28 01:16:31 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
2025-09-28 01:14:34 +0200 | arandombit | (~arandombi@user/arandombit) (Ping timeout: 256 seconds) |
2025-09-28 01:13:46 +0200 | poscat | (~poscat@user/poscat) poscat |
2025-09-28 01:13:35 +0200 | poscat | (~poscat@user/poscat) (Remote host closed the connection) |
2025-09-28 01:13:13 +0200 | poscat | (~poscat@user/poscat) poscat |
2025-09-28 01:11:40 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-09-28 01:10:31 +0200 | <EvanR> | after all these decades |
2025-09-28 01:10:21 +0200 | <EvanR> | but yeah, why is UI so hard |
2025-09-28 01:10:09 +0200 | <EvanR> | I mean their values |
2025-09-28 01:10:08 +0200 | poscat | (~poscat@user/poscat) (Remote host closed the connection) |
2025-09-28 01:06:56 +0200 | <geekosaur> | abstracting UI elements is already pretty difficult, granting that unless you're talking FRP the real complication is interfacing with an OOP graphics library |
2025-09-28 01:03:59 +0200 | <EvanR> | s/almost/only/ |
2025-09-28 01:03:36 +0200 | <EvanR> | I've wondered this a couple times, if there was any point in abstracting sliders or knobs or UI elements which could almost be logically between 0 and 1 but it never seemed worth it |
2025-09-28 01:02:32 +0200 | pavonia | (~user@user/siracusa) siracusa |
2025-09-28 01:00:40 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
2025-09-28 01:00:11 +0200 | <fgarcia> | the function name had me confused, i think "darken" might work |
2025-09-28 00:56:58 +0200 | Inline | (~Inline@ip-005-146-196-132.um05.pools.vodafone-ip.de) Inline |
2025-09-28 00:55:53 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-09-28 00:50:31 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) Lord_of_Life |
2025-09-28 00:50:08 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Remote host closed the connection) |
2025-09-28 00:47:50 +0200 | newsham | (~newsham@2603:800c:2c01:6825:a538:c286:d6c2:5fcd) (Quit: Client closed) |
2025-09-28 00:42:30 +0200 | <EvanR> | but specifically only dealing in scale factors between 0 and 1 sounds more like probability |
2025-09-28 00:40:56 +0200 | <newsham> | anyway.. i've got my instance i'm happy with.. going to goof off with other stuff. thanks for the tips. |
2025-09-28 00:40:56 +0200 | <EvanR> | scaling by a "real" is traditionally the purview of "vector space" |
2025-09-28 00:40:39 +0200 | <newsham> | and do color x color |
2025-09-28 00:40:31 +0200 | <newsham> | oh, i'm mistaken. it can just convert numeric constants to colors. |
2025-09-28 00:39:40 +0200 | <newsham> | oh, nice. `*` does do float x color. |
2025-09-28 00:38:12 +0200 | <newsham> | * doesnt do color * float. my 3 instances define 3 dedicated scale functions. |
2025-09-28 00:35:57 +0200 | <EvanR> | or delete your 3 instances and just use * or a dedicate scale function |
2025-09-28 00:35:31 +0200 | <newsham> | complex type gymnastics can let me use a large 3rd party vector package to replace my 3 instance declarations? :) |
2025-09-28 00:35:07 +0200 | <yahb2> | Const () |
2025-09-28 00:35:07 +0200 | <int-e> | % fmap (7*) (Data.Functor.Const.Const ()) |
2025-09-28 00:34:57 +0200 | <lambdabot> | No module named ‘Data.Functor.Const’ is imported. |
2025-09-28 00:34:57 +0200 | <lambdabot> | Not in scope: data constructor ‘Data.Functor.Const.Const’ |
2025-09-28 00:34:57 +0200 | <lambdabot> | error: |
2025-09-28 00:34:56 +0200 | <int-e> | > fmap (7*) (Data.Functor.Const.Const ()) |
2025-09-28 00:34:34 +0200 | <newsham> | evanr: thats besides the point. I need to be able to scale things by floats in [0..1]. i dont need to scale ints by ints. |
2025-09-28 00:33:47 +0200 | <newsham> | oh but for fun color from a 3rd party package is concretely only for floats. so not so much functor. |
2025-09-28 00:33:18 +0200 | <EvanR> | but just defining scaleRGBA :: Float -> RGBA -> RGBA ain't stupid either |
2025-09-28 00:31:53 +0200 | <lambdabot> | Identity 21 |
2025-09-28 00:31:52 +0200 | <EvanR> | > fmap (7*) (Identity 3) |
2025-09-28 00:31:33 +0200 | <EvanR> | it's possible to make anything into the dumbest possible Functor xD |