Pesquisar

Results for: dev

Fabio
3 semanas atrás
uno spettacolo essere li, peccato che era un giro guidato e c'erano troppe persone (e bambini) per goderselo come si deve
Fabio
1 mês atrás
Fabio
3 meses atrás
New Friendiqa version on github
@Friendiqa @Friendica Developers Hi there, I published a new version of the Friendiqa Android app on github. New functions are viewing of private images of friends (slow but working), a reworking of the image download, more checks on the config page, a profile page, and many bugfixes. And Italian translation thanks to Davide De Prisco. Please test it.
If I don't get any issues, I plan to publish it in the Fdroid binary repo and Google Playstore.
Cheers,


@Davide De Prisco :-D
Fabio
3 meses atrás
#python #dev #test #ttd

Microservices with Docker, Flask, and React - Behavior-Driven Development with Django and Aloe

Imagine you are a Django developer building a social network for a lean startup. The CEO is pressuring your team for an MVP. The engineers have agreed to build the product using behavior-driven development (BDD) to deliver fast and efficient results. The product owner gives you the first feature request, and following the practice of all good progr...
Fabio
3 meses atrás
Super impressed by ArgBash, a library for generating code to parse command line arguments in #bash. Well written, easy to use, and generates very correct code that handles nearly any kind of argument your script might need. Came in handy today.

Argbash: Bash argument parsing made easy

Homepage of Argbash, the utility that makes command-line argument parsing in your shell scripts easy both for you as a developer and for your script's users.


@Gruppo Linux Como
Fabio
4 meses atrás

FOSDEM 2018 - Public money, public code, the Italian way

FSFE has recently launched the campaign "Public Money, Public code”, which promotes legislation requiring that publicly financed software developed for the public sector is made publicly available under a Free and Open Source Software licence. However, under the Italian Digital Administration Code, we already have a provision (amended in 2016) wh...


:facepalm

#fosdem2018 #digitalitaly #publicmoneypubliccode
Fabio
4 meses atrás

Lohner-Porsche - Wikipedia

The Lohner-Porsche Mixte Hybrid (sometimes wrongly referred to as Löhner-Porsche) was the first hybrid vehicle developed by Ferdinand Porsche. First prototypes were two-wheel drive, battery-powered electric vehicles with two front wheel hub-mounted motors. A later version was a series hybrid using hub-mounted electric motors in each wheel, powered...
Fabio
4 meses atrás
♻ @ruphy: Decorating our new offices @ITdigitalteam (Italian Government), to show everyone how much we love and support #FreeSoftware (thanks @fsfe!) To fork our code: http://github.com/italia http://l.fsfe.org/Bolz3t #fsfe #FreeSoftware

Developers Italia

The community of developers of Italian Public Services


@Gruppo Linux Como
Fabio 🎄
5 meses atrás
FOSDEM 2018
This year as well I'll be at #FOSDEM in Bruxelles

Anyone wants to join in for a Mate (or a beer)? :-)

@Friendica Developers
Andy H3
5 meses atrás
A request for screenshots is running now at Friendica Support and Developers

Friendica Screenshot 'Competition'

Andy H3
5 meses atrás
Very nice! In the spirit of this, I'd like to edit the "mission statement" blob for plain and concise language. https://github.com/friendica/friendica/blob/develop/README.md

Here my attempt:

'Welcome to the free social web.

Friendica is a decentralised communications platform that integrates social communication. Our platform links to several independent social projects and corporate services.

Our mission is to free our friends and families from data-harvesting corporations; we aim for social communication to be free and open, while flowing between any provider as easily as email does today.'

Any comments or suggestions before I open a PR.
Fabio
6 meses atrás
@Friendica Developers

I'm quite out of the loop. Is there a reason for the atom feed of forums to be empty?
Fabio
7 meses atrás
#fosdem2018


FOSDEM 2018 - Decentralised Internet and Privacy devroom

Rooms: No room assigned yet Calendar: iCal, xCal...
Fabio
7 meses atrás
Poi c'è chi si lamenta di make...

Webpack from Nothing - What Problem Are We Solving?

This site explains Webpack, but it also explains so much more. It's a journey from nothing to developing, testing, and deploying a basic website, all designed around minimal use of the tools in the challenging JavaScript ecosystem. I am not someone that accepts blobs of JSON as explanations for how things work. I need to really understand how the t...
Michael Vogel
7 meses atrás
What to do with outdated addons?
@Friendica Developers I really would like to archive them in a way so that their code isn't visible anymore when I grep for function names and so on.

