Resources for Basic Unix System Administration (OSX) [closed] - documentation

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
After, reading and understanding Dan Benjamin's post about installing Ruby, Rails, etc. on OSX (Leopard), I really jumped at using usr/local, maybe at my peril and without understanding it fully. I've had no problem running Rails on my local machine, but I still feel like I don't quite wrap my head around these basic sysadmin practices.
As an example, when I run which git the path my git installation is running from is /usr/local/git/bin/git -- does that seem right?
I've learned the bulk of my programming thanks to JavaScript, and I haven't really had to go deeply under the hood of the Mac, but I'm very anxious to use these command line tools and scripts.
Can you recommend a good resource for documentation on basic Unix system administration for beginners (preferably for the Mac-set)?
I realize this might not be totally programming related, but I believe basic shell and command-line scripting knowledge is pretty crucial and I'd like to feel confident moving forward.

For improving your basic shell and command-line scripting knowledge, you don't need to get into sysadmin tasks. The nearest source of information (though not the most friendly at first) is the man command. Try man bash or man intro. Start by writing small shell script utilities.
About your question on git installation, you can install anything anywhere. But recommended directories are /usr/local/bin and /opt/bin for system-wide tools and ~/bin for your private tools. Usually tools create their own subdirectory in recommended directories where they put doc and resources, such as your /usr/local/git.
For online resources, I assume that you already know how to find the Apple web site and how to use Google.

Related

Any Open source Ada(latest, 2012) IDE? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am trying to use Ada for Automotive programming to take advantages of Safety critical abilities of the language. I only saw commercial licenses for the development tools from (Libre, GNAT programming studio).
Are there any free Ada IDE's?
GPS and Emacs (ada-mode) are both licensed under the GPL, but that doesn’t matter because you won’t be delivering them to your users. They are both environments that enable you to run a compiler and associated tools.
If you need to deliver your software certified by an independent authority, you’ll likely be paying them a lot more than any support contract you got from AdaCore, and they'll likely want you to have more tool support than you get with AdaCore’s GPL toolset.
But if you don’t have certification or support issues, then you can use GPS or Emacs with a compiler of your choice:
if you’re able to release your software under the GPL, you can use AdaCore’s GNAT GPL compiler;
if not, you can use an FSF GCC Ada compiler.
Some of the options are GNAT GPS and Emacs.
The nearest solution to the requirement described by you seems to be located here:
https://sourceforge.net/projects/ideada/
I am not sure of the version of ADA supported by the app though.

