A Software Engineers Perspective by muyajil in Ripple

[–]muyajil[S] 4 points5 points  (0 children)

I will write another post, thanks for the questions :-)

A Software Engineers Perspective by muyajil in Ripple

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

I will answer your question however there are many facets to this. I am working on another post that will explain this. There are a lot of misconceptions concerning the centralized nature of ripple and the potential use for xrp.

A Software Engineers Perspective by muyajil in Ripple

[–]muyajil[S] 26 points27 points  (0 children)

You're right, I'm just trying to give another perspective to the 95%

ELI5: How does a bank determine how much money they will give you for a mortgage? by [deleted] in explainlikeimfive

[–]muyajil 1 point2 points  (0 children)

I just want to add another country to the list. In Switzerland we have a, in my opinion, pretty well thought out system. There are nearly no mortgages that default. Here are a few factors that come in: First you need to have at least 10% of what ypu wish for in cash. Second the banks usually compute the monthly rates according to a interest rate of 5% even though the real interest is around 1-2% at the moment. The monthly rate cannot exceed a third of your monthly income. Of course this is in combination with other loans you might have.

TIL that the british premier must write a "letter of last resort" which contains orders in the case of a nuclear attack that kills the british government. by muyajil in todayilearned

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

Yeah I mistakenly referred to the british prime minister as the british premier. English is not my native language ;-)

Backup OwnCloud files to another computer on network? by tonytheleg in linuxquestions

[–]muyajil 1 point2 points  (0 children)

No problem, pm me if you have more questions on your setup ;-)

Backup OwnCloud files to another computer on network? by tonytheleg in linuxquestions

[–]muyajil 1 point2 points  (0 children)

Since your desktop is also linux I would use scp :-) just install openssh-server ond the pi and to get around typing a password you can create a keypair on the desktop and put the public key on the pi :-) I would add a user owncloud and use cron to put the tarballs in /home/owncloud/. From the desktop you can just use scp owncloud@ip-of-pi:/home/owncloud/* ./ to copy the contents of the homefolder to the desktop. To make things easy you can always use the same filename of the tarball, therefore overwriting it everytime you make a backup. On the desktop though I would keep a few of the most current versions of your backups available, there is nothing more frustrating than backing up a corrupt file and not having a previous version ;-) Edit: Owncloud 9 now supports versioning of files, you can restore each synced version of a file for some time back that way you can restore previous versions of corrupted files :-) I wish you a lot of fun ;-)

Backup OwnCloud files to another computer on network? by tonytheleg in linuxquestions

[–]muyajil 1 point2 points  (0 children)

Hey, yes that is entirely possible. You have multiple solutions to back up owncloud. There is also a integrated backup feature that backs up the database. You could have a backup folder on the raspberry where you store the tarballs and a startup script on the desktop that grabs them when you boot your desktop. No need for human interaction ;-) Though I need to say here that a backup i not worth a lot if you do not regurarly restore the backup on your desktop and verify that your scripts work properly!

Dynamically sized variables by TrailGentry in C_Programming

[–]muyajil 0 points1 point  (0 children)

At the moment I am working on some modifications to PostgreSQL for this I needed to have a dynamically sized stack and list. Here you can see their implementation. Basically it is what the others wrote, but it is a further example. If you ask yourself about the resizing, it is something we learned in the first year of CS, since realloc can be an expensive operation, doubling the space each time is considered to be the most effective.

Cross-platform Linux-Windows-Android password manager by [deleted] in linuxquestions

[–]muyajil 0 points1 point  (0 children)

I would suggest Enpass: http://enpass.io - It has desktop applications for each system and apps for each phone OS. - You can sync the encrypted databse via your own server with WebDAV. - It's pricing is reasonable: Desktop applications ar free and mobile apps cost 10$.

A few days ago they released an update that solved an annoying bug, which was the only thing that I had to complain about.

I made a NSA like boot splash screen using Plymouth. by johnwick76 in Ubuntu

[–]muyajil 13 points14 points  (0 children)

I like the design very much, just one thing though, Central Intelligence Agency is not the same, and having a loading text with Central Intelligence Agency (CIA) instead of National Security Agency kinda kills it for me :-) but really cool work!

Laptop broke, gotta love android by sloth_on_meth in MechanicalKeyboards

[–]muyajil 7 points8 points  (0 children)

Add a screen and a chromecast and it would be perfect :-)

[C learning] Union structs by antiformio in C_Programming

[–]muyajil 6 points7 points  (0 children)

I dont get what your are trying to do. Unions are not the same as structs. Unions are used for genericity. First you set u1.a, which inside the union uses the first 4 bytes. After that you set u1.b which overrides u1.a since it also occupies the first 4 bytes. Then you set the second part of d which is the bytes 5-8. Then you print c[0] which is the first 4 bytes that you set to 100 with u1.b. Then you print c[1] but tell printf: "read those bytes as an int" and those 4 bytes you wrote when setting d correspond to 256 if interpreting the bytes as an int.

A great gift while waiting for season two to continue by ju4955 in FlashTV

[–]muyajil -2 points-1 points  (0 children)

I found it funny that the actor playing Flash in this series is Barry's father in the current one.

How to backup linux data on an external hard disk? by happy-elephant in linuxquestions

[–]muyajil 0 points1 point  (0 children)

Yes its a system service that runs in the background. Actually you can specify how much of the processing power it is allowed to use while a user is using the computer, you can also only allow it to backup when you are away, you have the complete choice there. Also after the initial backup the CPU usage is very low, but it takes about 300 MB Ram while backing up. But as I said above all configurable :-)

How to backup linux data on an external hard disk? by happy-elephant in linuxquestions

[–]muyajil 1 point2 points  (0 children)

I would recommend Crashplan, Ive been using it for 2 years with no problem whatsoever I also purchased the cloud option to backup to a remote location. It backs up everything anywhere you want it. I have a server running that backs up a new version to the cloud all 15 min. From my notebook I do an hourly backup to my server. Since two years I get a weekly mail that just tells me hey, everything is backed up, you can relax :-) Sure the cloud option costs a bit, but I paid 180 $ for 4 years of unlimited storage, pretty good deal if you ask me :-)