Programmer Wanted

  • Thread starter Thread starter fschmidt
  • Start date Start date
  • Replies Replies 49
  • Views Views 11K
Are you interested in the job? I don't mind lack of knowledge. My main concern is that the person is responsible and that they hate complexity (which implies that they aren't part of modern culture). As an example, Python is reasonable but django is not. Django is unnecessarily complicated for what it does.

Here's a ball game thing I made a while ago. Can I have the job? :D

Code:
[COLOR=#000080][B]from [/B][/COLOR]tkinter [COLOR=#000080][B]import [/B][/COLOR]*
[COLOR=#000080][B]from [/B][/COLOR]random [COLOR=#000080][B]import [/B][/COLOR]randint

[COLOR=#808080][I]#Return random color #RRGGBB
[/I][/COLOR][COLOR=#000080][B]def [/B][/COLOR]getRandomColor():
    color = [COLOR=#008080][B]'#'
[/B][/COLOR][COLOR=#000080][B]for [/B][/COLOR]j [COLOR=#000080][B]in [/B][/COLOR][COLOR=#000080]range[/COLOR]([COLOR=#0000ff]6[/COLOR]):
        color+= toHexChar(randint([COLOR=#0000ff]0[/COLOR], [COLOR=#0000ff]12[/COLOR]))
    [COLOR=#000080][B]return [/B][/COLOR]color

[COLOR=#808080][I]#Convert an integer to a single hex digit in a character
[/I][/COLOR][COLOR=#000080][B]def [/B][/COLOR]toHexChar(hexValue):
    [COLOR=#000080][B]if [/B][/COLOR][COLOR=#0000ff]0 [/COLOR]<= hexValue <= [COLOR=#0000ff]9[/COLOR]:
        [COLOR=#000080][B]return [/B][/COLOR][COLOR=#000080]chr[/COLOR](hexValue+[COLOR=#000080]ord[/COLOR]([COLOR=#008080][B]'0'[/B][/COLOR]))
    [COLOR=#000080][B]else[/B][/COLOR]:
        [COLOR=#000080][B]return [/B][/COLOR][COLOR=#000080]chr[/COLOR](hexValue - [COLOR=#0000ff]10 [/COLOR]+ [COLOR=#000080]ord[/COLOR]([COLOR=#008080][B]'A'[/B][/COLOR]))

[COLOR=#808080][I]#Define ball class
[/I][/COLOR][COLOR=#000080][B]class [/B][/COLOR]Ball:
    [COLOR=#000080][B]def [/B][/COLOR][COLOR=#b200b2]__init__[/COLOR]([COLOR=#94558d]self[/COLOR]):
        [COLOR=#94558d]self[/COLOR].x = randint([COLOR=#0000ff]0[/COLOR],[COLOR=#0000ff]800[/COLOR])
        [COLOR=#94558d]self[/COLOR].y = randint([COLOR=#0000ff]0[/COLOR],[COLOR=#0000ff]600[/COLOR])
        [COLOR=#94558d]self[/COLOR].dx = randint(-[COLOR=#0000ff]15[/COLOR],[COLOR=#0000ff]15[/COLOR])
        [COLOR=#94558d]self[/COLOR].dy = randint(-[COLOR=#0000ff]15[/COLOR],[COLOR=#0000ff]15[/COLOR])
        [COLOR=#94558d]self[/COLOR].radius = randint([COLOR=#0000ff]20[/COLOR],[COLOR=#0000ff]20[/COLOR])
        [COLOR=#94558d]self[/COLOR].color = getRandomColor()


[COLOR=#000080][B]class [/B][/COLOR]BounceBalls():
    [COLOR=#000080][B]def [/B][/COLOR][COLOR=#b200b2]__init__[/COLOR]([COLOR=#94558d]self[/COLOR]):
        [COLOR=#94558d]self[/COLOR].xPos = []
        [COLOR=#94558d]self[/COLOR].yPos = []
        [COLOR=#94558d]self[/COLOR].ballList = []
        window = Tk()
        window.title([COLOR=#008080][B]"Bouncing Balls"[/B][/COLOR])
        [COLOR=#94558d]self[/COLOR].width = [COLOR=#0000ff]800
[/COLOR][COLOR=#94558d]self[/COLOR].height = [COLOR=#0000ff]600
[/COLOR][COLOR=#94558d]self[/COLOR].canvas = Canvas(window, [COLOR=#660099]bg [/COLOR]= [COLOR=#008080][B]"white"[/B][/COLOR], [COLOR=#660099]width [/COLOR]= [COLOR=#94558d]self[/COLOR].width, [COLOR=#660099]height [/COLOR]= [COLOR=#94558d]self[/COLOR].height)
        [COLOR=#94558d]self[/COLOR].canvas.pack()

        frame = Frame(window)
        frame.pack()

        buttonstop = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Stop"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].stop)
        buttonstop.pack([COLOR=#660099]side [/COLOR]= LEFT)

        buttonFaster = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Faster"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].increaseBallSpeed)
        buttonFaster.pack([COLOR=#660099]side [/COLOR]= LEFT)

        buttonSlower = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Slower"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].decreaseBallSpeed)
        buttonSlower.pack([COLOR=#660099]side [/COLOR]= LEFT)

        buttonresume = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Resume"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].resume)
        buttonresume.pack([COLOR=#660099]side [/COLOR]= LEFT)

        buttonAdd = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Add"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].add)
        buttonAdd.pack([COLOR=#660099]side [/COLOR]= LEFT)

        buttonRemove = Button(frame, [COLOR=#660099]text [/COLOR]= [COLOR=#008080][B]"Remove"[/B][/COLOR], [COLOR=#660099]command [/COLOR]= [COLOR=#94558d]self[/COLOR].remove)
        buttonRemove.pack([COLOR=#660099]side [/COLOR]= LEFT)


        [COLOR=#94558d]self[/COLOR].sleepTime = [COLOR=#0000ff]50
[/COLOR][COLOR=#94558d]self[/COLOR].isStopped = [COLOR=#000080][B]False
[/B][/COLOR][COLOR=#94558d]self[/COLOR].animate()
        window.mainloop()


    [COLOR=#000080][B]def [/B][/COLOR]stop([COLOR=#94558d]self[/COLOR]): [COLOR=#808080][I]#Stop animation
[/I][/COLOR][COLOR=#94558d]self[/COLOR].isStopped = [COLOR=#000080][B]True
[/B][/COLOR][COLOR=#000080][/COLOR][COLOR=#000080][B]    def [/B][/COLOR]resume([COLOR=#94558d]self[/COLOR]): [COLOR=#808080][I]#Resume animation
[/I][/COLOR][COLOR=#94558d]self[/COLOR].isStopped = [COLOR=#000080][B]False
[/B][/COLOR][COLOR=#94558d]self[/COLOR].animate()

    [COLOR=#000080][B]def [/B][/COLOR]add([COLOR=#94558d]self[/COLOR]): [COLOR=#808080][I]#Add a new ball
[/I][/COLOR][COLOR=#94558d]self[/COLOR].ballList.append(Ball())
        [COLOR=#94558d]self[/COLOR].xPos.append(([COLOR=#000080][B]None[/B][/COLOR]))
        [COLOR=#94558d]self[/COLOR].yPos.append([COLOR=#000080][B]None[/B][/COLOR])

    [COLOR=#000080][B]def [/B][/COLOR]remove([COLOR=#94558d]self[/COLOR]): [COLOR=#808080][I]#Remove the last ball
[/I][/COLOR][COLOR=#94558d]self[/COLOR].ballList.pop()

    [COLOR=#000080][B]def [/B][/COLOR]animate([COLOR=#94558d]self[/COLOR]): [COLOR=#808080][I]#Animate ball movements
[/I][/COLOR][COLOR=#000080][B]while not [/B][/COLOR][COLOR=#94558d]self[/COLOR].isStopped:
            [COLOR=#94558d]self[/COLOR].canvas.after([COLOR=#94558d]self[/COLOR].sleepTime)
            [COLOR=#94558d]self[/COLOR].canvas.update()
            [COLOR=#94558d]self[/COLOR].canvas.delete([COLOR=#008080][B]"ball"[/B][/COLOR])
            [COLOR=#000080][B]for [/B][/COLOR]ball [COLOR=#000080][B]in [/B][/COLOR][COLOR=#94558d]self[/COLOR].ballList:
                [COLOR=#94558d]self[/COLOR].redisplayBall(ball)

    [COLOR=#000080][B]def [/B][/COLOR]increaseBallSpeed([COLOR=#94558d]self[/COLOR]):
        [COLOR=#000080][B]if [/B][/COLOR][COLOR=#94558d]self[/COLOR].sleepTime <= [COLOR=#0000ff]10[/COLOR]:
            [COLOR=#94558d]self[/COLOR].sleepTime = [COLOR=#0000ff]10
[/COLOR][COLOR=#000080][B]else[/B][/COLOR]:
            [COLOR=#94558d]self[/COLOR].sleepTime-=[COLOR=#0000ff]10
[/COLOR][COLOR=#0000ff]
[/COLOR][COLOR=#0000ff]
[/COLOR][COLOR=#000080][B]def [/B][/COLOR]decreaseBallSpeed([COLOR=#94558d]self[/COLOR]):
        [COLOR=#94558d]self[/COLOR].sleepTime+=[COLOR=#0000ff]10
[/COLOR][COLOR=#0000ff]
[/COLOR][COLOR=#0000ff]
[/COLOR][COLOR=#000080][B]def [/B][/COLOR]redisplayBall(self, ball):
        [COLOR=#000080][B]for [/B][/COLOR]i, xandy [COLOR=#000080][B]in [/B][/COLOR][COLOR=#000080]enumerate[/COLOR](self.ballList):
            self.xPos[i] = ball.x
            self.yPos[i] = ball.y
            [COLOR=#808080][I]#print(self.xPos, self.yPos)
[/I][/COLOR][COLOR=#000080][B]if [/B][/COLOR]ball.x > self.width [COLOR=#000080][B]or [/B][/COLOR]ball.x < [COLOR=#0000ff]0[/COLOR]:
            ball.dx = -ball.dx
        [COLOR=#000080][B]if [/B][/COLOR]ball.y > self.height [COLOR=#000080][B]or [/B][/COLOR]ball.y < [COLOR=#0000ff]0[/COLOR]:
            ball.dy = -ball.dy
        ball.x += ball.dx
        ball.y += ball.dy
        self.canvas.create_oval(ball.x - ball.radius, ball.y - ball.radius,
                                ball.x + ball.radius, ball.y + ball.radius,
                                [COLOR=#660099]fill [/COLOR]= ball.color, [COLOR=#660099]tags [/COLOR]= [COLOR=#008080][B]"ball"[/B][/COLOR])

        [COLOR=#000080][B]try[/B][/COLOR]:
            [COLOR=#000080][B]for [/B][/COLOR]x [COLOR=#000080][B]in [/B][/COLOR]self.xPos:
                [COLOR=#000080][B]for [/B][/COLOR]y [COLOR=#000080][B]in [/B][/COLOR]self.yPos:
                    [COLOR=#000080][B]if [/B][/COLOR]self.xPos[x] == self.xPos[x+[COLOR=#0000ff]1[/COLOR]] [COLOR=#000080][B]and [/B][/COLOR]self.yPos[y] == self.yPos[y+[COLOR=#0000ff]1[/COLOR]]:
                        [COLOR=#000080][B]break
[/B][/COLOR][COLOR=#000080][B]        except[/B][/COLOR]:
            [COLOR=#000080][B]pass[/B][/COLOR]

BounceBalls()

It doesn't do anything useful, just puts blobs on the screen and they move around. I was going to add collision but I could not figure it out. I've not done any programming for a while though, kinda rusty
 
As for web designing, you need appache yeah? do you know any comphrensive guide on the basics. Like in stick form, not full blown texts. :P
You do not need apache. Apache is a webserver, but any webserver works. I use Jetty in Java.

As for the job - I am quite interested in the programming - but I have little little experience.
This isn't a direct answer. If you are interested in the job and are willing to work hard to learn what you need, just me know.
 
You do not need apache. Apache is a webserver, but any webserver works. I use Jetty in Java.


This isn't a direct answer. If you are interested in the job and are willing to work hard to learn what you need, just me know.

In order to not drag out time, I say that I don't think I am ready, so no....... I think I will just independent from creation start coding myself.

With hardwork, one can surpass a talented genius - If Allah SWT wills.
 
I assume you aren't serious, but let me know if you are. Also, your xPos and yPos arrays seem pointless to me, why are they needed?

Because when I was going to do the collision of the balls I need to store the x position and y position of each ball so that when they collide with another balls x and y position then they will rebound but I could never figure it out so I got bored and gave up. Feel free to fix it for me :D
 
I am quite new (but I love programmig) to programming. I'd like to know where you started in terms of programming? you use jitty yeah?

I know simple stuff, like HTML. I want to take this opportunity to try to learn programming, so any tips in getting started in programming?

I am not asking for the job as I feel not qualified, but I do want to learn more programming. I feel passionate about memory managment and injecting memory into other games.. Called "cheats" .. I've no experience, but the thought fascinates me.
 
I have been programming for about 40 years, so I started with Basic.

To learn programming, just do it. Pick a project and do it.

Regarding the job, there was someone who was interested who knew nothing about programming, not even HTML. And I would have given him the job if he was reliable, but he isn't. The modern world is a mess. Almost everyone today is a lazy unreliable liar. So I would take anyone who is reliable, honest, responsive, and willing to work. And so far I haven't been able to find such a person. I will keep looking.
 
I have been programming for about 40 years, so I started with Basic.

To learn programming, just do it. Pick a project and do it.

Regarding the job, there was someone who was interested who knew nothing about programming, not even HTML. And I would have given him the job if he was reliable, but he isn't. The modern world is a mess. Almost everyone today is a lazy unreliable liar. So I would take anyone who is reliable, honest, responsive, and willing to work. And so far I haven't been able to find such a person. I will keep looking.

I have to be honest with you - I would like to program because I find it fun.

So ok, where did you start? from Javascript? I almost know nothing about programming. I really dislike to lie, so I am going to be straight with you - I know very little - perhaps a little HTML doc or something - A little apache, PHPmyAdmin, and how to export and import stuff from website to website (just started learning this)

So I know I am not qualified. But I will take your advice and start programming on my own, with the help of Allah SWT.

I will start a 4 hour course.

Is codeacademy good?
 
Last edited:
I have been programming for about 40 years, so I started with Basic.

To learn programming, just do it. Pick a project and do it.

Regarding the job, there was someone who was interested who knew nothing about programming, not even HTML. And I would have given him the job if he was reliable, but he isn't. The modern world is a mess. Almost everyone today is a lazy unreliable liar. So I would take anyone who is reliable, honest, responsive, and willing to work. And so far I haven't been able to find such a person. I will keep looking.

Sorry bro but I have to ask. How can you possibly hire someone on a salary of $5000 a month if they have no experience? $5000 a month is already a decent salary even for an experienced programmer.

Something about this doesn't smell right. People don't hire people with no experience, not to mention this Luan language is brand new, you're developing your own language right?

I was always told if something seems too good to be true then it probably is. However if it is legit then this is a first...
 
Seriously, why are you doing this? Anyways, I appreciate your effort in seeking out morally good people. May Allah SWT guide your heart.

I think you want people in your team who respect Allah SWT, and are moral, and do not stray from their morals?
 
Sorry bro but I have to ask. How can you possibly hire someone on a salary of $5000 a month if they have no experience? $5000 a month is already a decent salary even for an experienced programmer.

Something about this doesn't smell right. People don't hire people with no experience, not to mention this Luan language is brand new, you're developing your own language right?

I was always told if something seems too good to be true then it probably is. However if it is legit then this is a first...
This kind of thinking is why people stay poor. I go after every opportunity I find, which is why I am not poor, and why I can afford to pay this. But I can tell you the real risk here. I don't hesitate to fire people. The first sign of dishonesty or any pattern of being irresponsible, and I fire the person without hesitation.
 
Seriously, why are you doing this? Anyways, I appreciate your effort in seeking out morally good people. May Allah SWT guide your heart.

I think you want people in your team who respect Allah SWT, and are moral, and do not stray from their morals?
I am not Muslim, but yes I prefer people who respect God because then their own ego won't get in the way of their work. I posted this job to a mainstream forum and all I got was insults about Luan, and insults about me. This makes sense because members of modern culture hate what is good and love what is bad, and love to insult anything that is decent, and to praise anything that is evil. I just don't want to work with these people, so I will never again advertise on a mainstream Western site. If I can't find anyone by Monday, I will advertise on a Chinese site.
 
I am not Muslim, but yes I prefer people who respect God because then their own ego won't get in the way of their work. I posted this job to a mainstream forum and all I got was insults about Luan, and insults about me. This makes sense because members of modern culture hate what is good and love what is bad, and love to insult anything that is decent, and to praise anything that is evil. I just don't want to work with these people, so I will never again advertise on a mainstream Western site. If I can't find anyone by Monday, I will advertise on a Chinese site.

I see. Well, I can't work full time. Hehe. I have 3 weeks off college to prepare for exams. Hmm.

Full time would be 8 hours yeah? 8 AM to 4 PM? 5 days a week? I can't do that. Anyways, you seem like a kind guy. May Allah SWT guide you. Ameen.

I will start to learn Javascript. In shaa' Allah.

From what I know, developing a brand new language would require you to develop new rules, etc?

And Allah SWT knows best.
 
Last edited:
I see. Well, I can't work full time. Hehe. I have 3 weeks off college to prepare for exams. Hmm.

Full time would be 8 hours yeah? 8 AM to 4 PM? 5 days a week? I can't do that. Anyways, you seem like a kind guy. May Allah SWT guide you. Ameen.
No, not necessarily 8 hours, and not any specific time. I only care that the work gets done. For someone starting without knowledge, the work would be learning what is needed.

Are you finishing college this year?

From what I know, developing a brand new language would require you to develop new rules, etc?
I thought of developing a language from scratch, but I was afraid that my ego would take me too far away from traditional programming. So instead, I picked an existing language (Lua), the best one I could find, and I started by implementing that fully. Then I only made changes that were clearly an improvement. In particular, I simplified the language by removing unneeded features. I strongly believe in simplicity.
 
No, not necessarily 8 hours, and not any specific time. I only care that the work gets done. For someone starting without knowledge, the work would be learning what is needed.

Are you finishing college this year?


I thought of developing a language from scratch, but I was afraid that my ego would take me too far away from traditional programming. So instead, I picked an existing language (Lua), the best one I could find, and I started by implementing that fully. Then I only made changes that were clearly an improvement. In particular, I simplified the language by removing unneeded features. I strongly believe in simplicity.

I still have 2 years of college. But In shaa' Allah this training will serve as motivation for me to be better and further my studies.

I like simplicity too! And the beauty of coding is too keep it as neat and simple as possible! The 'less' code there is, the better. I.e. if you can program a thing to do x with 150 lines of code. But it'd be better if one could do it with 75 lines etc.

I like simplicity that is logical obv.

I have exams too. and I have 3 weeks off. Would you suggest me to learn Django? Python?

Keep looking, how many employers are you looking for? I am interested in learning programming. What is the purpose of you wanting to develop this language? To make it simpler? What do you gain from it?

But take this into account:

I have studies, and homework, I will be travelling next month, 3 weeks devoted to studying and worshipping Allah SWT.

2nd year of college will be more intense I assume. So I don't think I am fit for the job, but I am interested in learning. :)
 
Last edited:
Would you suggest me to learn Django? Python?

This is the grand old question. What is it you want to learn?

Web development = Javascript, Python and php but php is a disgusting language.

Web apps = Python

Apple apps = Objective-C

Hacks / trojans / worms = C, C++ and Assembly

Military rockets / satellites / planes / ships / submarines = ADA

Python really is an incredible language, it's fast, powerful, simple and there is so many resources online for it. This will give you a greater understanding of programming. html and css is not programming.

Then once you have a better understanding of programming you can learn C#, Java, C++


What type of programming interests you?
 
Last edited:
Would you suggest me to learn Django? Python?
I think it is a mistake to focus on technology itself. Technology is only a tool. I suggest that you pick a project that you want to do. For example, a Muslim job site, or a Muslim dating site, or some other service that would benefit the Muslim world. Once you pick a project, only then should you start looking for the best tools to implement it. And don't hesitate to change your mind about a tool if it is difficult to use. It is important to find good simple tools.

Keep looking, how many employers are you looking for? I am interested in learning programming. What is the purpose of you wanting to develop this language? To make it simpler? What do you gain from it?
I am looking for one employee.

I developed this language because all modern software is becoming worse as modern culture becomes worse. I want to be free from this. My language is much simpler than anything else for developing websites. I have a number of businesses/websites and all new ones will use this technology. Here is a business that I just launched this week that is written in Luan:

http://www.instaknowledgebase.com/
 
This is the grand old question. What is it you want to learn?

Web development = javascript, python and php but php is a disgusting language.

Web apps = Python

Apple apps = Objective-C

Hacks / trojans / worms = C, C++ and Assembly

Python really is an incredible language, it's fast, powerful, simple and there is so many resources online for it. This will give you a greater understanding of programming. html and css is not programming.

Then once you have a better understanding of programming you can learn C#, Java, C++


What type of programming interests you?

C++ and C# any language that deals with memory and Ring1, Ring2, Ring3, and Ring0 kinda stuff. Interests me. Hackings etc.

But for me to learn that, I have to start somewhere, yeah?

I can take this as my daily training for my computer programming dream. And In shaa' Allah my journey to be a Programmer who programs stuff.

Actually I'd like to be a fullblown all-around programmer, but out of all the computer languages available, I like C++, C+, and Assembly the most.

I should have started at the age of 12 lol. Nvm, tho.
May Allah SWT forgive me if I said anything wrong. Ameen.
 
C++ and C# any language that deals with memory and Ring1, Ring2, Ring3, and Ring0 kinda stuff. Interests me. Hackings etc.

But for me to learn that, I have to start somewhere, yeah?

I can take this as my daily training for my computer programming dream. And In shaa' Allah my journey to be a Programmer who programs stuff.

Actually I'd like to be a fullblown all-around programmer, but out of all the computer languages available, I like C++, C+, and Assembly the most.

I should have started at the age of 12 lol. Nvm, tho.
May Allah SWT forgive me if I said anything wrong. Ameen.

Ring1, Ring2 etc are just privilege levels. Ring0 is root access, that's where you wanna be ;)

To answer your question, yes you do have to start somewhere. You can use the official docs to get started Python Tutorials

Or if you prefer you can buy a book from Amazon or somewhere. I like Introduction to Programming Using Python - Daniel Liang. Just make sure any resources you're using is 3.x Python and not the old 2.x version.

Best of luck to your future learning :)
 
Ring1, Ring2 etc are just privilege levels. Ring0 is root access, that's where you wanna be ;)

To answer your question, yes you do have to start somewhere. You can use the official docs to get started Python Tutorials

Or if you prefer you can buy a book from Amazon or somewhere. I like Introduction to Programming Using Python - Daniel Liang. Just make sure any resources you're using is 3.x Python and not the old 2.x version.

Best of luck to your future learning :)

Python looks interesting. I think. I will try and learn, In shaa' Allah.
@fschmidt what are the requirements? Can any newbie with motivation take the Job?

I will start learning Python, In shaa' Allah. Will it be beneficial in terms of using PHP? Because my teacher is teaching us to program in PHP.
 
Last edited:

Similar Threads

Back
Top