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


Shifting Focus to CS by Eliza Claydale - Thu, 09 Oct 2014 19:44:32 EST ID:Ri27kjQr No.32652 Ignore Report Reply Quick Reply
1412898272654.gif -(699030 B, 500x500) Thumbnail displayed, click image for full size. 699030
Have any of you gotten or are getting a masters or PhD in CS? Im looking for Grad Schools in either Applied Mathematics or CS. --BUT-- I have only taken one actual CS class (skipped the first) as required by my major. But in the year after graduating with a BS in Math and Physics I have self taught. ALOT. Reading SICP and taking Coursera CS courses, general exposure etc.

How can I go into an MS in CS with only one actual class? Am I confined to Applied Math?
>>
Martin Pecklelock - Thu, 09 Oct 2014 21:02:47 EST ID:PQzGpXuE No.32654 Ignore Report Quick Reply
you will probably be able to get in somewhere with a math degree

i mean you can get into fucking law school with a math degree, cs is way closer...
>>
James Crobblestat - Thu, 09 Oct 2014 22:46:04 EST ID:+/cK3Alh No.32658 Ignore Report Quick Reply
>>32652

Everything in programming is based off math bro. Youll probably get in just be prepared to get a lot of coding time in. Why you wouldnt just go for your masters in math is beyond me, anything beyond a bs in cs is useless.
>>
Archie Forringspear - Thu, 09 Oct 2014 23:06:42 EST ID:xtelIQ1k No.32659 Ignore Report Quick Reply
>How can I go into an MS in CS with only one actual class?
You talk to someone in charge of the CS program(s) you're interested in. No barriers to entry are set in stone.

>>32658
I'm given to understand that a masters degree in math is more of a waste than a CS MS, that the only reason to get one is to either teach or to go for the PhD.
>>
Polly Dragglekudging - Fri, 10 Oct 2014 02:07:42 EST ID:3GRjjRmK No.32660 Ignore Report Quick Reply
go talk to some departments. our cs department has quite a few students who have a B.S in other fields and decide to go for a masters in CS. They essentially still do the majority of the undergrad sequence but they do it in a stacked up expedited way so it only takes a couple semesters. yea it sucks that you have to do a bunch of undergrad course work but unfortunately there are to many concepts in CS that they want to be absolutely sure you have down before you get into more advanced topics in the graduate program.

you aren't confined to Maths, it might just take a little extra work to get where you want to be. good luck in your pursuit


Final project undergraduate/Pintos by Frederick Worthingville - Wed, 24 Sep 2014 15:05:40 EST ID:XXnZ3tPt No.32516 Ignore Report Reply Quick Reply
1411585540122.png -(445313 B, 380x500) Thumbnail displayed, click image for full size. 445313
Hello /prog/, first time posting here, and my apologies for the wall of text, but I come concerning my circumstances in my final programming course for my undergraduate career - The project /Operating system involved, Pintos is centered a team based process, and to make things short, I basically got the short end of the stick with team-pairings. Every one of my group members is, in their own words, in the Computer Science major only for the money and that they do not like coding. I have essentially done all of the work that matters for a grade in the class up to this point on my own, carrying the dead weight that is my group.

I have already spoken to the instructor about this, and in his own words I am much more capable of performing the work than the rest of my group, but I was told that I need to push my group towards picking up their end of the weight to help complete the projects and succeed. Problem is, these people seem almost helpless - they would rather talk about every off-topic thing you could think of instead of contributing or helping me complete the work - they always want to meet up in a campus lab to make it seem like they are contributing, and the times they are on topic, they are being detrimental by continuously asking me elementary questions meant for 100 level CS courses and wasting time - I get much more work done alone without them. I had to install all of the necessary software for them, because each one of them hit a very minor brick wall in the process on their own and gave up - after that, two of them somehow managed to lose all the files and required me to do it again for them (when the instructions are online). I have been somewhat blunt with them as best as I can be without being rude that things need to improve and that doesn't help at all...

