Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Internet Poker > Software

Notices

Software Discussions about gambling-related and poker software.

Reply
 
Thread Tools Display Modes
Old 04-27-2011, 05:47 PM   #5671
newbie
 
Join Date: Feb 2011
Location: Estonia
Posts: 21
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

Quote:
Originally Posted by _dave_ View Post
If you don't know about command line I wouldn't try that for now.

In my PgAdmin, once you've "connected to server" - it's in the menu at the top at "Tools -> Restore"

it may restore straight off the bat, or you might need to use HEM to create a new empty database first to restore into.
The thing is, the restore button from the tools dropdown menu is not active, i cannot click on that
ollu is offline   Reply With Quote
Old 04-27-2011, 05:57 PM   #5672
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

you need to "connect to the server" first, from the treeview on the left side of PgAdmin
_dave_ is offline   Reply With Quote
Old 04-27-2011, 07:19 PM   #5673
newbie
 
Join Date: Feb 2011
Location: Estonia
Posts: 21
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

i have done that, but still cant push restore
ollu is offline   Reply With Quote
Old 04-27-2011, 07:31 PM   #5674
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

oh, it seems you need to have selected in the treeview a database, nothing else will do. If you don't have any, right click -> new database will get you one.
_dave_ is offline   Reply With Quote
Old 04-30-2011, 07:11 PM   #5675
Carpal \'Tunnel
 
steel108's Avatar
 
Join Date: Feb 2006
Location: The Bike
Posts: 7,153
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

I didn't want to start a thread in CTH forum over something so trivial so figured I would post here:

I had 16GB of RAM installed (4x4GB), but I had to remove one to insert a new CPU fan (i7-2600k stock fan SUCKS). I have 12GB now and the motherboard booklet said something about only using 3 slots instead of 4, but I had no clue what it meant and I threw away the booklet. What are the effects of only using 3 slots? I remembered something about averaging 2 of the slots or something...... Thanks.
steel108 is offline   Reply With Quote
Old 04-30-2011, 08:35 PM   #5676
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

no big deal. chances are it's talking about a "dual channel memory controller", so it goes a tad faster if it has only pairs to work with.

oops I read wrong! below answer is correct. it should be slightly faster in threes, the intel i7 has a triple channel memory controller.

Last edited by _dave_; 05-02-2011 at 12:06 AM.
_dave_ is offline   Reply With Quote
Old 05-01-2011, 06:39 PM   #5677
old hand
 
ItsOnlyChips's Avatar
 
Join Date: Nov 2003
Location: Canada
Posts: 1,290
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

@steel108

DDR3 memory works more efficiently in sets of three

if u want to be absolutely sure about the memory config, the motherboard manual is easily downloadable via the manufacturer's website

might be worth ur time to check it because some motherboards specify certain slots to use for maximum efficency
ItsOnlyChips is offline   Reply With Quote
Old 05-01-2011, 10:07 PM   #5678
grinder
 
Tyler's Avatar
 
Join Date: Aug 2004
Location: Forward.
Posts: 579
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

anyone know how to have an AHK automatically send a hotkey when a new table becomes active on Merge? Merge's wingetclass is 'swt_window0'.

i'm trying to make a merge betpot
Tyler is offline   Reply With Quote
Old 05-01-2011, 11:57 PM   #5679
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

easy enough method: (not tested code)

method: repeadedly get the id of active window, keep note what it was before and see if it's changed yet

Code:
currentwin := "" ; make a variable to compare against later
SetTimer, CheckMergeActiveWindow, 1000 ; run every second

CheckMergeActiveWindow:
Winget, id, id, A ;get the id of currently active window
Wingetclass, class, ahk_id%id% ; get it's class
if (class == "swt_window0") 
{
  ; it's a merge window
  if (id != currentwin)
  {
    ;doesn't match so it's a different window
    currentwin := id ; save it's id for next comparison
    ; do whatever function is wanted here
  }
}
return

Last edited by _dave_; 05-02-2011 at 04:29 AM.
_dave_ is offline   Reply With Quote
Old 05-02-2011, 02:23 AM   #5680
grinder
 
Tyler's Avatar
 
Join Date: Aug 2004
Location: Forward.
Posts: 579
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

Thanks, but it gives me two errors. Probably easy to fix but I don't know how:

Tyler is offline   Reply With Quote
Old 05-02-2011, 04:29 AM   #5681
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

edited above, may work now. I had :: (hotkey identifier) instead of a single : (subroutine identifier)

and the WinGet line was missing a parameter.

I did say untested (still is btw, i'm just typing it straight in to 2p2)
_dave_ is offline   Reply With Quote
Old 05-03-2011, 10:10 AM   #5682
grinder
 
Tyler's Avatar
 
Join Date: Aug 2004
Location: Forward.
Posts: 579
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

Thanks! I got it to work by changing

if (class == "swt_window0")

to

if class=swt_window0
Tyler is offline   Reply With Quote
Old 05-03-2011, 12:13 PM   #5683
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,214
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

== is case sensitive
greg nice is offline   Reply With Quote
Old 05-06-2011, 04:07 PM   #5684
Carpal \'Tunnel
 
steel108's Avatar
 
Join Date: Feb 2006
Location: The Bike
Posts: 7,153
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

After figuring out what to search for based on the language used in the responses, everything seems to say that the Sandybridge uses dual memory. I'm still trying to figure out if using 3/4 will have any negative impact.
steel108 is offline   Reply With Quote
Old 05-06-2011, 04:32 PM   #5685
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,188
Re: ** Quick Questions & Answers Thread ** LC / OT (aka: "Ask _dave_ & Juk")

googling to confirm it seems sandy bridge platform is indeed dual channel for now.

it sure won't be anything serious. slight drop off in benchmarking numbers if it's not in ideal configuration. I certainly wouldn't lose another 4GB just to make it "balanced".

you can always test it though, memtest86 gives you throughput numbers, and I'd imagine most benchmarking programs do too. I'm not familiar with what is current these days though.
_dave_ is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 12:07 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive