|
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. |
On March 31 2015 20:43 iNsaNe- wrote:Show nested quote +On March 30 2015 22:26 Acrofales wrote: Honestly, if you have no clue where to start when programming A*, you probably should be staying far away from studying CS...
1. As algorithms go, A* is a simple one. If you don't understand it, CS is not for you. 2. There are literally thousands of explanations of it, pseudocode implementations, and actual implementations in any programming language you can imagine. If you don't know how to find them, CS is not for you (or well, any other study, because some healthy dose of Google knowledge is necessary for most stuff nowadays) Probably around 80-90 percent of the students that started studying CS in the university I went to (and later taught in basic programming courses) didn't have any prior background on programming. Should they just quit right away? If that's a normal level assignment to implement the algorithm with Java and you have no idea where to start it's not a good sign, but it doesn't mean that you couldn't learn if you put enough effort to it or learn how to learn. Telling someone they should stay away from the field because they don't know how to solve that problem is ridiculous. If someone is being asked to program A*, I don't think they are doing "Intro to Progamming 101". It might be "Algorithms 101", but if there is an assignment to program A* in Java, there is a fair amount of prior knowledge, and you don't just get dropped in there with none of it.
And as I said, I may have been a bit harsh.
|
I was wondering... If anyone familiar with front-end development here would be willing to do some charity work and help me out it would be great.
I'm helping a friend and set up a simple web page for him, but my css-fu is pretty weak this days. Long story short - small project for fun. If you'd like to take part in it then please do contact me and we can talk 
Site in question: http://ec2015.pl/
I'm planning on adding some custom-built CMS to it when I have some free time, if anyone would like to practice their PHP back-end we can talk about that too
|
I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:
|
On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o: If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.  No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL.
|
Damn it C++, why make inheritance private for classes (I know structs are public). I forgot that and was wondering why a unique_ptr<Base> didn't accept an object of derived class.
|
On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
You want the front (html/less/js) or the back (php/symfony2) end?
|
On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o:
I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features. If you want to create a game I would recommend Unity or UE4.
|
On April 07 2015 06:43 Biolunar wrote:Show nested quote +On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o: If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.  No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL.
Do you mean SFML? GLFW is a C library too.
|
On April 07 2015 20:03 Gotard wrote:Show nested quote +On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o: I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features. If you want to create a game I would recommend Unity or UE4. ye, you want to make a game go use something like Unity, it will spare you a shit load of time, if you want to make your game from scratch do not expect it to be good at the first try.
|
Sorry another stupid question but been searching for 2 days now and can't seem to find an answer..
I've been trying to use XHTML strict and can't get id's to work. An example: CSS
#siteheader { font-size: 30px; padding-left: 10px; padding-top: 10px; }
XHTML strict
<header id="siteheader"> Test </header>
What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..
|
On April 07 2015 21:22 Rocket-Bear wrote:Sorry another stupid question but been searching for 2 days now and can't seem to find an answer.. I've been trying to use XHTML strict and can't get id's to work. An example: CSS #siteheader { font-size: 30px; padding-left: 10px; padding-top: 10px; }
XHTML strict <header id="siteheader"> Test </header>
What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer..
Did you declare the doctype? Also id might need to be ID in xhtml
|
Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book.
|
On April 07 2015 23:23 carmon wrote:Show nested quote +On April 07 2015 21:22 Rocket-Bear wrote:Sorry another stupid question but been searching for 2 days now and can't seem to find an answer.. I've been trying to use XHTML strict and can't get id's to work. An example: CSS #siteheader { font-size: 30px; padding-left: 10px; padding-top: 10px; }
XHTML strict <header id="siteheader"> Test </header>
What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer.. Did you declare the doctype? Also id might need to be ID in xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
This is how it starts. I also have made sure I have html,head,title and body.
Didn't know ID had to be capitlized though but it still seem to struggle a bit hmm
|
On April 07 2015 20:39 netherh wrote:Show nested quote +On April 07 2015 06:43 Biolunar wrote:On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o: If you want easy and fast developement, use GLFW. If you want your application to run on a toaster, use SDL.  No I am serious. Since you obviously use C++, use a proper C++ lib like GLFW and not a C lib like SDL. Do you mean SFML? GLFW is a C library too. Holy shit yeah lol. My brain must have shut down for a moment, sorry!
|
On April 08 2015 01:11 Rocket-Bear wrote:Show nested quote +On April 07 2015 23:23 carmon wrote:On April 07 2015 21:22 Rocket-Bear wrote:Sorry another stupid question but been searching for 2 days now and can't seem to find an answer.. I've been trying to use XHTML strict and can't get id's to work. An example: CSS #siteheader { font-size: 30px; padding-left: 10px; padding-top: 10px; }
XHTML strict <header id="siteheader"> Test </header>
What am I missing? idk =/ Been trying to run it through the w3 schools validator and it complains everytime. Been trying different things and googled for ids xhtml strict but can't seem to find an answer.. Did you declare the doctype? Also id might need to be ID in xhtml <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
This is how it starts. I also have made sure I have html,head,title and body. Didn't know ID had to be capitlized though but it still seem to struggle a bit hmm
id doesn't have to be capatilize. XHTML strict doesn't have the new html 5 tags like header. If you want to use the header tag use html5
|
As an aside... doing something like <header id="siteheader"> seems rather redundant/silly. If it's the site header/masthead/whatever you want to call it, there's only going to be one per page, so you don't really need a separate ID for it.
If it's for an article or something, you're assumedly going to have a <article>, <footer>, etc. with it, and it'd be much better to stick them all in a single <div> with an ID than giving each tag a separate ID like "articleheader" and "footerheader".
|
On April 07 2015 23:42 darkness wrote: Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book.
Is there really nobody who has been reading this book? I'm disappointed. nunez, have you, at least?
|
I don't read books. Books read me.
On April 07 2015 18:16 Manit0u wrote:You want the front (html/less/js) or the back (php/symfony2) end?
Sorry I didn't see this, front-end would be better for me. :o
On April 07 2015 20:03 Gotard wrote:Show nested quote +On April 05 2015 13:22 Blisse wrote: I'd be down to help Manitou :p
Has anyone used SDL or GLFW and can do a comparison between the two? I've only used GLUT before so this stuff is new o: I've never used GLFW but I can recommend SDL. It's super easy to use and has a lot of useful features. If you want to create a game I would recommend Unity or UE4.
Not making a game, I just need to build some way of visualizing some inputs and outputs for a project, basically drawing a bunch of points/lines/faces
|
On April 09 2015 03:12 darkness wrote:Show nested quote +On April 07 2015 23:42 darkness wrote: Has anyone read the Effective C++ book for C++11/14 (Modern C++ or something)? Is it nice? I still have to finish reading More Effective C++ (1995) and More Effective STL before I consider the newest C++ book. Is there really nobody who has been reading this book? I'm disappointed. nunez, have you, at least? I've heard good things about it but I haven't had the chance to read it yet, working on getting around to it sometime in the next couple months
|
At the moment I do a little bit of C++/Python programming and I think I have potential. I'm pretty good at understanding complicated structures etc, but I am aware that my programming is just functional and I don't really understand what is going on at a very fundamental level. That's pretty disconcerting for me. Even things that should be really basic, like pointers, I'm not comfortable with because I don't know how/why/when they are efficient. Does anybody have a book recommendation that builds up from technical fundamentals? Maybe a computer science textbook is what I need, but I'd prefer something a bit more readable. It doesn't need to be a comprehensive book, obviously I can research things in more detail, but it needs to give me a sense of structure.
|
|
|
|