This blows for me; I can not afford to delay graduating any longer, so I need to pass this class this semester (a notoriously hard/shitty class if the random group you get is shit, I have heard about the potential for that to occur and with my luck, it is what happened). I am not even a star-student, but I understand programming well enough and can do it properly to pass classes; regardless, the actual task/process of implementi…
Comment too long. Click here to view the full text.
3 posts omitted. Click Reply to view.
>>
Barnaby Millerput - Thu, 25 Sep 2014 05:55:06 EST ID:vhgZIlcV No.32528 Ignore Report Quick Reply
If it's absolutely too much work for one person, try talking to the prof once more. If that doesn't work, get in touch with the dean and/or the student council. Ask for dropping some features until the program size becomes manageable. Your grade (not to mention graduation) should not be dependent on the skills of your classmates.
>>
Archie Blackfuck - Thu, 25 Sep 2014 22:02:40 EST ID:iRBINR0d No.32535 Ignore Report Quick Reply
1411696960344.jpg -(35406 B, 378x500) Thumbnail displayed, click image for full size. 35406
>>32522
Unfortunately, we have to remain in teams no matter what for this shit..so (as far as I know), I'm stuck with these jagaloons


>>32527
>>32528
I'll definitely talk to my professor if things get out of control; at this point i'm just focusing on doing my end of the "team work" so I can say I did what I was responsible for in a team setting , but I really am hoping things turn out better than they look, but right now they seem bleak as hell. I only need a D in the course anyways, as this is a final tier class and it is not a pre-req for anything, but I really do not want to be barely sliding by and being stressed the fuck out the entire semester like I already am; I just see people in actual quality team groups a few times a week actually working hard together and it gets me worked up, but I guess I can't really do anything at this point and moping about it won't be positive

Maybe I can try to get an aderall prescription if things get REALLY shitty...
>>
Jarvis Crommerson - Sun, 05 Oct 2014 17:31:53 EST ID:CXwqzkg4 No.32598 Ignore Report Quick Reply
>>32516
I am in a final project too, mine is not quite as bad but I understand your struggle. Meet my teammates:

aspergers dude: Has a weird laugh that gets on everyone's nerves, bitch tits, and programming skills that he is way overconfident about. Cannot handle a social presentation to save his life.

Game dev dude: Mad programming skills, but will not abide by any schedule but his own. Incredibly derogatory, and is constantly competing with aspergers dude over who is currently talking during meetings.

sysadmin dude: crazy talent, super nice, and probably the only reason I havent gone crazy.

quiet dude: I think he has chops but I have never seen him interact with anyone. Commutes to our college out-of-state with a three hour commute

the sex dude: The "pr guy". One of those programmers that wants to make a shitty startup that goes nowhere. Has no skills, and even is the weakest link for presentations when he is supposed to be the strongest. May actually cause us to fail as he is known for improvising presentations to catastrophic proportions.

Fuck this class. I will probably luck out just because of there being actual chops on the team but they cannot go through a fucking meeting without arguing over shit that doesn't matter. If I was in your position I would compartmentalize every task and document the shit out of it. If you have full documentation and everyone is clearly assigned shit, it will be obvious who is doing shit and who isn't. In our college, this project is divided over two semesters, so if your situation were to happen, the teammates would be dropped and you would be shoved into another group. Shitty, but even then that would be best case scenario. You're fucked.
>>
Cedric Marringham - Wed, 08 Oct 2014 13:51:54 EST ID:AM4N8Z8W No.32619 Ignore Report Quick Reply
>>32516

Sadly OP, this is just the reality of working with groups, especially in school. I'm currently in the Software Science class (100% group projects) and so far I've done the same, stuffed my groups in a backpack and carried them. Get used to it, that's the trifles of loving cs and not just being on a conquest for a paycheck.

I'm also on the professor evaluation committee where students review end of year evaluations and write a synopsis. The evals for our capstone course (big project all year with groups), what it sounds like you're in, were in my pile. All but 2 people had similar complains about shitty group dynamics all the way through.

