[Vala] New data API written in Vala

2016-07-22 Thread Guillaume Poirier-Morency
I thought it might interest some of you.

We recently launched a data service built upon Valum, the micro-
framework I've been working for quite a moment already.

http://mirbooking.major.iric.ca/

It's alpha and the job API is still in progress, but it can give you a
nice idea of what one can build with Vala.

Here are the technologies backing the service:

 * libgda-5.0 with MySQL
 * SAGA-GLib (still in progress)
 * TORQUE and GXml for the SAGA backend
 * Swagger for the specification
 * JSON-API to format payloads using JSON-API-GLib
 * Bump for its really handy ResourcePool to manage Gda.Connection
   objects
 * Docker

The data service will also be available in MessagePack as I am working
on a Json.Node serializer.

If you have any questions or feedback, don't hesitate!

P.S. Be kind and mail me if you find any bugs ;)

-- 
Guillaume Poirier-Morency 

Étudiant au baccalauréat en Informatique à l'Université de Montréal
Développeur d'application web

Mon blog: https://arteymix.github.io/
Mon projet de coopérative: https://pittoresque.github.io/
Clé PGP: B1AD6EA5

signature.asc
Description: This is a digitally signed message part
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] ORM For Vala?

2016-07-22 Thread Gergely Polonkai
Other than mine that I've just started porting to GOM, no I don't, sorry.
It worths a try to compose a nice query string on GitHub maybe
(language:vala GOM or something similar)

Best,
Gergely

On Jul 22, 2016 13:21, "Adam Tauno Williams"  wrote:

> On Thu, 2016-07-21 at 16:50 +0200, Gergely Polonkai wrote:
> > You may want to check GOM, too: https://github.com/GNOME/gom
>
> Do you know of a Vala application using GOM?
>
> I've search around and haven't been able to find anything.
>
> --
> Adam Tauno Williams  GPG D95ED383
> Systems Administrator, Python Developer, LPI / NCLA
>
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] How small can you go with Vala? Was: Just a news I've read about popularity langage

2016-07-22 Thread Al Thomas



 
  From: Dr. Michael Lauer 
 Sent: Friday, 22 July 2016, 15:42
 Subject: Re: [Vala] Just a news I've read about popularity langage
   
> As an embedded system engineer I see huge potential using Vala in embedded
> Linux, it has not the runtime drawback of python and java, and is way
> simpler to use than C++, while C# has no porting to ARM.

Yes. Unfortunately though the very useful POSIX profile has been removed from 
VALA
and no substitute has been added.

With a bit of work you could code without any dependency on GLib/GObject.The 
basic types, int, etc. , can be rebound in a new binding. See the 
glib-2.0.vapifor how int is bound to gint, etc. and then chance those to 
standard C.

Last time I tried I seem to remember a problem with valac when using 
--nostdpkgSo that may need to be fixed first.
On IRC someone said they were using musl instead of glibc for Vala programs.
Not using GLib would still have the advantages of namespaces, compact classes 
andVala's assisted memory management for bindings. So the loss of the Posix 
profileis not such a great loss, it depends on what you are trying to achieve. 

If you want more sophisticated features like async have a look 
at:https://github.com/apmasell/avr-vala
On the other hand a few megabytes for GLib is not a lot for modern 
"embedded" systems running a linux distro.
Al

   
 
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Marketing/Documentation, was Just a news I've read about popularity langage

2016-07-22 Thread Al Thomas

 
  From: rastersoft 
 To: vala-list@gnome.org 
 Sent: Friday, 22 July 2016, 15:06
 Subject: Re: [Vala] Just a news I've read about popularity langage
   
URL, please?


My understanding is the "new vala documentation page" 
is:https://elementary.io/docs/code/getting-started/and this is already linked 
to from:https://wiki.gnome.org/Projects/Vala/Documentation
The Elementary OS team did a very nice re-styling of Valadoc.organd as a follow 
on from that started a new website:https://github.com/eustasy/vala-lang.org
This is a small brochure site in the same styling as valadoc.orgI don't believe 
it has the capabilities to meet the demands of atechnical documentation site 
required by Vala/Genie.
There was also the issue of governance of the domain name, vala-lang.orgThis 
was registered to an individual. Six months later we can now see that 
http://www.vala-lang.org/
redirects to http://cedahealth.com/ ,so the issue of who owns the domain nameis 
important.
It was also discussed on IRC that having both vala-lang.org and 
vala-project.org 
was pointless. The vala-project.org domain can easily be redirected to a new 
website if oneis donated to the community. 



