420chan

A FACE

Settings

  • Randy Theme
  • Classic Theme
  • Rainbow Theme
  • Hide NWS Boards
  • Show NWS Boards
  • Help Tooltips Off
  • Help Tooltips On
  • Perma-Party Mode Off
  • Perma-Party Mode On
  • Side Navigation Off

General

  • News
  • Blog
  • Rules
  • Tools
  • Taimapedia
  • IRC Info
  • 420chan FAQ
  • Moderators

New/Trial

  • *Style*
  • Netjester AI
  • Dreams
  • Space
  • Weapons

Drugs

  • Cannabis
  • Alcohol
  • Ecstasy
  • Psychedelics
  • Stimulants
  • Dissociatives
  • Opiates
  • Tobacco
  • Benzos
  • Deliriants
  • Others
  • Jenkem
  • High Stuff

Academic

  • Science
  • Growing
  • Dinosaurs
  • History
  • Guides
  • Law
  • Medical
  • Philosophy
  • Politics
  • Technology
  • Programming

Lifestyle

  • Bawww Blog
  • Fitness
  • Transportation
  • Food
  • Crossdressers
  • Kinky Stuff
  • Adult (Gay)
  • Adult (Straight)

Media

  • Art & Oekaki
  • Comics
  • Flash
  • Gifs
  • Literature
  • Music
  • MMA
  • Movies & TV
  • World News
  • Pokemon
  • Sports
  • Trad Games
  • Video Games
  • Wrestling

Miscellaneous

  • 420chan
  • Random
  • Shenanigans
  • Spooky
  • Animals
  • Gore
  • Hentai
  • Wallpapers
  • Net Characters
General
  • News
  • Blog
  • Rules
  • Tools
  • Taimapedia
  • IRC Info
  • 420chan FAQ
  • Moderators
New/Trial
  • *Style*
  • Netjester AI
  • Dreams
  • Space
  • Weapons
Drugs
  • Cannabis
  • Alcohol
  • Ecstasy
  • Psychedelics
  • Stimulants
  • Dissociatives
  • Opiates
  • Tobacco
  • Benzos
  • Deliriants
  • Others
  • Jenkem
  • High Stuff
Academic
  • Science
  • Growing
  • Dinosaurs
  • History
  • Guides
  • Law
  • Medical
  • Philosophy
  • Politics
  • Technology
  • Programming
Lifestyle
  • Bawww Blog
  • Fitness
  • Transportation
  • Food
  • Crossdressers
  • Kinky Stuff
  • Adult (Gay)
  • Adult (Straight)
Media
  • Art & Oekaki
  • Comics
  • Flash
  • Gifs
  • Literature
  • Music
  • MMA
  • Movies & TV
  • World News
  • Pokemon
  • Sports
  • Trad Games
  • Video Games
  • Wrestling
Miscellaneous
  • 420chan
  • Random
  • Shenanigans
  • Spooky
  • Animals
  • Gore
  • Hentai
  • Wallpapers
  • Net Characters
Options
  • Styles
  • Randy
  • Classic
  • Rainbow
  • Settings
  • Hide NWS
  • Show NWS
  • Tooltips Off
  • Tooltips On
  • Party Mode Off
  • Party Mode On
  • Side Nav Off
  • Side Nav On
  • Staff
  • Login
Icon
Icon
Icon
Icon
Icon
Icon
/prog/ - Programming
/prog/ - Programming
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Insert a URL or E-mail in this field. It will appear in your name.
Subject
Comment
*Italic Text*
**Bold Text**
~Taimapedia Article~
%Spoiler Text%
>Highlight/Quote Text
``Monospace Text`` OR Indent each line 4 spaces
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich
Password
(Password for post and file deletion)

Advertise With Us

File: 1257482186023.jpg -(48438 B, 600x400) Thumbnail displayed, click image for full size.
48438 No.2900 Report Ban Global Ban Sticky Lock Reply

Howdy fellow /prog/idys. I want to make a game. I have had this idea in my head for awhile now but the problem is I need help to do it. The game I envisioned wass this: It simulated, more than the action aspect of a zombie apocalypse, the survival aspect. It wasn't about busting down doors and going ape shit on 20 zombies at once,it was about motherfucking staying alive. You're forced to use whatever objects are at hand as zombie slaying weapons, and depending on the weapon, will break easily. It's all about finding places to sleep and avoiding being bitten at all costs. I'm pretty into coding game engines and stuff and I'd love to do something like this but its crazy to think I could do it alone. Would any of you fellow anons have interest in such an undertaking? Any discussion is welcome, even if you can't code and just wanna discuss in depth on the mechanics of the game.

