Stream

Join this community to post or comment

Neil Balch

General Coding Questions  - 
 
Does anyone know what the benefits of installed apps on windows?  Putty for windows is an app, but it doesn't install.  It runs in realtime.  Are there more permissions allowed when you install a program?
1
Micah Pegman's profile photo
 
Depends on the complexity of the program. Sometimes installing requires a program to unpack files in a certain location, making changes to the registry, and having a set save location. Putty can run without that.
Add a comment...

Donald Burr

Episode Discussion  - 
 
Just started watching the most recent iOS segment. I realize it's probably pre-recorded so you guys may not have had the most up-to-date information, so I just wanted to mention a few quick corrections.

* As of June 2015, the Apple developer programs are now united. A single $99/year fee will allow you to develop and sell apps for both iOS AND OS X.
* I mentioned this before in another post, but maybe you didn't catch it. When Xcode 7 comes out later this fall (along with iOS 9) you will no longer need to pay for the Developer Program to test on YOUR OWN DEVICES. So long as a device is signed in to iCloud with YOUR Apple ID, you will be able to load and run code on it without having to join the paid developer program. You WILL still need to join the paid program, however, if you want to distribute apps to beta testers (other than yourself), or to sell it in the  App Store.
3
Louis Maresca's profile photoDennis A. Deschamps (Drmacintosh)'s profile photo
2 comments
 
I would like to find out more about Swift replacing Objective-C and Open Source talked about @ WWDC 2015 
Add a comment...

Jeff Brand

Episode Discussion  - 
 
Following my mini adventure in Python with +Rudy Trujillo , I reviewed some of the transcript for the Python intro episode of Coding 101, #11.

I have a few questions that perhaps +Fr. Robert Ballecer, SJ or others could help answer.

1. In that track, you favored Python 2.x. For someone learning today, is that still the correct choice? I've ready that Python 2.x development has stopped which leads me to think 3.x is the way to go.

2. Google uses Python heavily. Much of their support sites still use .py extensions in their URLs. I've also heard that aspiring Googlers would do well to learn Python over any other scripting language. What's the reason for this? It seems like it has much less legacy baggage that PHP, Perl, or Bash has. The import system also seems to keep things lean and mean so it may be a matter of performance, flexibility as a command-line or web backend scripting language, or a personal preference by early Googlers.

3. How well does Python bridge the gap from scripting to bytecode-compiled executable? I've seen .py and .pyc files used by software like Sublime Text 2 and believe that that entire IDE is written in it. I know tools like py2exe exist. Does this make Python a viable alternative for development of actual desktop apps instead of C++, C#, VB.NET, or even Java? It might actually be easier to deploy than apps that depend on either the .NET Framework or JRE.
1
Chris Bickhaus's profile photo
 
I am by no means an expert, but I have dabbled in Python enough to feel comfortable answering your first question. While Python 2 is no longer in development, and Python 3 had been around for awhile, Python 2 still has a lot of support. Further, it has a huge base of libraries (things to import to make your life easier), many of which have not been ported over to Python 3. Essentially inertia has helped Python 2 remain the standard. Check out this link for more: https://wiki.python.org/moin/Python2orPython3
Add a comment...

Jeff Brand

Share Your Code!  - 
 
OK, PHP coders - here's some sample code for the TWiT.tv API. The wrapper library isn't done yet but the examples will help you code warriors get started.

I want to stress that the example code is bare-bones and meant for teaching purposes. Any production implementation would see the code broken up into a class with 5-7 methods at least.

That said, the examples are (CC) Attribution Share-Alike so use it with your Coding 101 skills to make it better.

Feel free to use GitHub to submit Issues for additional how-to's as Issues and submit your own samples as Pull Requests.

/cc +Fr. Robert Ballecer, SJ , +Louis Maresca , +Patrick Delahanty 
twit-tv-api - TWiT.TV API wrapper library in PHP
1
Add a comment...

Donald Burr

Episode Discussion  - 
 
Great to see you guys starting on an iOS segment.

