Pesquisar

Results for: git

Andy H3
15 horas atrás
That's great Hoergen. I'll draft this within the next day. I might need some help where to put the screenshots on github.
Andy H3
1 dia 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
2 semanas atrás
Fabio
3 semanas atrás
When Artificial Intelligence Meets git

When Artificial Intelligence Meets git

turnoff.us is a geek comic site. Comics about Programming Languages, Web, Cloud, Linux, etc.
Rabuzarus
2 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
2 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:
[code=xml]
<object>
<type>http://activitystrea.ms/schema/1.0/event</type>
<id>urn:X-dfrn:test.kommune4.de:2:9fd9b54c3759dcc60b584d0456260405</id>
<title>Friendica Hackathon</title>
<startTime>2017-11-24 15:00:00</startTime>
<endTime>2017-11-26 19:00:00</endTime>
<description>Hackathon in Berlin to prepare the 3.6 release of Friendica.[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
Room is limited, so please let us know if you plan to join us in Berlin.</description>
<location>
<name>Jugendclub [url=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]</name>
<address>Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin</address>
</location>
<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];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
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];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
[map]Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin[/map][/event-location]</content>
<link rel="alternate" type="text/html" href="https://test.kommune4.de/display/9fd9b54c8359dcc61152d76696294856"/>
<author>
<name>Ronny Rabuzarus</name>
<address>rabuzarus@test.kommune4.de</address>
<link rel="alternate" type="text/html" href="https://test.kommune4.de/profile/rabuzarus"/>
<link rel="photo" type="image/jpeg" href="https://test.kommune4.de/photo/58c7a30eeacc6492c43daf582cfb3cba-5.jpg"/>
</author>
</object>
[/code]

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 :-)
Michael Vogel
2 meses atrás
There is a possible problem concerning this pull request: https://github.com/friendica/friendica-addons/pull/428
Fabio
3 meses atrás

Git pretty — justin hileman dot info

This chart is from the presentation Changing History, or How to Git Pretty. Check it out to learn how to use this IRL. Here’s a printable PDF version, if you’re into that sort of thing. My name is Justin and I make the Internet. I'm @bobthecow on Twitter. I'm also a co-founder of Presentate, which is 100% awesome....
Elena ``of Valhalla''
3 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.
Berlin
Tobias
3 meses atrás

Avast! There’s malware in that CCleaner software update

Avast's recent acquisition spreads a backdoor signed with its own certificate.
Fabio
3 meses atrás

jupeter/clean-code-php

clean-code-php - :bathtub: Clean Code concepts adapted for PHP
Elena ``of Valhalla''
3 meses atrás
looks legit
Berlin
Tobias
4 meses atrás
Die heiße Phase des Wahlkampfes ist wohl eröffnet - der Wahl-o-Mat zur #btw2017 ist online. Bei mir kam wie in den letzten Jahren eine Übereinstimmung der Antworten von etwas über 80% bei den Parteien raus die ich am wahrscheinlichsten wählen werde. Beim Anti-Wahl-o-Mat (immer schön das Gegenteil anklicken) war ich dann doch überrascht was die großen Übereinstimmungen angeht...

Imagem/foto

Begleitend zum Wahl-o-Maten ist die Analyse der Morgenpost nicht zu verachten.

Inzwischen gibt es ja so einige *-o-Maten. Besonders gefallen hat mir DeinWal.de. Hier wird das Stimmverhalten der letzten im aktuellen Bundestags vertretenen Fraktionen mit deinen Entscheidungen verglichen. Also mal reflektieren wie wirklich entschieden wurde und nicht was im Wahlprogramm steht.

Wer sich selbst mal durch den political compass geklickt hat und noch weiß wo man da ungefähr im Koordinatensystem gelandet ist kann einen raschen Blick auf das Ergebnis derer Analyse der Wahlprogramme werfen. Ebenfalls im 2D Koordinatensystem recht-links/autoritär-libertär verortet das Wahl Navi von RTL und Co. die Ergebnisse. Allerdings kommen die dort beschäftigten Politikwissenschaftler zu einer vollkommen anderen Verortung der Wahlprogramme als der political compass.