I wouldn't want to delete the code, but want to have it archived to be able to access it again. How could we do this?
Michael Vogel
7 meses atrás
Remove "service class"?
@Friendica Developers In the core there is the "service class" functionality that was once planned for having additional features where users could pay for (like defining the maximum numbers of allowed contacts).

This is not used at all and cannot be configured, so it really doesn't make no sense to keep the code.

Does anyone disagree to remove it?
Fabio
7 meses atrás
@Friendica Developers

I leave this here because I don't have time to check if exists in issue tracker.

Mail and RSS import should ignore message with "message date" < ( today - "item expiration days").

Some not-so-updated rss feeds keeps showing up again after they have been deleted from db by the expiration tool, and I get the "show by commented order" network view flooded by old messages...
Rabuzarus
8 meses atrás
@Michael Vogel
Which means that we have to store the data elsewhere. But: I would like to do this only on the transport, not the storing and processing.
.
Can you describe this point a bit more, so I understand how this would look like (transport, storing, processing).

Some side notes:
For the would I would really love to see that friendica get rid of having objects as bbcode in the item['body']. In some way we have talked about this at the last hackathon. Objects (events, share, attachments) belong to the item but are very different form some formatted text. So we should store them not in $item['body'].

To the actual problem:
I won't touch the protocol part because because I'm afraid to break something. Nor will I write very, very complex sql queries. For such a case I would wisch a function which give me the results.

So I would stop at this point and would leave it up to you to provide the basics so I could step up to do the gui part.

Back to the code in my repository:
What about the handling of nested arrays in function xml::from_array() and the extension of function xml::to_array()?
I would like to have such a functionality in the code to replace written xml elements (like we do it now for e.g. objekcts - e.g. https://github.com/friendica/friendica/blob/develop/include/event.php#L280 and many other places) to arrays.
This arrays should be easily converted to xml (with an easy possibility to convert it back). At the moment (develop branch) it is the situation that if you have a string with xml with values and attributes (or the extended case if it does have more of the same element - e.g. <link>) you won't be able to convert it to an array and back to xml.
Rabuzarus
8 meses atrás
events in network stream
@Friendica Developers @Friendica Theme Developers

One of the many things which are not that good solved in friendica is from my point of view that fact that all objects which belong to a post are saved as bbcode in the item body. With objects I mean something like shares, attachments, events and so on. Since the beginning of using friendica I very unsatisfied that there are only limited possibilities to theme such objects because they are hard-coded. While I tried to fix https://github.com/friendica/friendica/issues/2646 some time ago I started to do some experiments how to extend the possibilities for displaying events.

Before I continue polishing and finishing the could I would like to have some feedback. There are some questions in my head and some (lets call it) designing decision to do (or which I have done and needs to discussed).

You will find the present code at https://github.com/rabuzarus/friendica/tree/20170904_-_extend_event_html and an example frio event at https://test.kommune4.de/display/9fd9b54c1359dcc60b622dd589375790

To explain what the code does:
In a short, the activity stream object (the one which is saved in the item table in the object column) will be extended with information which are needed for the event (e.g. start time, end time, author, location and so on). (I saw this in the hubzilla project and I like the idea to make more use of the object field if there are embedded object in the posts - events, share, attachments and so on).
While frindica does the preparing of the item for displaying its content, it verifies if the event item is an event and if the event object does contain additional data (for compatibility reasons with older objects). If it is an an event object it will extract the event data from the event object and will format this data in a special event template. The template formatted output will replace the existing $item['body'].
So every theme can decide how an event should be presented in the network stream.

To improve the speed, friendica does cache the html of an item. This would mean that we would need to parse the event everytime when a user would change the theme (and the event template would be a different one). To solve this only the event description (the part which should not change when selecting a different theme) is saved in the event cache.

There are some parts I want to talk about with you.
1.) I'm not sure if you like this approach (it was inspired by the hubzilla project)

