Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

01-29-2015 , 02:09 PM
Quote:
Originally Posted by iosys
The sorts with linked lists have to be done with pointers and recursion only which is cool but I would rather just use loops instead of having to debug constantly. He has shown qucksort yesterday and wants us to do a radix sort as an assignment.

I'm not super with recursion and profs motto is treat recursion zen like and write as it should just work which i'm like 0.o half the time he is writing on chalk board.
If you're uncomfortable enough with recursion that you can't easily convert loops to their recursion equivalents, you should be glad that someone is forcing you to practice it. It's difficult to learn to program at a high level with this kind of avoidance of basic programming concepts. Recursion and recursive data structures are absolutely at the heart of all programming.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 02:11 PM
Yah, I agree with you both and will check out those books sometime this year.

Quote:
If you're uncomfortable enough with recursion that you can't easily convert loops to their recursion equivalents, you should be glad that someone is forcing you to practice it. It's difficult to learn to program at a high level with this kind of avoidance of basic programming concepts. Recursion and recursive data structures are absolutely at the heart of all programming.
What kind of stuff do you find yourself using it for other than searching directories or sorting. The only time I really found it useful was when writing code to search window directories and keep going within a folder to within a folder and so on. I'm more interested in networking stuff and never find times of when I would want to use it for anything.

Last edited by iosys; 01-29-2015 at 02:16 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 02:39 PM
I understood recursion much better after taking Theory of Algorithms. Divide and conquer can be very useful.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 03:16 PM
Code School is Free till Friday if anyone wants to try/learn some new languages.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 04:14 PM
I have no idea where to ask this, but you folks seem technologically smart, so I'll try here.

I have an unlocked Canadian iPhone 6+ but my carrier doesn't offer US service. Is there a good cheap US pre-paid plan I can get when I'm there. Preferably something purely pay-as-you-go since some months I won't be in the US at all.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 04:23 PM
Check T-Mobile and Wal-Mart, I think they offer pay as you go.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 04:41 PM
Quote:
Originally Posted by iosys
What kind of stuff do you find yourself using it for other than searching directories or sorting. The only time I really found it useful was when writing code to search window directories and keep going within a folder to within a folder and so on. I'm more interested in networking stuff and never find times of when I would want to use it for anything.
Practically all document formats (source code for most programming languages, XML, JSON, HTML, etc) are tree structures, which means any algorithm that parses and traverses a generic document is going to be recursive in nature. If you do game programming, decision making and path-finding algorithms often require tree traversal, which is recursive in nature. Trees are also used extensively in storage systems, whether for representing hierarchies or storing indices.

It's important to distinguish between recursion as a syntactic feature of the programming language you're using and recursion as a concept. Technically you don't need to use syntactic recursion to do anything - low-level languages don't need syntactic recursion in the sense of a function calling itself to be turing-complete, or for that matter a concept of a function at all. But no one struggles with recursion purely as a matter of syntax - it's the concept they are having a hard time dealing with.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 05:19 PM
Just sang happy birthday over a video conference call. It was surreal.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 05:23 PM
That's ridiculous.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 05:23 PM
Recursion tickles your brain. I once spent two hours thinking about how to turn a bunch of rows in a DB result-set into a nested parent/child/sibling structure that a 3rd party JS-tree-nav we were using wanted as input. Then after all that meditation, I wrote 2 lines of code. And it worked. One of my prouder moments.

Every time I do too much nitrous I have these fleeting visions about how recursion is the secret to the universe - as the wanna-wanna-wanna rings in my ears. Then the ringing fades and I can't ever remember any details of my mind-shattering insights - just the feeling of having them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 05:33 PM
Quote:
Originally Posted by kerowo
Check T-Mobile and Wal-Mart, I think they offer pay as you go.
Thanks. T-Mobile seems great. Looks like for $13 I can get enough voice minutes / text messages and data for a week.

Considering I was averaging $5-$10/trip on my old plan (w/ no data) that's a pretty good improvement.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 07:07 PM
Quote:
Originally Posted by iosys
My school's main classes are as followed.
The first two programming courses are in java.
There is two mobile courses, android and iOS programming.
Object-Oriented Design is taught by a professor that loves small talk.
C++ intro, C++ intermediate, C++ Networking, C++ Data structures and C++ Algorithms Design and Analysis.
Also there is a nodejs class offered randomly that i want to take instead of the php course.