Alternative to servicestack.redis [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I did an package manager update-package command to update our project to the latest binaries. I almost published it because it passed all the tests until luckily I had found a problem that needed some more debugging.
My mouth fell open when I suddenly saw this exception message:
The free-quota limit on '6000 Redis requests per hour' has been reached. Please see https://servicestack.net to upgrade to a commercial license.
What if I published this site? Practices like these are simply revolting! There is no console warning or whatsoever about not having any license. It's like having an 'open source' trojan horse spread out into your projects.
Are there any good alternatives to servicestack?
EDIT:
Reading all the comments I guess my first reaction was a bit strong. Nuget updated from v3 to v4 automatically and although I didn't notice any breaking changes, reading the release notes would have been the right thing to do instead of bashing an otherwise good product. That being said, I think people will burn their hands on this exception, since 6000 requests would be enough to come through the tests and publishing this is disastrous.
We are migrating to Booksleeve, which was developed by the people who have built StackOverflow itself. So far we had very good experiences.
The money is not the issue (the cost of migration is higher than paying for the license), we're doing it because we just don't want to enter a business relationship with company with sketchy practices like this.
(And no, we didn't accept any license or anything, all we did was a git pull from GitHub.)
I am going with
StackExchange.Redis which was based upon the Booksleve
by Stack Exchange folks for very high performance needs. Seems good enough and with an active community.
Their license is MIT which basically means you just need to include their copyright & license into your product. (Fair enough)
ServiceStack, including packages such as ServiceStack.Redis, are becoming commercially supported products in version 4. You probably have been using version 3.x of the ServiceStack packages, and NuGet decided to update you to 4.x.
There are limits for free usage of the v4 libraries. See this announcement for more info. Version 3.x of all ServiceStack products remain open-source; there is a new GitHub project with information about v3 support.
For now, I would suggest undoing the package update and setting the max version to 3.x in your NuGet package config file, so that your NuGet packages remain at version 3.x for production code in the short term:
<package id="ServiceStack.Xyz" version="3.x.x" allowedVersions="[3,4)" />
Then it should be safe to use NuGet to update your packages.
Meanwhile, you can visit https://servicestack.net to evaluate your options for upgrading to version 4, licensing choices, or whether to stick with v3.
I was really sad to hear that SS would be commercial from V4, it made me a little bit angry but...anyway they need to keep their life I think.
So I moved to "https://code.google.com/p/booksleeve/" totally without complain.

Recommend Build Artifact Repository Manager [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Currently we use FTP to maintain build artifact distribution and 3rd party products (for internal use only).
Artifacts are docs (HTML/pdf/chm/...), libs (.dll/.so/.a/.jar/...), programs (.exe/.jar/...) and anything else. They are not restricted to Java/.NET and can come from different cultures (firmware, driver, mobile/workstation, GUI, Win/Linux/Mac/Solaris/AIX,... etc).
To orginize hierarhy we use such paths:
ftp://3pp/VENDOR/PRODUCT/VERSION/...
ftp://3pp/opensource/PACKAGE-x.x.x.tar.bz2
ftp://dist/PRODUCT/VERSION/...
To maintain description of artifacts we use README and CHANGES plain test files (reStructuredText).
What is missing in this schema?
Missing permissions (anyone can damage storage).
Missing dependency tracking (so every build file must be updated if version dependency changed).
Missing fetching activity (some files seem no longer needed, but we don't know which).
I am not deeply looking for existing solutions. Some package manager like rpm/dpkg, heard about Maven repo etc...
Please recommend Build Artifact Repository Managers. Also it is good to hear drawbacks and restrictions.
UPDATE
https://en.wikipedia.org/wiki/Binary_repository_manager
https://binary-repositories-comparison.github.io/
You're creating a custom software artifact repository. There are three open-source projects which already do this:
Artifactory
Nexus
Archiva
Artifactory and Nexus also have paid versions.
You can store any kind of file in these repositories, and you don't need to use Maven. You can manually deploy artifacts to them. You can set up fine-grained access control. They integrate well with automated build tools.
I think using one of these tools would save you a lot of effort!
Here's fairly unbiased (community-driven) comparison matrix between the three.
With SVN + Apache (mod_dav_svn.so, mod_authz_svn.so) seems I get:
Anonymous read only access through HTTP protocol with wide range of
supported clients for downloading (wget/curl from GNU Make, task for
Apache Ant).
Easy maintainable write access for users/groups (easy syntax):
[repo:/path]
user = rw
through cadaver utility.
Integration with LDAP.
History of releases (when, what and who).
Atomic operation (prevent from concurrent releases and rollback on errors).

Mylyn equivalent for Netbeans? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
A co-worker has been going on about how cool Mylyn is for Eclipse. I want to give a task management tool a try but I use Netbeans. Is there a Mylyn like plugin for Netbeans? Preferable with integration to Redmine or Trac?
I switched over from Eclipse to Netbeans a year ago and during that time I have not found a good alternative to Mylyn. Even the latest dev builds of Cubeon do not come close. Despite Netbeans being a very good IDE, having Mylyn context management is essential to me. I have just posted a topic on the Netbeans forum discussing this issue and attempting to illustrate the importance of a Mylyn alternative. If this is important to anybody reading this then I suggest you leave a post in this thread:
http://forums.netbeans.org/viewtopic.php?t=27871
I think discussing this in the Forum is the best option at this time. Until the Netbeans community is convinced of the importance of Mylyn, any official feature request is doomed to fail.
Edit: There is now a feature request for this. If you would like to see this implemented then please vote here: http://code.google.com/p/cubeon/issues/detail?id=135
Have a look at Cube'n, which is a Trac plugin for Netbeans. I haven't used it (yet), but it has offline support, and some drag/drop integration with the task view, and support for custom trac workflows.
(Disclosure: I am the creator of NBTaskFocus)
Now there is a plugin for Task-focused development (like Mylyn in Eclipse) in NetBeans IDE. Visit the NBTaskFocus project at NBTaskFocus project page on Java.net
This project currently provides local task repository only, but with automatic task context maintenance using the open editor windows and also a Project Context panel to see the files in focused context.
I've used cubeon for couple of hours. The current latest version 1.2.01. is works fine on Netbeans 7.2. It can connect Trac servcer without any obstacle.
The UI of cubeon is little bit difficult to use. Main reason is that you should link a query to a folder with Synchronize Function to categories tasks. Also the filtering options hide under a drop down menu. It needs more mouse click than MyLyn in Eclipse. Any you can manage issues on Trac with this tool.

Offline documentation for various programming languages? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I recently found this: http://php.net/get/php_manual_en.chm/from/a/mirror.
It's a .chm file that contains all the documentation for PHP which you can normally find on their site. Handy for offline use.
I'm wondering, does anybody know of similar things for other languages. Complete offline documentation that you can use if you don't have wireless for a while.
For C#, Visual Studio gives you the option to download and install the entire online documentation as a part of the VS2008 install, so if you have Visual Studio 2008, then you have the C# offline documentation.
EDIT: if you're gonna say this and that is possible, please post hyperlinks.
This is what we have now:
PHP: http://be.php.net/get/php_manual_en.chm/from/a/mirror
Java: http://java.sun.com/javase/downloads/index.jsp#docs
C: http://www.gnu.org/software/libc/manual/
MS SQL server: http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983-4D7A-B628-0A98145BCB97
Python 2.x: http://docs.python.org/download.html
Python 3.x: http://docs.python.org/py3k/download.html
Ruby: http://railsapi.com/
The Common Lisp HyperSpec: ftp://ftp.lispworks.com/pub/software_tools/reference/
The complete MSDN library: no longer available, sadly
The Visual Studio 2008 SP1 offline library: https://www.microsoft.com/downloads/en/details.aspx?FamilyID=7BBE5EDA-5062-4EBB-83C7-D3C5FF92A373&displaylang=en
Dash http://kapeli.com/dash includes offline documentation for 150+ APIs.
Most language should provide that.
Some examples:
Java: Java SE 6 docs (below on the page)
Perl: Unix versions of perl typically come with full docs as manpages and perldoc (some Linux distributions put these into extra packages); I suppose Windows versions do the same
C: the GNU libc library has downloadable docs
Python also has downloadable documentation. As a result, most operating systems which provide Python also provides a documentation package. For instance, on Debian, this is package python2.5-doc (one package per version).
Install it and you can browse the documentation offline. Very convenient for a laptop which is not always connected.
For jQuery, I recommend jQAPI - Alternative jQuery Documentation Browser, that you can find here: http://www.jqapi.com/
You can use it online as well as download it for offline use.
btw, the Visual Studio docs (MSDN) also include documentation for JScript, VBScript, HTML and CSS. Back when I programmed PERL I always installed perldoc.
Downloading the documentation is pretty much the first thing I do if I've got any serious work to do in an unfamiliar language. Just reading through the API is like mining gold!
Visual Studio comes with the C# specification, installed by default in
C:\Program Files\Microsoft Visual Studio 9.0\VC#\Specifications\1033
MS SQL Server ships with a whole load of documentation know as "Books Online". Despite the name you can downlaod these from MSDN.
Ruby, Rack, Rails, and several gems can all be found at railsapi.com
Cppreference.com is great for C++ and C reference. They also have offline versions here.
For Java you can download the entire API to use offline.
Sun provides downloadable versions of the Java platform documentation.
Java SE Downloads
Scroll down the page and look for the link called Java SE 6 Documentation. It is a series of HTML files covering the entire Java SE JDK. It can be handy to have it stored locally, but because there is no search functionality, its uses are somewhat limited.
While not strictly a language you can build docs for Ruby on Rails by doing the following
rails sample_project
rake rails:freeze:gems
rake doc:rails
rake rails:unfreeze
and then use or take yourself a copy of the doc/api folder
You can also download MSDN to get documentation for VB.NET, C#, C++ and various Windows & Component APIs
Common Lisp has the hyperspec. A complete guide the language and its libraries.
Common Lisp Hyperspec
I actually mirror a portion of the PHP site for myself, just once a week, by RSync (which is quite efficient, only downloading about 1/6th of what a full download would take).
A couple of advantages of a local copy running on my own server is that the shortcuts (for example php.net/array_merge) work, and I've got the full notes as well.
for C#, I just found this offline documentation:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7BBE5EDA-5062-4EBB-83C7-D3C5FF92A373&displaylang=en
beware - large file size.
(still downloading, so hope I'm not misleading anyone here)