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 An event bus framework for event driven programming
With event framework,we should use little helper function to wrap each event type,at least that's what I have seen.Windows event tracing(ETW) comes to mind,one of the complex api written[1].I always thought that every application should make use of ETW infrastrucutre. Compared to perf_events or may be lttng in linux(I am not sure how difficult to integrate to perf_events).Currently there are good and easy framework for ETW in .net [2]. But once you integrate your app,your app suddenly gains performance tuning,debugging capability easily. I think this should hold true for any event framework!!

[1]https://mollyrocket.com/casey/stream_0029.html [2]https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing...

hitr··on Multiplexing on top of TCP (2011)
My understanding is that http/2 completely fixed HOL blocking .If any streams has any issues ,server or client can reset that stream independently [1]. Isn't that the case ?

[1] https://http2.github.io/http2-spec/#StreamErrorHandler

hitr··on Nokia McLaren: The Windows Phone That Never Was [video]
I still cannot fathom why platform is in an abandoned state.Hopefully they are working on something big.My list of

Pros:

Windows phone ran absolutely fine on lowest hardware available

Live tiles and pinning was best part of the UI

Basic things like dialer,messages and emails were simple and intuitive

Phone never slowed down after using for long time(no need of periodic resets)

Updates never used to slow the phone

Cons:

Basic apps like whatsapp or Facebook were really slow.Slow startup times,no feature parity etc.

Absolute lack of new trendy apps

hitr··on The C Based GRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)
The best part about this library is that it uses HTTP/2.There is big debate that HTTP/2 is not suited non browser scenarios as the protocol does not offer any improvement in that line.

https://http2.github.io/faq/#what-about-non-browser-users-of...

hitr··on Python for .Net rises from the dead
That is true where c# is getting lot of features.But there is another area it can really help.Use python libraries in your .net projects and use it as if it were .net library with comparable or better performance. As far as I know,performance is a concern http://ironpython-urls.blogspot.in/2009/05/python-jython-and...
hitr··on SoftBank confirms $32B acquisition of chipmaker ARM to target Internet of Things
other than an ownership change, this should not bring much of change to the market or ARM dependant companies,shouldnt it? .

If it was any other company like Intel or Samsung, things would have been different. I see that even Intel is developing chips based on ARM http://www.digitaltrends.com/computing/intel-arm-processors-...

hitr··on Microsoft Orleans – An approach to building distributed applications in .NET
I did not know about this until I looked at the awsome-dotnet list[1] .This project is based on Microsoft research[2] and is heavily used internally and externally at Microsoft (Halo and Skype project). I think the Microsoft Azure Service Fabric is cloud version of the orleans might be originated from this framework(I may be wrong).I have done some sample applications and i think this is a good alternative to AKKA.NET

[1]https://github.com/quozd/awesome-dotnet https://www.microsoft.com/en-us/research/project/orleans-vir...

hitr··on .NET Core Roadmap
Full .NET core support for F# is very nice feature,should have there on day 1. But project.json to csproj conversion is going to hold many open source projects to start porting to .net core in the near future.Even after RTM ,you cannot rely on many features or your existing learnings with such changes. I guess I have to wait for another year to see full adoption for people to migrate existing libraries or frameworks.Even networking and data support coming in Q1/Q2 2017. Anyways big kudos for being open and transparent
hitr··on “Give me 15 minutes and I'll change your view of GDB” [video]
I don't compare gdb to visual studio but to windbg.It would have been great if gdb has support for debugger extension s like windbg(or any windows debugging tools like cdb or ntsd etc). I can easily debug any .net programs on windbg and level of details sos,psscor or many other extensions show you on for .net debugging is amazing. There are windbg extensions where I can write SQL like queries on .net memory objects or write python scripts or JavaScript to control your debugger or write automated analysis very easily.I have seen the same for php and nodejs processes with windbg and it was not very difficult.On Linux the story is different and there is no easy replacement .When Microsoft ported .net to linux with dotnet core ,they chose lldb instead of gdb as gdb does not provide extensions support.I also heard that lldb is not as good or stable as gdb.
hitr··on Satya Nadella just fixed Microsoft’s biggest problem
I have tried at least 3 most popular dialer in play store and none of that was as good or simple as windows phone's.I did find T9 search good but searching through the recent call list or finding a linked contact was felt better on windows phone.My biggest gripe is about the email clients.I am still looking for one which is very simple to use and has a simple UI.I find even Microsoft outlook offering is bloated or not simple as windows phone's.
hitr··on Satya Nadella just fixed Microsoft’s biggest problem
Very well said on the Windows phone.I have used three windows phones before switching to Android and I think the UI for simpler things like dialer ,messages or emails was better on windows phone.Especially email was so good ,it used to work a charm even on 2G.I have used built in clients and other options on Android and nothing beats the basic email client on windows phone.May be it was not feature rich for gmail but usability was better .Many of my colleagues is of the same opinion who switched from windows phone to Android.All Microsoft had to do was fix the developer ecosystem but looks like the platform is abandoned. An alternative other than Android or iOS would have been better
hitr··on Ask HN: Hardware support for garbage collection by mainstream CPUs?
I had this crazy idea once! . "Since JVM,CLR and the likes are very popular,why not have hardware accelerated GC or a hardware which can execute java bytecode or MSIL ". May be Microsoft or Oracle should build one as they are heavily invested in GC languages :).