I don't think your professor would fail you because your group dicked off, there has to be some sort of individual accountability. find a way to convey this to your professor (like github contributor graphs).

I'd like to tell you it gets better when you move to the professional world, but the reality is it probably won't. More than likely the ass hats that are just after a paycheck will be hired somewhere and some poor bastard will have the displeasure of having to manage them or be the lead on their team. And likely you will wind up in that role if you're a carry pants cs master mind.
>>
Walter Brinderwell - Wed, 08 Oct 2014 23:26:17 EST ID:+/cK3Alh No.32628 Ignore Report Quick Reply
>>32516
Had a similar situation. Its my first year of prog uni (had been a shit lib arts major before) and I get my first project which is essentially to plug in a min max engine into a game engine. Now it seems easy, back then it was daunting beyond words. My partner basically just didnt do things, even when Id get the two of us in a room or agree to do shit he just didnt do anything. I made my teacher aware of it and he basically gave be a B at the end of the day for broken shit code. Your teacher just probably doesnt want to tell you "Oh yeah fuck it give up" and making a new team now wont work, so just try your fucking best and if you really feel your on the edge explain your situation like you did to us, possibly more succinctly .

That kid failed out and I graduated fuck him I hope he fucking dies.


Help me with R! Please! by Cornelius Niggerford - Sun, 05 Oct 2014 15:32:06 EST ID:3ELqXY8V No.32589 Ignore Report Reply Quick Reply
1412537526879.png -(48739 B, 380x440) Thumbnail displayed, click image for full size. 48739
I need help with this program in R. My deadline is in two hours. Please help!

MY DEADLINE IS IN TWO HOURS!

Create a function with three arguments: fun1, fun2 and interval (a 2d numeric vector). The function should plot the values of functions fun1 and fun2 along the defined interval (on the same plot). Plot each function with different color. The function should return average difference (in %) between the two functions (take fun1 as reference), taken at hundreddifferent, equally spaced points. If any (or both) fun1 or fun2 take zero value at one of the
hundred points, don’t take that point into account when calculating the difference. Include the legend in the plot. You can presume that both fun1 and fun2 are well defined on the interval (they don’t take infinite or undefined values). For example, if fun1 is f(x)=x and fun2 is f(x)=sin(x) resulting plot should look similarly to the Plot 1 and the returned result should
be 6.07179.

Pls, pls, pls,pls....
3 posts and 1 images omitted. Click Reply to view.
>>
Jarvis Crommerson - Sun, 05 Oct 2014 16:38:27 EST ID:CXwqzkg4 No.32594 Ignore Report Quick Reply
I don't know R but here is some pseudocode. I know it looks like javascript fuck u

