HNHacker News
TopNewBestAskShowJobs

gnufied

2,557 karma · joined March 2, 2007

submissionscomments
gnufied··on What Google Learned from Its Quest to Build the Perfect Team
It is interesting that Agile movement has in general enshrined idea of time boxed team meetings for software teams. And in general - we engineers are wary of long meetings.

And yet - most of us measure ourselves, how we are performing in a team by things that happen in team meetings(according to the article anyway):

1. Is idea my ideas heard and debated before being accepted/rejected?

2. Do I get opportunity to present my idea at all.

A time boxed meeting does not by nature leave room for idle chit-chat or from my experience even opportunity to hear everyone's thoughts. Part of the problem of course is, meeting rooms in lot of companies are a scarce resource, so you better clear out after time is out.

This is really curious because we hate meetings and yet we have adopted them in a sort of haphazard way which creates more problems than solves.

gnufied··on Show HN: how2 – stackoverflow.com from the terminal
Uh oh,

    ~> howdoi  parse json python
    {"maps":[{"id":"blabla","iscategorical":"0"},       {"id":"blabla","iscategorical":"0"}],
    "masks":{"id":"valore"},
    "om_points":"value",
    "parameters":{"id":"valore"}
    }
Yep can't agree more.
gnufied··on Virginia Tech Professor Spent $147k to Help Uncover the Flint Water Scandal
If basis of your claims is same article that has been posted here. it says here:

> $180,917 in expenses for sampling, water tests, laboratory supplies, and more.

This is the out of pocket expense they are talking about. It doesn't even involve the hours spent. So unless you can disapprove that sampling costs for water tests didn't cost $166,487 - we have little reason to trust your claim.

Regardless, lets say even if that $166,487 indeed includes their hourly rates for which no one was asked to be paid, their claim is justified. Heck no one asked them to do this in first place.

There is time and place to be cynical but I don't think this is the one. I personally can't applaud them enough for work them have done.

gnufied··on Show HN: Pact, a simple utility that kills all procs given to it if one dies
Props for this. Just last week, I was searching for a similar solution and ended up coding this - https://github.com/code-mancers/invoker/blob/master/lib/invo...

It doesn't kill the shell, when one of the process dies but kills the processes if shell dies. There is some trick involved in the way trap gets called though when shell dies and without waiting on the processes twice - shell exits without killing child processes.

gnufied··on Start up India: Webcast [video]
Ahem to Innovation centers and research parks. A lot of them can easily become institutions who get govt. money for doing nothing basically.

My university was next to one research park and as far as I could tell nothing ever came out of the ruddy place. Point is - for research park & innovation centers to function you need people dedicated to research. In current state India does not have that many researchers to spread across this many institutions.

gnufied··on Why Swift Guard Should Be Avoided
Let me come out and say - I think OP is wrong. When people write 500 line long functions the only way they are going to test it is, run with real input and see if it breaks.

Such testing is not only insufficient, but any regression that is added as a result of a change will go unnoticed too, until a real user hits that bug. You will notice how most people who are supporting long functions - don't even talk about how the heck they are going to test it.

gnufied··on Why Swift Guard Should Be Avoided
You have gone wayy too meta for me to understand what you are saying. OP seems to make a claim that more functions hinder readability which is not true if you are using proper editor or IDEs, on other hand smaller functions enable unit testing and extensability which are pretty worthy goals if you are working on a project with multiple people.
gnufied··on Why Swift Guard Should Be Avoided
So, leaving aside the fanaticism around number of lines a functions should have which I disagree with, there are some big advantages of splitting a functions in logical units.

1. If you have ever written unit test for 300 line function you know it gets dicey. Such a function will likely require too much setup and will require complex mocks/patches/doubles to be unit tested.

2. As I mentioned before, I don't believe in number of lines thingy but logical unit of separation. If a function, opens a file, reads & parses config data from it, reads URL from the config data , parses http response and writes updated bits to config data - these distinct things can be logically separated and will be easier to unit test perhaps (again production scenario might be more complicated). Also, with modern IDEs and editors jumping back&forth between functions should be a breeze and your IDE/editor should provide an outline of file which can be scanned quickly.

3. If you have written a long function that does too many logical things(not again by number of lines) - next person who makes changes to it, isn't going to break it up - even if breaking up makes sense. For example, lets say in above example original code was written with expectation of certain format of config data but now somehow the function has to support more than one config data. Now the code is so tightly coupled that - it is harder to break out parser of this new format to new function and hence the function will keep growing (and did I mention the unit test setup has to support new config format as well somehow).

3. If however, lets say method computes moving average of a timeseries, it probably makes sense to have it all in one function even if it becomes slightly longer.

TL;DR - Cargo culting must be avoided at all costs, however we don't need to throw the baby with the water. Each problem calls for our own judgement. Separate the functions by logical units, rather than number of lines, use proper editor/IDE.

gnufied··on Fairphone 2: world's first modular phone goes on sale
I dunno how are your sourcing those parts:

http://pcpartpicker.com/p/wwhHP6

But you seem to be picking very overpriced components. Also You are bit of outlier if your motherboard supports only DDR2 RAM. DDR3 has been in market for like 10 years and it is pretty cheap.

gnufied··on Wireshark 2.0: Now with Qt
So I have used QML plenty too and it isn't all that great honestly. In fact in many ways it is backwards.

For example, all Qt widgets instantiated via C++ can be styled using an external stylesheet, but not so for QML stuff. All the margin, padding you have to specify inline in the code. If that is not going backwards, I dunno what is.

gnufied··on Backblaze Storage Pod 5.0
Please make a Linux version of your client. Even a CLI based tool that works in background will do.

From afar it looks very compelling, but unfortunately I can't use it, because no Linux :(

gnufied··on Show HN: NotCRUD – Hacker News of India
I thought http://hackerstreet.in/ was kinda already Hackernews for Indian audience?
gnufied··on The Danger of E-Books
I own a Kindle Voyage and read heavily on it and yet I can get behind this FSF campaign with all my heart.

1. There is no reason Amazon/publishers can't distribute DRM free books which I can backup and share (within reason, not putting for torrent).

2. It is amazing how badly Kindle supports other languages. I was trying to read a book written in Hindi on it and it was meh. Page turning is slow, font rendering is awful. Are we ready for a world where literature means English literature?

gnufied··on “We don’t do autism”
http://www.medifee.com/tests/mri-scan-cost/ in India. So to the tune of $200 max.

However in US it costs on average $3000 USD. :(

gnufied··on “We don’t do autism”
It seems that Dandy-Walker Syndrome is a known cause of some of the symptoms that show up in people on the Spectrum. i.e - there is an overlap. http://ghr.nlm.nih.gov/condition/dandy-walker-syndrome

And Dandy-Walker syndrome appears to be directly linked to Cyst growth and hence at least diagnosiable via MRI.

gnufied··on India (2002)
Factually if we take each point in the Article, a lot has changed and yet not enough:

1. You can get cross country SIM card easily in India today.

2. Taxes for IT business is uniform (no incentive for export per se)

3. Indian IT industry did just fine during bubble burst so Author's cyncism was bit misplaced.

4. Indian aviation industry is fierecly competitive. Today no one worries about future of Air India not because Air India has become good but there is enough competition.

5. I would argue that a lot has been done to ease Foreign investment since Article was written. Why just yesterday new measures were announced (http://indianexpress.com/article/explained/no-mat-on-fii-why...)

gnufied··on Here’s what Ashley Madison members have told me
For majority of users who use any kind of ingame purchase (dota, TF2 hats) - Steam stores credit card information etc. I know one can pay using Paypal but I dunno how many users use that option. So, Steam does store personal information of users period. It is not very different from any other service.

On other hand, allowing users to delete their accounts can help with kicking serious gaming addiction. It usually takes time before you can level up a new account for playing at skill levels you were. Part of me thinks, Valve does not allow deletion of accounts precisely because of this.

gnufied··on Here’s what Ashley Madison members have told me
Wait, why do we need special requests for Steam account removal? I would login and delete my account (and as a result immediately logged out I suppose). Steam uses two factor authentication for login and unless someone has got hold of your Steam password and email password, you should be safe.
gnufied··on Here’s what Ashley Madison members have told me
To be completely fair, internet industry as a whole is hell bent on keeping users in, rather than letting them delete their accounts. The other day, I was trying to delete my Steam account and I couldn't find a way to do that and Valve happens to be one of the most respectable company on earth.

I don't know what will change attitude of our industry. I guess lot of us are still stuck with mindset of real-world brick/mortor shops - if you don't want do anything with Shop X just don't go there! Sadly this does not really work for loads of internet services. Perhaps we need a legislation like Right to Forget (I am not endorsing EU law fwiw).

gnufied··on A Pakistani Teen Gets Rich in E-Sports
I guess the most important fact here is, his parents somehow supporting him through all this. I am an Indian and I know firsthand how controlling Asian parents can be.

Here is a documentary about hyhy https://www.youtube.com/watch?v=fC74gSReUtE . Today his former teammates make more than 100K USD/annum. But owing to variety of factors(which I suppose includes big opposition from Family) he missed the boat big time.

gnufied··on Snappy-start: Tool for launching a Linux process from a snapshot
Looks really nice except having to compile custom Kernels I guess.
gnufied··on Snappy-start: Tool for launching a Linux process from a snapshot
Getting this error while running ./make.sh:

   Hello, world!
   Hello, world!
   * Running test: ./out/example_loader
   Traceback (most recent call last):
   File "tests/run_tests.py", line 57, in <module>
    Main()
   File "tests/run_tests.py", line 40, in Main
    RunTest(['./out/example_loader'], -1, use_elf_loader=False)
   File "tests/run_tests.py", line 34, in RunTest
    subprocess.check_call(['./out/restore'])
   File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
   subprocess.CalledProcessError: Command '['./out/restore']' returned non-zero exit status -11
Interestingly the project has Github issues disabled.
gnufied··on StackOverflow modding itself out of existence
There is a tendency among the new mods to retroactively close questions which were asked and answered years ago. Honestly, I don't get it.

Here is a question of mine for example (http://stackoverflow.com/questions/4701538/javascript-based-...).

Leaving aside the question if the question is indeed off-topic, I don't know why anyone will come 4 years later and question intelligence of person asking the question and person answering it. Are these mods suddenly wiser than participants 4 years ago or here to stroke their ago?

gnufied··on Supercharged Tuberculosis, Made in India
While it looks grim, I think wheels are in motion. This article by World Bank - http://www.worldbank.org/en/news/feature/2013/05/09/india-ba... puts things more in perspective.

Bottom line:

1. Government has increased spending on Tuberculosis diagnosis and treatment.

2. Organizations like Gates foundation (http://www.gatesfoundation.org/What-We-Do/Global-Health/Tube...) are doing good job in getting things in motion.

3. NGO's like Operation Asha(http://www.opasha.org/) are doing tremendous job ensuring patients take their medication properly.

A big part of the problem seems to be diagnosis and proper treatment before the disease becomes drug resistant. This quote from linked article:

>All too often, patients are misdiagnosed and wrongly treated by private providers who then dump them, broke and drug-resistant, onto the public health system.

gnufied··on Safari isn’t the problem, but the lack of browser choice in iOS is
Depending on which market share data you are reading - Chrome isn't clear cut market leader (http://venturebeat.com/2015/05/01/chrome-passes-25-market-sh...).

I am far from Google fan but calling Chrome is a problem is naive. I use Firefox on my Linux desktop and I can make Firefox default browser on my Android phone too but my wife is stuck with Safari on her iPhone - no matter what she wants. I think that is bit of a problem and should be addressed.

gnufied··on Safari is the new IE
Apple had little choice other than to Open Source Webkit unless they wanted to violate LGPL licence which forces - source code of any derivative work to be released back to the user.
gnufied··on Could dark matter not exist?
Just read one of his articles from his Website. He mixes physics and mythology with impunity. No wonder, his theories are not taken seriously.
gnufied··on India’s Snapdeal Says the Country Doesn’t Have the Programmers It Needs
I would have partly agreed with Snapdeal since finding good engineer has always been hard.

But this filtering by IITs/NITs/BITs shows - how out of touch they are. I know some of the most brilliant programmers in Bangalore/Pune and they are not from these "premier institutes". In fact, being from NIT Trichy myself, I have concluded that - most engineers from these colleges are risk averse and likely stick to a well trodden path of B.Tech + MBA or head to US for MS.

gnufied··on Existential crisis at Railsconf
Eventmachine itself is in kinda unmaintained state. Newer projects are starting with Celluloid and stuff, which arguably offers much easier way to reason about concurrency. I am not sure why they would pick EM as base for ActionCable.
gnufied··on Blow to Internet.org as Indian Internet Companies Begin to Withdraw
If internet.org was really about providing internet access to people who otherwise can't access it, what is stopping Facebook from making it open? In current form lets say internet.org allows access to 100+ websites. I assume speed will be slow anyways. So make it open. Speed and data cap will be a deterrent for people wanting to abuse the platform (and things like torrent etc can be blocked anyways)

But I guess that will not serve facebook's interests. As an Indian, I actually prefer no internet at all compared to a moderated list that I am allowed to access. The way things are moving - Govt. has to act to provide internet in India for the last mile consumers anyways. With curated access there is a danger of wanting to maintain status quo because that kind of access - checks a tickbox.

← PreviousPage 7 of 16Next →