4476
Living Room / Re: Contact information in one's profile
« Last post by 4wd on December 23, 2010, 11:39 PM »I'd like ICBM! 


Actually, i said yes to one of those messages, and after that, I wasn't able to select the "Copy" setting in the video part. So I knew that meant lossless was not going to be possible.-superboyac (December 23, 2010, 09:30 PM)
This stuff is all too technical for me. I just want to split a video. I just want to enter the start and end point, press split, and it splits it in a lossless way. Whatever it has to do to reindex and get the AV syncing right, just do it. Don't ask me about it, don't tell me about it, just do it. I just want the clip split.
well now,
if you really want to buy me one I wouldnt say no :p-tomos (December 22, 2010, 08:05 AM)
Just tell me where to send it-4wd (December 22, 2010, 12:52 PM)
lol, that'd impress the rest ;-)-tomos (December 22, 2010, 02:45 PM)
well now,
if you really want to buy me one I wouldnt say no :p-tomos (December 22, 2010, 08:05 AM)

Does a wired connection really need anything like this? I do not know, I am just asking.
-techidave (December 22, 2010, 05:42 AM)
Because EVERYTHING is more expensive in Australia...-Renegade (December 21, 2010, 11:16 PM)


For my 2 cents:
* News
newsmap.jp - the best at-a-glance news site I've found-timns (December 21, 2010, 12:37 PM)

I've seen that one, and didimatic.com, but I still go back to just the regular steam site. These improvements that the third party sites give are pretty incremental, and the regular steam site is so convenient that I don't even peruse these sites any more.-wraith808 (December 21, 2010, 08:36 PM)
Nice site but I still blaime Valve. When they list a price as 59 Euros equals 59$ they are accepting and promoting the trick. They could refuse to include game but they don't. VAT is included when dealing in Euros but still a trick. Is there any documentation about why poor Valve must bend over to other game companies? I think they share.-Bamse (December 21, 2010, 08:14 PM)

A short note for the easily angry people: Don't blame Valve, they don't make the prices.