2.) The created event object looks like:
  1.  <object>
  2.   <type>http://activitystrea.ms/schema/1.0/event</type>
  3.   <id>urn:X-dfrn:test.kommune4.de:2:9fd9b54c3759dcc60b584d0456260405</id>
  4.   <title>Friendica Hackathon</title>
  5.   <startTime>2017-11-24 15:00:00</startTime>
  6.   <endTime>2017-11-26 19:00:00</endTime>
  7.   <description>Hackathon in Berlin to prepare the 3.6 release of Friendica.&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  8.  &#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  9.  Room is limited, so please let us know if you plan to join us in Berlin.</description>
  10.   <location>
  11.   <name>Jugendclub [url=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]</name>
  12.   <address>Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin</address>
  13.   </location>
  14.   <content>[event-summary]Friendica Hackathon[/event-summary][event-description]Hackathon in Berlin to prepare the 3.6 release of Friendica.&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  15.  &#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  16.  Room is limited, so please let us know if you plan to join us in Berlin.[/event-description][event-start]2017-11-24 15:00:00[/event-start][event-finish]2017-11-26 19:00:00[/event-finish][event-location]Jugendclub [url=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  17.  &#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  18.  [map]Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin[/map][/event-location]</content>
  19.   <link rel="alternate" type="text/html" href="https://test.kommune4.de/display/9fd9b54c8359dcc61152d76696294856"/>
  20.   <author>
  21.   <name>Ronny Rabuzarus</name>
  22.   <address>rabuzarus@test.kommune4.de</address>
  23.   <link rel="alternate" type="text/html" href="https://test.kommune4.de/profile/rabuzarus"/>
  24.   <link rel="photo" type="image/jpeg" href="https://test.kommune4.de/photo/58c7a30eeacc6492c43daf582cfb3cba-5.jpg"/>
  25.   </author>
  26.  </object>


I'm unsure about the used tag names startTime and endTime. The naming was taken from https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md#event . (should we use it or should we rather use the friendica names start and finish or should we use rather other tag names - e.g. hubzilla usesdtstart and dtend).

3.) Because I'm not familiar with xml handling in php I extended xml::from_array( ) to handle nested arrays. In addition I extended xml::to_array( ) to have a 'mixed' (Please: If some one does have a better name for this mode, please let me know) priority mode. It does convert xml in the following way: http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/ .
In addition I changed the behavior of xml::to_array( ) in 'attribute' priority mode a little bit. Formerly the

[link]=> array(
[value]= http://irgendwas.de
)


Now it @value represents the content of a xml element:

[link]=> array(
[@value] = http://irgendwas.de
)


I did some tests to convert a xml with xml::to_array( ) and back with xml::from_array( ). The results look very good (Note this only works if the the array is created in 'attribute' or the new 'mixed' mode). I did several tests but I couldn't be sure if it doesn't break something (@Michael Vogel can you have a look - sry for disturbing your holiday).

4.) For frio I create short naming versions for the month and the day (eg. Mon, Tue and so on or Jan, Feb, Mar) in format_event_object( ). This code for this is inspired by other places in friendica where dates are created. I'm not familiar with date/time formats of other countries so this was the best way of preventing doing some mistakes. If anybody does have better solutions of solving this he/she is welcome to tell me.

5.) I have thought about creating a template for the content of function format_event_html() . But since this function is also used in function bbcode( ) I can not estimate the effects of having the possibility of different templates. Any thoughts about this?

Maybe I have other questions but I can't remember it at the moment. So I will end at this point and hope about some feedback :-)
Tobias
8 meses atrás
I reverted the changes, so develop is fine again.
Berlin
Tobias
8 meses atrás
Friendica 3.5.3 released
I hope I've not forgotten anything ;-) Anyhow - we have just gotten Friendica 3.5.3 :-)

@Friendica Support https://friendi.ca/2017/10/05/friendica-3-5-3-released/
Elena ``of Valhalla''
8 meses atrás
You would have removed it only once, however, and then just cursed the uno developers every time you run pyflakes3 on the file :)

