Stream

Join this community to post or comment

Matthew Reardon

Everything Else!  - 
 
Some good recent reads... maybe even suitable for the beach:

The Code Book by Simon Singh
The Information by James Gleick
1
Add a comment...
 
For you Apple aficionados, this should be exciting 🙌 My question is which city & location is the museum. 
Alex Jason has 200 vintage Apple computers, including a rare Apple I model from 1976, that he hopes to display in a new technology museum in Maine.
1
Add a comment...

Matthew Reardon

Everything Else!  - 
 
Recently I asked a question about the difference between win32 and universal apps in regards to a story on +Tom Merritt 's Daily Tech News show.  The reddit response from SquashTacos helped me understand some of the Microsoft development timeline.  See below.  Hopefully you will be able to see links.  SqaushTacos provided a good curated list of links  I can't speak to some of the links but the wikipedia links were very helpful.

https://www.reddit.com/r/DailyTechNewsShow/comments/4cnatf/episode_discussion_for_dtns_2724_bash_on_windows/
2
Add a comment...

Louis Maresca
moderator

Episode Discussion  - 
 
Please forward it along!
 
Looking for a new opportunity? The Cloud and Enterprise group (where Azure lives) at Microsoft is hiring! My team, to be exact!
We have mid to senior level positions available and I am looking for a diverse set of developers. If nothing else, apply because we would love to hear from you. Cheers!
PRODUCT. Microsoft Dynamics CRM (Customer Relationship Management) is a rapidly growing business at Microsoft and is considered one of the leaders in Software as a Service in the world of business applications. CRM consists of a model driven platform that revolutionizes how business applications ...
3
Add a comment...
 
http://news.yahoo.com/week-astronomy-getting-solar-eclipse-205552543.html
This week in astronomy: We’re getting a solar eclipse and an asteroid is going to come thisclose to Earth
Well, this is the kind of thing that movies like 2012 make a big deal out of: On March 8th, our planet... The post This week in astronomy: We’re getting a solar eclipse and an asteroid is going to come *thisclose* to Earth appeared first on HelloGiggles.
1
Add a comment...

Vincent Panico

Share Your Code!  - 
 
Hello everyone I need help creating a flowchart with this...


Class Car
// Fields declarations
Private Integer yearmodel
Private String make
private Integer speed

// Constructor
Public Module Car (Integer year model, string make, Integer speed)
Set yearmodel =year
Set make = makers
Set Speed = 0
End Model

// Mutators
Public Module setyearmodel (Integer year)
Set yearmodel = year
End Module
Public Module setmake (string makers)
Set make = makers
End Module
Public Module setSpeed (Integer 0)
Set Speed = 0
End Module

//Accessors Methods
Public Function Integer getyearmodel ()
Return yearmodel
End Function
Public Function String getmake ()
Return make
End Function
Public Function Integer getSpeed ()
Return speed
End Function

//Accelerate Methods
Public Function getSpeed
Set Speed = Speed + 5
Return Speed
End Function


Public Function getBrake
Set Speed = Speed - 5
Return Speed
End Function

End Class


int main ()

cout<<“Car.accelerate()”
cout<<“Car.accelerate()”
count<<“Car.accelerate()”
cout <<“Car.accelerate()”
cout<<“Car.accelerate()”
Cout End

cout<<“Car.brake()”
cout<<“Car.brake()”
cout<<“Car.brake()”
cout<<“Car.brake()”
cout<<“Car.brake()”
Cout End
1
Add a comment...

Jed Reynolds

Everything Else!  - 
Learn to use diff to send your alerts as a useful reporting platform on Linux.
1
Add a comment...

Jed Reynolds

Everything Else!  - 
 
Putting scripts on a schedule is exactly what computers are for.
http://freedompenguin.com/articles/how-to/schedule-tasks-cron/
I tell people who are curious about Linux that you really don’t need to open a terminal to run a Desktop. The terminal is a scary thing for noobs. They get the willies when you start talking about it. While it is true that modern desktops provide pretty much all the point-and-click functionality you could+ Read More
4
Add a comment...

Joseph LaBonde

General Coding Questions  - 
 
How long of a wire could I run to an external temperature sensor from an uno. I am going to try and install my own compass and thermometer using grove sensors and the 96x96 display. Any tips would be great.
1
Jeff Brand's profile photomike klaene's profile photo
3 comments
 
If you have a discrete device on the end, I would think an decent copper wire would work.
Add a comment...

Michael Polinske

Episode Discussion  - 
 
Sad to see Coding 101 go away, but I didn't really care for the most recent episodes with hardware involved coding. Anyone else's thoughts on the demise of Coding 101?
3
Ben Tyger's profile photoChris Darrigo's profile photo
8 comments
 
I liked the ardino development episodes
Add a comment...

Derek Souter

Share Your Code!  - 
 
so far up to episode 15, and thought I would show a quick and dirty little python script I did this morning - just to create a random character password


