-
Edited A Taste of Swift part 2
Part 2 of exploring/tasting the Swift language takes a look at dictionaries; process flow controls like loops, if/else and switch/case; functions and sorting. I hope I can follow this up … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Replied To a Post in What are you eating/drinking right now?
A medium/rare bison burger on a toasted bun, and a citrus Margarita to enjoy! -
Replied To a Post in Jokes
An old lady came across a magic lamp one day and the genie told her he would grant her three wishes. She wished for youth, which she recieved, and she … -
Replied To a Post in Jokes
My mother never saw the irony in calling me a son-of-a-bitch. -
Replied To a Post in Random Facts
I installed "MS Visual Studio Community 2013" to give it a try with Python. After the boring trial period was over, it took almost half a day to uninstall all … -
Replied To a Post in A taste of Swift part 1
Apple executive Craig Federighi announced that Swift will be open source and made available for Linux later this year. As far as vendor-written languages are concerned, there are some top … -
Replied To a Post in Starting Python
For the fun of it ... ''' RomanNumeral1.py a decimal (denary number) to roman numeral function ''' def int2roman(number): '''convert denary number to roman numerals''' numerals = { 1: "I", … -
Replied To a Post in can u answer this question ?
Should have been posted in the C forum. -
Replied To a Post in C / C++ FAQ's and Practice problems
Solve `sin(x)*sin(x) + cos(x)*cos(x)` for x. -
Replied To a Post in Random Facts
The Stuxnet worm was a US-Israeli project that sabotaged Iran's nuclear program. The Duqu virus, a relative of Stuxnet was recently used to hack into computers of the international talks … -
Replied To a Post in Memorable Quotations
"The purpose of war is not to die for your country. The purpose of war is to ensure that the other guy dies for his country." ... General George S. … -
Replied To a Post in CONSOLE COLOR
If you run a Windows box, you can use this approach ... // change text color in Windows console mode // colors are 0=black 1=blue 2=green and so on to … -
Replied To a Post in Practice
Just for practice, can you make this symmetrical? -
Replied To a Post in Practice
Nice practice code! You should give this project a name. -
Replied To a Post in Random Facts
Only 12 percent of US 18 to 29 year olds trust the media, according to a recent survey by the Harvard Institute of Politics. -
Marked Solved Status for Coolest C++ Program
What's the coolest program you've ever written in regular C++, not Visual C++? -
Marked Solved Status for New to C++, need help
hi im new to c++ (started today) and im reading a book about c++ (called C++ Programming A) Well i started to read and learned the first code and wrote … -
Marked Solved Status for storing large numbers
I need some help, heh, i have to store a twelve digit number somewhere... as i've understood it nothing like unsigned int or long double or anything won't work :-/ … -
Marked Solved Status for Can Any One Help With This???
ANY ONE WHO CAN PLEASE HELP........ Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and … -
Replied To a Post in final year project
C++ has several speech recognition libraries available. -
Replied To a Post in A funny picture
No wonder the Ruble is down. -
Replied To a Post in Please can someone define pneumonoultramicroscopicsilicovolcanoconiosis?
Hence the high price for any treatment. -
Replied To a Post in Is Privacy Important?
Not sure why in the USA medical records always have to contain ones social security number. That includes hospitals, doctors offices, dentists and optometrists. On top of all this, these … -
Replied To a Post in Book
My favorite ... Introduction to Algorithms Second Edition by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein -
Replied To a Post in A factorial one-line function (Python)
In Python True is 1 and False is 0 If n gets to be less than 1 the whole thing evaluates to [1, 0][0] the element at index 0, which … -
Replied To a Post in A taste of Swift part 1
Swift arrays expand on their own, you don't have to painstakingly allocate memory. A constant array (use 'let' instead of 'var') will not expand. // this array is fixed in … -
Marked Solved Status for raw_input and input in python 2.7
A strange phenomenon! What is this number 8! We are in the 2.7 version of Python. **MY CODE ** x = raw_input("write a list! utilisation of raw_input ") y = … -
Replied To a Post in Please can someone define pneumonoultramicroscopicsilicovolcanoconiosis?
Probably related to all those belching volcanoes in Chile. -
Replied To a Post in There is an elephant on the loo!
Coughing minor code seems to be nasty stuff! -
Replied To a Post in Is Privacy Important?
In light of the recent hacking of the very private information of 4 million federal government workers in the US, I have the feeling that these data were not even … -
Replied To a Post in text steganography
Your problem is? Oh, I see, you also added it to the snippet. -
Replied To a Post in A Taste of Swift part 2
At first glance Swift looks like another boring curly brace language without the pesky/redundant semicolons. It does have some modern features. Swift is used by Apple developers for the development … -
Replied To a Post in Project Wanted
Start a code library. As time goes on you will collect code snippets, hints and tricks from all over the internet. So why not use vb6 to store these cut … -
Created A Taste of Swift part 2
Part 2 of exploring/tasting the Swift language takes a look at dictionaries; process flow controls like loops, if/else and switch/case; functions and sorting. I hope I can follow this up … -
Replied To a Post in speed
Maybe of some help ... import datetime as dt # the two measured times in format hh:mm:ss tm1 = "3:00:58" tm2 = "3:01:26" h1, m1, s1 = tm1.split(':') h2, m2, … -
Replied To a Post in A taste of Swift part 1
Added type Any to the array. This allows you to use different types within the array. A little bit like a Python list object. Coming to Swift after many years … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Edited A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Created A taste of Swift part 1
The Swift computer language is the brainchild of a number of Apple associates. In my humble opinion it shows some nice features, but also some warts. Part 1 (constants, variables, … -
Replied To a Post in Sort a word frequency count (golang)
You can simplify the word_count function ... // nicely simplified algo // takes a slice of strings // returns a word:frequency map func word_count2 (words []string) map[string]int{ word_freq := make(map[string]int) … -
Replied To a Post in Things I hate about TV shows
Or they are real doctors who peddle some hyped up stuff, like Dr. Oz. -
Replied To a Post in Google Go OOP
@iamthwee, you not only got me hooked on Go, but also Shoes! Darn you anyway! :) -
Replied To a Post in QA Session
Q: "If a selfdriven car kills somebody on the road, who goes to jail? The passenger, the manufacturer, the programmer of the software?" A: ???? -
Replied To a Post in Jokes
A programmer gets on a train to go to New York. There is a farmer in his green overalls next to him. To pass the time, the programmer decides to … -
Replied To a Post in Random Facts
Gases by Volume in the atmosphere: Nitrogen 78.084% Oxygen 20.947% Argon 0.934% CO2 0.039% Neon 0.002% Helium 0.000524% CH4 0.000181% Krypton 0.000114% Hydrogen 0.000051% Xenon 0.000009% -
Replied To a Post in Words and phrases I wish people would stop using.
Lie is something you can do by yourself, but you need an object to lay.
The End.