Alcides Fonseca

40.197958, -8.408312

Prescrições a fazer efeito

Associação Académica de Coimbra (AAC) estima que cerca de 2700 estudantes possam vir a ser excluídos da Universidade de Coimbra (UC) no próximo ano lectivo, no âmbito do regime de prescrições da instituição. A reitoria da UC diz que é “prematuro” adiantar qualquer número, mas acrescenta já ter começado a contactar todos os estudantes que estão numa “situação de risco”. A situação da UC não é única no país, embora cada universidade tenha um regime de prescrições próprio.


Na Universidade Nova de Lisboa, por exemplo, onde cada faculdade tem regras próprias, o reitor António Rendas prevê que o número de alunos em risco de exclusão no próximo ano lectivo seja “seguramente inferior a 2 mil”. “Estamos a acompanhar o assunto, mas não prevejo um problema muito grave”, afirma.
No caso da Universidade do Porto (UP), o regulamento de prescrições foi aprovado em 2007, mas só entrará em vigor de forma plena no final do próximo ano lectivo. Maria de Lurdes Fernandes, vice-reitora da UP, afirma que este período de transição teve por objectivo dar “tempo aos alunos para se adaptarem às novas regras”. No entanto, admite que no próximo ano lectivo “entre 5 a 10 por cento dos alunos” de licenciaturas da UP – 1100 a 2200 estudantes – possam ser excluídos. “Esperamos que, entretanto, muitos destes alunos consigam melhorar a sua situação escolar”, afirma, acrescentando que a UP criou a possibilidade de os estudantes se inscrevem em mais de 60 créditos por ano para poderem melhorar a situação escolar.


Estas normas, que definem o número mínimo de disciplinas ou créditos que os alunos têm de realizar por ano, resultam da Lei de Bases do Financiamento do Ensino Superior, de 2003. As regras de exclusão variam consoante a instituição, mas as soluções mais comuns apontam para um limite máximo de seis inscrições para os alunos completarem três ou três anos e meio do curso. É o que sucede em Coimbra e no Porto.


De acordo com o presidente da AAC, André Oliveira, a estimativa de 2700 alunos resulta de números fornecidos à associação pelos serviços académicos da UC. Ontem, a reitoria da UC fez saber, através do gabinete de imprensa, que os casos correspondem a situações de “diferente gravidade”. Alguns alunos estarão dependentes da realização de uma cadeira até ao final do ano para poderem continuar a estudar. Até ao termo do ano lectivo, a reitoria admite a possibilidade de se realizarem épocas especiais de exames para estes alunos.

Fonte:1 Público 21.06.2008, André Jegundo (via Que Universidade?)

Devo ser dos poucos que fica feliz com estas notícias. No meu departamento (desta mesma Universidade) farto-me de ver flyers de manifestação contra as prescrições. Mas as prescrições são uma coisa boa! É estas novas normas que impedem que os alunos andem a anos e anos sem fazer cadeiras, ou a fazer muito poucas. Estas pessoas, a meu ver, deviam abrir os olhos para a vida e aperceber-se que o Ensino Superior não é para elas. Eu sei que o país precisa de aumentar o número de licenciados para um índice qualquer da União Europeia, mas também é preciso manter um certo nível de qualidade no ensino. Não acho bem os meus impostos serem usados para financiar parte dos anos que estes calões andam por aqui nas festas académicas!

1 Não sei até que ponto é ilegal estar a copiar para aqui o texto da versão online. Mas para me aliviar a consciência, se gostam de estar a par destas notícias relativas a educação, comprem o Público ;)

Paul Kim on Software bundles

Now, there has been some controversy concerning the bundles, boiling down to whether it is a good deal for the developers. After all this, I can’t say that the issue has been fully resolved in my mind but I’ll try to at least clarify the real issues at stake. I want this to be useful to other devs who are considering participating in bundle promotions without resorting to any demagoguery.