El 22/07/16 a las 14:18, Ben Iofel escribió:
> I'm sure the guys at elementary.io would love to help with marketing. They
> started a new vala site and new vala documentation page
>

   
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Dr. Michael Lauer
> As an embedded system engineer I see huge potential using Vala in embedded
> Linux, it has not the runtime drawback of python and java, and is way
> simpler to use than C++, while C# has no porting to ARM.

Yes. Unfortunately though the very useful POSIX profile has been removed from 
VALA
and no substitute has been added.

:M:


___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread rastersoft
URL, please?


El 22/07/16 a las 14:18, Ben Iofel escribió:
> I'm sure the guys at elementary.io would love to help with marketing. They
> started a new vala site and new vala documentation page
>
> On Fri, Jul 22, 2016, 7:47 AM Felipe Lavratti  wrote:
>
>> As an embedded system engineer I see huge potential using Vala in embedded
>> Linux, it has not the runtime drawback of python and java, and is way
>> simpler to use than C++, while C# has no porting to ARM.
>> On Fri, Jul 22, 2016 at 08:25 Adam Tauno Williams 
>> wrote:
>>
>>> On Fri, 2016-07-22 at 09:58 +0200, Ulink wrote:
 Am 2016-07-21 um 23:56 schrieb Dev_NIX:
 One question: is there a "standard" Vala library/classes?
 Of course: GLib (and others), simply look at
>>> Agree.  This is one of the appealing aspects.  GNOME already provides a
>>> rich set of proven libraries.
>>>
>>> Downside is the documentation can be thin - and assume a *lot* of
>>> prerequisite knowledge.  It seems to have the attitude: here is the
>>> method signature, all else is obvious... Duh!
>>>
>>> --
>>> Meetings Coordinator, Michigan Association of Railroad Passengers
>>> 537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
>>> E-mail: awill...@whitemice.org GPG#D95ED383 Web: http://www.marp.org
>>>
>>>
>>> ___
>>> vala-list mailing list
>>> vala-list@gnome.org
>>> https://mail.gnome.org/mailman/listinfo/vala-list
>>>
>> --
>> Skype: felipeanl
>> ___
>> vala-list mailing list
>> vala-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/vala-list
>>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>

-- 
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Ben Iofel
I'm sure the guys at elementary.io would love to help with marketing. They
started a new vala site and new vala documentation page

On Fri, Jul 22, 2016, 7:47 AM Felipe Lavratti  wrote:

> As an embedded system engineer I see huge potential using Vala in embedded
> Linux, it has not the runtime drawback of python and java, and is way
> simpler to use than C++, while C# has no porting to ARM.
> On Fri, Jul 22, 2016 at 08:25 Adam Tauno Williams 
> wrote:
>
> > On Fri, 2016-07-22 at 09:58 +0200, Ulink wrote:
> > > Am 2016-07-21 um 23:56 schrieb Dev_NIX:
> > > One question: is there a "standard" Vala library/classes?
> > > Of course: GLib (and others), simply look at
> >
> > Agree.  This is one of the appealing aspects.  GNOME already provides a
> > rich set of proven libraries.
> >
> > Downside is the documentation can be thin - and assume a *lot* of
> > prerequisite knowledge.  It seems to have the attitude: here is the
> > method signature, all else is obvious... Duh!
> >
> > --
> > Meetings Coordinator, Michigan Association of Railroad Passengers
> > 537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
> > E-mail: awill...@whitemice.org GPG#D95ED383 Web: http://www.marp.org
> >
> >
> > ___
> > vala-list mailing list
> > vala-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/vala-list
> >
> --
> Skype: felipeanl
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Felipe Lavratti
As an embedded system engineer I see huge potential using Vala in embedded
Linux, it has not the runtime drawback of python and java, and is way
simpler to use than C++, while C# has no porting to ARM.
On Fri, Jul 22, 2016 at 08:25 Adam Tauno Williams 
wrote:

