Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattdesl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
mattdesl
2y ago
This is by Daniel Shiffman aka The Coding Train, source code: https://github.com/Lumon-Industries/Macrodata-Refinement
32.
▲
by
mattdesl
2y ago
Although the article is intimidating, the implementation appears pretty simple and flexible. Has anyone tried using this either in the Darktable app or in their own libraries? I might like to try porting it to JS to compare it for web based
33.
▲
Bitframes – a generative artwork and film crowdfund
(bitframes.io)
2 points
by
mattdesl
2y ago
|
0 comments
34.
▲
by
mattdesl
2y ago
It lets you to prove a program without having to execute it, and without needing to send the potentially private bytes over the wire. Privacy and identity is one example; like having a proof of some record of your identity that you can subm
35.
▲
by
mattdesl
2y ago
With latest LLMs I feel there is less and less need to be structured about authoring recipes. I now jot down rough notes in Obsidian when I make a meal I like, and let AI re-format it if I want to share the full recipe with somebody. This a
36.
▲
by
mattdesl
2y ago
Good idea – but it will probably take even longer than wiping with a paper towel.
37.
▲
by
mattdesl
2y ago
That’s the kind of re-seasoning I mean: first I dry it (paper towel), then wipe with oil (more paper towel). It’s more work than cleaning a nonstick by hand and produces more waste.
38.
▲
by
mattdesl
2y ago
I love my cast iron, but usually choose a nonstick for eggs and crepes/pancakes in the morning. - I tend to re-season my cast iron every time I use it and it’s a chore to do this for my early morning meals. - Non-stick is just more non
39.
▲
by
mattdesl
2y ago
I’m not sure I’d call Figma local first. If I’m offline or in a spotty wifi area, I can’t load my designs. And unless it’s recently changed, if you lose wifi and quit the browser after some edits, they won’t be saved.
40.
▲
by
mattdesl
2y ago
I’ve implemented[1] some of these algorithms into @texel/color, a modern JS color library, and it also supports gamut mapping to certain wide gamut color spaces (Display P3, Rec2020, Adobe 1998) rather than just sRGB. https:/
41.
▲
by
mattdesl
2y ago
Not quite—you can choose a ramp that will remain in-gamut for sRGB, eg try shifting hue here: https://oklch.com/#72.67,0.121,240.19,100 Even if you were to use a more saturated ramp, I suspect that discontinuities due to ga
42.
▲
by
mattdesl
2y ago
Pure RGB primaries gives an easy target for “red” and “green” endpoints but that’s about it. Ideally the test should consider two endpoints with uniform lightness and chroma, and just shift the hue to form in-betweens. The transition from b
43.
▲
by
mattdesl
2y ago
Surely this should be using a perceptually uniform color space like OKLab rather than HSL!
44.
▲
by
mattdesl
2y ago
To play devils advocate: - if your app has a number of messages (eg: “image downloaded” or “message sent” or whatever) then there is a consistency in using toasts as they all appear in the same predictable manner - often “appear away from f
45.
▲
by
mattdesl
2y ago
Really fascinating. After reading a little more, I learned that while Laine proposed the inversion layer hypothesis in 2016, the Auroral Acoustics group he headed was informally started in 2000. The reason the linked article is coming out n
46.
▲
Show HN: A modern and fast color library for JavaScript
(github.com)
1 points
by
mattdesl
2y ago
|
0 comments
47.
▲
by
mattdesl
2y ago
For the “terrain contours” is there something specific you’ve done to make it feel more cartographic? Or is it basically just marching cubes / iso lines on some data points? Looks fantastic. Very cool project.
48.
▲
by
mattdesl
2y ago
Much simpler than the paper, but I have a 3D screen space implementation here[1]. [1] https://mattdesl.svbtle.com/drawing-lines-is-hard
49.
▲
by
mattdesl
2y ago
Looks great. How are you encoding the video into MP4? Ffmpeg with wasm? Or WebCodecs? I’ve struggled to find a pure client-side encoder that is as fast, lightweight and high quality (in terms of lossiness) as what I had going with mp4-h264[
50.
▲
by
mattdesl
2y ago
Looking forward to using this. Curious about how far away WebGPU/WASM support might be, it could provide a single cross-platform backend.
51.
▲
by
mattdesl
2y ago
Nice intro! Readers may also appreciate my post “Pen Plotter Art & Algorithms” here: https://mattdesl.svbtle.com/pen-plotter-1
52.
▲
Decentralizing Social Media with CRDTs and Blockchain
(varunsrinivasan.com)
2 points
by
mattdesl
2y ago
|
0 comments
53.
▲
by
mattdesl
2y ago
Digital ID that I’m describing would be a way to avoid the current awful status quo of uploading your passport online (which, in the UK, has become common for things like banking, immigration, and other services). I’m not sure what your i
54.
▲
by
mattdesl
2y ago
having a cryptographic government-backed digital ID could really be a great and privacy-preserving feature of modern society. for example: ZK proofs are now practical, and could improve upon the status quo of sending a digital JPG of a scan
55.
▲
by
mattdesl
3y ago
Not quite the case anymore—rollup fees are often below $0.05 per transaction.[1] [1] https://www.gasfees.io/
56.
▲
by
mattdesl
3y ago
In Sweden they sell bucketloads of saffron for basically a euro or two per pack. The equivalent in UK stores would have a 10x markup at least. It seems like an industry that somebody could easily capitalize on, unless there is some trade or
57.
▲
by
mattdesl
3y ago
You are right. I was mistakenly thinking that the alternative (naive approach) would be to write the promise-creating tasks within the for loop, but if they are not part of the loop, the functionality is basically equivalent to Promise.all.
58.
▲
by
mattdesl
3y ago
To do parallel tasks in a loop for the situation I outlined (getting a final array of images from URIs), it would be really cumbersome, and your implementation would be pretty much equivalent to the inner workings of Promise.all. As others
59.
▲
by
mattdesl
3y ago
I often map a series of X to Y with Promise.all. For example, mapping a series of image URIs to loaded Image elements. It is shorter to write than a for of loop, and importantly, all images will be loaded in parallel rather than sequentiall
60.
▲
by
mattdesl
3y ago
Lots of that advanced math research finds its way into practical engineering (cryptography, digital media, compression, physics, AI, and so on). The average layperson does not care about mathematics, period. You may see a similar situation
More ›