HNHacker News
TopNewBestAskShowJobs

kartickv

1,169 karma · joined August 15, 2014

submissionscomments
kartickv··on Ad Fraud Scheme Drained Users’ Batteries By Running Hidden Video Ads In Android
Is there an ad network that doesn't use JS? You make a call to the ad network server, it returns an image, you display it in a native UIImageView (not a web view), and if the user taps it, you open a URL in a web view.

Unless the user taps the ad, no JS or HTML is involved, which eliminates the possibility of such tricks.

I looked for such a library a while back, but didn't find any.

kartickv··on Remastering Star Trek: Deep Space Nine with Machine Learning
I agree. Resolution is 1% of what makes a TV serial. 99% is storytelling, the setting, character, drama, emotion, and so on.
kartickv··on Remastering Star Trek: Deep Space Nine with Machine Learning
Cropping a video to match another, and adjusting the color balance to match, seems simple enough, compared to asking a computer to do it without a reference. In other words, "make X look like Y" as compared to "make X look good".

Of course, the quality won't be as good as something done by a professional, but the question is that since we don't have a HD DS9, whether the version produced by an automated system is noticeably better than what we have.

kartickv··on Show HN: A Tax Calculator for India
Good point. The comments at the top of the file say what's handled and what's not, and HRA is not.

About basic, yes, that's a pain.

kartickv··on Java 12
Thanks. I understand that the numbers require profiling to determine, but I wish there was at least a high-level guide like:

Do you want to optimise pause times? Use X. Optimise throughput without regard to pause times? Use Y. Optimise memory use? Use Z.

It may not be accurate in every case (no guideline is), but it would be a good starting point for the vast majority of us who don't know the pros and cons of various collectors.

kartickv··on Show HN: A Tax Calculator for India
Thanks for your feedback and suggestions. Since this is my side project, I can't spend too much time on it. Can you send me a pull request?

Actually, separating out the things should be modified from things that shouldn't would be a significant improvement. Like:

# Section 1: Configuration: Change this as appropriate:

FOO =

BAR =

# Section 2: Logic: Don't change this:

...

kartickv··on Show HN: A Tax Calculator for India
You can change the 50% to the 8% by editing that parameter in the code.

According to my CA, individuals might be eligible for both depending on what they do. It's not just for businesses. If you're providing a service, like a freelance programmer, it's 50%. But if you're building your own product, it's 8%. Or some such distinction.

In any case, the script supports both; just change the parameter.

kartickv··on Show HN: A Tax Calculator for India
Sorry for that. As the other comments point out, it's used inconsistently. The way I've used it here is to include the employer's contribution to pension and provident fund (retirement savings), not just the employee contribution.
kartickv··on Show HN: A Tax Calculator for India
I built this command-line tax calculator as a side project.

This script determines:

- When you're made an offer for a given CTC, how much will you take home every month?

- If you want a certain amount of take-home pay every month, what CTC should you ask for? This is for Indians.

This script handles:

- Differing tax treatments for employees and consultants. The latter are eligible for presumptive taxation under section 44AD.

- Health and education cess

- Surcharge

- GST

- PF and pension

- Section 80C investments

- Professional tax

kartickv··on Java 12
Is there a guide to the various GC algorithms? Suppose I'm running an app where pause times don't matter, and I want throughout or reduced memory usage. How much more of this will I get by switching to another GC algorithm? 2%? 20%? 40%?
kartickv··on Apple’s Latest Macs Have a Serious Audio Glitching Bug
AR seems to be a new medium, and new media are generally broadly used. Video, for example, is not owned by Youtube: there's vimeo, dailymotion, hotstar/netflix/amazon prime video/itunes video, the porn sites, videos on various corporate sites, videos embedded in Amazon product pages, etc.

Likewise, all of AR doesn't need the kind of information only a few companies have. Think of assembling something at home, like furniture. Or a car mechanic. Or astronaut. Or soldiers. Different companies may control relevant data sets in different domains, and some may not even be data-intensive like furniture assembly.

kartickv··on Reducing Cross-Team Blocking
Good question.

First, I'd look at setting up automation and boundaries. If I'm launching a new service and it's insecure, hackers shouldn't have free reign in the datacenter, say to send RPCs to any other service they want. It should be like a public cloud. Or if a config file was edited in a way that's malformed, the solution might be to have automated tests that run as part of presubmit. There should also be clear documentation of dos and don'ts that you wouldn't have to understand all the implementation details to use effectively.

Beyond that, some checks will always be required. My post was intended as more of a "if possible, do this instead of that" than in a binary sense.

kartickv··on Airbus will stop building the A380 in 2021
Is it a cost vs convenience tradeoff? I'd rather travel point to point, but if the A380 is undercuts that because it's more cost-effective, many people would put up with it to save money.
kartickv··on Chrome Never-Slow Mode Prototype
I wasn't criticising you, just asking the more general question here of why clicking the close button doesn't work reliably.
kartickv··on Chrome Never-Slow Mode Prototype
But that's unintuitive. Why can't you click the X button on the tab to close it? That's browser UI, not web page UI, so it should never be unresponsive.
kartickv··on Chrome Never-Slow Mode Prototype
No, because if you split it into two pieces, common utility functions will be called from both pieces, at which point you have to duplicate them.

Splitting probably makes sense only for an infrequently used feature, like video chat in an app like Gmail or Slack.

