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

02-16-2012 , 07:14 PM
Just canceled my AT&T Voice + Data service ($90ish/month) and went with T-Mobile Mobile Broadband ($175 for device + $30/month for 2 GB) and Google Voice (free VoIP calling). Using Talkatone on my iPhone 3GS to make calls over GV; quality is perfectly fine.

Got these speeds from T-Mobile HSPA+ or 4G LTE whichever you prefer:



mfw:

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 07:18 PM
Quote:
Originally Posted by kyleb
Just canceled my AT&T Voice + Data service ($90ish/month) and went with T-Mobile Mobile Broadband ($175 for device + $30/month for 2 GB) and Google Voice (free VoIP calling). Using Talkatone on my iPhone 3GS to make calls over GV; quality is perfectly fine.
Awesome and LMFAO at that gif. I've been thikning about doing exactly this but with my Evo. I've considered something like Republic Wireless but I don't want to buy a new device.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 07:19 PM
I'm gonna write a blog post about the transition soon; I'll link it here.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 08:18 PM
For some reason, in Canada, upload speeds are as good as download speeds....

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 08:22 PM
Quote:
Originally Posted by kyleb
I'm gonna write a blog post about the transition soon; I'll link it here.
Awesome, I look forward to it. If you remember, PM it to me also if you don't mind. I don't always go back several pages to catch up on this thread.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 08:50 PM
Quote:
Originally Posted by Larry Legend
Tyler,

From my perspective, there are a couple ways to handle it. I think the best way is to be honest and open with all the companies. Tell them you are interviewing at other companies in the area for that weekend, then figure out what it will cost for your arrangements (2 flights, 2 nights hotel, etc.) and see if they are willing to each go 1/3 for the costs.
Quote:
Originally Posted by Larry Legend
That is, if you can 100% lock in the interviews.. If any of them are last minute and wouldn't make sense to give them the 1/3 travel option, you should probably just tell the companies that are locked in what your arrangements are and see if they will do 1/2, etc.

You can also just tell one of the companies that you plan on leaving and arriving on a certain day and they probably wont question it.
larry,

thanks for the comments. this is basically what i was thinking -- just do it the way that makes sense and seems fairest. no one has popped in to say, "the canonical way to do it is X," so it seems there's no obvious rule of thumb i wasn't aware of.

