HNHacker News
TopNewBestAskShowJobs

RojerGS

446 karma · joined March 3, 2021

submissionscomments
RojerGS··on Teaching the Largest Programming Lesson
Or in a shorter sentence: getting a video to 1M views is a much different achievement from getting 1668 students in a single room to learn about something.
RojerGS··on Teaching the Largest Programming Lesson
What bug(s) were shown?
RojerGS··on Regex Crossword
This is a crossword puzzle where all hints are regular expressions. At first, it looked like there wasn't enough information in the regex patterns to fill in the grid but I assure you there is and the whole thing can be filled with logical deductions alone.
RojerGS··on Lessons I learned from working full-time on a FOSS project for 503 days
The title of this posting was edited and no longer matches the title of the article linked. I wonder if anybody knows why?
RojerGS··on Animations From First Principles (in 5 minutes)
I can make it more explicit that the addition is to centre the figures in the canvas.
RojerGS··on Animations From First Principles (in 5 minutes)
Thanks for the reference! I don’t know this book but I’ll take a look!
RojerGS··on Animations From First Principles (in 5 minutes)
That’s a great suggestion. People could immediately see what they’re drawing!
RojerGS··on Animations From First Principles (in 5 minutes)
This.
RojerGS··on Animations From First Principles (in 5 minutes)
Hey there, OP here.

I jotted down some thoughts on how I think about (simple) animations and how to create them with some programming (in Python). I'd love to hear your thoughts on my write up and also what directions you suggest I take these personal explorations in.

RojerGS··on Snappify: Create beautiful code snippets with ease
I have been using snappify.com for over a year now and I absolutely love it.

I've used snappify to create code snippets to share on social media[1], I've used it to create YouTube video thumbnails, and I've used it to create slides for talks that I've given at big international conferences[2].

I have no affiliation with snappify whatsoever, and I'd love to see your comments on this tool.

What things look good/promising?

What's missing?

What other alternatives could I consider for similar purposes?

[1]: example of a code snippet on social media https://twitter.com/mathsppblog/status/1693928637471355191 [2]: example of a slide deck https://mathspp.com/talks#what-apl-taught-me-about-python

RojerGS··on What learning APL taught me about Python
Article OP here! Thanks everyone for reading and for your feedback.

If you have suggestions for improvements for the article, let me know here! Thanks again.

RojerGS··on What learning APL taught me about Python
Yes, this is VERY close to the APL way: +/ages>17

OP here; maybe I'll add a comment to the article to make the comparison between NumPy and APL for this expression. Thanks!

RojerGS··on Textual Worker API
The guide looks very compelling! Hopefully the Worker API will make it easier for me to implement a couple of async features in an app I started some time ago...
RojerGS··on Show HN: Simple TODO app that runs in the terminal
Hey there, HN!

I wrote a simple TODO app that runs in the terminal. The GIF demo in the repo (https://github.com/mathspp/textual-todo) uses the mouse so that people watching can see where I am clicking, but everything can be done from the comfort of your keyboard.

Basic features include data persistence (doh!), sorting items by due date, different styling for items that are late, and collapsing details for a more compact view.

Let me know if you find any bugs and/or if you have suggestions for simple features that I could add to keep this app lightweight but useful!

RojerGS··on Build a Wordle Clone with Python and Rich
It's quite cool how you can have coloured output in the terminal. It blew my mind when I first learned about ANSI escape sequences.
RojerGS··on Getting started with property-based testing in Python with hypothesis and Pytest
Original author here, I'll be interested in feedback about the post and use cases you have for property-based testing.

FYI my personal blog lives at https://mathspp.com/blog.

RojerGS··on How to create a Python package in 2022
I've been looking for a replacement for that font for a long time. Do you have any suggestions?
RojerGS··on How to create a Python package in 2022
Thanks for the nice words. Was there anything that was unclear or that you think was missing?
RojerGS··on How to create a Python package in 2022
Thanks for the words of caution! For such a small package, I think 100% code coverage isn't necessarily a bad thing yet :P But you raise valid points!
RojerGS··on How to create a Python package in 2022
Oh, this looks like an interesting tool! Thanks for the link.
RojerGS··on How to create a Python package in 2022
Yeah, but that looks a bit odd and you lose the syntax highlighting... I considered that but ended up going with a tox.ini file.
RojerGS··on How to create a Python package in 2022
Thanks a lot! I'm the original author and I appreciate your nice words.
RojerGS··on How to create a Python package in 2022
Thanks a lot! I'm the original author and I appreciate your nice words.
RojerGS··on How to create a Python package in 2022
Excellent points! I have seen several cookiecutter templates, but like you said, those aren't very useful when you are at the very start and everything looks weird and new.
RojerGS··on How to create a Python package in 2022
Original author here: don't make promises you won't keep, right? :P
RojerGS··on How to create a Python package in 2022
Oh, I see... I personally barely use conga and I have no idea how that is done. I don't think I'll write any blog article like that any time soon :( Maybe you could do it!
RojerGS··on How to create a Python package in 2022
Oh, this would be neat! Looking forward to it!
RojerGS··on How to create a Python package in 2022
Your nitpick is forgiven! Thanks a lot for this information, I was not aware of this...

However, I took a look at PEP 518 and failed to understand what was wrong with Poetry's default configuration. Can you help me out?

RojerGS··on How to create a Python package in 2022
Hey, original author here. Thanks a lot for sharing this!

Also, can't believe everyone let me get away with not writing about documentation! I'll see to it that it gets done and added to the article.

RojerGS··on Ask HN: Black Friday/Cybermonday deals for hackers?
I'm an independent creator working mostly with Python, and I have 40% OFF of the Python Problem-Solving Bootcamp (https://mathspp.com/pythonbootcamp) through Black Friday.

Everything else I have is just free, like my Pydon'ts book (https://pydonts.com).

Page 1 of 2Next →