Better HN
topnewbestaskshowjobs
Log inSign up

teleyinex

20 karma · joined Feb 27, 2014 (12y ago) · 25 submissions

Submissions

comment 9mo ago · link · parent

A short story about how Claude improved my keyboard

2.

I let Claude improve my keyboard's firmware(daniellombrana.es ↗)

2 points · by teleyinex · 9mo ago · 1 comment

comment 3y ago · link · parent

In this blog post I compare two of the most interesting decentralized social protocols that are growing within the web3 community. Check the similarities, what's best, what's worst and which one might be the best one.

4.

Farcaster vs. Lens Protocol(paragraph.xyz ↗)

1 points · by teleyinex · 3y ago · 1 comment

5.

Full Text Search: A Simple Guide for Your Static Site(daniellombrana.es ↗)

3 points · by teleyinex · 7y ago · discuss

6.

Visualizing the Air Quality with Lambda Functions(daniellombrana.es ↗)

1 points · by teleyinex · 7y ago · discuss

7.

Migrate your Jekyll site to NuxtJS(daniellombrana.es ↗)

2 points · by teleyinex · 7y ago · discuss

8.

Capturing and analyzing data with the crowd

2 points · by teleyinex · 8y ago · discuss

9.

Crowdsourcing workflows with PYBOSSA(scifabric.com ↗)

2 points · by teleyinex · 8y ago · discuss

10.

Building Static Websites with Jekyll, VueJS and Bulma(scifabric.com ↗)

3 points · by teleyinex · 9y ago · discuss

11.

Cracking down on political corruption with data journalism(scifabric.com ↗)

4 points · by teleyinex · 10y ago · discuss

12.

DIY atomic force microscope(scifabric.com ↗)

11 points · by teleyinex · 10y ago · 2 comments

13.

17000 Volunteers Contribute to a PhD(daniellombrana.es ↗)

2 points · by teleyinex · 11y ago · discuss

comment 11y ago · link · parent

You only have to add a new daemon/process. Then you'll have this graceful reloading feature ;-) From my point of view is has less impact than booting a new container.

comment 11y ago · link · parent

Thanks! I'll have a look again :-)

comment 11y ago · link · parent

Hi,

Not really. That's why we love so much uwsgi. All you have to do is to add a new config file for your zerg server, and you are done. This is handled without problems by supervisor and we've never experienced an issue with it.

I've another blog post about our full infrastructure, explaining specifically why we love uwsgi + supervisor. Because we don't need extra software within our stack and everything is pretty simple and runs on Python :D

comment 11y ago · link · parent

Yes, you are right. But, IMHO the solution is really simple. In your supervisor config you ony add this option and everything works as expected:

stopsignal=QUIT

We're using it and no problems so far. Simple!

comment 11y ago · link · parent

The basics are really well covered. Then, the more advance stuff is "a bit more complicated". In any case, that's why I've written some blog posts about advance uwsgi configurations that we use in production systems like Crowdcrafting.org

19.

Graceful reloading with zero downtime for web apps(daniellombrana.es ↗)

19 points · by teleyinex · 11y ago · 13 comments

20.

Crowdsourcing translation of Gettext projects with open source PyBossa(daniellombrana.es ↗)

3 points · by teleyinex · 11y ago · discuss

comment 11y ago · link · parent

I'm the project lead of Crowdcrafting (powered by PyBossa) with 21.7k lines of code written in Python.

Our stack in Crowdcrafting is fairly simple in terms of hardware (we've two servers with 2 GB of RAM each and only 2 cores, while the DBs have 4 GB of RAM with 4 cores). You can read more about it here: http://daniellombrana.es/blog/2015/02/10/infrastructure.html

In my experience the problems that we've had are always related about how we develop, not the technologies. One of our ways of solving problems is avoiding increasing the resources of the hardware as it will "hide" the real issues of your software. Thanks to this approach we were able to store more than 1.5 records per second over a period of 24 hours in 2014 with a DB running on less than 1GB of RAM and our servers with 2GB of them. It worked really well! (Actually after that our provider called us to expend more on our hardware).

Our platform is designed to scale horizontally without problems. We use a very simple set of technologies that are widely used, and we try to use very simple libraries all the time. This has proven to us to be very efficient and we've managed to scale without problems.

We heavily test and analyze our software. This is mandatory. We've almost 1000 tests written covering 97% of our code base. We also analyze the quality of our code using a third party service and we've an score of 93%, and this helps people to help sending patches and new developers joining the platform.

Right now our servers are responding in less than 50ms in average, and we are not even using Varnish (check out this blog post: http://daniellombrana.es/blog/2015/03/05/uwsgi.html). Thus, yes Python is a good language, it can scale, and if you usually have a problem it will be basically in your own code. Hence debug it!

Cheers,

Daniel

22.

Autodeployments for your GitHub project(daniellombrana.es ↗)

4 points · by teleyinex · 11y ago · discuss

23.

Crowdcrafting: a Python Flask stack(daniellombrana.es ↗)

4 points · by teleyinex · 11y ago · discuss

24.

ISS earth night photos Crowdsourced For Science with Crowdcrafting.org(nasa.gov ↗)

3 points · by teleyinex · 12y ago · discuss

25.

Is reinventing the wheel really bad?(daniellombrana.es ↗)

0 points · by teleyinex · 12y ago · discuss