Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazzargh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
bazzargh
1y ago
I managed to get some decent results using this algorithm (not at my own computer so can't post code, yet): - create a smaller greyscale copy of the image, and use sobel to calculate gradients (smaller to speed this up) - set a gradien
32.
▲
by
bazzargh
1y ago
While this is nice enough, it bothers me that these don't look much like "art". If you look at real roman mosaics, they do not place points in a grid - they use a technique called "opus vermiculatum" https:/&#
33.
▲
by
bazzargh
1y ago
This is frustratingly difficult to understand from the site because they never include a human in the photos for scale (though the text says it's 3m in diameter). This video is a bit better https://www.youtube.com/watch
34.
▲
by
bazzargh
1y ago
Back in... 2006ish? I got annoyed with being unable to copy text from multicolumn scientific papers on my iRex (an early ereader that was somewhat hackable) so dug a bit into why that was. Under the hood, the pdf reader used poppler, so I m
35.
▲
by
bazzargh
2y ago
When I saw this I thought... "The Turing Institute? Does that still exist?" https://en.wikipedia.org/wiki/Turing_Institute There was a previous Turing Institute in Glasgow doing AI research (meaning, back the
36.
▲
by
bazzargh
2y ago
it's a bit odd at the end referring to "a German high school teacher and amateur decipherer who, in 1802, looked at Aramaic-related inscriptions..." without naming him like everyone else mentioned - that is Georg Friedrich Gr
37.
▲
by
bazzargh
2y ago
I got better results just dithering the rgb channels separately (so effectively an 8 colour palette, black, white, rgb, yellow, cyan, magenta). In p5js: var img var pixel var threshold var error = [0, 0, 0] var a0
38.
▲
by
bazzargh
2y ago
I made a terminal based presentation tool some years back and like sibling comments said, it was neat for switching back and forth to code samples and output. Mine wasn't markdown tho: I used ttyrec to record a terminal session to a fi
39.
▲
by
bazzargh
2y ago
The comment about world events not being what matter in our lives is accurate (world events don't generally happen to us personally-fortunately) but it got me thinking, it might be nice to see some of these done for historical figures,
40.
▲
by
bazzargh
2y ago
A similar thing from many years back: the junkyard jumbotron let you assemble a random collection of displays to display their portions of a much larger image https://github.com/mitmedialab/Junkyard-Jumbotron Video ht
41.
▲
by
bazzargh
2y ago
In the text of the act, schedule 1 part 1 paragraph 10 https://www.legislation.gov.uk/ukpga/2023/50/schedule/1/para... ... unlike the issue of what size of service is covered, this isn't a pink
42.
▲
by
bazzargh
2y ago
Worth mentioning that the lawyer who runs onlinesafetyact.co.uk, Neil Brown, has its onion address in his profile. https://mastodon.neilzone.co.uk/@neil http://3kj5hg5j2qxm7hgwrymerh7xerzn3bowmfflfjovm6hycbyfuhe6
43.
▲
by
bazzargh
2y ago
this is something you should read https://extremelearning.com.au/unreasonable-effectiveness-of... (it's effectively the fermat prng described, but goes into more depth)
44.
▲
by
bazzargh
2y ago
Not animated or svg, but along the same lines, some years ago I wrote https://bazzargh.github.io/stripmap/ which automates generating stripmaps. The idea was to eventually use this for travelogues of my cycling trips;
45.
▲
by
bazzargh
2y ago
Is that not very dead? I remember trying to order some gifpop stuff back in 2021/22 and they were gone by then. I see the "make your own" page on the site is broken, the blog entries are from 2017 (hover over the bottom of ea
46.
▲
by
bazzargh
2y ago
there's an approach missed in that article lying between ordered dither and diffusion approaches - low discrepancy sequences https://web.archive.org/web/20180830004622/https://extremele... I'm
47.
▲
by
bazzargh
2y ago
I wondered why the page was full of blank areas, it's because of this: https://caniuse.com/hevc ... the videos are hevc-encoded and don't work for me in eg firefox. (I can see them if I switch to chrome) per ffmpe
48.
▲
by
bazzargh
2y ago
That approximation is only used in the USA, Liberia, and Myanmar tho. In the rest of the world, we use the metric maritime approximation, π * φ km = e nm
49.
▲
by
bazzargh
2y ago
while I was joking, the code behind that can be run locally: https://github.com/rastapasta/mapscii ... it supports pointing at any public or private vector tile server, and does support supplying a starting coordinate
50.
▲
by
bazzargh
2y ago
telnet mapscii.me :)
51.
▲
by
bazzargh
2y ago
Here's one I did for the bbcmicrobot using a Chaos Game approach https://bbcmic.ro/?t=8W1n6
52.
▲
by
bazzargh
2y ago
A fun one like that, a few years back we had some code using dynamodb that used the automatic point-in-time backups. I asked if it had been tested, need you guess the reply? Of course it turns out that the restore can only happen to a _new
53.
▲
by
bazzargh
2y ago
A common thing in JSON/YAML alternatives is to support more types through syntax. I don't think this is a good idea. YAML already did this badly with the Norway problem, but JSON also has issues with eg "is it float or int&qu
54.
▲
by
bazzargh
2y ago
"But Daniel," emailed Pagliacci, tears in his eyes, "I am the IT department" Seriously the number of times I've seen companies lay off the only person who knew anything about X without realising they'd been dea
55.
▲
by
bazzargh
2y ago
I do sympathise somewhat with that view, but I disagree. To be valid in as many browsers as possible, and as many back-end systems too, serialize() would have to take the _narrowest_ view of the spec possible. If you make cookies that stray
56.
▲
by
bazzargh
2y ago
btw, technically that leading dot in the domain isn't allowed and will be ignored; https://www.rfc-editor.org/rfc/rfc6265#section-4.1.2.3 ... this came up recently after I tightened the validation in jshttp/c
57.
▲
by
bazzargh
2y ago
that was the day they officially announced the change to how blocking worked, notifying all users (the owner had mused about it a month earlier)
58.
▲
by
bazzargh
2y ago
Previously https://news.ycombinator.com/item?id=41993084 (tho mine was the only comment last time)
59.
▲
by
bazzargh
2y ago
Keith Packard made a very small font, Twin, based on the Hershey fonts, that could be easily embedded in other code. The paper describing it is here: https://keithp.com/~keithp/talks/twin-ols2005/twin_ols2005.
60.
▲
by
bazzargh
2y ago
https://hachyderm.io/@bazzargh/111891925700326448 writing code for the bbc microbot has always been a fun challenge - you have to fit your code inside a toot (formerly a tweet) tho it does have some tricks to help you
More ›