FYI, currently you must be a member of the Apple Developer program ($99/year) in order to build and run your code on an actual iOS device. (you can run code on the iOS Simulator without needing to pay)

HOWEVER, when Xcode 7 comes out later this fall, that will change. With Xcode 7, anybody will be able to build and run code on actual iOS devices, so long as the device(s) are registered (i.e. logged into iCloud, etc.) with your Apple ID. (Note that if you do want to sell your apps in the App Store, you will need to join the developer program.)

More here: http://9to5mac.com/2015/06/10/xcode-7-allows-anyone-to-download-build-and-sideload-ios-apps-for-free/
Apple has changed its policy regarding permissions required to build and run apps on devices. Until now, Apple required users to pay $99/year to become a member of Apple's Developer Program in orde...
3
Add a comment...

Stewart Gondo

Episode Discussion  - 
 
This is from my son Aaron.  It might be fun to sometimes spend a few minutes on Minecraft coding mods.  He's sure that a lot of kids would like to see some of the really neat ones & it might get more kids interested in coding.
24 votes  -  votes visible to Public
Good idea! :-)
88%
Not so good :-(
13%
2
Add a comment...

Andrew Quintal

General Coding Questions  - 
 
This might be a real advanced question but does anyone know if it is reasonably possible to enable Inter-process Communication in Windows Universal Apps. What I'm looking to do is an app that will communicate back an forth with MSFS via FSUIPC/WideFS.
1
Andrew Quintal's profile photo
 
Update: Didn't find a solution for this particular question but found an alternative solution. Main thing I needed from the Universal app was .NetCore. Here's an article that shows how to get the .NetCore library in a regular desktop app

https://software.intel.com/en-us/articles/using-winrt-apis-from-desktop-applications
Add a comment...

Rudy Trujillo

Everything Else!  - 
 
Where is the python stuff
1
Larry Weiss's profile photoRudy Trujillo's profile photo
2 comments
 
thks
Add a comment...

Louis Maresca
moderator

Everything Else!  - 
 
Looking to start learning Web Development, this is a great start on some new technologies. Angular and TypeScript!
4
Matthew Reardon's profile photoNathan Follmer's profile photo
2 comments
 
Out of all the JS frameworks I've dealt with, Angular feels like the one that's going to stick around the longest. 
Add a comment...

About this community

Join Father Robert Ballecer and Louis Maresca on Coding 101, a weekly instructional, project-oriented programming show with appeal for beginning to intermediate programmers. Using a combination of classroom-style teaching, guest programmers, and special interest segments, Coding 101 will offer beginner, intermediate and "applied" programming topics within several interchangeable modules. Learn programming languages such as Java, C++, Visual Basic, and more! Records live every Monday at 2:30pm PT / 4:30pm ET.

Neil Balch

Episode Discussion  - 
 
+Fr. Robert Ballecer, SJ I saw you had a VM on your Windows computer for OSX.  How did you get that and what did you use to obtain the OS?

Macs are quite expensive for me and I would like to tinker with Xcode.
1
Jeff Brand's profile photoLee Crocker's profile photo
4 comments
 
Apple claims that Hackintoshes are illegal, but they really have no legal leg to stand on. Tying agreements are illegal per se under antitrust law, even for non-monopoly companies. That's why Epson can't stop you from using off-brand ink, Gillette can't stop you from using other razor blades. Apple's claim that they can stop you from using OSX on non-Apple hardware is hot air. I really hope someone sues over it who isn't doing other dubious things like Psystar was so we can have a good court ruling.
Add a comment...

Steven Erickson

Episode Discussion  - 
 
Does anybody have the link to the Medium article that Lou referenced in the last episode?
2
Louis Maresca's profile photoSteven Erickson's profile photo
2 comments
 
Thanks Lou!
Add a comment...

Donald Burr

Episode Discussion  - 
 
BTW Someone has managed to add a sort of "Playground" like functionality to Objective-C. It's kind of a hack, but it works. :)  https://github.com/krzysztofzablocki/KZPlayground
KZPlayground - Playgrounds for Objective-C
1
Add a comment...

Rudy Trujillo

General Coding Questions  - 
 
Can python redirect a listing of a directory into a file either txt or csv?
Looking for something similar to unix or DOS where you can just type something like:
dir > listing.txt
1
Rudy Trujillo's profile photoJeff Brand's profile photo
18 comments
 
It's my pleasure. I write code for a living, largely fueled by an interest in problem solving and understanding how things work. This was a great first exercise by which to learn Python and I'm glad I could share the results.
Add a comment...

Ubaid azm

Everything Else!  - 
 
<!-- bla bla bla -->     <<== will be gone if i execute perl pi -e ’s/\<\!-[^\>]+--\>//g’ *.txt

if i tried to remove strings from line...:

this will be gone  <<==perl -pi -e ’s/this[^gone]+gone//g’ *.txt 
does not work... help me please... how do i do this..
1
Joe Maruschek's profile photoUbaid azm's profile photo
2 comments
 
thank you soo much +Joe Maruschek 
Add a comment...

Lionel D

Everything Else!  - 
 
Share Tweet WhatsApp Mail Cascading Style Sheets (CSS) is a stylesheet language that defines how the content on a web page is to be displayed with colors, borders, fonts, backgrounds etc. Inspired by this Reddit thread, today’s post showcases 34 CSS puns that’ll put a smile on every web designer’s face. The interesting bit is that even […]
7
2
Louis Maresca's profile photoThomas Wolf (The0xD8)'s profile photoВасилий Бахарев's profile photo
 
LoL! my margin with my wife is in the negatives. :)
Add a comment...

