Better HN
topnewbestaskshowjobs
Log inSign up

TimSAstro

486 karma · joined Mar 16, 2012 (14y ago) · 48 submissions

Submissions

comment 6y ago · link · parent

Hi, HN!

Author here. A friend mentioned this was on the front page so I wanted to stop by and make explicit that this advice is OUT OF DATE as far as I'm concerned. It's way too much hassle (I work in a much larger team now than I did then!) and doesn't play well with rebase etc.

These days I either recommend the jupytext approach (not tried it but seems sensible) or personally I just use Sphinx-gallery.

Advantages:

* Plain python files play well with IDE refactoring, Black formatter, etc etc.

* You now have a readymade 'tutorial' page for your docs.

* Files are run with every docs build, so you can configure things to alert you when they're broken.

Disadvantages:

* You end up editing a throwaway notebook file. If you forget to copy-paste your edits back to the source, and rebuild, you have lost your edits. However, this forces me to keep the 'temporary, exploratory' nature at the front of my mind and not allow the notebook code to grow too large before performing some clean-up.

2.

Networking for founders(stripe.com ↗)

1 points · by TimSAstro · 8y ago · discuss

comment 9y ago · link · parent

Things are changing, slowly but surely. Those of you interested in this sort of work should check out http://rse.ac.uk/, and also https://software-carpentry.org/ (Run a workshop! Improve the software environment around you!)

4.

Duc: tools for inspecting and visualizing disk usage(duc.zevv.nl ↗)

3 points · by TimSAstro · 9y ago · discuss

comment 9y ago · link · parent

Very Von Neuman! http://www.primepuzzle.com/leeslightest/howfar.html

comment 9y ago · link · parent

This is something I've been giving some thought to recently. I came to the conclusion that the best way to go currently is git-clean filters built using jq. It's still a bit hacky though. Gentle write-up here: http://timstaley.co.uk/posts/making-git-and-jupyter-notebook...

7.

The History of RANDOM.ORG(random.org ↗)

3 points · by TimSAstro · 9y ago · discuss

comment 10y ago · link · parent

Have you tried turning on pipelining in ansible.cfg? Details here: http://docs.ansible.com/ansible/intro_configuration.html#pip...

comment 10y ago · link · parent

See also (if you're happy working in Python): https://flask-restless.readthedocs.org/

10.

Demis Hassabis of DeepMind on Artificial Intelligence and the Future [video](livestream.com ↗)

1 points · by TimSAstro · 10y ago · discuss

comment 11y ago · link · parent

I call Poe's law!

12.

Meizu MX4 Ubuntu smartphone review(uk.businessinsider.com ↗)

1 points · by TimSAstro · 11y ago · discuss

comment 11y ago · link · parent

While I see what you're saying, I doubt you would claim to 'use' assembly when writing a C++ codebase - because (unless you're doing very low-level hand optimizations of the kind that get ever rarer), someone else has done the hard work of creating a compiler to do the translation for you. Same thing with NumPy et al, except one level higher up the abstraction stack.

14.

Are algorithms copyrightable? (2006)(imranontech.com ↗)

1 points · by TimSAstro · 11y ago · discuss

comment 11y ago · link · parent

Interesting dilemma. I had assumed that re-writing in another language basically meant you were copyright free (as long as you're not literally transcribing or automatically translating), but it appears it's not that simple: http://imranontech.com/2006/12/04/are-algorithms-copyrightab...

comment 11y ago · link · parent

It'll be a bit more expensive than your local store, but you could try ordering (decaf) beans online. Weirdly this seems to be a much bigger thing over here in the UK, but I did find this: http://dailygrind.com/index.php?cPath=22_27

comment 11y ago · link · parent

tl;dr: A competitor to Virgin Galactic (space tourism) using what appears to be a more traditional booster rocket / parachute pod arrangement - except that the booster rocket self-lands after separation. Interesting to see another competitor in the space industry!

comment 11y ago · link · parent

I disagree about this being worse for beginners - if we're teaching a new programmer about functions, surely a basic print function is a great introduction? Whereas before it was a one-off special case.

comment 11y ago · link · parent

'Deep Six' (short story anthology) and 'Wind-up Girl' by Paolo Bacigalupi.

comment 11y ago · link · parent

While I'll be interested to see how the blockchain gets exploited for new tech, there are a couple of problems with your statement. First, right now there is a problem with how we generate energy, and a centralized banking system should be a lot more efficient in that regard, for all its other flaws - Bitcoin relies on the calculations being difficult and therefore compute/energy intensive, after all. Second, even if we had perfectly clean energy generation, there is a limit to how much we can use unless we get into really crazy future tech like exhausting energy into space via refrigerant/laser system: see http://physics.ucsd.edu/do-the-math/2012/04/economist-meets-.... (also the `Sundiver' sci-fi!).

comment 11y ago · link · parent

For anyone else who was wondering about their Nalgene, they're BPS free, apparently: http://nalgene.com/why-nalgene/ (funny smells aside)

22.

Duc, a library and suite of tools for inspecting disk usage(github.com ↗)

1 points · by TimSAstro · 11y ago · discuss

comment 11y ago · link · parent

Minor correction on income tax: 0-10K: Untaxed, 10-40K: 20%, 40K+: 40%,

comment 12y ago · link · parent

Well, mostly: http://www.nytimes.com/2007/10/30/science/30manh.html?pagewa...

25.

Crossing Language Barriers with Julia, Scipy, and IPython(github.com ↗)

4 points · by TimSAstro · 12y ago · discuss

comment 12y ago · link · parent

Interesting, I wondered if anyone else was playing with XFCE config this way. I have the important parts of my .config/xfce4 folder under git and replicated across 3 machines, which a branch for dual-screen tweaks on the desktop, etc. etc. I thought it was so cool that you can just figure this stuff out and get on with it!

comment 12y ago · link · parent

Steuard is right, and astronomers have good reasons to expect this behaviour - wave dispersion. The best link I can find from a quick google is this: http://en.wikipedia.org/wiki/Dispersion_(water_waves) -which refers specifically to dispersion of water (typically, ocean) waves, but the concepts are the same. (Edited to add) We expect dispersion effects in the case of fast radio bursts due to effects of propagation through the interstellar medium. Not my area of expertise, but see http://arxiv.org/abs/1310.8316 if you want a properly referenced starting point.

comment 12y ago · link · parent

The raw representation is a somewhat cluttered (to the untrained eye, anyway) json file - especially if you have checkpointed images which are bascially base64 encoded blobs! So as far as I know it's pretty much the web-editor or nothing at the moment. Obviously a JSON-aware plug-in for something like PyDev or Pycharm would be pretty neat, but I think we're a ways off that. See also http://nbdiff.org/ which solves the issue of comparing version-tracked notebooks.

29.

Using python pip offline(timstaley.co.uk ↗)

1 points · by TimSAstro · 12y ago · discuss

12