The sorts with linked lists have to be done with pointers and recursion only which is cool but I would rather just use loops instead of having to debug constantly. He has shown qucksort yesterday and wants us to do a radix sort as an assignment.

I'm not super with recursion and profs motto is treat recursion zen like and write as it should just work which i'm like 0.o half the time he is writing on chalk board.

You are allowed to write in C for assignments, quizzes and tests.
Yeah smalltalk is a pioneering OO language, you probably will get something out of that. I was a little concerned the C++ course was really just a course in C. Of course you should have a foundation in C. The curriculum seems to be geared towards learning C type programming and then moving on to more topics suited to C++ specifically. Curriculum seems good if you want to learn C++, not everyone does nor needs to.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 07:26 PM
Quote:
Originally Posted by suzzer99
Recursion tickles your brain. I once spent two hours thinking about how to turn a bunch of rows in a DB result-set into a nested parent/child/sibling structure that a 3rd party JS-tree-nav we were using wanted as input. Then after all that meditation, I wrote 2 lines of code. And it worked. One of my prouder moments.

Every time I do too much nitrous I have these fleeting visions about how recursion is the secret to the universe - as the wanna-wanna-wanna rings in my ears. Then the ringing fades and I can't ever remember any details of my mind-shattering insights - just the feeling of having them.
wat

Whipped cream cans?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 07:52 PM
I put in my first vacation request today, taking a Friday and Monday the last week of March and going to Vegas. A few minutes later I get an email that it has been rejected by my manager. I'm like "WTF?" because I know I will have plenty of vacation accrued.

Manager comes and asks to speak to me and tells me I won't have enough vacation. Now I'm really confused. Turns out he means that he doesn't think I will have "enough" vacation, and is worried about if I want to take a week or something soon after and don't have enough, so he is just going to give me the two days for free.

I love my job!!!!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 08:11 PM
Quote:
Originally Posted by suzzer99
Recursion tickles your brain. I once spent two hours thinking about how to turn a bunch of rows in a DB result-set into a nested parent/child/sibling structure that a 3rd party JS-tree-nav we were using wanted as input. Then after all that meditation, I wrote 2 lines of code. And it worked. One of my prouder moments.

Every time I do too much nitrous I have these fleeting visions about how recursion is the secret to the universe - as the wanna-wanna-wanna rings in my ears. Then the ringing fades and I can't ever remember any details of my mind-shattering insights - just the feeling of having them.
this is the Universe telling you to read Douglas Hofstadter
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 08:13 PM
Quote:
Originally Posted by Baltimore Jones
wat

Whipped cream cans?
Well usually chargers you can buy at most head shops.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 08:39 PM
Quote:
Originally Posted by KatoKrazy
I put in my first vacation request today, taking a Friday and Monday the last week of March and going to Vegas. A few minutes later I get an email that it has been rejected by my manager. I'm like "WTF?" because I know I will have plenty of vacation accrued.

Manager comes and asks to speak to me and tells me I won't have enough vacation. Now I'm really confused. Turns out he means that he doesn't think I will have "enough" vacation, and is worried about if I want to take a week or something soon after and don't have enough, so he is just going to give me the two days for free.

I love my job!!!!
Hahaha, awesome.

Quote:
Originally Posted by suzzer99
Well usually chargers you can buy at most head shops.
But obv it's standard to save whipped cream cans that you used for hot chocolate after the whipped cream is gone and there's still nitrous right?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 10:00 PM
Yeah about 1-2 good hits per can.

Once when I was waiting tables I went into the walk-in freezer and got the mother of all nitrous hits from a spent whipped cream can. The last thing I remember is my lungs hurting and thinking this is going to be good - before waking up looking at the frozen meat with a sore butt and shoulder. Amazingly no one heard my collapse.

Last edited by suzzer99; 01-29-2015 at 10:11 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 10:39 PM
Quote:
Originally Posted by Grue
Not to be too narcissistic but I've been really successful in interviews and I can't help but wonder if its my technical skills, or the fact that I'm a white male in my 30s without visible tattoos or long hair who can look someone in the eye and talk about programming.
Well... I am trying to get into databases and low-level ****. I suspect this is a big part of the problem. It is no big secret that people are getting jobs using JavaScript after opening up Notepad++ for the first time 6 months prior. Granted, they are only getting $10 to $14 per hour, but they are doing what they want.

