Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rikroots
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
451.
▲
by
rikroots
5y ago
I mainly use LinkedIn to see how much better my former colleagues are now doing, compared to my career progress. When not stalking former colleagues I A/B test[1] my spam posts about my canvas library[2] to see which variants generate
452.
▲
by
rikroots
5y ago
I, too, have had fun playing with TensorFlow and MediaPipe to manipulate live video feed and change the background image. My experience is that MediaPipe's SelfieSegmentation model[1] is a lot quicker at identifying the foreground face
453.
▲
by
rikroots
5y ago
I think the talk video (last on the linked page) does a really good job of explaining the problems surrounding natural vs digital (RGB) pigments mixing, and how the Mixbox folks overcame them to create good-looking outcomes.
454.
▲
by
rikroots
5y ago
I use my phone mainly as a pocket watch; also it has a token generator thing on it which I need for work. The map app is sometimes useful, though I've never been very good at relating the map to the streets around me. I have a couple o
455.
▲
by
rikroots
5y ago
Following up on my comment (for posterity). I've now released the new code to my library. Includes a demo of using the full range of CSS color strings to set color in the canvas[1], and also a demo of my reducePalette (with dithering)
456.
▲
by
rikroots
5y ago
The approach I finally settled on was: check each pixel in the image to build up a list of (RGB) most popular colors and to memoize new colors into LAB values; sort the color data into commonest first; then build up the required palette fro
457.
▲
by
rikroots
5y ago
I use a combination of Path2D and ctx.isPointInPath() - code here[1], line 1502 onwards [1] https://github.com/KaliedaRik/Scrawl-canvas/blob/master/sour...
458.
▲
by
rikroots
5y ago
The W3C CSS Color Module Level 4 working draft[1] has a useful, if brief, overview before it ploughs into implementation details. [1] - https://www.w3.org/TR/css-color-4/
459.
▲
by
rikroots
5y ago
Just before Christmas I got an urge to add a dither filter to my JS canvas library. The past few weeks have certainly been a very intense adventure through a very deep rabbit hole involving color spaces, color distances and discovering how
460.
▲
by
rikroots
5y ago
I have a side project[1] that has made me $0 over the past 8 years. It's not well known and few, if any, other developers make use of it. I still work on it most days because I enjoy working on it. I assume I'm part of the majorit
461.
▲
by
rikroots
5y ago
> Color is one of the items on the long list of things to try to avoid when programming. Too late. I got annoyed by the lack of support for HWB, LCH and LAB in Chrome/Firefox. Safari now supports them for CSS, but has not yet made t
462.
▲
by
rikroots
5y ago
I didn't have the surgery - I wasn't willing to risk pain and anaesthesia just to please other people. There's a wide range of treatments for sleep apnoea nowadays (for instance: stop smoking, loose a bit of weight and learn
463.
▲
by
rikroots
5y ago
Back in the mid-90s I was referred to a specialist because my excessive snoring was giving me sleep apnoea. The consultant advised that I needed throat reconstruction surgery to cure the problem. He asked me if I smoked. Expecting yet anoth
464.
▲
by
rikroots
5y ago
Yes - after I got over my anger (partly at myself for copying the function into my code without properly reading through it first) I sat down and worked out what was going on. The function, and the functions dependant on it, work fine if I
465.
▲
Ask HN: Why are the calculations in latest WC3 CSS Color Module Level 4 wrong?
3 points
by
rikroots
5y ago
|
4 comments
466.
▲
by
rikroots
5y ago
I agree with this, plus the "it's fun" reason others have mentioned. I started work on my canvas library (licence: MIT) 8 years ago mainly so I'd have something to showcase to potential employers. It worked: the reason I
467.
▲
by
rikroots
5y ago
That's an interesting effect. I assume the affected blocks are set up so that each row uses the glitch factor of the row above and varies from it by a (small) random value? I recently wrote a glitch filter for my canvas library[1]. It
468.
▲
by
rikroots
5y ago
How accessible are Lottie animations? Can they include (keyboard accessible) hotspot links? ARIA markup? How much work would it take to make sure a Lottie animation respected user preferences like prefers-reduced-motion?
469.
▲
by
rikroots
5y ago
I had a look at both WebAssembly and Rust a few months back, in the hope they could help me write some nice, fast graphics filters that I could then compile out and use via Wasm in a 2d canvas. Entirely do-able, but beyond my limits of unde
470.
▲
by
rikroots
5y ago
Thanks for the suggestion! Currently I'm looking at this site[1], though some of the words and phrases sound a bit made up to me. The animations are really cool! [1] - Self-organising textures - https://distill.pub/self
471.
▲
by
rikroots
5y ago
That site annoys me! I can find my library on it if I type its name (Scrawl-canvas) in the search bar, but it never appears when searching by tag (eg: 'canvas') and there's no obvious thing I can change in the edit panel to m
472.
▲
by
rikroots
5y ago
A write-up of the processes/algorithms being used to generate the images would add more excitement to the article. Is the author running P5.js in a script serverside and using a headless browser (PhantomJS or equivalent) to generate th
473.
▲
by
rikroots
5y ago
My problem isn't fear of failure. Rather it's something around fear of being in the spotlight, or fear of being ridiculed, that keeps me from marketing my canvas library more aggressively. For instance, I've submitted to HN v
474.
▲
by
rikroots
5y ago
I don't feel particularly exploited - but then my OS library is not particularly popular (or widely used). I suppose if the library did become popular and some $MegaCorp built a cash printing product on top of it I could add some code
475.
▲
by
rikroots
5y ago
The research a decade ago around face visualisation and recognition was indicating that the neural pathways and areas surrounding the ability differed from the pathways used for visualising/recognising non-facial objects. I don't
476.
▲
by
rikroots
5y ago
One of the first things I did after learning about - and getting excited by - Svelte, was to try and get my canvas library to play nicely with it.[1] Given the rapid development Svelte has endured over the past 18 months I have no idea whet
477.
▲
by
rikroots
5y ago
When I quit my last job my plan was to work on some personal projects for a few months while looking for a new position, hoping to land something before the money ran out. One of the personal projects was writing up a short memoir for famil
478.
▲
by
rikroots
5y ago
My main project has gathered some stars (low hundreds) and a few followers, the occasional fork, etc. I think the project is both important and useful ... but at the same time I'm also very grateful that there seems to be such a lack o
479.
▲
by
rikroots
5y ago
Finding good, technically-focussed articles discussing accessibility issue best practice (such as for focus indicators) is not as easy as it should be. I hope the author doesn't mind, I've just updated my lesson[1] on how to make
480.
▲
by
rikroots
5y ago
I first started with GitHub because a recruiter told me I needed a portfolio of some sort to demonstrate my skills to potential employers. Given that I'd been applying for graduate/junior roles in the industry for over three years
More ›