Function ( fun1, fun2, inter) {
var result = [];
for (var i = 0; i < inter.length; i++) {
if (inter !== 0) {
plot(fun1(inter), red);
plot(fun2(inter), blue); //find a plot function I am not a magician
result.push(fun1(inter) - fun2(inter));
} else {
plot(fun1(inter), red);
plot(fun2(inter), blue); //find a plot function I am not a magician
}
return format(result); //format it yourself you lazy fuck
}
>>
Cornelius Niggerford - Sun, 05 Oct 2014 16:50:08 EST ID:3ELqXY8V No.32595 Ignore Report Quick Reply
>>32594

I am not a lazy fuck. I tried everyhing, but I couldnt figure it out. I started panicking one hour ago.
>>
William Cingertuck - Sun, 05 Oct 2014 17:13:26 EST ID:0fDyrctt No.32596 Ignore Report Quick Reply
>>32593
>I need help with this program in R.

What have you tried?

>Yes, I could. But my faculty sucks.

No, YOU suck. If you don't know enough to do the assignment, then it's your own damned fault for not taking the time to figure shit out for yourself ahead of time.

>I tried everyhing,

If you really tried EVERYTHING, you would have solved the problem.
>>
Cornelius Niggerford - Sun, 05 Oct 2014 17:22:07 EST ID:3ELqXY8V No.32597 Ignore Report Quick Reply
>>32596

Well, you are right...

I am stupid. I am sorry to have bothered you, Anon. I guess you are my best friend now. Goodbye.
>>
Doris Cabberstig - Wed, 08 Oct 2014 23:13:32 EST ID:0fDyrctt No.32627 Ignore Report Quick Reply
>>32597

I feel that you would benefit from reading this article.

http://mattgemmell.com/what-have-you-tried/


#BASED #RARE #SECRET #BANNED 420CHAN BANNED EXTENSION by Celt !BzcOsK03.w - Wed, 08 Oct 2014 21:52:13 EST ID:JDx/uy9z No.32625 Report Reply Quick Reply
1412819533313.jpg -(55559 B, 630x178) Thumbnail displayed, click image for full size. 55559
>http://www.mediafire.com/download/9tr1raw1pr128u1/420chanextension@kirtaner.xpi

So years and years and years ago they're used to be a 420chan for firefox that enabled certain features on the site. The extension/addon was canned long ago because all the features of the addon were intregrated with the site...all exception one. I've been using the extension for years despite it being almost blacklisted because (as seen in my attached image) it allows you to see who has been replying to who. This feature is a pretty high demand one, so having just rebooted my firefox, I've decided to release the extension back into the public demand, firstly, so that Joe Blow can see replies properly, but secondly, and more importantly, to give someone the chance to pull apart the xpi file, find the part that allows us to see replies and either make it a seperate, new extension, or better yet, find a way using the 420chan api to integrate it with the site proper.

I've literally been using the add on for years and from what I can tell it's never had a conflict issue with anything else on the site nor has updates to firefox caused it to stop working.

Have at it folks, and for the love of technology, someone find us a way to integrate this with the hard core of the site.
>TO INSTALL THE ADD ON
>DOWNLOAD
>OPEN UP YOUR FIREFOX ADD ONS VIA THE OPTIONS MENU
>DRAG THE XPI FILE FROM WHATEVER FOLDER YOU DOWNLOADED IT TO AND DROP IT IN THE ADDONS MENU; FIREFOX WILL THEN ASK YOU ARE YOU SURE YOU WANT TO INSTALL: CLICK YES
>FIREFOX WILL NEED TO RESTART AFTER THIS, ONCE IT HAS, YOU'LL BE ABLE TO SEE REPLIES ON 420CHAN


Test your C++ skills - find bugs in popular open-source projects by 0xFF - Wed, 08 Oct 2014 06:45:57 EST ID:1Cry0o0J No.32618 Ignore Report Reply Quick Reply
1412765157857.png -(9059 B, 580x275) Thumbnail displayed, click image for full size. 9059
C++ Quiz: https://medium.com/@Code_Analysis/c-quiz-d903b0932913


Git by Samuel Trothood - Sat, 05 Apr 2014 07:49:17 EST ID:XcPDne89 No.31439 Ignore Report Reply Quick Reply
1396698557036.jpg -(73028 B, 387x580) Thumbnail displayed, click image for full size. 73028
I have a Git repository, and I have made a good commit. Since then, I have made some changes that I want to discard. I want to go back to the way my directory was at the time that I made the commit.

How do I do that?
4 posts omitted. Click Reply to view.
>>
Lydia Niggerstock - Mon, 06 Oct 2014 22:34:33 EST ID:0fDyrctt No.32606 Ignore Report Quick Reply
>>32605

Because one can do some things in git more easily than in other VCSs, particularly branching.

Show me an easy way to take some unpushed, but already committed changes in master and move them onto another branch without the remote server ever seeing them on master and without losing your change history using Perforce or Subversion.
>>
William Shittingson - Tue, 07 Oct 2014 01:24:04 EST ID:KmxmS4eT No.32607 Ignore Report Quick Reply
>>32605
It's very, very good for collaboration at any scale. If you're working alone it might be overkill functionally (it might not), but you can choose to use it all the time for didactic reasons.
>>
Jack Waffingshaw - Tue, 07 Oct 2014 01:50:32 EST ID:vhgZIlcV No.32608 Ignore Report Quick Reply
1412661032173.png -(14103 B, 300x330) Thumbnail displayed, click image for full size. 14103
>>32604
>>32605
>>32606
>>32607

You do realize you started arguing in almost half a year old, completely finished thread?
>>
Hannah Huvingville - Tue, 07 Oct 2014 12:14:25 EST ID:SFwGSzW3 No.32611 Ignore Report Quick Reply
1412698465635.jpg -(11518 B, 256x188) Thumbnail displayed, click image for full size. 11518
>oh look another git circlejerk
>>
Nicholas Wavinglark - Tue, 07 Oct 2014 12:39:11 EST ID:4GlJRzzz No.32612 Ignore Report Quick Reply
>>32608
Something bumped the thread, perhaps spam that got deleted again. I found it on the front page, didn't check dates. nb


how to program please by Fucking Nebberladge - Mon, 23 Jun 2014 13:55:45 EST ID:dlzLBgQd No.31952 Ignore Report Reply Quick Reply
1403546145849.gif -(92659 B, 600x441) Thumbnail displayed, click image for full size. 92659
I want to create a program that tracks results of multiplayer statistics found in video games (kills, deaths, assists, etc). I want this program to be able to track results for any game through an API so that I or others can add additional games. I want the program to be able to collect/scrap information from both the local game data files and servers the game is played on. The API should be able to handle this integration of any game data whether it comes from offline or online sources. The program also connects to a community server to share results for online rankings.

I am at a loss for where to begin this project and the elements that it would need. I know I need a local database. I have no idea how to craft an API that is responsive to any game type online or offline. I need to have this project broken down for me into steps. I'd like to use python as the programming language and am unsure of what modules are already available to assist in this task.
2 posts omitted. Click Reply to view.
>>
Lillian Bimblehood - Tue, 24 Jun 2014 10:17:25 EST ID:dUqCye/w No.31958 Ignore Report Quick Reply
Check out the HLStats project. It does this for any Source-based FPS game. You should be able to build off that and get an idea of how to proceed, or perhaps just write plugins for it that work with the games you want to target.
>>
Edward Heffingforth - Sat, 05 Jul 2014 10:06:38 EST ID:IRTmdqiw No.32013 Ignore Report Quick Reply
>>31952
You have several different options.

1) Hooking the .DLL of the game and recording the stats through your client. Injecting code WILL get your program reported as a hack in most cases.
2) Use remote connection to query the server stats. You would need access for this. Source engine games have RCON; 7 Days To Die uses telnet.
>>
William Clacklewine - Tue, 08 Jul 2014 19:14:05 EST ID:5M822B0h No.32038 Ignore Report Quick Reply
Do you have a server to store the data. SQL is one option. Not one I would choose though. to get the data first find out if the protocol is Text Based encrypted ect. and maybe work from the TCP layer. If you have that amount of skill in packets/encryption and reverse engineering protocols.
>>
Fanny Duckman - Fri, 11 Jul 2014 15:31:14 EST ID:2PLGUfus No.32048 Ignore Report Quick Reply
>>31954
I'd suggest figuring out some API of your own and making plugins that hook into the game and feed (your) program's API with precious data. That way, you only need to figure out how to get info from the game and code a plugin.
>>
Nicholas Hankinfoot - Fri, 11 Jul 2014 19:20:19 EST ID:C8XDsSlv No.32049 Ignore Report Quick Reply
cplusplus.com


