Better HN
topnewbestaskshowjobs
Log inSign up

superbobry

154 karma · joined Jul 28, 2010 (16y ago) · 19 submissions

Submissions

1.

Next generation slides for Jupyter Notebooks(github.com ↗)

2 points · by superbobry · 10y ago · discuss

comment 13y ago · link · parent

No wonder, just look at the code: https://github.com/ben-eysenbach/do_good/blob/master/do_good...

comment 13y ago · link · parent

Great, thank you!

comment 13y ago · link · parent

I wonder if PDF or Epub version is available? couldn't find it on the site.

comment 13y ago · link · parent

[1] can give you some insight on the dark side of JS. Also, avoiding JS in some way or another is not that hard, esp. since there're a lot of languages which compile to JS, most notably CoffeeScript and ClojureScript.

  * [1] http://wtfjs.com 
  * [2] https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS

comment 14y ago · link · parent

This is because the datasets are unique for each user, so you need to login first, and then download the dataset.

comment 14y ago · link · parent

Yup, that might work, but still, this is a weird idea for a key-value store, maybe a DAWG or a radix tree would do better.

comment 14y ago · link · parent

I guess FM index is just not the right thing to use when you need a key-value data store. It's a full text index -- a data structure, which allows fast substring queries over a fixed text corpus.

comment 14y ago · link · parent

A nice example of how easy it is to get things wrong in JS: http://bayimg.com/JampiAAdJ

comment 15y ago · link · parent

  - unicode characters (for instance you can't type in russian) -- try there http://demos.anyterm.org/shellinabox_nano
  - speed could've been better, there's a noticeable delay when running something like `mc`
I haven't tried Gate One yet, but I did look very closely at your project at some point. Great work, btw :)

comment 15y ago · link · parent

I understand your point, there's two problems with most of the terminal emulators I've seen:

  - they are either poorly or completely unsupported  
  - the code is a nightmare, badly written, undocumented
Both make extending a VTE an almost impossible task. Actually, that's why we (at Selectel) wrote `pyte` [http://github.com/selectel/pyte], which soon became open-source.

As for speed issues, have you considered implementing incremental updates (like in AnyTerm, for example)? This approach works perfectly in our setup (multiple clients, multiple terminals).

P. S. Looking through the code, I can tell that you had some tough nights throughout those 9 months :) Good job!

comment 15y ago · link · parent

Actually, some of them do have it -- `xterm`, for instance has a lists of flaws in other terminals. `pyte` on the other hand only mentions similar projects.

comment 15y ago · link · parent

Just out of curiosity, why you didn't use (or decided not to use) existing solutions for the terminal backend:

* http://pypi.python.org/pypi/pyte * http://github.com/samfoo/vt102 * http://antony.lesuisse.org/software/ajaxterm/

(to name a few)

14.

Deft -- easy note taking for Emacs(jblevins.org ↗)

142 points · by superbobry · 15y ago · 37 comments

comment 15y ago · link · parent

First though was «they ported Fabric (http://fabfile.org) to node.js?! noway». And they didn't.

comment 15y ago · link · parent

That would probably ruin all the fun of rule-breaking.

comment 15y ago · link · parent

Any industry for that matter; just replace programmer with <musician> (for example).

comment 16y ago · link · parent

man, they just don't look that good ...

comment 16y ago · link · parent

Seriously, how can "using jQuery" be a good practice?