HNHacker News
TopNewBestAskShowJobs

keithwarren

3,131 karma · joined February 20, 2010

23 years coding on the web, 19 years freelance, 4 kids, 1 wife, 1 dog, 1 lucky guy

I own Fern Creek Software, we make software for other people usually on the Microsoft stack.

http://ferncreeksoftware.com

Twitter: @keithwarren

Email: keithwarren7 at hotmail or gmail

submissionscomments
keithwarren··on Announcing .NET Native Preview
How good is Mono - Unity3D is based on it and I have not heard anyone complain that the thousands of games built with it (including some of the most popular ever on iOS and Android) are having performance issues because of the underlying architecture.
keithwarren··on Announcing .NET Native Preview
Windows Store Apps are what was once called 'Metro' apps and now termed 'Modern' apps. They are essentially Microsoft's version of apps from iOS app store or Google Play store but focused on Windows 8 tablet and desktops (and as of today, the same apps you develop for these environments can also work on Windows Phone and XBOX One)

In the past if you were writing a client side or 'desktop' app for Windows you used C++ and MFC or a .NET language with Windows Forms or WPF (or lots of other options) to build that experience. Going forward Microsoft would prefer you build using this new model they are calling Windows Store apps. Along with that comes a set of rules and explicit declarations about what your app will do (much like we have on Android or iOS). This should in theory limit the number of crapware that exists, though that remains to be seen.

Jitter is a term we often use for a program that does the JIT work, JIT is an acronym for Just In Time which in context means Just In Time Compiler; it runs just before the code is needed. You have a program with 10K lines of code but the command you just sent the program only invokes 500 lines - a jitter or Just in time compiler will only convert the code that is actually needs to perform the operation you requested (thus performing faster).

keithwarren··on Announcing .NET Native Preview
It seems the comments area here is full of lots of questions and few answers. Let me try to clear some things up.

Lets start with how it currently works...

When you create an application or website in C#,F#,VB.NET or any other .NET language you are not really 'compiling' it per se to native code, you are compiling it to an intermediate language called IL - very much like Java byte code. When your application or website is run for the first time the .NET runtime converts this code to native code on the local computer and then caches this binary and officially compiled native version of your code. The result is, the first time you run your app or a section of the code there is a small performance hit while the .NET runtime converts your code to native. Let me be perfectly clear, this is a one time thing - a first time thing. Once you have gotten past that every subsequent run is going to be as fast as other native code. (Why is it not as fast as something written in c or c++ you may ask - because there are other things the .net runtime is providing for you like garbage collection, but that is a whole other talk)

So how is this different?

This preview allows you to skip this JIT process and image caching process altogether. This is first targeted for Windows store apps, when you would first run it on your machine it was slow on first launch because all this extra work was being done. Microsoft decided they could take the server side resources they had and run this JIT and imaging process ahead of time and when someone downloads and installs your app - this work was already done and first launch would be faster - as much as 60% faster. There are also lots of changes under the hood to make this all work better - Andrew Pardoe is on this comment thread further down and mentioned things like a refactored runtime, static-optimized libraries, static marshalling all combining for performance wins.

Does this mean I can build apps for Unix with C#

No, Mono is still the best way to do that

Can I build simple console apps with this and deploy to machines without the .NET runtime?

No, right now this is only available for Windows Store apps. Besides, unless you have some Windows 98 machines sitting around nearly every PC has the .NET runtime.

Will this make my app run faster?

Starting up, yes. Normal operation, probably not. .NET runtime and jitter have been around a long time and they are impressively efficient and fast. This includes some tweaks to parts of the runtime but don't expect to see your text file processing app go from 10 seconds to 2 or something like that.

Will this help me pick up chicks?

Depends.

keithwarren··on Announcing TypeScript 1.0
A little strong on hyperbole.

Less Flair version - Happy to see a well know and respected computer scientist trying to solve a problem faced by lots of developers and doing it in a simple and easy to understand way.

keithwarren··on Microsoft Updates Visual Studio
Still rumor and I don't expect to see anything on that front for some time. Why buy the cow when the milk is free, not like Xamarin is flirting with enabling Java on iOS or something - they are sold out to C#/F# so Microsoft is reaping the benefit.

More evidence, Xamarin announced their Evolve conference dates, times and prices and when it goes on sale - if Microsoft were buying them they would hold off on letting several thousand people spend thousands of dollars for a dev conference that would later be tantamount to a bait and switch.