I hate building websites so much that I take this email as a badge of honor:

Google systems have tested 10 pages from your site and found that 100% of them have critical mobile usability errors....

Quote:
Originally Posted by iosys
I'm not super with recursion and profs motto is treat recursion zen like and write as it should just work which i'm like 0.o half the time he is writing on chalk board.
Loops are just recursion in disguise.

is_palindrome() takes a string, tests if it is a palindrome, and returns a Boolean.

Write this using for, while, and recursion. I suspect you'll find the recursive version easiest to understand.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 10:41 PM
Quote:
Originally Posted by KatoKrazy
I put in my first vacation request today, taking a Friday and Monday the last week of March and going to Vegas. A few minutes later I get an email that it has been rejected by my manager. I'm like "WTF?" because I know I will have plenty of vacation accrued.

Manager comes and asks to speak to me and tells me I won't have enough vacation. Now I'm really confused. Turns out he means that he doesn't think I will have "enough" vacation, and is worried about if I want to take a week or something soon after and don't have enough, so he is just going to give me the two days for free.

I love my job!!!!
That's awesome! Congrats.

You wouldn't believe what I did to get vacation time for me and a handful of other employees.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-29-2015 , 10:59 PM
hey, so i'm looking for a partner on a project with a high profit potential (sports betting stuff). i 100% know what i'm doing with this stuff, and know for a fact that there's a lot of money to be made.

i'm looking for a very talented programmer. anyway rather than spell it all out, i'll just post the ad i put up on craigslist.

i figure this **** is probably right up your guys' alley, and if not, maybe you can point me in the right direction with someone good. sorry if this is too spam-ish, just figure that one of you guys may want to get in on it. to clarify, i'm looking for a partner, not a codemonkey/employee sort of deal.

http://chicago.craigslist.org/chc/sof/4869512812.html
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2015 , 12:39 AM
Quote:
Originally Posted by suzzer99
Every time I do too much nitrous I have these fleeting visions about how recursion is the secret to the universe - as the wanna-wanna-wanna rings in my ears. Then the ringing fades and I can't ever remember any details of my mind-shattering insights - just the feeling of having them.
Does this bring the ringing back?

Code:
int the_secret() {
  int secret = rand();
  return (secret == 42)? secret : the_secret();
}
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2015 , 12:44 AM
Quote:
Originally Posted by Fubster
hey, so i'm looking for a partner on a project with a high profit potential (sports betting stuff). i 100% know what i'm doing with this stuff, and know for a fact that there's a lot of money to be made.

i'm looking for a very talented programmer. anyway rather than spell it all out, i'll just post the ad i put up on craigslist.

i figure this **** is probably right up your guys' alley, and if not, maybe you can point me in the right direction with someone good. sorry if this is too spam-ish, just figure that one of you guys may want to get in on it. to clarify, i'm looking for a partner, not a codemonkey/employee sort of deal.

http://chicago.craigslist.org/chc/sof/4869512812.html
Unless you have a vision for the next Amazon, I don't see any experienced programmer working for future equity that may never be realized.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2015 , 01:04 AM
Quote:
Originally Posted by KatoKrazy
I put in my first vacation request today, taking a Friday and Monday the last week of March and going to Vegas. A few minutes later I get an email that it has been rejected by my manager. I'm like "WTF?" because I know I will have plenty of vacation accrued.

Manager comes and asks to speak to me and tells me I won't have enough vacation. Now I'm really confused. Turns out he means that he doesn't think I will have "enough" vacation, and is worried about if I want to take a week or something soon after and don't have enough, so he is just going to give me the two days for free.

I love my job!!!!
Having good management in terms of stuff like that is excellent, I know that feeling
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-30-2015 , 01:29 AM
Dave, job searching and the stress that comes with it is super hard no matter what someone's situation is and I would never intentionally trivialize that, sorry if I came across that way. I do think the topic of hiring on the basis of good tech skills vs good communication skills (i.e. racism...) is an interesting topic that I wish I could wrap my brain around though and I'd love to hear more experienced people's thoughts on that sort of thing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m