Better HN
topnewbestaskshowjobs
Log inSign up

docwhat

19 karma · joined Jan 23, 2010 (16y ago) · 15 submissions

More info at http://docwhat.org/
Submissions

comment 8y ago · link · parent

Yay! I wrote stdpath()!

comment 9y ago · link · parent

I'm not even sure how to launch the Windows App Store since I removed it from my task bar.

I mainly play games so it isn't very useful.

The one time I searched for something, looking for an App Store item, it was pretty horrible (using the normal win-key, start typing search method).

comment 10y ago · link · parent

I'm glad you like IAT! I am indeed the developer.

I'll continue to maintain IAT! as long as it can work in Firefox.

Firefox is changing its security model for extensions to make it more like Chrome's. Eventually, it will be impossible for IAT! to work as a pure extension anymore.

Over the years, I've been working on IATED (https://github.com/docwhat/iated) which was meant to be a replacement for IAT! -- a sort of IAT! next generation.

IATED would be two parts: a server to open the editor and an extension that talks to it.

But I've become distracted and disheartened by figuring out how to make it as simple to install and use as IAT! yet remain secure.

Some issues:

* I know enough security practices to know I'm not even close to being an expert. IATED has the potential to do really bad things if insecure. Letting a malicious page read random files on your file system (or worse, write them!) is the obvous vector.

* I would want to support the same platforms: Linux, OS X, and Windows. But each platform has very different requirements. Windows users are going to be confused if IATED is purely command line driven, for example.

* What language should I write it in. I have several false starts, with the current 'master' branch being JRuby. But depending on the JVM seems horrible. 'golang' is pretty new and maybe the way to go. I'm not sure.

* I work on IAT! mostly alone, though xOneca has been a great help. Writing IATED by myself is discouraging. I'd love to have someone who knows about golang or Windows or security help me write IATED.

Anyway, that's roughly the state of IAT! and IATED at the moment.

Ciao!

comment 10y ago · link · parent

I like this idea. As Firefox tightens its sandbox security eventually things like It's All Text! won't work anymore.

I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably.

I also hear that the It's All Text! author is lazy... every time I go home to the family. ;-)

comment 11y ago · link · parent

I hadn't heard of it before. Neat!

comment 11y ago · link · parent

Corrections and clarifications are welcome!

comment 12y ago · link · parent

IBM -- It's got a lot going for it, if you don't like one division/project there are bunch of other ones to look at.

comment 13y ago · link · parent

I use backtick. It's great not having to reach for a control or alt key to change window.

It is a minor annoyance in markdown but in shell programming I use `$(...)` instead, since it can be hard to tell if a character is a backtick or a single quote.

comment 13y ago · link · parent

My .vimrc does this. I haven't used it much in perl (mainly bash, ruby, and python) but it should work fine.

https://github.com/docwhat/homedir-vim/blob/master/vimrc/.vi...

The important bits are vim's built-in omnicomplete and neocachecompl

Omnicomplete by itself isn't bad. I haven't seen any excellent documentation explaining how it all works, but even without my .vimrc I use C-X-f a lot to complete filenames.

Ciao!

comment 13y ago · link · parent

I have some code to keep the undo/backup/swaps in a sane place... http://stackoverflow.com/questions/4331776/change-vim-swap-b...

comment 13y ago · link · parent

Sometimes it's easier to see things line up.

comment 13y ago · link · parent

I have a similar, yet different approach.

My approach also works even if git doesn't exist (by skipping vundler).

I need this since sometimes I work on systems that don't have every bell-and-whistle I could want.

https://github.com/docwhat/homedir-vim/blob/master/vimrc/.vi...

comment 14y ago · link · parent

Pittsburgh FTW! Voted repeatedly[1] as one of the best places to live and it has an excellent Tech community[2].

Ciao!

[1] http://www.dailymail.co.uk/news/article-1359195/Pittsburgh-b... [1] http://www.forbes.com/2010/04/29/cities-livable-pittsburgh-l... [2] http://www.pghtech.org/ [2] http://pghtechfest.com/

comment 14y ago · link · parent

I don't like the suggestion. It enforces a 1:1 relationship between controller and model.

I'd rather have the model and the ORM be pulled apart and the model make this distinction.

Or create another class that knows how to safely pull values out of a params list and use it to create a model.

But it's bad enough that the controllers "look" like they belong to a model in default Rails generators. This creates a certain amount of laxity in programmer's thinking. It boxes their thinking in instead of letting their thinking go free.

comment 16y ago · link · parent

Hi! I'm working on making It's All Text! work with Firefox 3.6. If you have troubles (such as right clicking on gumdrops) then turning on "Remove all bugs" actually does what it says, for a change. o_O

I looked at doing a chrome version of "It's all text!" but chrome doesn't have a way to launch an external application short of creating an NSPlugin. Which I'm not sure I want to have to support across all the chrome platforms.