HNHacker News
TopNewBestAskShowJobs

bipin_nag

92 karma · joined June 10, 2014

submissionscomments
bipin_nag··on Firefox 85 cracks down on supercookies
>Everyone who had MS Office installed back in the 1990s (which was basically everyone) could easily run some quick VB code to try things.

Can't be everyone, how do you know the numbers? How many Office users actually used VB? MS famously stifled competition in internet browsers. 1990s numbers still won't give a fair picture.

>The Web fixed all that, albeit at the cost of cratering developer productivity, a massive increase in complexity and higher barriers to entry for new devs.

Why blame the web for higher barrier to entry. JS is doing fine. See a few surveys for popular languages:  https://insights.stackoverflow.com/survey/2020#most-popular-...

https://madnight.github.io/githut/

bipin_nag··on Firefox 85 cracks down on supercookies
>JS didn't lower the barrier to programming at all. >But I disagree about lowering the barrier for developers.

I think OP meant it as browsers that run JS. The built in console is so useful for testing/practice. You can run JS without any setup on most popular OS - Win/Linux/Mac.

You can practice JS in console while viewing YouTube tutorial or following a JS blog/ Mozilla dev page.

bipin_nag··on WhatsApp loses millions of users after terms update
> Isn't there a `made in India` alternative trying to get into that ?

All the alternatives I know are backed by for-profit corporations. So privacy concerns still remain. Few notable ones I came across are/were:

Hike (was shutdown last week) JioChat ShareChat

bipin_nag··on Oracle seeks $9.3B for Google’s use of Java in Android
I am afraid you are digressing. Oracle maintains and has rights for the language Java and Oracle JVM. Google has power over Android. codecamper isnt talking about what improvements current Java has or how how shitty the Android java is. IT is about Android itself. Google contributed most to Android, Oracle did not.
bipin_nag··on ​Apple gets smacked by $450M e-book price-fixing fine
The news is fine but why drag Amazon into it?

>At Amazon headquarters, however, they're probably popping open the champagne.

>Amazon, however, is probably grinning like the Cheshire Cat.

The author is not doing justice to his job as a reporter. If you want to opine then separate it from the facts. Amazon which has nothing to do with the ruling gets depicted as a villain and Apple which actually is guilty doesn’t get its share of bad words. What is worse is that he starts to paint Amazon that way before he gives any of the details of ruling.

bipin_nag··on 'Music' from /dev/urandom
Who knew chaos sounds so melodious. You sir are a genius.
bipin_nag··on Visual Studio Code for Go
I code a lot in Go. I use Sublime Text mostly and this feels like an upgrade. Integration with Git, better plugins/support I am loving it.
bipin_nag··on No POST after rm -rf /
What I got from the thread: efivars are NVRAM registers for UEFI and are mounted on /sys/firmware/efi/efivars and doing rm -rf clears/deletes them. And they are required for booting.

Is this correct ?

bipin_nag··on Why I quit my dream job at Ubisoft
No. See Maxime with his partner http://gingearstudio.com/about
bipin_nag··on Sun, Oracle, Android, Google, Mozilla and JDK Copyleft FUD
Its a response to earlier article http://andreasgal.com/2016/01/05/oracle-sinks-its-claws-into... by former Mozilla CTO.
bipin_nag··on Disque 1.0 RC1 is out
Looking forward to Aphyr's Call Me Maybe for Disque.
bipin_nag··on Facebook is misleading Indians with its full-page ads about Free Basics
Google has announced free Wi-Fi at 100 railway stations in India. I think it does something similar in other countries (and there is Google Fibre). It is just a start but more sensible than what facebook chose to do.

Now this is what I think. Facebook is interested in being a monopoly and this step will ensure its rivals don't get in (because facebook pays for it). This is what all the argument is about. Saying billion people will get free internet is just an eyewash. They don't give you full internet, just the part which serves their interest.

Carriers should not control/discrimintate internet access. This should apply to other companies as well.

