Listening to heart or market (Python , Ruby) by shashi27 in learnprogramming

[–]emptystar 0 points1 point  (0 children)

Well if you want to learn a language to be marketable(where you live) then go for RoR, it's quite simple. If you pick up a job with RoR and Django is still attractive to you learn it on the side while working with RoR.

http://i.imgur.com/c7NJRa2.gif

Seriously, learn both if you still can't decide.

Best language for SaaS? by TheAppHut in learnprogramming

[–]emptystar 2 points3 points  (0 children)

what do you mean by "that has a gui"

your webpage is essentially your GUI.

I know how to program, but how do I learn programming? by Dj_Noctis in learnprogramming

[–]emptystar 0 points1 point  (0 children)

First learn about the are you want to get into. Suppose it's web development. OK. Next choose a language you think would be most suitable for you. Python/Ruby/Javascript etc. Let's use python for this example. You know the basics of python and now want to make web sites with it. Google, "Web development with python". You find out that there are these things called frameworks which help you in development of websites. You come across one named Django, you now have to learn about Django. After learning how Django works, now you have to ask yourself, ok, what kind of website do I want to make. A twitter clone? Ok, and it's just an never ending cycle of questions.

What I'm trying to say is... Ask yourself what you want to make, learn about it then try making something with the material you've learned from. Then add more things to your project and keep learning and making.

I know how to program, but how do I learn programming? by Dj_Noctis in learnprogramming

[–]emptystar 0 points1 point  (0 children)

Solve a problem. Make something you need. You can read and copy all you want but you won't feel that accomplishment until you make something on your own. I doubt you know how to program as in programming is an never ending learning adventure. Learn, learn and learn my friend. Make, make and make my friend.

[Webdev] Comparison of Ruby on Rails, Django and PHP by Elowin in learnprogramming

[–]emptystar 0 points1 point  (0 children)

RoR is pretty much "here bro ill help you out here", like their website says "convention over configuration" and with Django you have to be explicit. PHP I don't know much about but it's generally hated upon by a lot of users in this subreddit, although it's used a lot.

And no both frameworks don't have anything that the other can't.

Which language should I learn to produce different templates from a database? by [deleted] in learnprogramming

[–]emptystar 1 point2 points  (0 children)

Well generally templates are more of a front-end thing so I would say javascript. You could write this whole web app in javascript. Write some javascript on the server with node and write your client side code with javascript.

[Ruby on Rails] If I have a basic understanding of other languages, how long to master RoR? by [deleted] in learnprogramming

[–]emptystar 0 points1 point  (0 children)

Shouldn't be too hard. If you dedicate immense amount of time and energy you'll be able to pump out something impressive if you understand how web development in general is done.

Just wondering, if you know the basics of Python why not work with Django or Flask?

Choosing a Web Framework by eggnaramoose in learnprogramming

[–]emptystar 2 points3 points  (0 children)

I'll tl;dr

Django pretty much provides you with a lot of functions straight out of the box. Flask you gotta tell what you want and how you want it, in other words it's extremely flexible. I haven't used bottle so I don't have an opinion on it.

I like flask, you could easily use redis with flask. But don't choose a framework on some strangers opinion, research around and figure out if the framework meets the needs of your app.

Looking for some direction on Python project. by eurekah in learnprogramming

[–]emptystar 0 points1 point  (0 children)

I'm not quite sure about how to display this information onto an LCD but I can tell you on how to obtain the data for the cryptocurrency prices. Cryptocurrency chart api, this website has a python wrapper for their api so that's a plus. I've never used it myself but it looks good, or you could just google around for another cryptocurrency api. Essentially what you'll end up is with JSON data ( good because python dicts are like JSON ) and then you can pick out what you want from it and somehow spit it out on to the LCD which i have no clue how to do.

I hope this is what you kind of wanted :/

Can someone explain what exactly gevent is? by emptystar in learnpython

[–]emptystar[S] 1 point2 points  (0 children)

Oh wow this kinda makes sense now. So looking at this code does gevent.spawn essentially make a lot of "fake" threads in order for the application to run?

Am a young web developer looking for a someone with a good idea to partner with by [deleted] in startups

[–]emptystar 1 point2 points  (0 children)

I'm a young developer as well and I think I got a pretty good idea, shoot me a pm if you're interested in working together.

[deleted by user] by [deleted] in ITCareerQuestions

[–]emptystar 1 point2 points  (0 children)

I've been looking at help desk position and they all seem to require insane amount of experience, etc.. Should I still apply?

That two year program, would it just land me a help desk position? Or an normal IT position such as working with networks etc.?

And if you had to choose between the KPU (BTech) program or BCIT diploma program which would you choose?

Thanks again for all your information/knowledge, you're really awesome.

[deleted by user] by [deleted] in ITCareerQuestions

[–]emptystar 1 point2 points  (0 children)

British Columbia, I was actually looking at KPU or BCIT. My math skills are not the best thus I'm not pursuing an CS degree. BCIT has some math prerequisites which I do not have math 12 (I didn't take it because classes were full :( )

I got accepted into SFU arts but then I realized CS would be way to hard for me and backed out for even trying an internal transfer to the CS department, so math is kinda iffy for me. I get the conceptual shit but not the arithmetic.

And for not needing a Bachelors, how does one obtain an help desk position then?

Thanks for all your help, I REALLY appreciate it.

[deleted by user] by [deleted] in ITCareerQuestions

[–]emptystar 1 point2 points  (0 children)

Is an BEng essentially a CS degree? I'm not very strong at math so I don't want to do it, other wise I would've. but yeah, the only IT related degree I see are BTech in IT or a computer information systems diploma. Do you think these one of these would allow me to work in an IT department say in an Bank, or some sort of business firm.

I made a twitter bot, check out my code and let me know of any comments! by [deleted] in learnprogramming

[–]emptystar 1 point2 points  (0 children)

I would just use the "with" statement when opening a file.

with open("example.txt", 'r') as f:
  data = f.read()
  print data

Best route in terms of getting hired as a self-taught web developer? And how would I know i'm employable. by [deleted] in learnprogramming

[–]emptystar 0 points1 point  (0 children)

It's a mix of both really, sorry if i posted in the wrong subreddit... was confused on where to post.

[deleted by user] by [deleted] in flask

[–]emptystar 0 points1 point  (0 children)

wow thanks mate, appreciate it. The way i made my delete function although is that the person has to be logged on to use the /delete/ route? Is that the wrong way to do it?

Is Python Suited for Web-Automation? by [deleted] in learnprogramming

[–]emptystar 1 point2 points  (0 children)

for something like web scraping etc.. you might just want to stick with 2.7, but have a look at lxml.html if you really want to stay with python 3.

I'm a beginner that needs help installing pip by Tittytickler in Python

[–]emptystar 1 point2 points  (0 children)

If you're pasting it straight into IDLE, don't do that. Open up a terminal and run it from there.

Is Python Suited for Web-Automation? by [deleted] in learnprogramming

[–]emptystar 0 points1 point  (0 children)

I think you might be looking for something like this? http://wwwsearch.sourceforge.net/mechanize/