Need help with RestSharp by William Clesslemutch - Sat, 04 Oct 2014 19:35:34 EST ID:rEYSxC7q No.32585 Ignore Report Reply Quick Reply
1412465734271.png -(7233 B, 128x128) Thumbnail displayed, click image for full size. 7233
I want to talk to XBMC via Json in my c-sharp app, so i stumbled on RestSharp.
Json requests in the browser work but for the life of me i can't figure out how to put this: 'http://xbmc/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.PlayPause", "params": { "playerid": 1 }, "id": 1}' into a RestRequest.

Will pay 10$ in btc to the lucky winrar!
>>
Phineas Givingferk - Sat, 04 Oct 2014 23:55:05 EST ID:y9fXLquJ No.32586 Ignore Report Quick Reply
http://bit.ly/1yF3Dzg


Howto improve coding skills and learn new language along the way. by Lillian Bidgepig - Thu, 11 Sep 2014 10:34:12 EST ID:3+Lc5t2a No.32396 Ignore Report Reply Quick Reply
1410446052556.jpg -(36623 B, 960x368) Thumbnail displayed, click image for full size. 36623
My present job requires me some amount of programming but only as optional, basically manipulation some data chunks in files. Plus being in STEM, I do run codes which are basically number crunchers. So here is my skill level:

