Martian eyrie

March 28, 2007

Sed — Википедия

Filed under: Uncategorized

Sed — Википедия sed (от английского Stream EDitor) — потоковый текстовый редактор. Простая, но мощная компьютерная программа, использующая различные предопределённые текстовые преобразования к последовательному потоку текстовых данных. sed получает входной поток (обычно, файл) построчно, редактирует каждую строку, согласно правилам, определённым в простом языке (sed-скрипт), и затем выводит в выходной поток. Первоначально sed был написан Ли Макмахоном (Lee E. McMahon) из Bell Labs, как UNIX-утилита, в 1973—74 годах. Сейчас sed доступен фактически для любой операционной системы, которая поддерживает работу с командной строкой.

 sed часто считают неинтерактивным текстовым редактором. Однако, он отличается от обычных текстовых редакторов «инвертированностью» по отношению к тексту и набору команд для его редактирования. Обычные текстовые редакторы вначале загружают весь текст документа, а затем применяют к нему команды по одной, в то время как sed вначале загружает в себя набор команд, а затем применяет весь набор команд к каждой строчке текста. Так как одновременно в памяти находится только одна строка, sed может обработать произвольно большие текстовые файлы.

March 26, 2007

ИноСМИ.Ru | Генри Миллер: США между гениями и лунатиками

Filed under: It's my life

ИноСМИ.Ru | Генри Миллер: США между гениями и лунатиками

Последние два столетия, пролетевшие как единый миг, мы словно скатывались по водосточной трубе. Там-то мы и сломаем себе шею! И никто не всплакнет по нам; даже те, кому мы помогли выжить. В какой-то момент нашей истории мы просто стали отравлять весь мир. Мы отравляли его нашими идеями о прогрессе, продуктивности и механизации. Наших сильных духом пионеров-первооткрывателей мы превратили в роботов. Мы провели дегуманизацию мира, в котором живем.

Аборигены, прежде населявшие наш континент, сначала приняли колонизаторов из Старого Мира за богов. Но очень скоро разочаровались. Очень скоро они научились бояться и ненавидеть нас (именно мы, бледнолицые, научили индейцев рубить головы своим врагам!). Точно с такой же жестокостью поступали и мы сами с теми, кто не разделял наших взглядов на жизнь. Именно мы уничтожили удивительную общину Онейда, так же как и многие другие религиозные общины. Мы отобрали у индейцев их земли и сделали все возможное, чтобы уничтожить эти народы. И мы ни разу даже не попытались компенсировать им наши деяния.

March 23, 2007

Ruby luster readied for Java

Filed under: RubyOnRails

Ruby luster readied for Java | InfoWorld | News | 2007-03-22 | By Paul Krill

JRuby developers this month also plan to round out features of JRuby, such as native Unicode support and Java integration. The JIT (just in time) compiler will be enabled by default this month. April plans call for deciding on the final features for the 1.0 release as well as a major bug-hunting push.

Future directions for JRuby include Ruby 2.0 bytecode support and leveraging the HotSpot JVM to speed execution.

A symposium attendee said that while he is not against JRuby, he did not see it is as being enterprise-ready yet. JRuby currently is at the level of where Java was in 1995 or 1996, said the attendee, Martin Franklin, an architect at Intuit who said he worked on the Java project at Sun when it was first released in 2005.

March 22, 2007

Inopressa: 15 безболезненных способов спасти мир

Filed under: It's my life

Inopressa: 15 безболезненных способов спасти мир

Мы сортируем пластик, храним старые газеты и моем жестяные банки для повторного использования. Имеет ли это хоть какой-то смысл? Многие из нас озадачены превращением в зеленых, нервничают, как сделать свои дома экологически разумными дворцами, – и напуганы финансовыми карами, которые грозят в случае неподчинения. Политики стремятся стать самыми зелеными из всех, обещая, что несметного количества налогов, которыми нас обложат, хватит, чтобы средний человек рванулся и заказал билет на самый дальний самолет или сменил бензиново-электрическую Toyota Prius на огромный неэкономичный автомобиль. Вот 15 простейших способов уменьшить ваш углеродный след.

How to get rolling with Ruby on Rails using Locomotive

Filed under: RubyOnRails

How to get rolling with Ruby on Rails using Locomotive

