vaibhavkul's comments

vaibhavkul | 7 months ago | on: The surprising geography of American left-handedness (2015)

I too am mixed regarding doing things with different hands - for finer movements (writing, holding a spoon) I prefer using the left hand, while for stronger movements (punching, throwing a ball) I prefer using the right hand. Not sure why though, I never underwent any "retraining".

vaibhavkul | 2 years ago | on: Shouldn't FROM come before SELECT in SQL? (2011)

You have a good point, but the problem that not knowing the table to select beforehand does seem valid. What if the FROM clause is called SELECT and the SELECT clause is called PROJECT? (So it will read something like SELECT <table> PROJECT <columns>?)

vaibhavkul | 6 years ago | on: Virtual DOM is pure overhead (2018)

This is why I find the flutter approach interesting: it has its own rendering engine. I would guess it is optimized for this sort of thing (dynamically rendering UI elements) without depending on an external entity (DOM).

Maybe there is a future where flutter style renderers become standard, have a container like a browser (to avoid the entire runtime baggage when it's deployed), and people target it instead of the DOM? This gives best of both worlds--write apps in a declarative way, without the need of any external "optimizing" framework.

vaibhavkul | 10 years ago | on: Rust via its Core Values

Didn't know about linter-rust. Thanks for sharing.

It didn't occur to me that: ownership transfer means variable cannot be used, so if it's used means there's an error, so checking for error itself gives you the information that you cannot use it. So highlighting error can be used instead of the specific ownership transfer.

I don't know of any other specific cases where there's no error, but it would be helpful to have a different color for certain ownership semantics.

vaibhavkul | 10 years ago | on: Rust via its Core Values

Maybe this is off topic, but while reading this article it occurred to me that wouldn't it be useful if the ownership transfer is syntax highlighted?

e.g. in

  let new_owner = original_owner;
  println!("{}", original_owner);
we could have original_owner on the second line have a different color signifying it doesn't own anything.

Or, does such a syntax highlighter already exist?

vaibhavkul | 10 years ago | on: Start up India: Webcast [video]

India has a huge population and there is a shortage of jobs. Rather than job seekers, India needs more job creators. This initiative will give people incentive to take up entrepreneurship.
page 1