Für spezielle Fragen zum Digitalen gibt es den Digital-o-Mat vom Bündnis freie Bildung. Auch wenn die Thesen teilweise unverständlich sind (es gibt ein wenig Sekundärliteratur von Netzpolitik.org) denke ich kann man sich da mal durch-klicken, weil was wird heute nicht von diesem digitalen Neuland beeinflusst. Gefragt wurden alle Parteien, die wahrscheinlich im nächsten Bundestags sitzen werden, die AfD hat allerdings nicht geantwortet.

Wissen wen ich wählen werde tue ich immer noch nicht, aber die grobe Richtung ist recht eindeutig. Mal schauen was die TV-Duelle der nächsten Tage noch so für Eindrücke hinterlassen.

Und für die Suche nach dem richtigen Empfänger der Erststimme lohnt sich ein Blick auf Abgeortnetenwatch.de.
Fabio
5 meses atrás
ok

https://github.com/fabrixxm/friendica-clippy

I think some of the enterprise functionalities will work only with Frio theme..

There will be a service pack with multiple, user configurable, assistants. And more annoying functionalities
Fabio
5 meses atrás
:facepalm

Kornel / babel-preset-php

Babel preset for converting PHP to JavaScript. It can run PHP in the browser or in Node.js. This project is silly and exists only to expand Atwood's Law.
Fabio
5 meses atrás
Jason Robinson wrote the following post:

johngrib/vim-game-code-break: Block-breaking game in vim 8.0



Imagem/foto

I kind of wish I used #Vim when I see things like this :D



johngrib/vim-game-code-break

vim-game-code-break - Block-breaking game in vim 8.0
Fabio
5 meses atrás
Defective by Design wrote the following post:
Everyone deserves digital rights. Today, stand up for yours. Happy #DayAgainstDRM!

Take action: https://dayagainstdrm.org https://status.fsf.org/attachment/33956

Leaders needed for the International Day Against DRM | Defective by Design

Leaders needed for the International Day Against DRM | Defective by Design


@Gruppo Linux Como
Berlin
Tobias
5 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
5 meses atrás

Rolling Shutter Simulation in C « null program

The most recent Smarter Every Day (#172) explains a phenomenon that results from rolling shutter. You’ve likely seen this effect in some of your own digital photographs. When a CMOS digital camera captures a picture, it reads one row of the sensor at a time. If the subject of the picture is a fast-moving object (relative to the camera), then the ...


Or: How to create a C program which manipulate video like a unix tool, in a bash pipeline...
Berlin
Tobias
7 meses atrás

Leaders needed for the International Day Against DRM | Defective by Design

Submitted by Zak Rogoff on April 4, 2017 - 12:27pm In the last year, we've seen cracks appearing in the foundation of the DRM status quo. Of course, the companies that profit from Digital Restrictions Management (DRM) are still trying to expand the system of law and technology that weakens our security and curtails our rights, in an effort to prop ...
Fabio
7 meses atrás
A small #python library to create very simple command line interface based on argparse from function definition.

Just because I'm lazy... :-)


Create command line interface from function definition

Create command line interface from function definition


#argparse
Marco R.
7 meses atrás de Friendiqa
Hallo Tobias, gibt es den Vortrag vom 10. Mai auch in digitaler Form oder gibts da Urheberrechtsprobleme?
Fred
7 meses atrás de Hubzilla
Belo Horizonte... Belos horizontes, para a KDE, no LaKademy 2017
Publicando um pouco atrasado, mas não podia deixar de comentar como foi a experiência de participar de mais um LaKademy, especialmente por ter sido aqui em BH. Não sabe o que é o LaKademy? Dá uma olhada nessa publicação que eu fiz por conta do início das atividades.

Bom, se antes estava na expectativa de como seria o evento, nesse momento eu só tenho satisfação. Foram quatro dias de trabalho intenso, mas que valeram a pena. O evento foi muito produtivo e tudo funcionou dentro do esperado.




Um feriado prolongado inteiro trabalhando, enfurnado em uma sala do CEFET... E sem ganhar nada por isso... É assim que o software livre funciona, meu amigo. Ou você acha que ele dá em árvore? ;-)


