HNHacker News
TopNewBestAskShowJobs

vijucat

2,086 karma · joined May 2, 2013

Algorithmic trading developer; Java, R, Python, C++, et al. Recent work: Took care of IT for a 6-person startup hedge fund till we got acquired by a larger firm. Would love to work on algo trading, data engineering, ML ops, etc; Ping me to discuss anything. Thank you!

vijay.v @ google's email thingy | http://hk.linkedin.com/in/varanasivijay

submissionscomments
vijucat··on Bank of America's CEO says it's saved $2B per year by building its own cloud
I have a bullet proof plan to earn a $10m bonus in my two years as CTO at <Large Firm>:

1. Identify retarded firm that uses AWS or Azure like money grows on trees AND without too much AWS lock-in

2. Join as CTO and move infra to OVH

(2.1 Convince OVH to not irritate international customers by making my browser show "Translate this page?" for EVERY SINGLE page, even on us.ovhcloud.com, because they HAVE to show their French lineage at all times instead of just having English pages in English! They've already improved their Customer Service a lot, so I have great hopes)

3. Reduce server costs by 4X

4. Profit!

Seriously. Unless you really need auto-scaling or one of the other unique features of AWS / Azure products, you don't need to pretend you're the next Facebook or Netflix.

Also seriously: de-cloudification is a great business idea.

vijucat··on My Time at Snap
Oh, John, there you are again! How do you manage to be in so many places at once? Which reminds me to ask: which firms have implemented the "No Asshole Rule" well?

https://en.wikipedia.org/wiki/The_No_Asshole_Rule

Here's a list by the author from 2012, FYI: https://bobsutton.typepad.com/my_weblog/2012/02/the_no_assho...

vijucat··on Africa Is Building an A.I. Industry That Doesn’t Look Like Silicon Valley
They allow a couple of articles per month before you hit a paywall. It's frustrating because there happens to be a ton of interesting content (esp. machine learning-related) on Medium and the exact same content could be in a Wordpress or other blog (with a Medium-like theme if you'd like that), and it takes a total of 5 minutes to set up a blog.
vijucat··on Uncomfortable AWS Truths
Most businesses can probably run on a single server from OVH (see Paul Tyma's Mailinator architecture for inspiration: 1.2 billion emails on a single server, http://highscalability.com/mailinator-architecture), but I suspect a lot of folks in tech want to pad their resume with cloud buzzwords, so they recommend overcomplicated architectures to business that they absolutely wouldn't spend their own money on. So much of tech design, nay, tech thinking, is based on following fashion trends, it's shocking.
vijucat··on Hong Kong Airport shuts down as protesters take over
Complicating the nature of these protests is that the 5 overt demands put forth by protestors (all related to the Extradition Bill) do not reflect a large cause of the latent / tacit discontent: the inability of youngsters to buy a home and raise a family due to collusion between property developers and government to restrict land supply. This author has stated the problem better than I can:

https://www.scmp.com/comment/opinion/article/3022107/midst-h...

Decades of this squeeze have placed youngsters in a position where they have nothing to lose: Hong Kong has so many shiny buildings and not a square foot to their name. I was once getting flowers for my wife and ended up talking to a couple planning for their wedding reception at the florist. I was shocked to learn that they had discussed it and will not be having children because it is unaffordable. In my opinion, the Extradition Bill is just the final straw that broke that camel's back.

vijucat··on Show HN: Retool Templates – Custom internal tools with drag-and-drop components
How is extensibility handled (on the UI side, on the back-end)? Are internals transparent or is it meant to be a black box? Just wondering what happens if one hits the boundaries of what the tool can do and wants to extend or integrate...

The last time I evaluated RAD (Rapid Application Development, for all you cool folks who refuse to know anything that wasn't invented after JavaScript) tool-builders, I really liked https://www.awareim.com/. They're not that famous, but I appreciated the extensibility.

vijucat··on Fast Software, the Best Software
The v5.666 build (Dec 2013) works just fine even now. Never makes an Internet connection, blazingly fast.

I personally love the keyboard shortcuts for finding music, queuing it, pause, play, etc; Very intuitive.

vijucat··on Microsoft’s Q4 earnings and 2020 expectations
Mac (Apple) and Linux users are the most vocal, that is all.
vijucat··on Show HN: Workstation – Showcase Your Setup
Suggestion:

a) let the user add their commentary and

b) get folks to mention which chair, too. Some of us invest in ergonomic chairs, and those who don't would benefit from opinions on which chairs are good

