HNHacker News
TopNewBestAskShowJobs

vkjv

792 karma · joined January 16, 2014

submissionscomments
vkjv··on Trying Rust for web services
What are the compile times like? Is a simple watch script with a re-compile sufficient?
vkjv··on Study: Some car models consuming around 50% more fuel than official results
I thought the same. In my anecdotal experience, drivers tend to get much lower than the manufacturer mileage because they optimize for things other than fuel economy (e.g., speed).

My dad taught me lots of tips on conserving fuel and thankfully I've exceeded the sticker numbers on every car I've owned.

vkjv··on Amazon Flex
I have lived in Baltimore my entire life and this comment is an enigma. I assume this is some type of jab at crime, but IMHO, Baltimore is perfect for this kind of operation. To name a few reasons:

* Urban environment. Lots of deliveries in a short period of time.

* Amazon DH is conveniently located near I-95 for easy access to the city as well as I-695 and surrounding suburbia.

* Traffic actually isn't that bad compared with other urban areas.

vkjv··on Criticisms of Angular
That's hardly a fair comparison. jQuery is a library and Angular is a framework. IIRC, Angular depends on (at least a subset) of jQuery, so it could only approach usage and never exceed.
vkjv··on My favorite interview question
I also have asked this question many times, but have been unable to get anything useful out of it. I usually end up with one of three responses:

1. Verbatim definition the positions job description. 2. I'd be golfing or laying on a beach. 3. My attempts to probe deeper lead them to specific answers and I end up with my dream job and not theirs.

The article is a little light on details about your follow-up questions. Care to share some more?

vkjv··on N|Solid – Enterprise Node
Is there a vagrant or docker install for simple developer experimentation?
vkjv··on 14-Year-Old Boy Arrested for Bringing Homemade Clock to School
I would happily pay 10-15% income taxes if our system was much less socialized like some of our European counterparts.
vkjv··on Show HN: Make a programmable mirror
It depends on the thickness of the two way mirror, but you may be able to get touch by removing the protective glass from the android tablet so that the digitizer is in direct contact with the mirror.
vkjv··on ‘Give Away Your Legos’ and Other Commandments for Scaling Startups
> "During her 4+ years at Facebook, the company exploded from 500 employees serving 80 million users to 5,500 employees and over 1.1 billion users."

Tangential to the article. But, I find it kind of surprising that the employee to user base growth was linear. I would expect it to be closer to logarithmic in a well run company. Although I have no data points. Am I off base?

vkjv··on The Website That Got Me Expelled
The password preamble included the string `FOOLPR`. If I recall correctly, I just did a search for `FOOL` on a whim and it turned up only a few results.
vkjv··on Node v4.0.0
We used to do this and it caused a lot of issues. Shrinkwrap is a must to keep versions stable. NPM and network unreliability can cause failed installs, as well as other issues.

Our first major improvement to this work flow was a tar of the app with all of the dependencies coupled with `npm rebuild` after unpacking. This worked quite well.

However, recently, we have switched to using Docker to generated this sealed packages which is working great.

vkjv··on Node v4.0.0
We are an (almost) completely node.js team and are having quite a bit of success using it for microservices. gRPC makes communication fast and easy, while Docker and Kubernetes make deployment and composition just as simple.
vkjv··on The Website That Got Me Expelled
I must have gone to a great high school. I actually hacked our systems a few times.

We used a piece of software to lock down the PCs, IIRC, called Fool Proof. I'm not sure if it was supposed to be ironic, because it didn't take long to figure out that it kept the clear text admin password in swap. The machines didn't have BIOS passwords, so it was pretty easy to boot into a hex editor and dig it out.

When my teacher found out I did this, he praised my ingenuity and even got me involved in vetting alternative options, despite the fact that I had been handing the password around to friends like candy.

vkjv··on The Surprising Problem of Too Much Talent
One of the interesting corollaries to this is that the right person for a role at one point in a company / product is not necessarily the right person at a future time.

For example, the rogue / maverick type can be very important at early stages. They drive innovation, take risks, and get absurd amounts of things done. But, later that same risk taking can become absolutely destructive.

vkjv··on The Surprising Problem of Too Much Talent
Yes, but I don't agree with that hypothesis. From what I've seen, ego tends to peak around the "above average" range where they are trying to convince everyone (including themselves?) that they are extraordinary.

