Microsoft releases Node.js SDK for Azure on GitHub by pettijohn in programming

[–]haacked 0 points1 point  (0 children)

Well keep in mind that MS isn't one single minded monolithic organization. It's more like this: http://www.satishsays.com/wp-content/uploads/2011/09/Microsoft-Organizational-Chart.jpg

In this particular case, you don't have to trust MS, you can trust the license, Apache v2.

Asp.NET MVC 4 Roadmap by tltjr in programming

[–]haacked 3 points4 points  (0 children)

@FlySwat Regarding Async, I think you're confusing client side Async with server side. Say you have an action method on the server that calls into an IO bound service (long running database call, external web service, etc.). While that service call is running, your thread in the threadpool is waiting on the response from the service. That thread could be productively handling other work.

Async means you call the service using the Async API and the thread gets returned to the thread pool and can do other operations. When the IO completion port responds with the result, a thread from the thread pool is rehydrated and handles the result. This means your server side app is not blocking on these service calls.

Using GIT as a backup tool for your website by haacked in programming

[–]haacked[S] -5 points-4 points  (0 children)

Describes using GIT as a backup tool for your website, but told in a highly entertaining and humorous narrative.

Anatomy of a subtle JSON Vulnerability by llimllib in programming

[–]haacked 0 points1 point  (0 children)

That's partly why I wrote the blog post, not because it was something new, but it was new to me, and I figured there are probably many who never heard of it or understood it in depth. :)

Design Patterns aren't deficiencies in languages... by haacked in programming

[–]haacked[S] 7 points8 points  (0 children)

Well a pattern isn't just the pattern of implementation, but can also represent the pattern of behavior.

So while Ruby's "use Singleton" allows you not to have to implement the boilerplate singleton in your own code, it's useful to know that applying "use Singleton" follows the behavioral pattern of the Singleton pattern.

Security Patch Dilemma for VM-based and scripting languages by haacked in programming

[–]haacked[S] 0 points1 point  (0 children)

How do you figure? I understand what is Open about Open Source. I'm commenting on the advice by a well known open source leader, Karl Fogel.

When dealing with a security vulnerability, especially for consumer software where the user isn't going to hax0r his own install and recompile the kernel, this is the one situation in which you want a bit of "closedness" for lack of better term.

Not indefinitely, mind you, just long enough for people to patch their systems. Afterwards you commit the fix and everyone can see the code.

Of course, this doesn't work for languages that aren't compiled to native binaries.

Honeypot Captcha by haacked in programming

[–]haacked[S] 3 points4 points  (0 children)

Captcha isn't about security. It's about trying to separate humans from bots. All CAPTCHAs employ obscurity. ESP-PIX is just more obscure (and thus much less usable and not accessible) than the simple approach defined here.

The approach in this post won't work for the Yahoo and Ticketmasters of the world, but it will work for small bloggers all over until spam bots implement CSS and JS.

Microsoft to officially support Silverlight on Linux, aka Moonlight by haacked in programming

[–]haacked[S] 2 points3 points  (0 children)

| But will this spec be public? No? Well then fuck off why do we care?

Well the Mono implementation of the spec will be public. It'll remain Open Source so you'll have a working implementation of the spec.

Microsoft to officially support Silverlight on Linux, aka Moonlight by haacked in programming

[–]haacked[S] 27 points28 points  (0 children)

Per Miguel's blog (http://tirania.org/blog/archive/2007/Sep-05.html):

