HackerTrans
TopNewTrendsCommentsPastAskShowJobs

RojerGS

no profile record

Submissions

Make a Cutting Room Floor

treyhunner.com
1 points·by RojerGS·w zeszłym roku·0 comments

Too Much Magic

willmcgugan.github.io
5 points·by RojerGS·w zeszłym roku·0 comments

Why Bad AI Is Here to Stay

orlp.net
1 points·by RojerGS·w zeszłym roku·1 comments

Disillusioning the Magic of the Fork System Call

blog.codingconfessions.com
21 points·by RojerGS·2 lata temu·0 comments

Teaching the Largest Programming Lesson

mathspp.com
51 points·by RojerGS·2 lata temu·6 comments

How I Prepare a Technical Talk

mathspp.com
2 points·by RojerGS·2 lata temu·0 comments

Bresenham's Circle Drawing Algorithm (2021)

funloop.org
107 points·by RojerGS·2 lata temu·45 comments

Regex Crossword

mathspp.com
2 points·by RojerGS·2 lata temu·1 comments

Spurious Correlations

tylervigen.com
1 points·by RojerGS·2 lata temu·0 comments

Bresenham's Circle Drawing Algorithm (2021)

funloop.org
1 points·by RojerGS·3 lata temu·0 comments

Building a Python Compiler and Interpreter

mathspp.com
5 points·by RojerGS·3 lata temu·0 comments

Become a C++ Rockstar Programmer in 2 Minutes

github.com
2 points·by RojerGS·3 lata temu·0 comments

Animations From First Principles (in 5 minutes)

mathspp.com
108 points·by RojerGS·3 lata temu·16 comments

Turning $20k Into $500k In 1 Year Challenge

scottdelong.com
6 points·by RojerGS·3 lata temu·1 comments

PEP 727 – Documentation Metadata in Python Typing

peps.python.org
4 points·by RojerGS·3 lata temu·0 comments

What If English Were Phonetically Consistent? [video]

youtube.com
2 points·by RojerGS·3 lata temu·0 comments

Snappify: Create beautiful code snippets with ease

snappify.com
2 points·by RojerGS·3 lata temu·1 comments

How to Write a Text Editor

rentafounder.com
2 points·by RojerGS·3 lata temu·0 comments

What learning APL taught me about Python

mathspp.com
90 points·by RojerGS·3 lata temu·97 comments

Build, Test, and Debug Regex Online

regex101.com
1 points·by RojerGS·3 lata temu·0 comments

comments

RojerGS
·2 lata temu·discuss
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
·2 lata temu·discuss
What bug(s) were shown?
RojerGS
·2 lata temu·discuss
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
·2 lata temu·discuss
The title of this posting was edited and no longer matches the title of the article linked. I wonder if anybody knows why?
RojerGS
·3 lata temu·discuss
I can make it more explicit that the addition is to centre the figures in the canvas.
RojerGS
·3 lata temu·discuss
Thanks for the reference! I don’t know this book but I’ll take a look!
RojerGS
·3 lata temu·discuss
That’s a great suggestion. People could immediately see what they’re drawing!
RojerGS
·3 lata temu·discuss
This.
RojerGS
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·3 lata temu·discuss
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
·4 lata temu·discuss
I've been looking for a replacement for that font for a long time. Do you have any suggestions?
RojerGS
·4 lata temu·discuss
Thanks for the nice words. Was there anything that was unclear or that you think was missing?
RojerGS
·4 lata temu·discuss
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
·4 lata temu·discuss
Oh, this looks like an interesting tool! Thanks for the link.