Live data from Hacker News

Viewing profile — dmlorenzetti

dmlorenzetti

HN member
Joined
Mon, May 18, 2009, 11:20 PM UTC
HN karma
2,350
Public activity
433 items

About dmlorenzetti

I work on problems of air quality and energy conservation in buildings. Mostly I write simulation and optimization tools, using mainstream languages like C, Python, and F95.

Recent public activity

  1. comment
    Comment #45222100

    Regarding the idea to have some macros that expand to null when unwanted -- I have some "developer" macros that, in day-to-day use, do things like showing TODO items. The most usef…

  2. comment
    Comment #44062268

    I don't know anything about literature. You know what you like -- which is enough, especially if you are reading for pleasure. In my experience, discussing a work, or reading about…

  3. comment
    Comment #41342813

    It seems like it would be a lot easier to just have students call, e.g., `ta_fork()` rather than `fork()`, and then provide an implementing file to be linked with their program. Th…

  4. comment
    Comment #41267871

    This site compares a few text-based diagramming tools, including Mermaid: https://text-to-diagram.com

  5. comment
  6. story
  7. comment
    Comment #32439886

    being a janitor often pays really well When I was a kid, maybe 5th or 6th grade, my family was driving out in the country and came upon a burning farmer's field. We stopped to help…

  8. comment
    Comment #32357023

    Alex Jones reminds me of the Introduction to Kurt Vonnegut's "Mother Night" -- We are what we pretend to be, so we must be careful about what we pretend to be.

  9. comment
    Comment #31563785

    Worth noting that InformIT currently has a sale running. Through end of 31-May EDT, use code SUNSHINE to get 50% off when you buy two books or ebooks.

  10. comment
    Comment #31249509

    Similarly, they would use blanked keyword blocking. So sex education resources would frequently get blocked. I had a colleague whose surname, Sextro, was part of his email address.…

  11. comment
    Comment #29939068

    You don't put science on your name if you're a real science Having flashbacks to when a close friend was getting an MS in Political Science, and spent the first semester in a class…

  12. story
  13. comment
    Comment #28285469

    Another example of selling the same space twice is cities moving from fixed parking meters, to meters that print out a parking receipt. With the meter stuck on a pole at the parkin…

  14. comment
    Comment #28256918

    This [0] helpful resource distinguishes between tutorials, reference material, how-to guides, and explanations. [0] https://documentation.divio.com

  15. comment
    Comment #27131881

    "Numerical Python" by Johansson was an exception for me.

  16. comment
    Comment #27054507

    It sounds like you're thinking about the mat-vec operation in terms of "Grab one row of the matrix, take the dot-product with the vector, and repeat for each row of the matrix." Bu…

  17. comment
    Comment #26730303

    > Now I just curate interesting videos and the kids have to watch it with me. I also curate content to watch with my daughter. It started long before she had access to a computer, …

  18. story
  19. comment
    Comment #25156854

    For professional reasons, I have long been fond of the following fact about giraffes. Their heads are so high that their hearts have to produce higher blood pressures than any othe…

  20. comment
    Comment #24882934

    Pandoc is great at bridging the gap between science-oriented data control needs, and management-oriented reporting needs. I was on a modeling project that used scripts to generate …

  21. comment
    Comment #24376430

    Not the OP, but for what it's worth, the overall flow of the book just didn't work for me. "Modern C" takes a staged approach, going through + Level 0 Encounter + Level 1 Acquainta…

  22. comment
    Comment #24262213

    Hard-coded file paths for input data. File paths hard-coded to use somebody's Google Drive so that it only runs if you know their password. Passwords hard-coded to get around the a…

  23. comment
    Comment #23632753

    One thing I appreciate about John D. Cook's blog is that he doesn't feel the need to pad out what he wants to say. Here, he had a thought, and he expressed it in two paragraphs. I'…

  24. comment
    Comment #23581538

    acknowledgement of all the undeniably great things about the App Store from the perspective of users and developers As a user, I shudder anytime I have to interact with the App Sto…

  25. comment
    Comment #23302604

    Don't discount your volunteer work, especially if you have done it as a young adult (i.e., from personal conviction rather than due to home/school pressure). A lot of people will t…