BTW, I'm not against automatic checks, I'm against automatic edits (and stuff like git hooks that blindly disallow committing stuff that doesn't pass flake/pep8 checks).

OTOH, if the number of imports to remove is big and all of the code involved has been written by sane people, I understand that autoremoval starts to sound like a good idea.
Fabio
8 meses atrás
SoftwareJokes wrote the following post:
"What is your idea of a perfect date?"
.
.
Developer: "YYYY-MM-DD"
Fabio
9 meses atrás
Tobias wrote the following post:

Save code share!

The proposed Copyright Directive restricts the rights of developers and internet users, creating barriers for the development of source code. Read our white paper to get the full view of the matter at stake from a software developer point of view! Very soon, we'll be launching an open letter to the EU legislators. You can help us by: Copyright (c) ...
Berlin
Tobias
9 meses atrás

Save code share!

The proposed Copyright Directive restricts the rights of developers and internet users, creating barriers for the development of source code. Read our white paper to get the full view of the matter at stake from a software developer point of view! Very soon, we'll be launching an open letter to the EU legislators. You can help us by: Copyright (c) ...
Berlin
Tobias
9 meses atrás

Debian Astro Pure Blend

Debian Pure Blends / Debian Astro Debian Astro is a "Debian Pure Blend" with the aim to develop a Debian based operating system that fits the requirements of both professional and hobby astronomers. It integrates a large number of software packages covering telescope control, data reduction, presentation and other fields. Stellarium: ...
Fabio
9 meses atrás

Python FAQ: Why should I use Python 3?

Part of my Python FAQ, which is doomed to never be finished. The short answer is: because it’s the actively-developed version of the language, and you should use it for the same reason you’d use 2.7 instead of 2.6. If you’re here, I’m guessing that’s not enough. You need something to sweeten the deal. Well, friend, I have got a whole mess of sugar cubes just for you. And once you’re convinced, you may enjoy the companion article, how to port to Python 3! It also has some more details on the diffences between Python 2 and 3, whereas this article doesn’t focus too much on the features removed in Python 3.
Berlin
Tobias
11 meses atrás

International Day Against DRM 2017 - Sunday, July 9th | Defective by Design

Submitted by Zak Rogoff on July 7, 2017 - 11:49am YOU DESERVE DIGITAL RIGHTS #DayAgainstDRM July 9, 2017 Digital Restrictions Management. DRM. The software that comes bolted to your digital media and devices and tries to police your behavior. The major media companies are its masters, and they justify it as a necessary evil to prevent filesharing, ca...
Fabio
11 meses atrás
#django

Django project optimization guide (part 1)

Django is a powerful framework used in many great projects. It provides many batteries, that speed up development and therefore reduces the price of it. When a project becomes large and is used by many users you inevitably will run into performance problems. In this guide, I will try define potential problems and how to fix them. This is the first ...
Fabio
1 ano atrás
-Buonasera! Pizzeria da Ciccio?
-No è Google pizza
-Ho sbagliato numero?
-No, Google ci ha comprati
-OK. Posso ordinare una pizza a domicilio?
-Certo, vuoi il solito?
-Il solito? Come fai a sapere cosa prendevo?
-Dal numero da cui chiami, le ultime 9 volte hai ordinato pizza con salamino piccante e patatine fritte, bella croccante
-OK! È proprio lei
-Posso suggerirti stavolta una pizza con la rucola e i pomodorini?
-Che cosa? Odio le verdure!
-Il tuo colesterolo è troppo alto
-Tu come lo sai?
-Hai richiesto di poter visualizzare i risultati dei tuoi esami del sangue online
-Non voglio quella pizza. Sto già prendendo le medicine
-Non le stai prendendo regolarmente, 4 mesi fa hai preso una scatola da 30 pastiglie nella farmacia sotto casa e poi non le hai più comprate
-Le ho comprate in un'altra farmacia
-Non risulta dalla tua carta di credito
-Ho pagato in contanti
-Non risultano prelievi di contanti dal tuo conto corrente
-Ho altre fonti di contanti
-Non risulta dalla tua dichiarazione dei redditi, a meno che non siano in nero
-Cosa vuoi da me? Basta con tutta questa tecnologia. Vado in un'isola deserta senza internet e senza telefono, così nessuno potrà più spiarmi
- Capisco. Rinnova il passaporto, ti è scaduto da 5 giorni
Fabio
1 ano atrás
GDR! wrote the following post:
Imagem/foto

The Internet of Farts!

IOF - Internet of farts

All mammals on this planet fart. As mammals, humans fart too. Especially when alone, in their cars when they commute to work.
So why not create a device to geolocalize those farts and log a few more things like the FartHeading, FartSpeed, etc?
Would it be interesting when selling the car, hand to the new owner a report of the number of farts released in the car and a map of those farts? Well not really but it was a fun project to build!
Berlin
Tobias
1 ano atrás
I've installated The Void (Linux) distribution on my good old eeePC with the XFCE flavour (they have several flavours using Gnome, Enlightenment, Cinnamon, LXDE, MATE and XFCE).

Imagem/foto

Works quite well and is nice fast on the old device. All the needed packages were easily found in the package manager, networking (wired and unwired) works, as do the function keys :-)
James Lamentus
1 ano atrás
Maybe not everyone knows that:
Mike doesn't use hubzilla but RED, https://macgirvin.com/siteinfo https://macgirvin.com/help/about/about