The script doesn't send any pings, it just tries to open a connection to a server, (any type of server, just need an IP and port), if it can't make one within 100ms, (default value), then it fails and the script continues. So in theory, it's not actually waiting for anything to come back unless its connection is accepted in which case the script will continue to progress in under the 100ms wait time. I could make the 5 second delay between connection attempts shorter, (I didn't want it to get flagged by any security programs as excessive pings sometimes do), or configuable - if I took out the delay then it would attempt connections every 100ms or less.-4wd (December 20, 2010, 11:19 PM)
Ah! (Port Connection) ...Therein lying the gotcha I mentioned at the beginning.Port Connection's do a 3-way handshake:
SYN (outbount request)
SYN-ACK (target response)
ACK (outbound acceptance)
Slamming the socket shut without the SYN-ACK requires a non-blocking raw socket connection that creates its own thread and uses select(...) to check for writability before timingout and slamming shut... (Which still isn't 100% reliable after XP SP2...) ...otherwise the default timeout (graceful closure) is in the 3-5 min range.-Stoic Joker (December 21, 2010, 08:37 AM)
That's why I'd suggested using something strictly local for the initial (test) loop like a system call level iteration of the adapter statuses. While not directly related (it only pulls address info from the first adapter it finds - but you could loop it to get the others), here's an example of the type of function you would need:Code: C++ [Select]
.....
Note: that is actually the code that Page Countster uses to get the default LM IP address range for the Scan for Printers dialog box.
Well, it kinda is at the moment because the instance running from the Startup script event terminates on detection of 'explorer.exe' process. And the instance running at Logon event is terminated when the 'explorer.exe' process terminates.
So when it drops back to the logon screen, there is no NetCheck program running - this is why I would like to run it as a service if I could get the damn thing to interact with the display-4wd
Damn, that is a sticky one. Apparently "Allow service to interact with desktop" was depricated a while back due to the need for more complete Session 0 isolation - which quickly sinks out-of-my-depth (f0dder...?) - So the new more correct(er) way is to use two applications that pitch-N-catch. The service does the test & pitch, and the User GUI does the catch & display.
Maybe use WMI to look for (signs of life) a wake event?
I have joined my domain but now it takes forever to "run the startup script". Like 5 or 6 minutes.-techidave (December 20, 2010, 07:58 AM)
Here it only takes a few seconds to run it, the tooltip shows up after the login screen, however it looks like you're using the 'classic' login screen and not the newer XP Welcome type - something that I ought to of thought of but didn'tSo a bit more testing.
-4wd (December 20, 2010, 05:32 PM)
Does 5 or 6 minutes sound about right for the WiFi card init? I'm wondering if the script is waiting for the program to return. If the ping is every 5 sec, can you (just as a test value) add a sending ping X message to the prog so it's "pulse" can be checked?-Stoic Joker (December 20, 2010, 10:02 PM)
Caveat: Currently it doesn't reinitialise itself to display on the logon screen if the current user logs off - that's about it. I'm still looking at fixing this by calling it again, (probably needs higher privileges so it can display on the logon screen again).-4wd (December 19, 2010, 10:43 PM)
Running it on logoff isn't really the issue, because the WiFi card stays on. The trick is to get it to run on wakeup from sleep/hibernation when the connection has dropped because the WiFi card was napping.

What the hell will an accident do to a vacation then, enhance it?-cranioscopical (December 20, 2010, 07:25 PM)

I don't know what it is about Australia, but a LOT of companies think a web site means putting up a PDF catalog.-Renegade (December 20, 2010, 05:58 PM)
hello,The "game" I am looking for is the 2k mega pack.-Gorkun (December 20, 2010, 02:31 PM)

But 4wd, you said to copy "it", what is "it"? In the zip file, I only see 5 files of which one is the netcheck.exe. perhaps that is it?-techidave (December 20, 2010, 06:45 AM)
AVG just caught it as a virus. I am sure that there isn't one. Probably just the autoit script?-techidave (December 20, 2010, 07:16 AM)
I have joined my domain but now it takes forever to "run the startup script". Like 5 or 6 minutes.-techidave (December 20, 2010, 07:58 AM)
So a bit more testing.Caveat: Currently it doesn't reinitialise itself to display on the logon screen if the current user logs off - that's about it. I'm still looking at fixing this by calling it again, (probably needs higher privileges so it can display on the logon screen again).-4wd (December 19, 2010, 10:43 PM)
So the short question is can the icon show up any other time the login window is there without doing a restart or power on?-techidave (December 20, 2010, 01:33 PM)

ilikelove mx518 very much because it has a nice balance between functionality and fluff (e.g. overloading of features, etc). in fact, i have 3 of them (2 actively using and a spare)..-lanux128 (December 19, 2010, 10:40 PM)
.... They don't carry it at MSY though,.....-Renegade (December 19, 2010, 11:12 PM)
No, it doesn't have to. By default, the answer is no. There is a policy that can be set by using group policy or active directory. I have tried changing it to wait, but that doesn't always help either.-techidave (December 18, 2010, 06:19 AM)
[Sorry if I get a bit Captain Obvious here, I'm just trying to make sure we're on the same page]-Stoic Joker (December 18, 2010, 10:12 AM)
I've zero experience with anything other than a "normal" LAN setup, (ie. anything more than you'd find in a home).Um... If you're driving at the distinction between a Workgroup and Domain networks ...Then yes...Sort of. In a workgroup environment you initially authenticate to local machine, and then to network resources later if/when you access them. In a domain you're authenticated by the domain controller before you access anything, including local machine. There are exceptions for cached credentials/domain accounts...But those aren't important right now.
The key here is to look for a media connection first, then "verify" it by testing for an IP connection. So the program should continue looping through the adapter iteration until it finds one with a default gateway that isn't 0.0.0.0. Then and only then it should do the (IP to MAC Address) ARP lookup to verify that the IP network is "live" making it a relatively safe assumption that (the hounds can be released) a domain controller is then available.
Hint: Gateway connection isn't really required or guaranteed at this stage, hence the ARP test could fail even with a valid connection because no traffic has as of yet been sent to the gateway. SendARP(...) is a local machine query of the ARP cache, not an on-the-wire query for remote data.
...Which makes me an idiot.Sorry...
...Ping would (/will have to) be the correct answer as a last stage validation of IP connectivity. Just don't start with it in/as the initial loop timeouts are a nightmare.

2) Displays a Tooltip on the logon screen with network status - I can't test whether it has connected since it doesn't connect until I've logged on here, (just a LAN network).-4wd (December 17, 2010, 04:54 PM)
I could be missing something, but couldn't you just start the comp with the network cable unpluged, then plug it in to see the status change? The media connection state change is (basically) the same wired vs. WiFi.-Stoic Joker (December 17, 2010, 10:25 PM)

The following snippet is from T-Clock, it checks for a valid system tray/clock window handle before the hook is inserted. A stripped down version should be just what you're after:

EDIT2: Argh! The Tooltip doesn't come back when you log off-4wd (December 17, 2010, 04:54 PM)
Relaunch with logoff script?