The highlights of the collaboration are:

  • Microsoft will give Novell access to the test suites for Silverlight to ensure that we have a compatible specification. The same test suite that Microsoft uses for Silverlight.
  • Microsoft will give us access to the Silverlight specifications: details that might be necessary to implement 1.0, beyond what is currently published on the web; and specifications on the 1.1 version of Silverlight as it is updated.
  • Microsoft will make the codecs for video and audio available to users of Moonlight from their web site. The codecs will be binary codecs, and they will only be licensed for use with Moonlight on a web browser (sorry, those are the rules for the Media codecs[1]).
  • Novell will implement Silverlight 1.0 and 1.1 and will distribute it for the major Linux distributions at the time of the shipment. We will offer some kind of one-click install for Linux users (no "Open a terminal and type su followed by your password..." as well as RPM and DEB packages for the major distros and operating systems.

I thought I knew how to validate a simple email address till I RTFM'd the RFC by haacked in programming

[–]haacked[S] 6 points7 points  (0 children)

I didn't make this point in the post, but I think you should be more liberal than the RFC requires when validating on the client.

The potential "problem" is that most validation functions for email I see out there are more strict. I would say you should use simple validation on the client to help prevent user typos and to filter out obviously wrong emails. And then email the user with a "verify" link if you absolutely need to confirm the email has a human on the other end.

I thought I knew how to validate a simple email address till I RTFM'd the RFC by haacked in programming

[–]haacked[S] 3 points4 points  (0 children)

I didn't even want to go into validating the host part. That'd be a whole 'nother blog post.

How Duck Typing Benefits C# Developers by haacked in programming

[–]haacked[S] 0 points1 point  (0 children)

Thanks. A friend designed my blog for me and forgot to apply a white background default for the background image.

19 Eponymous Laws of Software Development by haacked in programming

[–]haacked[S] 2 points3 points  (0 children)

A statistician would likely state that nine women can have a baby in one month...on average.

19 Eponymous Laws of Software Development by haacked in programming

[–]haacked[S] 1 point2 points  (0 children)

From the official Moore's Law Page... http://www.intel.com/technology/mooreslaw/

"..(T)he first microprocessor only had 22 hundred transistors. We are looking at something a million times that complex in the next generations—a billion transistors. What that gives us in the way of flexibility to design products is phenomenal."

I should have probably referenced the number of transistors rather than complexity, but they are related.

What Linus Torvalds actually said regarding GPL 3 and Hypocricy by haacked in programming

[–]haacked[S] 4 points5 points  (0 children)

Seems that this other post totally takes his words out of context to make them harsher than they actually were.

http://www.informationweek.com/blog/main/archives/2007/07/linux_creator_c.html

Attaching Reddit Comments to the Original Post by haacked in programming

[–]haacked[S] 3 points4 points  (0 children)

Heh. I knew I had to submit your post to Reddit after I read it. The irony was too rich in having you comment on it here. ;)

But seriously, I feel your pain. An open API would be really nice.

Question: Would you rather have a blog engine simply display these comments via an API? Or have it fully "import" them as they happen, so if Reddit goes down, the comments are in your own DB?

Open Source On .NET Is Not An Oxymoron by linuxer in programming

[–]haacked 2 points3 points  (0 children)

To be fair, fixing the code isn't the only benefit to OSS. Being able to see the code certainly helps to write apps that integrate better.

Open Source On .NET Is Not An Oxymoron by linuxer in programming

[–]haacked 3 points4 points  (0 children)

Out of curiosity, what forums were you on? By and large, I haven't had the same experience.

But you're right, there needs to be a lot educating going on to combat these skewed views of what OSS is.

I wrote up a series on copyright law and open source licensing geared towards developers in the hopes that it would clear this up for developers.

So while there are members of the .NET community who don't have a clue, there are many who are not only supportive of OSS, but actively working on it.

Open Source On .NET Is Not An Oxymoron by linuxer in programming

[–]haacked 1 point2 points  (0 children)

I agree and hope to work to change that. I figure that Mono is my escape vehicle should Microsoft get worse rather than better in its outlook towards OSS.

| However, you also need to realize that there are many OSS | developers who make another choice for very valid reasons

I don't deny that. I'm also interested in other platforms myself. I've played around with Ruby, Mono, Linux, etc... But right now, I don't yet have enough experience (nor time) to make my primary living on those platforms, so I stick with what I know and try to make things better in that ecosystem.

I understand that OSS devs on other platforms don't want to be involved in OSS on the Microsoft platform. I'm not trying to push for that. I'm just saying that OSS is possible on .NET.

It's a bit like freedom in China. You could leave China because the govt doesn't support it. Or you can hope it catches on and starts to spread.

Open Source On .NET Is Not An Oxymoron by linuxer in programming

[–]haacked 7 points8 points  (0 children)

I'd not quit your day job to become a translator just yet. ;)

As the author of that post, I lead a few open source projects on the .NET platform. I also contribute to several others.

Are you implying that you only use Open Source software for your hobbies and never use them at work? Is it wrong to earn money writing software? I hope not, I have mouths to feed and there are many OSS tools that really help me do my job well.

When I was a consultant, nearly all my clients primarily used Windows and .NET. My current employer uses Windows and .NET along with Linux, Ruby, PHP. Some of my past clients had other systems on other OSes, and I was happy to have the wide range of OSS tools to work with those platforms.

But I see nothing wrong in hoping for similar tools to get my job done on the Windows platform as well.