Hacker Newsnew | past | comments | ask | show | jobs | submit | betatim's commentslogin

Yes. Because the PDF standard specifies a mechanism that lets you "attach" files to a PDF :)


I worked for PDFTron on their WebViewer product earlier this year, and primarily spent time implementing this feature in JS. Understanding the spec on this was tricky, because standard PDF viewers need to be able to uncompress the stuff you jam in there. It kind of blew my mind that you can literally jam any arbitrary file into a PDF.


This looks pretty slick, will have to see which parts/ideas we should copy for https://mybinder.org. Which is an open-source project that lets you do something very similar, mostly based around people wanting to share notebooks. Colab but with automatically detected environment/build instructions.



The title is misleading and wrong. The article is about a new library that lets you write kernels in C++.

There is however a kernel for C++ that you can try here: https://mybinder.org/v2/gh/QuantStack/xeus-cling/stable?file... if interpreted C++ is your thing :)


Read the whole article. It starts by introducing xeus and xeus-cling for those who don't already know about it, then gets to the subject of the title, xeus-python, which is based on xeus and, indeed, written in C++:

https://github.com/QuantStack/xeus-python


Having a C++-based Python kernel available doesn't mean "Jupyter switches to"


Playing with that xeus-cling notebook, does anyone know how to curb the `error: redefinition of` errors when changing code and rerunning it?

This bug is prohibitive enough I suspect it will be a deal breaker for the majority who want to use this kind of tech.


Some demos and examples:

https://jupyter.org/try all the repos linked from there are backed by mybinder.org (The interpreted C++ one blows my mind)

Some examples if you want to know how to configure things: * Install Python dependencies via requirements.txt https://github.com/binder-examples/requirements

* Jupyter with R and RStudio: https://github.com/binder-examples/r

* Julia support: https://github.com/binder-examples/demo-julia

* Installing additional APT packages: https://github.com/binder-examples/apt_install

(I work on Binder)


Do you know if this can be configured to work with Sage? If so, could you link to an example or instructions?


Is this the Sage you mean: https://github.com/sagemath/sage-binder-env

Once in a while someone working with/on Sage pops up on my radar but I am not sure what the up-to-date and maintained example is unfortunately.


That’s it, yes. Thank you.


https://mybinder.readthedocs.io/en/latest/about.html#who-pay...

At the current level of usage and compute resources it costs about $50000 per year to run the services, if you don't have to pay the humans that help build and run it. We are an open project, if anyone wants to join to learn more about Kubernetes, Jupyter, Ops, Python, Docker you would be very welcome. We hang out on https://gitter.im/jupyterhub/binder and https://github.com/jupyterhub/binder is a meta repository.

(I am a project lead on Binder)


That is the right link. Unfortunately we haven't yet found a good UX solution to people sharing the "wrong" link which only works for their personal instance.

(I am a project lead on binder)


https://mybinder.org/v2/gh/norvig/pytudes/master and https://github.com/norvig/pytudes/#pytudes to see what it looks like in the original repo

(I am a project lead on binder)


nbdime - https://nbdime.readthedocs.io/en/latest/ works very well and works well in the terminal with `git diff` for me (https://nbdime.readthedocs.io/en/latest/vcs.html#usage). Wanted to highlight the fact it integrates well with `git diff` which is my favourite part of nbdime but skipped in the article.


Pretty cool idea. How long does it normally take for an alarm to happen after an email is sent to the insider's email address? I just emailed my insider about 5min ago and there is no alarm yet.


It should alert as soon as it hits our mail servers - let check its route and see what happened for you.. apologies.

Edit: Bug fixed, really sorry about that! I've sent an email to the insiders address, to give you an example alert.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: