HNHacker News
TopNewBestAskShowJobs

hitr

1,131 karma · joined April 25, 2016

A full stack developer and debugging expert.Fascinated by anything related to Technology,Movies and Travel.
submissionscomments
hitr··on Bluetooth 5 will quadruple the range, double the speed
I ran into connection problems with any Bluetooth devices I have used.Currently I have fitbit which has all sorts of connectivity and syncing issues with Bluetooth both with windows phone and android. Previously I had Nokia Bluetooth headset which dropped connections from time to time again with Android or windows phones I tested.Before that I had an expensive Bluetooth wireless mouse from Microsoft which had issues with multiple laptops I tested.It cant be driver issues every time.
hitr··on What ORMs have taught me: just learn SQL (2014)
If you dont want to deal with quirks of ORM,use a lightweight microORM. You basically get some productivity, simple type checking,consistent way to access data , sql injection protection and you will deal with hand rolled sql queries.
hitr··on Intro to kernel debugging
If you work with .NET ,best place to learn all common scenarios like hang,crash,high memory are Debugging Demos https://blogs.msdn.microsoft.com/tess/2008/02/04/net-debuggi...

Many troubleshooting steps in that blog also covers DebugDiag .DebugDiag is an amazing tool which can help you collect dumps automatically for crash,high memory,IIS slow response etc.

Another tool which can help you profile your applications easily is PerfView https://channel9.msdn.com/Series/PerfView-Tutorial .

Perfview is built on the (Windows Event tracing) ETW infrastructure windows have .You can think of it as Lttng or perf_events linux equivalent but built into everything windows have. I think process monitor is also built on ETW. After debugging ( which is not required for lot of scenarios) the most powerfull thing in troubleshooting any issues in Windows is ETW traces IMHO.So understanding and analyzing ETW will help you troubleshoot a lot of issues.

https://blogs.msdn.microsoft.com/ntdebugging/2009/08/27/part...

XPERF is built to consume ETW traces https://blogs.msdn.microsoft.com/ntdebugging/tag/XPERF/ https://blogs.technet.microsoft.com/askpfeplat/2013/03/22/tr...

Also Advanced Windows debugging[1] and Advanced .NET debugging[2] to be very good for learning debugging in windows land.

[1] http://www.amazon.in/Advanced-Debugging-Addison-Wesley-Micro... [2]https://www.amazon.com/Advanced-NET-Debugging-Mario-Hewardt/...

hitr··on Supreme Court to hear petition seeking ban on WhatsApp
All I am saying is I am Ok if it saves the lives of innocent people. And I am definitely against people looking at my data ,a human should only get control through a warrant or tight scrutiny but that provision should be there in the system.
hitr··on Supreme Court to hear petition seeking ban on WhatsApp
Many comments here say that it is an intrusion of privacy but a random machine sitting some corner of the world, parsing boatload of data(including yours) and detecting that there is an act of terrorism and in effect saving people. I am OK with that machine parsing through my data. I feel that when you write your email or uploading photos on FB/Instagram or send a tweet ,A machine is already doing that and many people still use all these services . Also technically some Facebook/Google/Twitter employee can look at all those data if he wants to.So i believe govnt should get a provision to look deep into the data if it needs to save a one person or a hundred people.I do reflect the concerns discussed here [1]

I am saying that a provision should be given for government or any agency if it helps saving people's lives but only with a warrant or better scrutiny for the request. Shouldn't that be the case?

[1] https://www.theguardian.com/technology/blog/2013/jun/14/nsa-...

hitr··on Intro to kernel debugging
I work with Microsoft's support and I have fair idea about system used to automatically analyze dumps uploaded for all the support issues.Although i have not worked on the system itself ,I have contributed many rules for it in the past.This will not be as large as the OS or application crash dumps collected by the windows error reporting but I think the idea should be similar.

In the support scenarios, any dumps(can be up to multiple GBs of size as used by the process) collected and uploaded to the portal will be analyzed by a custom execution engine which is based on dbgeng.DLL .You can find a similar automated analysis with tool DebugDiag[1] which contains script for known issues such as crash,hang or high memory.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=499...

hitr··on Intro to kernel debugging
This is a good introduction .For more details on the internals I find these very good.

[1]http://www.codemachine.com/articles.html

[2]http://advancedwindowsdebugging.com -is a very good book for user mode debugging

hitr··on Photo of Mark Zuckerberg-Camera and Mic Covered with Tape
Can't say this is "extremely paranoid" .Personally I care not much about someone snooping my conversation and I trust my webcam blinking light :) But I feel like someone at Mark's level should take every precaution possible
hitr··on Samsung Acquires Joyent
Microsoft has good PaaS story when it comes to .NET stack. Especially product Azure App Service[1].All though it can technically host nodejs,java etc ,it still is based on IIS and windows stack. Joyent has more native offering for nodejs which could have been Paas for nodejs(Azure App Service for nodejs )

[1] https://azure.microsoft.com/en-us/services/app-service/web/

hitr··on Samsung Acquires Joyent
I always thought Microsoft/Google or the likes would acquire Joyent as it is good product fit. Microsoft chose linkedin instead :) For Samsung this is all about IoT .Samsung wants to own both the devices and backend. A good move IMHO
hitr··on MongoDB queries don’t always return all matching documents
A startup which I have helped architect back end uses mongodb for everything. before starting the project I have requested the CTO not to use mongo as it was not a right fit.Basically they needed more of a relational stuff.The CTO chose mongo because he was thinking every startup uses it and why not us. Now they are suffering as they need ACID and relational features. They want to rewrite to postgres but they are heavily invested and not easy to go back.
hitr··on If no-one helps you after a car crash in India, this is why
I am from India and many people I know at least think that they will get into more trouble with police or hospital formalities if they help.Even many films made here portray same picture to the public. My mother once told me (when i was a kid) one person from her hometown who was a lorry driver ,once helped an accident victim and took him to hospital. But in the end they framed the same guy on murder attempt and he had to run behind the case for long time and he eventually lost everything. Having said all this,I personally think how can someone ignore an injury to anyone ? My conscience will not let me pass through without offering help if I ever see anything.
← PreviousPage 3 of 3