Skip to main content


 

Friendly dev news


Immagine/foto


New version of #Friendly, the ~friendica ~friendica client for #SailfishOS , is coming.

With improved layouts (no more long text out of page boundaries!) and support for private messages, and release on OpenRepos!

Code here https://kirgroup.com/projects/fabrixxm/harbour-friendly/pms/

It's almost ready, needs some small fixes. It's a good time to submit translations :-D
#friendly #sailfishos blog friendica

As I currently have a problem with the SDK, could you make a screenshot of the PostDetailsPage in action so I can get the context of the Labels?


I really don't like the universal usage of "likes" :-)

Do you know if plural forms for Qt translations exist?

I'm not sure. We can change the label. Any suggestions? "liked by" ?

I was more thinking of the other strings of the form "% likes" which could use some singular/plural distinction.

For the labels I just kept the original for this page.

As per docs here http://doc.qt.io/qt-5/i18n-source-translation.html#handling-plurals it's possible to use "%n label(s)" . I'll see if this works also in QML...

I did not see anything in this direction in the Linguist, hence I was wondering.

After a quick test, I can do in qml qsTr("%n like(s)", "", model.like), and the ts file will handle plurals.
Question is: what about "attend", "not attend" and "maybe attend"?
What's the best way to handle them in English? (dealing with the fact that "1 person not attends" is too long)

would be "1 not attends", "2 not attend" correct? making the base string "%n not attend(s)" ?

The same I think. 1 attendee, 2 attendees in Germany 1 Teilnehmender, 2 Teilnehmende.

Due my problems with the SDK I could not check if my translations are too long. But I'll check after the release and send you an updated resource file ;-)

But what about "not attend" and "maybe attend"? "1 not attend", "2 not attend" ... "1 not attendee", "2 not attendees" .. sounds wrong...
Or let's scrap the strings and use icons! :-D

It's not that important, for now I think. In German I would count the "Absagen" (Rejections ?) for not attending. Maybe attending is more complicated.

@Tobias
I've updated the strings to "%n like(s)", "%n dislike(s)", etc.. Qt Linguist should give you the possibility to enter singular and plural forms.

Ok, I'll have a look later!

In Friendiqa I have name+ will (not) attend for singular and number+ persons will attend for plural. Thats also easy to translate...



 

Laravel Queue Systemd service


Here a .service file to keep laravel queue worker running with systemd

---

[Unit]
Description=Laravel Queue

[Service]
Type=simple
ExecStart=/usr/bin/php /full/path/to/artisan queue:work -vv
Restart=always
User=www-data
Group=www-data


[Install]
WantedBy=multi-user.target

---

Save it as /etc/systemd/system/laravel-queue.service
Put your actual full path to artisan command
then run

# systemctl daemon-reload
# systemctl enable laravel-queue
# systemctl start laravel-queue
blog php
Questa voce è stata modificata (7 mesi fa)


 
Primo raccolto di taccole dall'orto dei principianti
Immagine/foto

con l'aiuto di questo piccolo amico di passaggio
Immagine/foto

#orto
#orto blog


 

How MySQL was eating my disk space


Yesterday I tried to login in Friendica, but all I got was a "500 Server error".
On this server I run also an ownCloud instance. Same 500 error.

After a quick check, turns out that my disk space was 100% used [0].
First thought: too much data on my ownCloud files.
I downloaded them an deleted form server. Not too much, but things started to works again.

As I was considering options to upgrade my server, this morning again "500 Server error".
A more in-depth search lead me to the 5.4G folder "/var/log/mysql", fill with " mariadb-bin.\d+"[1] files.
Many of them was dated in last 4 days.

Google told me that those are MySQL's binary logs, used mainly for replication.
And that if I don't need replication, I can safely remove and disable them

Four days ago I created an account on ownClout to my dad to sync his contacts from Thunderbird to his android tablet.

Now I'm back to my usual space usage of 28%. I can re upload my files back in ownCloud :-)


#0: Yes, I could deploy some monitoring system. But then I lost all the surprises!
#1: "\d+" as in regular expression: one or more digit
blog


 
Buone notizie:
la fuga dei cervelli dall'Italia si sta fermando.

Cattive notizie:
stiamo finendo i cervelli.
blog


 

Bisciola


