HNHacker News
TopNewBestAskShowJobs

tincholio

1,046 karma · joined June 18, 2010

submissionscomments
tincholio··on Vibora: Fast, asynchronous and sexy Python web framework
why not víbora, if they were going for a Spanish word?
tincholio··on Console.table()
he was quite specific in saying printf(3), which is defined by POSIX
tincholio··on A newcomer’s (angry) guide to R
I've recently used plotnine, and it's been a relatively good experience, but Pandas is absolute garbage compared to the tidyverse, API-wise.
tincholio··on A newcomer’s (angry) guide to R
I'll just leave this here... https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E...
tincholio··on Back to the Future of Handwriting Recognition
In calligraphy there is the notion of 'ductus', or how and in which order the strokes are written. It has a significant effect on the end result, and for each script, there is arguably only one "correct" ductus. A similar concept can be applied to normal handwriting.
tincholio··on Toshiba’s loss of star engineer tells tale of company's decline
Most of Western Europe and especially the Nordics kick ass when it's time to raise a family. I've never been to Japan, but judging by all the info I've read about it, the work-life balance tends to be on the bad side. That's generally not the case in Europe.
tincholio··on GDPR: Don't Panic
Well, presumably you can report them to the relevant regulator, then. That's the point of the law.
tincholio··on Batch editing files with ed
?
tincholio··on Glom – Restructured Data for Python
It looks quite similar in spirit to Clojure's Specter library (https://github.com/nathanmarz/specter), and even seems to have a nod to it (The Spectre of Structure).
tincholio··on A standards-based PDF viewer created using Electron and Pdf.js
Zathura supports this (and is otherwise awesome, too)
tincholio··on Jupyter Receives the ACM Software System Award
Nope... you're not the only one
tincholio··on I've spent the last two years building a new email client
At least on Mac you can get the telegram app, or something called Telegram Desktop, which is Electron-based
tincholio··on Salsify – A New Architecture for Real-time Internet Video
In a completely different way (i.e. DASH). SVC came out with bad timing, as the move towards HTTP video was gaining momentum. Also, around 2008(?) or so when the spec was finalized, there was no HW encoding support, so it was pretty unusable in practice.

The idea of using layers, though, is much older (I remember reading papers about this already back in 2001 or so)

tincholio··on Programming in the Debugger
I've only used it with a Python kernel so far, and doing eval on each or all blocks in the buffer (org-ctrl-c-ctrl-c, and org-babel-execute-buffer). Haven't had problems so far.
tincholio··on Google's “Director of Engineering” Hiring Test (2016)
In the same way you can have bigints in a 64bit system...
tincholio··on The Future of Software Is No Code
No it's not. For some reason, people with no SW background tend to under-estimate the complexity of seemingly simple business rules and their interactions.
tincholio··on Programming in the Debugger
ob-ipython works really well.
tincholio··on VS Code can do that?
If you're only using org basically as an outliner, then it might be ok for editing. But I see no indication of babel, exporting, agendas, etc...
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
Maybe you should try ob-ipython. It'll spawn a Jupyter server with a python kernel, and send your source blocks as cells, and you also get to keep all the other org goodies.
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
That looks quite similar (though much nicer UI-wise) to EIN (the Emacs mode for jupyter). I guess if you're doing D3-based viz stuff it will be a better choice than EIN, as you can render those properly.
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
> Jupyter isn’t competing with emacs, it’s not an editor.

I'm fully aware of that, my point was that functionality- and ergonomics-wise, you're better off using Emacs/org. I agree that it's not for everyone, but for people working on data science, it's a much more powerful tool.

>Adding git as a dependency to sharing is too much in general, that would prevent sharing.

I think we probably have vastly different target audiences in mind.

tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
And for the most part, you cannot use them at the same time from the same notebook.
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
Still limited, and pretty clumsy. Have a look here: https://orgmode.org/worg/org-contrib/babel/languages.html
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
> Yes, Anaconda + Jupyter is an environment and org mode is not. That’s a big reason Jupyter is so popular.

You're again comparing apples to oranges. If you want to use Jupyter, you need to install a whole lot of stuff (easier to do if you're using Anaconda, agreed). It's "not simple" enough that there are public docker images for it. My point is that when tooling is an issue, you can do the exact same thing with an org-based setup.

