HNHacker News
TopNewBestAskShowJobs

carreau

1,089 karma · joined December 12, 2012

[ my public key: https://keybase.io/mbussonn; my proof: https://keybase.io/mbussonn/sigs/9CMg2KRb3kpQqr2nxJWMc749spQUHV4KlEskZsh1OZA ]
submissionscomments
carreau··on The new Jupyter Book
If you have your own notes feel free to suggest docs updates !
carreau··on The new Jupyter Book
Jupyter Notebook = view notebook as a single page – or depending on context, the document format `.ipynb`. Lab allow you to have panels like an IDE; Jupyter Book is to publish a collection of .ipynb file as a website.
carreau··on The new Jupyter Book
Yeah, but unfortunately we haven't found anything that allow easy collaboration with folks who don't know how to use GitHub, and migrating away from medium is a paiiin. Though if you have a solution, I would be happy to push for it on the Jupyter side.
carreau··on Apple Threatens to Remove App 'Hey' from App Store over No In-App Subscriptions
Correct you can't install app on the apple screen stand Pro, it is only a block of aluminum.

[Yes USD 1k+ civilized country count taxes]

carreau··on What Armenians should know about life in America (2014)
Not saying it is a good reason, but wood is more flexible so resist better to earthquake. Brick and concrete will crack more easily even if you have many small imperceptible tremors. So in some area it may make sense. I agree though it's weird.
carreau··on A Visual Debugger for Jupyter
It has already been in JupyterLab for more than a year. You just need to attach a kernel console to your text file.
carreau··on Autocomplete as an Interface (2015)
Thanks for the feedback,

In JupyterLab you can open the "Inspector" that should have the equivalent and show the doc for the current token under cursor.

I'd love to have time to implement that for IPython, or even have for the completer the documentation that pops up for the current highlighted option of the completer.

As IPython is now based on Prompt toolkit there is no reason not to have that; it's mostly a question of finding the time to implement it !

carreau··on Autocomplete as an Interface (2015)
IPython dev here,

Thanks to you (and the author) for being happy users of IPython; but if you don't have complaints you are not using it enough :-) We do our best to provide good completion; but most of the work is thanks to Jedi (Dave Halter) for the completion and prompt_toolkit (Jonathan Slenders) for the UI , at least in terminal.

There is a lot of improvement that could be done to completion (time and funding missing), and we are always looking for Feedback and Pull Requests.

Side Note while I agree about the statement about Julia and bar(foo) vs foo.bar(); nothing prevent the completer to add text not at the cursor position. Having foo)<tab> suggesting to prepend `bar(` is a possibility.

(also hijacking top comment...)

carreau··on Papyrus, a Rust REPL
Any comparison with https://github.com/google/evcxr ?
carreau··on The New World of Notebook Publishing
Just push to GitHub, or any URL for that matter, (Jupyter just have a bit more knowledge about github,gitlab... )

nbviewer.org to view only, mybinder.org to get a temporary docker image in the cloud to run/modify/experiment.

You wan to interact with the gravitational wave LIGO experiement? Here you go: https://beta.mybinder.org/v2/gh/minrk/ligo-binder/master?fil...

You wan t example where the code is hidden voilà has some nice examples.

https://voila-gallery.org/services/gallery/

You need ideas on how to get stated for your language or with different packages here are some minimal demos:

https://mybinder.readthedocs.io/en/latest/sample_repos.html

Nice thing is it work with Python, R, C++, haskell, ... any kernel that Jupyter Run. And you can install any packages in apt/miniconda/CRAN. You want more control ? you can write your own Dockerfile.