1 posts omitted. Click Reply to view.
>> No.2904 Report Ban Global Ban

>>2901
Indeed. My skeleton of a plan as far as management goes is, at first, a forum, set up and maintained by me. That's where the recruits I hopefully get(I've cross-posted this across a couple *chans admittedly) I will have gather, if it doesn't work we will move to a more suitable approach, IRC, mailing list, whatever works.

>> No.2905 Report Ban Global Ban

I'm not a programmer but I am a very capable 3D modeller in Maya and 3Ds max (the two most powerful and common professional tools). I can model, texture, rig, animate and render a sleek design and low-polygon build. But here's the kicker: I too, miss GOOD survival games.
Contact me by email or MSN. Rollie.lomas@gmail.com

It's possible we're quite like-minded, as I've had this idea myself. Forget diverse gameplay via picking up a second pistol. I think a really unique game would have you able to stand your ground in your living room using any object as a weapon and ensuring no blood gets near your eyes or open cuts.

Comment too long. Click here to view the full text.
>> No.2906 Report Ban Global Ban

You might want to look into XNA. It's essentially an SDK for games. You still have to code the actual game engine etc, but it comes with all sorts of handy functions for rendering, sound...

http://creators.xna.com/en-GB/

It's by no means an instant game creator, but it hands you the tools you need.

Let me know if I can help though, I've wanted a game like this forever :D

Comment too long. Click here to view the full text.
>> No.2907 Report Ban Global Ban

I'm fairly experienced with C++/C#, though not so much with full-scale game development. I'd definitely be interested in helping out though.

>> No.2908 Report Ban Global Ban

>>2906

The thing about indie projects like these is that they are veeerry ambitious and that kind of stuff needs funding. I think a good game doesn't just have to challenge the intuition but should also engage the player in a good plot, concerning less about ground-breaking physics or mechanics.

Instead, you could just have various points in the game where the heat is on, and there are certain weak doorways and walls indicated by damaged textures, that will collapse with enough bashing, Played RE4? It's linear gameplay, but it feels very open.



File: 1253225471421.jpg -(11321 B, 315x314) Thumbnail displayed, click image for full size.
11321 No.2061 Report Ban Global Ban Sticky Lock Reply

i need some help out with my C++ project...i'm trying to understand how to use a 'for' loop in this problem:
"You buy a candybar for $1. Each bar has 1 coupon. 7 coupons get you 1 free candybar. Find out and display the amount of candybars bought, the amount total, and the amount of coupons left over."

This is what I'm thinking, but IDK if it's right, nor do i know what to put in the 3rd space:
for(candies;candies>6;)

3 posts omitted. Click Reply to view.
>> No.2066 Report Ban Global Ban

>>2064
I was waiting for the modulus operator :P

>> No.2070 Report Ban Global Ban

#include <iostream>
using namespace std;

