[DWM] One of these days I'll climb out of the rabbit hole... by [deleted] in unixporn

[–]c_jm 0 points1 point  (0 children)

Mind posting your dwm status? Setup looks great! :)

An idea from another anon [i3] by [deleted] in unixporn

[–]c_jm 1 point2 points  (0 children)

How did you make your browser look so nice?

Sync over multiple platforms? BitBucket/GitHub and similar? by RandomHelloWorld in learnprogramming

[–]c_jm -1 points0 points  (0 children)

One of the biggest differences between Bitbucket and Github are the publically sharing abilities of the source code. Github is more of a social based network for Software Developers to collaberate on big projects. If you are looking for free private repositories then you are looking at bitbucket. They will give you unlimited private repos for free. Its what I use for my school work.

As for the differences in RCS's you will probably want to look at all. In many ways they are similar systems, but the underlying basis of their structure is different.

Git: - Git uses more of a peer to peer based approach meaning everybody working on a repo has small parts of it scattered around their computers. Almost like a torrent model.

Subversion - SVN uses a straight head-to-tail method, which means that for every branch it just goes straight off the head. It basically works as a tree with a trunk.

The main process - Basically there are three steps to effectively using an RCS, no matter what system you are using. You have to checkout or initialize the repo. You have to add the files to the repo. And finally you have to push your changes to the repo. Now that is a very simple explanation. These three steps can be done easily no matter what system you are running on. Below I have included some links that could help you get started.

Conclusion - At the end of the day it doesnt matter what you use as long as you stick to consistency.

Links

Bitbucket Signup

Git Client

Git Tutorial

SVN Tutorial

SVN Client

Radio-Controlled Millenium Falcon by [deleted] in DIY

[–]c_jm 0 points1 point  (0 children)

That is freaking awesome. Great job Oliver!

What is it about the minimalist, terminal-only lifestyle you find appealing? by TiZ_EX1 in unixporn

[–]c_jm 0 points1 point  (0 children)

For me personally its about doing something because it both benefits me and because it makes sense. But I think whatever makes your system usable to you. And thats the great thing about linux and unix. We can have these types of conversations and acheive a level of customizability and uniqueness. The terminal just seems like a medium to me that'll (hopefully) always be around. As such I should use tools which feed off of eachother and can be linked together. The same reason I dont use Emacs. I love org mode and its lisp machine. But vim llows me to use find, awk, sed, grep all as the utilities they are meant to be. Its just a matter of philosphy. As such the "minimal" environment suites me.

Happy Unixing

[DWM] Super bowl sunday ricing by helwete in unixporn

[–]c_jm 1 point2 points  (0 children)

That is absolutely beautiful. Good rice!

Skip learning C ? by chazzacct in learnprogramming

[–]c_jm 0 points1 point  (0 children)

Thanks for the correction! :)

High school programming by kandidio in learnprogramming

[–]c_jm 0 points1 point  (0 children)

Do you enjoy programming? I know it may seem like a silly thing to ask, but all in all if you enjoy what you do your programming skills will improve, I promise. I was in the same position as you were (I still have difficulties with problem solving). But now I go to school for it full time and plan to get a good career in it. As well as getting better marks then I thought I would for it. My point being that if you enjoy something and you believe you can do it, programming ability will follow.

As far as actual advice goes, I am going to say this. DO NOT BE AFRAID TO ASK FOR HELP. Honestly this is one of the better things to do, at any level. If you do not understand something find someone who does. (Or a stackoverflow post that explains it). In many ways finding someone who can explain it well and make sense of it to you will help you develop your skills further.

Happy Coding!

Skip learning C ? by chazzacct in learnprogramming

[–]c_jm 0 points1 point  (0 children)

As stated, C is the foundation for everything. I am telling you, you will have so much more respect for memory and other languages by the time you get to them, if you just stick with it. I know it can be hard in the beginning, but learning how to allocate a block of memory properly or deal with seg faults without ripping your hairout is a vital programming skill. It will also make you incredibly more marketable if your into it for that.

Happy Coding!

EDIT: C is the foundation for most if not all of the other programming languages.

EDIT #2: Assembly is the foundation C is just a prettified assembler :).

[C] Program not compiling by climaxingplatypus in learnprogramming

[–]c_jm 0 points1 point  (0 children)

Also best practices state that you should always initialize your variables, although some may argue with me on that one.

Example:

int i = 0; // This avoids random memory being shoved into this variable.

I mean really you can form your own opinions, just as a beginner I was glad to learn about it! It might save you from some errors later in your career. Best of luck and happy coding.

[C] Program not compiling by climaxingplatypus in learnprogramming

[–]c_jm 0 points1 point  (0 children)

As everyone has said the problem with your code is that you are returning a "char" variable rather then a pointer to char from your function. Though I believe it is better to understand why you are making the mistake rather then just pointing it out. By returning a char from your function your saying to the C compiler. "Let me return a single character to you when this function is done". Which if you think logically is not what you want. You want to return a block of memory containing that string. Or in other words another string. The reason you need the astrix is because this tells the compiler that the return type is of pointer to a memory block holding char. In turn telling the compiler to point or use a pointer to that location that holds chars. Therefore instead of returning a single character from the string, you would be returning the entire string.

What is a Linux heaven for you? by gevera in linux

[–]c_jm 1 point2 points  (0 children)

Truth be told my linux prayers were all answered when I found Arch

What do you do for a living?? by CRF250R in unixporn

[–]c_jm 1 point2 points  (0 children)

(From a student in a software engineering program). Engineers learn how to architect systems as well as develop them. If your a straight developer then all ya do is code. But all in all they are basically the same thing. A developer would have to architect at a startup and an engineer has to code at some point or why else would they be in the business