Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
edwintorok
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
edwintorok
4y ago
Make sure to check out the new chapter on parallelism too that is linked from the release notes: https://v2.ocaml.org/releases/5.0/manual/parallelism.html
32.
▲
by
edwintorok
4y ago
Can the stage1 wasm binary be reproduced by the stage2 or stage3 executable? Aside from a "trusting trust" type of attack that seems fine, and every modern distro relies on some bootstrap binary for C compilers anyway (usually old
33.
▲
by
edwintorok
4y ago
Interesting that it does ECC on blocks of 64 byte instead of 64-bit, freeing up some of the bits in ECC RAM to be used for other things like extra tag bits.
34.
▲
by
edwintorok
4y ago
Not my project, but the source code seems to be here https://github.com/ardov/huetone If it seems useful to you try reaching out to them on a GitHub issue and see whether they'd be willing to implement the missing
35.
▲
by
edwintorok
4y ago
Colorbrewer2.org has a colourblind safe version. https://peterkovesi.com/papers/ColourMapsForColourBlindIAMG2... talk about designing colormaps in the colorspace of a particular colorblindness (instead of checking whet
36.
▲
by
edwintorok
4y ago
You can use OKLch and APCA with that huetone website. See the gear icon in top right. I don't think your efforts are obsolete though, the 2 approaches could be combined IIUC your approach is based on computing values based on color sci
37.
▲
by
edwintorok
4y ago
Zenbones allows to define custom color schemes by providing just a few base colours and overrides. You could try creating one based on penumbra to have both lightness contrast and distinct hue. However note that it is quite difficult to get
38.
▲
by
edwintorok
4y ago
Try https://huetone.ardov.me/ for a tool based on vision science guidance.
39.
▲
by
edwintorok
4y ago
I like that this uses OKLab instead of hsv/HSL that some colormaps use (which are not based on color theory). It would be nice if this used the upcoming WCAG3 contrast algorithm https://www.myndex.com/APCA/ and en
40.
▲
by
edwintorok
4y ago
FWIW comments are quite an important part of reading code, it should not be hidden, at least when comments are used for documentation purposes. It shouldn't be as prominent as the main code, but should be pretty close to it. Very few c
41.
▲
by
edwintorok
4y ago
You can also generate Vega(lite) JSON: https://vega.github.io/vega-lite/ And then pick your favourite language/library that generates that : https://vega.github.io/vega-lite/ecosystem.html If
42.
▲
by
edwintorok
4y ago
Would BPCA[0] be a good compromise? If you pick color combinations that pass both the APCA defined level and the WCAG2 level then it should be "compliant on paper" with WCAG2, and actually readable in practice thanks to also being
43.
▲
How Zutty Works: Rendering a Terminal with an OpenGL Compute Shader
(tomscii.sig7.se)
2 points
by
edwintorok
4y ago
|
0 comments
44.
▲
by
edwintorok
5y ago
* exceptions for error handling: you can also use the 'result' type (an OK of 'a|Error of 'b type in the stdlib) if you don't like exceptions. At least the function's signatures will give more details in how it
45.
▲
by
edwintorok
5y ago
In that case interoperability with Go libraries might be better: just running on the same runtime wouldn't bring many advantages (other than having a single GC instead of 2) without being able to easily call libraries written in anothe
46.
▲
by
edwintorok
5y ago
I think the challenge will be how to convert existing C FFI/stubs to work correctly with code that wants to take advantage of multicore(domain) capabilities. i.e. previously some code could've in theory assumed it only ever gets c
47.
▲
by
edwintorok
5y ago
It would be better if it used fstatat instead of regular stat calls. On a deeply nested directory it can make a difference (e.g. a single-threaded 'find' easily beats a parallel 'fd' with warm caches on my machine, '
48.
▲
Rust for the Polyglot Programmer
(diziet.dreamwidth.org)
4 points
by
edwintorok
5y ago
|
0 comments
49.
▲
by
edwintorok
5y ago
Actually looks like if you pass multiple files to zstd it'll compress them individually, it won't create an archive, so tar or sqlite format would still be useful there.
50.
▲
by
edwintorok
5y ago
`zstd` and `zlib` as the only 2 supported formats would be enough for me (zstd for state of the art, fast compression and decompression, with choice of high compression ratios if needed; and zlib for backward compatibility/portability)
51.
▲
by
edwintorok
5y ago
Would be interesting if this was expanded to support more compression formats. E.g. zstd. Gzip is quite an old format and zstd is a lot quicker to decompress.
52.
▲
by
edwintorok
5y ago
Yeah I was sort of expecting to have accelerated crypto, given the EAR export declaratioj I had to sign in order.l to buy this. If the CPU doesn't have any crypto implemented, what does? Some signature checking in the firmware?
53.
▲
by
edwintorok
5y ago
I have the Hifive Unmatched board with an AMD GPU and anything graphics related is extremely slow, to the point that launching and using a browser is unusably slow (I mostly use it via SSH). Might be related to the low amount of PCIe bandwi
54.
▲
by
edwintorok
5y ago
https://ispc.github.io/ it is interesting that ispc is also LLVM based.
55.
▲
by
edwintorok
5y ago
Citrix | Senior Hypervisor Engineer, Software Engineer - Functional Programming, Lead Software Quality Engineer | Cambridge UK | Full-time | Hybrid ONSITE/Remote Citrix's goal is to enable everyone to work from anywhere, any time,
56.
▲
by
edwintorok
5y ago
https://unsat.cs.washington.edu/projects/yggdrasil/ also the name of this tool.
57.
▲
by
edwintorok
5y ago
So this is the system described in [0], which I've been curious about for a while, but wasn't readily available. It'll be interesting to see how this compares or complements tools like Dendron. The style also reminds me of t
58.
▲
Regulate third-party food delivery providers – Petitions
(petition.parliament.uk)
1 points
by
edwintorok
5y ago
|
0 comments
59.
▲
by
edwintorok
6y ago
Deliveroo takes a very high commission (54% in one case [0]), and that is a commission on the total order value, not the delivery charge! I was not aware that Deliveroo takes so much away from restaurants, had I known I would've used i
60.
▲
by
edwintorok
6y ago
Not just the US, the UK has credit scoring too, there I think 3 credit scoring agencies. When I moved here from Europe the entire notion of credit card and credit scoring was new to me. I still use my debit card whenever possible though, ju
More ›