HN user

barakstout

119 karma
Posts62
Comments33
View on HN
thelivingpearl.com 12y ago

The Game of Battleships in Python

barakstout
3pts0
thelivingpearl.com 12y ago

The Game Of Tic Tac Toe In Python

barakstout
1pts0
deadendmath.com 12y ago

Mathematical Etiquette

barakstout
1pts0
thelivingpearl.com 12y ago

Sending an email from Python

barakstout
1pts0
thelivingpearl.com 12y ago

Temperature Conversion Application In Python

barakstout
1pts0
thelivingpearl.com 12y ago

Introduction to types of Functions in Python

barakstout
2pts0
thelivingpearl.com 12y ago

Average, Min, Max And Mode Of A List

barakstout
2pts0
thelivingpearl.com 12y ago

Getting Started with Java Classes

barakstout
1pts0
www.getlocket.com 12y ago

Get paid to unlock your android phone

barakstout
1pts0
thelivingpearl.com 12y ago

What is Programming?

barakstout
1pts1
thelivingpearl.com 13y ago

Kth Number Generator in Python

barakstout
1pts0
thelivingpearl.temp3.net 13y ago

The Guest Book Problem

barakstout
1pts0
thelivingpearl.com 13y ago

Open Source Guest Book in php

barakstout
2pts2
thelivingpearl.com 13y ago

GUI Text Editor In Python

barakstout
3pts0
deadendmath.com 13y ago

Assassin's Industries Sales for June 20xx

barakstout
1pts0
deadendmath.com 13y ago

The Euclidean Algorithm

barakstout
1pts0
deadendmath.com 13y ago

Finding a Person of Interest in pi

barakstout
1pts2
thelivingpearl.com 13y ago

The Speed Of Multiplication

barakstout
1pts0
deadendmath.com 13y ago

Binary Expansion of Numbers in Python

barakstout
1pts0
temp3.net 13y ago

Understanding The Power Of Network Marketing

barakstout
1pts0
thelivingpearl.com 13y ago

The Game Of Hangman In Python

barakstout
2pts0
temp3.net 13y ago

Creative Ideas to Gain Links

barakstout
1pts0
deadendmath.com 13y ago

The Essence of a Mathematical Error

barakstout
1pts0
thelivingpearl.com 13y ago

Caesar Ciphers in Python

barakstout
1pts0
temp3.net 13y ago

The Myth about Google's Page Rank

barakstout
1pts0
deadendmath.com 13y ago

Polya's Induction and Analogy in Mathematics

barakstout
1pts0
thelivingpearl.com 13y ago

Virtual Reality To Change Future Gaming Experience

barakstout
1pts0
temp3.net 13y ago

Writing for People and for Search Engines

barakstout
1pts0
thelivingpearl.com 13y ago

Wi-Fi Security Breaches: Escape The Void

barakstout
1pts0
thelivingpearl.com 13y ago

Computing Pi With Python

barakstout
5pts0

I think we can't have a web today without JavaScript. We keep trying to go back to what things were, instead of moving forward and excepting the web for what it is.

2 things.

1.You are correct about the potential for a SQL injection. User input should be checked before entered into a SQL statement. However, for learning purposes it was skipped.

2. There are free apps that wee allow you to take a web page and turn it into a kiosk app. Specifically in iOS6 you can block the home button and limit browsing to what ever website you want. The whole point is for low budget company who doe not want to invest the time or the money into an iOS or Android app.

In all truth, if the government wants your emails, they will get them. Emails can be subpoenaed by court. You can run your own secure mail server and all, but the communication can always be intercepted by a middle man. If you have the need for a truly secure email, encrypt the message, it doesn't really matter what service you use.

Wouldn't you consider that a very extreme situation? Also, I am not aware of a MAX_INT in python. As far as I know it is the limits of your memory. If you are trying to work with such big numbers you should really use something a little more than Python and Bisection.

All good valid points. The article gives a high overview but lacks on the detail. All these points are valid and some mentioned in the article. The author mentioned a few times that the for-loops should be replaced with while-loops based on convergence tolerance. As for the bisection interval, I am not sure the basic c=(a+b)/2 is not enough. Can you provide an example where it fails?

The easy way to solve the equation is to send it to wolfram alpha and wait for a result. I think the intention was to not use anything beside standard library. Using the R language is equivalent to using NumPy, SciPy or any other tool. As for the Python version, I have no clue why he uses 2.6. I found that all the code runs perfectly well on 2.7. That is something you should point out to the author.

I don't think that qualifies. I think fixing bugs in open source is a good way to become a better programmer, but if you are fixing those bugs you are a good programmer already. Fixing bugs in open source project is really not trivial. I wouldn't know where to even begin looking at the source code of some of the open source I use, for example Firefox.

Both versions will work just fine. And number mod 7 will give an index of 0 to 6, which covers any color index from the colors tuple. Also, I tested it out just in case.

EDIT: The only issue is that if the string has a repeated letter it will be the same color.

Pick a project that you like and is relatively small. Download the source code and run it locally. Then make changes to it and see how it goes. Don't forget to read the documentation and be active on the forums. You don't have to post anything to the forum. Just read them.