Cárdenas: “416d65726963612043616e20436f646520”
cardenas.house.gov
cardenas.house.gov
Considering a computer programming language to be a foreign language seems a little bit silly and so does teaching children computer science in Kindergarten. Is he missing the point or is this just the path of least resistance to getting more computer programming coursework into public schools?
[1] http://www.kickstarter.com/projects/danshapiro/robot-turtles...
I don't think "teach the basics to a a degree that everyone is passing" and "wasting money" are a fair description of the relevant options.
My own view is that rather than worrying about children 'passing' some arbitrary standardised test. We should be aiming at teaching children to think critically and have a large intellectual toolbox to work from.
Of course; I'm weird in that I think children should be introduced to as many concepts as possible as early as possible and that the principles underlying calculus and differential equations are exactly the sort of thing that a bright 7 year old might find engaging intellectual toys. I also think that education is a lifelong process and needs to include both regimented group learning and self-guided exploration.
Perhaps exposing children to more novelty and creative outlets presents more opportunities to hook their interest.
[2] http://www.cs.utexas.edu/users/EWD/transcriptions/EWD10xx/EW...
Heck when talking to my non-programming friends the #1 issue is how they think the trade is too complex to dive into.
While I would not wish that everyone becomes a software engineer, programming is quite useful.
If you're interested in recreating this. You just need flash cards (with the step on them) and a couple of colored hats (I think it was three) to represent branch targets.
So card might be "Look at the towers tell the person behind you which has the largest disk" and that persons card is "if the largest disk is on the left one, the person in the green hat goes next", the person behind them has "if the largest is on the center pole the person in the purple hat goes next", the person behind them has "move the disk on the left pole to the right pole" etc. When you "jump" all the kids go to the back of the line except the one with the green/purple/yellow hat and that kid does their step then the one behind them etc.
Its a lot of fun. And you can mix up the line and watch the disks get put into very strange arrangements.
Why shouldn't kids be presented with the opportunity to learn these things at an early age?
My uncle conscripted me to enter in Basic games printed in magazines when I was about 8. I've been hooked ever since (on coding...I don't really game much anymore).
We had a "gently used" *86 in 6th grade classroom, which I think was the first PC exposure for most of my fellow classmates.
http://www.pbs.org/parents/childdevelopmenttracker/six/mathe...
And now imagine how exactly coding would be taught in the same schools in which 25% of 12th graders do not pass "basic reading" test. In their own native language, not in hexadecimal or Greek. Where those money would be spent? How these courses would look? What forms would this "coding education" take in order to get those government money? If you think this is silly now, it'll get much worse if this ever passes.
And now imagine how exactly coding would be taught in the same schools in which 25% of 12th graders do not pass "basic reading" test.
One approach to teaching a new subject might be to forget about the bottom 25% and the top 25% and focus on building up skills for the 50% in middle (2nd and 3rd quartile). If you can get a foothold there you can begin to expand at the margins.
No, and neither do I. I, however, think that having the federal government to prescribe what to teach in schools through legislation is silly. Especially if it is done the way everything else is done in public education system, which breeds unintended consequences and is not exactly rigged for pupil's benefit.
>> One approach to teaching a new subject might be to forget about the bottom 25%
You must have never heard anything about US public education system if you think something like that would ever be palatable. Does "No child left behind" ring a bell? But the honorable congressmen know what rings the bell:
Along with redefining computer programming as a critical foreign language, the 416d65726963612043616e20436f646520 Act would create a competitive matching grant program for schools, particularly those in low-income areas, to create new ways to teach computer science and engineering, in tandem with universities and non-profits.
"Particularly those in low-income areas" are those that are bottom 25%. And dumping federal money on them and saying "now teach kids to be best programmers ever!" is doubtful to produce the results you would wish to see.
So in other words, this is an attempt to be clever but is actually just wrong.
s = '416D65726963612043616E20436F646520'
def decoder(s):
cl = [ s[i]+s[i+1] for i in range(0,len(s),2)]
cl = [int(c,16) for c in cl]
f = "".join([chr(c) for c in cl])
return f
decoder(s)
returns 'America Can Code ' '416D65726963612043616E20436F646520'.decode('hex')
Edit: In Python 3, bytes.fromhex('416D65726963612043616E20436F646520').decode('utf-8')x = "416d65726963612043616e20436f646520" ''.join([chr(int(y, 16)) for y in [x[l:l+2] for l in range(0, len(x), 2)]])
I do think it's funny that they (erroneously?) put the extra space on the end of the string. If you read the press release for the bill I don't think the 20 is supposed to be there.
"416D65726963612043616E20436F646520".scan(/../).map { |x| x.hex.chr }.join
=> "America Can Code " ['416D65726963612043616E20436F646520'].pack('H*')
=> "America Can Code " print pack "H*", "416D65726963612043616E20436F646520" ''.join([chr(int(z1 + z2, 16)) for _, ((_1, z1), (_2, z2)) in groupby(enumerate(ciph), key=lambda (i, y): i // 2)])
edit: my goal was not to do indexing explicitlyitertools is one of my favorite python modules.
% puts [ binary format H* 416d65726963612043616e20436f646520 ]
America Can Code
Or if you want to see the trailing space: % puts '[ binary format H* 416d65726963612043616e20436f646520 ]'
'America Can Code ' echo '416D65726963612043616E20436F646520' | xxd -p -r
--> 'America Can Code ' "416D65726963612043616E20436F646520".match(/.{2}/g).map(function(s){
return String.fromCharCode(
parseInt(s,16)
);
}).join("")
Or the 1 liner :-) unescape("416D65726963612043616E20436F646520".replace(/(.{2})/g, "%$1"))As I mentioned in another recent thread, "programming" doesn't need to consist of a semester of C, or a slog through Horowitz and Sahni. My kids simply think of programming in terms of "making the computer do things." They like to play with Scratch, and have made me promise to teach them Python. My daughter's interested in math, and I've showed her how to solve equations and graph things using Maxima. We have a couple of Raspberry Pi's, so the kids have gotten comfortable with the command line, configuration files, etc.
Just find ways for the kids to do things and make things using computers, with a bias towards letting some of those things resemble programming.
Specifically, "416d65726963612043616e20436f646520" is the hex representation of the ASCII encoding of "America Can Code ", with a trailing space...
[1] https://pay.reddit.com/r/programming/comments/1sqnj7/416d657...
Thanks, Congress.
http://programmers.stackexchange.com/questions/163631/has-no...
I don't think this is a good idea. I don't think programming is hard and only for "the chosen ones", but not everybody can do it.
Ooh, so close.
Technology is for everyone - not just a select few. Teach all kids (and adults) basic coding skills and you'll be safeguarding democracy by preventing technocracy.
A-F are 3/8ths (6 of 16) of the hex digit set, yet only 1/6th (3 of 18) bytes in 'America Can Code ' have A-F. Why the large discrepancy?
The space character also doesn't have an A-F, so that will lower the frequency further. If we assume that the frequency of spaces is the same as in "America Can Code ", (17.6%) the expect frequency of A-F comes out to 17.9%. That's very close to the number in "American Can Code " (17.6%).
[1] http://en.wikipedia.org/wiki/Letter_frequency#Relative_frequ...
This will eliminate other languages in the US.
Chance to japan's school systems, make high school where you have to apply, and have it specialized.
[edit: wrong country.]
You missed the trailing 0x20
A programming language helps you translate from the logic in your head to computer language. Teaching a programming language if the logic isn't there is useless, but trivial to learn the other way around. Not saying this is a bad thing, but the comparison/approach seems inappropriate to me.
What is different is they are a representation of a logic system, either as a series of steps to carry out, or a set of transformations to perform on data. Teaching a programming language as a "foreign" language, without also teaching the logical way of thinking that allows one to write a program in the first place, will likely not produce the outcome the bill is intended to produce.