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

02-15-2012 , 09:22 PM
Moving on to/away from Amazon requires effort, but it's not excessive. If you make the "wrong" choice, it's not irreversible, especially if you're successful.

It's basically impossible to predict before you have something developed, and have an idea of what sort of data transfer there is
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 09:32 PM
Quote:
Originally Posted by Gullanian
I got a question, if I want to record an area on my screen time lapse style (1 frame per ~5-10 seconds) what's the best software to do this? We have a fully licenses copy of camtasia but idk if it can do that?
quite easy to write a script / program to do it (BitBlt), outputting sequential bmps to a folder. then ffmpeg or something like it can convert them to a video
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 09:34 PM
Quote:
Originally Posted by Gullanian
I got a question, if I want to record an area on my screen time lapse style (1 frame per ~5-10 seconds) what's the best software to do this? We have a fully licenses copy of camtasia but idk if it can do that?
Do you want it in some sort of video format? Otherwise its fairly easy to code. It may be easy with vodeo format too, but Ive never done it so I dont know.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 09:35 PM
dave beat me to it. BitBlt is how I do it too
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 09:36 PM
Getting images to video should be quite easy I think, thanks for BitBlt link dave will probably do that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 09:42 PM
This project helped me alot when I did something similar to what you want.

http://www.codeproject.com/Articles/...Window-Icon-Ca
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 10:23 PM
Awesome, all working perfectly now saving png every 10 seconds, cheers 1 shot every 10 seconds for 24h = ~2.5gb pngs, 8640 frames and 2.4 minutes of video @ 60fps. Will run this tomorrow at some point on some visual data that might be fun

Last edited by Gullanian; 02-15-2012 at 10:30 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 10:57 PM
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!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 11:03 PM
oh and also! i got asked the FizzBuzz question in a phone screen this morning! i couldn't remember any of the elegant solutions that people posted itt so i just went with quick and dirty (after offering to do it test-first ):

Code:
[tyler@toaster:~]$ cat FizzBuzz.py 
#!/usr/bin/env python

for ii in range(1, 100):
    if (ii % 3 == 0 or ii % 5 == 0):
        if ii % 3 == 0:
            print "Fizz"
        if ii % 5 == 0:
            print "Buzz"
    else:
        print ii
reading his spec more closely, i realized i should have had trailing commas to suppress newlines and then do some other formatting but he was just looking for "can you solve a problem with code?". having learned the answer, he then said, "you got through that quicker than i thought... do you have any questions for me?"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2012 , 11:34 PM
congrats!!

Im my last interview, I got asked how many piano tuners there were in Chicago.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 12:34 AM
Five. But technically, it is 6 people. Bob and Frank Wilburn are twins who work at their family run business, but both of them only work part time.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 12:48 AM
You mean good piano tuners I take it?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 03:40 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!
In a cash game, the winner pays the rake obviously.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 11:19 AM
I'm in IT contract staffing, and I need to rant for a second..

I spend literally all day trying to get more accounts that hire contractors, calling hiring managers directly (which they probably get 15-20 calls from people like me daily), and when I finally get through, and finally get a contractor working for someone, and the contractor gets extended and the project is going great... all of a sudden HR gets involved and now (since I dont work through HR) all new contracting roles get sent to HR and the people in HR reach out to agencies that are willing to work through HR, and instead of me having 1-2 resumes in front of the Hiring manager and getting a start... now the HR person is firing 15-20 resumes from 3 different firms for 1 role, and after 3-4 weeks when someone gets the job HR feels happy with what they accomplished.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 01:06 PM
Quote:
Originally Posted by malloc
In a cash game, the winner pays the rake obviously.
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?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 02:09 PM
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.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 02:12 PM
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.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 03:14 PM
**** yeah, laid off. Time to collect unemployment and finish my book, as well as some independent projects I've been slacking on.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 04:49 PM
Random question -

My C++ code have a class that has a bunch of business logic for it and database save / reads
namely,

Class Item

We have also Class SalesOrder . A SalesOrder has 15 items on it.

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;
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 04:56 PM
lolmemory.

Spoiler:
i am not kidding.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 05:28 PM
Quote:
Originally Posted by Zurvan
Moving on to/away from Amazon requires effort, but it's not excessive. If you make the "wrong" choice, it's not irreversible, especially if you're successful.

It's basically impossible to predict before you have something developed, and have an idea of what sort of data transfer there is
Ok that's at least good to know. I'm mostly interested in having some potential leverage in renegotiating pricing if I happen to develop something that takes off etc.

Last edited by clowntable; 02-16-2012 at 05:41 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 05:44 PM
Quote:
Originally Posted by sylar
lolmemory.

Spoiler:
i am not kidding.
so not a problem? I understand its cheap and fast just trying to get in good habits as I am working for a small company and have no one really to critic my code and I really need to be improving
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 05:54 PM
Quote:
Originally Posted by Jeff_B
so not a problem? I understand its cheap and fast just trying to get in good habits as I am working for a small company and have no one really to critic my code and I really need to be improving
It's good that you are thinking about it, and certainly bring it up in your own code review (assuming you guys actually do code reviews). also, this being C++, it's much-much easier to shoot yourself in the foot. but as long as you don't introduce memory leaks, the objects and arrays and memory are there to be used, and are essentially a non-limited resource (*not* unlimited).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-16-2012 , 06:03 PM
02-16-2012 , 06:05 PM
Quote:
Originally Posted by sylar
It's good that you are thinking about it, and certainly bring it up in your own code review (assuming you guys actually do code reviews). also, this being C++, it's much-much easier to shoot yourself in the foot. but as long as you don't introduce memory leaks, the objects and arrays and memory are there to be used, and are essentially a non-limited resource (*not* unlimited).
LOL Code review. I am most experienced guy here sadly but it is a decently relaxed good job and I am gaining experience for my resume and getting much better at programming imo.
Odd question that I am pondering right now though...



I declared it CArray<ExpenseClass, ExpenseClass&> Expenses;

Now I pass it to another function to basically read all the expenses from the database

Code:
bool GetAllExp(long lInventoryNumber, CArray<ExpenseClass, ExpenseClass&> ExpenseArray)
{
	ExpenseClass MyExpense;
	MyExpense.Save();
	ExpenseArray.Add(MyExpense);
}

When I do that I get an error
Error 4 error C2248: 'CObject:perator =' : cannot access private member declared in class 'CObject' ...\include\afxtempl.h 267


Any ideas?


http://social.msdn.microsoft.com/For...f-bab5254a9669
I actually just read that so maybe using a CArray not such a good idea.
I am not super familiar with the damn MFC libraries / specific structures templates

Last edited by Jeff_B; 02-16-2012 at 06:26 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m