Quote:
Originally Posted by kyleb
**** yeah, laid off. Time to collect unemployment and finish my book, as well as some independent projects I've been slacking on.
congrats! (and p.s. who doesn't love an industry where you get laid off and are excited about it.)

Quote:
Originally Posted by Jeff_B
We have also Class SalesOrder . A SalesOrder has 15 items on it.
always 15?

Quote:
Is it standard to create an array of instances of the class? Could this become too bulky / wasteful memory wise? Is there a better way?

Example
CArray<ItemClass, ItemClass&> SaleItems;
are you worried about the overhead of sticking them in an array? what else could you possibly use? this seems fine to me.

Quote:
Originally Posted by sylar
lolmemory.
i was going to say something snarky but jeff did say "c++" and then he said "database save / reads" so i'm on board with lolmemory insofar as it's a pointer to lolc++forCRUDapplications.

Quote:
Originally Posted by Jeff_B
LOL Code review. I am most experienced guy here
the point of a code review is to get a second set of eyes on your code. whether those eyes are more or less experienced than you barely even enters the equation.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 08:51 PM
oh and let me be the first to add LOLMFC.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 09:17 PM
Quote:
Originally Posted by tyler_cracker
oh and let me be the first to add LOLMFC.
I dont think mfc is that horrible but I dont have any experience developing larger applications in another language... Just small school projects.

That said, I ended up storing all the objects in a CArray. Well I tried to.
When I did that i kept getting the error i posted above about not being able to access private members.

The reason for this was I had

Code:
Class myclass
{
nonrelevantmemberfunctions();
CArray myarray;
}
When I tried to add myclass to my array of classes it was trying to do a copy of the CArray myarray object.

After some playing around I found that
Code:
CArray array1;
CArray array2;

array1 = array2; //This causes the same error -> no copy constructor
so basically I have to write a copy constructor for myclass that uses

Code:
	array2.RemoveAll();

	for (int i=0; i < array1.GetCount(); i++)
		array2.Add(array1.GetAt(i));
Which seems like it will work when I implement it in all my code.
I guess whenever I write a class now I know I need the copy constructor if I have dynamic memory, makes sense mostly.

Though it does seem odd they CArrays don't have the ability to copy by default.


Yeah, I do like the idea of having other people look at code at least to see if they can understand it. I really wish we were a bigger company so I can learn and grow more but I actually do like my job.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 09:23 PM
well, do you expect the copy constructor to give you a shallow copy of the array or a deep copy? perhaps this ambiguity is why CArray doesn't provide a copy constructor by default? i'm just guessing, though.

if you're serious about professional c++ development, read this book:
http://www.amazon.com/Effective-Spec.../dp/0321334876

and mfc sucks for a whole pile of reasons but whatever floats your boat and/or keeps the paychecks coming is fine with me!

Last edited by tyler_cracker; 02-16-2012 at 09:25 PM. Reason: also a colleague of mine suggested this book should instead be subtitled "55 Reasons Not To Use C++"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 09:45 PM
Tyler,
Well it keeps the paychecks coming. My situation was he this guy needs to retire and I took over his solo project and its expanding and evolving.

His code basically consisted of writing one function and copying it all over and never deleting anything that was not used EVER todays project started with me deleted 2000+ lines of code. The code writes and reads from the UI consistently and completely tied to current screens we have. Its a huge mess and I curse every day but I know what not to do now with a large project I suppose.

Just curious what do you not like about MFC?

Once I get this project to the point where all our industry specific numbers are correct, we are switch UIs which means start from scratch and I will talk my boss into using most likely a .NET language

Btw anyone know of a decent way to get intellisense not to be a steaming pile of crap and or a replacement?
Creating a copy constructor should be myclass. and pick first from list not going and having to read the definition to remember what I called all the member variables when I wrote the class 3 months ago

Last edited by Jeff_B; 02-16-2012 at 09:58 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 11:23 PM
i haven't worked with it directly but it's windows-only, using it pulls in a giant mass of headers and other junk, and there are many other better-designed frameworks for doing the things mfc does.

the guys at work like visual assist x. the best tip i have about intellisense is that you can, in fact, turn it off -- by renaming the library that implements it.

edit: oh, and you can add this book to your must-read list as well:
http://www.amazon.com/Working-Effect.../dp/0131177052

that applies to everyone serious about professional software development imo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 09:24 AM
Quote:
Originally Posted by tyler_cracker
are you suggesting that i sit on the costs until i accept an offer, then ask the offerer of that offer to pay for my travel? what if they want me to do the paperwork ahead of time? what if none of the companies hire me?
That is what I was stating but it was in jest. Sorry to make light of the job search process as it inherently is stressful and generally blows.

As has been said, you should do what's fair. I've had companies where the paperwork was submitted at the time of the interview as well as some after. As such, I would wait as long as you're able to and then split the costs amongst the companies that are committed at that point.

Good luck with the search!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 04:25 PM
Here's that GV + Talkatone + T-Mobile Mobile Broadband blog post:

http://www.kyleboddy.com/2012/02/17/...-save-60month/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 06:07 PM
Today my project at work officially began it's migration from using SVN to Git. This is not a small undertaking as the project has existed for over 3 years and has about 30 developers on the team. Just to keep things interesting, the svn repository is actually a group of module repositories that are held together by a bunch of scripts and "stuff" to keep them in line and using a single revision number.

At 7am the svn repository went read-only and the import kicked off. Things were going fine until a planned, but under-publicized, building network recofiguration took place. Needless to say, the import did no complete successfully and had to be restarted from scratch. It's 5pm now and the all clear email still has not been sent out.

Gotta love project management.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 06:55 PM
Quote:
Originally Posted by kyleb
Here's that GV + Talkatone + T-Mobile Mobile Broadband blog post:

http://www.kyleboddy.com/2012/02/17/...-save-60month/
kyle,

so in order to talk on your phone, you need to carry around both the phone and the hotspot device? am i misunderstanding?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 06:56 PM
Yes. #firstworldproblems
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 11:02 PM
c/c++ question :

If a bunch of conditions is linked through multiple &&s on the same line and the first condition is determined to be false, does it still evaluates the other conditions coming afterwards?

Same thing if I have a bunch of || and the first one is true.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 11:10 PM
Google short circuiting I think. I believe this is one of those bugs in C that is touted as a feature...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-17-2012 , 11:20 PM
Quote:
Originally Posted by kerowo
Google short circuiting I think. I believe this is one of those bugs in C that is touted as a feature...
Apparently, C/C++ supports it. Is it still a good programming habit?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 12:20 AM
Quote:
Originally Posted by JackHighFlop
Apparently, C/C++ supports it. Is it still a good programming habit?
Relying on behavior that you had to post on an internet forum to ask about seems like a pretty bad idea.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 12:36 AM
A poker forum no less...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 12:55 AM
Quote:
Originally Posted by TheIrishThug
Today my project at work officially began it's migration from using SVN to Git. This is not a small undertaking as the project has existed for over 3 years and has about 30 developers on the team. Just to keep things interesting, the svn repository is actually a group of module repositories that are held together by a bunch of scripts and "stuff" to keep them in line and using a single revision number.

At 7am the svn repository went read-only and the import kicked off. Things were going fine until a planned, but under-publicized, building network recofiguration took place. Needless to say, the import did no complete successfully and had to be restarted from scratch. It's 5pm now and the all clear email still has not been sent out.

Gotta love project management.
Meh we used CVS (+our own PM etc. integration that was actually fairly sweet) in an otherwise fairly modern project...SVN would have been great..Git is like the nuts
Concider yourself lucky imo
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 12:56 AM
Quote:
Originally Posted by kerowo
I believe this is one of those bugs in C that is touted as a feature...
Disagree on this one, it makes a lot of sense if you for instance want to test for a property having a certain value and need to test for existence of the property or containing object first. Making the actual (2nd) test could lead to an unnecessary error, for which otherwise you always need an additional if-level not just talking one line of code but an additional horizontal level which in nested expressions could mean several additional levels.
(This is for several languages not only/necessarily talking about the mentioned ones.)

Edit: Unless you have special IsNullOrEmpty-stuff

Furthermore it is a completely logical way to do this:
since (a && b && c) is a "logical statement" and when the first one "a" is false the whole statement evaluates to false no matter how complicated/fancy or whatever is coming after it, so I don't see a surprising element to it, especially since iirc all of the major programming languages I used in the last years C, C++, C#, Java, Ruby, JavaScript, Perl (blech!) have this behavior. I doubt you'll find a programmer with some experience that would expect sth. different there.

Imo relying on this is not bad style, but relying on side effects being executed within these kind of statements would be.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 01:08 AM
Quote:
Originally Posted by tyler_cracker
i'm in the middle of a job hunt right now. i live in seattle and hope to soon have interviews at three different companies in the bay area (sf, peninsula, sj). i'm trying to schedule all the interviews around a single weekend so that i don't have to fly back and forth. all three companies expect to cover travel expenses when interviewing an out-of-town candidate such as myself. also all three companies are large enough that all of these expenses are in the noise of their HR budgets.

one of the companies has already agreed to fly me down. i'm trying to schedule an interview with a second company for the day before or the day after the interview with the first company. i hope to get offered an interview with a third company +/- 1 day from that.

how do i handle getting reimbursed? do i just bill the first company since they happened to offer to fly me down first? do i split the costs evenly between the three companies? bill one for the flight, the next for a rental car, the third for a couple of hotel nights?

tia!
Split it three ways and explain why to them.

As someone who hires people....

1. Makes you look honest, because you could have tried to screw them all.

2. Makes you look like you are in demand.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-18-2012 , 01:25 AM
lol, I'm pleasantly surprised no-one suggested "bill them all for a tidy profit on the trip!"

wait, do people not like short circuit evaluation? I thought it was entirely normal?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m