Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sstephenson
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
sstephenson
6y ago
When will GitHub terminate its contract with ICE?
2.
▲
by
sstephenson
7y ago
jwalk parses JSON into a stream of TSV records: https://github.com/shellbound/jwalk/
3.
▲
by
sstephenson
7y ago
Performance depends on what toolset you’re using and how large your data set is. For small JSON documents, like a package.json file, jwalk is around ten times slower on my machine: 0.03 seconds, vs 0.004 seconds for jq. For larger documen
4.
▲
Show HN: Jwalk, a Streaming JSON Parser for Unix
(jwalk.sh)
2 points
by
sstephenson
7y ago
|
2 comments
5.
▲
by
sstephenson
11y ago
Try to imagine yourself in the shoes of someone who doesn't know HTML and just wants to write a message or comment with a little emphasis and maybe a bulleted list. That's the majority of our customer base at Basecamp. Creating an
6.
▲
by
sstephenson
11y ago
I was involved with the Wysihat project too. What we found is that its approach, like most other editors', is fundamentally broken. We created Trix to solve the problem. https://github.com/basecamp/trix#different-b
7.
▲
by
sstephenson
11y ago
Sadly, while the Scribe developers correctly identified all the various problems with contenteditable ( https://github.com/guardian/scribe/blob/master/BROWSERINCONS... ), they chose to solve it like most o
8.
▲
by
sstephenson
11y ago
Yes, of course we've seen ProseMirror. It looks quite nice. By the time we first heard of it several months ago, the bulk of Trix had already been written.
9.
▲
by
sstephenson
11y ago
It is not impossible. It just takes a lot of time and effort. It took two developers around 18 months to build Trix. The readme explains how our approach is different from other WYSIWYG editors. (Most others are just toolbars that call exec
10.
▲
by
sstephenson
11y ago
Trix fully supports file attachments and image attachments, as documented in the readme. It includes an inline caption editor for images. Trix also supports "content attachments" (currently undocumented) which allow embedding arbi
11.
▲
by
sstephenson
11y ago
No, it's not distributed as a Ruby gem.
12.
▲
Rbenv 0.4.0 released with .ruby-version file support
(github.com)
11 points
by
sstephenson
14y ago
|
0 comments
13.
▲
by
sstephenson
14y ago
"Many of the Ruby version switchers work with '#!/usr/bin/env ruby', but rbenv won't in certain circumstances, so an optimization for it has been built into the framework now." Incorrect. It is support for an enhancement that rbenv provides
14.
▲
by
sstephenson
14y ago
Here's another perspective: http://sstephenson.us/posts/on-configuration
15.
▲
by
sstephenson
14y ago
Patches welcome.
16.
▲
by
sstephenson
14y ago
Or you can use xip.io and save yourself a lot of trouble.
17.
▲
by
sstephenson
14y ago
How are you going to add an entry to the hosts file on an iPhone?
18.
▲
by
sstephenson
14y ago
For those who missed the other announcement, Pow 0.4.0 has xip.io support built-in: http://37signals.com/svn/posts/3191-announcing-pow-040-with-...
19.
▲
by
sstephenson
14y ago
You're right. I'm probably just running xip.io to steal all your sensitive development-mode form data!
20.
▲
Announcing Pow 0.4.0 with xip.io support
(37signals.com)
17 points
by
sstephenson
14y ago
|
0 comments
21.
▲
by
sstephenson
14y ago
I've got just the tool for you! https://github.com/sstephenson/gosh
22.
▲
by
sstephenson
15y ago
Because I didn't know about it :) Great tip!
23.
▲
by
sstephenson
15y ago
Sure thing. For high-level measurements I use good old "new Date().getTime()". One call before, one call after, subtract the former from the latter and log it to the console. When I want to dig deeper, I go to the WebKit Inspector's Profile
24.
▲
by
sstephenson
15y ago
Thanks, I really appreciate it!
25.
▲
by
sstephenson
15y ago
At that point it's much more about feel than a hard time measurement. After implementing deferred initialization I asked myself "does reordering feel laggy?" and the answer was no. If it had felt laggy then I'd have started profiling again.
26.
▲
by
sstephenson
15y ago
Of course we support browsers other than Internet Explorer. Here's the full list of supported browsers: https://basecamp.com/browsers And way to miss the forest for the trees, guys—this article isn't about IE at all. I've come to expect n
27.
▲
by
sstephenson
15y ago
For those who are curious, the new Basecamp calendar is a Backbone.js/CoffeeScript/Eco affair.
28.
▲
by
sstephenson
15y ago
It's not a single-page app—at least not in the traditional sense. Only in the sense that we don't need to reload assets with each page change. We are using a dash of Backbone here and there for cases where interaction speed is of utmost imp
29.
▲
by
sstephenson
15y ago
Like most sane people we have abandoned the idea of XHTML in favor of HTML 5.
30.
▲
by
sstephenson
15y ago
We started out with pjax (which is awesome) but ended up rolling our own framework called Stacker which lets us have complete control over the UI.
More ›