For what it's worth, I got this chair recently (a Torch Iris Gold) in Hong Kong, and found it incredible value for money, at least compared to a Herman Miller Aeron, Mirra etc; : it has a bunch of adjustments that the Aeron and Mirra do not. Obviously, this advice isn't that useful if you're not in Hong Kong.

https://shop.freemax.com.hk/eng/product/%E9%9B%BB%E8%85%A6%E...

vijucat··on IT Runs on Java 8
Great points, but it's actually much simpler than that: if you want static types, you have already eliminated the majority of HN darlings (JS, Python, and Ruby). Where do you? Most developers turn to C++, Java, or C# (not Haskell or F#, for example), and of these, Java and C# are both great for productivity and not daunting for someone just starting out, unlike C++.

There was a period after 200x where developers managed to throw out a bunch of babies along with the bathwater when they rejected Java, UML, SQL, and everything else that was used in 199x. After all, these are all literally from the last century, so they must be "uncool", amirite? /s

The preference for dynamic or duck typing in the name of productivity has always rubbed me the wrong way. To keep it brief, my defense / elevator pitch for static typing is: "Slow is smooth. Smooth is fast" :-)

vijucat··on Windows gets a new terminal
Thanks for responding here! Really appreciate the interaction.

Pretty sure that this is one of the biggest requests / frustrations you will hear from users. The issue is that MS has normalized the right-click menu as the go-to method of choosing exactly what one wants to do with a selection of text (, or even anywhere, for that matter), and it's useful, and uniformly available in Office and other Windows apps, and missing ONLY in cmd.

For example, when pasting in Excel, Paste vs. Paste Special vs. Keep Formatting vs. Keep Formulas, etc; via the right-click menu is just great. Going from that to a "We insist on a 1982 MS-DOS experience" in the cmd window is just annoying.

vijucat··on Microsoft changed how it interviews software developers
Ha, wonderful expression, thanks.

Given that many people report that their best thinking is done while walking or taking a jog, it might not be too wild to try out interviews which allow the candidate to take a walk before they give an answer.

vijucat··on The Unified Theory of Ram Dass
Great point. Unless the guru is advocating the virtues of celibacy, there is no hypocrisy involved.
vijucat··on The Unified Theory of Ram Dass
I've always been conflicted by these gurus, so let me play devil's advocate and present some things I found when I researched Ram Dass / Neem Karoli Baba a while ago:

http://www.strippingthegurus.com/stgsamplechapters/dass.html

Some interesting tales by Ram Dass about how Neem Karoli read his mind, ingested ginormous amounts of LSD without any effect, etc; here: https://www.youtube.com/watch?v=Yb2BWvRN090

The specific story about the Baba reading Ram Dass' mind and informing him that he was thinking about his mother and that she had died of spleen failure stayed with me. Maybe he was informed the previous night that a Professor from the US was arriving whose mother died recently of spleen failure and the rest was about creating an illusion of omniscience?

In any case, a large number of these gurus turn out to be sexual predators, and it is absolutely crushing to those who follow them to discover this.

UG "masturbation is better than meditation" Krishnamurti was a much needed respite from these masters of bullshit for me, personally.

vijucat··on BYTE Magazine
Ah, I see, thanks. So these unsold copies somehow made their way to India. Interesting.
vijucat··on BYTE Magazine
Love it. I grew up reading these. Somehow, they made their way to Hyderabad, India, and were sold on the roadside [1] for mere rupees, but had the top 20% of the front cover torn off. I never got that...Maybe a way to prevent re-sale in the US? Anyway, 13-year old me absolutely loved BYTE and PC Magazine from the US and a bunch of Sinclair ZX Spectrum assembler and BASIC books from the UK ("Shiva's friendly micro series"). I used to wait for Sunday to go a-book hunting: a couple of MAD magazines and a BYTE magazine made for a perfect weekend in 1988 :-)

I remember my grandfather's chagrin when he heard that I wanted to spend money on an IBM PC-XT clone rather than a Panasonic VCR (Video Cassette Recorder) [2]. What IS a computer, anyway?? A foolish, expensive toy, pah! He wasn't entirely wrong, of course :-)

