AnonAccount: What is it, and what does it do? - Q&A Thread
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Java JProgressBar and While loops by Archie Hodgewudging - Sun, 20 Oct 2013 02:55:03 EST ID:zMuT8Sqe No.30041 Ignore Report Reply Quick Reply
1382252103162.jpg -(3576 B, 190x190) Thumbnail displayed, click image for full size. 3576
Issues guys im writing a GUI for a 3D printer and want to put in a progress bar, however when i open my progress dialog with the controller attached (It is an incremental while loop) none of the contents show. but its only when this controller method is attached or if i write the while loop in the same method.
>>
Hannah Nicklebury - Sun, 20 Oct 2013 08:20:01 EST ID:DPk8BkCq No.30042 Ignore Report Quick Reply
1382271601080.jpg -(196745 B, 700x477) Thumbnail displayed, click image for full size. 196745
>>30041
I'm not exactly what you mean but are you doing processing for the 3D printing process in your UI thread? As in, do you send control commands to the printer in the same thread as you do the UI? Because you are not supposed to do that. User interface threads are message based by design and doing a big chunk of processing will break that.

You're best of separating the two by hosting the code that sends commands to the 3D printer in it's own thread. When the user clicks the 'Print' button, start a new thread and put the control code in there. Using the observer pattern you can implement communication from the thread back to the UI.

The thread will want to communicate two things: the progress and completion. By handing the thread an observer that implements two methods, progress(int percentComplete) and finished(), that post messages into the UI thread's message queue updating your progress dialog becomes very painless and thread safe. If you place the progress bar into a dialog that you display modal it will automatically 'block' the user from interacting with the application until processing is complete and it won't require any work.

Not sure if you want to be able to cancel a printing operation(I suppose you do) but remember that simply killing the thread isn't sufficient. You need to send a message to the thread and let it clean itself up graceful.


wat by Samuel Blatherham - Thu, 17 Oct 2013 01:36:24 EST ID:fCCRrVka No.30011 Ignore Report Reply Quick Reply
1381988184160.gif -(8457 B, 582x292) Thumbnail displayed, click image for full size. 8457
I was gonan ask this earlier, but why do the logos for Ollydbg and Irfanview look so similar?

Are they somehow related? I just got into malware analysis, and noticed the similarities when I was picking up ollydbg.
>>
Samuel Blatherham - Thu, 17 Oct 2013 01:37:45 EST ID:fCCRrVka No.30013 Ignore Report Quick Reply
1381988265160.jpg -(538819 B, 1600x1200) Thumbnail displayed, click image for full size. 538819
>>30011
ps- i'm hoping for lore

no bump
>>
Shitting Geblingmeg - Fri, 18 Oct 2013 01:10:03 EST ID:Ig7bAXnD No.30019 Ignore Report Quick Reply
>>30016
Red Troll? Really?
>>
Martha Ninkintug - Sat, 19 Oct 2013 09:13:22 EST ID:fCCRrVka No.30031 Ignore Report Quick Reply
1382188402360.png -(68582 B, 247x248) Thumbnail displayed, click image for full size. 68582
>>30016
>>30019


"multiplayer" Touhou game by Ourou - Tue, 15 Oct 2013 11:36:35 EST ID:ckPAToGE No.29993 Ignore Report Reply Quick Reply
1381851395227.jpg -(27684 B, 480x360) Thumbnail displayed, click image for full size. 27684
Hello /prog/ I have a little question.

I'm an IT student and I need to make a multiplayer game (well at least 2 gamers,not an 1 vs A.I) in VB.Net(oh fun >>") and I was wondering if it would be technically possible to do a Touhou game like ?