keithwarren··on Microsoft introduces Universal Windows apps
This just in...Universal apps run on Xbox one.
keithwarren··on Microsoft introduces Universal Windows apps
I think the most significant part of this announcement is how they are dogfooding, Office for 'metro' and for the windows phone are using this Universal targeting.
keithwarren··on Microsoft Build 2014 Day 1 live
windowsondevices.com was live for a bit earlier today, now gone. Speculation is this is a play to get in on the 'internet of things' areas with Windows devs.
keithwarren··on Ask HN: What accounting software do you use?
Using freshbooks for years now and love it. Not because it has lots of features etc, but simply because it does this invoicing thing quite well. They are starting to add more accounting specific features which is nice but for me the bread and butter of invoicing is well worth the 20/month
keithwarren··on Microsoft Build 2014 Day 1 live
Lots of rumors at this point about what will be announced...

Windows Phone 8.1

Windows 8.1 (big update)

New Nokia models

Surface 3

I would also not be surprised to see an announcement of an acquisition in the dev space, Xamarin comes to mind but I dont think that will happen (yet).

keithwarren··on Microsoft Names Scott Guthrie as Permanent Enterprise Chief
For those of you who don't know, Scott is really the driving force behind Microsoft's embrace of open source. The opening of ASP.NET, the .NET Framework and countless other techs would not have happened without his push.

On top of all that, he is a coder at heart and still deeply in touch with the community. You can email him directly and usually get a response within hours which is astonishing given his role and responsibilities.

This is a win for coders everywhere, regardless of your position on Microsoft and how you feel about them in general - ScottGu is one of the great guys pushing technology forward and has a serious increase in firepower every time he moves up the ladder at Microsoft. This position is tantamount to 'head of all things developer' at Microsoft.

keithwarren··on Microsoft Azure: Cutting prices on compute and storage
Strikes me that this is intentional, not some thing that they are structurally incapable of doing - it is not as if there is a massive engineering effort for example, to support such a thing.

Never the less, I am in the same boat as your friends in many cases. In my consulting practice I do lots of SQL Server tuning work and have found very few cases where I can tell a client that going to Azure would be a net benefit for the database. Even with the new dedicated SQL instances, on-premise will almost always get you more perf per dollar. (though the Azure stuff does come with less maintenance headaches in theory)

keithwarren··on Microsoft Azure: Cutting prices on compute and storage
I never had trouble with any .net stack stuff but when i tried node I had some issues. Ultimately I used the MS tooling to provision the site the first (webmatrix) and from then on everything was fine.
keithwarren··on High-Speed Traders Rip Investors Off, Michael Lewis Says
My outrage (not sure you could really call it that) is not some moral thing or based on a perception that they are doing nothing.

My issue comes from the fact that securities trading is based on the idea that we buy and sell parts of these securities under the idea we see value in the company. This fits best with a long term hold position but is not really that divergent with a day trader who buys AAPL today because he thinks news later today about some new product will cause the price to go up thus increasing the value of the company. He will sell later in the day because he thinks that it may drop later.

My issue with HFT is that these trades (well most of them) are not based on the value of the security but rather on the act of buying and selling itself. It is meta in a sense.

That in my mind creates a fundamental flaw in the marketplace around the true purpose of a securities exchange.

keithwarren··on High-Speed Traders Rip Investors Off, Michael Lewis Says
I don't like taxes in general but wouldn't a small tax per share (pennies even) pretty much end HFT?
keithwarren··on The Day Microsoft Gave Up World Domination and Settled For Relevance
Settled for relevance would indicate they are currently not relevant which is a mindset only accepted in a few square miles on the planet. How different would the valley view Microsoft today had they been headquartered in SV instead of Redmond?
keithwarren··on Multithreading: C# vs. Java
This is a pretty bogus comparison, I am a C# coder and write multi-threaded programs quite often and rarely use raw thread classes anymore, the task parallel library makes the experience much cleaner and more powerful.

I use Java some so I can't speak directly to this but I would bet Java pros are scratching their heads over the Java code being used here as well.

What is more interesting to me though; why even make the comparison? Are there legions of programmers out there who cannot pick between these two platforms because they cannot decide who has better a better threading approach?

