Better HN
topnewbestaskshowjobs
Log inSign up

ctcliff

133 karma · joined Mar 31, 2011 (15y ago) · 25 submissions

Submissions

1.

Show HN: GeoTessellator, tessellated vector grids from OpenStreetMap geometry(christophercliff.com ↗)

2 points · by ctcliff · 7y ago · discuss

2.

Show HN: A higher-order React component for developing tree list UIs(github.com ↗)

3 points · by ctcliff · 8y ago · discuss

3.

Show HN: Underscore to Lodash Converter(christophercliff.com ↗)

4 points · by ctcliff · 9y ago · discuss

comment 9y ago · link · parent

I maintain a small open source library for managing payments websites that uses this architecture [1]. My Lambda costs have been about $0.04 per transaction.

Also you can provision AWS from the browser using a CloudFormation template and a Launch Stack URL [2].

[1]: https://github.com/christophercliff/flatmarket. [2]: https://github.com/christophercliff/flatmarket#automated-dep...

comment 9y ago · link · parent

An old stock art CD-ROM by Redouté.

comment 9y ago · link · parent

I developed a static site generator for e-commerce called Flatmarket: https://github.com/christophercliff/flatmarket

It lacks some of the features you'd get with a dedicated backend service but it's truly static and costs about $0.004/transaction on AWS Lambda (not including Stripe's take).

7.

Show HN: ANSPR0 near-shortest paths in the web browser with OpenStreetMap(christophercliff.com ↗)

3 points · by ctcliff · 10y ago · discuss

8.

Show HN: Dijkstra’s algorithm on OpenStreetMap with dynamic cost manipulation(christophercliff.com ↗)

8 points · by ctcliff · 10y ago · discuss

comment 10y ago · link · parent

I haven't, but even at this size the rendering is quite a bit slower than the calculation. For example, the delay on reload is almost entirely from rendering the shortest path tree.

comment 10y ago · link · parent

The geographic rendering APIs tend to be incompatible with the graphing algorithms and data structures. It's better to optimize your data on the server for algorithmic simplicity and convert to a render-friendly format at render time.

Also, immutability is great when you're juggling 1000s of lon/lat arrays.

11.

Show HN: Dijkstra’s algorithm in the web browser with OpenStreetMap(christophercliff.com ↗)

158 points · by ctcliff · 10y ago · 34 comments

12.

Show HN: Flatmarket, an open source e-commerce platform for static websites(github.com ↗)

4 points · by ctcliff · 10y ago · discuss

comment 10y ago · link · parent

Yeah, that was an unpleasant surprise when I started plugging in the street map data :D

I'm experimenting with other algorithms and will post some (hopefully) more interesting results soon.

14.

Show HN: Eppstein’s k shortest paths in the web browser with OpenStreetMap(christophercliff.com ↗)

39 points · by ctcliff · 10y ago · 6 comments

15.

Flatmarket: A secure e-commerce platform for static websites(github.com ↗)

2 points · by ctcliff · 10y ago · discuss

16.

A free, open source e-commerce platform for static websites(json.expert ↗)

1 points · by ctcliff · 11y ago · discuss

17.

Show HN: JSON Expert – Create Web APIs from the Files in Your Dropbox(json.expert ↗)

5 points · by ctcliff · 11y ago · 2 comments

comment 11y ago · link · parent

This setup assumes manual order fulfillment. If someone manipulates a charge, don't deliver the goods.

If you're doing 100s of transactions per day or automating fulfillment, it would be more appropriate to invest in a full-featured back end.

19.

A Free, Self-Hosted Back End for Stripe Checkout(json.expert ↗)

2 points · by ctcliff · 11y ago · 2 comments

20.

Show HN: A self-hosted service that deletes old tweets from your Twitter account(christophercliff.com ↗)

1 points · by ctcliff · 11y ago · discuss

21.

The Holy Grail of Static Website Hosting(json.expert ↗)

1 points · by ctcliff · 12y ago · discuss

comment 12y ago · link · parent

Loads of examples at http://highlandjs.org/.

comment 12y ago · link · parent

I wrote an npm module to automate this workflow. You can read about it at http://caisson.co/.

Simplifies the process to a couple commands:

  $ caisson init yoursite.com
  $ caisson push

24.

Show HN: Deploy your static website to AWS with Caisson(caisson.co ↗)

3 points · by ctcliff · 13y ago · discuss

comment 15y ago · link · parent

It's just a convention for writing jQuery chains. The code is easier to debug because each method is kept on a separate line.

Of course this is trivial if there's only one method in the chain...