Ingredienti

  • farina 00 g 200 più un po’
  • fichi secchi g 100
  • uvetta g 100
  • gherigli di noce g 100
  • latte g 100
  • nocciole tostate g 60
  • farina di segale g 50
  • burro g 40
  • zucchero g 40
  • pinoli g 20
  • lievito di birra g 12
  • 2 tuorli
  • grappa
  • sale



Preparazione
Mescolate le due farine e il lievito sbriciolato, poi impastateli con il latte, il burro, morbidissimo, lo zucchero, 1 tuorlo e un pizzico di sale.Ammollate l’uvetta in acqua con 2 cucchiai di grappa, poi strizzatela. Sminuzzate i fichi e tritate grossolanamente pinoli, noci e nocciole. Incorporate tutta la frutta secca alla pasta, lavorandola su un piano infarinato (non preoccupatevi se risulterà compatta e umida).Disponete l’impasto su una teglia coperta di carta da forno dandogli una forma di grosso filone, copritelo con un telo umido e lasciatelo lievitare per 3 ore.Dopodiché pennellatelo con 1 tuorlo battuto e fatelo lievitare per un’altra ora. Infornate infine la bisciola a 170 °C per 40' circa, quindi sfornatela e lasciatela raffreddare.
ricette blog
Anche se, per poter veramente dire "piace" dovrei assaggiare :D



 

Trapano avvolgifilo


Ieri sera ci siamo trovati nella necessità di svolgere un filo da un rocchetto e avvolgerlo su un'altro.
Dopo una decina di minuti durante i quali l'abbiamo fatto a mano, con scarsi risultato, abbiamo trovato una soluzione migliore:



Attrezzatura

  • Avvitatore (o trapano, per maggiori velocità)
  • Matita IKEA (o matita usata)
blog
Eh no.. fa girare solo il rocchettino che usa sotto...



 

Sulla questione GNOME-Groupon


Di sicuro avrete letto in questi giorni della questione tra GNOME Foundation e Groupon. Quest'ultimo sta preparando un prodotto nuovo, chiamato "gnome", fondamentalmente un POS, closed-source. Ovviamente i ragazzi della GF si sono un attimo risentiti che qualcuno volesse registrare un prodotto tecnologico hardware-software chiamato come l'amato/odiato desktop. E' partita una chiamata alle armi per una raccolta fondi, chiamata che ha avuto un buon successo, sia come raccolta fondi, sia perché Groupon è tornata sui propri passi e ha deciso di cambiare il nome del prodotto.

Ora che la cosa si sta risolvendo, i commenti non mancano e molti mi lasciano perplesso.
Il primo è "ora che hanno raccolto dei soldi per questo, cosa se ne faranno?".
Dice http://www.gnome.org/groupon/:
If we are able to defend the mark without spending this amount, we will use the
... mostra di più
#intro #gnome blog gnome


 

Ferie


Da domani fino al 20 saro' in giro con la tenda, destinazione Gargano. Saro' per lo più sconnesso, ma vedro' di mandarvi qualche foto se fate i bravi!
Ciao!

From tomorrow to August the 20th I will be on holidays and off-line :-)
Ciao!
blog


 

A new home for my web apps


Somebody will remember my domain problems last November (1,2,3). At the end I got a .net domain which has been unused until now.
Here is it: kirgroup.net, the new home for my web apps

Kirgroup: KIRGroup.net - wep apps

KIRGroup.net Web apps


Just a quick homepage with bootstrap and wildcard subdomains to host apps.
Next I want to add a simple "deploy with Git" system...
blog
Questa voce è stata modificata (4 anni fa)


 

Who's our next bad guy


Everywhere (and for "everywhere" I mean "on hacker news") I read news about the new Mozilla CEO, how he is evil, how bad he is and everything he touch, because once he spent his money to support California’s Proposition 8 (a ballot initiative against same-sex mariages) some years ago.
Some sites (starting with dating site OkCupid) showed a message to Firefox users asking them to change their browser because this.
And more and more I'm reading posts about "how I switched to chrome because of new Mozilla CEO".
Now, read this slowly:

Google is still into NSA mess. Chrome is Google's product.

(reread as needed)

I think all this noise is also bad for LGBT community: fight hate with hate? You're on the right way, sure...
blog