I am fairly proficient with fortran for numerical procedures,
I use python to call my fortran modules, since i find fortran to be a pain when it comes to file handlings.
Additionally, i am used to BASH for scripts to control the manage the data
Plus perl one-liners for other file handling and creations.
Apart from what is required from my work, the only other codings i did with python and perl are writing simple codes like scrappers for personal use.

So to keep myself from not slacking and also keep some experience, what would be a ideal way to improve my programming skills? Also since the last time i learned a new language was around 5 years ago, i am thinking of taking up a new one to learn. probably PHP or some other language with emphasis on functional programming.
35 posts and 3 images omitted. Click Reply to view.
>>
Shit Greenfuck - Wed, 01 Oct 2014 19:09:24 EST ID:xUAnupXV No.32574 Ignore Report Quick Reply
>>32571
>implying I am American
>>
AnOilMan - Thu, 02 Oct 2014 01:28:32 EST ID:nt2FuiAL No.32580 Ignore Report Quick Reply
>>32564
samsies
>>
Angus Pingerwudge - Thu, 02 Oct 2014 02:21:38 EST ID:H4IlI4r+ No.32581 Ignore Report Quick Reply
>>32571
If i had the colossal power and money, I would kill every EVERY Person in Africa that isn't brain-washable anymore, then I brainwash the rest to be academic sanitary people.
Africa, the continent of academic and hedonistic success.
>>
Jarvis Sattingspear - Thu, 02 Oct 2014 05:30:49 EST ID:vhgZIlcV No.32582 Ignore Report Quick Reply
>>32581
Why Africa?
1) Why not the world
2) Africa is rather inert, we could do away with far worse non-rebrainshable cultures then those found there.
>>
Phineas Brunderfan - Thu, 02 Oct 2014 11:06:58 EST ID:0fDyrctt No.32584 Ignore Report Quick Reply
>>32557
>Calc is a prereq for doing discrete math

Not where I went to school. I took single-variable differential calculus and my first discrete mathematics course (which was actually labelled as a computer science course) in the same semester.

>induction and proofs

Eh? Induction never came up in my calculus courses. Proofs were given, but the concept of how a proof works did not. I learned more about those things in my discrete mathematics and algorithms courses than I ever did in a calculus course.


A wild brick wall appears! by Nell Brunkinfuck - Wed, 01 Oct 2014 12:29:55 EST ID:bLJdHpTM No.32572 Ignore Report Reply Quick Reply
1412180995807.jpg -(82084 B, 681x324) Thumbnail displayed, click image for full size. 82084
Hey /prog/, I'm looking to summon a friendly White Phantoms
I've been going at this java problem since I got up 10 hours ago, and nothing I've tried has worked.

You have a container hypothetical container that can hold a limited amount of volume and weight (the user decides the limits).
There are three things that can be put into the container:
Thing A: Weight 5, Volume 1
Thing B: Weight 1, Volume 3
Thing Weight 2, Volume 2

You MUST implement the container as an object. Into the container we put things as objects. In the container there must be a table with the size of the containers max volume; and this table is to contain references to the things we put inside the container.

The program keeps asking the user until one of three things happen:
  1. The user is done putting things into the container
  2. The containers volume limit is reached or exceeded
  3. The containers weight limit is reached or exceeded (in which case the container break and its contents pours out).