The truly amazing people demonstrate it in action not words.

vkjv··on Running three hours of Ruby tests in under three minutes
"This second round of forking provides a layer of isolation between tests: If a test makes changes to global state, running the test inside a throwaway process will clean everything up once that process exits."

But, then how do you catch bugs where shared mutable state is not compatible with multiple changes?

vkjv··on Best practices for building large React applications
"If you find yourself duplicating/synchronizing state between a child and parent component, then move that state out of the child component completely."

I have exactly one exception to this rule and I would love is someone could provide a recommended way to not make it an exception. Debouncing. For example, if you have a input field that lets you type a number for pagination, debouncing the change of that value with the displayed copy of it.

This is implemented with a debounced input field type that uses props to get and update the value, but maintains it's own state for what is displayed. It uses `componentWillReceiveProps` to stay in sync.

EDIT:

After re-reading, it looks like the author uses this exact same exception for the "select". This is considered UI state and should be fine.

vkjv··on React Static Site
This doesn't make sense. You can still generate all of the HTML with react tags for SEO. The difference, is you can still use React in the client after page load.
vkjv··on React Static Site
What is the argument for going completely static? Static as in not using React on the client, not as in static files.

It seems (to me), that it would be useful--in addition to the static html--load React on the client and from that point navigate with push state and small static (JSON?) files. It might perform better if your blog has a lot more interactivity. Although, here I can definitely see that as being fluff.

vkjv··on Is Software Art or Engineering? (1999)
I've seen plenty that is neither... So, I think you skipped a square in your truth matrix. :)
vkjv··on Is Software Art or Engineering? (1999)
IMHO, this sounds more like the distinction between theoretical science and experimental science. You may consider one or the other art, but to me they both can be.
vkjv··on Newegg vs. Patent Trolls: When We Win, You Win
I was under the impression that frivolous law suits were subject to rulings that would aware attorney fees to the defense. Is that not the case?
vkjv··on Submetrics – Search for your favorite show
Doing some ad-hoc searches, it appears that recommendations tend to favor shows with the same writer rather than shows in the same genre. I'm guessing this is because writers tend to have a similar writing style across genres.

For example, search for a Joss Whedon show and get Joss Whedon shows recommended.

vkjv··on Top differences between working for startups and corporations
This. Although, in my experience it's more relative to team size than company size. I work on a fairly small engineering team within a large apparel company and it seems to match the bullet points for start-ups more closely.
vkjv··on PostgREST – REST API from any PostgreSQL database
I am a postgresql novice, but I've used the JSON serialization and it is indeed fast. But, here's my question:

When you do a 1-to-many join and return the same fields very many times, do the binary drivers optimize that or is it return many times? With JSON serialization (or serializing to arrays), you only get the one row.

vkjv··on PostgREST – REST API from any PostgreSQL database
You can take advantage of browser and CDN caching with a GET but not with a POST.

Throw in ETAGs and you can do a lot of cool stuff to make things scale really well.

vkjv··on PostgREST – REST API from any PostgreSQL database
I imagine some of the negative comments are due to the passive aggressiveness of the README.

"It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch."

"If you're used to servers written in interpreted languages (or named after precious gems), prepare to be pleasantly surprised by PostgREST performance."

vkjv··on Ask HN: How can I prepare for my new job as a software developer?
+1 to learning the business domain and the jargon associated. In my experience, domain specific code tends to be littered with jargon that makes it difficult to understand if you do not understand the vocabulary.

Unfortunately, much of this can even be business specific. It would be helpful to find out if they have any of this documented. It probably isn't documented within the software team, but, it most likely is for other business units!

vkjv··on Create a character voting app using React, Node.js, MongoDB and Socket.io
I'm not clear on the "invalid markup" portion. Aren't `data-*` attributes valid for all tags in HTML5? Also, if you really don't want them you can render with `React.renderToStaticMarkup`.
vkjv··on Fuzzysearch: Tiny, fast fuzzy searching for JavaScript
lunr.js is pretty small (5k gzip/minified) and does a pretty good job at providing client side full text search. Definitely larger than this but provides a few more (IMHO, necessary) features.

http://lunrjs.com/

← PreviousPage 7 of 12Next →