Better HN
topnewbestaskshowjobs
Log inSign up

healeycodes

782 karma · joined Jan 12, 2018 (8y ago) · 94 submissions

I write about software @ https://healeycodes.com

My email is on my home page at the bottom.

Submissions

comment 5y ago · link · parent

> It seems the only way to protect against theft is to ride an old bicycle.

I like this blog on that topic:

https://calpaterson.com/bicycle-threat-model.html

> One father I know had his primary-school-age daughter "decorate" his commuting bicycle with girly stickers and pink glitter. If anyone examines his bicycle closely he looks like a complete loon but I think his motivation is right: it's going to be much less appealing to steal when it's covered in Miffy stickers.

62.

Spotify Codes – Part 2(boonepeter.github.io ↗)

126 points · by healeycodes · 5y ago · 16 comments

comment 5y ago · link · parent

If anyone wants to PR a fix for more browsers please do! (https://github.com/healeycodes/doom-checkboxes/issues/1). Otherwise, I'll probably look into this tomorrow.

64.

Doom Rendered via Checkboxes(healeycodes.com ↗)

212 points · by healeycodes · 5y ago · 33 comments

65.

Porting Niceware to Rust(healeycodes.com ↗)

1 points · by healeycodes · 5y ago · discuss

66.

Creating the Golfcart Programming Language(healeycodes.com ↗)

1 points · by healeycodes · 5y ago · discuss

67.

Listening to Satellites with My Raspberry Pi(healeycodes.com ↗)

4 points · by healeycodes · 5y ago · discuss

comment 5y ago · link · parent

These days? Perhaps some niche area.

From the paper's abstract:

> the algorithm uses storage in a way that permits an efficient use of magnetic tape

comment 5y ago · link · parent

The "Boyer–Moore majority vote algorithm" is also very neat.

It's the optimal solution to https://leetcode.com/problems/majority-element/ – as in it's required to solve the problem in linear time and in O(1) space.

comment 5y ago · link · parent

They are the colored threads that you stitch with. DMC is a brand but it’s also the colloquial term for the fixed set of colors that are commonly used and sold.

I’ll see if I can make that clearer — thanks.

comment 5y ago · link · parent

I welcome any improvements to my naive exploration in this article!

I've received two emails from readers:

- One suggested converting RGB to a color space that better matches human visual perception, like CIELAB.

- Another suggested compressing the color space by using K-means clustering (by guessing K as the number of threads)

72.

Computer vision and embroidery(healeycodes.com ↗)

65 points · by healeycodes · 5y ago · 13 comments

73.

GeoGuessing with Deep Learning(healeycodes.com ↗)

109 points · by healeycodes · 5y ago · 25 comments

comment 5y ago · link · parent

I use https://www.goatcounter.com and recommend it.

75.

WebAssembly Search Tools for Static Sites(healeycodes.com ↗)

3 points · by healeycodes · 5y ago · discuss

comment 5y ago · link · parent

(n.b. I gave feedback on an early draft of this book.)

It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book.

comment 5y ago · link · parent

I tried to code up Markov chains when I was first learning to program but I found that many resources didn't have clear/terse enough code snippets. Most articles also didn't walk you from zero to understanding.

So I'm trying to fill that gap and help out anyone who is trying to learn the basics.

78.

Generating Text with Markov Chains(healeycodes.com ↗)

72 points · by healeycodes · 5y ago · 22 comments

comment 5y ago · link · parent

I've read that .xyz domains (specifically email from .xyz domains) are blocked by default by some email providers because there has been so much spam from those domains historically (perhaps due to the price).

80.

Personal Websites and Internet Writing(healeycodes.com ↗)

5 points · by healeycodes · 5y ago · discuss

comment 5y ago · link · parent

It wouldn’t be very strong but you could use the evaluation rules that are used for move ordering (the ones that don’t require prior searching) https://www.chessprogramming.org/Move_Ordering

comment 5y ago · link · parent

(Author here) I also hope more hobby chess engine builders join the fun on lichess!

I recommend playing against https://lichess.org/@/TuroBot which is based on Alan Turing's https://en.wikipedia.org/wiki/Turochamp

I debugged my bot by playing it on lichess since I'm so used to the UI/analysis tools.

83.

Building My Own Chess Engine(healeycodes.com ↗)

4 points · by healeycodes · 5y ago · discuss

comment 5y ago · link · parent

I wrote about building the boids flocking simulation with Ebiten and deploying it with WebAssembly[0].

I found Ebiten very easy to build a simple project with. The project maintainer is helpful, kind, and highly responsive too.

There is a #ebiten channel in the Gophers slack that is quite active.

-

[0] https://healeycodes.com/boids-flocking-simulation/

85.

Writing Software for an Among Us League(healeycodes.com ↗)

1 points · by healeycodes · 6y ago · discuss

comment 6y ago · link · parent

I'm looking forward to listening to this one. My favourite so far as been the one on Clock Synchronization (https://signalsandthreads.com/clock-synchronization/)

> Clock synchronization, keeping all of the clocks on your network set to the “correct” time, sounds straightforward: our smartphones sure don’t seem to have trouble with it. Next, keep them all accurate to within 100 microseconds, and prove that you did -- now things start to get tricky. In this episode, Ron talks with Chris Perl, a systems engineer at Jane Street about the fundamental difficulty of solving this problem at scale and how we solved it.

It was so enthralling that I ordered a GPS receiver for my Raspberry Pi to bring high accuracy time to my flat!

87.

Learning the Ink Programming Language(healeycodes.com ↗)

3 points · by healeycodes · 6y ago · discuss

88.

Ink by Example(inkbyexample.com ↗)

1 points · by healeycodes · 6y ago · discuss

89.

Privacy Focused Analytics from Scratch(healeycodes.com ↗)

2 points · by healeycodes · 6y ago · discuss

1234