Turns out there are some research and implementaion on this already

https://users.ece.cmu.edu/~omutlu/pub/hamm_isca09.pdf

http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=554101...

https://en.m.wikipedia.org/wiki/Jazelle

A possible answer why this did not go mainstream https://news.ycombinator.com/item?id=12051947

hitr··on Airtel is sniffing and censoring CloudFlare’s traffic in India
In the article,testing the host header with different IP is done over http and not https.so i so it does not prove that Airtel is sniffing https traffic,isn't it ?

>curl -H "Host: thepiratebay.org" http://192.30.253.112/

May be I missed something. Technically it is possible block the traffic by looking at SNI[1] or simply block the ipaddress if it belongs to the blocked site.I always thought that every ISPs had to follow this because all ISPS are asked to block a list of such sites by the Supreme Court .

[]1 https://en.wikipedia.org/wiki/Server_Name_Indication

hitr··on Your Phone Has an FM Chip. So Why Can’t You Listen to the Radio?
In India we have free streaming apps from the network provider like Airtel which allows downloads or offline playing of millions of songs without paying ,people really don't miss FM radio that much as it used to.
hitr··on Ask HN: Best platform to create a private community for 100-200 people?
If you are looking for hn or stackoverflow like community with moderation built in,take a look at discourse. I have used it and really like it.
hitr··on [dead]
This was posted yesterday and here's discussion https://news.ycombinator.com/item?id=12056210
hitr··on The Tech Co-Founder Deal You Should Be Getting
My point being if you work for Co-Founders who does not value tech as equally as other things,its not worth it.

My friend(CTO) and another two non-technical founders(CEO &COO) started this company and he is not treated well.And he got only a quarter of percentage of shares other two have.

hitr··on Oracle and the fall of Java EE
I have worked on both languages and I have not disliked anything about java.Not here to start a flame war. I heard many times from who have extensively worked on both that supports for generics in c# is far superior than java.And obviously LINQ goodness and async\await comes to mind
hitr··on Oracle and the fall of Java EE
>when the RC mess is sorted out

RC mess is already sorted out with RTM release, isn't it?

hitr··on Oracle and the fall of Java EE
I also work in .NET stack but until now(before .net core), the entire CLR was a blackbox and could only run on Windows.Obviously we had Rotor released but license was restrictive and there was Mono but in my experience mono was far from production ready when it came to asp.net. In terms of the IDEs like VS or IntelliJ or a supported production ready server (kestrel like) there was not much option.

I think the place where java still shines is JVM.There are myriads of JVM implementations out there which is suited for all kinds of purposes.And with the same flexibility ,there are functional languages like Scala or Clojure which targets JVM where all existing java libraries can be used for your new shiny language of choice.Of course .NET has F# or DLR (which I feel is another layer added on top of CLR and I couldn't like it).

What I see is .net has ports for most of the java frameworks or libraries e.g spring,hibernate,lucene,akka you name it. With .NET core being open and F# and C# being super awesome on it's territories (yes am biased :) ) ,we may have good contender to java in some more time.

hitr··on World is getting dramatically better, not worse. Some charts that prove it
>The greatest gains in poverty reduction have come in China and India, which, together, have lifted just short of 1 billion people out of poverty.

