Better HN
topnewbestaskshowjobs
Log inSign up

benjaminogles

27 karma · joined Jan 24, 2019 (7y ago) · 13 submissions

Submissions

comment 1d ago · link · parent

I'm also curious why linearizability might be desirable over a weaker guarantee (IIUC) like sequential consistency? Apologies if this question doesn't make sense. Based on my googling, linearizability is a stricter requirement than just staying consistent with some global ordering of the interleaved operations.

comment 1d ago · link · parent

Any stories yet of your property based tests and/or shuttle based tests exposing surprising bugs that required a particular thread schedule and particular sequence of operations?

I've always been curious whether there was a way to specify the behavior of a concurrent data structure in something like an LTL to prove it correct without having to implement a reference implementation or write an invariant checker. Although I guess the spec itself plays the role of a reference implementation if it is that sophisticated.

comment 1y ago · link · parent

I feel the same about using Awk, it is just fun to use. I like that variables have defined initial values so they don't need to be declared. And the most common bits of control flow needed to process an input file are implicit. Some fun things I've written with awk

Plain text accounting program in awk https://github.com/benjaminogles/ledger.bash

Literate programming/static site generator in awk https://github.com/benjaminogles/lit

Although the latter just uses awk as a weird shell and maintains a couple child processes for converting md to html and executing code blocks with output piped into the document

comment 5y ago · link · parent

https://github.com/tpope/vim-surround

comment 5y ago · link · parent

I experienced the same thing. Waiting for recommendations from similarly minded people helped me get past it.

I didn't read any non-fiction for a long time before I was given a book as a gift [0] that was really good. Since then, I have received a few other recommendations that I enjoyed [1-2].

[0] Artificial Intelligence by Melanie Mitchell

[1] Algorithms to Live By by Brian Christian and Tom Griffiths

[2] The Theoretical Minimum Series by Leonard Susskind

6.

Show HN: Scripts for managing personal finance in plain text(github.com ↗)

3 points · by benjaminogles · 5y ago · discuss

7.

Show HN: Offline desktop app for budgeting grocery lists(github.com ↗)

13 points · by benjaminogles · 6y ago · discuss

8.

Ask HN: Open-source projects in need of optimization work?

1 points · by benjaminogles · 6y ago · discuss

9.

Show HN: Vim plugin for managing tasks and agendas in plaintext(github.com ↗)

2 points · by benjaminogles · 6y ago · discuss

comment 7y ago · link · parent

Good question, my main motivation is to learn more about how such a system would work. I am interested in signal processing and especially radar like systems so implementing one would be a fun experience.

In general, systems based on radar are trying to replace wearables for sleep states tracking, elderly fall detection etc. But I'm not sure yet what other applications it might have. The ability to track my location just seemed like a good first step.

11.

Ask HN: Best technologies for indoor position tracking?

23 points · by benjaminogles · 7y ago · 11 comments

comment 7y ago · link · parent

I have not read the paper yet but the abstract says that they compared two hardware adders synthesized from C++ code. It seems like a fair comparison but I wonder whether it might be possible to hand design a much more efficient posit adder that is more competitive with hand designed floating point adders. I can see how the number of lookup tables used in synthesis would be proportional to the number of gates used on a dedicated chip though so maybe there would be no difference in comparing hand optimized adders on ICs.

13.

How Thread Sanitizer Works(benjaminogles.github.io ↗)

2 points · by benjaminogles · 7y ago · discuss