topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday May 6, 2021, 8:12 am
  • 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 4wd [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 219next
1
[ Invalid Attachment ]Tiny helicopter on mars

They screwed up, the rotors should be contra-rotating.

2
Living Room / Re: Does anyone here use Bitcoins?
« on: April 24, 2021, 08:28 AM »
So anyway I thought I'd lump this in with Bitcoin rather than start yet another crypto thread.

Not content with causing graphic card shortages it looks like we'll now have to contend with drive shortages caused by crypto.

Behold "Proof of Space and Time" crypto: Chia

Hard drive shortage ahead of debut

The sooner this planet suffers a zombie apocalypse, the better.

3
I find Osmand a little slow for navigation, (probably not a problem for walking).

Another alternative:
  • Install Maps.me
  • Go to Wikiloc and download your track in KML format, (Google Earth)
  • When it's downloaded, go to files, hold your finger on it, and choose to open it with Maps.me
  • Maps.me will load it and save under bookmarks, (the star in the menu strip)
  • Open bookmarks and select it, Maps.me will display it and automatically download the required map area

4
Aren't you glad there is no Windows Phone anymore?  Mine came with off-line maps already build in. And could use cellular masts to do a "poor man's GPS" triangulating position. Used it in this city myself (on foot), some 4 years ago, maybe 5 by now.

Same as Android's Low Accuracy Location mode - it will use mobile and WiFi networks for location, (and lower battery drain), when GPS is turned off or there's no signal.

However, it is very inaccurate if you don't have reception from at least three towers, (pretty much how GPS is useless without 3 satellite signals on cold start).

And technically it's trilateration :)

A bit more trivia:
Triangulation would require two receivers at two different locations, (or one receiver moved between two locations), because it uses angles to get the distance from the towers.
Trilateration only requires one receiver at one location but uses three transmitters. It uses the broadcast transmitter position along with signal strength, where the transmitter radio spheres intersect is your location.

If you've ever logged your GPS track and lost GPS coverage but still have mobile coverage from one tower, you'll see that the track will sometimes jump to the location of the tower.

5
Have you ever heard of the ancient artefact that us older folks call: "A Map"?
-Stephen66515 (April 22, 2021, 03:29 AM)

Only good if you know how to find yourself on it, which, oddly enough, most people don't these days.

@contro: Any app that can use offline map data, this includes Google Maps.
Google Maps->Menu->Offline Maps->Select Your Own Map->Select the area->Download.

Most other offline map apps will use OpenStreetMaps.

6
Living Room / Re: Movies you've seen lately
« on: April 19, 2021, 12:03 AM »
A bystander who intervenes to help a woman being harassed by a group of men becomes the target of a vengeful drug lord arms manufacturer.

Highly recommended if you like lots of violence ...

A little change to the plot line and you have: Shoot 'Em Up.

7
I don't think changing the download location could magically claim lost space in c:\

It would actually, when you change the location, part of the process is to ask you if you want to move the existing files to the new location, to which you'd answer "Yes".

Instant 40GB+ drive space freed up.

If you're trying to say, in a round about way, that you have no other drive than C: then you're right ... and you could have said this earlier.

8
Living Room / Re: Looking for alternative script to search site
« on: March 30, 2021, 07:02 PM »
First try was with Vivaldi (still doesn't work after third verification).

Just tried the Presearch one above in Vivaldi, (Vivaldi   2.9.1699.4 (Official Build) (64-bit)), and it worked OK - had to double-click the bookmarklet.

9
Run WizTree, when it's finished, drill down on the left side to the directory that's using the most space, then take a screenshot of the WizTree window, (including the right side), and post it here ... because atm we have no idea what we're dealing with.

It could be 150GB of AVIs, 130GB of old Windows patches, 160GB of VM VHDs ...

eg. 2021-03-31 11_06_50-[C_] SSD 8x64  - WizTree.jpg

Largest thing I've got is Docker's VHDX.


A suggestion, never, ever download stuff to your C drive. Microsoft might think this is the greatest idea on Earth, having a single drive in which everything is stored in a directory tree from Hell but it isn't, it's a shit idea.
(I'd expand it to anything that's not the OS you don't have on C unless absolutely necessary.)

BTW, to bypass the Recycle Bin use Shift+Delete.

10
Living Room / Re: Looking for alternative script to search site
« on: March 30, 2021, 06:00 PM »
NOTE: This was all written on a tablet, tables would have looked better but editing on a tablet is painful to say the least. (It actually looks better in Preview than Posted.)

So basically, if Presearch is selected, then this is the part i would use
%22http://engine.presearch.org/search?q=%22+q.replace(/\s+/g,%22+%22)
to replace Google's?

Not even that much, google.com -> engine.presearch.org, everything else is the same.

Don't look at the JavaScript, look at example search URLs from the search engines themselves:
https://   www.google.com          /search?q=mouser+site%3Adonationcoder.com  (Google - original)
https://   engine.presearch.org    /search?q=mouser+site%3Adonationcoder.com  (Presearch)

https://   www.google.com/search     ?q=mouser+site%3Adonationcoder.com  (Google - original)
https://   qwant.com/                ?q=mouser+site%3Adonationcoder.com  (Qwant)
https://   duckduckgo.com/           ?q=mouser+site%3Adonationcoder.com  (DDG)
https://   startpage.com/sp/search   ?q=mouser+site%3Adonationcoder.com  (Startpage)

The second section in each case is the minimum that needs changing.
All other sections of test searches on the engines are identical.

NOTES:
  • I removed unnecessary crap from the example URLs, eg. setting strings, tracking, etc, so all are the minimum that are required for them to work.
  • www.google.com is google.com in the bookmarklet.

Did use 4wd's last script and it isn't responding.

I tested all four of the ones I changed and they all worked for me. The Presearch version in the last post was a copy/paste of the previous, which was copy/paste out of my browser, (Opera).

11
WizTree - Find out where the space is being used first.

12
Living Room / Re: Show us a picture of your.. CAR!!!
« on: March 30, 2021, 12:24 AM »
I couldn't give a shit less about CO2 or any of that, but electric motors are AMAZING.

Meh, broaden your horizons and go for a Koenigsegg Gemera  ;)

Combined power output of 1700 bhp
Power output from the three motors – one for each rear wheel producing 500 bhp and 1000 Nm, and one E-motor on the crankshaft that produces an extra 400 bhp and 500 Nm to power the front wheels – add up to 1400 bhp as individuals and 1100 bhp when combined. In addition to the TFG’s 600 bhp (at 7500 rpm) and torque of 600 Nm (2000 rpm to 7000 rpm), the combined power output of the Gemera is 1700 bhp or 1.27 MW.

The most amazing part of the car is the TFG, (Tiny Friendly Giant), engine: 600hp from a 2 litre, 3 cylinder, multi-fuel, twin-turbo, cam-less design.

Never really got the hype about the Bugatti Veyron, 1000hp from a W16 engine ... whereas Koenigsegg had 900hp -1600hp from V8's on biofuel, far better engineering IMHO.

13
Living Room / Re: Looking for alternative script to search site
« on: March 29, 2021, 09:28 PM »
Let's start with a site search on Donationcoder for mouser in Google, you'd enter:
Code: Text [Select]
  1. mouser site:donationcoder.com

After hitting Enter the URL becomes:
Code: Text [Select]
  1. https://www.google.com/search?q=mouser+site%3Adonationcoder.com

Same search on Presearch gives a URL of:
Code: Text [Select]
  1. https://engine.presearch.org/search?q=mouser+site%3Adonationcoder.com

Your original bookmarklet, (which is what a bookmark consisting of JavaScript is generally called):
Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://www.google.com/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

Within it is the same format site search URL as for Google above, (%22 is HTML escaped ASCII for quote, " - ignored for the purposes of simplified explanation):
Code: Text [Select]
  1. http://www.google.com/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname
You have code replacement for your entered search term:
Code: Text [Select]
  1. q.replace(/\s+/g,%22+%22)
ie. mouser
And addition of the current site URL:
Code: Text [Select]
  1. location.hostname
ie. donationcoder.com

The format of the search terms is basically identical between Google and Presearch, shown above in the individuals URLs, this bit:
Code: Text [Select]
  1. q=mouser+site%3Adonationcoder.com

The only difference is the base URL:
Code: Text [Select]
  1. https://www.google.com/search?
Versus:
Code: Text [Select]
  1. https://engine.presearch.org/search?

So it becomes a simple text replacement to switch from Google to Presearch, the same applies to the other search engines listed above, so the bookmarklet becomes:

Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://engine.presearch.org/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

So no coding required, just observation ;)

BTW, haven't bothered explaining the rest of the JavaScript involved because:
  • it's not really relevant to the original query and,
  • I'd have to read up to understand it also :P

14
Living Room / Re: Looking for alternative script to search site
« on: March 29, 2021, 06:28 PM »
Did try to replace Google.com with Qwant.com and it doesn't work.

Qwant doesn't use the search keyword:

Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://www.qwant.com/?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

Neither does DDG:

Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://duckduckgo.com/?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

Startpage different again:

Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://startpage.com/sp/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

Presearch:

Code: Javascript [Select]
  1. javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://engine.presearch.org/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);

Just input the search into an engine and use the relevant part of the URL:

https://engine.presearch.org/search?q=thought+site%3Adonationcoder.com

15
Me don't understand .
1. Is a portable program ?

They're standard Windows commands, no need to carry them around.

Code: Text [Select]
  1. tree <dir> | clip

16
Living Room / Re: Looking for alternative script to search site
« on: March 29, 2021, 11:46 AM »
Without seeing the script it's a bit hard to comment but you should be able to change any occurrence of google.com to qwant.com, (my default search engine), I believe the query format is similar.

17
... but with many files I can see no reason for the different modified date / size.

This could be due to metadata, adding metadata will increase the file size without affecting the image.

Usually I resort to something like Beyond Compare or enable the extra metadata fields in DOpus.

My personal preference in this case would be to combine the separate file structures onto another drive, any filename clashes would be auto-renamed.
Then I'd run Antidupl, (set at 0%), over that file structure to remove dupes, (ie. leave the original sources alone).

I've had to do this twice for friends whose backup software was doing recursive backups ... it was fun removing a couple of hundred GBs of dupes 🙄

I found it was the fastest method, do the copies then let Antidupl take care of working out what could be removed based on image data, (they did not have any metadata requirements so I could ignore this).

18
I would think a UserScript would be a better option, have the links replaced directly in the page.

BTW, just tried a search on Ancestry and it comes back with full links here, (wife uses Ancestry all the time via the local library portal).

19
An opinion piece on the current NFT craze:

NFTs Are a Pyramid Scheme and People Are Already Losing Money

“NFTs are entirely for the benefit of the crypto grifters. The only purpose the artists serve is as aspiring suckers to pump the concept of crypto — and, of course, to buy cryptocurrency to pay for ‘minting’ NFTs.”

20
Living Room / Re: Free eBooks
« on: March 12, 2021, 01:36 AM »
ffmpeg Quick Hacks - Free to celebrate 1 year in publishing by V. Subhash

Original Reddit post

21
General Software Discussion / Re: Any taskbar hiding applications?
« on: March 10, 2021, 05:48 AM »
TaskbarActivate still works under Windows 10, increase the delay before the Taskbar is expanded.

22
Living Room / Re: Gadget WEEKENDS
« on: March 08, 2021, 02:03 AM »
love to hear how you're going to use it..

I'm thinking image classification atm, there's a few projects on GitHub that use TensorFlow (Lite) so I thought I might have a play around.

Having spent quite a few hours classifying hundreds of digital photos which is just a drop in the thousands I have, it'd be nice to see if the Accelerator can speed up the process by using low powered hardware rather than having a full desktop doing it.

Plus it's cheap enough that it's worth playing with.

It could also end up sitting in a drawer because I've decided to put it in the "too hard basket"  :P

23
Living Room / Re: Gadget WEEKENDS
« on: March 07, 2021, 10:26 PM »
Something new in my quest to turn my RasPi into SkyNet: Coral Accelerator

IMG_20210308_145603.jpg

The Coral USB Accelerator adds an Edge TPU coprocessor to your system, enabling high-speed machine learning inferencing on a wide range of systems, simply by connecting it to a USB port.

...

The on-board Edge TPU coprocessor is capable of performing 4 trillion operations (tera-operations) per second (TOPS), using 0.5 watts for each TOPS (2 TOPS per watt).

24
I do have a fast thumb drive that I've been using.  Of course it sticks out of the side, daring me to break it off.
You could get one of those tiny usb sticks, I've only seen them go up to 64gb though.

SanDisk Ultra Fit is available up to 512GB and the Samsung Fit Plus up to 256GB.
The previous version of the SanDisk Ultra Fit used to get very hot and throttle the transfer speed badly, I have one.
No idea what the new version is like.

I also have a 128GB Integral Fusion flash drive, very small and works pretty well for a brand I'd never heard of before, they're available up to 512GB.

25
I found a tutorial on youtube, and apparently you have to take the whole bloody thing apart to access it.  Like really, the laptop is in pieces before you can get to the RAM.

My Dell has to be completely disassembled if I want to change the RAM or SSD, no fun at all after doing it twice.

Yours actually looks easier so it shouldn't be a problem to just change the HDD for an SSD if work allowed it and considering it's a 6 y.o. 2.5" mechanical drive, (if it's original), that would probably be the best way to increase the storage, longevity, speed, and decrease the weight.

Pages: [1] 2 3 4 5 6 ... 219next