Live data from Hacker News

Viewing profile — hitchdev

hitchdev

HN member
Joined
Tue, Feb 28, 2023, 4:07 PM UTC
HN karma
11
Public activity
31 items

About hitchdev

No profile information was provided.

Recent public activity

  1. comment
    Comment #48454871

    I had a similar issue. The blind spot was unit tests. I think the issue is just that it's incredibly hard to sell an abstract idea and incredibly hard to convince people to abandon…

  2. comment
    Comment #43298888

    >You can embed DSLs in CUE CUE lets you embed functions too it looks like it's almost a programming language itself. The closer a configuration language gets to a programming langu…

  3. comment
    Comment #43290613

    >The issue here is that schema validation is expressed in Python. The author contradicts himself when he argues, on the one hand, that Python shouldn't be used for configuration be…

  4. comment
    Comment #43208001

    It is. I run a very similar script on termux, triggered via termux widget on my home screen.

  5. comment
    Comment #43204912

    I run single script that does a commit, pull and merge without pulling open the editor. It takes a couple of seconds and works fine.

  6. comment
    Comment #43204900

    I wrote a command line tool called "orji" coz of this (still in alpha). I wanted to use orgzly or a text editor and just be able to write templates (in jinja2) or bash scripts to p…

  7. comment
    Comment #42015060

    >you sort of can't make standalone ELisp apps (or at least nobody does). Otherwise you'd just have an `org2html` and `org2pdf` application at the command line. Because I don't like…

  8. comment
    Comment #41872469

    I dont think it is about discipline. Discipline is required if you're duplicating tedious work, not for creativity. At its core, a good test will take an example and do something w…

  9. comment
    Comment #41827256

    It's not purely about skill, code quality also improves as a function of discipline, a willingness to take risks and outside pressure. fwiw I dont think Ive ever seen clean code th…

  10. comment
    Comment #41569036

    The best way to conceptualize hexagonal is as a kind of crutch to accomodate the inability of unit tests to effectively fake stuff like the db and their tendency to tightly couple …

  11. comment
    Comment #41510192

    >And stuff like mocks etc take far longer to write than a 5 line fix If you test from the outside in and build up a library of functional and realistic fakes then over time then th…

  12. comment
    Comment #41346140

    Thats interesting. You had almost exactly the same idea as me: https://hitchdev.com/hitchstory

  13. comment
  14. comment
  15. comment
    Comment #38058061

    Literate programming shouldnt necessarily apply to application code for large systems but I almost always want more literate tests that clearly explain not just what should happen …

  16. comment
    Comment #38049149

    They're attacking the problem from two directions - bottom up and top down. I view the type system as a way to whittle down the state space to the bare minimum while the tests vali…

  17. comment
    Comment #35928560

    MongoDB is still around.

  18. comment
    Comment #35928065

    >The whole point of abstraction is to make those decisions once and isolate the complexity The point Sandi Metz is making is that it's often only obvious when you can do this in hi…

  19. comment
    Comment #35867476

    Why not attach debugging tools to the tests?

  20. comment
    Comment #35867365

    This is neat. >For example give a marketing agency authentication to claim the domain on social media but nowhere else. How does it prevent them from claiming it elsewhere?

  21. comment
    Comment #35794074

    They are useful if you program in a somewhat object oriented way. They are deeply unhelpful if they're all either "method(self) -> dict" or "method(input: pd.DataFrame)"

  22. comment
    Comment #35785889

    cProfile and locust are two commonly used profiling and load testing tools.

  23. comment
    Comment #35752067

    * Ruthlessly prioritize by pain - a lot of technical debt is "icky" but doesn't cause much pain. Some causes a lot of very serious pain. The latter is what you need to focus on. Th…

  24. comment
    Comment #35751575

    I sometimes wonder if Selenium wouldn't have been able to beat back Playwright more if it had reserved the rights to run SaaS services on top and used some of the proceeds to fund …

  25. comment
    Comment #35726623

    I believed this would apply to me too but it ended up slower than 4g. Modems also appear to range from £250-£900 on amazon.