Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

09-28-2014 , 09:05 PM
I'm most interested in the breakdown of http://forumserver.twoplustwo.com/34...rderer-648983/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2014 , 11:27 PM
Quote:
Originally Posted by bex989
Yup it's from this thread since page 950 to onward, so 30+ pages.
you should change your default to 100 posts per page
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2014 , 11:32 PM
Quote:
Originally Posted by Alobar
you should change your default to 50 posts per page

.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2014 , 11:58 PM
So I did my 3 year plan for getting my computer science degree. If I were to quit my job today I would need to pull out 33k in student loans over the next 3 years. If I were to quit in January instead, it be 27k in loans (I don't make much).

Pros:
More focus on school.
I won't fail any classes.
I can go back to working on iOS projects, coursera, edx, udacity, the list is endless!
I am more happy. (I would think. I hate my job right now).

Cons:
Out of 6k.

Am I missing anything? Easy decision right? Everyday I dream about quitting. Would be great.

My other option is ask if my boss if I could work part-time, but then I doubt he would be open to do that. In addition it kind of leaves my hand face up that I am intending to leave. But then.. I guess it doesn't matter since I am planning on leaving anyways?

Sorry for the ramble
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 12:29 AM
Less likely to fail, happier, and given the opportunity to maybe graduate sooner and earn more money sooner seems to make this an easy choice imo
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 01:24 AM
As a guy doing full time work and school, I can say my personal opinion is I feel like I get less out of the classes than I did before I was working too. So you could probably add in some skalansky bucks towards quitting knowing with more focus, youll get more bang for you buck from school
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 02:09 AM
Quote:
Originally Posted by Barrin6
So I did my 3 year plan for getting my computer science degree. If I were to quit my job today I would need to pull out 33k in student loans over the next 3 years. If I were to quit in January instead, it be 27k in loans (I don't make much).
I know you aren't making much today, but the future income will exceed the 6k consideration, IMO. I'm not sure how much you make, but you make it sound as if you'll save up 6k in the next 3 months, which contradicts the statement that you don't make much, so I'm guessing that the 6k savings is unrealistic.

Quote:
My other option is ask if my boss if I could work part-time, but then I doubt he would be open to do that. In addition it kind of leaves my hand face up that I am intending to leave. But then.. I guess it doesn't matter since I am planning on leaving anyways?
One of my coworkers decided to go the school and started working part-time. This is a work culture issue and only something you would know the answer to. The idea that they let this guy do what he is doing is kind of surprising, especially since they knew full well that he was quitting soon.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 05:56 AM
Quote:
Originally Posted by Gullanian
If you used the tool on an entire forum, it might be interesting to see which threads relate closest to each other by comparing lexicons. This could be useful as a feature in a forum ("you might also be interested in...")
That's a really good idea, I had something similar in mind.
The way it is wouldn't really work since it would take too much excessive bandwidth, so it's better to implement it from server side.

Quote:
Originally Posted by Alobar
you should change your default to 100 posts per page
I've really spent good 20 minutes trying to set this option (I figure that this would require logging in, which I have yet to implement). How do I set it?

Or is there a GET parameter that I can pass onto request?

Quote:
Originally Posted by jjshabado
I'm most interested in the breakdown of http://forumserver.twoplustwo.com/34...rderer-648983/
Code:
34527 different words

TOP 111:
Key : evidence Value : 16647
Key : amanda Value : 10915
Key : case Value : 9908
Key : time Value : 8738
Key : dna Value : 8708
Key : police Value : 8705
Key : people Value : 7575
Key : henry Value : 7306
Key : knox Value : 6817
Key : court Value : 6338
Key : blood Value : 5889
Key : murder Value : 5827
Key : point Value : 5738
Key : meredith Value : 5007
Key : trial Value : 4998
Key : again Value : 4955
Key : rudy Value : 4950
Key : knife Value : 4912
Key : argument Value : 4884
Key : make Value : 4812
Key : never Value : 4717
Key : before Value : 4645
Key : read Value : 4632
Key : believe Value : 4616
Key : fact Value : 4446
Key : found Value : 4440
Key : room Value : 4249
Key : two Value : 4004
Key : happened Value : 3926
Key : going Value : 3891
Key : defense Value : 3888
Key : wrong Value : 3885
Key : since Value : 3810
Key : saying Value : 3779
Key : massei Value : 3737
Key : find Value : 3698
Key : raffaele Value : 3398
Key : merediths Value : 3385
Key : guilty Value : 3373
Key : call Value : 3255
Key : claim Value : 3215
Key : guede Value : 3210
Key : crime Value : 3156
Key : report Value : 3089
Key : nothing Value : 3071
Key : night Value : 3053
Key : understand Value : 3041
Key : need Value : 2985
Key : both Value : 2965
Key : appeal Value : 2919
Key : reason Value : 2918
Key : pm Value : 2908
Key : italian Value : 2908
Key : testimony Value : 2886
Key : house Value : 2882
Key : while Value : 2881
Key : oski Value : 2827
Key : things Value : 2822
Key : window Value : 2751
Key : person Value : 2701
Key : source Value : 2680
Key : phone Value : 2667
Key : already Value : 2649
Key : wasnt Value : 2646
Key : clearly Value : 2636
Key : question Value : 2595
Key : trying Value : 2592
Key : experts Value : 2567
Key : arguments Value : 2556
Key : times Value : 2545
Key : innocent Value : 2536
Key : based Value : 2521
Key : door Value : 2509
Key : cottage Value : 2499
Key : either Value : 2454
Key : good Value : 2439
Key : yes Value : 2396
Key : explain Value : 2391
Key : mean Value : 2380
Key : story Value : 2363
Key : part Value : 2332
Key : without Value : 2323
Key : true Value : 2318
Key : position Value : 2316
Key : used Value : 2316
Key : amandas Value : 2297
Key : down Value : 2283
Key : sollecito Value : 2282
Key : raf Value : 2274
Key : such Value : 2267
Key : makes Value : 2253
Key : done Value : 2236
Key : talking Value : 2228
Key : went Value : 2201
Key : judge Value : 2171
Key : expert Value : 2160
Key : prosecution Value : 2160
Key : left Value : 2159
Key : given Value : 2152
Key : against Value : 2147
Key : likely Value : 2128
Key : scene Value : 2127
Key : through Value : 2127
Key : clear Value : 2125
Key : day Value : 2124
Key : yet Value : 2106
Key : body Value : 2095
Key : least Value : 2042
Key : opinion Value : 2031
Key : further Value : 2021
Key : come Value : 2002
Never enough stop-words, the rest of those are quite scary.

///////////////////////////////////////////////////////////////////////

If anyone's interested in this code I'll post it on my github once I make it more OOP and get more spare time to work on it, it's rather iterative right now.

I can package this into a JavaFX stand-alone desktop application or/and I could open a port and use my old laptop to run a webservice with it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 07:07 AM
Awesome! I'd recommend the Github route just with build instructions. I wouldn't open a port on your laptop but if you do, don't post it publicly and just give it out over PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 01:11 PM
You can't change posts per page withought being logged in. Chips Ahoy has written stuff to login on 2+2 and fetch/parse posts. It's in .NET and Html agility Pack though. I'm sure he'd be cool showing you code if you wanted to borrow the login ligic
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 01:18 PM
Quote:
Originally Posted by bex989

I've really spent good 20 minutes trying to set this option (I figure that this would require logging in, which I have yet to implement). How do I set it?
yeah, you have to be logged in I think

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 01:51 PM
Thanks all.

Guess I spend my time looking for a number over there and that's how I missed Posts/Page, lol.

Gonna do the session management from the code and see how fast it will behave onto larger threads, I did stuff like this before.

btw, I built a reddit version as well, just the front page.
Takes roughly 20s to go through all posts of top 25, rule of thumb is 1s/page for these things I'd say.

Code:
Key : people Value : 408
Key : time Value : 222
Key : good Value : 186
Key : nom Value : 173
Key : water Value : 168
Key : never Value : 119
Key : read Value : 116
Key : better Value : 115
Key : bad Value : 112
Key : need Value : 110
Key : used Value : 110
Key : while Value : 109
Key : years Value : 106
Key : feel Value : 105
Key : work Value : 103
Key : little Value : 103
Key : **** Value : 101
Key : point Value : 97
Key : down Value : 97
Key : school Value : 95
Key : thought Value : 93
Key : book Value : 93
Key : movie Value : 90
Key : books Value : 89
Key : high Value : 86
Key : **** Value : 82
Key : idea Value : 81
Key : two Value : 80
Key : military Value : 79
Key : love Value : 78
Key : edit Value : 77
Key : find Value : 77
Key : sound Value : 76
Key : great Value : 75
Key : put Value : 74
Key :  Value : 67
Key : light Value : 67
Key : game Value : 66
Key : ****ing Value : 66
Key : year Value : 65
Key : reddit Value : 65
Key : human Value : 64
Key : big Value : 64
Key : life Value : 63
Key : world Value : 62
Key : old Value : 62
Key : hard Value : 61
Key : money Value : 61
Key : home Value : 61
Key : pay Value : 60
Key : laser Value : 60
Key : times Value : 59
Key : movies Value : 59
Key : cool Value : 57
Key : kids Value : 57
Key : best Value : 56
Key : end Value : 55
Key : help Value : 55
Key : imagine Value : 55
Key : everything Value : 54
Key : went Value : 54
Key : video Value : 53
Key : train Value : 53
Key : tell Value : 52
Key : least Value : 52
Key : yes Value : 52
Key : man Value : 52
Key : found Value : 51
Key : nothing Value : 51
Key : between Value : 51
Key : place Value : 51
Key : paul Value : 51
Key : detroit Value : 50
Key : drone Value : 50
Key : next Value : 49
Key : fan Value : 49
Key : looking Value : 49
Key : hell Value : 49
Key : article Value : 49
Key : person Value : 49
Key : believe Value : 49
Key : government Value : 48
Key : live Value : 48
Key : kevin Value : 47
Key : wont Value : 47
Key : last Value : 47
Key : job Value : 47
Key : guess Value : 47
Key : problem Value : 47
Key : videos Value : 47
Key : space Value : 47
Key : thanks Value : 47
Key : speed Value : 46
Key : stop Value : 46
Key : power Value : 46
Key : guys Value : 46
Key : question Value : 45
Key : nice Value : 45
Key : thinking Value : 45
Key : once Value : 45
Key : kid Value : 45
Key : give Value : 45
Key : wrong Value : 45
Key : state Value : 44
Key : start Value : 44
Key : god Value : 44
Key : city Value : 44
Key : either Value : 44
Key : gets Value : 44
Key : called Value : 43
Key : hear Value : 43
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 02:57 PM
just ran it against this whole thread

with session and 100 posts/page -> BUILD SUCCESSFUL (total time: 19 minutes 7 seconds)

without and with forum's default -> BUILD SUCCESSFUL (total time: 16 minutes 7 seconds)

Code:
35099
Key : code Value : 4548
Key : good Value : 3326
Key : work Value : 3087
Key : time Value : 3017
Key : people Value : 3000
Key : need Value : 2132
Key : c Value : 1689
Key : better Value : 1605
Key : language Value : 1602
Key : programming Value : 1470
Key : used Value : 1407
Key : data Value : 1401
Key : site Value : 1354
Key : point Value : 1352
Key : never Value : 1343
Key : job Value : 1333
Key : etc Value : 1304
Key : problem Value : 1288
Key : x Value : 1233
Key : find Value : 1204
Key : python Value : 1173
Key : java Value : 1169
Key : company Value : 1166
Key : idea Value : 1147
Key : write Value : 1134
Key : working Value : 1111
Key : learn Value : 1102
Key : web Value : 1032
Key : guess Value : 1030
Key : class Value : 1026
Key : question Value : 1025
Key : best Value : 977
Key : years Value : 967
Key : experience Value : 960
Key : project Value : 956
Key : read Value : 948
Key : two Value : 926
Key : easy Value : 901
Key : hard Value : 891
Key : looking Value : 888
Key : value Value : 886
Key : start Value : 886
Key : end Value : 884
Key : bad Value : 870
Key : great Value : 861
Key : try Value : 859
Key : example Value : 858
Key : while Value : 858
Key : function Value : 857
Key : page Value : 843
Key : program Value : 843
Key : works Value : 830
Key : software Value : 828
Key : learning Value : 825
Key : little Value : 825
Key : set Value : 818
Key : course Value : 798
Key : big Value : 791
Key : down Value : 789
Key : davet Value : 784
Key : may Value : 774
Key : server Value : 771
Key : file Value : 758
Key : able Value : 755
Key : understand Value : 749
Key : run Value : 746
Key : everything Value : 745
Key : sort Value : 742
Key : line Value : 741
Key : case Value : 738
Key : google Value : 737
Key : least Value : 736
Key : design Value : 736
Key : edit Value : 732
Key : php Value : 730
Key : real Value : 729
Key : type Value : 722
Key : app Value : 721
Key : test Value : 718
Key : feel Value : 716
Key : nice Value : 712
Key : create Value : 710
Key : thought Value : 710
Key : interesting Value : 706
Key : wrong Value : 701
Key : windows Value : 687
Key : simple Value : 682
Key : quite Value : 681
Key : reason Value : 676
Key : thanks Value : 676
Key : user Value : 675
Key : answer Value : 674
Key : thinking Value : 672
Key : money Value : 669
Key : last Value : 665
Key : development Value : 664
Key : languages Value : 661
Key : guys Value : 661
Key : once Value : 657
Key : give Value : 656
Key : database Value : 656
Key : computer Value : 654
Key : either Value : 647
Key : writing Value : 644
Key : gamingmouse Value : 643
Key : instead Value : 640
Key : return Value : 639
Key : lol Value : 634
Key : help Value : 623
Key : key Value : 622
Key : add Value : 616
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2014 , 04:51 PM
How are you parsing the post? I would say iterating each word and adding to a dictionary would be best. 99% of the overhead here should be the HTTP request
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 02:22 AM
I didn't pull the trigger and give my 2 week notice today. I pussied out. Depending if I do well on the C++ test tomorrow, I might try and tough it out.

Anyways, the professor gave us 26 optional practice problems, with one of them will being on the test tomorrow. I did half of them so far and I'm feeling good. So there's a 50% of me getting the problem for the exam, which would be sweetttt.

While doing one of the practice problems, I got the weirdest bug which I can't even reproduce anymore or really explain. It's going to sound crazy.

So I three files:
main.cpp
functions.h
functions.cpp

In my functions header and cpp, I have 13 of those problems, each of them having their own method. Each problem had its own method and I would change the main to run only that method.

When running method#13, I would see output to the console that I know is from method#13, however it gets mixed in with some strings that are from method#5. Method#13 does not ever call method#5 at all.

So I commented out method#5 to see what would happen and then I get a mix of method#13 and random messages about minicgwin.

Turns out it was from this code, since when I commented it out, the problem disappeared.

Code:
bool found = false;
for (size_t n = 0; n < length; n++) {
	if (line1[n] == line2[n]) {
	//int i = n;
	found = true;
	out << n << " ";
	}
When I used i instead of n in my output, it would work. Then when I changed it back, the problem disappeared.

My only guess/theory as a newbie programmer is that whatever address n occupied, had some information from method#5.

My little surprise for today.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 08:23 AM
Sounds like you're walking around in memory but I don't know enough C++ to spot it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 10:09 AM
bash/shellshock not even remotely close to being fixed

http://arstechnica.com/security/2014...-whack-a-mole/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 11:04 AM
I always assumed bash was a huge grown structure of crazy stuff. Guess that's the case?

zsh here we go.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 12:41 PM
This just gave everyone at work who is allergic to linux, hate on it more
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 02:19 PM
Quote:
Originally Posted by Gullanian
How are you parsing the post? I would say iterating each word and adding to a dictionary would be best. 99% of the overhead here should be the HTTP request
Yes, you are correct on all cases.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 03:14 PM
So I signed a new contract today. The position (science) has a good chunk of software development. Really strange interview. I prepared and brushed up on my Java and all (speed-TDD-coded all kinds of sorts etc.) and went in feeling very confident.

They said up front to prepare for a 30 minute test (didn't specify what, I assumed some programming test) and 60 minute interview. I went into an empty room and got a sheet with four questions that I was supposed to work on and then present after that...alas it was 100% statistics/empirical stuff most of which I had used before or at least done during university but since forgotten (if I design a questionair etc. I just grab a stats book and go + software exists). Kind of strange because the description read like almost a pure software development gig.

I pretty much had maybe 20% of that and told them straight up I might have misunderstood the job description and that I hope they have a more fitting candidate (in better words). Then had a very solid interview and was able to guestimate some of the stats stuff.

The programming part of the interview was...
Spoiler:
"What's an interface" and my answer already pre-empted the follow-up question that it also serves as a "workaround" for non multiple inheritance in Java


I am now convinced that good grades are pretty much all that matters for jobs in academics...I mean they could have hired someone that can't even write fizzbuzz.

Oh well it sounds like a fun project and the people seem really cool.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-30-2014 , 08:29 PM
Quote:
Originally Posted by bex989
Yes, you are correct on all cases.
Might be faster to multi thread it if you haven't already as well (probably done that as well thou )
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-01-2014 , 12:30 AM
Two weeks ago I made a rule with myself that I can only do random internet surfing for 30 minutes a day (at a set time). I'm allowed to check email one additional time earlier in the day and am allowed to do actual important internet tasks (getting a phone number, printing out a coupon I'm about to go use, etc.) when necessary. This has been tremendously successful for me and I've had the most productive 2 weeks I have ever had with no real reason for it to start cooling off.

If random surfing is not your poison, figure out what it is and do this.

(My half hour is up now)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-01-2014 , 12:41 AM
Yea I can't do that. It's so easy for me to get distracted and go to reddit.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-01-2014 , 01:56 AM
That's the entire point. If you meander aimlessly, you end up spending most of your time on pointless stuff. If you say, "I have X minutes, I need to do A, B, and C," then that's what you do.

This was a tactic suggested to me to help curb warcraft addiction. But I'm not an addict. I can quit any time!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m