Viewing profile — vkjv
vkjv
HN member- Joined
- Thu, Jan 16, 2014, 6:19 PM UTC
- HN karma
- 792
- Public activity
- 369 items
- HN profile
- View on Hacker News ↗
About vkjv
No profile information was provided.
Recent public activity
-
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…
- comment
-
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…
-
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 …
-
comment
Comment #18256954
It's a play on "The Twelve-Factor App" https://12factor.net . https://3factor.app/#comparison-to-12factornet
-
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.
-
comment
Comment #18194854
It's interesting that this went _beyond_ a prank. Almost the definition of "fake it until you make it."
-
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…
-
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…
-
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.
-
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…
-
comment
Comment #17910189
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de...
-
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, …
-
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,…
-
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…
-
comment
Comment #17810319
A blog discussing the handling of this. https://news.ycombinator.com/item?id=17786791
-
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.
-
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…
- story
-
comment
Comment #17583161
I've heard this called "bunny code." It doesn't matter if it's good or bad, it'll reproduce.
-
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…
-
comment
Comment #17408223
Despite earning marginally more than minimum wage, being a lifeguard is still the happiest I've ever been at a job.
-
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…
-
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…
-
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…