Live data from Hacker News

Viewing profile — vkjv

vkjv

HN member
Joined
Thu, Jan 16, 2014, 6:19 PM UTC
HN karma
792
Public activity
369 items

About vkjv

No profile information was provided.

Recent public activity

  1. comment
    Comment #18764173

    We are using it to write Express (node.js) middleware via Neon ( https://github.com/neon-bindings/neon ). This has a few key benefits: * Progressively introduce Rust instead of rep…

  2. comment
  3. comment
    Comment #18399463

    The `miscreant` library also does this: https://github.com/miscreant/miscreant . It's really effective. For example, any method that requires a one time pad takes ownership. This a…

  4. comment
    Comment #18302881

    Interestingly, I was able to get an amazing speed improvement without going completely to Rust. I didn't want to port APM code as well, so I kept node.js/express for routing. Very …

  5. comment
    Comment #18256954

    It's a play on "The Twelve-Factor App" https://12factor.net . https://3factor.app/#comparison-to-12factornet

  6. comment
    Comment #18253309

    This. I'll also add that in the world of things like Docker and [Insert]CI you don't need to mock most external dependencies like databases.

  7. comment
    Comment #18194854

    It's interesting that this went _beyond_ a prank. Almost the definition of "fake it until you make it."

  8. comment
    Comment #18160466

    > "...review design docs" In my opinion, one of the most important and most difficult parts of the job. Architecture and design shouldn't be limited to senior engineers--it won't b…

  9. comment
    Comment #18039548

    I like the use of "unsafe" for something that you don't want to reach for first. Those who are new get a very clear warning and those who aren't have had the opportunity to underst…

  10. comment
    Comment #18025083

    FWIW, I just checked and they don't use an iFrame approach. This means their entire checkout page must be in scope for SAQ-D.

  11. comment
    Comment #18024708

    Unfortunately, PCI does not put very many restrictions on the parent website. If credit card elements are in an iFrame, the parent site is excluded from most requirements because t…

  12. comment
    Comment #17910189

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de...

  13. comment
    Comment #17878618

    They may also be uncertain what another driver will do. For example, turning right onto a two lane road may be safe if the right lane is open. However, despite it not being legal, …

  14. comment
    Comment #17878585

    About as confident as I can be without having insight into their perspective. I'm mostly referring to right turn on red scenarios where I'm not comfortable with the risk. Although,…

  15. comment
    Comment #17868855

    Every single time someone honks at me for this, I'm tempted to stay in place longer than necessary. Fortunately--most of the time--I think better of being this petty and passive ag…

  16. comment
    Comment #17810319

    A blog discussing the handling of this. https://news.ycombinator.com/item?id=17786791

  17. comment
    Comment #17645475

    I recommend using a threshold of at least 2 stars. It's fairly common to star your own repo to improve visibility.

  18. comment
    Comment #17626974

    What I found most interesting about this write-up is that most of the speed-up in the CSS parsing came from parallelism and that parallelism was attempted many times on the C++ wit…

  19. story
  20. comment
    Comment #17583161

    I've heard this called "bunny code." It doesn't matter if it's good or bad, it'll reproduce.

  21. comment
    Comment #17416934

    > "A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, com…

  22. comment
    Comment #17408223

    Despite earning marginally more than minimum wage, being a lifeguard is still the happiest I've ever been at a job.

  23. comment
    Comment #17364658

    You can wrap up the build and the copy with a multi-stage docker build. Something like the following. FROM rust:latest RUN rustup target install x86_64-unknown-linux-musl COPY . /s…

  24. comment
    Comment #17319759

    I highly recommend using multi-stage builds to move the rust binary to a clean container. The rust build tool chain is fairly heavy and is unnecessary at runtime. It can be as simp…

  25. comment
    Comment #17286080

    > There are safe places to have a business located, and on the corner of a neighborhood street where bad drivers are cutting corners, texting, and going too fast is NOT one of thos…