I went nuts authoring an Editor in raw machine code, writing TSRs, and trying to hack the higher levels of Montezuma's revenge's by fiddling with it's machine code for a couple of years.

1. https://www.whatshot.in/hyderabad/forgotten-book-bazaars-of-...

2. "The price of Christmas past: £599 for a VHS recorder": https://www.theguardian.com/lifeandstyle/2014/dec/19/price-c...

vijucat··on Ask HN: What are the things that you have automated in your personal life?
A bit off-topic: Not only is this incredibly impressive, it's a great white noise video, IMHO. Can listen to the robot cook do it's thing for a loong time. The Capsicum Sabzi video has a good amount of unintended ASMR, too:

https://www.youtube.com/watch?v=Z0kf17jxeSY

vijucat··on Ask HN: What is the first thing you implement at a new company?
Ah, I see! Tortoise SVN is great for the scenario where business users can learn and use revision control, too, but I guess once you're doing branching using Tortoise SVN, you're in a weird territory where you're pro, but not to the extent you're ready to use the command line...
vijucat··on Ask HN: What is the first thing you implement at a new company?
If you use a repository URL rather than a local filename / dirname in svn copy, it's a purely remote copy and is instantaneous:

$ svn copy file:///var/svn/repos/test/dir1 \ file:///var/svn/repos/test/dir1_jira_1886 -m "For bugfix to SERV-1886"

http://svnbook.red-bean.com/en/1.7/svn.branchmerge.using.htm...

https://svnvsgit.com/

vijucat··on A newcomer’s (angry) guide to R
Answering questions in a rapid, interactive way (, while using C to be efficient enough that one can run it on millions of rows):

  # Given a dataset that looks like this…
  > head(dt, 3)
      mpg cyl disp  hp drat    wt  qsec vs am gear carb          name
  1: 21.0   6  160 110 3.90 2.620 16.46  0  1    4    4     Mazda RX4
  2: 21.0   6  160 110 3.90 2.875 17.02  0  1    4    4 Mazda RX4 Wag
  3: 22.8   4  108  93 3.85 2.320 18.61  1  1    4    1    Datsun 710
  
  # What's the mean hp and wt by number of carburettors?
  > dt[, list(mean(hp), mean(wt)), by=carb]
     carb    V1     V2
  1:    4 187.0 3.8974
  2:    1  86.0 2.4900
  3:    2 117.2 2.8628
  4:    3 180.0 3.8600
  5:    6 175.0 2.7700
  6:    8 335.0 3.5700
  
  # How many Mercs are there and what's their median hp?
  
  > dt[grepl('Merc', name), list(.N, median(hp))]
     N  V2
  1: 7 123

  # Non-Mercs?
  > dt[!grepl('Merc', name), list(.N, median(hp))]
      N  V2
  1: 25 113

  # N observations and avg hp and wt per {num. cylinders and num. carburettors}

  > dcast(dt, cyl + carb ~ ., value.var=c("hp", "wt"), fun.aggregate=list(mean, length))
     cyl carb hp_mean  wt_mean hp_length wt_length
  1:   4    1    77.4 2.151000         5         5
  2:   4    2    87.0 2.398000         6         6
  3:   6    1   107.5 3.337500         2         2
  4:   6    4   116.5 3.093750         4         4
  5:   6    6   175.0 2.770000         1         1
  6:   8    2   162.5 3.560000         4         4
  7:   8    3   180.0 3.860000         3         3
  8:   8    4   234.0 4.433167         6         6
  9:   8    8   335.0 3.570000         1         1


I used slightly verbose syntax so that it is (hopefully) clear even to non-R users.

You can see that the interactivity is great at helping you compose answers step-by-step, molding the data as you go, especially when you combine with tools like plot.ly to also visualize results.

vijucat··on Black: An uncompromising Python code formatter
I've seen single quotes for chars vs. double quotes for Strings in Java, but in sh, it's "Strong Quoting with Single Quotes" vs. "Weak Quoting with Double Quotes":

http://www.grymoire.com/Unix/Quote.html#uh-1

"When you need to quote several character at once, you could use several backslashes. This is ugly but works. It is easier to use pairs of quotation marks to indicate the start and end of the characters to be quoted. Inside the single quotes, you can include almost all meta-characters"

