News
Home Home Contact us Contact
home News Projects Tests Files Follow manatlan on Twitter Sign in
2021/06/06 12:14

pye is out ;-)

Nobody was waiting for it (except me ;-) )

pye is just the main tool I use, for 8years, to develop things on the web. I always wanted to share it to the world... and now : it's real !

It's now a Docker Image named 'pye', based on the github pye !

It's wildly simpler to release it like that, because It can be tested/runned in seconds. Without a docker image, I should have to write a lot of docs to setup the full stack, and It could be very difficult to reach to run it. Here : it just works ... in a near perfect container. Multiprocessed with gunicorn, multithreaded(ASGI) with uvicorn/uvloop ... and all the stack to be able to compile vuejs python components, develop fastapi ressources, use websockets with IPC, etc ... in a "convenient" web editor.

BTW, the pye app code is "AS IS"; I use it "as this" on my nas, on my gae accounts, on my hostings providers (and can transfer app from one to others without pain). (I ddon't use the docker version yet .... but will !)

But for sure, there miss A LOT of docs, to be able, to anybody, to understand all the features added during 8years.

Comments (View) Tags: pye, gae
2019/01/02 22:06

manatlan.com quits GAE

If you see that, you are on my new hosting service (thanks alwaysdata.com !)

After many years on GoogleAppEngine : I leave ;-)

Like I said in the previous post, py3/gae is no more an option. It's a lot more expensive than the py2/gae. This website has a little traffic, and it runned well on py2/gae, under free quotas. Now, in its py3 version, it's more than $40/month ! Don't want to come back to py2 : so no other option than migrate to another hosting provider, with free quotas.

It's done, easily (thanks to pye) ! Just copied/pasted the files, and migrate my db from gcloud datastore to simple yaml files ;-)

BTW, I certainly won't release ibraining (new version) on gae/py3 ... I stop the process. I will need to find another provider too ;-)

EDIT 2019-01-03 : Everythings seems to work, and jbrout has reached its original hosting domain : jbrout.manatlan.com !

Comments (View) Tags: gae, ibraining
2019/01/02 18:06

GAE + py3 = top expensive

Happy new year 2019 ...

My new year has made a faulty start ;-) Just got the first fully facture, from Google, for this website !

December 2018 was more than 42$ ... ouchhhhh !

So I will block the facturation, and this site will be available only when under quotas ;-) Sorry for that, but I couldn't spend this each month ;-)

BTW, this site will quit GAE soon, for a cheaper hosting service ;-)

Til that, it will be available randomly, really sorry (but I don't want to put ads to pay the traffic) ;-(

Comments (View) Tags: gae
2016/05/17 20:23

Websocket on app engine : soon !

Big news ;-)

https://code.google.com/p/googleappengine/issues/detail?id=2535

"Thanks to everyone for your feedback. We recognize the importance of App Engine support for WebSockets[1][2] and are actively working on implementing this feature."

7 years later ;-)

Comments (View) Tags: gae
2014/05/01 14:46

iBraining in the angular way

I'm totally mad ... I recode iBraining from scratch. This is a big job ;-)

It was coded with GAE/python25/webpy/mako/html4/jquery ... I go with GAE/python27/bottle/html5/angularjs. And it will target desktop and smart devices.

But i'm really a big fan of AngularJS, and can't imagine to continue without it ;-)

Comments (View) Tags: ibraining, gae, angular
2013/06/14 06:51

AngularJS + WebApp on mobile platforms

Since my last post about android dev, times have changed ;-). I've made two mainstream apps. The last one reach the place #78 of the "top new free" on the playStore, during 1 day ;-)

Native apps are "fun" to developp, except the fact that I've never used newest widgets/api, cause I was targeting a large panel of android's versions. I've played a lot with Eclipse Env, and the play store console. It's amazing, but it's definitively not my cup of tea. What a pain to write so many boilerplate lines of code to make a so simple httprequest (java pain), or to parse a json object !

So, I'm back in the web development. I found something that is really interesting (and it sweet my needs), because it can cover every (html5-)platforms ;-)

