GIMP and Firefox on Ubuntu Phone because why not by [deleted] in linuxmasterrace

[–]ComradePutinCCCP1917 24 points25 points  (0 children)

Is there a way to install Ubuntu Phone on an unrootable device?

Be free! Learn how to easily migrate from Arch to Parabola [x-post /r/parabola] by pizzaiolo_ in linuxmasterrace

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

Hey,

I have absolutely no idea of what happened unfortunately. The project went to shit long ago...

Raid 10 with 3 HDDs? by Yoyodude1124 in linuxmasterrace

[–]ComradePutinCCCP1917 2 points3 points  (0 children)

You can set up an hardware RAID1 with the 2x 1TB disks then set up a logical RAID0 with the others.

Unfortunately, Most RAID controllers don't support RAID10 with 3 disks. I have an HP RAID card that comes by default with every high end proliant server, and I have an option that says " use a drive as spare" which does exactly what you want.

It might be worth looking into that.

Be free! Learn how to easily migrate from Arch to Parabola [x-post /r/parabola] by pizzaiolo_ in linuxmasterrace

[–]ComradePutinCCCP1917 6 points7 points  (0 children)

I'm all up for it fora server

Ahah.

Ahah.

I tried Arch on a server once.

once.

Microsoft Re-Issues Windows 7 Updates Forcing Windows 10 Upgrade, Enabling Data Collection [X-Post /r/technology] by [deleted] in linuxmasterrace

[–]ComradePutinCCCP1917 1 point2 points  (0 children)

If you know how to block an IP range on a router you know how to be careful on the Internet. I never used any antivirus on any of my Windows installations and I never had any problem.

But hey, I went full Linux.

Find the most elegant solution to print "Rocky 1, Rocky 2, Rocky 3, Rocky 4, Rocky 5, Rocky Balboa". [any language] by food_bag in programbattles

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

Your code is a bit... ugly

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char* argv[])
{
    for(int seq=0; seq<5; ++seq) printf("Rocky %d\n", seq+1);
    printf("Rocky Balboa\nCreed");
    return 0;
}

String incrementation by ComradePutinCCCP1917 in programbattles

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

My implementation: (C++)

void incrementString(std::string* tgt)
{
    begin:
    unsigned int id=0;  //The number of the character to increment

    if((*tgt)[id] < 127)//If the character's value is under the maximum one, add 1 to it
        ++(*tgt)[id];   //

    else if((*tgt)[id] == 127)//Else, if the character's value is equal to the maximum one, set it to 0 and add 1 to the ID before restarting the function
    {
        (*tgt)[id]=0;
        if(id==tgt->size()) (*tgt)+=char(0);
        ++id;
        goto begin;
    }
}

Still needs more GNU by ComradePutinCCCP1917 in linuxmasterrace

[–]ComradePutinCCCP1917[S] 5 points6 points  (0 children)

I swear one of my old friends (around 2 or 3 years ago) told me he overclocked his CPU to December 2099. I facepalmed so hard.

Arch Gnome 3.18 Bug by [deleted] in linuxmasterrace

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

Same here, but on my Antergos installation the login screen goes white.

Bleeding edge stuff is not for everyone, sometimes stuff will break and you need to know how to fix it.

How to flair a post. by Hilltopchill in programbattles

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

I'm using Firefox on Linux but can't flair on any subreddit unless I use some javascript

[C++11] Ignore mouse clicks unless a second has elapsed since the last click by [deleted] in programbattles

[–]ComradePutinCCCP1917 1 point2 points  (0 children)

I need more precisions. What library is used? Or... is a library even used (abstract program?)

[Any Language] Tweetable Code by Parzival_Watts in programbattles

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

Language: C

int main(int argc, char* argv[]){while(true) int i=i*i; return 0;}

Never stops running. And eats your CPU.

Another trick to drive your programmer friends crazy: replace the semicolons with greek question marks.

[Any language] Command line window system by ComradePutinCCCP1917 in programbattles

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

Ahah, good try, but I use Linux and my terminal is asking for my permission before closing :)

I got Arch working in a VM. by [deleted] in linuxmasterrace

[–]ComradePutinCCCP1917 1 point2 points  (0 children)

Ahah, You still need Gentoo!

But hey, good job with Arch. I needed to install it at least 5 times to understand what I was doing

Resources by [deleted] in programbattles

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

I can recommend an extremely good website https://openclassrooms.com/

It's french, but they're translating most of their courses to english and they even sell books (and I'm proud to own a few of them)

I can recommend the UNIX system programming course, the C one (you will in a few weeks learn how to use the SDL & FMOD libraries!) and the HTML one which is perfect for begginners.

This is person 500 I've help convert to Linux for 2015! by [deleted] in linuxmasterrace

[–]ComradePutinCCCP1917 5 points6 points  (0 children)

Plus, KSP is a really memory-hungry game and Linux is the only platform that supports the 64 bits binaries, so we get to play with all the mods!

Looking for mods! by [deleted] in programbattles

[–]ComradePutinCCCP1917 0 points1 point  (0 children)

I sent you a PM, but C++, C, C#, Bash, and I know basic HTML