As per wikipedia[1],still a long way to go

world had 872.3 million people below the new poverty line, of which 179.6 million people lived in India. In other words, India with 17.5% of total world's population, had 20.6% share of world's poorest in 2011

[1]https://en.wikipedia.org/wiki/Poverty_in_India

hitr··on Later Stage Advice for Startups
Yes probably. Article is largely aimed at 12-24 Months but at the same time 20-40 member team. But if you team is big, you need lot of things in control no matter how old you are as detailed in the article. Otherwise they are inviting chaos
hitr··on Ebook on how to build a web with golang
I think this book should have been on gitbook than github atleast it would have given more downloading options and book friendly UI.I read a lot on my mobile.Is there any reason why someone should chose github over gitbook if the sole idea you use your git repo is for writing a book?
hitr··on Later Stage Advice for Startups
When I read this,I was verifying each point against the last startup I worked with and they don't follow many of the points discussed when I was there.But they have a very good seed funding.The thing going against them may be is growth.They are from 4 (including me) to 25+ (excluding me)employees in less than 6 months with no senior person in the team.One main Founder was trying to do micro management and delegating tasks poorly with poor communications.They have fired many people than I can imagine.And I am still hopeful that they succeed as my friend is still with them. I still think they may succeed as they are growing. I was ok with everything except the firing part!.This is an operational heavy business and not technical.
hitr··on Facebook throws out the news Paper
Any product/feature developed by Facebook which will give them full control should not be used by publishers or content creators.One fine day they change the algorithm or a policy and your are your own. E.g Zynga story or the Indian media sites losing millions of page views overnight . it would be interesting if the successor 'Instant articles' is used heavily.I follow a lot of news publishers on FB , In my news feed I haven't seen much of instant articles .
hitr··on Show HN: Monkberry – a JavaScript library for building web user interfaces
Actually a clean library .Github has more details on why it is faster than React >Monkberry is 10 times faster, sometimes 100 times faster. It's because Monkberry will do only necessary dom updates, and does it in a completely different way than React does. Monkberry compiles template to plain JavaScript to gain an advantage by using v8 hidden classes and reduce call stack. There is no virtual dom (in general, an react app have to keep 3 virtual doms), for example next template will be generated to JavaScript code which will do only necessary dom updates on state changes.

and also some benchmarks comparing against it. http://monkberry.js.org/benchmark/

I always enjoy reading why someone developed new library or tool because they wanted to improve something about a library they were using.It may not be a big thing but it surely gives one or two flaws about your favorite library you are so fond of .

hitr··on Facebook to Change News Feed to Focus on Friends and Family
I think the changes have big effect on Indian Media ,they already lost 100 million page views http://factordaily.com/indian-news-sites-lost-100-million-pa....
hitr··on Turn off ad-blockers or don’t read us, say top Indian newspapers
I am not sure how effective are the methods to detect whether adblock is enabled or not.Most popular method seems to be checking the size of the ad content.There are other methods being discussed here http://stackoverflow.com/questions/4869154/how-to-detect-adb...

In the article itself there is reference to anti-adblock killer.If anyone installs an adblocker plugin,they can probably install an anti-adblocker killer too.

hitr··on Microsoft: Language Server Protocol
> The first version of the protocol is based on experiences we gained while integrating OmniSharp and the TypeScript Server into VS Code.

Omnisharp is an amazing project which is helping making the dotnet ecosystem a pleasant to use across your platform or IDE of choice.Their work on the extensions for Atom,VIM,Brackets, VS code etc for csharp is amazing. https://github.com/OmniSharp

With this protocol being open and support from Redhat , eclipse and many SDKs already available, it would be quite easy to extend this to add support for any languages to any IDE.

hitr··on RethinkDB Performance Report
The numbers seems to be orders of magnitude better than MongoDB for YCSB .Arguably MongoDB is currently the most widely used NoSQL DB if I am not mistaken.In the past i have seen articles that Mongo is faster https://juristat.com/blog/a-comparison-of-mongodb-and-rethin.... Also the Wikipedia articles states that monho is faster https://en.m.wikipedia.org/wiki/RethinkDB

I have not used RethinkDB but used MongoDB in the past .Is there major advantage or disadvantage for RethinkDB over MongoDB?

← PreviousPage 2 of 3Next →