Better HN
topnewbestaskshowjobs
Log inSign up

switowski

447 karma · joined Jan 21, 2019 (7y ago) · 27 submissions

Submissions

1.

I've built my first successful side project, and I hate it(switowski.com ↗)

1492 points · by switowski · 2y ago · 419 comments

comment 3y ago · link · parent

Sounds useful, I will read it later!

3.

How to Make a Great Conference Talk(switowski.com ↗)

1 points · by switowski · 3y ago · discuss

4.

Checking for True or False in Python(switowski.com ↗)

2 points · by switowski · 6y ago · discuss

5.

Ask for Forgiveness or Look Before You Leap in Python?(switowski.com ↗)

1 points · by switowski · 6y ago · discuss

6.

Let's Write an IPython Extension the Hard Way(switowski.com ↗)

2 points · by switowski · 6y ago · discuss

7.

My Favorite CLI Tools(switowski.com ↗)

5 points · by switowski · 6y ago · discuss

8.

VS Code Plugins That I Use for Writing Python(switowski.com ↗)

1 points · by switowski · 6y ago · discuss

9.

I'm Programming on a Macbook and Here Are the Tools That Make My Life Easier(switowski.com ↗)

2 points · by switowski · 6y ago · discuss

10.

Ways of Debugging with IPython(switowski.com ↗)

7 points · by switowski · 6y ago · discuss

11.

TIL: In Python PIP_REQUIRE_VIRTUALENV disables pip outside of a virtualenv(switowski.com ↗)

2 points · by switowski · 6y ago · discuss

comment 7y ago · link · parent

Damn, your post is doing better than mine when I originally posted it last week: https://news.ycombinator.com/item?id=21417621 Good job and thank you for reposting :-)

13.

You Don't Have to Migrate to Python 3(switowski.com ↗)

9 points · by switowski · 7y ago · 4 comments

14.

IPython Extensions(switowski.com ↗)

1 points · by switowski · 7y ago · discuss

15.

Automatically reload Python modules with %autoreload(switowski.com ↗)

2 points · by switowski · 7y ago · discuss

comment 7y ago · link · parent

I've been writing a short series of articles about magic functions in IPython. In the previous parts, I've explained how the line and cell magic works and how to create your own by decorating a function.

In the last part, I'm explaining:

* What are Magics classes?

* How are they different from magic functions and when you might want to use one or the other?

* How to create a type checker for Python type hints (that works on previous commands, similar to how %history works)?

Check out the article here: https://switowski.com/python/ipython/2019/02/15/creating-mag...

17.

Magics classes in IPython(switowski.com ↗)

3 points · by switowski · 7y ago · 1 comment

comment 7y ago · link · parent

Hey,

I've been writing a short series of articles about magic functions in IPython. If you are curious how to:

* Run JavaScript or Ruby code without leaving IPython

* Create a type checker that will use mypy to check blocks of code in IPython

* Or what is the difference between "line magic", "cell magic" and "line and cell" magic functions?

then check out the second part of the series: https://switowski.com/python/ipython/2019/02/08/creating-mag...

19.

Creating a type checker magic function in IPython(switowski.com ↗)

2 points · by switowski · 7y ago · 1 comment

20.

Creating Magic Functions in IPython(switowski.com ↗)

2 points · by switowski · 7y ago · discuss

21.

Git aliases don't have to be boring(switowski.com ↗)

1 points · by switowski · 7y ago · discuss