i saw a bunch of programming books (not on super sale) but they'd be too heavy to bring back to canada -sigh-
The Big Programming Thread - Page 608
Forum Index > General Forum |
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. | ||
Blisse
Canada3710 Posts
i saw a bunch of programming books (not on super sale) but they'd be too heavy to bring back to canada -sigh- | ||
Manit0u
Poland17197 Posts
Genious. | ||
RoyGBiv_13
United States1275 Posts
On March 24 2015 18:06 Nesserev wrote: Just went to the annual book sale at our university's department library for old/damaged books, got my hands on 8 kilos of books, including: - The C Programming Language - Design Patterns - Principles of Compiler Design (Green Dragon) - ... 1 kilo = 1 euro, that's a steal Damn, my birthday has been great so far ![]() The green dragon is my favorite programming book out there. Good stuff! | ||
Blisse
Canada3710 Posts
| ||
Millitron
United States2611 Posts
Covers all kinds of automata, FSM's, Push-down Automata, Turing Machines, you name it its in there. The only textbook I ever actually liked to be honest. http://www.amazon.com/Introduction-Theory-Computation-Michael-Sipser/dp/0534950973 If anyone's interested. | ||
njt7
Sweden769 Posts
| ||
Millitron
United States2611 Posts
On March 26 2015 09:43 njt7 wrote: You linked to the second edition, any reason for that? I am considering buying it but I would feel kind of robbed if I go for the 3rd and latest edition but later find out that its virtually the same as the 2nd. I only linked the second edition because that's the one I used. I don't have any info on what the third is like. I know the 2nd edition was pretty much strictly superior to the 1st. All it really changed was it added a bunch of exercises. I would imagine the 3rd edition did something similar. | ||
Ben...
Canada3485 Posts
On March 26 2015 03:05 RoyGBiv_13 wrote: The green dragon is my favorite programming book out there. Good stuff! Super jealous that you got one of the dragon books. I've wanted those for a long time. Doing a compiler is one of the projects I want to do after I graduate in a month or so. | ||
nunez
Norway4003 Posts
i got it in my archives, haven't read yet though. at the time i keep swapping between introduction to automata theory, languages and computation (hopcroft, ullman) and modern compiler design (grune). i'll start peeping in this as well. working on a compile-time recursive descent parser for regular expressions, not completed yet but i can parse concatenation and groupings at least (pointless i know): edit, added closures so the groupings have some value... ... parsed: te(a*m)*(liq)*uii*d the structure of the resulting type mirrors the structure in the 'regular' expression source string. sequence is alias for concatenation, hope formatting is ok. | ||
Incognoto
France10239 Posts
+ Show Spoiler + basically i want to copy some html from one source to another. <div class="content widget-content"> That HTML code makes a table, which shows recent threads. I want to take that table and copy it to the side-bar of the forum. http://esocommunity.boards.net/page/news Obviously, when I simply copy/paste that html code, all it does is re-produce the table at the time of the copy/paste. :p ! So my goal is to use JS to copy/paste that code every time the user refreshes his page. i can create plug-ins on the site to do stuff like that, a friend of mine already somehow used JS to check if streams were online or not, so this shouldn't be too hard. i guess i need to declare the html code i want to copy as a variable, then use JS to output that code into another html table, the output going into the sidebar, if that makes sense. ): i have no idea what i'm doing | ||
excitedBear
Austria120 Posts
var el = document.createElement( 'div' ); | ||
Manit0u
Poland17197 Posts
On March 26 2015 17:35 excitedBear wrote: This should get you started: var el = document.createElement( 'div' ); If I were to nitpick I'd say it's the job for the controller, not javascript... | ||
r3dox
Germany261 Posts
http://www.reddit.com/r/gamedev/comments/30iatz/zero_sum_game_ai_tournament/ | ||
excitedBear
Austria120 Posts
On March 29 2015 01:38 Manit0u wrote: What do you mean by 'controller'?If I were to nitpick I'd say it's the job for the controller, not javascript... | ||
Incognoto
France10239 Posts
now that i have time to look at this aspect again i guess I might as well discuss it. i'll put this in spoilers if that's ok. i also want to ask if it's OK for me to ask all these questions since i have an absolute truck-ton of things i'd like to do; it might seriously weigh down the thread. also note that my questions are going to be super basic. NB: these are free, online forums, so we don't have access to stuff like source code and whatnot. we make do with included features and also JS plugins + Show Spoiler + my current objective at the moment is to insert a "recent threads" panel into the sidebar on eso-community.net it's done in html, however we can insert javascript into the html thing, using <script ></ script>. anyway, here is the html used in the "forum index" section of the sidebar, for example: + Show Spoiler + <div class="sidebar-forum"> as you can see, it's basic links, nothing too incredible. what I would like to do is have a "recent threads" thing, written in html and using JS to extract information. basically take the latest threads posted in this section : http://eso-community.net/board/20/recorded-games and have those threads appear in the side bar. kind of like how it's done at tl.net now that i have time, i'm going to be re-using excitedbear's advice and hopefully try to start coding something. this post is just to properly explain my problem, i guess | ||
JD.
Australia250 Posts
![]() (Note I'm not looking for someone to do the work for me, but someone I can share the provided files+assignment spec with who can help me out from skype or w/e) | ||
r3dox
Germany261 Posts
On March 30 2015 15:49 JD. wrote: So I know this is a bit of a reach and possibly not the threads intended use, but I have a Java assignment that i'm not even sure how to begin on - if anyone is capable of helping me out implementing A* pathfinding please send me a PM ![]() (Note I'm not looking for someone to do the work for me, but someone I can share the provided files+assignment spec with who can help me out from skype or w/e) did you try googling? there is so much information on the implementation of A* available... of course you can find full java implementations as well. for example: http://www.redblobgames.com/pathfinding/a-star/introduction.html asking for someone to share your assignment and skype with you is pretty close to doing the work for you ![]() | ||
Acrofales
Spain17852 Posts
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) | ||
Prillan
Sweden350 Posts
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) What the?! What kind of answer is that? You basically said: "If you don't know how to do it, you shouldn't try to learn it." | ||
solidbebe
Netherlands4921 Posts
On March 31 2015 00:35 Prillan wrote: What the?! What kind of answer is that? You basically said: "If you don't know how to do it, you shouldn't try to learn it." What he actually said (or meant at least, and what I got from it): "If you don't know how to learn how to do it, you shouldn't do it". Which is generally a statement I agree with. | ||
| ||