News
Home Home Contact us Contact
home News Projects Tests Files Follow manatlan on Twitter Sign in
2009-12-03 19:53:09

The 0.5 release of GG is out

The 0.5 release of GG is out. It comes with some bugfixes, and a lot of patchs from steve (mainly : "no need to pass pointers to slices or maps, they are basically reference types anyway" ... thanks a lot : I had forgotten that ... and sure: it removes a lot of &/* in the code). There is no new feature ;-(. But I'm still working on a badly named "gg+" which is able to guess the gg'makefile for a set of files (using ast/token package). In fact, I would like to add this kind of feature in GG (but it will double the number of lines, sure ;-), and it's a little bit more complex than expected.

With this new version, GG comes with its own page on this website, which try to explain its features, and how it works. (but I'm agree : I can do a lot better ;-).

Comments (View) Tags: go
2009-11-24 13:06:45

Mon premier jeu freebox/elixir.

Voilà, c'est fait ;-) Et apparemment, si je regarde la mailing, il semblerait que ça soit peut être le tout premier home made réalisé. Mais bon, ce n'est pas non plus le half-like killer. C'est simplement un clone d'un des jeux d'ibraining.com, revu et corrigé pour tourner sous elixir/freebox.

  • Pour une version sonorisée : simon.zip (mettre le contenu du zip sur le hdd de la freebox)
  • Pour une version sans son : simon.edj (mettre directement le fichier edj sur le disque du de la freebox)

Pour l'exécuter, il suffit de parcourir son disque dur avec la télécommande, et de lancer le fichier "simon" (qui possède un icône "elixir")

Le framework elixir est vraiment plaisant, et puissant ;-), et je lui vois un grand avenir !

EDITTION 18h20

  • correction d'un bug qui empêchait la bonne saisie des touches ;-(

EDITTION 23h00

  • version francisée et relookée (mais pas sonorisé car ça bug)

EDITTION 25/11 13h30

Comments (View) Tags: elixir, ibraining
2009-11-17 15:01:06

GG in Go language

Finally, I released a version of gg in the go language. It's work as gg.py, but uses commandline flags to do a little more (verbose/clear/don't run/full build).

see more

Comments (View) Tags: go
2009-11-15 15:55:59

Google Go language and the GG builder

Just a quick&dirty builder for go language projects, using the marvelous yaml language. It's named "GG", and it's full of magics. And it let me build my go projects easily, so perhaps it will help you too. It's just a proof of concept, because I don't like make and makefiles, perhaps because all my editors use spaces instead of tabs ;-). I'm pretty sure that GG is not as powerful as make ;-), and it miss some flags in the GG command line (but perhaps in the future ?!). Patches are welcome ;-)

3 modes :

Run one file

gg.py file.go

Will simply compile, build (executable named file) and run the executable.

Run shebang project

"shebang project", because you can declare your construction in the first line of your script ... using the yaml one line syntax :

if your script file.go starts like that :

//gg:{exe: file.go, module.a: f1.go f2.go f3.go}
package main
...

and you run :

gg.py file.go

Will create the "module.a", using fX.go files. And it will build the executable exe with file.go, and run it.

Of course, you can build many executables (or none) or many packages or none. But GG will run the executable only if there is only one !

Run makefile project

If you dont like the bang project, or don't wan't to repeat your construction. You can create a simple yaml file, "makefile.gg" like that :

my_exe:
   f1.go
   f2.go

module1.a:
   g1.go
   g2.go

module2.a:
   h1.go

and run GG like that:

gg.py makefile.gg

Notes

  • It uses your GOARCH/GOBIN environment variables !
  • It needs pyyaml !
  • Released under the terms of the BSD License

Download BUT Now GG is available in the go language

Comments (View) Tags: go
2009-10-14 05:56:27

Sending mails to GAE

The new release 1.2.6 of the GAE SDK is out. It brings the receiving mail feature ;-). I could talk to my site by mails, in a natural way (no more use of the great external smtp service). It's a good news !

The other great feature is the app's delete. But I will never use it ;-)

Comments (View) Tags: gae
2009-10-10 14:32:55

Totem Plugin Flux 0.3, et serveur central de flux.

Une nouvelle version qui diffère pas mal de la précédente au niveau fonctionnement interne. Maintenant, les flux des podcasts radio/videos (france inter, rtl, ... et C+) sont récupérés sur un serveur web, et non plus en local. Le plugin se connecte à ce serveur pour obtenir les flux disponibles. L'avantage c'est que les flux sont parsés et vérifiés chaque jour, à un endroit unique. Ainsi, pour rajouter des flux, il me suffira de les rajouter côté serveur, et tous les clients ayant le plugin flux sous totem pourront en bénéficier automatiquement des màj.

Canal+ ayant changé récemment ses flux, le plugin ne fonctionnait plus correctement pour ces derniers. Et ce n'est toujours pas le cas, car Canal+ est passé au protocol RTMP. Par conséquent, il faudra attendre que totem dispose d'un plugin RTMP pour avoir lire les podcasts C+ ;-(. Ce plugin n'existe pas à ce jour, mais dès qu'il sera présent (et installé chez vous), tout devrait refonctionner comme avant ;-).

Si jamais vous êtes intéressés par obtenir ces flux (sous forme d'api ou au format json), merci de me contacter. Car il est fort probable que les urls serveurs changent sous peu.

EDIT : Et hop, une version 0.3.1 qui corrige le prob des playlists youtube, tout fonctionne maintenant (modulo un hypothétique plugin rtmp ;-)

Comments (View)
2009-10-05 20:46:38

grun 0.14

The 0.14 release is out ! There was a big bug in the grun decorator, it should be fixed now. The conf file can be placed in the root app, useful to put grun's apps on usb-key.

Comments (View) Tags: grun
2009-10-03 11:17:31

Another bugfix for grun

Here comes the 0.12 release ! Now, grun.popup should work as expected on microsoft's platforms too.

I've uploaded new grun tests too, now they are up-to-date for 0.11/0.12 releases ! And updated the grun's doc a little bit ;-)

Edit : the 0.13 is out

Comments (View) Tags: grun
2009-10-01 21:47:19

Grun 0.11

A new version which contains some fix (changelog on pypi), and some improvements :

  • a clipboard manager : to have access to the textual content of the clipboard.
  • popup can now have submenus. And can handle selectable values.
  • new/clean syntax grun.popup() / grun.form(), to remove the named arguments.
  • and for tk widgets : text widgets have scrollbars, combobox is a lot better (the tk real one), and popup menu should work like expected (no more close item)

The grun's doc is up-to-date, but miss some big parts yet !

Comments (View) Tags: grun
2009-09-28 19:50:49

Grun, first public release

Grun stands for "Gui Run'ner". It's a python module which is able to turn methods into GUI forms, with a simple decorator. It brings some nifty things to make your script "bling-bling" too (messagebox, prompt, progressbar, popup menu, icon app, config backend ...).

In fact, it's a swiss-knife for making simple frontends for python scripts. It works on all platforms using tkinter, and can use pygtk when available.

It's the first public release, so it should contain bugs. I will try to make it "rock solid", and will release a python3 version too.

Comments (View) Tags: grun
<< oldest newest >>

Tags

RSS Python Powered Get Ubuntu
©opyleft 2008-2017 - manatlan