bipin_nag··on Why I Still Use Python for High Performance Scientific Computing
Correct me if I am wrong but Spark does not use JNI for Python. It uses py4j to allow Python programs to access Java Objects. All the core functionality is implemented in Scala/Java. py4j uses sockets to communicate. See https://www.py4j.org/about.html
bipin_nag··on Why I Still Use Python for High Performance Scientific Computing
I use Spark. Will using Python help a lot ?
bipin_nag··on Flexbox Froggy: A game for learning CSS flexbox
Awesome. Clears lot of properties from flexbox display. Thanks a ton.
bipin_nag··on Kashmir: A statically typed Lispy language compiling to Go
Both languages you suggest require more learning (both have origins in academia) and are less popular compared to Go in usage.

Regarding the package management comment. If it is an experiment let results get in. Some people consider vendoring bad yet others find some use in it. If vendoring happens like it or not it wont make dependency management bad as a whole.

bipin_nag··on Kashmir: A statically typed Lispy language compiling to Go
I agree that that the statements cannot be analogues. But then I never implied it. My answer was only to counter the statement that JavaScript is the assembly language, in future WebAssembly will likely take that role. Then I continued on my intended answer of why Go is the preferred language.
bipin_nag··on Kashmir: A statically typed Lispy language compiling to Go
Javascript would be the assembly language of web i.e. what runs on your browser. Although that won't be true with the advent of Webassembly. Go is language of choice on cloud.

If you ask me following is the checklist it passes:

1. Low memory footprint/good GC

2. Concurrency (goroutines) builtin

3. Great dependency (package) management

4. Compiled/closer to bare metal

5. Fast compilation

If you check other languages against the list they lack at least one of the above. If you feel any other language is better suited please tell.

bipin_nag··on Don't copy paste from a website to a terminal
The middle mouse paste (select to copy) in Ubuntu makes it even more seductive. In many occasions I have accidentally pasted code into my terminal window and many times without even knowing (debugging phantom menaces). I have started using Clipit/gedit to screen code now.
bipin_nag··on Twitter CEO Dorsey Apologizes to Developers
Added to my quotes file. Thanks.
bipin_nag··on From Python to Go and Back Again
My take on the points mentioned:

1. Goroutine memory use - Post happens to be about 1.2 and 1.4 and I started with 1.5.

2. Debugging - yes handling errors are a bit tedious. I have not written much boilerplate to handle errors. I just copy error handlers a lot. Maybe that’s why error strings are a lot common.

3. Goroutine leaks - This is scary, I have used goroutines with channels but properly so far. Yes you can write code that leaks. This is something you will have to check yourself.

4.Testing - not done much.

Overall - I feel author learned of some negative aspects about Go and turned away. Some of them like Goroutine memory footrpint will improve with time (e.g. 1.5 earned a lot of praise for GC improvement). A lot places author mentions possible improvements for e.g godebug or latest Go with SSL but did not try it as much. So it may not be as relevant to new Go adopters.

bipin_nag··on New Chromecast 2015
Why Google ? Why leave India ? I want to buy chromecast but not the old one.
bipin_nag··on Google Nexus 5x and 6P
Agree with you. Another thing I would stress on is the price constraint. Don't forget that Nexus 5 was said to be a high-end phone but 200$ cheaper.

Given a price to stick to, it is very difficult to improve the specs substantially to wow the existing customers. Look at Oneplus one- the flagship killer and its successor- two not considered to be killer at all. I don't think existing customers would want to upgrade to the newer version.

Speaking as someone who does not own a Nexus 5, I would say I am very impressed by the specs and am waiting to purchase it. There aren't many phones better than this (keeping in mind the price).

A lot of Nexus 5 owners have pointed that the newer one does not have wireless charging and OIS. I feel that improving the overall experience matters more. Even though both are nice-to-have features it still does not help the crappy battery and low-quality camera that much. The 5x solves the existential funks first by adding those improvements. And due to the price limitation the nice-to-have features had to be dropped.