He is clearly helping the hubzilla project but has come back to develop and use RED .
Berlin
Tobias
1 ano atrás

Announcing RedMatrix 3.0

RedMatrix 3.0 signals a complete change in direction from RedMatrix over the last few years (it's being maintained by one of the original developers again fo...
Fabio
1 ano atrás
Francesco Salvi - Wikipedia
Si laurea in architettura, ma decide di intraprendere la strada dello spettacolo[...]


Luca Mangoni - Wikipedia
Luca Mangoni noto semplicemente come Mangoni è un architetto e politico italiano e collaboratore del gruppo musicale italiano degli Elio e le Storie Tese.[...]


Qualcuno devrebbe farsi delle domande sui corsi di laurea in architettura...
Berlin
Tobias
1 ano atrás

Hello Tatooine! An unpowered device can harvest water vapor in a desert

Take an unusual material, add sunshine, collect water.
Elena ``of Valhalla''
1 ano atrás
Fabio
1 ano atrás

Developers Italia

La comunità italiana degli sviluppatori di servizi pubblici
Fabio
1 ano atrás
Mmmh looks like libgit2 has git_commit_create_with_signature() but libgit2-glib doesn't :-(
Fabio
1 ano atrás de Friendly
E' qualche giorno che prendo il treno a tornare e lo trovo relativamente vuoto. Oggi è strapieno. Mentre mi faccio largo per trovare un buon posto im piedi, sento stralci di una conversazione "eh, io di solito prendo il diretto, è più tranquillo" "già.." "no, non lo prendo mai questo treno. La prossima volta prendiamo il diretto!".

Il tizio e la sua cumpa sono belli seduti.

Fatto sta che se prendevano il ca#@ di diretto, io mi potevo sedere. Su! Invece di star qui a creare casino!

E scenderanno a capolinea, si accettano scommesse.
Felix Tiede
1 ano atrás
He made that joke about self-driving cars before - with a heavy stone and a target somewhere in Alaska.

Albeit this one is admittedly way more practical. (And still pretty useless, considering there probably are very silent listening devices in everyone's pockets.)
Fabio
1 ano atrás
non credo che le mettano quelle sulla pedemontata. hanno tutti gli spazi occuparti per farti sapere che devi pagare.
Berlin
Tobias
1 ano atrás
I've tagged version 0.5c of my Clean theme. Mostly because of the Friendica color preset.




@Friendica Theme Developers
Bordesholm
Tim Schlotfeldt
1 ano atrás
„The new mandate buys us some time. And we will keep going.“
Well done. #LiMux #fsfe

What happened in Munich

On 15 February 2017, the city council of Munich, Germany convened to discuss the future of their LiMux project. In its public session, the plenary voted to have the city administration develop a strat...
Fabio
1 ano atrás
:facepalm


ModMyMods Raspberry Pi Mini Water Cooling Kit (MOD-0171)

The Raspberry Pi water cooling kit is now here. Watercool any embedded device with a 15mm by 15mm surface. By Liquid cooling your Raspberry Pi you can hack away with no trouble. This kit even supports raspberry pi clusters!
Berlin
Tobias
1 ano atrás
I love FreeSoftware
I spend some time yesterday thinking about what was your most favourite FreeSoftware project of the last year? And I could not really find an answer to the question. Not because I don't know any projects I care about, but the most favourite is hard to grasp when one can use GNU/Linux for the last two decades almost exclusively ;-)

So instead I'd like to send some <3 to David Revoy who is the author of Pepper and Carrot a lovely free, libre and open-source webcomic which entertained me quite some times over the last year, reading and re-reading the episodes. The comic is drawn using Krita and Inkscape and the stack around them, so Kudos to these projects for making Pepper and Carrot possible :-)

Also I want to thank the people involved in all the cool projects that make the deventralised social network so wonderful diverse as it is. Thanks to all of you who contribute in so many ways to Diaspora, Friendica, GNU social, Hubzilla, Mastodon, postActive, pump.io and all those I've forgotten ;-)

Image/photo


#ilovefs
mais recente antigo