# create a random password
#import the required modules
import random
import binascii
import os
#set the variable and list
Characters = ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"] # valid characters in a HEX code
password = "" # set the password to blank
desiredpasswordlength = 16 # set the password length to the default
loopcounter = 0 # this is how many times it has processed the loop to create the password
firstmessage = "How many characters do you want in the generated password? (pressing enter will use the default password length of", str(desiredpasswordlength),"characters)" # i had to use this, due to python limitations on the raw_input method
#clear the screen
os.system('cls')
# choose how many characters you want the password to be - uses the firstmessage variable due to limits on the raw_input method
userpasswordlength = raw_input(firstmessage)
if userpasswordlength.isdigit(): # check that the user has entered a number
        if int(userpasswordlength) < 10: # verify that the number is not too small - i don't like small passwords
                #clear the screen
                os.system('cls')
                print "Sorry, but this would generate a weak password of only", str(userpasswordlength),"characters, my programmer does not allow that, I will now use the default length of", str(desiredpasswordlength)
        else:
                if int(userpasswordlength) > 60: # make sure they are not being stupid - i don't want to try and type in this length of password!
                        #clear the screen
                        os.system('cls')
                        print "Sorry, you must be mad to try and create a password of", str(userpasswordlength),"characters, my programmer does not allow that, I will now use the default length of", str(desiredpasswordlength)
                else:
                        desiredpasswordlength = userpasswordlength # set the desiredpasswordlength variable to the userpasswordlength, assuming it is over 10 and less than 60 characters
else:
        # clear screen
        os.system('cls')
        # tell the user that they didn't enter a number
        print "Sorry, but ", str(userpasswordlength), "is not a number, I will now use the default length of", str(desiredpasswordlength)
       
print
print "creating a password of", str(desiredpasswordlength),"characters." # tell the user that i will now create a password of the required number of characters
print # blank line
#my processing loop - run once for each character
while loopcounter < int(desiredpasswordlength):
    random.seed() # initialise the random number
    randomcharacter1 = random.randint(0,(len(Characters)-1)) # choose a first random Octet
    randomcharacter2 = random.randint(0,(len(Characters)-1)) # choose a second random Octet
    AsciiCharacter = Characters[randomcharacter1] + Characters[randomcharacter2] # concatenate both Octets together to make a HEX code
    if AsciiCharacter > "20" and AsciiCharacter < "7F": # ensure that the character is one you can actually type in!
        password = password + binascii.unhexlify(AsciiCharacter) # add the new character to the current password
        # print the character code and the ASCII character to the screen (uncomment the next line to show the process on the screen)
        #print AsciiCharacter, "equates to", binascii.unhexlify(AsciiCharacter),"    current password is:",password
        loopcounter = loopcounter + 1

print
print "the generated password of", str(desiredpasswordlength),"characters is:", password # output the current password to the screen
print
print
raw_input("Press Enter to quit") # stop the terminal from closing - need to add a menu and allow you to create multiple passwords.....
1
Lionel D's profile photo
2 comments
 
There's also this method for both: os.system('cls' if os.name == 'nt' else 'clear') which I got from here: http://stackoverflow.com/questions/2084508/clear-terminal-in-python

There are several more complex ways to do it in there
Add a comment...

Derek Souter

Everything Else!  - 
 
currently getting back in to coding (most of the time I just do VBA in Excel, or VBS for quick windows scripts) - and on a binge of Coding 101 - up to episode 10, the interview of Randal Schwartz.    great show - enjoying it a lot.   :)
1
Add a comment...

About this community

Coding 101 has become part of "Know How" on the TWiT.tv network! Drop by http://twit.tv/kh or watch on Mondays & Thursdays at 2:30pm/11:00am PST for our Maker/DIY segments... NOW WITH CODE!
Alex Jason has 200 vintage Apple computers, including a rare Apple I model from 1976, that he hopes to display in a new technology museum in Maine.
1
Add a comment...

Donald Acrey

Episode Discussion  - 
Millennials may struggle but are the grittiest and greatest generation, says Jen Mishory. They're doing more good with fewer resources than their parents had.
1
Add a comment...

Louis Maresca
moderator

Episode Discussion  - 
 
Looking for a new opportunity? The Cloud and Enterprise group (where Azure lives) at Microsoft is hiring! My team, to be exact!
We have mid to senior level positions available and I am looking for a diverse set of developers. If nothing else, apply because we would love to hear from you. Cheers!
PRODUCT. Microsoft Dynamics CRM (Customer Relationship Management) is a rapidly growing business at Microsoft and is considered one of the leaders in Software as a Service in the world of business applications. CRM consists of a model driven platform that revolutionizes how business applications ...
2
1
mike klaene's profile photoLouis Maresca's profile photo
 
If I were both younger and living on the left coast this could be interesting.
Wishing you luck in finding true programmers and not just coders.
Add a comment...
 
Since the podcast is no longer, any ideas for a replacement in addition to this group being around?
1
Lionel D's profile photo
 
Udacityy / edx / Coursera?
Add a comment...

Lionel D

Everything Else!  - 
 
 
My personal favorite programming book.
(For advanced JavaScript developers)
1
Dennis A. Deschamps (Drmacintosh)'s profile photoLionel D's profile photo
2 comments
 
No this is a joke. Best place to start with Android is the Google Developer site. There are also lots of videos on YouTube.
Add a comment...

Jed Reynolds

Everything Else!  - 
 
 
#Linux  
I probably could have done this in perl and it would have been much faster…but I could say that about a lot of things. My problem is that Perl is not my command-line. Perl can be a REPL, but bash always is a REPL. Ever look at a patch file? diff -u -r -N httpd-2.0.48/include/ap_listen.h+ Read More
1
Jov Palma's profile photo
 
Ok

Add a comment...

Random Editor

General Coding Questions  - 
 
I am not a normal coder i am just a kid/teen i only now a little bit of HTML ... I don't know if this is the right thing for me
1
Random Editor's profile photoBen Tyger's profile photo
5 comments
 
Don't let your age limit you. If you want to learn something, give it a try. Even if you fail, you'll have learned something.

I was 9 when I started playing with (IBM / Apple) BASIC in the 80's. All of the stuff I wrote was crap but I still learned a lot doing it. 
Add a comment...

P Karrer

Everything Else!  - 
3
Jov Palma's profile photo
 
Cool

Add a comment...