Archive for the 'web' Category
September 12th, 2012
A new year, a new Codebits event by the incredible Sapo Team.
I will be attending the event once again in November’12,
now that the participation was accepted for the event.
The venue is amazing, see by yourself.
Its about code, programming, web, internet, networking.
posted by pedro mg at 5:33 pm
& filed under tech, web, code, codebits | No Comments »
February 10th, 2012
How to programatically remove a Query parameter from an URI String in Ruby.
For the following URI:
http://example.com/resource?param1=1¶m2=2&offset=3
If one wants to remove the “offset” parameter, the following may help.
EDIT: if a left side only param exists, it will be removed. Something like param2 in:
http://example.com/resource?param1=1¶m2=&offset=3
(blogged from Vim)
posted by pedro mg at 1:53 am
& filed under web, ruby, code | No Comments »
April 9th, 2009
I subscrived to some mail publications from Sun Microsystems. After that, one gets the usual validation e-mail.
This one states:
“Dear Sun Community Member,
Thank you for subscribing to the following Sun Microsystems eNewsletter(s)/notifications:
[…]
Sun respects your email privacy and security. In order to start receiving these publications, you must first confirm your subscriptions. Please click on the […]
posted by pedro mg at 9:30 pm
& filed under web | No Comments »
February 19th, 2009
“Bespin proposes an open extensible web-based framework for code editing that aims to increase developer productivity, enable compelling user experiences, and promote the use of open standards.”
one can read this here.
Bespin’s initial prototype includes support for very basic features, but one can easily notice its power. Its all drawn in the canvas, every character, cursor […]
posted by pedro mg at 5:46 pm
& filed under web, code | No Comments »
January 15th, 2009
3 or 4 new projects ahead.
One of them will be CouchDB and Merb (no DataMapper, no ActiveRecord). The db schema is modeled by each user and upon criteria decisions.
All of them Git managed, as been doing for the last year.
Served by a Debian based Linux distro, coded under Debian, UNR (my lovely little netbook), and […]
posted by pedro mg at 1:27 am
& filed under tech, web, rss, linux, os, ubuntu, ruby, standards, vim, gvim, s3, ec2, mac osx, debian, mvc, rspec, TODO, git, github, vimblog.vim, vimblog, merb, couchdb, aws | 6 Comments »
October 17th, 2008
Paul Graham’s gluing the recession factor with lack of competition, investor semi-blindness, operating cheaply and time is [always] now. While evidence is a virtue, this is !new.
:note for non-programmers: ‘!’ as an alias for ‘not’
[update]
This slideshare leaked from, as stated, a Sequoia Capital presentation is worth to look at.
posted by pedro mg at 7:40 pm
& filed under web, life | No Comments »
June 6th, 2008
god.pt is well described here, @ karlus. We and some more fine guys will be focusing on Gathering of Developers in our city, Porto::Portugal::Europe. We’ll be doing presentations (mostly but not only technical ones), debating ideas, working together hopefully on projects, networking and building business (well, one of the first meetings was partially dedicated to […]
posted by pedro mg at 12:52 am
& filed under web, life | No Comments »
September 28th, 2007
Passphrases, when used the good way, present a higher level of security over passwords, but what if you are editing scripts on a remote server using a local Vim ? For every open, write, explore, you are asked for it. After a certain amount of times, it starts making no sense, and you’ll end up […]
posted by pedro mg at 12:42 am
& filed under , tech, web, linux, os, file, shell, code, vi, vim, gvim, ssh | 1 Comment »
June 27th, 2007
posted by pedro mg at 1:45 am
& filed under web, culture, life, digital-life, music | 1 Comment »
June 3rd, 2007
Started using Reinvigorate for about a month now. On a fast comparison with Google Analytics new interface, i will problably be using Reinvigorate a lot, since i don’t run Ads. Analytics is very complete, but Reinvigorate is beautifull, easy, well organized, until now very fast and… we are neighbours at (mt) MediaTemple, heh. The motto […]
posted by pedro mg at 7:18 pm
& filed under tech, web, life, blog | No Comments »
May 11th, 2007
… i finally set up the page for the download of the vimblog.vim vim-ruby script. It will allow you to manage your blog posts from *the* editor VIM, very easilly. Learn one single command and, at maximum, seven simple parameters. So go ahead and blog with vim.
posted by pedro mg at 1:27 am
& filed under tech, web, linux, life, digital-life, ruby, shell, code, api, vi, vim, gvim, blog, open source, mac osx | No Comments »
April 30th, 2007
It is very cool to go and buy a new computer. It sure is. But what about the old ones ? There are some companies recycling parts for these unusefull machines, but it actually is not enough. The production numbers are too high, and the used materials still too much non_environment_friendly. Manufacturers will have to […]
posted by pedro mg at 7:22 pm
& filed under , tech, web, life | No Comments »
April 4th, 2007
…just received a (mt) email announcing Krop. It’s a very cool && fast && simple website.
blogged with VIM
posted by pedro mg at 9:06 am
& filed under tech, web, life | No Comments »
April 4th, 2007
… i saw a small video on buiding a cluster. When placing the machines in the cabinet i noticed they inserted them close to the top. It is known the heat goes up, and a while ago i attended a conference where a mechanical engineer showed some heat graphs, thermal cabinet photos and presented […]
posted by pedro mg at 7:05 am
& filed under tech, web, ruby | No Comments »
March 29th, 2007
Merlin Mann’s talk with John Roderick as… “cut the crap”.
posted by pedro mg at 8:07 pm
& filed under tech, web, culture, digital-life, music, blog | No Comments »
February 25th, 2007
Blogging from VIM is now possible using this script. This post is being written using it. But one problem is making me loose a great ammount of time: dateCreated, meaning TMZ headache.
Wordpress XMLRPC wants a datetime timestamp for the dateCreated field. I give it an ISO8601 format as stated in XMLRPC specs.
The post is sent […]
posted by pedro mg at 11:52 pm
& filed under tech, web, linux, ruby, code, api, vi, Wordpress, xmlrpc, vim, gvim, mac osx | No Comments »
February 21st, 2007
… well the name reminds Brad Choate’s Textmate blogging bundle Brad is an excellent developer and like me, was once a Delphi (Borland great product) developer. I based this on his Textmate work. I’m coding a Vi / ViM / GViM script for a plugin that has some nice results already, exclusively for […]
posted by pedro mg at 12:50 am
& filed under tech, web, linux, ubuntu, gnome, digital-life, ruby, shell, code, textmate, api, Flickr, vi, Wordpress, xmlrpc, vim, gvim, blog, screenshot, iccf, open source, GPL | 4 Comments »
February 18th, 2007
… when coding switter, using lot’s of command line, vim, bash, i felt the need to blog from vim. Some readings (quite a few availlable, actually) later, i was testing Wordpress xmlrpc using MovableType (Six Apart) calls to it. Vim allows ruby scripts (when compiled with that directive) use to create new commands, just like […]
posted by pedro mg at 11:09 pm
& filed under tech, web, linux, ubuntu, gnome, ruby, php, shell, code, api, vi, MovableType, Wordpress, xmlrpc, vim | No Comments »
February 12th, 2007
…now, switter was accepted on rubyforge.org. I’ll try to put source and some docs there (rdoc does wonders) soon. Meanwhile, and with threahds now working for continuous message post/get, it just needs some tickles on the readline method.
switter on a maximized shell window receiving public timelines
switter on a normal sized shell window receiving public timelines
posted by pedro mg at 12:20 am
& filed under tech, web, linux, ubuntu, ruby, shell, code, api, Flickr, switter, twitter, vi, rubyforge | No Comments »
February 8th, 2007
Had a new idea for the switter (twitter shell client) client.
What if you had a switch that enabled you to secretly send commands to the shell via twitter service ? Now, that can be (is) dangerous. But what if you defined an hash with predefined actions, and “secret” (remember, unsafe connection) codes ?
./switter -u test […]
posted by pedro mg at 5:12 pm
& filed under tech, web, jabber, linux, ruby, shell, code, api, Flickr, switter, twitter, vi, rubyforge | No Comments »
January 27th, 2007
Tattle is a little reporting script used for collecting system information from the Ruby community. The purpose is to help implementors of Ruby and its libraries to better understand the install footprint of the community at large.
Project Admins: Chad Fowler / Bruce Williams / Jim Weirich
me@system:~/workspace/ruby$ gem install -r tattle
me@system:~/workspace/ruby$ tattle
posted by pedro mg at 5:37 pm
& filed under web, ruby, shell, code | No Comments »
January 13th, 2007
Luke Ross built this Perl web app to help build your ~/.mutt/muttrc file.
Dropdown control helps select pages to fill out. The last page gives you the resource file ready for copy/paste.
…Mutt rocks!
posted by pedro mg at 11:59 pm
& filed under tech, web, mail, linux, perl, mutt | No Comments »
December 4th, 2006
… i think i’ll buy this: cool!
(via SimpleBits Dan)
posted by pedro mg at 2:05 pm
& filed under tech, web, culture, digital-life | No Comments »
October 29th, 2006
Zeldman.com posts a funny article about what Web 2.0 concept may mean in different days, like in the case of The Economist’s coverage of Google and YouTube.
“[…] Clearly ‘Web 2.0′ means different things to different journalists on different days. Mostly it means nothing—except a bigger paycheck. […]”
The fun part is the Web1.0 vs Web2.0 examples […]
posted by pedro mg at 7:36 pm
& filed under web | 4 Comments »
September 27th, 2006
Chris DiBona, open source program manager at Google, maintains a Netcast at TWiT.TV with Leo Laporte called FLOSS Weekly (Floss as Free Libre Open Source Software). Here’s a list of some of the most interesting ones:
#13: Eben Moglen on GPL 3.0
#12: PHP Creator Rasmus Lerdorf, on origins of PHP, challenges, …
#11: Guido van […]
posted by pedro mg at 8:54 pm
& filed under tech, web, linux, digital-life, ruby, perl, python, php | No Comments »
September 4th, 2006
I still get amazed the job these folks are doing. Pandora is a bandwith monster as a streaming radio service. Basically, you indicate the system a music or artist and it generates an internet radio station based on that preference. You can fine tune the radio by indication. It runs on a browser, on a […]
posted by pedro mg at 9:12 pm
& filed under web, browser, podcast, digital-life, music | 1 Comment »
September 4th, 2006
As an ancient Opera (http://www.opera.com) user who stopped using it some years ago, i managed to rediscover the wonders of it. it is really an excellent product. I would easily classify it as a superior product to the Mozila suite. when getting to the download area of the site, your operating system is detected and […]
posted by pedro mg at 1:42 pm
& filed under tech, web, browser, mail, opera, rss, nntp | No Comments »
September 4th, 2006
Well, as a Linux/Gaim(IM)/Jabber and Gmail user i verified today an odd thing. When opening my Gmail account, i saw in the new “chat” area my private Gaim conversations archived, since Feb.8.
A few hours ago, when logging again into Gmail I was asked for a chat option to save or not my conversations. Well, what […]
posted by pedro mg at 8:32 am
& filed under tech, web, google, gmail, jabber, xmpp, log | No Comments »
September 4th, 2006
People’s life integration with the web is evolving in an unprecedented way. With the appearance of social web services to manage photos, ideas, news, thoughts, etc, a vast number of people are dedicating more and more of their life to public it on the net. Even companies are seeing these services as a way to […]
posted by pedro mg at 8:30 am
& filed under tech, web, culture | No Comments »