Top

Linux in a Box

Where to store uploaded files? File System versus Database storage.

The purpose of this research, as described in the title, comparing the idea of storing files using either a Database or the mere FileSystem of the operating system by studying the experience of other people’s or companies’ and learning as much as possible from their experience. Almost all analyses and discussions present on different speciality websites, as well as dedicated database companies, present almost the same answer, and the same principles in storing uploaded files. But before that, let’s see some pros and cons for using each type of file storage (also, with additional comments, explaining or negating some of the affirmations): Pros of the File system: Performance can be better than doing it in DB. To justify this, If you store large files...

The purpose of this research,...

Read More

Docker Toolbox port forwarding to localhost or the network

For a long time we avoided using Docker Toolkbox because we didn't understand how to allow the containers created within the docker Virtual Box machine by using local host and not the virtual machine's ip (usually 192.168.99.100).   This recently changed when one of my employees was forced to work for a while from within a client's network, and even more, work under Windows while the application was to be accessed under network designated domains only. Long story short, the application had to be run on docker, however accessed on a domain like 'myapp.domain.foo', which also made it accessible not only to my developer as well as the rest of the group. This can be easily achieved under Windows Pro hence HyperV and...

For a long time we avoided usi...

Read More

Atom – Changing ATOM_HOME

How many of you didn't try to make a propert IDE from Atom by now. Let me tell you. From many many many many (I forgot how many) points of view, it's one of the best text editors out there. And yes, with a little work, the right plugins and a lot of think through, it can be transformed into a proper IDE. Not what I'm gonna talk abut today though...

How many of you didn't try to ...

Read More

90 Days Windows Extending Evaluation Period

Searched a lot for this, but eventually Microsoft gave me the answer: http://support.microsoft.com/kb/948472 1. Click Start, and then click Command Prompt. 2. Type slmgr.vbs -dli, and then press ENTER to check the current status of your evaluation period. 3. To reset the evaluation period, type slmgr.vbs –rearm, and then press ENTER. 4. Restart the computer....

Searched a lot for this, but e...

Read More

Ubuntu apt-get update 403 Forbidden

After running apt-get update, today I obtained a lot of 403 errors in the command log.

W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-amd64/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-amd64/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-amd64/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages  403  Forbidden
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages  403  Forbidden

Lucky me, one of my friends got this before me and already had the fix.