Why Managers Make more Money than Engineers
Programmers often wonder, why executives make more money than developers. How come "John the manager" gets paid more than me, who's doing all the work?!
Programmers often wonder, why executives make more money than developers. How come "John the manager" gets paid more than me, who's doing all the work?!
Here's a little C# hack I'd like to share, might be really useful to other devs too since it's a very common pain in all languages, not just .NET.
The .NET Framework's built-in WebClient
class does not have a built-in timeout feature.
Sometimes you need to "log out other user sessions". To prevent cookie replay attacks or - a very common use case - log out other sessions when a user changes their password. ASP.NET does not have a built-in way of doing this, but there's a simple solution.
TL;DR I spent the last month testing how CloudFlare affects my organic traffic by turning it off and on again™ and measuring the ranking changes. Looks like CF hurts SEO. So we've built our own caching proxy with blackjack and hookers AWS and nginx, while saving a couple of hundred $ a month on the way.
This post has nothing to do with tech nor startups. Today, while adding proper "right-to-left" support to our app UI (for Hebrew and Arabic languages) I got a little carried away and found myself discovering a lot about Aramaic languages and ancient numeric systems.
If you're using OutputCache directive like this:
[OutputCache(Duration = 600, VaryByParam = "*", Location = OutputCacheLocation.Server)]
Or storing custom data in HttpRuntime.Cache like this
HttpRuntime.Cache.Add(...)
You probably caught yourself wondering
If you search for "generate zip in ASP.NET/C#" you get tons of blog posts and StackOverflow answers suggesting DotNetZip, SharpZipLib and other 3rd party archiving libraries. And up until now that was the only solution - all because .NET had no built-in support for zip format.
I've been a happy MacBook user for almost 14 years. Tried all of them - from a tiny 11" MacBook Air to the enormous 17" Pro - and in 2014 I finally ended up with the 15-inch retina model.
The best laptop I ever owned.
Even if you need to occasionally run Windows for work - MBP is still the best possible hardware to do that. The 15-inch retina MacBook had that unique blend or elegance, power, durability... And by "durability" I mean I fell off a motorcycle with this thing in my backpack - not once, not twice, but thrice.
So you're starting a bootstrapped web-based business and you're deciding on the tech stack. After running a software startup with zero funding for 13 years, here's what I have to say about this.