HNHacker News
TopNewBestAskShowJobs

sritchie

1,029 karma · joined June 2, 2011

I hack Clojure and Scala. Formerly Twitter, formerly Stripe. Founder of PaddleGuru and RacehubHQ.

Blog: https://samritchie.io

[ my public key: https://keybase.io/sritchie; my proof: https://keybase.io/sritchie/sigs/_TS462cmjfImFbiWim_Fn5sGsIBqvrf20BpHEYUnNt0 ]

submissionscomments
sritchie··on Hush: Noiseless Browsing for Safari
If someone gets into that situation, isn’t this exactly what you’d hope they’d be spending their time doing, for the rest of our sakes?
sritchie··on Lispsyntax.jl: A Clojure-like Lisp syntax for julia
A couple years into fatherhood and I see puns everywhere, and suspect others of dropping them too.

Particularly Rich... Hickey?

sritchie··on How fast does interpolation search converge?
This sounds like Brent’s method for root finding! Also very similar is his method for Unitarians minimization. I ported this into Clojure recently from Python / FORTRAN... not quite literate programming but well documented if you want to give it a peek. https://github.com/littleredcomputer/sicmutils/blob/master/s...
sritchie··on Exotic Programming Ideas, Part 2: Term Rewriting
If anyone wants to play with these ideas in Clojure(script), take a look at the SICMUtils project: https://github.com/littleredcomputer/sicmutils

I picked up co-maintenance on this project a few months ago; it's a Clojure port of the computer algebra system behind Sussmans' "Structure and Interpretation of Classical Mechanics" [0] and "Functional Differential Geometry" [1], and can run all the code from those books. (I'm currently working on integrating it into https://Maria.cloud so all of this will be usable from the browser.)

`sicmutils.generic.simplify` plugs in to a rule-based term rewriting system like Mathematica's, along with polynomial and rational function simplification.

The core idea of the library is that if you build everything on top of extensible generic arithmetic operators (multimethods in Clojure), then a lot of good stuff shows up for free:

- If I implement all the operations for symbols, I get a symbolic arithmetic system for free. - Extend the generics to Dual numbers[2]? Boom, forward-mode AD pops out!

I'm getting carried away. Check it out, get your term-rewriting fix.

[0] https://mitpress.mit.edu/books/structure-and-interpretation-... [1] https://mitpress.mit.edu/books/functional-differential-geome... [2] https://en.wikipedia.org/wiki/Dual_number

sritchie··on Stripe Climate
If anyone from Stripe is reading - is it possible yet for me to simply donate money to the portfolio you’ve assembled without running a business? We purchase monthly offsets now and I’d love to switch to funding direct carbon capture (and will happily spend more).
sritchie··on Asteroids: By the Numbers (2019)
I’m guessing this means half its size along one dimension - if I have a square of side length 2, I can break it into 4 unit squares (or 2 rectangles as you said).
sritchie··on How to become a good theoretical physicist
Amazing. I’m actually building this exact thing now at https://GitHub.com/sritchie/sicm for that book, and working on a port of https://github.com/littleredcomputer/sicmutils to Clojurescript to power this exact style of interactive textbook in the browser. I’d love to talk more if you’re interested in teaming up, or talking about any of this in more detail.
sritchie··on Discovering Dennis Ritchie’s Lost Dissertation
I have a copy of Views! Away from home for a few days but I can post pics of the three posters when I make it home.
sritchie··on Show HN: Caliban, dead-easy Dockerized research workflows locally and on Cloud
Hey all, Caliban author here. Caliban is a tool that helps ML researchers launch and track their numerical experiments in an isolated, reproducible computing environment. We built this at Google to try and remove the heavy friction that always accompanies a move from interactive development -> local model training -> Cloud.

Caliban will dynamically build Docker containers for your code, without you having to know anything about Docker, and then execute that container for you in a variety of different modes.

Full docs live here: https://caliban.readthedocs.io/en/latest/ We wrote a small tutorial here: https://github.com/google/caliban#getting-started-with-calib...

Hope this helps folks out there with their ML research! Happy to answer any questions that come up.

sritchie··on Unix: A History and a Memoir, by Brian Kernighan
I can report that this is not true in this case - Brian wrote his book over the summer and, I think, wanted to get it out for the Unix 50 event at Bell Labs this past week.
sritchie··on South Korea accepts geothermal plant probably caused destructive quake
One way is wind loading... snow falling in a storm gets blown around and piles up on a slope that's already loaded. Another type - a wet slab avalanche - triggers when the sun melts snow and causes water to flow between the various layers in the snowpack, causing two layers to slide.

The goal of the bomb is to thump the snow hard enough that if any weak layers of snow exist below a hard slab of solid snow, the slab will crack, slamming air through the weak layer, breaking the support of the rest of the slab and causing a slide.

Naturally occurring avalanches usually need some obvious change of force on the snowpack, or some reason why a weak layer becomes weaker. I'd guess that a sonic boom, or definitely a scream, couldn't do enough in almost any situation to tip the balance.

sritchie··on Cycle.js – A functional and reactive JavaScript framework for predictable code
I think the poster is assuming that .startWith(“) returns a Boolean, yeah?
sritchie··on Supporting Hypothesis
I'm the guilty party, though not of the "Ruby engineer" title... these days I'm a Python developer that identifies as a Scala developer :)

I botched the copy pasta of the embedded code snippet container. All fixed up!

sritchie··on What It's Like to Be Noam Chomsky's Assistant
Have you read Sam Harris's post on the dialogue? With Chomsky's permission he posted both sides, and Chomsky does come across as overly rabid:

http://www.samharris.org/blog/item/the-limits-of-discourse

sritchie··on Ritchie language: power of C and convenience of a high-level language
speaking as a Ritchie, I wholeheartedly approve.
sritchie··on Homing in on the Source of Runner’s High
That sounds like you're using some disgusting city block as a treadmill. Check out Trailporn for some alternative venues: http://www.trailporn.com/
sritchie··on Contributing to Clojure
Have you contributed to an Apache project?
sritchie··on 2048 AI
Boom, 13,068 points and 2048! I'm feeling some pride in my AI.

http://cl.ly/image/3G1a0e1T0Q2O

sritchie··on Show HN: Simple Race Registration (Haskell, PostgreSQL, JS)
sam at paddleguru dot com, btw.
sritchie··on Show HN: Simple Race Registration (Haskell, PostgreSQL, JS)
Nice! I've been working on PaddleGuru for some time now: https://paddleguru.com/. Similar idea, more geared toward paddling races. We're using a full-stack Clojure back end. Would love to chat sometime about your longer term goals.
sritchie··on Twitter is built on open source software
A scala type hierarchy DOES feel a bit like a pillow fort on a blustery day.
sritchie··on Twitter is built on open source software
I built a number of those open source libraries (Summingbird, Storehaus, Algebird, etc) - often more than 50% of our contributions would come from outside Twitter. Scalding has far more outside activity than inside, where a few talented folks are holding down the fort.
sritchie··on The CAP Theorem FAQ
Didn't Nathan Marz debunk the CAP theorem just last year? http://nathanmarz.com/blog/how-to-beat-the-cap-theorem.html
sritchie··on Matrix Multiplication in Clojure vs Numpy
Ah, this is really interesting. I knew that far more work had gone into the code NumPy rides on (of course), but not really much more than that.

I rewrote my clojure code to use JBLAS (jblas.org) and found stunning improvements: https://gist.github.com/264a2756fc657140fdb8

sritchie··on Distributed Buddhabrot Fractal in ClojureScript
It'd be interesting to push a version of this up to Heroku and see what the Hacker News community can generate.
sritchie··on Dennis Ritchie: The Shoulders Steve Jobs Stood On
I think the "like many phones" point is key. The iPhone pulled everything in this direction.
sritchie··on How to beat the CAP theorem
I think the point here is that nodes don't accept these random writes; any error that's introduced into a system with this structure is fixed on recompute.
sritchie··on Happy Birthday, Dennis Ritchie (from Penn Jillette)
Another post from the family -- this is Penn Jillette's 70th birthday message to Dennis. (Penn, hope you're okay with me posting this. Dennis loved it.)
sritchie··on Lesser-Known Dennis Ritchies
This one's from the family. Uncle Dennis was particularly proud of his association with the the band "Stale Urine".
sritchie··on Getting Creative with MapReduce
Hey, if it works, no problems here.

Personally, I've found it really helpful to be able to think of and test queries as pure functions (without side effects related to data storage). Composable, pure queries keep our code base really small, and allow us to code and test features in hours.

I end up writing and testing a lot of queries that I never use in production, but it's this play that allows the good stuff to bubble up.

← PreviousPage 3 of 4Next →