<- Pic related I want to do a 1 vs1 game
>>
Nell Hibblenidging - Tue, 15 Oct 2013 14:39:01 EST ID:wZQ92VP3 No.29995 Ignore Report Quick Reply
yeah sure, why not
>>
Sophie Shittingcocke - Tue, 15 Oct 2013 21:57:51 EST ID:L5Gd39Ux No.29999 Ignore Report Quick Reply
What exactly are you asking?
>>
Ourou - Wed, 16 Oct 2013 06:28:11 EST ID:ckPAToGE No.30006 Ignore Report Quick Reply
>>29999
I'm asking if it's possible to create a multiplayer shoot them up game in VB.Net
>>
Faggy Hinkintire - Fri, 18 Oct 2013 23:11:05 EST ID:yvIZJg8E No.30024 Ignore Report Quick Reply
>>30006
It's possible to create a multiplayer shoot-'em-up game in any programming language.
>>
Cornelius Blackstock - Sat, 19 Oct 2013 07:32:27 EST ID:Wb3Rqdc9 No.30030 Ignore Report Quick Reply
>>30024
This, but I suggest for op to use something else than VB. Because its VB.


Flex and YACC by SilentBob - Wed, 16 Oct 2013 07:11:28 EST ID:fytf9od7 No.30007 Ignore Report Reply Quick Reply
1381921888548.png -(961627 B, 1440x900) Thumbnail displayed, click image for full size. 961627
Anyone have any experience with these two tools?

Im trying to make a simplistic C parser. No semantics checking. just basic syntax. types, variables, function prototypes, definitions, calls etc.

I was wondering if anyone could maybe explain in the simplest terms how yacc handles the grammar? Im having problems that im pretty sure stem from my understanding of how it parses the input given by flex.

pic unrelated.
>>
Simon Clettingpat - Wed, 16 Oct 2013 15:28:28 EST ID:pAmUKjus No.30009 Ignore Report Quick Reply
To write a C parser using yacc and lex would be running before you can walk.