int main(int argc, char** argv)
{
int candybars = 0;
int dollars = 0;
int coupons = 0;

Comment too long. Click here to view the full text.
>> No.2080 Report Ban Global Ban

/* The following is pretty straight forward, so I didn't bother commenting it. */

#include <iostream>
using namespace std;

char *plural(int value) const
{

Comment too long. Click here to view the full text.
>> No.2879 Report Ban Global Ban

your question isnt really well written but this is how i understand it

#include <iostream>

using namespace std;

int main() {
int bars;

Comment too long. Click here to view the full text.
>> No.2903 Report Ban Global Ban

why use a for loop at all. It's just strait (sort of) math. I think if a for loop must be used then using the modulus operator is cheating. By using one you are kind of solving the problem and then resolving it just for credit.



File: 1257412453286.jpg -(458011 B, 1600x1200) Thumbnail displayed, click image for full size.
458011 No.2894 Report Ban Global Ban Sticky Lock Reply

So guys, whenever people ask for opinions on good books when it comes to programming, the answers are often specific books about programming languages (Learn LISP in 21 days, Visual C++ 6.0 Programmer's Guide, etc.) but what about books that teach you to think like a programmer? What I mean are techniques that get you into the mindset needed to understand the structure and syntax used in major programming languages, efficiency in a computer system etc?

Do any such books exist?

Pic unrelated (But first in my images folder.)

>> No.2896 Report Ban Global Ban

There are tons of those. Off the top of my head, The Wizard Book (Structure and Interpretation of Computer Programs) and How To Design Programs are two really great Scheme books that focus on programming over coding.

Professional C++ is also pretty good, but it focuses more on the software developer aspect of programming.

>> No.2897 Report Ban Global Ban

>>2896
Also, both SICP and I think HTDP are free online.

>> No.2902 Report Ban Global Ban

Usually textbooks like you would find in a college course.

Here is what college generally looks like in order (some overlap)

  1. language learning
  2. coding principles
  3. software development toward the end of that one
  4. efficiency and advance technique
Comment too long. Click here to view the full text.


File: 1257289091016.jpg -(32679 B, 300x315) Thumbnail displayed, click image for full size.
32679 No.2870 Report Ban Global Ban Sticky Lock Reply

Good evening /prog/
sorry for my English, I'm really tired and it's not my native language

anyhow

I am very interested in getting into game programming.
And I have a few questions

Comment too long. Click here to view the full text.
3 posts omitted. Click Reply to view.
>> No.2883 Report Ban Global Ban

>>2882

C# with XNA is just fine for game development.

>> No.2886 Report Ban Global Ban

>>2883 seconded. If you already know C# then xna is probably a good bet for a starting point.

>> No.2890 Report Ban Global Ban

>>2882
If you're going to shoot for 2D first, I would suggest making a simple abstraction to the DirectX sprite object for graphics and don't go any more complex. I don't know of any implementations off the top of my head.

Try searching the forums at http://www.gamedev.net/

>> No.2895 Report Ban Global Ban

Yea check out some XNA its free and uses C# and if you are willing to fork out some money you can even publish to the Xbox 360.

>> No.2899 Report Ban Global Ban

Sweet, I'll sink my teeth into XNA this weekend.

Thanks /prog/



File: 1257407203242.jpg -(41868 B, 400x300) Thumbnail displayed, click image for full size.
41868 No.2893 Report Ban Global Ban Sticky Lock Reply

I'm going to start taking classes to be a Microcomputer Technician. I'll probably get my AA in that field.

What should I expect? Anyone else take the course?

>> No.2898 Report Ban Global Ban

Learn a bunch of easy bullshit, another line on your resume.



File: 1257304296781.jpg -(75079 B, 563x750) Thumbnail displayed, click image for full size.
75079 No.2877 Report Ban Global Ban Sticky Lock Reply

okay guise,

So I play a browser game that recently allowed users to post images in comments for peoples "newspapers" it worked through HTML. After many users abusing that through posting of pron, they disabled the <img> tag. Javascript has been similarly disabled due to abuse.

Now I know there have got to be some other ways to post images, Google hasn't helped and my limited knowledge from Web I hasn't either...

Comment too long. Click here to view the full text.
1 posts omitted. Click Reply to view.
>> No.2884 Report Ban Global Ban

>>2878
link to game?

>> No.2888 Report Ban Global Ban

You could try using a table cell with the image set as its background. Or divs and in-line CSS maybe?

Use your imagination.

>> No.2889 Report Ban Global Ban

>>2877
Maybe you could try some BBCode.

But as someone above said a link would be useful.....

>> No.2891 Report Ban Global Ban

what the fuck does banned string mean

>> No.2892 Report Ban Global Ban

>>2891

Links are,

erepublik (dawt) com/en

erepublik (dawt) com/en/referrer/Moot
^ if you want to join :3

Comment too long. Click here to view the full text.


File: 1257199872376.jpg -(23819 B, 300x210) Thumbnail displayed, click image for full size.
23819 No.2847 Report Ban Global Ban Sticky Lock Reply

Hai /prog/. I used to have this program called Aston 2. It replace the normal windows desktop with it's own. My computer actually ran faster with it than before because explorer.exe wasn't running. Anyway, I was wondering, how one would go about making a program like that?

Pic related, it a screenshot of Aston 2

>> No.2887 Report Ban Global Ban

you can run any program as a windows shell... so basically, make your program do things you'd like to do on a regular basis, like have some kind of menu you can use to launch programs, have some sort of way of managing the windows that are open, like a taskbar of some sort. some people like to click on icons on their desktop, so write some routines that paint little 32x32 pictures of programs that you can click on.. people also seem to enjoy having wallpaper, so write something that will paint a picture underneath all other windows.



File: 1255438911432.jpg -(69158 B, 800x640) Thumbnail displayed, click image for full size.
69158 No.2445 Report Ban Global Ban Sticky Lock Reply

they will be teaching me python as my 1st language at university. tell me sth cool about it, i want to be in love!

14 posts and 2 images omitted. Click Reply to view.
>> No.2852 Report Ban Global Ban

>>2445

If you IRC, you should be able to prop up some fun/useful scripts with it. Aside from that, I've never found much practical use for it, personally.

>> No.2856 Report Ban Global Ban

>>2848
Although it is an exaggeration, it's pretty close to true. Perl's 20x more likely to net you a job than Python.

>> No.2861 Report Ban Global Ban

forced indentation of code

>> No.2863 Report Ban Global Ban

>>2848
the lead python developer works there, of course they use python extensively. apple uses obj-c extensively and microsoft uses (gasp) VB.NET (as well as ASP, C#, F# etc) extensively. sun uses java extensively, doesn't make it good.

>> No.2885 Report Ban Global Ban

>>2863
Ehh.. What? You claim that google chose Python based on the recommendation of a single person out of its 20,000 employees?

That's bass ackwards.



File: 1257299758172.jpg -(20838 B, 400x286) Thumbnail displayed, click image for full size.
20838 No.2875 Report Ban Global Ban Sticky Lock Reply

Greetings /pr/,
So here's the score: As of lately I've taken to lurking a lot of programming boards & reading mildly into some manuals regarding PHP, etc... and have decided i want to jump into learning programming and many relative subjects. I have pretty much no background in any of this (I know HTML and that's the extent of it, so yeah...) I have a few questions regarding my transition from know-nothing to know-something to hopefully know-enough-to-code-from-scratch and whatnot. To be a bit more clear, I am interested in learning programming and not just a specific programming language, and thus am expecting and willing to tackle multiple coding languages, which ones are suggested as a good head first dive into the wide world of /prog/ramming languages? Also what kind of background in Math should one have? Math has never been my strong point but I'm willing to pick up a calculus textbook/take a class or two if a lot of languages turn out to be pretty MATH-oriented and whatnot.

Comment too long. Click here to view the full text.
>> No.2876 Report Ban Global Ban

What math do you need? Not much, really. You need to know discreet math, of course -- things like permutations, graph traversals, etc. Computational theory also helps in some cases. Algebra and basic calculus are also important, but more so to get you accustomed to functions and input->output than any of the actual content.

Your approach is good, stick with that. The best languages to start to learn programming in are Lisp/Scheme/Ocaml. They're simple, extremely elegant, and will you start you out writing code with style. However, the drawback is that they are more difficult to teach yourself.

Python is always a good start. It's very easy to read and tends to flow very naturally. Same with Pascal, to a certain extent. Java is also a good start for Object-Oriented programming, as is C#. Visual Basic will get you started in writing small programs and software development, but not so much in becoming a quality coder.

Comment too long. Click here to view the full text.


File: 1256599276795.jpg -(37522 B, 500x417) Thumbnail displayed, click image for full size.
37522 No.2706 Report Ban Global Ban Sticky Lock Reply

Dear /prog/,
I need help deciding whether to choose Perl or Python to learn as my first programming language. I have no previous experience in coding, aside from formatting languages (HTML, CSS, etc).

wut i do
Pic unrelated.

25 posts and 4 images omitted. Click Reply to view.
>> No.2855 Report Ban Global Ban

>>2844

Addendum: Perl 6 was announced as an initiative in 2000. The proper beginnings of the design process were two or three years later.

>> No.2869 Report Ban Global Ban

http://catb.org/~esr/faqs/hacker-howto.html

scroll down a little, the author gives some information about why you should learn python first.

Not saying it's correct or not, but this is why i'm learning python first so...

>> No.2871 Report Ban Global Ban

Well yeah, Python is a nice starting language.

I wouldn't say it's the best, since you'll probably miss out on a lot of theory. But it's still very easy to read/understand and moderately powerful.

>> No.2873 Report Ban Global Ban

>>2854

> Your phrasing made it sound as though you were criticizing the way its users used it, there was nothing suggestive of the fact you were refering to Perl 6.

No, no criticism of the users, by any means. My concerns surround the (un)management of Perl as a project. When choosing a language and/or tool in which to invest a significant amount of time in learning, the future direction it is going is a critical factor.

Comment too long. Click here to view the full text.
>> No.2874 Report Ban Global Ban

>>2873

>So why bother myself with Perl 5?

The same reason people bother with COBOL, because it's already everywhere and it will persist for much longer than either it's detractors or the soon-to-be Perl 6 programmers will like (though it will pleasantly much less of a pain in the dick to deal with as legacy code than COBOL). It's still used actively for it's original purpose: systems administration. And much of the knowledge should be transferable to Perl 6, when it arrives.

Comment too long. Click here to view the full text.


File: 1253680178289.jpg -(36124 B, 400x350) Thumbnail displayed, click image for full size.
36124 No.2140 Report Ban Global Ban Sticky Lock Reply

Ok, so, /prog/, I want to get into freelance coding. Unfortunately, all of my experience has been with C++ (and those sites are loaded with nothing but webdev jobs), and I've never really completed a project, so I've got nothing to showcase. It also goes without saying (because I've never finished anything) that I'm self-taught, though I'm at a decent level of skill (got OpenGL working, wrote my own (shitty) 2D physics engine from scratch).

So how should I go about this? Should I learn PHP, Java, and C#? Should I try bringing a small project to completion first in order to have an actual chance at getting some of these jobs?

15 posts and 6 images omitted. Click Reply to view.
>> No.2769 Report Ban Global Ban

>>2730
That's fine for OP and all, but you still havn't answered any questions in >>2537

>> No.2770 Report Ban Global Ban

>>2537
Too long. Go into industry.

To make a decent living freelancing, you have to show people you know what you're doing. That's why almost all freelancers have a degree and spend 5 or 10 years in industry.

>> No.2843 Report Ban Global Ban

>>2724

Suppose I live in the ass end of nowhere so there are no programming jobs here and I taught myself to program so I have no way to prove to people that I can actually code. How do I get a 9-5 programming job, exactly?

>> No.2860 Report Ban Global Ban

>>2843
MOVE

>> No.2868 Report Ban Global Ban

>>2843
Include anything you've worked on in your resume, no matter how minor you may think it is, but don't lie as they will ask you about it. Spend some time getting something together to show potential employers. They're going to want to see some work you've done if you don't have a formal education. It doesn't have to function properly or even be in a working state. Just something to show you wouldn't be out of your depth. Of course the more polished the better, but the goal is to get your foot in the door, not to spend a lot of time working on a project that's going nowhere.

If you don't mind moving find an employer that will help you relocate. Don't be picky when it comes to your source for a job. Ask your friends, family, coworkers, anyone else you know. Look in newspaper classifieds, on the internet, government employment offices/workforce commissions.



File: 1257229778736.jpg -(2807 B, 300x57) Thumbnail displayed, click image for full size.
2807 No.2857 Report Ban Global Ban Sticky Lock Reply

Hey /prog/,

Earlier I saw this Iphone app that lets you take a picture of a Sudoku puzzle, then identifies the grid and its numbers and solves it.

Here's the link: http://www.youtube.com/watch?v=oImMJ6p6mKE

I was wondering, what technique did he probably use to achieve that? (not the sudoku solving part, just the recognition of the grid)

Comment too long. Click here to view the full text.
>> No.2864 Report Ban Global Ban

It's pattern recognition. All the computer really needs to know in this case is what a sudoku board looks like and what each individual number looks like.

This is not my area of expertise, however so here's a wiki article.
http://en.wikipedia.org/wiki/Computer_vision

>> No.2866 Report Ban Global Ban

1: search for the corners == typical 90 degree shape
2: stretch the image
3: OCR the numbers with a NN (fairly easy once trained)
that it I guess
­
currently working on OP's pic (recaptcha is a pain in the ass on segmentation)

>> No.2867 Report Ban Global Ban
File: 1257266411493.png -(111515 B, 595x517) Thumbnail displayed, click image for full size.
111515

durpp



Advertise With Us

Delete Post | | Password
Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Report Post
Reason
Note

Powered by Taimaba 0.3.0

© 2005-2009 420chan      Contact    Twitter    Advertise    Policy