bipin_nag··on Lazy Redis is better Redis
I have a question. UNLINK will be more responsive than DELETE as it will not block and run it in background. But will subsequent requests be faster than DELETE. How will it behave if immediately followed by GET.

In background processing I think it is keeping the list of elements to delete. So when a GET is received it will check against that list too. The overhead will remain when you have to process incoming queries and deletion is not finished yet.

DELETE followed by GET takes x sec (mostly due to DELETE).

//In GET after DELETE time is not affected

UNLINK followed by GET1,GET2,... takes y1,y2... sec

//Will y1>y2>... until deletion finishes ?

Is this correct ? It looks like a trade-off, improving current latency at cost of later ones. (I feel it is worth it).

bipin_nag··on Jackfruit could save millions from starvation
It was surprising. Jackfruit is available even in a city like Delhi. I fondly remember feasting on sweet jackfruit at my grandparents place when I was younger. I would say it is a popular native fruit. I am skeptical about the 75 % wastage mentioned. That cannot be true.
bipin_nag··on I quit the tech industry
I empathize with the OP. I wanted to post a reply to probablyfiction explaining to him. Instead I will list the reasons why burnout could have happened to him.

Point 1 "unless X has a toxic work culture,it's likely the author brought it on themselves by pushing too hard."

An overstatement unless you know what he faced. You were hired for your problem-solving ability where pushing hard can be expected at times. In reality this could be he's not pushing too hard so much as the existing environment which leeches effort and adds burden to every step. Toxic culture is somewhat unlikely but what if he inherited a huge technical debt, this happens a lot.

Point 2 it's a terrible feeling to have to spend your most productive hours working on someone else's problems. He or she may find themselves drawn toward entrepreneurship

Wrong. IMO you can either work as a product engineer role building something new (hopefully) or as support role integrating products/fixing glaring bugs crappy code/migrating systems. The latter is not exciting. A developer MUST be capable of both and SHOULD be given at least an opportunity for both. It does not have to be in your own startup. I maybe a coder but I am not a horseshit shoveler.

Point 3 Office culture is draining. Some people aren't cut out for it.

Why ? It doesn't have to be. Even then why assume work culture is the culprit here and he is not cut for it.

Point 4 Additionally, programmers tend to push themselves too hard for too long out of a misplaced sense of loyalty to the company. They don't see that the work they do is extremely valuable in and of itself.

Translation the coder has to see the fine line of enthusiasm between "working already" and overzealous. Seems like a hypothetical problem unless you tell why is it relevant here. About the "work" you say, you should tell what "work" is. It is not just the stationary lines of code lying on repository, but the amount of effort that went to write it, debug it and will go to maintain it. A badly written project demands higher effort to keep it running than what you could imagine.

Point 5 a coder doesn't owe the company anything more than their agreed-upon hours of work.

I know that is the agreement. But I don’t know if you have seen places where boss wants work in a deadline and not hours a coder spends and wants it done. You should remind him that then.

bipin_nag··on Pixel City – Procedurally generated city (2009) [video]
I have one question, are the buildings generated randomly or is there any algorithm that generates which building goes where. The generation is like the urban version of "No man's Sky".
bipin_nag··on Top data mining algorithms in plain English
I also want that, the side-by-side comparison specially. The follow up discussions are also helpful, someone mentioned about C5.0 I didn't know about. There are lot of algorithms/steps pieces that are needed when solving the machine learning puzzle. The article was very helpful.
bipin_nag··on Fractal Lab
You can create vivid unimaginable universes/superstructures with such detail just by changing some parameters. Planets, space stations, cities, forest, ocean, I can only say what else. The fractals I have seen in the video outnumber the unique sci-fi worlds in movies/games I have seen. I feel like a God who can create my own universe. Simply amazing. Just wow.
bipin_nag··on Fractal Lab
This is awesome.
Page 1 of 2Next →