topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday November 12, 2025, 1:02 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 60 61 62 63 64 [65] 66 67 68 69 70 ... 225next
1601
Find And Run Robot / Re: Plugin Request: Active Directory users
« Last post by 4wd on October 03, 2015, 07:46 PM »
You can do it using Powershell since it can access pretty much anything to do with ADs, eg:

Searching Active Directory with Windows PowerShell
Get-ADUser
Essential PowerShell Cmdlets for Managing Active Directory - This has good examples of searching for a user
1602
General Software Discussion / Re: Request: Deepdream frontend.
« Last post by 4wd on October 03, 2015, 02:33 AM »
Well, it ran for a while and then died. :(

Here's the console/terminal log:

[libprotobuf WARNING google/protobuf/io/coded_stream.cc:505] Reading dangerously large protocol message.  If the message turns out to be larger than 1073741824 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
Successfully loaded models/VGG_ILSVRC_19_layers.caffemodel
conv1_1: 64 3 3 3                                                        [3/276]
...
Setting up style layer          2       :       relu1_1
Setting up style layer          7       :       relu2_1
Setting up style layer          12      :       relu3_1
Killed

I'm trying again with smaller images, but don't expect different results....

I had the exact same problem, I swapped over to a VPS (running Debian 7) with twice the RAM/VSWAP and it got as far you did above.

I think it's going to take a machine with a fair bit of RAM, (eg. 16GB), before it'll do something useful.

The style image I was using is only 190x266 (12.5kB) and the picture is 160x107 (11.1kB) and it still bombs out.
1603
Living Room / Re: Tweets > 140 characters?
« Last post by 4wd on October 03, 2015, 01:39 AM »
Oddly enough, he could have gained an extra character  :P
1604
General Software Discussion / Re: Request: Deepdream frontend.
« Last post by 4wd on October 03, 2015, 01:25 AM »
@JavaJones, if you want to post some pictures in this thread, I'd be happy to try them out once it's done getting set up, if 4wd doesn't get to them first. :)

I gave up, Debian 8.1 in a VM didn't want to work so then I swapped to a VPS running Ubuntu 14.04 and while the whole installation took less than 10 minutes, the process was killed when it came to generating images due to the following:

[02:13 root@wc neural-style] >  th neural_style.lua -style_image image.jpg -content_image GEDC1428.JPG -gpu -1
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:505] Reading dangerously large protocol message.  If the message turns out to be larger than 1073741824 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
Successfully loaded models/VGG_ILSVRC_19_layers.caffemodel
Killed
[02:13 root@wc neural-style] >
1605
General Software Discussion / Re: Request: Deepdream frontend.
« Last post by 4wd on October 02, 2015, 07:25 PM »
P.S. If anyone gets the "DeepStyle" software running locally I'd love to send a few image pairs through it. I have some things I want to test. :D

For those interested in DeepDream, there's a downloadable VirtualBox VM available with it already installed, Ubuntu + Google's DeepDream.

Dodger Tools (5th image down the list) - 1.6GB

EDIT: The VM is set to German language, you can set it to English by opening a Term, editing /etc/default/locale, and then rebooting.

I'm currently installing Debian 8.1 to a VM to play with DeepStyle.
1606
General Software Discussion / Re: macro to edit a .txt file?
« Last post by 4wd on October 01, 2015, 05:43 PM »
That's because until you enter the ) the capture group hasn't been completed.
1607
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by 4wd on October 01, 2015, 03:22 AM »
I never tried it in a preview, but the spoiler in your post does nothing for me in IE, but works fine in Edge or FF.

Seems to work fine in IE11 on Win8.1Pro here in Deo's post but I can confirm it doesn't work in preview.
1608
General Software Discussion / Re: macro to edit a .txt file?
« Last post by 4wd on October 01, 2015, 01:45 AM »
How would I tell WG to find numbers 0 thru 9 and colon [:] all in one shot and make them disappear?

