The only one I can help with is the teriyaki sauce. I tried this one the other week and it was pretty darn good: http://www.soyvay.com/estore/display.php?RecordID=1034272355[^]
Chris Richardson
The only one I can help with is the teriyaki sauce. I tried this one the other week and it was pretty darn good: http://www.soyvay.com/estore/display.php?RecordID=1034272355[^]
Chris Richardson
leckey wrote:
I'm going to tour Tasmania as I have not been there yet.
Tasmania seems cool. Just one word of warning: watch out for the wildlife[^]. ;)
leckey wrote:
If you want to live there the process becomes more complicated.
You mentioned on the forums that you used to live there at some point. How complicated was it? Were you on a student visa? How long were you there? Sorry for the barrage of questions :)
leckey wrote:
I suggest visiting the website for the Australian consulate here in the US.
Good call. I spent a few hours reading all the information I could find on http://www.immi.gov.au/[^], but I didn't think to look at the consulate site. I will have a look at it tonight. Thanks for the help :)
Chris Richardson
dan neely wrote:
You get a 100% credit for foreign taxes on your federal return.
Cool, I wasn't aware of that. Thanks :)
dan neely wrote:
PS watch out for the drop bears, they'll eat your brains if you aren't careful
I've got a tinfoil hat reinforced with chicken wire; I think I'll be good ;)
Chris Richardson
Luis Alonso Ramos wrote:
Ok, I am not from Australia but I was there for almost a month back in 2004, so here is my tourist-point-of-view
I think I remember you posting about your trip back then. It sounded like you had a great time.
Luis Alonso Ramos wrote:
A camping trip to Fraser's Island, the largest sandy island in the world (or something like that). They rent you a 4x4 SUV and camping equipment and send you for three days/two nights on your own (with 8 other people, but no guides). There is not much more to do than drink beer and swim on lakes, but it's really cool! You take the ferry in a town called Hervey Bay.
That sounds excellent, but unfortunately I am going to be going by myself, and unless I end up staying in Brisbane I will probably not make it that far north.
Luis Alonso Ramos wrote:
And if you are there, be sure to go to New Zealand.
That's a good idea, but I doubt I will be able to afford the additional plane tickets. I will take a look though. Thanks for the info :)
Chris Richardson
Taka Muraoka wrote:
Theres a big mountain range about 25km east of the city centre and I often go hooning around there on my motorbike.
That sounds pretty cool. I would definitely like to spend some time in Melbourne and the surrounding area.
Taka Muraoka wrote:
You can't work on a tourist visa but there's a special visa you can get (working holiday visa, or something like that) where people from certain countries under (IIRC) 26 can get work in certain areas.
I read about this on the visa information site, but even if I did want to do odd local jobs I can't participate as I am from the US.
Taka Muraoka wrote:
so if you want to go there and work for your US company, they need to sponsor you for a proper visa
Yeah after thinking about the visa some more, I realized it doesn't matter who I work for, paying Australian taxes is necessary if I am going to be living there, and I will need a proper long-term visa to do all that (which is fine). Thanks for the info :)
Chris Richardson
Josh Gray wrote:
Most "backpakers" end up staying in Bondi or Coogee.
I thought about staying in Bondi, or Cronula, for a bit. I'm not specificially looking for very tourist-y areas to hang out, but I would definitely like to see those two beaches. How does climing the bridge work? That sounds like a great idea. I'd also like to see the Royal Botanical Gardens by the opera house. Driving from Melbourne to Sydney or the other way round seems like a fun trip as well. I have done most of my research into Sydney, but will be researching Melbourne more in the days to come. Any ideas how long that drive is?
Josh Gray wrote:
I'd say two weeks in Oz is a bit short.
I was thinking it might be a bit short as well, especially with the length of time it takes to get there and back from here. I may look at revising my trip schedule, and coming out later in the year when I have more time. I'd really like to spend a month or six weeks there, to get a real feel for the place. Thanks again for the help!
Chris Richardson
Josh Gray wrote:
Come to Sydney!!
Ha ha, you were one of the Aussies I was hoping would respond. I know Sydney is huge; just looking through listings of cities in each LGA was a shock. I lived in LA for a while too, but it doesn't seem nearly as big as Sydney. Will two weeks be adequete time to see a bit of the area?
Josh Gray wrote:
Its about 27 in Sydney today
That sounds good. It's 7C here today (Minnesota USA).
Josh Gray wrote:
Depends wehat you like. Sydney and Melbourne are large cities, Brisbane and Cairns as a bit smaller
Since I will be by myself, a bigger city is probably better, since there will be more to do. I'm also hoping to get out of the city up into the mountains for a day trip. That seems feasible from Sydney or Melbourne according to my meager research. A road trip up the coast would be fun too. Have you driven from Sydney to Brisbane? Is it a nice trip if you have? I know it's a long drive... Anyways, thanks a lot for the information too, I really appreciate it! :)
Chris Richardson
Hi guys, I know a bunch of people on here including Chris himself are from Australia, and I am wondering if anyone can answer some questions, as I am looking to take a vacation there at the end of April/beginning of May. First a little background: 1. I am going to be there for two weeks. 2. I am going to be by myself, so places where there are nice people my age (26) would be good. 3. I like doing outdoor activities, like going to the beach, hiking, off-roading, exploring etc. 4. It seems like a nice place to live, and I am thinking about going for a longer stay at some point (up to 12 months with a real tourist visa). If I did this, I would likely be working from there, but for the American company I work for now, and paying regular American taxes. Anyone know if this would be legal from an Australian point of view? 5. I have traveled to other countries before with no problems, but usually with friends or girlfriends. 6. Is it still warm, even though it's the fall now? Questions: 1. I have thought about going to Sydney, Melbourne, Brisbane, or Cairns. Any opinions on these places, or other places I should think about? 2. Are people generally friendly toward Americans in most of the above cities? I'm not a 'loud american' or whatever. 3. Do any of you have an opinion on the best place to live, if I did decide to apply for a longer term visa? Thanks in advance for any help!
Chris Richardson
Glad to hear you got part of your problem sorted out :) 1. Assuming you are doing this from code, yes there is. Disconnect the preview pin after rendering the graph but before running it. 1a. Get the filter graph from the capture graph builder. (ICaptureGraphBuilder[2]::GetFiltergraph) 1b. Get the capture source filter by one of a number of methods (IFilterGraph::EnumFilters, IFilterGraph::FindFilterByName) 1c. Enumerate the filter's output pins and disconnect the preview pin. (IBaseFilter::EnumPins). *OR* 1a. Write your own filter that can attach to the preview pin, and make it not do a preview, but instead just keep the media samples in memory or do whatever you want to do with them. 1b. Insert this filter into the filter graph before rendering it, and it will be connected to the preview pin automatically. Note that the preview pin is the only pin that will be connected by default. The capture pin should use the DirectShow convention of a tilde prefix on the pin name to note that it does not want to be connected. I'm not sure how your current setup is doing things, so I'm not quite sure how to answer. 2. I don't have VS 2005, only 2003 and VC6, but I know it can be compiled with 2005 (I helped someone do that). If you are talking about the warnings having to do with functions not having return types and some other ones, just change the code in the base classes, though I suppose you probably already tried this. It's been about a year since I had to do this, so I don't recall everything I changed. I think you also have to change the directory order under Toos->Options->Projects->VC++ Directories->Show Directories for: "Include Files", and make sure either the DX ones come first or the VS ones come first. I can no longer remember the order required for 2005. Here is one link I ran across: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=183304&SiteID=1[^] If you have any more questions or if I wasn't clear about this stuff, feel free to ping me back and I will try to help.
Chris Richardson
What are you trying to accomplish? I'm not a guru, but I've done quite a bit.
Chris Richardson
Is it possible that the ACL on that registry key prevents your unelevated process from reading the value stored in the key? Just a wild guess...
Chris Richardson
I'm not sure how well this would fit into your current implementation, but here is a small five minute solution that may work. I've not even tried to compile it though. Also, pick any container that will work better than list
.
class ActionList : public Action
{
public:
void Action( ActionComplete onComplete )
{
m_CurrentAct = m_Actions.begin();
m_CompleteFN = onComplete;
(\*m\_CurrentAct).Action( actionCompleteInternal );
}
private:
void actionCompleteInternal()
{
++m_CurrentAct;
if( m_CurrentAct != m_Actions.end() )
{
(*m_CurrentAct).Action( actionCompleteInternal );
}
else
{
m_CompleteFN();
}
}
ActionComplete m_CompleteFN;
std::list<Action*>::iterator m_CurrentAct;
std::list<Action*> m_Actions;
};
ExecuteActions( action_list actions, onComplete )
{
list.Action( onComplete );
}
Chris Richardson
JBurkey wrote:
Correct, but that would be a stretch not a scale.
Actually it is a scale. Nobody said anything about 'scaling' meaning 'uniform scaling along each axis'. Maintaining aspect ratio is not that difficult either:
int destinationWidth = ???;
int destinationHeight = ???;
int originalWidth = ???;
int originalHeight = ???;
double aspect = originalWidth / static_cast<double>(originalHeight);
int scaledWidth = destinationWidth;
int scaledHeight = static_cast<int>(destinationWidth / aspect);
if( scaledHeight > destinationHeight )
{
scaledHeight = destinationHeight;
scaledWidth = static_cast<int>(scaledHeight / aspect);
}
This stretch prefers filling the width to the destination, rather than the height, but it's easy to swap it around.
Chris Richardson
SetWindowPos has a flag to indicate that the non-client area of the window needs updating. You can either use SetWindowPos to do the resize (if you are not already using SetWindowPos), or you can do something like the following just to force the frame to redraw:
// Put this after your call to MoveWindow or whatever
SetWindowPos( Your_HWND_Here, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_DRAWFRAME );
Good luck,
Chris Richardson
Honestly though, even as a [insert color here] person, there's almost always going to be people who hate you. They don't even have to be a different [color/religion/race] than you. Take a walk with your girlfriend (or wife) in downtown Minneapolis sometime (yeah I'm from the TC as well), and watch almost everyone give you a dirty look. Yeah they might not be shooting at you, but some of them sure seem like they want to.
Chris Richardson
Andy Brummer wrote:
How do you figure out whose design is better? Where I work we use a deathmatch in the "cage". The winner gets to set the design and coding convention until they are unseated.
:laugh:, that's frickin hilarious! I can hear the manager screaming "FINISH HIM!!!1!11". ok sorry for this post if you've never played Mortal Kombat
Chris Richardson
Oh wow, that was hilarious. :|
Chris Richardson
Microsoft pays it's employees a livable wage, and gives decent benefits. This may be different elsewhere, but not in the US. So no, they shouldn't be in the same basket. As for me, I've been to Walmart probably twice in the past 3 years, and I absolutely hate going there, for all the reasons you mentioned in your original post. X| X| X|
Chris Richardson
:laugh: that was great, thanks. Just posting to let ya know I accidentally hit the '4' when I meant to hit '5'.
Chris Richardson
:laugh: That's frickin' awesome, I almost spit my drink onto my monitor. Now I need to watch that skit again. :) Chris Richardson