Here is a recipe :

  • Take a good cloud platform, like GAE, to serve a website.
  • Code your backends using httprequests/json(p), in the CRUD style
  • Make your website with main html5 features : appcache, localStorage, canvas, workers, etc ...
  • Use and abuse of AngularJS in your html5 pages, to make a rich client side easily.
  • Code your look'n'feel with responsive design patterns (and css3), to adapt your screen to yours audiences.
  • Optionally, make phonegap bootstraps, to give better experience on some devices (ex: android, to remove the navigation bar of chrome ;-) )
  • Optionally, you can have access to peripherals thru phonegap/cordova.js.

So you can make (web)apps, which work offline (using localstorage) or online (using your json backends), which work on every platforms in the same manner, which are easier to re-deploy. Everything is not perfect yet, but it's definitively the way to go. Thanks to angularjs which provide a simple way (MVC) to create complex objects to interact with users (it's the perfect approach, while waiting for the webcomponents).

Comments (View) Tags: android, gae, angular
2013/05/31 21:12

Blind changes

I've just migrated this account in HRD(High-Replication datastore) and python2.7 on GAE ! It takes me 2hours, with heavy sweating ;-)

You don't see the changes. But there is a lot of WSGI apps under my domain (and subs), with a lot of frameworks : aeweb, webpy, bottle, ... and templates engines ;-). It was hard to dive in my old one (aeweb) ;-)

BTW, the migration process is fairly well explained. The next one will be ibraining.com.

So I will continue to test ...

BTW2, I really should update the look ;-)

Comments (View) Tags: gae
2010/12/03 10:37

Websocket in GAE

It's christmas : Great day for GAE lovers. Channels are available in GAE ! I have played since yesterday : It's amazing, and well integrated.

The SDK provides a javascript lib for the client side (which simulate websocket). But the client can't write into the socket, and need to call serverside thru ajax ;-(. Only the server side can write into it to push data for clients. APIs are low level, server side needs to maintain its clients, thru datastore.

I can start to implement web game in atomic bombers

EDIT : It seems it's not real websocket (to be able to work on every browsers, or because html5 specs is not really finnished). But it works like. Currently the JS SDK do polling for you ;-(. Hope the real websocket will be available soon !

Comments (View) Tags: gae
2010/05/14 11:26

Snippets offline and Html5

I'm a big fan of snippets concepts ;-). I'd always used snippets web sites. I'd started with dzone. I'd switched to friendsnippets.com. But this last one is dead ... and I'd switched to snipplr.com, which is a great service (with lot of external tools, and great api). But I always needed to developp my own backends, to use them offline (komodo snippets file, gsnip (popup menu for inserting snippets in an editor), html file, xmpp/mail bot...).

Now, it's over ;-) I had switched to my own, which is a app engine website, which works online and offline, and sync enabled (thanks to newest html5 features). No need to say that it fits my needs. My snippets will always be available, at least, for me ;-) ... There is now a "snippets link" at the bottom of my website.

I don't know if I will get the force to make it available for everyone too. But it's perfect for me.

Comments (View) Tags: gae
2010/04/15 16:36

Flash will die ... long live to html5 ;-)

These last days, I'm playing a lot with HTML5 features. And I really believe/hope that Adobe Flash will die. Some news like that or that go in the same way. Video platforms are on the good way, see youtube or dailymotion!

Try theses experiments in compatible browsers, or this wonderful NES emulator in full javascript ... Everything seems possible : quake2 in html5 browsers !

Websocket, webworkers and offline features are others great html5 features, to be able to replace flash ! (others html5 features on html5demos)

I play a lot with websockets in eventlet, but nothing to present here, because I'm waiting for the GAE support ;-) (don't want to setup an external websocket server). But it's really amazing to be able to communicate in the 2 ways !

I've made a little game : cavepilot using canvas (my record is 44seconds, and yours ?)! In the future, I'd like to make it two players with websocket support.

And a fun thing to make orbits !!!

Comments (View) Tags: gae
<< oldest

Tags

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