-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i have this huge function and i am wondering how to make it recursive. i have the base case which should never come true, so it should always go to else and keep calling itself with the variable t increases. any help would be great
thanks
def draw(x, y, t, planets):
if 'Satellites' in planets["Moon"]:
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to calculate the sunset / rise times using python based on the link provided below.
My results done through excel and python do not match the real values. Any ideas on what I could be doing wrong?
My Excel sheet can be found under .. http://transpotools.com/sun_time.xls
# Created on…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Guys,
I'm constructing a geolocation based application and I'm trying to figure out a way to make my application realise when a user is facing the direction of the given location (a particular long / lat co-ord). I've got the math figured, I just have the triangle to construct.
//UPDATE
So…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
so I'm trying to make a program that will output the sum, average, and smallest and largest values. I have everything basically figured out except the smallest and largest values are outputting 2147483647 and -2147483647, which I believe are the absolute smallest and largest values that Java will…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've heard many times that all programming is really a subset of math. Some suggest that OO, at its roots, is mathematically based. I don't get the connection. Aside from some obvious examples:
using induction to prove a recursive algorithm
formal correctness proofs
functional languages
lambda calculus
asymptotic…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I am an amateur programmer working at a start-up. I didn't try coding at college. I've been working for 2 months now on web development. I'm satisfied with my progress. My project will go live soon. I work on front-end and my colleague integrates my work in his. So I decided to learn back-end technologies…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
For a programmer that wishes to udnerstand principles of economics/how money flows, the basic principles of money exchanging hands..what are some good books/magazines/publications/journals?
Please assume a beginner level willing to learn fast and hard. The objective is to understand why some jobs…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I have been working as .net developer for many years. Recently I got two offers:
Continue work as .net developer on a SAAS product. Job duty is to add new features and
fix issues, similar to what i have been doing these years.
Become a Software configuration management and build engineer, in charge…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm a unix developer and i want to make career in project/people management as first step.
I think sometimes is better to have good communication skill and in general more human skill to make career more fast.
Almost in Italy, a lot of people made career development more fast for his human skill…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I am not sure where to ask advices about career development, so I am sorry if I am wrong.
My question is what is better for me to learn, Win 8 and metro style applications or try to focus on some 3d engine, like Unity 3d? On the one hand I`ve got enought experience in c# and programming for business…
>>> More