News for hackers. Stuff that matters.

srpeck

Re:The JVM is not that heavy on Thursday February 02, 2017 @11:27AM (#13551740)
Interesting. I had not seen FlatDoc (http://ricostacruz.com/flatdoc/) before. Similar purpose to what I was aiming for with Benchpress CMS (demo: https://srpeck.github.io/benchpress/ and repo: https://github.com/srpeck/benchpress). Not a huge fan of putting all the page-building client-side though and breaking the lightweight HTML web, regardless of how fast it can be.
Re:Ask HN: Are we overcomplicating software development? on Wednesday January 18, 2017 @04:21PM (#13430400)
Check out stats on the kOS/kparc project: https://news.ycombinator.com/item?id=9316091

There is also a more recent example of Arthur Whitney writing a C compiler in <250 lines of C. Remarkable how productive a programmer can be when he chooses not to overcomplicate.

Re:How to pick startup ideas (2015) on Tuesday November 08, 2016 @04:15PM (#12903998)
Concise version of the idea funnel:

1. Identify problem.

2. Market size?

3. Solution differentiation?

4. Price?

5. Profitability?

6. Execute: productize, place, promote.

Re:How to pick startup ideas (2015) on Tuesday November 08, 2016 @04:10PM (#12903973)
My notes on reading the overview linked in the parent.

Principles of Effectuation:

- Start with your means - possibilities originate from my means

- Focus on the downside risk - what can I afford to lose at each step?

- Leverage contingencies - surprises/"bad" news are clues to new markets (pivot)

- Form partnerships - early pre-commitments from stakeholders for venture co-creation

- Control vs. predict - focus on activities in my control, not predictions

Effectuation process for building new products, markets, and firms:

1. Means: who am I, what I know, whom I know

2. Goals: what can I do?

- Pursue goals within affordable loss

- Leverage surprises - may add to Means and change Goals

3. Interactions: interact with people, enlist co-creation to change original idea

4. Commitments: gather stakeholder/customer commitments to co-created/morphed idea

- New means - new resources add to Means

- New goals - new commitments help crystallize the Goals

I created EncryptedGist [1][2] to cover part of this use case. It gets me Vim backed by GitHub Gists on any machine I happen to be working on. Adding localStorage would be easy [3], but undesirable for my main purpose - I do not want any of my personal information remaining on the machine.

Edit: And just in case it wasn't obvious, I prefer to maintain my todo list/logs/notes/projects/bookmarks in a single plaintext file. Grows about 30k lines/year. Vim search/grep and some basic structuring/naming conventions go a long way.

Top of the file is my todo list with priority order of top 3 tasks. Next is a 'Waiting For' list. Last is a 'Projects' list for longer term, high-level categories. This fits on a single screen. Completed tasks, meeting notes, logs, bookmarks, etc., go below in chronological order and are all associated with a date. This system has worked well for the last decade or so with minor changes.

[1] https://github.com/srpeck/encryptedgist

[2] HN submission: https://news.ycombinator.com/item?id=12475070

[3] https://github.com/srpeck/encrypted

Microsoft solves this with RMS for Individuals: https://portal.aadrm.com/ (also called the RMS Sharing App, now getting rebranded to Azure Information Protection).

The recipient's identity is the key to opening the content - no need to communicate anything out-of-band. Depending on the file format chosen, you get DRM features limiting granular actions on the file beyond view/edit.

To open the protected files, your recipients will have to download/install the (free) app from Microsoft. This is generally pretty painless.

Definitely worth checking out, especially good for consultants' workflows.

Re:Show HN: Client-Side Encrypted Gist on Sunday September 18, 2016 @01:47PM (#12526244)
Added MIT license.
Re:Show HN: Client-Side Encrypted Gist on Sunday September 11, 2016 @03:15PM (#12475074)
I had the same need as SDEES (https://news.ycombinator.com/item?id=12441302), so I created a zero-install, client-side encrypted, browser-based editor using SJCL+CodeMirror in Vim mode.

Live link to try it out here: https://srpeck.github.io/encryptedgist/index.html

I had the same need, so I created a zero-install, client-side encrypted, browser-based editor using SJCL+CodeMirror in Vim mode: https://github.com/srpeck/encryptedgist
Re:Browser Bloat (1996) on Tuesday August 30, 2016 @06:13AM (#12388674)
This is why I built Reading Mode as a Chrome extension (https://github.com/srpeck/readingmode) - you can switch from modern browser to HTML only.
I wanted to test 1 and 4 out, so I wrote an MMO in q/kdb+: https://github.com/srpeck/kchess (live server is down, but you can see some of recorded action here: https://github.com/srpeck/kchess/blob/gh-pages/docs/kchessdo...). Some of my design decisions: https://news.ycombinator.com/item?id=10924316

I had previously built similar games using other technologies, but found developing in q to be far faster, even given the more primitive debugging capabilities.

I understand that this is a relatively small example, but building it was enough to convince me the APL/k/q approach is useful beyond its supposed niche.

There is a lot of material on kdb+ on kx's website (http://code.kx.com/wiki/Tutorials), Q for Mortals (http://code.kx.com/wiki/JB:QforMortals2/contents) being the best introductory book.

Also some good resources in this Quora: https://www.quora.com/What-are-the-best-resources-to-learn-q...

And if your interest is in the k language more than kdb+/q, then I have found the docs in John Earnest's ('RodgerTheGreat) oK interpreter a succinct, example-focused introduction: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... Plus using his browser-based REPL (http://johnearnest.github.io/ok/index.html) may lower the barriers to entry, and iKe (http://johnearnest.github.io/ok/ike/ike.html) is great for experimentation...http://johnearnest.github.io/ok/ike/ike.html?gist=9c5f43baa4...

Re:Time Series, the new shiny? on Tuesday May 10, 2016 @02:48PM (#11669565)
You should definitely check out JohnEarnest/RodgerTheGreat's iKe, built on his open source k interpreter in JS. Fun examples: http://johnearnest.github.io/ok/ike/ike.html?gist=bbab46d613... and http://johnearnest.github.io/ok/ike/ike.html?gist=b741444d04...

https://github.com/JohnEarnest/ok/tree/gh-pages/ike

https://github.com/JohnEarnest/ok

And related APL/J/K subreddit: https://www.reddit.com/r/apljk/

Older »