HNHacker News
TopNewBestAskShowJobs

barakstout

119 karma · joined March 8, 2012

submissionscomments
barakstout··on Show HN: An experimental Web Browser
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.
barakstout··on Ask HN: How did you get started with programming?
I had a very good teacher in high school. Years later, it seems like a second nature that was always there.
barakstout··on Open Source Guest Book in php
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.

barakstout··on Why Switching to RackSpace Mail is Worth the $2
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.
barakstout··on The Easy Way To Solve Equations In Python
I am sure that can be arranged in the future, if one doesn't exist already.
barakstout··on The Easy Way To Solve Equations In Python
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.
barakstout··on The Easy Way To Solve Equations In Python
I think anything above 2.6 is fair game. Then again, it depends on the system. I have been forced before to develop in python 2.4 and less for specific platforms.
barakstout··on The Easy Way To Solve Equations In Python
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?
barakstout··on The Easy Way To Solve Equations In Python
Good point. I think you could use the standard python eval() instead of defining f. something like:

    f = 'x**3+x-1'
    x = 4
    eval(f)
It should work fine.
barakstout··on The Easy Way To Solve Equations In Python
If it was more focused on math I would agree. However, the focus is on the solution rather the technique. It is a nice refresher to those who have seen the information before.
barakstout··on The Easy Way To Solve Equations In Python
That is a very good option. Thanks!
barakstout··on The Easy Way To Solve Equations In Python
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.
barakstout··on Five Ways To Write Better Code
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.
barakstout··on Morse Code Translator in Python
It might be improbable, but not impossible. You never know...
barakstout··on Morse Code Translator in Python
Yeah, thats is pushing it, but possible.
barakstout··on Creating Loading Bars with Python
You never know...
barakstout··on Playing with Strings and Colors in Python
Sweet. Thanks.
barakstout··on Playing with Strings and Colors in Python
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.

barakstout··on Playing with Strings and Colors in Python
Maybe it will. Noted for future reference.
barakstout··on Playing with Strings and Colors in Python
Both would work just fine. Good Points.
barakstout··on Mark Zuckerberg's sister learns life lesson after Facebook photo flap
I guess nothing stays in the family anymore...
barakstout··on Ask HN: Online Account Security Questions
You know, I was wondering the same thing. I am guessing it is to protect websites against bots or something.
barakstout··on How To Secure Your Website [pdf]
Thanks!
barakstout··on Merry Christmas boys
To you too!
barakstout··on Ask HN: How would you store a number with a 10^6 digits and all numbers
How about a very long link-list?
barakstout··on Show HN: Burner, for temporary phone numbers
A drug dealers dream...
barakstout··on Ask HN: How do I get people to try my (free) service?
Try to show it to as many people as you can. Post some youtube videos on how-to. Use every web 2.0 network you can to try to get more people to your door step.
barakstout··on Ask HN: Best way to get involved with open source?
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.
barakstout··on Persistent Mathematics Part I
Thanks
barakstout··on Did anyone else notice that Hacker News has changed?
Nice...
Page 1 of 2Next →