Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
audreyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
audreyt
12y ago
Nice catch, thank you! I've styled the cell/sheet save buttons so it stands out better as of https://github.com/audreyt/ethercalc/commit/1e819ebf and released to npm as of 0.20140804.1 — Shift-refre
32.
▲
by
audreyt
12y ago
Yup, making the "drop" a click-to-upload FileReader handler on line 214 would be great. The place to patch is here: https://github.com/audreyt/ethercalc/blob/master/start.html#... — Looking for
33.
▲
by
audreyt
12y ago
Glad you like the social collaboration part! Re UI, each cell supports basic WikiText, and clicking the "Format" tab next to the default "Edit" shows the Format:Text dropdown that one can change to "HTML" and t
34.
▲
by
audreyt
12y ago
Yes, we really need UX assistance. :-) Tracy Ruggles helped getting a better formatting UI (modeled after CKEditor at that time) for Socialtext — screenshot at https://www.socialtext.net/help-en/socialcalc_move_source_e
35.
▲
by
audreyt
12y ago
Update: For folks interested in learning ReactJS, a version is available at https://github.com/audreyt/500lines/blob/master/spreadsheet/... — the demo at https://audreyt.github.io/50
36.
▲
by
audreyt
12y ago
Comparing the ES5-DOM-only version: https://github.com/audreyt/500lines/tree/master/spreadsheet/... with with the AngularJS-with-ES5 version: https://github.com/audreyt/500lines
37.
▲
by
audreyt
12y ago
Understood. Not meant as a show-off, but for people interested in comparing DOM-only versus AngularJS styles, here is a version that uses only DOM functions: https://audreyt.github.io/500lines/spreadsheet/as-withou
38.
▲
by
audreyt
12y ago
Thanks! Here is the version — by popular demand — that only uses DOM methods and does not use Angular, still clocking at 99 lines: https://audreyt.github.io/500lines/spreadsheet/as-without-an... I have joined some
39.
▲
by
audreyt
12y ago
Glad you liked it! This is my first serious attempt at "literate programming" style writing; it did take many attempts re-arranging the functions in logical order for the prose to make sense. In my previous writeups such as http:
40.
▲
by
audreyt
12y ago
Fair point. I should have explained the context better; this is for "500 Lines or Less", the fourth in the Architecture of Open Source Applications series, aimed more at new students than professional programmers, so separation of
41.
▲
by
audreyt
12y ago
Hi, thanks for the feedback! Sorry if it comes across as bragging; the line count is kept minimal both to reduce reader's cognitive burden, and make inline commentary feasible. Technically, Web Worker is not a library, and Traceur is u
42.
▲
by
audreyt
12y ago
There's http://ethercalc.net/ — the subject of the spreadsheet chapters in two previous volumes of Open Source Architecture series at http://aosabook.org/ . EtherCalc is mostly in maintenance mode at th
43.
▲
by
audreyt
12y ago
The work by you, @aemkei et al was the inspiration for this chapter. :-) Back when it appeared on HN, the first thing I entered was =(function(){for(;;){}})() — which predictably froze the browser. Trying to find a sufficiently-robust way a
44.
▲
by
audreyt
12y ago
Thanks! The aim for the chapter is indeed to show how ES6 and AngularJS simplify a typical web application like this. The version at https://github.com/audreyt/500lines/tree/master/spreadsheet/... h
45.
▲
by
audreyt
12y ago
Indeed. https://github.com/audreyt/500lines/tree/master/spreadsheet mentions AngularJS and ES6 upfront, but in retrospect it'd be better to mention them in the title too. Thanks for the reminder!
46.
▲
Show HN: Web Spreadsheet in 99 lines
(github.com)
76 points
by
audreyt
12y ago
|
36 comments
47.
▲
by
audreyt
12y ago
Part of the motivation behind PgREST is to get a reusable and generic enough upsert implementation as a stored procedure; see https://github.com/pgrest/pgrest/blob/master/test/upsert.ls for details.
48.
▲
by
audreyt
12y ago
Well, http://pgre.st/ was posted 167 days ago here — https://news.ycombinator.com/item?id=6818284 — that's how we do everything in PostgreSQL without having to turn to another language :-) It's li
49.
▲
by
audreyt
12y ago
TL;DR: We refactor Scripts into Programs through sharing reusable Code to build maintainable systems. We can also refactor Social Scripts into Social Programs through sharing Codes of Conduct to build maintainable communities.
50.
▲
by
audreyt
12y ago
"They" is just me and our wonderful & kind contributors. :) EtherCalc was, is, and will remain a F/OSS infrastructure project, not a business enterprise.
51.
▲
by
audreyt
13y ago
I'd just like to thank the loomio team for supporting Taiwan's #CongressOccupied activities as chronicled in http://0sdc.tw/en — you played a key part in ensuring a safe and successful process, and will likely hel
52.
▲
by
audreyt
13y ago
http://g0v.today/congressoccupied/https%253A%252F%252Fg0v.ha... has some background information in English.
53.
▲
by
audreyt
13y ago
I've built an app that worked well with Cordova: https://play.google.com/store/apps/details?id=org.audreyt.di... ( Source: https://github.com/g0v/moedict-app/ ; Context: http:/
54.
▲
by
audreyt
13y ago
Io and behold — lambic pentameter. (lo, as in a lota; lambic, as with an Iamb.)
55.
▲
by
audreyt
13y ago
Well, for some, trans* is their preferred gender. That is, the experience of transition forms part of their identity. Compare, say, people who self-identify as "German-American" instead of simply "American".
56.
▲
by
audreyt
13y ago
http://www.isna.org/faq/frequency
57.
▲
G0v Taiwan – Dismantling our Government and Building it Anew
(g0v.asia)
1 points
by
audreyt
13y ago
|
0 comments
58.
▲
Reclaiming Our Language
(pugs.blogs.com)
2 points
by
audreyt
13y ago
|
0 comments
59.
▲
by
audreyt
13y ago
One possible solution to introduce threads to JS is to isolate threads from each other and use only message-passing: https://github.com/audreyt/node-webworker-threads/
60.
▲
by
audreyt
13y ago
The default Lazy IO issue has been addressed in pipes-bytestring: http://www.haskellforall.com/2013/09/perfect-streaming-using... The pipes ecosystem ( http://www.haskell.org/haskellwiki/Pipes
More ›