Better HN
topnewbestaskshowjobs
Log inSign up

jonathanpoulter

163 karma · joined Jan 19, 2015 (11y ago) · 65 submissions

Submissions

comment 2y ago · link · parent

I purchased these for my wife years ago, they’re excellent.

comment 5y ago · link · parent

A pretty critical application

comment 5y ago · link · parent

Ease of testing is the most obvious benefit.

A "pure" function is one whose result is simply based on its inputs, no dependency on external state/IO etc. Same inputs, same outputs guaranteed.

These types of functions, are really easy to reason about and unit test. State is often messy.

comment 5y ago · link · parent

I completely agree with this sentiment.

Writing good Haskell always seemed harder to me than something like Python. The amount I'd have to think before beginning to type was a lot, but it always seemed worth it, as there was always potential always for a beautiful solution to any problem.

As a result, before I write code in any production language I give a little more thought to what I'm about to write, which I think ends up with a better result.

Heck, even if Haskell just gave a developer an appreciation for basic functional programming, that would be something that will benefit them for years in my view.

comment 5y ago · link · parent

Maybe they're looking to get a lot of granularity. Thinking of, https://haveibeenpwned.com/, you could give an email address and get value from the site, but there's no need for an account. Assuming you store the email that's certainly more of a privacy/security risk than using it once and throwing it away.

comment 6y ago · link · parent

Essentially you can access BBG Anywhere without any hardware or BBG software, through a Citrix connection: https://bba.bloomberg.net/?utm_source=bloomberg-menu&utm_med...

comment 6y ago · link · parent

This seems like such a significant problem for the language and has been around since the beginning of time. Considering the amount of value that Python adds to companies and individuals around the world, is there a reason that institutions or someone with the means hasn't funded a project to "solve" the GIL problem?

comment 6y ago · link · parent

Cruise ships handle plenty of non-window "accommodation": https://www.royalcaribbean.com/blog/an-inside-room-with-a-vi...

comment 7y ago · link · parent

"Progress is not a function of time", this is a really deep quote.

comment 7y ago · link · parent

this seems like the real magic here. The author states at the start, automating all of the steps of something can be daunting. But this script can incrementally become a do everything script.

comment 7y ago · link · parent

Maybe not immediately, but isn't this what Pandas' new array interface[0] should facilitate?

[0] https://tomaugspurger.github.io/pandas-extension-arrays.html

comment 7y ago · link · parent

A minor plug: I've found I generate graphs and tables in Jupyter notebooks, so I wrote ipynb-tex, to allow you to reference cells from a notebook directly in your LaTeX documents. This supports tables, and figures.

https://github.com/poulter7/ipynb-tex

comment 7y ago · link · parent

Garret Walker, from Bank of America, spoke at PyGotham last year and touched on this topic at the end of his talk: https://2018.pygotham.org/talks/seventeen-million-lines-of-p...

Disclosure: I work for Bank of America.

comment 7y ago · link · parent

Thanks for your advice, I'm currently starting down the path of writing (what I hope will become) a book. I'm at your piece of advice I). I'm working on a framework which links LaTeX and Python notebooks in a dynamic compilation setup [1], so reading your first point of advice makes me think I might have started on the wrong path.

Did your setup ultimately prove useful in writing your book? Or did you give up part way through and that helped you get to the task of actually writing?

[1] https://github.com/poulter7/ipynb-tex

comment 7y ago · link · parent

I've read this multiple times, and I'm sure it's an intuive argument. Is it actually true though?

comment 8y ago · link · parent

Not meaning to be rude, it sounds like you're going strong and providing a great service. But if you retire in future do you plan on handing down your code and setup to someone?

comment 8y ago · link · parent

Options, Futures and Other Derivatives is basically a Bible. https://www.amazon.com/gp/aw/d/013447208X/ref=dp_ob_neva_mob...

comment 8y ago · link · parent

LEO billboards?

comment 8y ago · link · parent

I am constantly approached with adhoc requests, often unrelated to the application I work on, probably more of these than actual ticket items.

I've started to number these myself in my own ticket system where I keep scripts, screenshots and logs etc. but I'm using OneNote, because it's so unrestrictive.

comment 8y ago · link · parent

I find learning mathematical concepts from Wikipedia very difficult

comment 8y ago · link · parent

Code is imported as a minted import, it's properly formatted text

comment 8y ago · link · parent

Yes! Or in a large document/book to guarantee no break between code and executable examples

comment 8y ago · link · parent

Next time I'll avoid humour in a submission

24.

Show HN: Ipynb-tex – Include Jupyter notebook cells in TeX documents(github.com ↗)

36 points · by jonathanpoulter · 8y ago · 7 comments

comment 8y ago · link · parent

ipynb-tex is a simple style sheet which allows extracts tagged cells out of a Jupyter notebook and includes them in a TeX document. Every time you recompile the LaTeX document you'll get the latest notebook output, so your documents are always in sync.

26.

Show HN: ipynb-tex – Jupyter Notebooks and TeX(github.com ↗)

4 points · by jonathanpoulter · 8y ago · 1 comment

comment 8y ago · link · parent

That was my take on this too, why do the type hints need to be there for this to work, they don't seem to be involved at all?

comment 8y ago · link · parent

Does this play well with the likes of Vimium? It seems to steal some of Vimium's most common bindings.

comment 8y ago · link · parent

I don't know if you get a chance to take a picture of what bites you most of the time... if ML could distinguish between different bites by just looking at skin, that would be incredibly useful.
123