Comment too long. Click here to view the full text.
>>
Matilda Backlespear - Wed, 01 Oct 2014 18:45:36 EST ID:Or8slLuR No.32573 Ignore Report Quick Reply
what exactly are you having a problem with?
>>
Augustus Dollerladge - Wed, 01 Oct 2014 21:34:27 EST ID:QCDx9nA8 No.32575 Ignore Report Quick Reply
>>32573
With my intelligence, apparently . But don't worry, I was able to solve it at last (it only 14 hours and 7 cups of coffee to achieve, and it's not suppose to be in for another 10.5 hours).
>>
Hugh Claddlepedging - Wed, 01 Oct 2014 23:37:02 EST ID:nbEam1Lb No.32579 Ignore Report Quick Reply
>>32575
Good for you OP :)

Solving things yourself is usually the best way to learn coding. If you just have somebody else hand you the answer then it is more likely that you will not develop an understanding of what you're doing and why.
>>
Molly Brundlelock - Thu, 02 Oct 2014 05:36:53 EST ID:wt9P62m4 No.32583 Ignore Report Quick Reply
Now come back to your solution in a month and refactor it while facepalming and asking yourself how you could have written such an awful implementation.

That's what makes you a good software developer.


Web Crawler by An Oil Man - Wed, 01 Oct 2014 22:30:02 EST ID:nt2FuiAL No.32576 Ignore Report Reply Quick Reply
1412217002390.gif -(227402 B, 2728x2211) Thumbnail displayed, click image for full size. 227402
Want to program a web crawler. Basic code. Want to crawl urls for images. I dabbled with Python and Java and a little C. But, wondering..

What is the best programming language for Web Crawling - images?
>>
George Fanbury - Wed, 01 Oct 2014 22:53:40 EST ID:SFwGSzW3 No.32577 Ignore Report Quick Reply
Fuck programming. Just wget it.

Specifically:

wget -nd -r -l 3 -w <number between 30 and 300> --random-wait -T 120 -A jpg,jpeg,png,gif,php -I <subdirectory target 1>,<subdirectory target n> -nv -o <path to a log file, if you want one> <target URL>

Make sure to test against a dummy target and always read your manpages before executing
>>
An Oil Man - Wed, 01 Oct 2014 23:07:21 EST ID:nt2FuiAL No.32578 Ignore Report Quick Reply
>>32577
good looking out will look into it


Windows Hooking by Fanny Brookbury - Tue, 30 Sep 2014 22:51:25 EST ID:ik1Uoo0E No.32566 Ignore Report Reply Quick Reply
1412131885270.jpg -(78256 B, 500x500) Thumbnail displayed, click image for full size. 78256
I'm working on a program that hooks a certain hook chain in C through the Win32 API. Right now, I have a DLL with my hook procedure and a main program that loads the function from the DLL and inserts the hook with SetWindowsHookEx. In my main function, do I need to do anything with the message queue or can I just have SetWindowsHookEx?
>>
Ebenezer Bruvingchedge - Tue, 30 Sep 2014 23:24:30 EST ID:nbEam1Lb No.32567 Ignore Report Quick Reply
You *must* be actively pumping a Windows Message Queue or else your hook will fail to work. I found this out the hard way one time. Just do this in your hooking thread:
MSG msg = {0};
// Alternatively you can be smarter about breaking out of the GetMessage() loop for some reason
for(;;) GetMessage(&msg, NULL, 0, 0);
>>
Ebenezer Bruvingchedge - Tue, 30 Sep 2014 23:27:03 EST ID:nbEam1Lb No.32568 Ignore Report Quick Reply
>>32567
I'm not sure why this isn't better documented. However, the rules about hooking 64-bit processes and 32-bit processes are pretty well-documented on MSDN.
>>
Fanny Brookbury - Wed, 01 Oct 2014 08:17:07 EST ID:ik1Uoo0E No.32570 Ignore Report Quick Reply
>>32567
Thank you! I read something about PeekMessage being faster than GetMessage, do you know if that's true from your personal experience? I'm hoping to make my hook as fast as possible with as little performance issues as possible.


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