Locomotive is a Ruby on Rails application developed by Ryan Raaum. It’s designed to be completely self-contained, meaning that it includes Ruby, the Rails framework, the mongrel HTTP server, SQLite for databases, rubygems, bindings for MySQL and PostgreSQL, and more. All of these are packaged as a bundles, so you can choose different versions of particular packages when running applications. Locomotive is only 81MB in size, which isn’t bad considering that it’s a complete web framework. You can grab Locomotive from the site above, and installing it is as easy as installing any other application: just drag it to your Applications folder. This is the biggest reason I love Locomotive. It’s nice to be able to try things out and play without needing to install and compile all sorts of stuff and mess with your PATH. If you get tired of Ruby on Rails, just dump the Locomotive application in the Trash and that’s that. But after using it for a while, I doubt you’re going to want to get rid of it.

LiteSpeed Technologies Releases High-Performance Apache Replacement Web Server

Filed under: RubyOnRails

LiteSpeed Technologies Releases High-Performance Apache Replacement Web Server20-20Assodigitale

(ASSODIGITALE.IT) LiteSpeed Technologies has released LiteSpeed Web Server 3.0, providing administrators with an exceptional Apache replacement option complete with third party control panel support and improved Apache interchangeability.

Development of LiteSpeed Web Server began in 2002 and was first released to the public in 2003. LiteSpeed Web Server has featured superior capacity to handle thousands of concurrent connections with small memory footprint, outstanding performance, enterprise level security, automatic online updates, and a user-friendly web administration interface.

These qualities have all been improved upon in the 3.0 release.

By taking advantage of a highly-optimized LiteSpeed API protocol that minimizes memory usage while maximizing performance for an external scripting engine, LiteSpeed Web Server is one of the best platforms for web sites powered by PHP and Ruby on Rails.

 

March 21, 2007

RubyForge: spreadsheet

Filed under: RubyOnRails

RubyForge spreadsheet Project Info

This package allows you to generate Excel compatible spreadsheets on any platform.No OLE required.

March 16, 2007

InfoQ: JRuby on Grails?

Filed under: RubyOnRails

InfoQ: JRuby on Grails? In the beginning God created Ruby. Ruby came with many new possibilities, but was without a good web application framework. God said "there should be Rails" and Rails came into existence.

On the second day came a lot of fuss about Rails.

On the third day Grails was born.

Grails follows the Rails way of "coding by convention", using Groovy, an agile dynamic language for Java. Grails is 15% made of Groovy (the rest being Java) while Rails is 100% Ruby, hence Grails can not be properly called Groovy on Rails. Starting from that simple observation, Charles Nutter, one of the JRuby developer from Sun wonders how Grails could be extended to support any scripting language, especially Ruby.

March 12, 2007

RubyForge: Ruby SQLite GUI

Filed under: RubyOnRails

RubyForge: Ruby SQLite GUI: Project Info

Ruby SQLite GUI is a cross-platform, GTK2, ActiveRecord-backed GUI tool for creating and managing SQLite databases. It is targeted towards Rails developers wanting to use SQLite instead of MySQL, pgSQL, etc., but can be used for anything else in general.

March 5, 2007

Ruby / Rails IDE Comparison : Idea, Netbeans, RadRails

Filed under: RubyOnRails

Ruby / Rails IDE Comparison : Idea, Netbeans, RadRails « The Nameless One

You’ll find an exhaustive list of features for : NetBeans and Idea (and 0.1.1 and RoadMap, official listing from Jetbrains with some screenshot) .

The version I’ll be testing here are :

  • Idea 6.0 (Support for Idea Selena (future 7.0) is in the pipes) with Ruby Plugin 0.1.1.
  • NetBeans 6 Daily Snapshot (I started with version 20070211 up to 20070221). For the moment Ruby support is only available for early adopters in the snapshot releases. It was released lately as 6.0 Milestone 7 (and you’ll wait for M8 for some more features) .
  • I firstly wanted to use RadRails 0.7.2 Standalone version (I blogged about the install for amd64) or even the RadRails snapshot to avoid having the overbloated Eclipse Environment but I couldn’t get the latest RDT Plugin (with Refactoring module) to work with it, so the tests would have been biased as there have been a lot of new features developed in RadRails and RDT Ruby Plugins. So I’ll be using Eclipse 3.2.1 with RDT Snapshot Plugin (in my case 0.8.0.702111959NGT) and RadRails Plugin 0.7.2





















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer