Better HN
topnewbestaskshowjobs
Log inSign up

eriktaubeneck

6 karma · joined Apr 9, 2014 (12y ago) · 9 submissions

Submissions

comment 11y ago · link · parent

Thanks, I just realized that when I introduced the notation above, I just used I(f), but then when I used it below I wrote Im(f). I will clear that up.

comment 11y ago · link · parent

Great point, and I apologize for the confusion. The function should be C to C, with the added restriction of R to R.

comment 11y ago · link · parent

Did not intend to make any claims that Python libraries don't do this, but rather to explore the subject as a way to better understand the implementation and limits of floating point numbers and numerical analysis based on them.

comment 11y ago · link · parent

That's an interesting point I had not considered. My view (mostly from the math side, my shallow dive into physical systems was just from a PDE class in grad school) is from the view of unstable differential equations where very small changes to initial conditions can cause massive changes to the output of the system. My uninformed instincts would tell me that even with orders of more digits than atoms in a physical system, changes smaller than the available accuracy to initial conditions could have significant impact on the eventual state of the system.

5.

Behind the Scenes of the Startup Podcast(medium.com ↗)

4 points · by eriktaubeneck · 12y ago · discuss

comment 12y ago · link · parent

This is what I originally had but I felt that the Python `while` was actually a bit more true to the way a C for loop is constructed (and `range` seems a very not C thing to do.) It's not perfect!

comment 12y ago · link · parent

I like the solution, but I usually keep "The Zen of Python" in mind when writing 'Pythonic' code.

comment 12y ago · link · parent

I like this one. I don't know enough Haskell to have come up with it on my own (but I should!)

comment 12y ago · link · parent

While I wrote this with tongue in cheek, I also aimed to illuminate the power of Python's flexibility along with the inherent danger therein. I do admit the Javacious example was over the top though ;)