HNHacker News
TopNewBestAskShowJobs

aportnoy

1,277 karma · joined August 14, 2017

email: aportnoy@pm.me
submissionscomments
aportnoy··on Ask HN: Learn OS fundamentals
> a short book would either skip a lot of topics or be very shallow in the specifics and the specifics is very much at the core of coding an OS

I'm ok with that! I'm not planning to write an OS, just want to have a programmer's mental model of how an OS works.

aportnoy··on Molten: A modern Python (3.6+) web framework
How does this compare with Flask?
aportnoy··on Ask HN: Does anyone actually use Keybase?
Why would anyone want to hide that? Not an expert in security, maybe I don't have the mental model.
aportnoy··on How to read a mathematics textbook (2016)
Thanks.
aportnoy··on Tidelift wants open-source developers to get paid
What are the incentives on the user side to pay the fees to Tidelift? How would Tidelift prevent free riding?
aportnoy··on Understanding schizophrenia: What exactly is schizophrenia?
Many HN users seem to be affected.
aportnoy··on How to read a mathematics textbook (2016)
> if a certain book isn't working for you, try something else on the same topic

I spent a year with Baby Rudin in college, what would you recommend as a replacement fit for self study?

aportnoy··on Inside cpyext: Why emulating CPython C API is so Hard
Can anyone point to an introduction to CPython internals? My goal is to write a Python extension in C that manipulates Python objects.
aportnoy··on Good Apple (Bad Apple Remix) on the Soviet BK-0010/11M
Can anyone clarify what's going on here?
aportnoy··on The Future of Notebooks: Lessons from JupyterCon
I took abstract algebra with Prof. Kedlaya at UCSD who likes to use Cocalc for his other courses, haven't used it though.
aportnoy··on The Future of Notebooks: Lessons from JupyterCon
> Which cells do I need to rerun together? Which cells should I not run again. What the heck is actually in all these variables right now anyway, because I don't remember which order I've run (and rerun) all the cells in. And what was that one approach or parameter that really worked well that one time? I don't remember.

Right. Get that all the time. My solution is to try to condense the useful code built up across different cells into a reusable block, most often a function. Do that while the 'state' is still fresh in your mind and you remember the order of execution.

It also helps to break up a long notebook into sections using headings and markdown cells with comments. I often start by writing down a question/problem I am trying to solve in prose, that makes it easier to recover the context of the code cells that follow.

aportnoy··on The Future of Notebooks: Lessons from JupyterCon
I use Jupyter for two things:

1. Interactive computation and plotting, run data through a pipeline.

2. Quick prototyping and testing. Once a function/class is ready, it goes into a module, together with some unit tests.

Nothing beats Jupyter for that second use case, 90% of the bugs are squashed through interaction and inspection in the notebook cells, not through unit tests.

aportnoy··on The Future of Notebooks: Lessons from JupyterCon
Spyder is too clunky. I work with a number of remote compute clusters, and like the ability to fire up a jupyter server through ssh, enable port forwarding, and work with the notebook in my browser.

If I need a file browser or I want to quickly view two notebooks side-by-side, Jupyter Lab is still more convenient than Spyder. Although it doesn't support all the features of the notebook, and you end up installing additional extensions managed through yarn and webpack (jeez).

aportnoy··on The Future of Notebooks: Lessons from JupyterCon
Why not?
aportnoy··on The Future of Notebooks: Lessons from JupyterCon
Most comments here express disbelief and disappointment in Jupyter from the software engineering point of view.

What exactly is wrong with it? I use Jupyter daily and find no other Python environment more productive, be it scripts or IPython or IDEs. Granted, I work in scientific computing and use Python for data wrangling and stats. I find immense value in interactivity and iteration speed.

aportnoy··on Theft: A History of Music
Reminded me of the Logicomix: https://en.wikipedia.org/wiki/Logicomix
aportnoy··on What the f*** is the edge?
You throw it in to sound smart. Has more to do with algebra/topology (think quotient group/space) than with arithmetic/number theory (n mod k).
aportnoy··on The Structure of Stand-Up Comedy
Ali Wong is at best mediocre, but the website is nice.
aportnoy··on Web Architecture 101
Thank you, some of the references were helpful!
aportnoy··on Web Architecture 101
Can anyone recommend an introduction to web architecture in the more general and less complex sense? I would like to learn about how the browser interacts with the server (I don't care about load balancing or caching for now), how JS interacts with HTML and CSS, how API's work?

I know a common architecture is JS in the browser making requests to the server and receives JSON and then renders it somehow. Sometime the server renders stuff itself and sends it to the browser, right?

And then there's possibly a database attached to the server.

How does all that work?

aportnoy··on Ted Nelson struggles with uncomprehending radio interviewer (1979) [audio]
https://en.wikipedia.org/wiki/Brobdingnag
aportnoy··on One Island Grows 80% of the World’s Vanilla
Madagascar isn't the smallest island on Earth, you know.
aportnoy··on Attacks against machine learning – an overview
*AdNauseam
aportnoy··on Ask HN: What's the most productive development environment you've used?
tmux + NeoVim for Python development. Switched from regular Vim after discovered NeoVim has much better Python support and a smarter terminal.
aportnoy··on A Mathematical Model for Computing the Total Area Under a Curve (1993)
What the freak
aportnoy··on Edmunds Tesla Model 3 Long-Term Road Test Update for April
Let's hope the hardware is not as buggy as the software.
aportnoy··on Ask HN: What books do you keep on your desk?
FDVS or set theory? Baby or Papa?
aportnoy··on One model to learn them all
One model to rule them all, one model to find them, One model to bring them all, and in the darkness bind them.
aportnoy··on A theoretical physics FAQ
Don’t limit yourself to this FAQ.

1. Head over to physics.stackexchange.com.

2. Sort all answers by votes.

3. Start reading (read the corresponding questions first).

4. Emerge three days later slightly enlighted with a stubble on your face.

5. ???

6. PROFIT!!!

aportnoy··on I realized my brain belongs to my phone
> It culminated with me mindlessly clicking article links, reading the title, scrolling through it (not reading), just familiarizing myself with single words passing through my hyper short attention-span, and getting a "feel" for what the article looked like. It was quite a scary when I did this one time for 30 minutes not remembering anything I have "read" whatsoever.

Why does this sound so familiar?

← PreviousPage 5 of 6Next →