kartickv··on What we've learned about hiring engineering managers
I've reported for years to EMs who didn't code, and they were just pointy-haired bosses: coming up with ways to manipulate people to make progress quicker, writing performance reviews mostly based on other people's input (why, then, couldn't those people write the reviews themselves?), not understanding engineering realities like some tasks being unknown, demanding ironclad estimates, judging based on appearance rather than substance (or a mix of substance and appearance), and so on. They were just overhead.

The managers I respected were all TLs who were the most important engineer on the project.

Going back to your point, the TL would be the best person to evaluate the engineers who work under them. 1:1s, growth discussions, etc should all be conducted with someone who knows your work intimately, which means the TL. Which means the TL is a manager.

There's still room for EMs to be more technical or more people/coordination-oriented. A technical EM would take responsibility for a smaller area (backend) and go deep technically into it, having the most impact as an individual contributor, knowing all the code, being able to debug any part of the system, being the go to person for everything in that area. Everyone in the backend would report to him.

An EM can also decide to be focused more on people/coordination. They'd take responsibility for a bigger area (backend, frontend, iOS and Android) and go wide rather than deep. If you ask them how to debug an iOS app that crashes in the background, they may not be the best person for that.

But in both cases, they're managers, not TLs.

kartickv··on Google Cloud Firestore NoSQL database is in GA
Is it a BaaS? Where does it fit in in the landscape?
kartickv··on The great divide
I don't think the article is advocating that that designers can just code up some HTML and CSS as a substitute for FE devs. Specialists are necessary, but so are people who can span disciplines, like designers who can do some HTML and CSS. https://chiefexecutive.net/ideo-ceo-tim-brown-t-shaped-stars... If the designer codes up his design, finds problems, and makes improvements, that's time saved for the FE engineer, and eliminates some conflicts like https://library.gv.com/why-you-should-move-that-button-3px-t... It's also faster for the FE engineer to start with working code as opposed to a Sketch or Zeplin document.

Having said that, maybe you're responding to one part of the article, and I'm responding to another, so we're talking past each other.

kartickv··on A Fifth of China’s Homes Are Empty (2018)
Your points would be received better without the sarcasm in your opening sentence.

Regarding your point that this tax will be hard to enforce, why do you think this is harder than to enforce than the cornucopia of taxes and construction rules we have today?

Regarding your point about leaving buildings 80% finished, there can be another tax on land not put to productive use. This would include both land left empty, and unfinished construction. In return for these taxes, eliminate other taxes like property tax, stamp duty, registration, transfer of ownership, etc.

kartickv··on A Fifth of China’s Homes Are Empty (2018)
You haven't explained why that would happen, nor has any of the downvoters.
kartickv··on A Fifth of China’s Homes Are Empty (2018)
The government should make a law saying that houseowners shouldn't keep a house empty if there's someone offering even a single rupee or yuan a year, plus paying the insurance premium to protect the homeowner from any damage done by the tenant, plus deep cleaning to restore the house to a rentable condition when the tenant leaves. A landlord cannot keep the house empty if there's at least one person offering the above, say prepaid for the next one year to protect the landlord from having to chase down non-payers. As long as someone is willing to do the above, the landlord can't keep the house empty. The landlord can, at any time, ask the tenant to move out, refunding the prorated amount that he already prepaid, provided the landlord isn't going to keep the house empty.

With this, millions of people who're homeless will suddenly find a home. Investments that have already been made will be useful to society, which should be the case to begin with.

If this policy deters investment in housing, rents will eventually rise till it again becomes sensible to invest in building houses. The market takes care of itself.

Instead of a ban, perhaps a high annual tax, say 30% of the value of the house, if it's left empty for more than a month a year.

kartickv··on CodeRunner – a text editor with features like running code
It can run code with a Cmd-R, search documentation, debug, and it supports 25 languages.

Mac only.

kartickv··on You Weren't Meant to Have a Boss (2008)
That's your opinion. There are people who're willing to earn less salary and more variable pay, and those people would be fine with early-stage startups and with my proposal.
kartickv··on You Weren't Meant to Have a Boss (2008)
That's your opinion. There are people who'll accept lower salary and higher variable pay, and for them, my suggested option is no worse than working at an early stage company in terms of risk. Actually slightly less risky, since they don't have to worry about the company going bankrupt, they'll have a comfortable office space, a prestigious name on their resume, their relatives will be impressed by it, etc.
kartickv··on You Weren't Meant to Have a Boss (2008)
You're lost in your own analogy. Big companies are going to exist, anyway, so can we make them more productive?
kartickv··on You Weren't Meant to Have a Boss (2008)
You're going to have big companies, anyway, so why not make them more productive? My proposal includes variable pay, so you can enjoy the fruits of your labor more than you can in today's big companies like Microsoft and Google.
kartickv··on You Weren't Meant to Have a Boss (2008)
> Seriously, having lower salary does not make people care more.

It does, when coupled with variable pay they could lose if their project doesn't work out.

> There are plenty of lazy people who don't care who are not paid maximum possible.

And those lazy people will then find jobs at other big companies, where they don't have to work hard and still make more, more appealing.

kartickv··on You Weren't Meant to Have a Boss (2008)
Do you realise that you've argued that nobody should choose to work at an early-stage startup?

Your salary is below market rate, but not when you include variable pay, in startups, and in my proposal.

kartickv··on You Weren't Meant to Have a Boss (2008)
Do you realise that you've described early-stage startups?
← PreviousPage 4 of 21Next →