Paul Kim, On Software Bundles – Great piece about bundles like the current MacHeist and how that affects indie mac developers.

Versions Review

Versions is a OS X GUI for Subversion. And I proudly say that is partly work of a Portuguese developer.

Versions is very powerful1 and elegant GUI for SVN. makes it easier to see changes over the time, and even diffs. This is not the best approach for SVN, in my opinion.

Using Versions (or any other GUI like RapidSVN, which is opensource, or so…) is another distraction in your workflow while working. The best solution I see (and that I use) is having SVN integrated with your File Explorer (being TortoiseSVN for Explorer in Windows or SCPlugin for Finder in MacOS. This way, when I’m working with files, I am using the file explorer and that’s where I want to rearrange folders, delete stuff add folders.

Other situation where I also need to take SVN actions is the IDE/Editor that I am using. In my case Textmate, and sometimes Eclipse. I hit the save shortcut combo almost everytime I change a line, but the real saves are when I commit to the repository. And I want that power inside the editor, not in another window. That’s why I find that SVN is meant to be inside your workflow tools, and not in some stand-alone app.

1 A lot of people I know would just reply ‘Not as powerful as the command-line’. Which is true, but there’s a compromise between features and easy-to-use, since this this product is not targeting hackers, but designers/webdesigners/webdevelopers (or just devigners)

OpenID and Redirects

When I moved to this wiki, I had the problem to keep the old links from being broken. I learnt that lesson, and me being a innovative guy (which means I keep doing and changing stuff over here), I now moved the wiki to this subdomain and alcidesfonseca.com redirects here now.

This simple change broke all my authentication through OpenID. The authentication works, but the url verified is now wiki.alcidesfonseca.com, that is not the one associated with my account. This thing really worries me. So, heres the workflow:

Consumer -> http://alcidesfonseca.com -> http://wiki.alcidesfonseca.com -> http://alcides.myopenid.com

And if I can authenticate against my provider (MyOpenID), I prove that I am wiki.alcidesfonseca.com, but not alcidesfonseca.com. Wouldn’t it make sense to prove that I am also alcidesfonseca.com since I am the url that is redirected to?

As for now, I guess I’ll have to make some simple placeholder with HTML headers. BTW, have you checked http://stream.alcidesfonseca.com?

BuzzNumbers

Remember that little mashup I released almost an year ago ? Well, I found out that now there is a pro version called BuzzNumbers. This media analyzer thing is going to turn out a great business like I though that time.

JSRocks (Server-side JavaScript with Python)

John Resig posted about the State of The Art in terms of embedding javascript in other languages. I was glad to see that there was one Python related project: Python-SpiderMonkey. Then a nice hack idea popped in my head: now I can do JavaScript Server-Side like I want!

So if you want, you can download my Javascript implementation of a simple CGI script in Python where you can access GET, POST, SERVER and COOKIES variables through request.get, request.post, request.server and request.cookies (also have request.post_files, but I haven’t tested uploading files). This is based on my previous work in pungi. And you also have a new File class (with read, write, readlines and close methods) as well as Sqlite (a wrapper for SQLite3 databases, with only the query method). This is the basics that allow you to write your first webapplication based on Javascript.

If you wish, you can download it and test it yourself. I guarantee nothing!

  • Install Pyrex (sudo easy_install pyrex)
  • Install Python-SpiderMonkey ( SVN checkout and sudo python setup.py install
  • Copy the jsrocks folder to your htdocs. Keep in mind you need mod_rewrite and .htaccess files enabled.
  • Just visit /jsrocks/ and /jsrocks/test (which call index.js and test.js)

NOTE! This is just a hack to prove it could be possible. Using an interpreted script to call another interpreter is not the best idea. Oh, and through CGI even less plausible (fastCGI is more admissible though). I believe that something like mod_js is a better approach (although last time I checked it lacked File IO and Database connections). Google (Steve Yegge) apparently likes the idea of using Rhino, which I don’t like that much.

Regarding new Google's favicon

You may have noticed that Google has a new favicon, the small icon you see in your browser next to the URL or in your bookmarks list. Some people have wondered why we changed our favicon — after all, we hadn’t in 8.5 years(!). The reason is that we wanted to develop a set of icons that would scale better to some new platforms like the iPhone and other mobile devices. So the new favicon is one of those, but we’ve also developed a group of logo-based icons that all hang together as a unified set.

Source: Official Google Blog

So it was not for Children Day’s, it is in fact, because the iPhone, Google has changed the favicon. After 8.5 years with a pretty good icon, they are changing to a worst one, because of the damn phone that’s changing the industry.

Update: Looks like the Google Reader favicon that is loaded in Safari is the 32×32 version (that is targeting the iPhone), slightly different from the traditional shown in Firefox and other browsers.

MTV Youth Trends

(Via OpenGardens) This is a great presentation from MTV where they show a few statistics that prove that young people are spending less time in front of TV and more and more on the Internet, mainly social networks. I guess some Portuguese companies should take a look at this presentation and start changing the way they work.

Lego Mindstorms NXT

Last week I borrowed a Lego Mindstorms NXT Educational Set from the Physics Department to use in the last class I’m giving to 13 year old kids about programming with Python.

First of all, I dealed with the hardware and spend about one hour assembling bricks like I used to do…. 10 years ago. Lego rocks! Since I hadn’t much time to spend with it, I followed the Tripod model, but in the end I realized I didn’t had the extended set, so I started to invent, like it is supposed to! Here’s the final result:

Now the software: I could let kids use the programming GUI, but I don’t like it very much, and the purpose of the whole course was about coding, so I wanted Python. Since the robot cannot run Python itself, I was running the program in my macbook that would remote control it.

The “NXT Python library is really helpful”, but OS X requires a little hack on the bluetooth module, so this page explains it all.

So I did two programs: One to remote control the NXT with my Wiimote. With the arrow keys, I can control it’s moves, the minus/plus allows me to control the speed, which is very useful when turning! And when it bumps something, The wiimote rumbles and lights up the LEDs for each active sensor.

The second program, just makes the robot wander around and when bumps something, he turns a bit. That’s enough for it to spend some time by itself :)

You can download the source code (with all the necessary libraries, that you must sudo python setup.py install inside each dir).

The line that changed my browsing

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

If this is an option, why there isn’t a checkbox in the preferences for this? I bet I’m not the only want to want this behavior. And seems like it doesn’t work in Safari 4 preview.

“Save this page as a standalone web app” will bring the fluid/prism/air competition to the “OS side” (Microsoft/Apple/Linux).

Moving to Air

No, I’m not buying that Macbook Air thingy… (sigh) After some ranting and disillusions about Python GUI’s, I gave Adobe Air a try and did Yet Another Twitter Client in 1 hour, 37 lines of JS, 23 of HTML and 28 of CSS. So damn simple!

And the next day, I was exploring Dashboard Widgets (for a project, not that I use it, which I don’t) and I copied pasted the code, added the icons and the Info.plist and voilá, it worked without changing a line of code! It’s really Java’s idea of write once, run everywhere (I am assuming it runs in linux, since only advanced features are not implemented yet).

My next projects that include a desktop app, will be written in Adobe Air, despite my love for Python. (Javascript is my #2 programming language). And writing UIs in HTML+CSS is much more fun than wxWidgets, Tk, GTK and even WinForms!

You can now comment using disqus

Since I’ve updated my website to a bliki, I’ve missed having comments a lot! It’s no fun to not know what your readers think of your content (even if it’s negative, as long as they aren’t rude).

Well, some folks have put some pressure on me to enable comments here, something I’ve been wanting to do for sometime now, but I have other priorities in my todo list. So I enabled disqus, which is a really simple commenting system.

However I am not happy with this solution. First: It’s a JavaScript widget. I want to read comments on my Windows Mobile device. So I need a hardcoded solution. And second, it doesn’t work well with OpenIDs. I want to be able to blacklist some OpenIDs if I want to, and also have some authentication system (although it’s very easy to set up an anonymous provider.

At last, I’m not sure if I want my wiki pages to have comments. Maybe I’ll have comments only for blog entries. It’s something to think in the next month or so. In the meanwhile, feel free to use the current disqus system.

Os Social Media em Portugal


Qual a maior lacuna no panorama dos Social Media portugueses?

Paulo Querido: “A falta de participação.

A total ausência de informação nos mainstream media.

A fraquíssima prestação do país em termos de empreendedorismo. Os projectos portugueses que existem nesta área são TODOS de indivíduos ou pequenas startups, sem capacidade financeira. Não há mercado nem investimento nem apoio de nenhuma espécie.”

Na entrevista do Hugo Silva ao Paulo Querido, com quem concordo perfeitamente neste ponto, inserido numa série de entrevistas sobre Social Media.

Geeks portugueses mais sociais

Provavelmente foi muita influência da Web 2.0, mas noto que a malta geed de terras lusas anda mais social. Já não somos aqueles tipos com barba grande atrás de um terminal numa cave qualquer. Agora somos maltas fixes que gostam de ir para os copos!

Penso que esta história começou com o Barcamp que o Fred e o fuzy importaram lá de fora. Pouco depois recebemos a Shift, também importante mas se calhar a um nível mais internacional. Depois ainda lá conseguimos arranjar alguns eventos porreiros onde nos reunir (Tecnonov, TakeOff) menos desconferenciados.

Para álem destes eventos, o Ricardo tentou trazer para Portugal o OpenCoffeeLisbon. No entanto, a coisa não correu muito bem pelos motivos que falarei mais à frente.

Depois do Verão, voltámos a carga com as segundas edições ( Barcamp, Tecnonov e TakeOff) e tivemos a estreia de outros eventos: o CodeBits, onde o Sapo mostrou o seu lado mais geek 2.0 e o BarCampFCT. Este último teve pouca adesão em relação ao que eu esperava, apesar de ser em Lisboa (onde está o core da tecnologia nacional). Mas essa malta toda das empresas não são os que se interessam em participar neste tipo de eventos.

A malta que aparece neste tipo de eventos é a malta jovem e empreendedora, que quer aprender novas coisas. Não aqueles dos empregos das 9 as 6, que sabem exactamente a mesma coisa do que quando saíram da Universidade. É a malta que explora novas coisas, como a Web. E descobre o serviço que nos tem ajudado a ser mais sociais: o Twitter.

É verdade, graças ao Twitter, a malta começa mais a saber e a aderir a estas coisas. O Celso e a malta da 7Syntax reinventaram o OpenCoffee num OpenPub que começou a pegar moda e até já há um derivado: o Twittlis. E com estes, já se está a levantar um conceito dentro da área, desta vez pela malta do Porto, o GOD que para já se encontra no Twitter. Para terminar, temos ainda o WebTrip em que a ideia é dar a volta a Portugal em Web Networking.

É bom ver como as coisas mais simples da Web Social começam a mudar o mundo, começando por nós, a malta entusiasmada. Só falta levar este conceito ao mundo empresarial (que tardam sempre a apanhar estas modas) e finalmente ao mainstream.

280 Slides

280 Slides is a web-based Javascript clone of Keynote. I loved the style and this is how simple I want web editors to be. Microsoft, you should take some ideas from here to Office Online.

The most amazing thing about this is happening under the hood: the developer wrote a library that abstracts browser rendering engines using Canvas, SVG and Flash (on a per-need basis) into a unified language – Objective J which is – as the name suggests – a mapping from Objective C to JavaScript.

Source: Wait till I come!