Como na edição anterior, foquei na parte de tradução e de promo. E nesse ano demos um salto importante em ambas as áreas. Em relação à tradução, desde o ano passado estávamos com a ideia de adotarmos o Vocabulário Padrão (VP) como referência para nossas traduções, bem como migrar sua página para dentro da infra da KDE. E acabamos decidindo migrá-lo para o Drupal, que é o CMS utilizado pela KDE para a hospedagem das suas páginas. Mas tínhamos um desafio que era o de transportar todos os vocábulos já cadastrados no VP para o Drupal, caso contrário teríamos que digitar tudo novamente. Pra se ter uma ideia do tamanho desse problema, são mais de 15.600 (!!!) vocábulos atualmente... Mas depois de muito bater cabeça com testes de módulos para o Drupal (e uma atenção primorosa da equipe técnica responsável por esse CMS na KDE), conseguimos finalmente colocar o VP no ar. Ainda estou trabalhando em alguns detalhes relativos à sua visualização e formas de interação, mas o resultado atual já pode ser visto aqui.



O novo Vocabulário Padrão em seu estágio inicial de configuração.


E aproveitando que estávamos mexendo nos módulos para colocar o VP no ar, resolvi dar uma geral na parte digital da KDE Brasil. Em primeiro lugar, junto com o Filipe Saraiva, reativamos o agregador de blogs da nossa comunidade. Antigamente esse agregador funcionava à parte em um Planet, mas ele foi desativado. E uma vez que era a partir dele que as mídias sociais da KDE Brasil era alimentadas, isso virou um problema. Com isso, resolvemos reativar o agregador, mas, dessa vez, também dentro do Drupal da KDE Brasil. E agora isso também está funcionando. Dessa forma, é possível acompanhar, em um único lugar, toda a publicação em português de quem contribui com a KDE.

Em segundo lugar, resolvemos pensar o sítio web como um todo. Pra isso estou trabalhando na reestruturação dos menus e estamos produzindo novos conteúdos e adequando os antigos para essa nova estrutura. Então, em breve (eu espero) o nosso sítio terá novas informações e uma nova estrutura. E com a entrada da Ângela Cunha, que trabalha com design, e do Farid Abdelnour, que está envolvido diretamente no desenvolvimento do Kdenlive, e também tem experiência com a parte gráfica, quem sabe não temos também uma alteração mais significativa em nosso visual? ;-)

Por fim, trabalhei junto à Aracele, Bianca e Camila na revisão tradução para o inglês do sítio do LaKademy. Agora só falta conseguirmos uma alma caridosa pra fazer a tradução pro espanhol. :-)

Foram tiradas <strong>muitas</strong> fotos ao longo do evento. Então, quem quiser ter uma ideia de como funcionavam nossos trabalhos, é só acessar a galeria de fotos do LaKademy 2017 no Flickr. Rolou até um GIF animado amador... ;-)

Imagem/foto


E claro que também tivemos a tradicional foto oficial do evento:




Olha o povo bacana da KDE aí!


Agora é nos prepararmos pra trabalhar bastante, implementando tudo o que foi planejado. E já pensarmos no próximo LaKademy!
Tim Schlotfeldt
7 meses atrás de TweetDeck
Cluster DiWiSH wrote the following post:
Nächste Woche Unternehmen mit coolen IT-Jobs kennenlernen – mit dem JOBBUS S-H.

Jetzt Plätze sichern →

JOBBUS Schleswig-Holstein | 10.05.2017