keithwarren··on What I Learned Negotiating With Steve Jobs
The irony here is that Steve would eventually go on to put the final nail in the coffin of the boxed software world with the App Store. Sure people were starting to use web based software and yes other stores existed before the app store but he created the tipping point.
keithwarren··on Microsoft to recognize OSS contributions for MVP program
This is a great step as the requirements for the MVP program were pretty stale, the majority I met who had been invited to be an MVP actively sought to keep up a public profile in order to maintain status rather than actually being a valuable professional.
keithwarren··on Last Minute Advice for YC Applicants
In case you are wondering I emailed about 30 people and 8 reviewed our application. Most did cursory reviews and offered some changes and a few paragraphs of advice while others really got into helping us - it was quite the gift.
keithwarren··on Last Minute Advice for YC Applicants
I just did research, found them on their websites and emailed whatever public address I could find. Be direct, these are busy people so they dont want to read your life story when you are just asking them to review. Also, be ready to share your application - even go so far as giving them a sharing link to a Google doc with your questions and answers in it. If they have to say 'sure, I will take a look' and then wait for you to respond you may miss the window.
keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
fulfill his dream to work at Microsoft

I literally laughed out loud at that.

I talked to him at Evolve one evening with a handful of other devs while he does not explicitly say it (he is actually pretty humble) you get the impression that Microsoft would make him a distinguished engineer in a heartbeat if he would only say yes. Huge salary, millions in stock options and a write your own ticket kind of involvement like we saw when Russinovich took a job in Redmond.

Miguel is pragmatic, he sees one of the largest pools of developers (at one time the largest by far) and the opportunity to provide them with an exit strategy of sorts. They are bound to Windows now and Microsoft has to this point seen no value in giving those developers the tooling to take their apps out of the Windows ecosystem - so Miguel did just that.

Couple that with the fact that he saw C# and .NET for what it was, Java done right, and he got on board with the idea - but dont mistake for a minute where his heart is. He is a dyed in the wool lover of Linux. He respects Microsoft as a company and realizes that he can feast off their mistakes and doing big things.

keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
That is a great question, I doubt it.

That said, Visual Studio is not a cash cow for Microsoft and making it totally free might be a key move in starting to win back dev mindshare.

keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
I have built multiple iOS and Android apps with Xamarin and found the experience to be great. I love C# so being able to use that was a plus and there are some cases where Xamarin made the APIs of the native platform a bit cleaner by implementing some abstractions. All the native plumbing was still there but implementing a tableview in Xamarin on iOS was quite a bit shorter in code than in ObjC.

It really is a phenomenal piece of engineering.

Biggest drawback, hard to find examples of things in C# so you have to be able to read documentation and code samples in ObjC or Java and mentally map them to C#.

keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
In general it is what they do.

I am sorry, but that generalization merits some sources. Can you give me some examples of Microsoft buying a cross platform tool and shutting it down. Mind you I think you are inferring they purchase to eliminate competition. Not a situation where they buy something like Groove, run with it for a bit, see that it is not getting traction and then kill the product.

keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
UI implementations are native to each OS, the C# code is often shared between apps but UI interaction code tends to be per platform. There are some places that abstraction layers make sense but part of the value proposition is that you still have a completely native build and native look and feel. Therefore, in these UI cases, you write platform specific code.
keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
If you know Miguel, a big payday is not his motivation.
keithwarren··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
I actually don't think Miguel and Nat would sell to Microsoft unless the terms were very much in their favor. Basically a big Microsoft wallet, team members from Redmond, the ability to license the .NET source code in a way that they could use it in Mono, guarantee of continued support for other operating systems etc. Basically, we can do what we want. Also given their VC backers I imagine the price would be north of 300mil.

Given all that I think this rumor is premature.

Then again, I did predict this... https://twitter.com/keithwarren/status/430874079776632832

keithwarren··on Ask HN: Which CRM for a solo-freelancer in 2014?
Certainly true. But starting out with 'You are doing it wrong' is the opening sentence version of link-baiting :) You read it didn't you?
keithwarren··on Bill Gates: Microsoft would have bought WhatsApp too, but not for $19B
While multiple bidders juiced the price, saying it would be millions instead of billions is just terrible logic.

WhatsApp had incredible value just through the user base alone, especially considering its diversity in the global market (relative to FB who is strong in what we consider the 'west' but not the far east).

If there are no other bidders it still sells for many billions and probably north of 10.

← PreviousPage 6 of 13Next →