yacc handles tokens which are sent to it by the lexer, and this stage is where the compiler/interpreter checks whether these tokens appear in a grammatically sane arrangement (that's what the yacc grammar is for). These tokens can either be terminal symbols or nonterminal symbols. For an extensive explanation of what those are see 'Compiler Construction' by Niklaus Wirth: http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf

The yacc section in 'The Unix Programming Environment' by Rob Pike and Brian Kernighan is pretty much the 'standard' introductory material. You follow the construction of a simple programming language named 'hoc', which handles variables, built-in functions, user-defined functions.

The source for hoc is here: http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/hoc/
The book is all around the internet.

It's worth noting that you probably don't need to use lex, as manual lexical scanning is easy.
>>
Priscilla Guzzlestone - Thu, 17 Oct 2013 18:49:26 EST ID:fytf9od7 No.30018 Ignore Report Quick Reply
Thanks for the links dude. Will try again.
>>
Molly Greenforth - Sat, 19 Oct 2013 07:07:01 EST ID:fytf9od7 No.30029 Ignore Report Quick Reply
try this link op

http://www.lysator.liu.se/c/ANSI-C-grammar-y.html


Javascript by Matilda Duckshit - Wed, 16 Oct 2013 20:47:38 EST ID:LBkC/znJ No.30010 Ignore Report Reply Quick Reply
1381970858317.png -(5684 B, 148x224) Thumbnail displayed, click image for full size. 5684
I've never gotten an element by tag name before in JS. Any idea why this code isn't working?


document.getElementByTagName('body').style.background = '/images/light.png';


The image path is correct, and if I change it to class or id and use them on other elements, it works just fine. But for some reason I can't change the body tag's background. I tried assigning and id and class to <body> but it didn't work. Any ideas?
>>
Charles Fossleham - Thu, 17 Oct 2013 01:36:59 EST ID:vhgZIlcV No.30012 Ignore Report Quick Reply
Because the function is getElementsByTagName, note the plural.
It then returns a list of items, and in js world it's common to see .getElementsByXxx("foo")[0].doSomething()


Video Game Programming by Priscilla Smallstock - Thu, 10 Oct 2013 18:32:07 EST ID:rwXAPOnG No.29944 Ignore Report Reply Quick Reply
1381444327880.jpg -(8024 B, 308x290) Thumbnail displayed, click image for full size. 8024
Hey /prog/.

So, like the millions of other little boys who grew up in my generation, I strive to become a video game designer. Programming, specifically.

Now, I currently am enrolled in college (sophomore) and don't like the idea of going somewhere else just to study game design. I'm currently a Physics major with a Computer Science minor, but was considering switching the two and pursuing a career in video game programming.

I suppose my first question is, as so many universities begin offering video game designer degrees, how important is that specific degree going to become to even enter the industry?

My second question I was wondering if my set-up looked viable to start in the industry, with a Computer Science major and Physics minor? That way I would have a strong math background in dealing with realistic movement and interactions and such, as well as a good basis in programming so I actually know what the hell I'm doing.

Thanks in advance, /prog/!
>>
Doris Hanningtetch - Sat, 12 Oct 2013 01:18:01 EST ID:isRBECos No.29960 Ignore Report Quick Reply
>>29944
>how important is that specific degree going to become to even enter the industry?
Not at all.

>My second question I was wondering if my set-up looked viable to start in the industry, with a Computer Science major and Physics minor? That way I would have a strong math background in dealing with realistic movement and interactions and such, as well as a good basis in programming so I actually know what the hell I'm doing.

I think being a physicist with a strong programming ability will get you more points if you're games that requires building engines from scratch.

But to truly get into the video game world from what I've seen you need to have previous game dev experience. This doesn't necessarily mean having worked in the industry before.

This means having developped a few games or something similar before.

Show them you have the initiative to complete a project and the creativity to make it worth playing.

It's also in my experience that especially big companies like EA love to hire mathematicians and physicists.
Comment too long. Click here to view the full text.
>>
Nell Bunway - Mon, 14 Oct 2013 20:22:26 EST ID:al8NJrkv No.29987 Ignore Report Quick Reply
Video game programming (3D graphics programming specifically) can be very mathematically intensive. A video game programming degree wouldn't really be as valuable as a physics degree, in my opinion. Switching your major and minor probably won't have that large an effect on you future career prospects. The important thing to do is to take Hanningtetch's advice and build a portfolio of homemade games. That's what game studios will be looking for.
>>
Thomas Lindauer - Wed, 16 Oct 2013 14:08:06 EST ID:Gg7B+ZTb No.30008 Ignore Report Quick Reply
Is the independent video game development craze not interesting? Jump in on the bandwagon, its fun trust me.


another "i wanna make a game thread" by Phoebe Niggerham - Wed, 16 Oct 2013 02:17:16 EST ID:3sDH7TFa No.30001 Ignore Report Reply Quick Reply
1381904236690.jpg -(79859 B, 498x720) Thumbnail displayed, click image for full size. 79859
tl;dr - Starting to use Lazy Foo's tutorial on making games with SDL. However, I want to make sure this is an EFFICIENT learning experience. Should I take some time now to read for example "Thinking in C++, Effective C++, SDL documentation, possibly even good coding practices / conventions", or is it pretty safe for me to assume that if I just combine google, tutorials, and practice as I go along, that I will learn as efficiently or less enough that it would make much difference?

No, I'm not asking "how do i make games", I'm studying computer engineering. However I feel my program is teaching me very little (I've noticed when I don't worry about deadlines and simply sit down and spend a night teaching myself from textbooks or tutorials, I learn waaaaay more and I retain the knowledge).
So I've taken it upon myself to start slowly picking away at making a game in my spare time. I'm going to be coding in C++ (am just starting to be introduced to it in class, but I'm most comfortable with C and understand the basics of object oriented programming so I think I'll pick it up fairly quickly), using SDL (and in the future probably openGL as well).
At this point, I'm only wondering if somebody with experience has any tips / pitfalls to avoid, suggestions? Mostly, now that I've gotten some immediate gratification and displayed a few images in a pop-up window (I'm so sick of console, the only fun I had in school was when I made a little linked-list of particles to draw pac-man moving across a screen in OpenGL), I'd like to know if I should stop trying to just delve in and learn as I go, and take some time to study either a C++ textbook, some documentation, etc?

I just worry that by following several tutorials (currently using Lazy Foo's) and looking through documentation without any guidance, I'm going to miss out on some key fundamentals that (and I know I shouldn't even be worrying about this just yet) will make me look like a total noob if I ever distribute.
I just want to make sure I know my shit as best as possible in each topic, and would like some input on if I should stop and do that now or as I go along?
>>
Hamilton Creckleshaw - Wed, 16 Oct 2013 02:46:07 EST ID:vhgZIlcV No.30002 Ignore Report Quick Reply
I guess they're ok.
They might be a little outdated (didn't sdl 2 come out or somthing) but the differences are minor enough.

Of course you should be efficient in the language you are going to use before trying this.
>>
Phoebe Niggerham - Wed, 16 Oct 2013 03:03:17 EST ID:3sDH7TFa No.30003 Ignore Report Quick Reply
>>30002
Yes, SDL 2.0 does exist, I actually stopped all progress for about half an hour because I couldn't determine if I should continue to use Lazy Foo's guide which has so far been the best all in one resource for me, or if I should try to stay current.

I'm really open to suggestions, so far in SDL I've done soooooo little that I really don't care about switching if that truly seems necessary (are older versions of SDL becoming obsolete???)
>>
Hamilton Creckleshaw - Wed, 16 Oct 2013 03:32:13 EST ID:vhgZIlcV No.30004 Ignore Report Quick Reply
>>30003
I don't think they are obsolete.
Although I have little experience with SDL2 itself, the little I looked at it seemed like the changes weren't too big and could be picked up the instant you wanted to. Actually if you read the sdl documentation "switching from 1.2 to 2" (or equivalent) you should be able to read the lazyfoo tutorials and make the changes on the fly.

That might actually be a reasonably good exercise and keep you from just copypasting the code.

My graphics experience started with lazyfoo, so I can vouch for that. I actually get a little nostalgic thinking about the snowing landscape.
>>
Phoebe Niggerham - Wed, 16 Oct 2013 04:01:11 EST ID:3sDH7TFa No.30005 Ignore Report Quick Reply
>>30004
Wow, that's actually a great suggestion. Bit of a pain in the ass, as the thing that's prevented me from actually getting that gratification I spoke of in the past has been the inability to properly navigate through IDE's and include libraries and header files, etc.
Honestly though I think the issue lied with my copy of visual studio though, code blocks is so easy to work with so I will definitely redo the first 4 lessons using SDL 2.0 this time


Spreadsheet question by Hedda Puttingwore - Mon, 14 Oct 2013 19:35:51 EST ID:SmuOFsgN No.29986 Ignore Report Reply Quick Reply
1381793751104.jpg -(247967 B, 1024x640) Thumbnail displayed, click image for full size. 247967
Calculating total number of time in excel by giving the "TOTAL HOURS" cell the following formula: (time in)AM - (time out)PM. The TOTAL HOURS cell displays an accurate time.

When reversed, this doesn't work. (time in)PM - (time out)AM. Can anyone help with this problem?
>>
Henry Sangernitch - Mon, 14 Oct 2013 21:42:56 EST ID:kv8bxsSs No.29988 Ignore Report Quick Reply
1381801376613.jpg -(216585 B, 1024x768) Thumbnail displayed, click image for full size. 216585
hello, hedda.

if this spans multiple days, convert each date and time into seconds since the epoch, subtract timeout - timein, convert remaining seconds back into hours.

if this is always a single day, convert your hours into 24 hour format (if am and hour == 12, set hour = 0; if pm and hour != 12, set hour += 12). then subtract to get total hours.
>>
Caroline Mangerchedging - Tue, 15 Oct 2013 12:35:14 EST ID:SmuOFsgN No.29994 Ignore Report Quick Reply
I fixed my problem by specifying the date in the cell value. For example before it was 7:00 AM, now it's 10/13/2013 7:00 AM. The cell is now properly calculated in the final formula.


Linux is almost worthless for cryptography by Jack Fandershit - Sun, 06 Oct 2013 05:13:51 EST ID:fUEPiZPx No.29871 Ignore Report Reply Quick Reply
1381050831500.jpg -(56756 B, 425x445) Thumbnail displayed, click image for full size. 56756
Anybody remember Linus Torvalds bragging about how "we know what we are doing" and dismissing all criticisms of random number generation in the kernel when there was an uproar a month ago on the mailing list about /dev/(u)random?

Turn out he doesn't know what he's doing http://eprint.iacr.org/2013/338.pdf

  • 3 attacks against /dev/random and /dev/urandom to silently make entropy zero
  • even when /dev/random is working normally it's still not using proper CSPRNG
  • if you're using an unattended system like a server /dev/urandom doesn't know that it doesn't have enough entropy to hand out PRNG but it does anyways so you effectively get deterministic random numbers
  • upon boot, Linux hands out deterministic values for pids, and ASLR as entropy is also close to zero
  • if you use some abortion of a VM based system like Whonix, the ECC used by Tor will be completely deterministic seeded with extremely low, if not zero entropy.

Even cloudflare doesn't want to trust /dev/random https://blog.cloudflare.com/ensuring-randomness-with-linuxs-random-number-generator

TL;DR Linux is a big piece of shit like usual. If you rely on cryptography for secure communications or finance you should consider switching to OpenBSD, FreeBSD, or buy a hardware TRNG entropy generator like those USB dongles you can get to provide actual random numbers.

No wonder the NSA/GCHQ/CSE/ASIO/NZSIS and Israeli spies have been able to slice through all the shitty crypto like RC4 and OpenSSL/RSA 1024 when operating systems aren't even producing proper random numbers.
2 posts and 1 images omitted. Click Reply to view.
>>
Albert Brookshit - Fri, 11 Oct 2013 20:41:49 EST ID:p3zBGaSC No.29956 Ignore Report Quick Reply
So instead of sitting around whining on forums, why haven't you taken advantage of this to defraud banks, "pwn" domain registrars and break into systems across the planet? Or, if you're a good guy, why haven't you written a series of kernel patches to compensate for this and replace the "random" device with something more useful? Sounds like you're just some loser who likes to spout crap on 420chan instead of getting rich, fixing national security or doing anything else remotely useful with your knowledge.
>>
Graham Clangerford - Fri, 11 Oct 2013 22:17:18 EST ID:pdLHc4CT No.29958 Ignore Report Quick Reply
>>29957
Even a proof-of-concept attack showing how the limited entropy can be practically exploited would be enough of a start.

All OP did was rattle off a list of organizations he thinks are nefarious without providing a single bit of evidence that a low-entropy /dev/random is an attack vector being utilized by these organizations. Back up the assertions with a practical example of exploitation. Either show that this is being used, or show how it could be used and then contribute to a fix, or use it for your own gain. Anything else is just useless posturing.

All of those organizations have access to much weaker attack vectors than a low-entropy random number generator, especially since the starting conditions are not at stasis. Unless you can show that there is a common seed, a low entropy random number generator isn't a reliable attack vector and there are other paths to an exploit that are of lesser resistance.

I can think of dozens of things you should be more concerned about, like the trustworthiness of SSL certifiers, the proliferation of known-weak crypto (like any 128-bit cipher) and the growing push toward walled-garden mindsets that leave the entire stack open to catastrophic exploitation. All of these have actual demonstrated exploits based around them and still it is difficult to get traction for fixing them or creating infrastructure that makes them impossible.

Let's focus on fixing real problems instead of just jumping ship from Linux because a potential, theoretical vulnerability that has yet to be exploited has us scared. It is more important to fix Linux than to jump ship. Even if you abandon the platform, your data will still be on a Linux system somewhere, assuming you use or have ever used the internet. You should have a vested interest in fixing the problem because your own privacy is at stake. The path to fixing the problem starts with an actual demonstration of an exploit. If you want to help, get to work either busting it wide open or welding it shut before someone has a chance.

tl;dr: put up or shut up
>>
Alice Barringhall - Sat, 12 Oct 2013 05:25:41 EST ID:VdAl16+D No.29962 Ignore Report Quick Reply
>>29958


read the snowden docs and bruce schneiers blog. diddling PRNGs is exactly what nation states are up to. read T'so (maintainer of /dev/urandom) google+ page about red hat and Intel trying to force in RdRand as an exclusive source which he thinks is shady and backdoored. FreeBSD uses yarrow, a proven robust CSPRNG extractor. Linux has asscobbled some failed shit together and still havent implemented this paper's recommendations. If you are a user interacting with the desktop while generating SSL/RSA, PGP or symmetric crypto like RC4 TLS then you should be OK... for now. If it is a server with no interaction the entropy is not sufficient for any crypto protocols. The paper shows you how to attack /dev/random and have zero entropy go unnoticed which could be deployed by maintaining a git source, call it "super seekrit crypto linux" and convince people to DL or build it. Backdoored, they wouldnt spot anything wrong hell Linus himself wouldn't spot it. If you had resources could capture and save TLS/SSL and then use cryptanalysis on it since entropy is so low . Random numbers are essential to strong and confidential crypto.
>>
Sophie Drablingforth - Tue, 15 Oct 2013 00:17:04 EST ID:fUEPiZPx No.29989 Ignore Report Quick Reply
Schneier now has this up on his blog with a response from T'so he's most likely going to change /dev/random as a result.

What I can't believe, is that during the time T'so was gone for a year working @ Google whoever maintained /dev/random and /dev/urandom altered it to 100% rely only on Intel TRNG (if you had an Intel chip). T'so spotted this back in June, was worried the NSA might tamper with Intel hardware and introduced this (now flawed) mixing service to prevent /dev/random relying completely on a blackbox.

Few weeks later some Redhat developer then tries to patch it to go back to relying solely on Intel, which T'so catches again and undoes the damage.

Then Snowden leaks come out and he tells everybody for about a year, and if you had an Intel chip, all /dev/random was almost certainly backdoored by NSA once he read the leaked docs about sabotaging RNG in hardware devices. dafuq
>>
Sidney Duckcocke - Tue, 15 Oct 2013 09:08:09 EST ID:xiMGPNf+ No.29992 Ignore Report Quick Reply
Or how about you enter your own seed?


Programmer Questions by Cedric Sinderpick - Wed, 09 Oct 2013 20:59:27 EST ID:DbgDrDZL No.29923 Ignore Report Reply Quick Reply
1381366767315.jpg -(38835 B, 503x271) Thumbnail displayed, click image for full size. 38835
Hello /prog/, I am currently thinking about going into computer programming, and I have a few questions for the all of the programmers out there.

Here they are:

  1. On a typical day in this position, what do you do?

2.What training or education is required for this type of work?

3. What personal qualities or education is required for this type of work?

4.What part of this job do you find the most satisfying? The most challenging?

5.How did you get your job?

6.What are the salary ranges for various levels in this field?
Comment too long. Click here to view the full text.
3 posts omitted. Click Reply to view.
>>
oc stand up comedy - it's not gonna be good - Thu, 10 Oct 2013 19:42:49 EST ID:fCCRrVka No.29947 Ignore Report Quick Reply
1381448569103.jpg -(85101 B, 1440x900) Thumbnail displayed, click image for full size. 85101
So I thought it would be fun to share our original comedic material here. I think as long as the jokes are related to the spirit of what this board is dedicated to, it should be okay, right?

Anyway, I heard Fedora originally forked from Red Hat because the logo for Red Hat is actually looks more like a trilby. Nice job, Red Hat. So the gay devs wanted the OS to be called Fedora, and got all pissed when someone without any fashion sense used the wrong hat in the fucking logo.
>>
oc stand up comedy - it's not gonna be good - Thu, 10 Oct 2013 19:43:46 EST ID:fCCRrVka No.29948 Ignore Report Quick Reply
>>29947
the consequences of getting high. right here, folks.
>>
oc stand up comedy - it's not gonna be good - Thu, 10 Oct 2013 19:48:21 EST ID:fCCRrVka No.29949 Ignore Report Quick Reply
>>29948
if someone else thinks this is thread is a good idea/potentially funny, please repost this in a new thread. I shall not further damage my honor by reposting a potentially unwelcome thread. nb
>>
John Honeyhood - Fri, 11 Oct 2013 03:46:09 EST ID:U1CWd5Ib No.29953 Ignore Report Quick Reply
>1. On a typical day in this position, what do you do?
Various duties that seem to change every day, but mostly coding and documentation.
>2.What training or education is required for this type of work?
Equivalent of a bachelor's in CS with a specialization in (bio)informatics.
>3. What personal qualities or education is required for this type of work?
A love of huge matrices.
>4.What part of this job do you find the most satisfying? The most challenging?
Problem solving disease-related issues with math.
>5.How did you get your job?
Coincidental luck and dedicating my college career to it.
>6.What are the salary ranges for various levels in this field?
I'm not 100% sure, but probably decent based on what I've seen It seems to cap out pretty quickly, though.
>7.How do you see jobs in this field changing in the future?
I'm not sure.
>8.Is there a demand for people in this occupation?
Comment too long. Click here to view the full text.
>>
Phoebe Mopperladging - Mon, 14 Oct 2013 15:49:19 EST ID:uVUOgegl No.29985 Ignore Report Quick Reply
1381780159195.jpg -(946606 B, 1024x640) Thumbnail displayed, click image for full size. 946606
>>1.On a typical day in this position, what do you do?
I work as a professional software developer and most of my job consists of reading and writing code. I consider myself somewhat of an artist that attempts to construct beautiful software by writing beautiful code. Most of the time I am developing new code, re-factoring existing code, fixing bugs, writing functional designs, 15 minutes a day in a stand up with the team.

>>2.What training or education is required for this type of work?
Having a bachelor's or master's degree computer science really helps. Related fields such as Artificial Intelligence will do as well.

>>3. What personal qualities or education is required for this type of work?
You have to be an abstract thinker that likes to solve problems. Some problems revolve around architecture, others around technical issues and even more others in the domain of your business logic. Sometimes it is like untying a knot and you need a lot of patience to get it untied all the way.

Being social also really helps. I've seen my share of socially awkward programmers. Having skills in communication and dealing with people will have a major positive impact on your career as you'll stand out above the rest.

>>4.What part of this job do you find the most satisfying? The most challenging?
I find the most satisfying part where the user gets to work with software that meets their demands. I love writing simple elegant clean code.

The most challenging is part that everywhere I turn up the code is utter shit. Not once in my 10 year career have I opened the source of a project and found good or even decent looking code. Most programmers write awful code because when they teach us, they teach us how to write code but not how to write GOOD code. Writing code is easy but writing GOOD code is hard and requires years of practice and preferably mentoring. A lot of programmers also believe that once they have their degree all the code they write is amazing. The truth is the exact opposite.
Comment too long. Click here to view the full text.


Babys first steps by Cdz - Sun, 13 Oct 2013 13:12:34 EST ID:vi/34wFT No.29970 Ignore Report Reply Quick Reply
1381684354369.jpg -(1926 B, 125x85) Thumbnail displayed, click image for full size. 1926
Ok Im dedicating 6 hours a day to learn programming.
I want to be very flexible so im going to learn alot so that way I can make programs manage databases and websites.


What should I learn.

I already started with python 3.3.2

should I do java next? What is Java good for?

whats the difference between CSS ,HTML and PHP and what do they all do?
Which one is best for making a website?

what should I learn to manage databases?
Comment too long. Click here to view the full text.
1 posts omitted. Click Reply to view.
>>
Lillian Bardspear - Sun, 13 Oct 2013 16:39:19 EST ID:GwPELrrz No.29972 Ignore Report Quick Reply
1381696759681.jpg -(1049216 B, 1836x2448) Thumbnail displayed, click image for full size. 1049216
im not sure what exactly your endgoal is here. maybe it will become more clear later. for now....

start with a basic website. youll need HTML for that.
then you can make it pretty with CSS.
then you can add more functionality with JavaScript.
after that make a database of (for example) users, and use PHP (or Python if you want) and probably SQL to interact with it.
how is that for a quick breakdown of what these languages do?

dont worry about learning C or Java or Ruby or FORTRAN or whatever else until you have to.
if you have already started with Python thats fine. you can stick with that and it will be able to do almost anything C / Java / Ruby / etc can do.
>>
Emma Sipperway - Sun, 13 Oct 2013 18:48:25 EST ID:CtJ/UQkQ No.29974 Ignore Report Quick Reply
>whats the difference between CSS ,HTML and PHP and what do they all do?

HTML is a markup language. Its tags "describe" content - headings, paragraphs, lists, links, images, and new to HTML5 things like headers, footers and sections. Similar to how a book has a title, table of contents, chapter titles, index, etc. Browsers interpret the markup to understand how to render the content. Search engines interpret the markup to establish a hierarchy of your content.

CSS is a descriptive language which is used to write style rules that browsers apply to your HTML markup - typefaces, colours, backgrounds, sizes and positions of elements, etc.

Note that neither of these are programming languages per se. There is no "logic" performed by either (with a few exceptions). They can both describe the number 4, but cannot computationally add 2 and 2 to give you 4.

PHP, conversely, is a programming language, and one that you will undoubtedly find yourself cautioned against and lectured about its many deficiencies as a language, and why ____ language is better. It's also the most widespread programming language by far, and pretty much essential if your'e looking to make a career out of database-driven web development.

>Which one is best for making a website?

HTML and CSS are 100% required knowledge. One goes hand-in-hand with the other, and the best way to learn both is at the same time. You can do a lot with just the two of these. Avoid W3Schools. The Mozilla Developer Network is a good technical reference for both, and in terms of hands-on tutorials I personally enjoy the material on Tizag and HTML Dog.

PHP is a good (and logical) next step toward moving from building "static" to "dynamic" sites, e.g. WordPress is written in PHP (albeit badly, IMO) which dynamically generates pages from template files and content stored in a database. Note that I'm just using WordPress as an example of what can be done with PHP - it won't teach you database stuff since that's all been programmed for you. But once you get your head around most of PHP's core concepts, look at frameworks like Cake and CodeIgniter, which remove a lot of the headache and repetition of developing DB-driven web applications. I have no opinion on Python or Rails vs. PHP, I only recommend it since that's what I got started with after HTML/CSS and it's a very employable skill to have.
Comment too long. Click here to view the full text.
>>
Lillian Fendlelock - Sun, 13 Oct 2013 20:23:44 EST ID:Wb3Rqdc9 No.29975 Ignore Report Quick Reply
>Also note that this is all to do with web development. C#, C++, Java, etc. are machine languages(?)

Actually the Assembly-languages are machine languages (a language that is understood by your CPU), those aren't. Those are simply programming languages.
>>
Nicholas Blankinman - Sun, 13 Oct 2013 21:32:51 EST ID:CtJ/UQkQ No.29976 Ignore Report Quick Reply
1381714371079.jpg -(57016 B, 768x576) Thumbnail displayed, click image for full size. 57016
>>29975
Thanks for the clarification. I guess I meant languages that make programs for your "machine" (computer) lol

nb
>>
John Blathershaw - Mon, 14 Oct 2013 11:36:28 EST ID:ef/kn6n5 No.29981 Ignore Report Quick Reply
1381764988637.jpg -(81688 B, 600x514) Thumbnail displayed, click image for full size. 81688
>>29971

That site is actually pretty neat, thanks for sharing.


Web Scraping Jobs by John Blathershaw - Mon, 14 Oct 2013 10:53:40 EST ID:ef/kn6n5 No.29980 Ignore Report Reply Quick Reply
1381762420637.jpg -(144782 B, 501x677) Thumbnail displayed, click image for full size. 144782
Hey /prog/,

I've been messing with web scraping/crawlers/bots/whatever for a while. Where do I actually look for work/tasks? Most of the jobs at freelancer.com are just ridiculously stupid and/or impossible, i.e. scraping 50 mil. entries in one day for 20-30 bucks.

What should I do to make some profit from these skills?


Advertise With Us
<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.