Latest posts

In this article, we will see how to setup a django project with a uWSGI server for production usage. In the past I have only been using the internal development server provided directly in django for my test projects, but that development server should definitely not be used in production: instead, setting up a wsgi connection behing a proper web server such as Apache or nginx seems to be the recommanded way to proceed for production setup.

Also, in the process, I'm also now using a MariaDB backend for the database instead of a simple sqlite3 database: again, this seems to be the recommended path in production, so we will see how to set this up too.

→

2020/08/30 16:55

So after my last session trying to add more folders as input for the nvCore bindings generation I eventually realized that there was something fondamentally wrong in the way I was handling “types”. This lead me to a large refactoring session and now we will review in this article the major changes introduced and the problems fixed in the process.

→

2020/08/07 13:56

In this long and terrifying blog post, I was basically just trying to send all the input folders I have as headers in my nvCore module for binding generation with nervluna… trying to add the folders one by one and fixing the problems as their occur progressively. That was really tedious :-) And desperating… And frustrating… But anyway: not much choice here: if I want to build something usable, then I should at least be able to generate the bindings for a single of my existing module, no ?! [and actually, that would only be the “beginning” lol]

In the end, I got all (well, “almost all”) headers parsed, and the binding generator was not crashing anymore. Yet, the resulting code is still not compiling because I'm facing some issues with the type names etc. But I really think I should keep that part for another article, so more on this in another episode ;-)

So, not sure anyone would find it interesting to read the following, but at the very least, I can keep this as reference in case I need to remember why I did something somehow etc.

→

2020/07/28 08:00

I desperately need a way to render SVG content quickly to PNG or another raster format to generate a logo. But I couldn't find any free tool online to achieve that. This makes me terribly angry at the world… lol… and at the same time this is giving me enough energy to try to build that missing app myself! ;-). Let's get to work!

→

2020/07/09 17:43

So today we continue with our NervCode project implementation: so far we have only implemented some minimal support to display our “function objects”, with default names such as “function1”, “function2”. But one thing we will need very quickly is the support to accept more user inputs, such as keyboard inputs.

Yet, one of the key idea in this project is to get rid of the standard inputs mechanism with “keyboard and mouse” and try to provide an alternative solution that would be more “mobile friendly”. And thus, what I have in mind concerning this point is to provide some kind of “Virtual keyboard” around the user location when needed, so that we could keep typing characters even if there is no keyboard available. Let's see how we could implement this…

→

2020/07/07 06:25

In our previous article we discussed the initial construction of the HomeCtrl project. The result of that is that currently, anyone sending a post request to the correct URL mentioned in that other article could basically trigger the opening of our entrance gate. [OOooopss…]

Clearly, from a security perspective, that is not so good ;-) So I was thinking we could try to do something about it here…

→

2020/07/01 09:02

Okay so, there is a “little home project” I would like to quickly setup here: we are currently using remote controls to open/close our entrance gate [just as most people do!]. But now I'm thinking I could try to push this a bit further and implement a custom mechanism to control the opening of the gate from the Internet éh éh éh [I know: not the most secured thing to do on earth, but we'll get back to that point another day].

If I can do that, then I could create a minimal android app that I could install on our family phones to open/close the gate with a simple button press! That would be great [and fun at the same time]… So where should we start ?

→

2020/06/30 17:24

Older entries >>

Blog History

2017-09: 7 entries 2017-11: 1 entry 2018-12: 6 entries 2019-01: 5 entries 2019-02: 2 entries 2019-03: 9 entries 2020-12: 1 entry 2020-04: 5 entries 2020-06: 10 entries 2020-07: 5 entries 2020-08: 2 entries

  • blog.txt
  • Last modified: 2020/07/10 12:11
  • (external edit)