Namespace aliasing in F#?

F# does not support aliasing of namespaces – only modules and types. So, to resolve the conflicts between .NET assemblies, you will, unfortunatelly, need to define aliases for all the types you’re using. This may be slightly easier thanks to the fact that F# type aliases are viewed as normal type declarations (by the F# … Read more

sublime symlink disappeared after upgrading to El Capitan

In El Capitan, you are not allowed to write to /usr/bin, but writing to /usr/local/bin is ok. By default, /usr/local/bin should also be in your path variable. Had the same issue. Deleting and recreating the symlink has fixed the problem. Perhaps the current symlink is pointing to the wrong location after the upgrade. sudo rm … Read more

SQL alias for SELECT statement

Not sure exactly what you try to denote with that syntax, but in almost all RDBMS-es you can use a subquery in the FROM clause (sometimes called an “inline-view”): SELECT.. FROM ( SELECT … FROM … ) my_select WHERE … In advanced “enterprise” RDBMS-es (like oracle, SQL Server, postgresql) you can use common table expressions … Read more