HNHacker News
TopNewBestAskShowJobs

punjabisingh

52 karma · joined November 8, 2010

submissionscomments
punjabisingh··on Reflections on IDEA vs VS Code
VS Code Remote Containers is another cool feature. You can develop inside any Docker container locally. This could essentially mirror whatever image you have deployed into Kubernetes, GKE, GCS, etc.

Ref: https://code.visualstudio.com/docs/remote/containers

punjabisingh··on Ask HN: How do you handle/maintain local Python environments?
VSCode already has it as a feature but it's a little rough around the edges. It's called "Remote Containers".

Docs: https://code.visualstudio.com/docs/remote/containers

punjabisingh··on Reducing Wasted Food at Home
I'm using the same technique but at the checkout. Once my reusable bags fill up, I leave the rest. Also this technique helps in letting go of that packaged/junk food at the checkout.
punjabisingh··on Elegant Error Handling with the JavaScript “Either” Monad
I remember it by thinking that Left (error state) has to be handled first. This forces developers to always think of the erroneous state first and foremost. And then define the Right (success state).

On the other hand, it may be easier to forget the error state if it were the second argument. As is often the case with Promises and JS developers.

punjabisingh··on How Much Sleep Do Fitbit Users Really Get?
The sleep tracking from my FitBit is my favorite feature. Even the cheapest FitBit Flex provides good analysis of my sleep (restless, awake, duration, etc). I use it more to make sure I get 7-8 hours to sleep than to count steps.

Disclosure: volunteer beta tester

punjabisingh··on KeePassXC 2.2.0 released with YubiKey and TOTP support
It's not perfect. It is slow because it uses Android's accessibility service to detect fields.

Ref: https://lastpass.com/support.php?cmd=showfaq&id=8166

punjabisingh··on Google Cloud Platform Free Tier

   Always Free* products to keep you going.
   *Subject to change
That's not quite what "always free" means, but I'll always take it.

*Subject to change.

punjabisingh··on Cloudflare Reverse Proxies Are Dumping Uninitialized Memory
Google already does that:

https://www.google.com/transparencyreport/safebrowsing/ https://www.stopbadware.org/blacklisted-by-google

punjabisingh··on Show HN: MovieChat.org – Archive and Replacement for IMDb Message Boards
Great effort. I see some broken images here: http://www.moviechat.org/movies/search?name=westworld

I'm surprised there isn't enough interest in people to recognize tMDB as relevant. Especially since iMDB is ignoring users by taking down the forums.

punjabisingh··on LastPass autofill exploit
It's confusing that the LastPass site is claiming only Firefox is impacted. [1] Whereas the security researcher's site (detectify.com) shows the vulnerability running in Chrome. [2]

Furthermore, the current live version on Firefox addons repository is 3.x [3], which the LastPass team claims is not vulnerable. [1]

[1] https://blog.lastpass.com/2016/07/lastpass-security-updates.... [2] https://labs.detectify.com/2016/07/27/how-i-made-lastpass-gi... [3] https://addons.mozilla.org/en-US/firefox/addon/lastpass-pass...

punjabisingh··on Apple announces iOS 10
Google Now's dictation is so much better for people with accents.

My family's English pronunciations have a very strong Indian/Punjabi accent. For people with accents, Siri works very unreliably to the point that we've given up on it, whereas Google Now "magically" works all the time.

punjabisingh··on FullPageOS – A RaspberryPi distro to display a full page browser on boot
That's the setup I have running. Instead of r-kiosk, I've been using mKiosk, which is a more configurable add-on: https://addons.mozilla.org/en-us/firefox/addon/mkiosk/
punjabisingh··on Show HN: WP Pluginator – A WordPress Plugin Development tool
It would better if this could integrate (and be listed inside) wp-cli, which is becoming the standard for interfacing with WordPress using cli.
punjabisingh··on In Defence of WordPress
The bugs are coming from everywhere.

In my view, the worst ones are the ones coming from core. They've come from old code (i.e. the comments XSS due to overly large comments) or from including other libraries (i.e. genericons vulnerability).

I think this sort of stuff is bound to happen since WordPress is slowly becoming the kitchen sink trying to keep up with all demands of the users.

The good part is:

* They are increasing their unit tests coverage.

* With auto-updates, the huge amount of sites that use WordPress are not left in the dark. So I consider it a feature even if it comes at a price. When the software is being used at the scale that WordPress is, it is a needed feature.

punjabisingh··on Amethyst – A tiling window manager for OS X
There are some minor issues, but Slate generally works under Mavericks and Yosemite. Check out: https://github.com/jigish/slate/issues/405
punjabisingh··on How We Did It: SNL Title Sequence
It is linked at the end of their article: http://www.alex-buono.com/portfolio/snl-opening-montage-2014...
punjabisingh··on To Make Streets Safe, Make Them Dangerous
The pedestrians may also not be visible due to the car's left pillar blind spot, especially while turning left.
punjabisingh··on Pissing Away Our Money With Google Display Ads
Some of the mobile games definitely use questionable ways to present the ads. If anyone has ever played Subway Surfer (on Android), they can probably remember the countless amount of times one may accidentally click on the ads. On top of that, the ads load in such funny ways at times that it is hard to avoid clicking the ad.

As an advertiser and publisher myself, I feel bad for the people spending money on advertising in that game, because the 99% of the time that I have clicked on an ad in that game is because it was a mistake.

punjabisingh··on Bitcoin Payment Processor BIPS Attacked, Over $1M Stolen
If they made a transaction with the exact amount stolen, maybe we could say it is the same wallet as the one stolen, but it could also be a false positive.

I would think the thieves are smart enough to make multiple transactions to move this money, in which case they won't get caught at all.

punjabisingh··on Richest Bitcoin Addresses
The risk is that if the startup/technology (Bitcoin) failed, you just wasted your time/effort in setting up something useless. There must be thousands of these proposals that you will face in your life.

Bitcoin is the risk I knowingly didn't take, because I didn't think it would amount to anything in the future.

punjabisingh··on Why Google Went Offline Today and a Bit about How the Internet Works
Here's a good read: http://www.slate.com/articles/life/the_good_word/2005/11/the...
punjabisingh··on If I was your cloud provider, I'd never let you down
It is not joyant.com, it is joyent.com.
punjabisingh··on jQuery Raty - A Star Rating Plugin
There are other problems with the 2nd plugin you noted (fyneworks.com jquery-star-rating-plugin). It has a lot of unresolved bugs. Check the Google Code Issues page: http://code.google.com/p/jquery-star-rating-plugin/issues/li... (particularly disappointed with Issue #25).
punjabisingh··on My Android development income report
That ad network could have used all this publicity to get more customers, if you would just share that information.

But I understand it is totally your call.