([\[\]\d":]) - match [, ], digits, ", or :
1609
General Software Discussion / Re: macro to edit a .txt file?
« Last post by 4wd on September 30, 2015, 08:47 PM »
WildGem

2015-10-01 11_46_22.png

Or if you want to do a global search and replace over multiple files there's Find & Replace or PSPad, both free.
1610
General Software Discussion / Re: macro to edit a .txt file?
« Last post by 4wd on September 30, 2015, 02:28 AM »
Some text sources list unwanted numbers in [square brackets], and although SedTester still removes the numbers, the square brackets cannot be removed with SedTester.

s/[][0-9\":]//g

Place the closing square bracket immediately after the opening square bracket, it'll be read as a character, and so will the following opening square bracket.

You also need to escape the quote (\") to have them removed.

2015-09-30 17_28_03.png

You could also remove double spaces created by character removal (see last two lines in example) by using a SED Script:

s/[][0-9\":]//g
s/(  )/ /g


2015-09-30 17_36_56.png

But that may screw up any space formatted tables.
1611
Living Room / Re: Quirky Asian Movies
« Last post by 4wd on September 24, 2015, 08:18 AM »
Don't know about quirky but a triplet of my favourite Japanese Sci-Fi are:

Gantz
Another Gantz
Gantz: Perfect Answer
1612
Living Room / Re: TOR Vidalia - cannot connect
« Last post by 4wd on September 23, 2015, 10:27 PM »
Try the alpha version: https://www.torproje...tall-5.5a3_en-US.exe

All I did was run it to extract, then run the Start Tor Browser shortcut, clicking Connect on the next window.

Just tried again, took 35 seconds for connection on first run, 5 seconds for subsequent runs.

Copy the folder to a flash drive and try it on another computer.

I entered Firewall and set a rule to 'allow' TOR connect & TOR exe; no success.

What TOR Connect ?
1613
Living Room / Re: TOR Vidalia - cannot connect
« Last post by 4wd on September 23, 2015, 09:13 PM »
Hasn't TOR Vidalia ceased to exist?

Now it's either TorBrowser or the main gateway/relay program.

TorBrowser 5.5a3 (latest alpha) connected OK after about a minute the first time I started it, thereafter it connected in about 10 seconds.

Only needed to allow tor.exe through the firewall.
1614
I usually install any drivers first thing after a Windows install, (then let it do its updates), if for nothing else than to let the chipset/video/SATA work optimally using the correct drivers rather than MS generics.

But seeing as it's a baseline recovery install, it's probably got all that already.
1615
Living Room / Re: Movies you've seen lately
« Last post by 4wd on September 23, 2015, 06:39 PM »
How would I get it to show just the video in full-screen?

Via streaming?

Use VLC, Media->Open Network Stream->paste in Youtube link.

Go to Tools->Effects & Filters->Video Effects->Geometry and enable Interactive Zoom.

2015-09-24 09_36_01.png

Click Hide to hide the controls after you're done.
1616
0. Remove any manufacturer bloatware  :)
1617
General Software Discussion / Re: Windows 10 Announced
« Last post by 4wd on September 23, 2015, 12:39 AM »
^Yeah, I want to vote 0 and I can't.
1618
General Software Discussion / Re: CCleaner Cloud
« Last post by 4wd on September 23, 2015, 12:36 AM »
Don't know if you had to have been running Agomo up until now to keep the 10 computer limit, (as opposed to signing up and not installing/running).

I've been running it over the same four computers since the start of the beta.
1619
General Software Discussion / Re: CCleaner Cloud
« Last post by 4wd on September 22, 2015, 11:44 PM »
The advantage is when your dad turns up and mentions that Youtube is complaining that Flashplayer is out of date and you tell him that it was updated on his computer at 11:56 this morning ;)

Or that you can also uninstall some unintentional program installations, (eg. Chrome), and see what other junk has been installed since the last time you were roped into fixing the computer without having to ring up and walk them through the steps.
1620
General Software Discussion / CCleaner Cloud
« Last post by 4wd on September 22, 2015, 07:56 PM »
Piriform's Agomo has finally come out of beta and is now called CCleaner Cloud.

Free users: If you sign up now you're limited to managing three (3) computers; if you signed up while Agomo was in beta you're limited to ten (10) computers, (you're listed as CCleaner Cloud FreeBetaUsers).

2015-09-23 10_32_17.png

2015-09-23 10_21_30.png

2015-09-23 10_33_42.png
1621
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by 4wd on September 22, 2015, 06:03 PM »
Thanks mouser!
1622
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by 4wd on September 22, 2015, 05:57 PM »
Speaking of Search, is there any chance 'Sort by' option could be moved to the result page rather than having to go into Advanced Search?

The default Relevant never seems to be AFAIAC and it's always been quicker to sort by date because I'm usually searching for a post I've already seen and therefore have a good idea of when it occurred.
1623
Living Room / Re: Is it reasonable to *require* phone nr. when purchasing software?
« Last post by 4wd on September 22, 2015, 05:27 PM »
http://www.fakenamegenerator.com/ - generate a number

Otherwise, I give them the number of a UK mobile that we use while over there, it's turned off while in Australia and the number remains active while there's credit on the account.

I've also just used a free activated SIM, with no credit on it (prepaid), because they'll still receive SMS' for any verification and I just remove it from the phone afterwards.
1624
You didn't say whether the mounted image is on the same internal drive as the copying destination.  If it is then the constant head seeking of the drive is going to slow things down a lot and you'd be better off copying from the external USB drive.
1625
General Software Discussion / Re: Windows 10 Privacy Concerns
« Last post by 4wd on September 22, 2015, 07:50 AM »
I was contemplating the idea of making your script "installable" ...

Still playing around with the next version, kind of got side-tracked (Real Life ... who needs it) I'll try and get it done in the next day or two.

The following requires:
  • An elevated Powershell console (it will immediately exit if the console isn't elevated);
  • The Windows Update Powershell Module installed.
  • Minimum Powershell version required should be v2+ since that's what WUPM requires, (I'm not sure if there's any specific cmdlets that require a later version).
  • Some knowledge of Powershell ExecutionPolicy so I'm not answering questions :)

PoSh-Update.ps1
Code: PowerShell [Select]
  1. <#
  2. .SYNOPSIS
  3.    Performs Windows updates with removal of unwanted installed and pending updates.
  4. .DESCRIPTION
  5.    Reads a list of unwanted KB numbers from PoSh-Update.ini and uninstalls them from
  6.    the system and hides them in pending updates.
  7.    Optionally installs any other pending updates.
  8. .REQUIREMENTS
  9.    Powershell v2+
  10.    Windows Update Powershell Module (https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc)
  11.    Elevated Powershell console
  12. .INSTALLATION
  13.    Extract files to a folder, PoSh-Update.ini is to reside in the same folder as
  14.    PoSh-Update.ps1
  15.  
  16.    See included PoSh-Update.ini for format.
  17.  
  18. .PARAMETER <paramName>
  19.    None
  20. .EXAMPLE
  21.    C:\PoSh-Update> powershell.exe -noprofile -executionpolicy bypass -File ".\PoSh-Update.ps1"
  22. #>
  23.  
  24. #Requires -runasadministrator
  25.  
  26. $ErrorActionPreference = 'silentlycontinue' # Prevent error messages screwing up my nice output
  27. $global:restart = $false                    # Flag for restart requirement on (un)install
  28.  
  29. # Checks passed KB number against updates installed on system, attempts to uninstall if found
  30. Function Check-Installed {
  31.   Param(
  32.     [String]$KB
  33.   )
  34.  
  35.   if (!(Get-HotFix -Id $KB)) {
  36.     Write-Host $KB": Not installed" -ForegroundColor yellow -NoNewline
  37.     Return $false
  38.   } else {
  39.     Write-Host $KB": Found, attempting uninstall" -ForegroundColor red -BackgroundColor Black -NoNewline
  40.     $command = "wusa.exe"
  41.     $args = "/uninstall /quiet /norestart /kb:" + ($KB -replace "kb","")
  42.    
  43.     $proc = Start-Process $command -ArgumentList $args -Wait -PassThru
  44.     switch ($proc.ExitCode) {
  45.       0       { Write-Host " Successful " -ForegroundColor Green -BackgroundColor Black }
  46.       3010    { Write-Host " Successful - restart required " -ForegroundColor Green -BackgroundColor Black;
  47.                 $global:restart = $true
  48.               }
  49.       default {
  50.         Write-Host " Failed (Exit code:" $proc.ExitCode")" -ForegroundColor Red -BackgroundColor Black;
  51.         Write-Host "See https://support.microsoft.com/en-us/kb/290158 for an explanation"
  52.               }
  53.     }
  54.     Return $true
  55.   }
  56. }
  57.  
  58. # Function to search list of pending updates for occurance of passed KB number from
  59. # unwanted list
  60. Function Check-Pending {
  61.   Param(
  62.     [string]$KB
  63.   )
  64.  
  65.   for ($i = 0; $i -lt $updCol.Count; $i++) {
  66.     if ($updCol[$i].KB -imatch $KB) {
  67.       Write-Host ", " -ForegroundColor Yellow -NoNewline
  68.       Write-Host "found pending," -ForegroundColor Red -BackgroundColor Black -NoNewline
  69. # Try hiding the update
  70.       Hide-Update $KB
  71. # Remove from Update collection regardless of result since we don't want it
  72.       $global:updCol.Remove($updCol[$i]) # | Out-Null
  73. # Return TRUE if it was found
  74.       Return $true
  75.     }
  76.   }
  77. # If it wasn't found then there's no reason to hide it
  78.   Write-Host " or pending" -ForegroundColor Yellow
  79.   Return $false
  80. }
  81.  
  82. # Function to hide an update using KB number
  83. Function Hide-Update {
  84.   Param(
  85.     [string]$idKB
  86.   )
  87.   $test = (Hide-WUUpdate -KBArticleID $idKB -Confirm:$false)
  88.   if ($test.Status -match "H") {
  89.     Write-Host " successfully hidden" -ForegroundColor Green
  90.   } else {
  91.     Write-Host " hiding unsuccessful " -ForegroundColor Red -BackgroundColor Gray
  92.   }
  93. }
  94.  
  95. Function Install-Updates {
  96. # Convert array of remaining KB IDs to string using Output Field Separator ($ofs)
  97. # then pass to Get-WUInstall
  98.   $ofs = '","'
  99.   $KBList = '"'+[string]$updCol.KB+'"'
  100.   Get-WUInstall -KBArticleID $KBList -AcceptAll -IgnoreReboot -Verbose
  101. }
  102.  
  103.  
  104. # Read list of unwanted KBs into an object
  105. $uwList = Get-Content PoSh-Update.ini
  106. # Fetch list of available updates into an object
  107. Write-Host "Fetching list of pending updates from Microsoft servers ... please wait" -BackgroundColor Black
  108. $updates = Get-WUList -MicrosoftUpdate -IsNotHidden -NotCategory Driver
  109. Write-Host $updates.Count "pending update(s)" -BackgroundColor Black
  110.  
  111. $global:updCol = {$updates}.Invoke() # Copy object array to collection so we can remove items
  112. $init = $updCol.Count                # Initial number of updates before cull
  113.  
  114. # For each item in the Unwanted list, iterate through collection to check for installed/pending
  115. $uwList | foreach {
  116.   if (!(Check-Installed $_)) { Check-Pending $_ | Out-Null }
  117. }
  118.  
  119. # Results of cull
  120. Write-Host ""
  121. Write-Host "PoSh-Update.ini contained a total of" $uwList.Count "update(s) to ignore." -BackgroundColor Black
  122. Write-Host "A total of" ($init - $updCol.Count) "update(s) removed from pending update list." -BackgroundColor Black
  123. Write-Host "There is/are" $updCol.Count "update(s) left to install." -BackgroundColor Black
  124. Write-Host ""
  125.  
  126. # If a restart was indicated during uninstallation, indicate it otherwise offer to install
  127. # remaining updates
  128. if ($restart) {
  129.   Write-Host "A restart was indicated to complete uninstallation of one or more updates." -ForegroundColor Yellow -BackgroundColor Black
  130.   Write-Host "Please do so before attempting installation of further updates."
  131.   Write-Host ""
  132.   Write-Host "You may re-run this script after a restart."
  133. } else {
  134.   Write-Host "Preparing to install remaining updates:"
  135.   $updCol | Format-Table KB, Status, Size, Title -AutoSize
  136.  
  137. # Simple Yes/No requester
  138.   $a = new-object -comobject wscript.shell
  139.   $intAnswer = $a.popup("Continue with installation:", 0, "", 4)
  140.   If ($intAnswer -ne 6) {
  141.     Exit       # No
  142.   } else {
  143.     Install-Updates
  144.   }
  145. }

Execution:
Extract PoSh-Update.ps1 and PoSh-Update.ini to a folder.

Open an elevated Powershell console, change to the folder:
powershell -noprofile -executionpolicy bypass -File "PoSh-Update.ps1"

What it does:
Checks for the existence of certain KB hotfixes, (read from the file PoSh-Update.ini, one per line), if it finds one it will attempt to uninstall using WUSA, it will also mark the update as Hidden so it's not downloaded in the next auto-update.

NOTE: Checking and uninstalling updates takes a few minutes, don't be impatient.

Sample output:
2015-09-23 12_08_31.png

USUAL DISCLAIMER: It works for me.
Pages: prev1 ... 60 61 62 63 64 [65] 66 67 68 69 70 ... 225next