HNHacker News
TopNewBestAskShowJobs

mipnix

124 karma · joined August 11, 2010

Professional pilot, hack writer-pettifogging bon vivant-switching to software development...way behind the power curve. Not too proud to fail, Repeatedly.

I used to write at www.Blackwatchholdings.blogspot.com before I poured every waking hour into learning how to program.

Contact: mipnix at geemail dot calm

C++ better than Java. Hash tables are freaking me out.

submissionscomments
mipnix··on Ask HN: I use emacs and my left hand hurts. Any tips?
I am new to programming and emacs was the first editor I was introduced to, so it naturally became my favorite. I switched to and am starting to learn Linux and in the class we use vim.

I don't type well so I don't have the proper form that might lead to the discomfort you mention but I am starting to appreciate the intuitive functionality of vim. Like I wrote, I am new to all of this so I don't have any priors or strong feelings about either editor. I find people espouse the virtues of the editor they were introduced to.

If you like emacs and it works for you, all the advice written here is helpful but from what I read, vi avoids all the crazy multi-key typing and really might be, ultimately, the best solution.

Then again, I don't know much.

EDIT:I forgot to mention, I learned Google uses the vi commands to navigate gmail and more webapps are incorporating that functionality, so it might be something to consider.

mipnix··on Ask HN: What's the big deal with startups anyways...
It's almost like it's a whole other country.
mipnix··on How far off am I?
I could have used you as my professor in my recent data structures class.

I imagine you have myriad responsibilities in the course of your day and I am grateful for the time you are affording me.

I will work on this tonight.

mipnix··on How far off am I?
Here's what I came up with. It compiles and executes but the result is a random symbol on the console. Definitely missing something.

  #include<iostream>
  #include<string>
  #include<cstring>

  using namespace std;
  void condense_by_removing(char *x, char y);

  int main()
  {
	char *string;
	string = new char[50];
	cout << "ENter your name: ";
	cin >> string;
	cout << endl << "Enter the character to remove: ";
	char ch;
	cin >> ch;
	condense_by_removing(string, ch);
	cout << endl << "new string is: " << *string;

	char dit;
	cin >> dit;

	return 0;
  } 

  void condense_by_removing(char *z_terminated, char  char_to_remove)
  {
	char *chPtr = new char;
	char *trailPtr = new char;

	for(int i = 0; i <= strlen(z_terminated); ++i)
	{
		chPtr = z_terminated;
		if(z_terminated[i] == char_to_remove)
		{
			trailPtr = chPtr;
			delete chPtr;
		}
	}
  }
mipnix··on How far off am I?
Thanks. Will check it out.
mipnix··on How far off am I?
Thanks for the link. Python is next on the list. Took one Java class. Maybe Android apps would be good too.

Thanks again.

mipnix··on How far off am I?
I keep neglecting that side of the issue. I am so focused on learning the languages, I lose sight of the experience I have. The noob factor is frustrating.
mipnix··on How far off am I?
Besides not knowing how to post it properly...?

The looping sequence, I imagine, doesn't need the if else queries. Probably simpler way to code it. I am definitely untested with larger projects.

mipnix··on How far off am I?
Ok. Had to get this out quick... Back to work. Don't know if it will compile

<code> #include<iostream> using namespace std; int main() { for(int i = 1; i <= 100; ++i) { if(i%3==0 &&i%5==0) cout <<"Fizzbuzz ";

else if(i % 3==0) cout <<"FIzz "; else if(i%5==0) cout<<"buzz "; else cout << i << " "; } return 0; } </code>

mipnix··on How far off am I?
Where did you find a tutor? Any recommendations of where to look?
mipnix··on How far off am I?
Don't know it well enough to code it from scratch at work. Have an idea. Will post something by tonight.

Just finished a Data Structures class and still wrapping my head around Trees and hashing.

Thank you, kindly.

mipnix··on How far off am I?
Why did I choose programming? Vin: It's like this fellow I knew in El Paso. One day, he just took all his clothes off and jumped in a mess of cactus. I asked him the same question, "Why?" Calver: And? Vin: He said, "It seemed like a good idea at the time." -The Magnificent Seven
mipnix··on How far off am I?
I will look into the Python. The coding in C++ is not a problem. I do the puzzles on ProjectEueler and the exercises in the textbooks but I don't see how they apply to real world development.

I understand the need to practice code and take to it religiously. My wife hated when I was gone all the time. Now I am home and she hates that I am on the computer. You are right about increasing the level of difficulty. Thanks.

← PreviousPage 2 of 2