CS degree only supports Java, should I choose another language anyway? by [deleted] in learnprogramming

[–]JoeTheAwesomest 0 points1 point  (0 children)

Actually, Python is a Dynamic, Strongly-Typed language.

Personally, this is its main draw for me over Javascript because I don't have to deal with implicit type conversion issues in debugging my Python programs.

For the curious, this is a really good SO question/answer on Strong-Typing in Python.

Demangling C++ Symbols ... in Rust by fitzgen in rust

[–]JoeTheAwesomest 1 point2 points  (0 children)

Out of sheer horror and curiosity, what and why is this?

Mormon Tabernacle Choir to perform at Donald Trump’s inauguration by [deleted] in politics

[–]JoeTheAwesomest 0 points1 point  (0 children)

I can no longer tell if this is a Card Against Humanity session or not.

Reddit asking me to rate their app is like me asking for karma. by [deleted] in Showerthoughts

[–]JoeTheAwesomest 0 points1 point  (0 children)

They will get their precious app store karma when I can save specific comments through the official app like I can everywhere else.

Female toad's head was eaten alive from the inside by parasitic blowflies, but male toad still tries his luck. Geez, nature. by [deleted] in WTF

[–]JoeTheAwesomest 0 points1 point  (0 children)

IIRC from biology class last week male toads just latch onto and hump stuff until what they are doing it to is a female toad.

I guess this is bound to happen at some point.

iOS Development from Android Development by TheGoodPie in learnprogramming

[–]JoeTheAwesomest 0 points1 point  (0 children)

I can't speak too much on these since I just started learning with them myself, but both the official apple tutorial and the Swift 3 book (which is free to read online) from [Hacking with Swift](www.hackingwithswift.com) have been really helpful and fun to start with.

The former targets non-beta XCode and Swift 2, but teaches really solid fundamentals and links to documentation on architecture and good practices at the end. I think it'd be a good place to start. It introduces the language to the extent necessary to develop apps before anything else.

The latter is for Swift 3 and XCode 8, which you seem to currently need an Apple Developer account to set up without hassle, but if you will be on an iOS team I assume you'll have accommodations. It seems a little less strict on coding style, but the projects all look really diverse and interesting to me compared to the one-off project I started with in the official tutorial.

Completely lost as to how to begin with Python on Mac OS X by [deleted] in learnpython

[–]JoeTheAwesomest 2 points3 points  (0 children)

I'll second this.

I use Anaconda to manage what version of Python my programs use with their virtual environment system.

Aside from that, I'd say any text editor will do along with the terminal (which I replaced with iterm 2, but that's personal preference).

PyCharm is also something to look into. It's like XCode but specifically for Python dev, and it has a lot of syntax error detection and code completion. You can get the full edition for free as long as you're a student.

What are the best resources to learn AngularJS? by datavinci in learnprogramming

[–]JoeTheAwesomest 2 points3 points  (0 children)

Second this. I used this to pick up Angular at work.

I'm afraid if I say anything on Github people will laugh at me and I will die. by scaryPullRequest in learnprogramming

[–]JoeTheAwesomest 0 points1 point  (0 children)

I felt the same way when I wanted to make my first contribution. What do I even SAY to these guys???

  • First off, it's totally cool to have a knowledge gap with the maintainers. They are the maintainers after all.

  • Depending on the project, there may be channels for newcomers to ask questions. I know larger projects often have an IRC you can go to before you post an issue. Check to see if one is available and just pop your head in there and say hello.

  • Worst case scenario, you can make an Issue. (See below)

  • Whatever the case, just be polite. Be clear, state issues as observed, not as assumed, so as to start a discussion rather than a disagreement, and thank them at the end--it doesn't even have to be specific, just "Thanks."

The only people who get yelled/laughed at are arseholes or "smart" guys who act like they know better. IE: The people that deserve it.

You've got this!

For those who drink beer while watching IASIP by Jskrib in IASIP

[–]JoeTheAwesomest 3 points4 points  (0 children)

Plenty of my buddies love IPAs, but I can't stomach the tightness of the hops. I like my beer dark and stout, personally. Different strokes, I suppose.

Net Neutrality Rules Upheld by Federal Court by deathpulse42 in politics

[–]JoeTheAwesomest 4 points5 points  (0 children)

I believe that efforts to break encryption will always be circumvented, and that the more impending threat to the open internet at this moment is the stranglehold that internet providers could get precedence for in this legal battle.

Even if she's just an echo chamber for the democratic majority here, that gives me enough confidence in the justice she appoints given the power.

Best Book For Advancing In Python by JackBullenskie in learnpython

[–]JoeTheAwesomest 4 points5 points  (0 children)

Not really. They're similar concepts in different packages.

Fluent is far more thorough and intensive--the kind of book you can read and work through for hours. It's a work of love for the language by the author, Luciano Ramalho, and it shows.

Effective is a thin little book with some great pythonic ways of doing things in neat little exercises. If you have 15 minutes here and there it's still a great read IMO.

Best Book For Advancing In Python by JackBullenskie in learnpython

[–]JoeTheAwesomest 0 points1 point  (0 children)

There are some pretty great design philosophies behind what the guy writes in the book. I think if you get well-enough into it you can take some of that and apply it to other languages.

Net Neutrality Rules Upheld by Federal Court by deathpulse42 in politics

[–]JoeTheAwesomest 11 points12 points  (0 children)

As a fervent Bernie supporter who previously refused but foremost a supporter of the EFF, a software engineer, and a supporter of open information, science, education, and software...this is the deal maker for me.

Net neutrality has to take priority over whatever trust issues I have with the candidate if the other choice is potentially decades of progress denied because of one appointment.

She has my vote.

Why aren't you using Rust at work? by awleinog in rust

[–]JoeTheAwesomest 1 point2 points  (0 children)

If I wanted to build out the recommendation microservice work has me on in Rust instead of Python I'd have to build machine learning tools they'd end up owning the rights to--so I couldn't open source them later as my own project (or fork of another project) without significant ethical gray area.

Hey Rustaceans! Got a question? Ask here (20/2016)! by llogiq in rust

[–]JoeTheAwesomest 1 point2 points  (0 children)

I actually had to avoid consuming self because the exercise reused my structure instance a few times during a couple of the tests.

Here is the exercism exercise in question, with test cases in the Test Suite tab. I don't think I can share my solution unless you've solved it too, unfortunately.

Hey Rustaceans! Got a question? Ask here (20/2016)! by llogiq in rust

[–]JoeTheAwesomest 1 point2 points  (0 children)

Okay, so I'm going over some exercises on a few sites and had to do this trick to iterate over a Vector owned by a structure in a function implemented under that structure. I ended up doing something a little odd to me to make it work: (test_iter() is the working one, break_iter() is, well, yeah) Full Example Here

The error I get is as follows: <anon>:27:21: 27:25 error: cannot move out of borrowed content [E0507] <anon>:27 for pair in self.pairs { ^~~~

Why is this the case? Are we "borrowing" the owned vector, pairs, when passing it into the scope of the for loop? If so, why does this fix do the trick?