This is a question I get a lot. Actually, no. But if I did get that a lot this would be the answer. :D
I got the idea of writing this from this post on the Learn Japanese with Tae Kim facebook group. I started learning this language when I was back in Brazil on May 2014. Almost two years now and I am still a beginner (even though I didn't really take this seriously back home). I first started by subscribing to the www.japanesepod101.com website. The content is ok, the method isn't that great, but it was more than enough to get me started. Now I am Living in Japan and, even though I learn a lot from my daily life, I felt like I needed a system to make my learning progress more effective. I wanna be fluent in less than 1 year from now so I can enjoy the most of the experiences I am having here and I figured out that every time I decided to work like "2 ours of Japanese study every day" I got bored really quickly or just gave up altogether. Because you know, "I only have 10 minutes before going to bed... so it is not the 2 hours I set myself to do". So, the system I came up with is to get myself into situations where I have to use Japanese. Whenever I receive a letter I try to read it (but usually I have a friend confirm the contents because I don't wanna get in trouble with the bank lol), I decided to avoid spending time with English speakers by not making new English speaker friends (I am not going to avoid my current friends, so I just try to meet Japanese people with no interest in English instead). I found out this system is making a huge difference on how fast I learn and how confident I am with using the little I know. So here it goes:
Like most people here, I commute to work by train. When going to work I go trough Anki flash cards. The collection of cards changes from now and then, but at the moment I am focusing on phrases taken from the Human Japanese app - I really want to buy the app now, btw - and kanji from the weirdly good Kanji Damage site. I usually study from 100 to 200 cards every day and always in my way to work. If I leave it for when I am coming back, tired, I know I will not study.
I usually go to lunch by myself and try to get into situations where I need to get by with the little I know
I go out with my Japanese friends and get into some activities that are 100% in Japanese. I think I really understand about 10% of that is said, but I usually can get the gist of what is going on. And whenever I realize some word I don't know is being used over and over again I go to jisho.org using my phone to look it up. I am glad my Japanese friends are so patient and understanding with me.
I listen to www.japanesepod101.com about 3 times a week. I usually do this before going to bed, while cooking or doing other boring task that keep my hands busy. And as soon as I can understand the conversation, even if I don't really know every single word to the heart, I move on to the next lesson because I know they will keep reusing most of those words anyway.
After I adopted this system I started saying things I didn't really know the meaning (meaning I never studied that before), but I say them in the right way, the right context, and meaning exactly what I wanted to express. THIS is what it means to speak a language. If you are translating what you wanna say from your language to your target language back and forth then you are doing it wrong.
And if you think that it doesn't work, the fact I can write this blog is enough proof of that I in fact it does work. I did basically the same with the English language after I got the verb to be covered and now I am fluent enough to work with native people in an environment where the understanding of English language is crucial.
This was a long post, but I really hope it helps you with some ideas and get you motivated in your quest of learning whatever language you feel like learning now.
See you in the next post.. or not - we both know it will be like 2 years until my next post, and by them we don't even know if Google will still be keeping blogger up and running.
I know I won't keep my word if I say I will keep this blog updated. Life happens, and I tend to be really busy. So I am doing something different this time.
I am just going to write a small update on what is going on with my life.
But wait... wtf, English?! This was supposed to be a blog written in Portuguese language! What the fuck?!
Settle down, will ya?! So, as the title of the post says, I moved to Japan. This is a country far far away from Brazil (it takes about 30 long ours to get from São Paulo city to Tokyo) and in case you didn't know the language spoken here is 日本語. Exactly, if you don't know how to read what I just wrote then you get where I am going at.
More and more foreigners come to Japan each and every year. But Japanese (or ni.ho.n.go in something called romaji - actually you don't use the dots in romaji; I added this so you get the cadence of the language) is a very different language. And the writing system is based on the Chinese writing system, which uses Kanji (漢字). In case of the Japanese language they even added more... unh.... "complexity" with two new sets of characters (in fact this simplifies a lot our lives, because instead of having to learn 20000+ kanji you only need to learn about 1/10 of that to be fluent - or kinda fluent, I am not there yet so I don't really know).
So yeah, Japanese is different. And you can't really read once you get out of your airplane (so, even using a dictionary can be difficult). So what do you do? Well, you meet some foreigners that have been here longer than you! They come from everywhere, having different native languages. But they all tend to have something in common: English as a 2nd language.
So, here it goes. I am focusing now on writing in English about Japanese things until I really know enough Japanese to write in Japanese, if that ever happens.
This got already too long and I am not going to proof read this anytime soon, so I am going to just stop... and move on to the next post (I kinda feel inspired today lol)
Faz um tempão que não posto; odeio ficar bolando ideias pra blog. Mas tem horas que me vem uma ideia ou história que eu acho que vale a pena compartilhar.
Pois bem, nessa semana a luz aqui de casa oscilou pra ca-ra-lho! Sem brincadeira, no dia do ocorrido minha máquina rebootou umas 30 vezes.
BOM, quem já é usuário de PC já sabe o que esperar: sistema de arquivos corrompido, bad clusters escondidos no HD e coisas afim. Bom... não se você usa FreeBSD com ZFS.
Nada daquelas mensagens gigantescas de "transaction replayed" de outros sistemas de arquivos. Nada de arquivo perdido. Nada de dor de cabeça! Sim, zero dor de cabeça.
My last post was about the attack method described in 28c3 conference and how it affected AWS servers.
Quickly the folks at AdaCore picked up this issue and in the same day they already had it fixed on their repository. Now they are making public releases with the fix.
It's amazing how quickly they fixed this. And they where really kind on keeping me up to date with the situation.
If you compare this response with the one of larger teams such as Tomcat and PHP I'd say it's a huge win to AdaCore and the Ada community in general.
Update: as of 2011-01-19, AdaCore is aware of the situation and is already working on a fix to this problem.
Update 2: as of 2011-01-19 (yes, the same day), the problem is fixed in the repository (revision 9f1405).
Update 3: AdaCore changed it's name from ACT several years ago. Changed all references to that name accordingly. Sorry about that. :)
Update 4: as Pascal Obry informed in his comment on this post, the updated version is available to all AdaCore customers and the GPL version has been updated at Open-DO forge.
A few weeks ago, the following video has been released:
Well, those guys did a great job not only studying this vulnerability but also spreading the news. Then the question arose: is Ada Web Server vulnerable to this sort of attack?
The short answer is: sadly yes. This post tries to explain how we have tested this issue.
Keep in mind that only if a few hours I managed to get this code working and managed to keep my server at 100% for over 3 minutes with only 46656 variables in my post request.
The compiler used was GNAT GPL 2011. The AWS version is 2.10.0. And the operating system is Sabayon Linux.
Introduction
It all started at the #ada IRC channel at freenode. As I am used to run AWS servers all around I was curious if my servers were vulnerable or not.
After some research on the web I realized there wasn't any official report on the issue and I couldn't find anything useful. So, I went to the chat room and started talking to jesselang.
He discovered the AWS uses the Ada.Strings.Hash function internally. As it isn't really complex I realized we where not safe.
This is the actual implementation of this function (which is actually inside the file s-strhas.adb in your GNAT distribution):
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . S T R I N G _ H A S H --
-- --
-- S p e c --
-- --
-- Copyright (C) 2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
pragma Compiler_Unit;
package body System.String_Hash is
-- Compute a hash value for a key. The approach here is follows the
-- algorithm used in GNU Awk and the ndbm substitute SDBM by Ozan Yigit.
----------
-- Hash --
----------
function Hash (Key : Key_Type) return Hash_Type is
pragma Compile_Time_Error
(Hash_Type'Modulus /= 2 ** 32
or else Hash_Type'First /= 0
or else Hash_Type'Last /= 2 ** 32 - 1,
"Hash_Type must be 32-bit modular with range 0 .. 2**32-1");
function Shift_Left
(Value : Hash_Type;
Amount : Natural) return Hash_Type;
pragma Import (Intrinsic, Shift_Left);
H : Hash_Type;
begin
H := 0;
for J in Key'Range loop
H := Char_Type'Pos (Key (J))
+ Shift_Left (H, 6) + Shift_Left (H, 16) - H;
end loop;
return H;
end Hash;
end System.String_Hash;
Turns out this is a linear hash function. It should easy to come up with a reverse algorithm, but ...
Generating Strings with Colliding Hash
Generating a code for this should be hard. I haven't got lazy right from the start; I spent like 20 minutes trying to crack this up but as I have no previous experience in doing such thing and binary arithmetic isn't really my thing I decide to go for the brutal force approach. :)
So I generated a short string. Something arbitrary, such as "ccc" (that's actually what I used). And I implemented a dirty loop to generate substrings with 6 characters each with the same has. Bingo! I found out 12 strings but I decided to use only 8 of them for they only had alphanumeric characters.
And here is the pretty thing: as this hash function is linear all I had to do is to combine all those strings. I came up with 46656 combinations in total - only because I didn't want big variable names in my post requests.
Another thing I found out is that it seems to be quite more likely to have collisions in bigger strings. First I tested against "tt" I and came up with only 4 usable collisions. Adding another character gave me twice as much. I haven't really tested this though.
The attack
I decided to use AWS.Client to implement my attack on AWS.Server. Ironic, isn't it?
The code is really simple. Using unbounded string as a buffer I generated a string containing all the post data I needed. And then I invoked the AWS.Client.Post function. The client code is quite fast (really, less than 1 second).
Now the server code. I just implemented a hello world. Simply as that. It's actually a slightly changed version of the code listed in Gem #29 AdaCore have published. The changes where just to check if I was calling AWS.Client right, before I did the not-so-tricky part of generating the post data. Of course.
The results
I ran both client and server in a computer with AMD Athlon(tm) II X4 640 Processor and 4gB ram. The client being small I see no problem. :)
As expected, the client kept my server using 100% of one core. It stayed that way until the process completion, which took well over 3 minutes.
Firing up 5 client instances managed to get a DoS.
Both brutal force, client and server codes have been forwarded to jesselang's email address who kindly will report back to Ada Core Technologies. With any luck we will be seeing a patch for this in the near future.
Conclusion
It was a really bad surprise finding any information about this issue online. I don't know if Ada Core has been working on it already of they have ignored it completely. Until there is a fix for this available, let's hope no one uses this to damage running systems.
Even more astonishing is that the development community (with the exception of perl community) assumed plain Hash tables are great for everything. I've avoided it in the past for security reasons myself. After seeing anyone using hash table I decided to use it a lot.... and now I've been using Hash table myself to represent json data and key/value pairs from configuration files. Time to review all my code. :)
Sou usuário Linux desde a época do Conectiva Linux (versão 6 acho); cheguei a usar Mandrake 9, Slackare 7 e quando conheci o Gentoo minha vida mudou completamente.
Posso dizer que desde o final da década de 90 (não me recordo o ano exatamente) sou usuário exclusivamente Linux, metendo as caras em Windows e mais recentemente MacOS X somente em ocasiões isoladas por trabalho.
Durante esse tempo diversas vezes eu acabei me aventurando no FreeBSD mas sempre desisti - bem rápido, aliás. Mas isso foi até eu conhecer o ZFS e decidir que quero isso em meus servidores. Dominar o FreeBSD passou a ser uma missão e aprendi o caminho das pedras.
Esse post é uma coleção de dicas para usuários experientes no mundo Linux. Se você é um novato pode pescar varias dicas também, mas não vou ficar explicando coisas do Linux.
Sistema de Arquivos
Por padrão o FreeBSD usa UFS2. Manda bala com esse; esquece ext3, reiserfs ou qualquer outra coisa que esteja acostumado a usar. Não suporta Journaling, mas no lugar implementa outra estratégia que no final garante o mesmo tipo de resultado.
Recomendo começar com o layout de partição recomendado pela instalação; analise-o e crie um equivalente, com uma quantidade generosa de espaço livre para ser usado pelo ZFS mais tarde. Primeiro domine o sistema para depois usar as opções avançadas, mas faça isso de forma planejada.
Ports
O FreeBSD é baseado no excelente ports (que, de fato, inspirou o portage do gentoo). O ports é uma coleção de makefiles localizados em /usr/ports. A primeira reação de um novo usuário é localizar o pacote dentro da arvore de diretórios e mandar ver no make instal clean, por exemplo:
# cd /usr/ports/net/mediatomb && make install clean
Isso funciona, mas o que você vai perceber é que a instalação para no meio a toda hora para configurar alguma dependência; convenhamos que é muito chato ficar horas na frente do computador esperando o gerenciador baixar e instalar tudo só para responder determinados prompts de configuração; mala d+! O processo fica muito mais simples usando o portinstall. O comando equivalente ajuda bastante:
portinstall -c mediatomb
A opção -c do portinstall faz com que todos os prompts de configuração sejam apresentados no começo do processo. Isso acelera bastante e torna a administração do sistema muito mais prazerosa (e nesse ponto eu pessoalmente acho que acaba ganhando das USE flags do gentoo, já que você é forçado a ler as opções na hora de instalar e a configuração é por pacote, não system-wide).
Embora isso permita um controle absoluto sob como cada pacote se comporta, cada pacote é compilado a partir dos fontes; se você está em uma máquina antiga e não tem muito saco para esperar compilar tudo, não vale a pena. A opção é usar os pacotes binários.
Pacotes Binários
Pacotes binários com configuração padrão existem. São vários e podem ser baixados via ftp e então instalados com o pkg_add. Mas uma coisa que não tem o destaque merecido é a opção -r dessa ferramenta. Com ela o pkg_add se comporta como o equo ou o apt-get se comporta por padrão. Baixa e instala todas as dependências de acordo. Por exemplo, para instalar o KDE 4 com todas suas dependências basta chamar:
pkg_add -r kde4
Initscripts
Eu, como todo bom Gentooer, estou super acostumado com a excelente ferramenta rc-update. Infelizmente ela não existe, mas algo bem inteligente foi bolado. O arquivo /etc/rc.conf. Basicamente, nesse exemplo do mediatomb, basta colocar a linha:
mediatomb_enable="YES"
Outra opções interessantes existem nesse arquivo; vale a pena dar uma olhada.
Kernel modules
Módulos do kernel podem ser carregados manualmente pela ferramenta kldload. E para módulos específicos, como o ZFS, existem initiscripts.
O que mais?
A primeira fonte de informação deve ser o FreeBSD handbook, que pode ser encontrado aqui. De resto, use o google e sempre que precisar o canal IRC ##freebsd no servidor freenode.org está cheio de desenvolvedores prestativos.
I have been working on the KOW framework for a couple of years now. So much we have accomplished, and then rewritten and finally we are really close of a public release with some tutorials and stuff like that.
So, in order to celebrate that I decided to write a simple overview on the framework and what it is all about. So, here it is.
The framework was designed with simplicity and modularity in mind. Once you have your application up and running it should be straightforward to extend and maintain it. You shouldn't have to worry about versioning much (well, you need some sort of versioning but not as grained as "take the revision #1012023".... a simple "use the release 2.0" should be enough).
Also, memory management is a big concern (after all it is a server based framework.. all users will be using the same memory space on the server).
We did our best to make it robust, fast and small. Yes, being small is actually a good thing. The framework has no tool for handling complex scripts. Neither for processing images or any of the sorts. If you need something that does that you should by all means use GNAT.Expect package for calling other process (which can be considered an ugly workaround but works like magic) or implement your own (or even find a 3rd party) package. You can put this package inside your app folder and you will be just fine.
A more detailed post about the framework and how to use it is yet to be written. Actually, our biggest issue right now is not having a decent set of introduction documentation. It's quite easy to use the framework after you got yourself used to the main libraries (only tree are quite important here: kowconfig, kowview and kowent) but there is no "make a blog in 2 minutes" kind of documentation (which I think is quite possible and easy to do... but I tend to get busy with other things easily).
Após muita reclamação por parte dos usuários (incluindo esse que escreve, veja posts relacionados) a @SamsungBrasil anunciou que está trabalhando na correção dos bugs encontrados na versão da FW distribuída com o aparelho no Brasil.
Do twitter:
Temos desenvolvido melhorias para o Galaxy.Pontos citados na web foram trabalhados na atualização do SW p/ Sistema Operacional 1.5
Após conclusão desse desenvolvimento e homologação nas operadoras,a atualização do firmware será disponibilizada gratuitamente
Agora só nos resta esperar e torcer para que os bugs sejam realmente resolvidos.
Foi rápido! Já recebi a resposta... pontinho positivo por isso. Primeiro a mensagem, depois meus comentários
Prezado Sr. Marcelo Coraça Agradecemoso seu contato e informamos que conforme exposto, compreendemos seu descontentamento quanto ao fato ocorrido, desde já, a gradecemos sua mensagem e ressaltamos que a mesma é muito importante para que o crescimento da marca, bem como, para o desenvolvimen to dos produtos Samsung. A Samsung busca sempre, melhorar sua imagem junto às sugestões e reclamações recebidas dos nossos clientes.
eu comprei um samsung galaxy.. o hardware do aparelho é simplesmente fenomenal. Ele é leve, a tela tem um brilho maravilhoso (da pra usar sem problemas em baixo de um sol de 40 graus de Guarujá) mas a versão do sistema que vem nele é antiga; e o pior: bugada pra burro!
Cansado disso e cansado de levar olé da @SamsungBrasil (que decidiu simplesmente ignorar quem reclama do Galaxy... nem respondem mais a perguntas, mesmo quando feitas de forma educada e bibibi bóbóbó) eu resolvi enviar um email reclamando (pelo "fale conosco" do site deles).
Aqui vai a mensagem na íntegra. Pretendo publicar a resposta caso receba alguma também.
Olá,
Comprei o celular Samsung Galaxy contando que o celular de ponta da Samsung fosse realmente um celular de ponta.
Para meu desgosto, fiquei sabendo depois que o sistema instalado é o Android 1.5, uma versão com mais de dois anos de idade (e o modelo ACABOU de ser lançado no Brasil) e não há atualização alguma. Se fosse somente isso estaria bom.
Há diversos bugs. Entre eles a duração da bateria é ridícula, pra não dizer outra coisa. O botão de bloqueio passa a somente desligar o monitor (que é religado quando qualquer outra tecla é pressionada) quando faço uma ligação usando 0DDDNUMERO (como 01140047777). E isso é sempre! Ou seja, tenho que mudar todos os números da minha agenda para prender o número da operadora (ridículo, já que a agenda fica online nos servidores do google e eu posso querer sincronizar com outro aparelho/operadora ao mesmo tempo.
E por mais absurdo que pareça, para todos esses problemas já existe correção; há relatos pela internet que todos esses problemas foram resolvidos em upgrades liberados na europa. Mas o sistema da Samsung nem reconhece meu aparelho como sendo válido na hora de buscar upgrades!
Indignado com a situação eu fiz como outros usuários: entrei em contato via twitter. A primeira resposta foi "se houver upgrade avisamos". Comecei a insistir em uma resposta mais concreta e sabe o que aconteceu? O representante da samsung no twitter passou a simplesmente me ignorar! Fez isso com os outros usuários que reclamaram.
A indignação pela posição de não liberar upgrades (ao contrário da Motorola e HTC) que a Samsung tomou tem gerado indignação de usuários pelo mundo inteiro e irá, sem sombra de dúvidas, refletir negativamente nas vendas de smart phones (em especial com Android) da empresa. Esse desrespeito todo com o consumidor, no final das contas, está me levando a nunca mais querer comprar aparelhos da Samsung.
Possuo um Home Theater, uma TV de 32 polegadas e dois monitores (um de 19 e outro de 21 polegadas) da Samsung. Eu era um cliente fiel e recomendava para todos meus amigos. Agora minha recomendação tem sido: comprem qualquer marca, menos Samsung por que se você precisar de algo após a venda eles vão te deixar na mão.
O upgrade é possível e é barato para uma empresa com o porte da Samsung. Prova disso são usuários que vêm desenvolvendo versões não oficiais de releases mais recentes do Android para o Galaxy. Entre eles existem o Galaxo ( http://www.uht.me/galaxo/ ), que fornece Android 1.6 e o Mustymod ( http://mustymod.forumotion.com/ ) implementação 100% opensource para suportar o 2.1... já suporta quase tudo, exceto a camera.
Eu ainda não fiz o upgrade do firmware para não perder a garantia; vai que da algum pau de hardware em coisa de 1 mês eu acabo perdendo um aparelho de 1600 reais.
O fato é: estou indignado com essa posição da Samsung. Mais ainda com a decisão de ignorar publicamente seus clientes quando eles não estão satisfeitos. Não compro de quem me desrespeita.
In the last post I have commented about the KOW Framework status, but I haven't actually given any more details on what I am really doing... we are getting into alpha stages, with some documentation being written and some bugs being fixed and I think it's time to give you all a brief description of what is going on.
We (I am working alone now.. have been for the past 10 months but I have received some really appreciated help) have create quite a few packages with some interesting features focused on helping the creation of multi platform web applications with a database backend. There are a few of those frameworks, but this one brings something new to the table: it is written in a 100% compiled language called Ada (the 2005 version of the language, to be more precise). This language have several advantages over other ones (you should google for it and find it out by yourself) as it has been designed from ground up to be really safe and powerful.
Here is a small list of features we have implemented:
file system abstraction (some things are implemented in a way it can work both on windows and linux without problem at all)
configuration files abstraction (you care about the meaning of the data, not about the syntax or where it is stored)
database integration (actually, all we have done is a little clean up and reorganization of the APQ code with the original author's bless)
database abstraction using OOP (you can deal with Ada types and the framework deals with the SQL for you)
web framework based on services (pretty much like java servlets), modules (small web page elements) and components (singleton factories for services and modules)
authentication, authorization and, at some level, accounting
logging
We also have worked on other features, but those implementation are somewhat incomplete and.. well.. shouldn't be used right now (except for kowplug, which is a quite simple API for helping the developer to create a plugin enabled application in both windows and linux using Ada.. but this is not being used by ourselves, hence I can't guarantee it's going to work at all in production).
As you can see, we have put a lot of effort in this project. Thousand of hours have been spent on designing and coding; we have redesigned some of the packages; I actually have some redesigns in mind just waiting for more time for doing it... but I haven't done a decent public release yet.
Why is that? Well, first off the framework is still in early stages. It is a quite big project and some of the code was done in a hurry (mainly the kowview page module/servide and the kowview-entities package), we have learned a lot (yeas, a LOT) while coding and we thought we whould go a determined direction but things changed and moved us otherwise.. well, some things were simply adapted... others just went into a halt stage and need to be completed now (such as kowplug).
Secondly, there is no introduction material (it's quite easy to use the framework once you have learned the basics using only the specification files) and working with your projects (specially managing the application user accounts, entities and default/user data files) used to be a pain!
Use to be because there are lots of repetitive tasks.. and kowview needed a redesign on how to reach for the component's data.... well, long story short I've developed a simple Command Line Tool called kvdriver.
This tool will help you out in
initializing your project environment, creating all the build scripts needed
automatically generating some of your source code based on what applications you want to use
the more tedious entity code is now managed automatically
useradd and groupadd methods for your project
I also plan to implement dependency management and a complete web application distribution system.. it's gonna be pretty much a multi platform packaging system such as Gentoo's portage.. but idk when and not even if I am going to implement it.
I am now writing some documentation, and improving the kvdriver tool. There is a long way to go before I can say "alright, go ahead and use our code" but it is already available at http://framework.kow.com.br ... it is open source, you can clone our git repositories and try it out...
I am really glad how fast I am evolving right now. I am really focused and the result as it is right now is.. well... let's say now I can create a blog system in Ada in 12 minutes :D
I know I need to update this blog more often... it's just I've been too busy with my personal life...
First off, I've been through a painful divorce process.. we weren't actually married, but we have bought a house... and until we don't sell it I'm still attached somehow to my ex... which is painful enough by itself, but it get worst... and I'm not talking about this right. :)
I want to summarize the current KOW Framework development status. I don't want to sound miraculous or anything, but I think I might be able to say right now the framework can be compared to django or tapestry... but with all the advantages of the Ada programming language.
There is a long way to go (mainly in fixing bugs and writing documentation) but I strongly feel we are getting somewhere...
I'm the developer for the not-so-known KOW Framework. I'm also the current maintainer for the APQ database bindings for Ada (which is now part of the framework).
I started up codding this framework for developing business applications (both web and desktop) easily. As things have evolved, our focus has changed several times and now we are back to the original idea. :)
Right now we are working with complex Web Applications. KOW Framework has a powerful and high scalable modular architecture. One module can depend on other directly (ie, including the module specification), but you can develop using IoC (Inversion of Control). It allows you to use some MVC principles even though we haven't built it thinking about any of those concepts.
The idea is to make a framework that easy our work for some tedious tasks (such as database interaction, configuration files and page construction). Even though I think we have achieved some of these goals there is a long way to go before we can say it's ready for the general public.
Well, I started using the framework in heavy duty tasks a couple of weeks ago. I'm listing some of it's problems and I intend to fix them ASAP (and then write some decent documentation about it and make a decent public release). But the thing is I'm quite happy with the current status. Even though I've been working all alone and thing has progressed pretty fast. Hopefully we'll have a decent set of Ada libraries for building complex business applications in a short period of time.
For the ones who might ask: I call "business applications" those applications someone who isn't a coder would "implement" using Microsoft Access, or some initial (or lazy) programmers would do in PHP.
The vast majority of programmers would usually go to Java or .NET, which I believe not to be fit to any real life application at all (but that's a totally different topic and I'm not messing with it right now).
ERP and CMS are excellent examples of what I call business applications.
Trabalhei pra kct (kct MESMO, tipo umas 15 horas por dia) nos últimos dias (incluindo sábado e doming0). Decidi me dar folga hoje! Mas quem diz que meu trabalho concordou com minha folga? rs
Bom, tive que ligar o PC pra trabalhar nem que seja só por duas horas. Tudo bem, amo o que eu faço mesmo.
Mas resolvi aproveitar para falar sobre um trabalho meu livre, sem ligação com nada que me de dinheiro etc etc etc. Sim, trabalhei de gratiz! :D Mas por uma boa causa.
Tem um pessoa desenvolvendo um sistema operacional/distribuição opensolaris chamada AuroraUX (#auroraux@freenode). Estou escrevendo a biblioteca base para a construção da interface "gráfica" (modo texto) para o instalador (chamei o projeto de sunrise).
Por enquanto só existe o conceito de retangulo, janela e screen (area básica onde os componentes escrevem coisas).
Não tem nada de eventos e talz...
mas eu curti 1 coisa sobre essa lib: é MUITO fácil criar uma interface em Ada em minutos! Nem precisa de construtor de interface. uhu :D
Bom, depois espero ter tempo/saco pra publicar algo nesse blog tão abandonado meu com mais detalhes.. e ainda não me decidi se escrevo meus posts em en ou pt... oh dúvida!
puta ferramenta boa.. mas eu me sinto meio perdido ainda..
pq?
bom, pra começar o esquema de tickets dele é muito mais complicado que o do trac... essa complicação não é a toa (é muito mais complet0), mas estou demorando um pouco para me acostumar com tanta informação em tão pouco espaço....
Estou curtindo, mas não o bastante; sinto falta de coisas do trac, mas ao mesmo tempo trac não suporta git decentemente nem multiplos projetos.
Conheço um pessoal doido para fazer um framework em Ada usando o KOW Framework que eu desenvolvo. Bom, idéia interessante e bate com uns projetos que eu tenho... vou tocar..
Já tinha decidido isso, mas hoje eu vi algo que me deixou completamente boquiaberto.
Bom, vou resumir numa frase: um looping com regexp em Ada é 8 (OITO) vezes mais rápido que o mesmo looping em python....
isso mesmo...
É esperado ser mais rápido já que python é quase tão lerdo qt java (ou jaba .. hehe), mas kct! :-O OITO vezes mais rápido!
PQP!
Numa outra hora posto um benchmark... agora estou ocupado varando a noite pra reimplementar as coisas python em Ada. :D
Tenho usado o trac por um baita tempo... muito contente com ele até que eu decidi mudar meus repositórios de svn para git.
Vi que não fazia sentido manter os módulos do KOW Framework (antigo AdaWorks) em um mesmo repositório git. O subversion é muito legal no lance de ser orientado a pastas, mas o git não segue essa idéia.
Além de me oferecer opção de um download muito menor por repositório, sem incluir módulos legados nem código não suportado, essa abordagem do git também me oferece maior segurança. Posso escolher quem faz o que e aonde; sendo assim, posso misturar repositórios públicos e privados em um mesmo servidor, sem muito trabalho.
Migrei e amei o git; rápido, super fácil de entender, completinho.. só que... bom... agora meu trac não consegue mais listar meus repositórios... . Nunca pensei que isso me faria TANTA falta!
Googlei, googlei e o que eu acho? Redmine! Já tinha esbarrado nele antes, mas ele tem 2 coisas que me deixaram bem contentes: suporte a git e multiplos projetos! Tudo o que eu precisava!
Vou instalar o redmine correndo no meu servidor e ver se me dou bem com ele... sendo o caso migro tudo para ele e, finalmente, concluo a mudança do AdaWorks para KOW Framework! :)
Significa a vagabundagem brasileira. A criatividade também, claro. Mas por que não ser criativo fazendo filmes ou teatro porra? Tem que colocar umas gostosas rebolando e ficar atolando a cabeça de cerveja para chamar a criatividade à tona? :/
Bom, tem gente que gosta... e blz, vou "respeitar" o gosto alheio. hehe
Mas no final carnaval é bom! Por que eu brasileiro também e como todo bom BRASILEIRO adoro ficar coçando meu saco tomando uma gelada! :D
Mais um ano passou... e não tive tempo de pensar em quem sou, no que quero e muito menos em como faze-lo. Simplesmente deixei a maré me levar e veja onde cheguei: exatamente onde eu queria chegar há uns 2 ou 3 anos atrás; e isso me assusta.
Se eu cheguei aqui após pensar onde ir e não penso mais onde quero ir.... pra onde vou? Porra, preciso de muita cerveja e muito tempo pra filosofia de bebado nessas férias!