So some of us associate single quotes with proper const strings, with no variable expansion, command substitution or other interpreter hanky-panky.

vijucat··on How can we be sure AI will behave? Perhaps by watching it argue with itself
> and then debate how to properly enslave it

Don't forget the part where they are A-OK with putting it in a huge Boston Dynamics robot dog that could practically eat the Terminator 2 for breakfast.

vijucat··on Mara: A lightweight ETL framework, halfway between plain scripts and Airflow
> When I finally got our engineering team to spend some time on making the data pipelines less fragile, instead of using one of these open source solutions they took it as an opportunity to create a fancy scalable, distributed, asynchronous data pipeline system built on ECS, AWS Lambda, DynamoDB, and NodeJS. That system was never able to be used in production, as my fragile duct-taped solution turned out to be more robust.

"An engineer is one who, when asked to make a cup of tea, come up with a device to boil the ocean".

Source: unknown. I think it was in Grady Booch's OO book, or some such book.

Also: "architect astronaut" and "Better is the enemy of good" come to mind...

vijucat··on Mode Studio – Python, R and SQL Editor
This look amazing, and the WYSIWYG editor mode is what R Markdown notebooks (in RStudio) are missing right now.

However, there seems to be no way of uploading a private .csv? I need to make it public OR allow access to my company database (, which is simply not going to happen unless you have an on-premises solution)?

vijucat··on Bill Joy: Why the Future Doesn't Need Us (2000)
> completely different

Don't lose hope about losing all hope yet! Apparently, "Scientists accidentally create mutant enzyme that eats plastic bottles. The breakthrough, spurred by the discovery of plastic-eating bugs at a Japanese dump, could help solve the global plastic pollution crisis"

https://www.theguardian.com/environment/2018/apr/16/scientis...

vijucat··on You Can’t Do Data Science in a GUI
Actually, I really like these two GUIs which build on the strengths of R by combining the data-exploratory tools that Hadley Wickham created with the visual appeal of ggplot2 (also Hadley!), plot.ly, etc;

1. https://exploratory.io/

2. Radiant: https://radiant-rstats.github.io/docs/index.html

Microsoft IDEAR looks good, too:

https://github.com/Azure/Azure-TDSP-Utilities/blob/master/Da...

In addition, the automatic insights generated by Power BI are another example of how GUIs can help even the hardcore command-line ninja:

https://docs.microsoft.com/en-us/power-bi/service-insights

vijucat··on Creator
This has to win some sort of award. I found it quite creative :)
vijucat··on How I Learned to Stop Worrying and Love the State Machine
The last time I looked at this (when having to deal with spaghetti-like execution flows through an Actor-based code base), I really liked the ideas of model checking with Colored Petri Nets and code generation (http://cpntools.org/), and the TLA+ language.
vijucat··on Ask HN: How do you document your knowhow, past projects and lessons?
OneNote. The hierarchical breakdown of Notebook, Section, and Pages is quite useful. I use one page as a linear, chronological "Plan for today" journal, with links to subject matter on other Pages that naturally get organized into Sections (ML learning, Coursera - Scala, Health, Attitude / Thinking, etc;).

Evernote's Search is much better than OneNote's (Windows' Search), searching seamlessly even inside attachments, but I absolutely hate the look of Evernote pages; just a personal thing. Could be something as simple as Tahoma vs. Calibri, but I think it's more than that...OneNote really looks good to my subjective eye. Plus I like the keyboard shortcuts.

For PDFs, get really good at whatever Reader you use w.r.t. annotation tools. I love PDF-Xchange Viewer for annotation (a Windows product).

vijucat··on Bitcoin has little shot at ever being a major global currency
You know what the nihilist in me would like to see? Derivative contracts on the future worth of instagram models and YouTube stars traded using BitCoin. Maybe even derivatives on top of derivatives, such as swaps on "prime" and "sub-prime" tranches of YouTube stars :-)

The entire process would be confusing as hell to most folks, who continue to exist in denial that most modern "work" is already a surreal effect of the networking of human beings enabled to an exponential degree (exacerbated?) by technology.

The Unabomber must be laughing hard in jail, reading today's news headlines.

← PreviousPage 7 of 15Next →