Viewing profile — davetron5000
davetron5000
HN member- Joined
- Wed, Dec 21, 2011, 2:44 PM UTC
- HN karma
- 357
- Public activity
- 59 items
- HN profile
- View on Hacker News ↗
About davetron5000
No profile information was provided.
Recent public activity
-
comment
Comment #45163816
There’s also a typography element to formatting source code. The notion that all code formatting is mere personal preference isn’t true. Formatting code a certain way can help to c…
-
comment
Comment #44509633
Thanks for the kind words!
-
comment
Comment #44504716
(author here) It only uses Sinatra because I happened to know it and needed to bootstrap the low-level stuff. I don't know if it needs to be based on Sinatra in the long term - it …
-
comment
Comment #44504291
I'm OK not using a compiler. Used one for years and am good on that for now. I like writing Ruby.
-
comment
Comment #44504182
I like Ruby! Ruby has types. They just aren't enforced by a compiler.
-
comment
Comment #44503590
Yeah, that makes sense. Where I end up wanting mocks is when this happens: 1 - build first version of feature, all core logic in a class I can test conventionally 2 - logic gets co…
-
comment
Comment #44503554
I didn't come up with the license. You can read about it here: https://firstdonoharm.dev/ I didn't want the code to be All Rights Reserved, so I chose the best license I could find…
-
comment
Comment #44503349
The biggest thing is the mocking system. MiniTest's feels so difficult to use. I also like creating custom matchers vs. creating my own assert_* methods. I would agree that many fe…
-
comment
Comment #44503274
I thought hard about this decision. Every time I use MiniTest, I end up wanting a bit more that RSpec has and then switching to it. I also have been surprised over the years that t…
-
comment
Comment #44503031
Author here. The framework does require setting stuff up. RSpec is not one of those things. It's the testing library you will use if you use this framework. I didn't create a lot o…
-
comment
Comment #44503002
Author here - the example doesn't allow logins now to avoid abuse. I wasn't 100% sure I'd make it public and just decided today to do it, so it's not yet ready for just anyone to l…
-
comment
Comment #43901134
This is my favorite game for the 2600. I built a clone of it for Windows using Direct X in probably 1999/2000. I don't have a Windows machine, but I think Microsoft's obsession wit…
-
comment
Comment #42883754
Where you live matters. In the US there is a significant tax burden on exercising. Talk to an accountant. Also look into QSBS which can shield your tax burden if the company was sm…
-
comment
Comment #41191834
It wants to act on GitHub on my behalf. Not clear why I should allow it to do that, especially when the only info about this app that is presented is that it will store my data on …
-
comment
Comment #40045330
I built a toy app using this, with a front-end only app and postgrest + RBS. The app was seriously two forms behind a login. It was a huge pain. RBS is "insecure by default" meanin…
-
comment
Comment #39232247
I built one recently. Much simpler and more opinionated, but can generate a Tailwind configuration: https://ghola.dev (desktop/ipad is best) Long read on how it was built with web …
-
comment
Comment #38900834
I loved U1-4 on the C64. If you like this sort of thing I created an ultima-inspired in browser game https://starlightdawn.online It’s an interactive story and not a CRPG but there…
-
comment
Comment #38435981
Web Components are not a replacement for React. They are a thing you would use to build React if you were to do so today. To use only Web Components, you will be writing a lot of l…
- story
-
comment
Comment #38197293
To save anyone a click, the author figured that AirBnB's urls had monotonically increasing numeric ids, which is the Rails default, and figured out that the AirBnB CEO's id was 3, …
-
comment
Comment #36941597
Based on how it is implemented, it probably should've been called `trace` because it is one level below debug.
-
comment
Comment #36813240
I dunno, the OP may want to work with a processor that provides transparent and clear customer service.
-
comment
Comment #36813212
Their engineers need promotions so how else can they get them?
-
comment
Comment #36723401
The typography is almost great but it full justifies all text (at least on mobile) which looks horrible. Web browsers have limited hyphenation and don’t do any kerning or other adj…
- story