You want a single button to publish: Just install a a jupyter extension that for example push to a gist (https://github.com/hadim/jupyterlab_gist)

The big advantage being that you don't _need_ to. If your notebook is already on GitHub well I can make it live if I wish.

carreau··on V8 adds support for top-level await
Immediately Invoked Function Expression: (function () { statements })();
carreau··on Root: CERN's scientific data analysis framework for C++
I don't believe those a coincidences, but more collaborations and the right people working together :-)
carreau··on Root: CERN's scientific data analysis framework for C++
For c/c++ in Jupyter, see xeus-cling https://github.com/QuantStack/xeus-cling
carreau··on Show HN: Turn your fzf into a live REPL
Yep, which you can kind-of do with : echo '' | fzf --multi --preview='bash -c {q}' --preview-window=up:70
carreau··on PEP 594 – Removing dead batteries from Python's standard library
In[1]: %load_ext autoreload In[2]: %autoreload 2

?

carreau··on Deutsche Bank Says Software to Detect Money Laundering Had a Bug
> bug for 10 years

*backdoor

carreau··on High-Powered REPL for Haskell, Inspired by IPython
The issue is in "practically", using it console with a kernel has some limitations, in particular stdin/out are not tty as far as the kernel is concerned; which leads to some things that jupyter_console can't do (e.g. running !vim), while IPython can. Jupyter_console is also way more buggy that plain IPython.
carreau··on High-Powered REPL for Haskell, Inspired by IPython
IPython dev here; congrats, that looks great !
carreau··on Meshroom: Open Source 3D Reconstruction Software (2018) [video]
My organization recently considered buying more licenses for photoscan/metashape (https://www.agisoft.com/) but it was too expensive. I'm curious as to how it compares (I'm not a user myself so can't judge), and I couldn't find wether this can run on a distributed GPU cluster. If that's the case I would love to push for replacing photoscan by this.
carreau··on VS Code on a Remote Server
Try-it on mybinder.org, w/o login or signup (in Jupyter): https://mybinder.org/v2/gh/betatim/vscode-binder/master?urlp... Ephemeral machine. enjoy.
carreau··on Optical Tweezers
Note that usually you are also using the microscope to observe what you are trapping, so it' super convenient (but not easy), to use the same objective that the one you observe to send a laser through (in the opposite direction) and trap your sample. If you send your laser-beam quasi parallel it will focus and trap particula quasi-where your are observing.

(source: did my PhD with optical traps: http://matthiasphd.herokuapp.com/html/parts/part1.html#optic..., picture of trapped beed as viewd through microscope: http://matthiasphd.herokuapp.com/html/parts/part3.html#exper...)

carreau··on EU to stop changing the clocks in 2019
Can you imaging changing date in the middle of the day !

- I'm going to lunch I see you early tomorrow ? - But we have meeting this afternoon ! - Yes tomorrow, should I remind you we are UTC+12 ?

carreau··on The magic of asyncio explained
Note that the asycn/await syntax, coroutines, an asyncio are 3 independents part. If you do not like callback and Future have a look at trio[1] that takes a quite different approach.

http://trio.readthedocs.io/en/latest/

carreau··on Rooftop solar power may be flooding the grid
Oops. Fixed AC/DC. I know better. 3600Hz seem also quite a weird number while 3600 time an hour ends up being exactly once a second.
carreau··on Rooftop solar power may be flooding the grid
Sorry meant AC, got things mixed up in my head with solar beeing DC.
carreau··on Rooftop solar power may be flooding the grid
"Monitor electricity 3600 times a second" in the video seem wrong, as AC is usually 50 to 60 HZ that would be measuring the consumption 60 to 72 times per period which does not really make sens. It's likely 3600/hour or 1/seconds. Immediately make me doubt the quality of the research.

Edit: DC -> AC. was tired.

carreau··on Advanced computing with IPython
Ok, Great, i saw the other comment, JupyterHub is about to be released in version 0.9 – so if there are changes you like to go in, there is still some time. Feel free to send PR that add Canvas to the list of known Authenticators[1] for other to find it easily.

I know there've been some work to have instructions on how to deploy on AWS, and work on the k8s helm charts to do so[2] if that can be of help. If any work could be consolidated to both decrease the workload of you (and us), that would be good. Are any of you attending JupyterCon in August ? In person feedback is always welcome (Sturday August 25th is open, free, Community Day/ hackathon / sprint/ open studio, where the Jupyter team will be there)

1: https://github.com/jupyterhub/jupyterhub#authenticators 2: https://zero-to-jupyterhub.readthedocs.io/en/latest/amazon/s...

carreau··on Advanced computing with IPython
There is a lot of work on the jupyterhub organization that provide custom authenticator (GitHub, laugh) feel free to reach out if you want to migrate your work there. Curious also why the existing GitHub Oauth did not work for you.
carreau··on GDPR: US news sites unavailable to EU users over data protection rules
Cutting access in Europe does not solve anything. I'm living in US but I am European. Thus I can visit any of the above listed website they are processing my data, and GDPR applies to me. So they are not complying and I could file a complaint.
carreau··on Jupyter Receives the ACM Software System Award
Internal state is often a problem, look at project like stichfix nodebook, and dataflow kernels, they make things a bit easier by re-executing cells.

On of the issue is you always have internal state as soon as you interact with a data source or sink. If you read/write from a API, then rest is stateful. Your file system is stateful... etc.

It's an interesting but hard problem, we'll be happy to have more help with.

https://github.com/dataflownb/dfkernel https://multithreaded.stitchfix.com/blog/2017/07/26/nodebook...

← PreviousPage 4 of 8Next →