Thursday, January 29, 2015

Quick how-to for installing nodejs and npm on Debian GNU/Linux 8.0 (jessie)

Here is quick how-to for installing nodejs and npm on Debian GNU/Linux 8.0 (jessie)

* # -> means that you should run command as root (use sudo command)
* $ -> means that you should run command as usual user (not root)

  1. Add source to apt (as root user) (nodejs.org)
        # apt-get install curl
        # curl -sL https://deb.nodesource.com/setup | bash -
        
  2. Then install nodejs package(as root use sudo command):
        # apt-get install -y nodejs
        
  3. In order to be able to compile and install native addons from npm you may also need to install build tools:
        # apt-get install -y build-essential
        
  4. Install npm (node package manager)
        # curl https://www.npmjs.com/install.sh | sudo sh
        
  5. To test your installation run the following commands as usual user (not root):
        $ node -v
        $ npm -v
        
  6. Done, enjoy .

Wednesday, January 28, 2015

First C# 7 Design Meeting Notes (github.com)

1. Agenda

This is the first design meeting for the version of C# coming after C# 6. We shall colloquially refer to it as C# 7. The meeting focused on setting the stage for the design process and homing in on major themes and features.

  • Design process
  • Themes
  • Features

2. Themes

    Working with data
    • pattern matching
    • tuples
    • "denotable" anonymous types
    • "records" - compact ways of describing shapes
    • working with common data structures (List/Dictionary)
    • extension members
    • slicing
    • immutability
    • structural typing/shapes?
  • Performance and reliability (and interop)
  • Componentization
  • Distribution
  • Metaprogramming
  • Null

3. Features

  • Pattern matching
  • Records
  • Array Slices
  • ref locals and ref returns
  • readonly parameters and locals
  • Lambda capture lists
  • Method contracts

Read more.

Thursday, November 13, 2014

Visual Studio Community 2013 (www.visualstudio.com)

Who can use Visual Studio Community?
  • Here’s how individual developers can use Visual Studio Community: Any individual developer can use Visual Studio Community to create their own free or paid apps.
  • Here’s how Visual Studio Community can be used in organizations: An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects. For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1MM in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
How does Visual Studio Community 2013 compare to other Visual Studio editions?
  • Visual Studio Community 2013 includes all the great functionality of Visual Studio Professional 2013, designed and optimized for individual developers, students, open source contributors, and small teams.

Microsoft Open Sources .NET and Mono under MIT (tirania.org/blog/)

Today, Scott Guthrie announced that Microsoft is open sourcing .NET. This is a momentous occasion, and one that I have advocated for many years. .NET is being open sourced under the MIT license. Not only is the code being released under this very permissive license, but Microsoft is providing a patent promise to ensure that .NET will get the adoption it deserves. The code is being hosted at the .NET Foundation's github repository. This patent promise addresses the historical concerns that the open source, Unix and free software communities have raised over the years. Read more.

Friday, July 18, 2014

SlackBlogs: Slackware is 21 Years Old

SlackBlogs: Slackware is 21 Years Old: On July 16 1993, Patrick Volkerding announced the availability of Slackware 1.00 on comp.os.linux usenet and since then, Slackware has beco...

Tuesday, May 13, 2014

Introducing ASP.NET vNext (hanselman.com/blog/)

There’s some really cool stuff going on on the ASP.NET and Web Tools team. We’ve been pushing stuff at Microsoft for a few years now and our craziness is spreading to the .NET core team and beyond. Today we’re announcing a preview (read: alpha) of the next generation of .NET on the Server. You may have heard about some of these announcements at Build:

  • .NET Native - compile .NET ahead-of-time. Everything gets faster.
  • .NET Compiler Platform ("Roslyn") - All new C# and VB compilers, new language features, compiler-as-a-service and it’s Open Source.
  • Nextgen JIT - All new optimized JITter for the latest processors
ASP.NET vNext will take things to the next level. Today, you run ASP.NET using the same CLR that desktop apps use. We’re adding a cloud-optimized (my cloud, your cloud, their cloud - server stuff) version optimized for server scenarios like low-memory and high-throughput. Read more...

Friday, April 18, 2014

Why The Clock is Ticking for MongoDB (rhaas.blogspot.com.br)

Last month, ZDNet published an interview with MongoDB CEO Max Schireson which took the position that the document databases, such as MongoDB, are better-suited to today's applications than traditional relational databases; the title of the article implies that the days of relational databases are numbered. But it is not, as Schireson would have us believe, that the relational database community is ignorant of or has not tried the design paradigms which he advocates, but that they have been tried and found, in many cases, to be anti-patterns. Certainly, there are some cases in which the schemaless design pattern that is perhaps MongoDB's most distinctive feature is just the right tool for the job, but it is also misleading to think that such designs must use a document store. Relational databases can also handle such workloads, and their capabilities in this area are improving rapidly. Read more...