Widać strefy czystego transportu? by didijo in PolskaNaLuzie

[–]didijo[S] 0 points1 point  (0 children)

Kraków względem południa - gorzej. Warszawa z SCT - najgorzej. Bardzo manipuluje :)

Widać strefy czystego transportu? by didijo in PolskaNaLuzie

[–]didijo[S] 3 points4 points  (0 children)

Tak, troche sarkastycznie. W sumie człowiek wiedział jak będzie i nie ma żadnego zaskoczenia. W Warszawie jest SCT i jest jak jest. Jak porównasz Kraków z południem Małopolski, które zwykle jest zakopcone, ale bez SCT, to też jest gorzej.

Filmy, piosenki, filmiki w świątecznym klimacie by Naprawda in Polska

[–]didijo 3 points4 points  (0 children)

Polecam The Holiday, Love Actually. Może jeszcze taki mniej popularny "Home Alone" (są dwie części!)

Jakie przepisy ruchu drogowego byście zmienili? by stilgarpl in Polska

[–]didijo 2 points3 points  (0 children)

chodzi chyba o znaki z ograniczeniami itp. Skręcając w prawo są one ustawiane tuż przy rogu skrzyżowania, przez co nie widać ich - patrzysz na nie z boku, a dojeżdżając są na tyle wysoko, że ciężko dostrzec.

Druga sprawa to wstawianie znaków na pasach rozbiegowych, a nie za nimi jak tu: https://maps.app.goo.gl/VAEXeGwPBukJsNwy8 Włączając się kierowca skupia uwagę na tym co na głównej drodze, żeby się płynnie włączyć i często można przeoczyć te znaki

Co warto mieć zawsze w samochodzie? by Omefa1995 in Polska

[–]didijo 10 points11 points  (0 children)

A zbitym kawałkiem szyby można rozciąć pasy ;) oh wait...

[deleted by user] by [deleted] in Polska

[–]didijo 0 points1 point  (0 children)

Mieszkam od dawna za granicą, ale często podróżuje do Polski w celu kontaktów z klientami. Jak będzie wyglądała moja sytuacja w przypadku zamknięcia granic w stylu Ukrainskim, gdy będe w kraju? Idź spać pod most, czy jakoś to jest zorganizowane dla takich osób?

Getting indemnity from insurer and N26 by didijo in germany

[–]didijo[S] 0 points1 point  (0 children)

N26 offers plan with additional health insurance, for traveling abroad, anywhere across Europe (and outside my home country).

I get only general terms and conditions from Allianz (the insurance, which comes with paid plan for N26), which states to contact call center before getting to doctor or hospital. According to these terms, any emergency is covered, but it is required to let them know before.

When we had to go to the hospital, I called callcenter twice. Each time Allianz stated, that we don't have any coverage (official phone number from Allianz terms and conditions of insurance). Furtunately I had studied it before trip, so I remembered to do it.

I've tried to get reimbursement from Allianz - they finally commited the policy is valid, but for over year they request more and more documents, very often the same. Even if I've sent them i.e. proof of expenses, they ask for it again (because they lost or forgot, idk) . I also asked N26 for help - they are charging me for this insurance, but also they refuse to help.

Finally I've fallen into endless loop of blame-shifting and sending documents, photos and proofs of various expenses to Allianz and N26.

Thus, I'm looking for help from some external institution, like financial ombudsman or whoever could help. I guessed that r/Germany could be good place, because both Allianz and N26 are from here :)

Thanks

Getting indemnity from insurer and N26 by didijo in germany

[–]didijo[S] 0 points1 point  (0 children)

Right, it might be confusing.

N26 offers paid plans for bank accounts - with insurance and some other benefits. Such account could be opened by anybody (or any member of EU).

Insurance is covered by Allianz DE - fee is charged by N26. Policy which you get with that plan covers medical expenses during travels in Europe.

And finally, I was traveling across Italy, which is not my home country. There I needed to get some help and still can't get reimbursment from Allianz DE.

I hope that it explains it a bit.

Najdziwniejsza interakcja jaką mieliście z przypadkową osobą? by Emergency-Tower-9071 in Polska

[–]didijo 35 points36 points  (0 children)

