HNHacker News
TopNewBestAskShowJobs

vivekseth

509 karma · joined September 7, 2014

Software Engineer

Blog: https://vivekseth.com

Twitter: https://twitter.com/viveks3th

submissionscomments
vivekseth··on Insomnia is now part of Kong
I think the OP is thinking of InsomniaX (https://github.com/semaja2/InsomniaX). That’s what I first thought this was too
vivekseth··on Ask HN: What people skills do you wish you learned earlier in your career?
That link defines what the IETF means by "rough consensus".

In this context, I think it just refers to "general agreement".

https://www.merriam-webster.com/dictionary/consensus

vivekseth··on More Productive Git
Yeah! I find git to be easy to understand conceptually, but the CLI is unintuitive and sometimes inconsistent. I often know exactly what I want to do, but don't know how to phrase it in a git command.
vivekseth··on Clear is better than clever [pdf]
Why not something as simple as `return (a - b)` ?

It’s concise and simple to understand. Instead of returning 1 or -1 it returns a positive or negative value with I think is equally effective.

vivekseth··on Applied Category Theory
When I said "class", I really just meant "type".

CRDTs are relatively new so there may not be many classes yet that teach them. If you want to learn about them, I recommend you first watch this video: https://www.youtube.com/watch?v=OOlnp2bZVRs&list=WL&index=56... and then read this paper: https://pages.lip6.fr/Marc.Shapiro/papers/RR-7687.pdf . The video explains a lot of the math in a very easy to digest way and will make the paper much easier to understand.

vivekseth··on Applied Category Theory
Recently, I've been into learning about CRDTs a class of data structures which can be edited independently and merged without conflicts. They can be used to build experiences similar to Google Docs (although Gdocs uses a different approach called OT).

I'm interested in learning Category/Set Theory to better understand the underlying math of how they work.

I have very little experience with ML/Robotics, but CRDTs might be useful for distributed learning, or coordination between independent robots.

vivekseth··on Why Operators Are Useful
If a+b != b+a that breaks the commutativity property of addition.
vivekseth··on Ask HN: What made you change your mind about a programming language/paradigm?
One downside to static typing is the overhead required when writing/running programs.

For example, let's say you have a class `Dog` that you want to rename to be more generic so you now call it `Animal`.

In Python you can test out snippets of code with `Animal` without necessarily having to worry about other pieces of code still referring to `Dog`. You would just need to make sure that the code you want to run happens before later pieces that might use `Dog`.

In C/C++ you'd have to change all the references to `Dog` in your codebase, comment them all out, or add a new target to your project to build a subset of files which do not include an invalid reference to `Dog`.

This extra friction can make rapid prototyping a little harder in static typed languages.

IDK if any language supports this today, but ideally I'd like to be able to run a language without compile-time type checking for prototyping and be able to progressively turn on type checking as I'm nearing the final stages of iteration on a project/feature.

vivekseth··on Ask HN: Favorite fiction books of 2018?
“Off to Be the Wizard” from the Magic 2.0 series
vivekseth··on Breaking Into Android Phones with a 3D-Printed Head
You can use an Apple Watch to unlock a Macbook!
vivekseth··on Tell HN: Aaron Swartz's website is offline
Why don’t you do it?
vivekseth··on How to drive in India (2015)
Do you guys hire other kinds of servants for things like cooking/cleaning/laundry?
vivekseth··on How to drive in India (2015)
Yeah, I don’t think I’ll fully trust self-driving cars until they are safe enough to operate in India. I wouldn’t even trust myself to drive in India.
vivekseth··on How to drive in India (2015)
Are drivers in India limited to just the upper class? Whenever I visit India it feels like anyone who’s not lower class can afford to hire a driver.
vivekseth··on Man, 69, loses legal battle against temporal reality in effort to become 49
Someone can be male without even having a Y chromosome: https://www.encyclopedia.com/science/encyclopedias-almanacs-...
vivekseth··on Building your color palette
I think humans can see a wider range of blues and greens than they can yellows and reds. Check out: https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/CI...

I believe this chart roughly corresponds to the colors humans can perceive for different light combinations. I see greens/blues in most of the chart and the colors I consider to be red, orange, or yellow occupy very small regions of the image.

Since greens/blues have a wider range, maybe that's why designers tend to use them as the main color?

vivekseth··on JavaScript is now required to sign in to Google
Hashing passwords client side has no benefit if a site uses HTTPS.

If a site uses HTTP, then hashing the password client-side and sending it up to the server is equivalent to sending a clear text password. If an attacker can already read your traffic, what is stopping them from using your password's hash to log-in to your account?

vivekseth··on A single-page app is almost always worse than a multi-page app
You are making a false comparison. Why would an SPA not be a "ad hoc jQuery tangle + ad hoc server side endpoints that know to speak to random jQuery UI libraries" ? I think it's quite possible to design an SPA like that.
vivekseth··on Ask HN: How to take advantage of living in the Bay?
This is a great list. Thank you for sharing!
vivekseth··on Ask HN: What are some alternatives to Google maps?
Apple maps seems to have roundabout support in the Bay Area. Maybe they have not collected the data for Spain yet.
vivekseth··on Firefox: The Effect of Ad Blocking on User Engagement with the Web [pdf]
I suppose ads could be cached server-side, but it would probably be more efficient to cache an ad client-side. If ads are personalized few users of a website may see the same ad, but an individual may see the same ad on different websites.
vivekseth··on Ask HN: What are some alternatives to Google maps?
Apple Maps. I’ve been using it as my primary maps app for about an year and it’s been pretty good. I live in the bay area so YMMV if you live somewhere else.
vivekseth··on Firefox: The Effect of Ad Blocking on User Engagement with the Web [pdf]
How would server-side ads improve the user experience?

I have some ideas about what you might mean (improve page load time, prevent content from jumping as ads load), but curious about what you think.

vivekseth··on New York inmate's golf drawings lead to exoneration in murder
Yeah, I don’t think racism is an American issue. I think racist attitudes can result wherever people have low exposure to people of different races. For example, I feel that India has a lot of racism (just from my personal experience visiting a few times).

Part of what makes US unique is that it’s minority groups are much larger than most other countries. I feel that this means racist attitudes get acted upon more frequently, and that victims have a stronger voice here.

vivekseth··on Dark Motives and Elective Use of Brainteaser Interview Questions
My point was that Apple is a large company with many teams. I didn’t understand why OP would write off an an entire company because they didn’t like 1 team.
vivekseth··on Dark Motives and Elective Use of Brainteaser Interview Questions
So you will never work at Apple because you had 1 bad interviewer out of a sample size of 8? That seems foolish.
vivekseth··on Letting go of the GPS to learn the art of natural navigation
Try turning off the sound in your map app. That way you can ignore the steps you already know and look at your phone whenever you need directions.
vivekseth··on Was there a civilization on Earth before humans?
This reminds me of the movie Snowpiercer
vivekseth··on It is not possible to detect and block Chrome headless
How would this stop crawling by users who cannot afford the API subscription or don't want to pay for it?

I think your suggestion would reduce crawling, but not prevent or block it.

vivekseth··on Ask HN: HNers who got their “Show HNs” on homepage, how is your site doing now?
What kinds of Show HNs are you asking about? What do you mean by how is a site doing?

My Show HN (https://news.ycombinator.com/item?id=14778497) made it to the homepage, but I don't think its what you're asking about. My site is just a personal site with random content so its no different than before my post.

← PreviousPage 2 of 3Next →