HNHacker News
TopNewBestAskShowJobs

rohitpaulk

1,708 karma · joined September 22, 2015

rohitpaulk.com
submissionscomments
rohitpaulk··on Launch HN: CodeCrafters (YC S22) – Practice writing complex software
Quick note here: the original comment mentioned that our pricing page was hard to find, that's what Sarup's reply was addressing. Looks like it was later amended to talk about subscription payments.

Re: subscription payments, only our Monthly plan is a recurring subscription, the 3 Months / 1 Year plans are one-time payments. A "lifetime access" plan isn't sustainable for us at the moment since we need to keep servers (including test runners) up and running.

rohitpaulk··on Launch HN: CodeCrafters (YC S22) – Practice writing complex software
Lots to improve on the videos front - thanks for the suggestion!
rohitpaulk··on Launch HN: CodeCrafters (YC S22) – Practice writing complex software
Hugged to death, but it was brief :) Should be back up now!
rohitpaulk··on Launch HN: CodeCrafters (YC S22) – Practice writing complex software
Our general approach to this is "Show, don't tell".

We feel the ideal way to learn design patterns and SOLID principles isn't to read about them or be told that they're good. It's to make the mistakes yourself and then see how things could be cleaner had you used one of those techniques. Much like code review. You first do things your way, then a reviewer points out how this could be better if you did XYZ instead.

In our product we cover this by offering "Expert Solutions" for each stage. You'll see a code diff (compared to the previous solution), an explanation for that code diff (_why_ were things done this way, what were other alternate approaches), and where possible we even offer a source walkthroughs of the official codebase you're re-creating (the Redis source code, for example).

We have previews of all these features in the demo video: https://codecrafters.io/videos/demo. You can see the solutions in-app without starting a trial, just navigate to the Redis course, click on a stage and then click on "View Solution". And here's an example of a source walkthrough: https://app.codecrafters.io/walkthroughs/redis-event-loop.

rohitpaulk··on Redis Source Walkthrough: How the ECHO command is implemented
Thanks for sharing! I knew that Sourcegraph notebooks were a thing, didn't know that they embedded code like that (I assumed they'd just embed Sourcegraph queries).
rohitpaulk··on Launch HN: CodeCrafters (YC S22) – Practice writing complex software
Glad you mentioned this - Hackattic was in fact one of our early inspirations to start CodeCrafters :) I thoroughly enjoyed going through the challenges there: https://hackattic.com/u/rohitpaulk.
rohitpaulk··on Don't Let a Bad Abstraction Cost You 2 Years
Curious to know what dev environment problem takes a MONTH to solve?
rohitpaulk··on Ask HN: Best software engineering YouTube videos/screencasts/code walkthroughs?
DHH (creator of Ruby on Rails) has a few videos uploaded here: https://youtube.com/playlist?list=PL9wALaIpe0Py6E_oHCgTrD6Fv...
rohitpaulk··on Ask HN: Books like “Crafting interpreters” or “The ray tracer challenge”?
You'll love codecrafters.io
rohitpaulk··on Ask HN: How did you learn good program design?
Mostly practice. I'd build toy versions of tools like Redis, Docker, Git etc. from scratch. I now help others do the same with CodeCrafters.io.

One underrated book that I found very helpful: "A Philosophy of Software Design" by John Ousterhout.

rohitpaulk··on Retool adds source control for branching and versioning apps
Curious, what does the diff look like in a Pull Request? Is it human-readable output, or would one need to load the branch in Retool to see what changed?
rohitpaulk··on Show HN: Entrypoint comments – show new readers where your program starts
Good idea!
rohitpaulk··on Tell HN: Udacity dark pattern to cancel a subscription
What's the change-of-address trick?
rohitpaulk··on I accidentally used YAML.parse instead of JSON.parse and it worked
Yep, that's Ruby.
rohitpaulk··on Ugit - DIY Git in Python
There's a long list here: https://github.com/danistefanovic/build-your-own-x.

Also, https://codecrafters.io/challenges/git supports multiple languages (I'm the author). Many folks that try this challenge do it for the same reason you mentioned: to learn about a tool and learn a new language at the same time.

rohitpaulk··on Coinbase Breach Notification
Curious what the total dollar amount involved was.
rohitpaulk··on The most impressive linguistic feat I’ve ever seen
A similar example: in Laravel's codebase, every line in a doc block is 3 characters shorter than the line above it.

Example: https://github.com/illuminate/database/blob/master/Eloquent/...

rohitpaulk··on A monorepo misconception – atomic cross-project commits
If the change is in a shared library (and not a service shared over the network), it's fine to change all usages at once. Deploying a service wouldn't affect the others.

If the change affects the public interface of a service, then there's no option but to make your changes backward-compatible.

rohitpaulk··on How to Learn Stuff Quickly
Just sent you an invite! (Should be in your inbox in 10 minutes)
rohitpaulk··on How to Learn Stuff Quickly
When it comes to software, one approach that has worked really well for me is "Build your own X". Re-implement a tool from scratch (minimal feature set, not production-quality code) and learn how it works under the hood.

I've done this myself for Git, Docker, Redis, SQLite, Shell and more - it requires patience, but I've found the approach very effective.

There's a GitHub repository with a huge list of similar tutorials that you can follow: https://github.com/danistefanovic/build-your-own-x.

I'm building a programming challenges platform based on this format, if you'd like to check it out: https://codecrafters.io/.

rohitpaulk··on Write your own Redis in Ruby
https://github.com/danistefanovic/build-your-own-x
rohitpaulk··on Launch HN: Aviron (YC W21) – High-Intensity Peloton for Rowing
There's a "Personal Membership" option on the website that seems to allow you to use your own rower.
rohitpaulk··on Why I Love Tailwind
I'd recommend reading "Refactoring UI" (by the authors of Tailwind)
rohitpaulk··on Magit – A Git Porcelain inside Emacs
I was in exactly the same situation you're in. Wrote about this a while ago: https://rohitpaulk.com/articles/vim-to-emacs.

Took me a couple of weeks to acclimatise, but overall the switch was worth it. If you haven't tried it yet, I'd suggest Doom over Spacemacs (details in the article).

rohitpaulk··on Learn Git Internals
Copying over from our FAQ:

> What all languages can I use?

> As of now:

> Redis challenge: Python, Go, PHP

> Docker challenge: Go, Nim

> We’re always looking to add support for more languages. If you’re part of Early Access, let us know what language you’d like added on our Discord server - and we’ll try our best to support it in the next early access trial!

rohitpaulk··on Machine Learning Crash Course
I've compiled this into a Todoist template you can import - it's got links to each module + times.

To preview: http://todotemplates.com/posts/HRtYanEq8zMgRL5fz/google-ml-c...

To import directly: https://todoist.com/importFromTemplate?t_url=https%3A%2F%2Fd...

rohitpaulk··on Ask HN: The Bitcoin adoption paradox
> Why spend a dollar if it’ll be worth $2 tomorrow?

Why sell your house right now, when you know land prices are going to increase in the future? Factor in the rate on increase (which is not going to be 100% in a day once the currency stabilizes), and the benefit of holding vs spending isn't that skewed anymore.

rohitpaulk··on Show HN: Using functions to construct Regex in Python
A more mature version: https://github.com/VerbalExpressions/PythonVerbalExpressions
← PreviousPage 3 of 3