Pesquisar

Results for: dev

Fabio
4 semanas atrás
The Call for Participation for the #Decentralized Internet & #Privacy devroom at #fosdem2019 was published 🎉 It would be great to receive proposals from a diversity of people.

Please boost widely !

https://lists.fosdem.org/pipermail/fosdem/2018q4/002769.html
Fabio
4 semanas atrás

mhagger/git-imerge

Incremental merge for git. Contribute to mhagger/git-imerge development by creating an account on GitHub.
Fabio
1 mês atrás
Thanks to @Tobias , Friendica Projects , develop branch, works again with Friendica develop branch 😁 👍
Fabio
2 meses atrás

maxkueng/restique

A wrapper around restic with profiles. Contribute to maxkueng/restique development by creating an account on GitHub.
#restic #backups
Fabio
2 meses atrás
there's an app for peertube on android, I can't find the link right now.
You could want to talk with the developer to find a way to use it from friendiqa, maybe via an action
Fabio
3 meses atrás
Translation for the 2018.08 release
It is August already and among many other things this also means that ~friendica ~friendica is going to have the next release soon :-D Currently it is scheduled for the last weekend in August.

While the developers are working on the last open issues that should be solved by then I'd like to ask you for some help with the translation work of Friendica. If you have some spare minutes left and want to support the project, please head over to Transifex. All but the Polish translation currently have some strings to be translated.

You needs an account at Transifex to contribute to the translations there and join an translation team. They offer a easy to use web-editor for the translation work. The most important file/resource to be translated is the master message.po file. Once that is covered at least 50% we will include the translation for this language into then repository. Which then also contains the addon translations. You don't have to deal with the dark ways of git and the other needed tools if you don't like.

If you want to help, but not join at Transifex for whatever reason, please get in touch with me. I'll gladly explain to you how you can help outside of that service.

Anyhow, thanks for your time reading this <3 and many thanks for considering helping the translation of the Friendica Web-UI!
Fabio
3 meses atrás

Pull Request

Software development satire
Fabio
4 meses atrás
can I set it in .htconfig or I need to switch to ini config?
and if I can set it in .htconfig, how?
(sorry, I didn't followed last development...)
Fabio
4 meses atrás
updated #friendica to last dev.. let's see..
Fabio
5 meses atrás
!Friendica Developers

@Michael Vogel I need to transform an incoming message in a wall-to-wall from an addon. I'm using the "post_local_end" hook to catch incoming messages and check if object-type is my custom one. Then I want to alter the incoming message into a wall-to-wall post. It's more or less how forums works. Any pointer on the best way to implement this?
Fabio
5 meses atrás
@Gruppo Linux Como
Friclicli: Friendica CLI client
@Friendica Developers

I started to work on a CLI client for Friendica named friclicli. At the moment I'm working on the foundation of the client: A C library (called libfriclient) with functions representing Friendica API routes (one function per route). The client will use a curses interface (probably ncurses). To make requests to the Friendica API the libcurl library will be used. JSON data will be processed using the cJSON library.

The source code repository is here: https://gitlab.com/ncc1988/friclicli

The client will be programmed in C and licensed under the GPLv3+.

#Friendica #Client #CLI #C
Fabio
5 meses atrás
Federated Git
This are some consideration about the "let's build a decentralized git solution" after the GitHub acquisition by Microsoft.

Let's start with the base: git is already decentralized. All you need is an url where other people can pull you code.
The workflow requires a way to let know other contributor about your clone and your work branch, and let them to merge it into their repos. Usually, a mailing list is used. This is the way kernel development works.
Nothing prevents you from using a federated social profile to do this (e.g, a forum profile on Friendica)
Then you need something where bug are reported. Another mailing list, another social profile? Can be.

What github/gitlab/gitea/wathever give you as a plus is a "home page" for the project where development and bug reports are easily managed and discoverable.
The downside is any of this solution require contributor to have an account there, also the self-hosted ones.

In my view, a federated replacement to git[hub,lab,ea] is not something that shout out an activity every single time a commit is inserted in the repo, but something that let me use the existing distribuited nature of git, giving me "enhanced" tools I can use with my federated identity, from my federated profile.

Ideally, I must be able to login with my federated identity (see Zot! and friendica remote auth, or OpenID) into the main instance to post bug reports, which lets me clone the repo in my instance (if supported) with a click of a button, from where I can send merge request.
Or I can just have my clone on cgit. so I must be able to initiate a merge request from the main instance. Then discussions in bug reports and merge request are federated, so I can interact with them in my timeline, If I want.
Fabio
6 meses 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
7 meses atrás
Fabio
9 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
9 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
9 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
9 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
10 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
10 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 🎄
10 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
11 meses atrás
A request for screenshots is running now at Friendica Support and Developers

Friendica Screenshot 'Competition'

Andy H3
11 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
12 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
1 ano atrás
#fosdem2018


FOSDEM 2018 - Decentralised Internet and Privacy devroom

Rooms: No room assigned yet Calendar: iCal, xCal...
Fabio
1 ano 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
1 ano 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
1 ano 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
1 ano 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
1 ano 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
1 ano 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
1 ano atrás
I reverted the changes, so develop is fine again.
Berlin
Tobias
1 ano 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''
1 ano 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
1 ano atrás
SoftwareJokes wrote the following post:
"What is your idea of a perfect date?"
.
.
Developer: "YYYY-MM-DD"
Fabio
1 ano 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
1 ano 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
1 ano 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
1 ano 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
1 ano 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
1 ano 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
2 anos 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
2 anos 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 .
mais recente antigo