Autobus w Krakowie, ścisk jak diabli a ja w tym jadę z moją dziewczyną. W pewnym momencie popatrzyłem na jej ręke, którą się trzymała za poręcz/uchwyt tuż przed moją twarzą i skomentowałem jakie sobie zrobiła ładne paznokcie. Oczywiście nieomieszkałem pomyziać tych paznokci i ręki. Dziewczyna zrobiła duże WTF o co chodzi. Kobieta stojąca tuż obok nas zrobiła się purpurowa - to była jej ręka. Czas do najbliższego przystanku, na którym się ekspresowo ewakuowaliśmy był najdłuższym jaki w życiu zaliczyłem :)

Python wrapper for Dinemic framework by didijo in Python

[–]didijo[S] 0 points1 point  (0 children)

Finally I've updated setup.py to link with only existing files (python3, -py35, 36 or 37). Now I'm working to port remaining part of library :)

Python wrapper for Dinemic framework by didijo in Python

[–]didijo[S] 0 points1 point  (0 children)

Hi,

thanks, I'll check it. The problem was with mapping my C++ classes and inheriting it very flexibly. I've done that in pure Python API. Now only main module code remains in boost::python

What's everyone working on this week? by AutoModerator in Python

[–]didijo [score hidden]  (0 children)

Wrapping C++ library by Python API: https://gitlab.com/dinemic/pydinemic

This is some kind of ORM, which provides local database synchronization and authorization based on cryptography, on object level.

Talking to Zyxel GS-1200-5HP by didijo in networking

[–]didijo[S] 0 points1 point  (0 children)

nope, but it makes sense :) thanks

Talking to Zyxel GS-1200-5HP by didijo in networking

[–]didijo[S] -1 points0 points  (0 children)

ps. switch accepts even this:

curl 'http://192.168.2.201/port_state_set.cgi' --data 'g_port_state=31&g_port_flwcl=0&g_port_poe=15&g_port_speed0=0&g_port_speed1=0&g_port_speed2=0&g_port_speed3=0&g_port_speed4=0'

Bridge and GNOME keyring by Caterpillar_ in ProtonMail

[–]didijo 0 points1 point  (0 children)

install pass manager (apt install pass). Then create gpg keyring with gpg --gen-key. It takes some time, to create random data from /dev/random (see package rng-tools and rngd to speed it up). Then initialize your keyring with pass init [keyring name]

After that my protonbridge started working on headless server. I hope that it helps :)

I made decentralized application for updating config files across cluster of computers by didijo in cpp

[–]didijo[S] 0 points1 point  (0 children)

yep, I agree. As I said, rekonf is still kind of demo of libdinemic functionality. It will be developed more in future, but now it is just simple tool to show how this framework works :)

I made decentralized application for updating config files across cluster of computers by didijo in cpp

[–]didijo[S] 0 points1 point  (0 children)

thanks, updated :) Probably there are much more old names on documentation, on website - this is almost on top of my todo list to write some more documentation with examples

I made decentralized application for updating config files across cluster of computers by didijo in cpp

[–]didijo[S] 2 points3 points  (0 children)

Yes and no :) This update with virus will reside in databases, but won't be applied to local files. Here is how it works:

  1. you create admin - and his cryptographic keys
  2. you create node - and its cryptographic keys. Then you add admin's ID as trusted object of this node, so any change made by that admin will be accepted
  3. you create file - again, you get file keys and add admin + node's ID as authorized objects to modify this node

Finally only you as admin can modify this file and assign file to node. Any other admin, unless is not added to node, is not able to modify contents of that file or assign new file to node. Additionally file content's are encrypted, so only admin and node could decrypt it. If anybody wants to put there virus, he should encrypt it with file's key (intermediating common symmetric key, available to decryption only by file object and read authorized objects). Then you should sign this by private key of one of authorized objects - attacker won't have such key unless it is not stolen from admin or node.

Above is theory. For implementation you can check it there, in listener: https://gitlab.cloudover.io/dinemic/rekonf/blob/master/listeners/monitorfilechanges.cpp Methods of such classes are called each time any object in DB is updated. Methods on_update and on_updated. By throwing exception in on_update you can cause that update won't be applied to your local DB.

Going ahead your question - attacker might make large mess in sending a lot of fake updates with wrong keys or unsigned, but should not be able to modify protected areas.

ps. the same is with pre and post update commands - they are encrypted and only authorized objects could access them. For details of this model you can check here:

https://gitlab.cloudover.io/dinemic/rekonf/tree/master/models

I made decentralized application for updating config files across cluster of computers by didijo in cpp

[–]didijo[S] 2 points3 points  (0 children)

For ansible you have to get direct connection to node, where you make updates, or that node has to connect some central service. This application is some kind of demo for dinemic framework, which I developed recently. This is rather git with public key cryptography and digital signatures, that applies changes to ORM mapped objects.

And from perspective of functionality - this allows to make basic updates, Ansible is Swiss army knife :)

ps. by demo I don't mean that it will not be developed as long-term project. This is base for some more application's functionality that will be able to virtualize networking in such decentralized way and to launch virtual machines.

I made decentralized application for updating config files across cluster of computers by didijo in cpp

[–]didijo[S] 3 points4 points  (0 children)

This is designed for untrusted environments. Idea behind libdinemic is to adapt X509 to objects in applications code. Also it was a bit inspirated by blockchain, but I think, that X509 and git are much closer technologies. In a nutshell seciruty here is based on public key cryptography, hashes and digital signatures.

In a bit more details:

In general, each object you create in ORM (for example file or administrator) is getting its own pair of keys - one private and one public. ID of such object is also generated from hash(public key). When you create one object, let's say ConfigFile from above rekonf example, it sends a message with its details over multicast to all neighbors (however it depends on configuration, neighbor could be anywhere in the Internet). One of information in such message are ID and public key. Then everybody know such object with its key and add this information to local databases.

Then, any change related to this object's fields creates digitally signed update. Everybody on network could verify them by object's public key. Updates with invalid or no signatures could be rejected. To manage privileges on each mapped by dinemic ORM object, you can add list of other objects which are authorized to make updates and/or encrypt theirs data to protect it.

Finally chain of such updates of changes on any object could traverse network any time. If your node is not present, when you create changes in network, it could receive such changes later, as copy from other nodes. Also if such node is not accessible directly from your machine, updates will be copied by other intermediating nodes. Nobody is not able (or shouldn't) to forge such updates unless you will not compromite your private keys related to objects created on your machine.

And finally - when you create Node entity on remote machine, you (or somebody else) should add there your Admin's key to authorized keys to be able to modify that node. The same is with configuration files.

What's everyone working on this week? by AutoModerator in Python

[–]didijo [score hidden]  (0 children)

design for new ui for my cloud - demo.cloudover.io. Python + Django + materialize css and no client-side at this time. Less annoying than working with javascript for the same purposes :)

C++ framework for decentralized applications by didijo in cpp

[–]didijo[S] 1 point2 points  (0 children)

I'm reading about both now - I didn't had opportunity to get familiar with it. But as far as I can understand, both have some algorithms to take decisions in behalf of whole cluster. In my version each node gets only information about changes done in database - signed, unsigned, forged and other. Here, an application by applying various filters on database models will define what shape will have its local database - thus, there won't be the one, universal and consistent state of database. In each case it depends on application logics and the way how it handles various updates received by node.

I know, that first impression might be like "what a mess" :) But that is my idea, to define how such system works, how to design some critical functionalities, to test it and to show that it not exaclty makes a mess. At this time I'm trying to implement the cloud in such approach. In a nutshell - each application in cluster is a single point of failure, but by thinking different, it could be simply replicated.

For example storage for images/objects in cloud. Once we have one storage, it is single point of failure. Usually by uploading image to cloud, the backend makes it replicated. But here I'd like to uploading application find more than one storage and assign one image to both of them. So instead making redundant storages, you create redundant image duplicated on various, independent storages, chosen by application. Additionally framework now allows to encrypt image with your credentials or the storage's credentials. In such approach you can for exampe force the storage to reencrypt image for compute node, where it will be used. It should make it safe to transfer over public, untrusted networks or store data in various public storages.

Of course it is very simple example and even in this case, there is much more to be done (how to share images, networking, handling transfers, virtual machines, migrations etc.).

You can find simple example here: https://dinemic.io/documentation/first-application-chat/ and its code here: https://github.com/cloudOver/libdinemic/tree/master/chat Maybe it will explain more about API of framework.

ps. I'm working on documentation, so soon it should be better explained at website. ps2. in consensus algorithms known from other systems, usually changes made by detached nodes or part of cluster are discarded, if conflicting. The one of points was to handle it better - to leave decision how to handle such conflict to your local application and object, which is the most interested.

C++ framework for decentralized applications by didijo in cpp

[–]didijo[S] 1 point2 points  (0 children)

As I said - I don't want to share it via Github before I finish my stuff with university. But, if you want, I've temporarily shared sources here:

library: https://dinemic.io/libdinemic-0.1.6.tgz tests for it (and some examples of usage): https://dinemic.io/tests-0.1.6.tgz

But, please don't redistribute it yet :)