News
Home Home Contact us Contact
home News Projects Tests Files Follow manatlan on Twitter Sign in
2017-09-15 14:48:30

SSL and pixels

Great News : SSL for custom domains on AppEngine !

Now, this site is on HTTPS ;-)

I planned to migrate it on another hosting service (for ssl capacities), thanks to AED, because it makes it simpler. But I cancel this idea; it will stay on gae !

Here is a new app : wall pixel maker, for smartphones and desktop. It's a multi users online painter ! It's fun for many people, and for kids, to be able to paint online (it use websockets (not on gae ;-( ).

My next websocket thing will be for Atomic Bombers.

Comments (View) Tags: gae
2017-07-12 21:04:25

Rationalization

After migration of all my websites (except ibraining) to Aed ...

After migration of my NAS to Aed (with a letsencrypt SSL certificate behind a nginx in reverse proxy.

I'm migrating this website under AED : it's clearly finished (this post is posted thru this website running under AED ... it's a test ;-)). But I need to do more tests ;-) (and jbrout/abombers subdomains need more work ;-( ).

I've found some bugs on AED (need to fix them); it was not easy to migrate this !

But it's definitively a big change ! AEWeb is dying, tempita still work under AED, and some things won't be migrated (my xmpp's bot, my appjet editor, but they were not public).

It's time for rationalization !

Comments (View)
2017-06-14 16:06:33

my editor "in-the" is dead

All my main websites (except this one, ibraining & manatlan.com subdomains) have been migrated to my new AppEngine Editor, codename "Aed" (like ahead). The "In-the" editor is dead. But the new one is far far far better ; logic, it's the second iteration. And I always plan to release the sources on github (need some work yet).

scratch-me a pwa for scratching, cave-pilot a pwa game, in-the for my app tests, on-the for aed's dev & units tests & tmanatlan for my finished websites.

It's pretty cool to be able to modify them thru a simple browser, anywhere in the world ;-)

Comments (View)
2017-05-31 18:24:28

No more angular ... Vuejs is better ;-)

Vuejs is really good. The more I practice, the more I like. It comes with the best features of riotJS : lightweight, speed, easy to start .. and brings better : great robustness, better ecosystem, two ways binding, event modifiers. With riotjs, you can quickly create things that can be un-maintainable (if you don't respect a guideline, because there are many ways to do a same thing ! (with great power comes great responsibility)). Vuejs is less magic, but come with a good and simple frame (I like props, data, computed, watch, methods compartments) ...

In fact, I've completely rewritten My Web Editor with VueJS ... and I plan to release it on github (need some rewriting).

Today, I've migrated all tmanatlan's things under this new web editor, here (but nothings is publically available now, but you can if you know the urls ;-) ) ! Now I can edit all theses things with the embedded web editor, just need a browser ;-)

VueJS is really robust, and apps are easier to maintain ! AngularJS will not be my main choice for quality products. The vuejs ecosystem is enough ! I will continue to use riotjs for specifics things, but VueJS will become my main tool !

EDIT: scratch-me was migrated too ;-) ... Only boy doesn't work (but like yesterday ;-)... will correct soon ;-)

Comments (View)
2017-05-08 15:40:51

VueJS is fun !

VueJS is fun ! It's what angular2 should be ! It takes the good ideas from angular1 and react. It's nearly the perfect framework ! And there is a nearly perfect material design UI : Vue material (not as good as material angular)

I've made a front end for my recalbox libs, which is speedier than my old one (which was in pure js ;-)

I like it, but not more than riotjs3 and its router tag. It miss single file component ! In fact, it exists (.vue), but only with nodejs/browserify ;-(.

But I will consider it for my next things, when I need a material UI (in place of angular1). Coz there aren't any good UI libs for riotjs. And VueJS is a more robust than riotjs/

Comments (View)
2017-03-19 15:13:07

The Recalbox is perfect

I always like retro-gaming. I've started with mame on pc, bought a dingoo a320, and 4 months ago : I bought a RaspberryPi 3b to try recalbox. It's just a linux based os for emulation, with simplicity in mind ! (and it's french project!).

It's really pleasant to play metal slug, with a ps3 gamepad ;-)

Although it's really easy to setup. It could be a pain to run some arcade games (can be hard to find compatible romsets). The simplest way is to download a ready-to-use image disk like this one "Brevit Games - Recalbox 4.0.0 Final 32GB 23 Sistemas 7000 Jogos" (you can easily find it as a torrent, google is your friend). It's a 18go zipped file which contains a 32gb image disk. But this one was made with a window [free/share]ware : imageUSB from PassMark Software ;-(. It should be really easy with a window desktop.

But it's easy to create your 32gb micro sdhc with linux. Just extract the content, and type :

sudo dd if=<fullpath_to_the_bin_file> bs=512 skip=1 of=/dev/sdX

Just replace the /dev/sdX with the path to your device, which should be unmounted ! (first time : I tried with the usb device mounted, and it fails at runtime (lot of file errors))

For info : the imageUSB's bin file is a proprietary format, but it's simple, according to this thread it just contains a 512bytes header ! So we only need to skip this block with "bs=512 skip=1".

Hope it could help someone ! (really hard to find the info, for me, so I release it)...

EDIT : It works great ! Just need to re-configure the WIFI, the gamepads, to update to the latest final (4.02). And change language to french. Regarding this compilation, there are some roms which don't work (many lynx)

Comments (View)
2017-02-08 08:11:46

Happy birthday iBraining

10 years since iBraining is Online !

No special events today ! No new games, no new version, although I remade it in an angular version, and got a riotjs version too. But I don't have the courage to change anything. Last year, I've made the responsive version for smart devices.

I'm not able to decide if it should go with angular or riotjs. I like riotjs, but theses last weeks I came back to angular, because I'm more productive with angular material.

Comments (View)
2017-02-01 11:04:31

CavePilot, finally !

Here is a playable CavePilot. It's based on my old test. It should work (with chrome or firefox) on desktop (with keys) or smart devices (with gyroscope and with chrome only)

It's Single Page Application, made with riotjs2. It's a Progressive Web App, so it can be added to home screen, and should be playable offline.

Everything was made with my online editor, in a browser, on the Paas (Platform as a Service) : Google App Engine.

I've made an android app for CavePilot. But it's just a shelf, for fun ;-). But it's a webapp, so no need to update it to get the latest release, coz I can update it whenever, with a simple browser ;-)

Regarding the game ; you should drive into caves, to reach the sun as fast as possible. It's just amazing ;-)

Levels are too simples ... so it will be harder in the future, perhaps ;-)

Comments (View)
2017-01-13 14:53:29

Kiss a rest api

I see a lot of things about python libs to help to make restful api, nowadays. Sure, hug is beautiful.

Last year, I've made my own lib for that. But since some months, I use this KISS way, and I'm really happy with it :

Server side, I create a HTTP POST endpoint (here with bottle):

@post("/server")
def serverEndpoint():
    try:
        datas=json.loads(request.body.read())
        c=lambda d: globals()["API_"+ d.keys()[0] ]( **d[ d.keys()[0] ] )
        return {"result":[c(i) for i in datas] if type(datas)==list else c(datas)}
    except Exception as e:
        import traceback
        return {"error":traceback.format_exc()}

Now, I can create a lot of serverside API (method which starts with 'API_'), example:

def API_add(a,b=1):
    return a+b

And client side, I call them easily, like this (here with angularjs, but likely the same with JS's fetch) :

$http.post("/server", {add: {a:12, b:42} } ).then( ... )

And better, within 1 http request, I can call multiple api too, like this :

$http.post("/server", [ {add:{a:36,b:29}} , {add:{a:27}} ] ).then( ... )

If I call one method, the result is in the "result" attribut of the response. If I call multiple, results are in a list in the "result" attribut of the response. If server side error, the traceback is in the "error" attribut of the response.

It's very useful in a lot of cases, and it's hard to make simpler !?

Comments (View)
2016-09-05 07:07:00

My first PWA

Here is a scratch app. Progressive Web Apps are the way to go, like I said 3 years ago, it's a different fashion. It's a lot lot better to manage the cache with a service worker than with the appcache manifest ;-).

This one doesn't use angular, neither riotjs; it's just pure javascript ;-) In an near future, "web app" won't need Cordova/phonegap to access to peripherals. All will be added as api/event thru the service worker.

Comments (View)
<< oldest

Tags

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