peter kraus

Share Your Code!  - 
 
Rails Homework 2

https://github.com/fuudstamps/homework/blob/master/Coding101/Ruby/Module%202/ReadingList/app/views/welcome/index.html.haml

I saw a way to add the queryString params as an array here
http://benalman.com/code/projects/jquery-bbq/examples/deparam/

and passed ?search[]=Google&search[]=Bing&search[]=yahoo
1
Add a comment...

Steven Erickson

Episode Discussion  - 
 
I have a suggestion for an episode. While this idea won't appeal to the veteran code monkeys, I think it would be a good idea to have an episode that focuses on the terms that programmers use. As someone who is looking to make a career change into developing, I often get sidetracked and confused by industry terms and having Lou and Padre go over common terms and what they mean could be very helpful to the aspiring coders.

I.e, terms like git, framework, stacks (full stack, etc), acronyms (API, IDE, etc), etc.) I think you guys  can come up with a list that could cover the industry and help beginners get a leg up when trying to talk shop. 
7
Matthew Reardon's profile photoLee Crocker's profile photo
5 comments
 
Yeah, closures would take an episode of its own to do justice to. 
Add a comment...

Louis Maresca
moderator

Everything Else!  - 
 
Apple iOS development for iPad and iPhone, you no longer need a $99 developer account to test on the device from Xcode. This is change in the right direction to ensure entrance into the iOS ecosystem has a lower startup cost. As a start-up, or hobby dev, get yourself some used iPad 2's and IPhone 4s and away you go.


The WWDC keynote today was great, except for the part where it just wouldn’t end. Tons of new stuff on the development front including Swift 2, iOS 9, CloudKit etc. Here are some notes I gathered...
5
Louis Maresca's profile photoOmega Nine's profile photo
3 comments
 
After watching http://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/040 I wanted to try it, just because the debugging looks like black magic.  But yes, I would love to try it in a VM without having to go buy a mac.
Add a comment...

Matthew Reardon

Episode Discussion  - 
 
I have been researching the general idea of web frameworks.  Here is some good info I found.
 
They are both python but the full stack python link has a some good links and I think that it is general enough.

http://www.fullstackpython.com/web-frameworks.html

http://www.jeffknupp.com/blog/2014/03/03/what-is-a-web-framework/

Matt
1
Peter Q.'s profile photoEran Krakovsky's profile photo
2 comments
Add a comment...