Informationen für Studenten über die Berufsperspektiven in der digitalen Wirtschaft Schleswig-Holsteins. Busse starten ab Flensburg, Kiel und Lübeck.
Fabio
7 meses atrás

vshatskyi/black-screen

black-screen - A terminal emulator for the 21st century.


Because nothing says "21st century" as 200M of RAM and an ENTIRE CHROME PROCESS to run a TERMINAL

#terminal #electron #fuckedup
Jason Robinson
8 meses atrás
What exactly is the federated-global-directory (https://github.com/beardyunixer/federated-global-directory)? The protocol library for federation?
Fabio
8 meses atrás
per rilassarmi poi vado a leggere il sorgente di git...
Fabio
8 meses atrás

robertfoss/audio_shop

audio_shop - Your frinedly neighbourhood script for mangling images using audio editing tools
Berlin
Tobias
8 meses atrás

When Did You First Realize the Importance of Online Privacy?

Was there a moment in your life when you had an awakening about the importance of digital privacy? Maybe your parents snooped around an email account when you forgot to log out. Maybe photos you thought were private ended up online. Maybe you didn’t land your dream job, and you suspect an old LiveJournal account still visible in search results of your name may be the culprit. Maybe you got hacked. We’re collecting stories from people about the moment digital privacy first started mattering in their lives.
Berlin
Tobias
8 meses atrás

Pilotprojekt: Deutsche Post testet Gesichtserkennung in Filialen - WELT

Ein Blick genügt – die Post testet die Technik bald in München, um personalisierte Werbung zu schalten. Der Kunde weiß nicht, wo und wann aufgezeichnet wird. In Berlin und Köln läuft der Versuch bereits.


@Deutschsprachige Nutzer
Fabio
8 meses atrás
David Revoy wrote the following post:
Petite vidéo de démo d'un jeu dérivé de Pepper&Carrot ( toujours en développement ) complètement gratuit, libre et open-source (GPLv3 et CC-By, hébergé sur Github ). C'est du Java et tourne sur PC et Android. Le *.jar , *.apk et les sources sont dispo ici sur le blog. Video : https://youtu.be/zvC1P6rXTQg





Note: j'ai donné un lien Youtube , un lien Github et j'ai mentionné Android et on est plus le 1er Avril... Je sens que je vais me faire frapper sur Diaspora xD

WinterLicht/PepperAndCarrotRunningGame

PepperAndCarrotRunningGame - Pepper&Carrot themed endless runner game made with libGDX (WIP)
Fabio
8 meses atrás

xoreaxeaxeax/movfuscator

movfuscator - The single instruction C compiler
Fred
8 meses atrás de Hubzilla
Como instalar o programa para declaração de imposto de renda no GNU/Linux, usando OpenJDK
Se você, como eu, usa o OpenJDK ao invés do Java da Oracle, então teve problema na hora de instalar a versão 2017 do programa de declaração de Imposto de Renda disponível para o GNU/Linux (LINUX (BIN 32 BITS) ou LINUX (BIN 64 BITS), dependendo da arquitetura do seu sistema). O problema ocorre porque, no momento da instalação, o programa procura, exclusivamente, pelo Java da Oracle, mesmo o programa funcionando perfeitamente bem com o OpenJDK (que bola fora, hein, Receita Federal?).

Mas é relativamente simples resolver o problema. Basta baixar a versão SOLARIS/ OUTROS (jar) do instalador, disponível na mesma página de download. Após baixar o arquivo, execute-o com o comando:

java -jar IRPF2017v1.1.jar

Ao final dos procedimentos, o programa estará instalado. Entretanto, ele não instala as entradas no menu do sistema. Por isso, você tem que abri-lo indo até o diretório de instalação (por padrão ~/ProgramasRFB/IRPF2017) e digitando o comando:

java -jar irpf.jar

(ou você pode adicioná-lo manualmente ao menu também). ;-)
mais recente antigo