>My point was Jupyter inflicts far less technical burden and debt on other people. There’s a huge downside to custom environments. If that’s not obvious, that explains why it’s hard to understand jupyter’s popularity.

I agree that there's difficulty in achieving reproducible environments, and that's why there's tools that handle that for you. I think that much of Jupyter's popularity comes from the fact that it's easily available, and based on Python, which let's non-programmers get started moderately quickly. I just don't think that it's the best choice. This is not to shit on Jupyter, I've mentioned a bunch of advantages of using org (which by the way, you haven't really addressed, other than focusing on the setup aspects)

> I’m sure you didn’t mean it that way, but this borders on white tower programmer centric dismissiveness.

It's not, really. My point is that when you're doing presumably advanced analysis on presumably complex data, you (should!) certainly have the capacity to deal with tooling.

tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
BTW, and unrelated to the Jupyter vs. org discussion, you may find this interesting (just came across it earlier today): https://blog.oscarnajera.com/2017/11/git-diff-images-and-pdf...
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
> How easy is it to share a Jupyter notebook with someone else, versus sharing an org-mode notebook?

Well, now you're talking about a whole environment. Use docker, or VMs or whatever. There's plenty of options for doing this (we actually use Docker for Jupyter, to make sure we work off a consistent install, so I guess sharing can be non-trivial if you walk a bit off the beaten path, anyway)

> If I choose to use a different language than Python in my org-node notebook, the recipient will have to install that programming language and environment themselves before they can use your notebook.

Sure, and if you need to use another language from your Jupyter notebook, you can't. I don't get your point. Yes, if you need to use a tool, you need to install it. It requires a minimum of computer literacy.

tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
>If you have to package images separately when sharing, then wouldn't inline images score a point for easier sharing?

I guess that depends on who you're sharing with and how. If you're using git, you can just add them to your repo (only they won't clobber your diffs). If you're just publishing, you can export to HTML and put it somewhere online.

>Agreed, and that is powerful, but this also goes to my point. Jupyter is made for python and org mode isn't. Jupyter comes with python and libraries, where with Emacs you're on your own to figure out how to install and use different languages, and setup your environment so Emacs can see them

Well, that requires a minimum of computer literacy, but rocket science, it ain't. I agree that Emacs is not for everyone, but if you're doing data analysis (and presumably something with the results), it's certainly not out of reach, and good tooling is worth learning.

I agree that Jupyter is "easier", but it's not simpler. And also, it's limiting in what it can do. So yes, you might get up and running a bit faster, but you're setting yourself for frustration down the line.

> Yes, but the editor is Emacs.

Precisely, it's vastly better than the alternative. If you don't like the bindings, you can use Evil (this is my choice, despite never having been a heavy vi user), or CUA mode, and get a more familiar experience for people used to Windows.

tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
Just sent you a mail (check spam folder if you don't see it, it comes from my own domain, and sometimes it's dumped with the spam)
tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
> What I wonder is why are Jupyter notebooks so popular?

I often wonder the same. I'm now kinda forced to use them, since they're the tool of choice in my team, but it's a major pain. I think that they're "easy" (in the way Rich Hickey describes "easy" vs "simple") to get started with (just as python, btw), but their lack of flexibility comes back to bite you sooner or later.

For me, I've resorted to using a mix of EIN and ob-ipython, and then copy/pasting as needed to keep the stuff in synch with Jupyter. I'm now considering writing a simple ox-jupyter exporter, and maybe some import functionality, to avoid dealing with Jupyter directly.

John Kitchin has written a basic exporter (http://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-...), but it doesn't support inline images (it should be simple to fix this), and it doesn't really adhere to the ox- style of exports, so I think I'll probably do my own instead of adapting his (it'll be a good learning experience, for sure).

tincholio··on Jupyter, Mathematica, and the Future of the Research Paper
You saved me a whole lot of typing! Thanks :)

I'd add that you can also benefit from other aspects of org, such as project management functionality, outline editing, table editing, tables with formulas, direct git integration via Magit, etc., etc.

I agree that getting people on Emacs is a non-minor issue, but using something like Spacemacs with CUA-mode enabled could go a long way towards acceptance.

← PreviousPage 10 of 22Next →