> On Fri, 2016-07-22 at 09:58 +0200, Ulink wrote:
> > Am 2016-07-21 um 23:56 schrieb Dev_NIX:
> > One question: is there a "standard" Vala library/classes?
> > Of course: GLib (and others), simply look at
>
> Agree.  This is one of the appealing aspects.  GNOME already provides a
> rich set of proven libraries.
>
> Downside is the documentation can be thin - and assume a *lot* of
> prerequisite knowledge.  It seems to have the attitude: here is the
> method signature, all else is obvious... Duh!
>
> --
> Meetings Coordinator, Michigan Association of Railroad Passengers
> 537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
> E-mail: awill...@whitemice.org GPG#D95ED383 Web: http://www.marp.org
>
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
-- 
Skype: felipeanl
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Adam Tauno Williams
On Fri, 2016-07-22 at 09:58 +0200, Ulink wrote:
> Am 2016-07-21 um 23:56 schrieb Dev_NIX:
> One question: is there a "standard" Vala library/classes?
> Of course: GLib (and others), simply look at

Agree.  This is one of the appealing aspects.  GNOME already provides a
rich set of proven libraries.

Downside is the documentation can be thin - and assume a *lot* of
prerequisite knowledge.  It seems to have the attitude: here is the
method signature, all else is obvious... Duh!

-- 
Meetings Coordinator, Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awill...@whitemice.org GPG#D95ED383 Web: http://www.marp.org


___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] ORM For Vala?

2016-07-22 Thread Adam Tauno Williams
On Thu, 2016-07-21 at 16:50 +0200, Gergely Polonkai wrote:
> You may want to check GOM, too: https://github.com/GNOME/gom

Do you know of a Vala application using GOM?  

I've search around and haven't been able to find anything.

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA


___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Ulink
Am 2016-07-22 um 11:07 schrieb mar...@saepia.net:
> I think Vala needs a bit of "marketing" (quotes intentional).

Yeah, I agree ultimately! Without quotes!

Exaggerated: Vala is used widely, but no one knows about.

For example, some month ago, I took a look at the gnome-calculator C
source.
And what a surprise: it looked very familiar to me, tons of _tmp_
variables: Of course Vala created C source.


-- 
Bernhard
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread mar...@saepia.net
I think Vala needs a bit of "marketing" (quotes intentional).

It has to become known in the developers community as a good fit to resolve
problems within certain domain. I personally find it extremely useful for
doing multimedia stuff thanks to GStreamer. There are probably several
other "classic" areas in which Vala is superior to other solutions.

That should be clearly advertised on the proper website of Vala (now
there's only live.gnome.org/Vala which I don't think is encouraging in any
way, despite having a good content).

Look at another growing language: http://elixir-lang.org/ The first
sentence is

Elixir is a dynamic, functional language designed *for building scalable
and maintainable applications*.

They clearly define their "market".

m.

2016-07-22 10:04 GMT+02:00 Ulink :

> Am 2016-07-21 um 21:52 schrieb Adam Tauno Williams:
>
> > That is my greatest fear in picking up Vala.
>
> My fears are not that big because of the nature of the "binding": VAPI.
>
> Im using Vala now for two years for several projects and did not
> encountered any real LANGUAGE bugs.
>
> And creating or fixing VAPI bindings is relatively easy, this is the key
> point I think.
>
> --
> Bernhard
> ___
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Ulink
Am 2016-07-21 um 21:52 schrieb Adam Tauno Williams:

> That is my greatest fear in picking up Vala.

My fears are not that big because of the nature of the "binding": VAPI.

Im using Vala now for two years for several projects and did not
encountered any real LANGUAGE bugs.

And creating or fixing VAPI bindings is relatively easy, this is the key
point I think.

-- 
Bernhard
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Ulink
Am 2016-07-21 um 23:56 schrieb Dev_NIX:

> One question: is there a "standard" Vala library/classes?

Of course: GLib (and others), simply look at

http://www.valadoc.org/#!wiki=index


-- 
Bernhard
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list