win32
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v160/Hydrus.Network.160.-.Win32.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v160/Hydrus.Network.160.-.Win32.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v160/Hydrus.Network.160.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v160/Hydrus.Network.160.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v160/Hydrus.Network.160.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v160.tar.gz
I had a pretty good week. I was a little short on time, but I added some neat things and fixed some important bugs.
proxy prototype
A user requested proxy support a little while ago because their ISP was censoring 4chan. I have written a very basic prototype for http, socks4, and socks5 support–look in the normal options dialog for the new 'connection' page.
I used free proxies to test this, as I don't have one of my own, and I found it to be very buggy. Sometimes it would work fine, sometimes it would say the 'remote host refused the connection'. This could be the free proxies being choked and just turning down some requests and me not handling the error properly, or it may be that I coded this wrong. My networking engine is a bit hacked together, and I would like to slowly improve it over the coming months, which as well as improving reliability for proxying will allow for better error management, resource usage, and the ability to fine-tune proxying to only work for certain types of request–at the moment, proxying is client-wide.
So, if you have need for proxying, please try this out and then report what sort of experience you have, be that no problems at all or only errors.
custom ratings colours and shapes
You can now set some new options for your ratings. Check them out in services->manage services.
Other than the obvious colours and shapes, you can set numerical ratings to not allow a 'zero' rating. This means, for instance, that you can't set 0/5 for a five star rating, only 1/5 through 5/5. This slightly changes the mouse-click behaviour of the control.
If you have a lot of existing ratings for a numerical service and want to change its 'allow zero' value, make sure you increment or decrement the number of stars so that the number of possible ratings to assign to a file remains the same, otherwise your existing ratings might get changed. e.g. If you have a 4-star rating that allows zeros, there are five possible ratings, from 0 to 4. If you change it to not allow zero ratings, bump it up to a 5-star rating at the same time so there are still five possible ratings, from 1 to 5. If you don't understand this, I can explain it more, but for now don't touch 'zero allowed' if you have a lot of rated files.
quick autocomplete entry
You can now type something real quick into the tag autocomplete entries and hit enter and it will go straight through! You don't have to wait for the db to fetch autocomplete results–if you hit enter and the results are not yet loaded, whatever was in the text box will go through. I hope this makes searching and tagging a lot easier!
The siblings manager steps in as well, so if you type in 'mmd' and hit enter, you'll get mikumikudance.
rows/s
I screwed up the rows/s calculation last week. The numbers were ok, but due to a typo the average wasn't being updated correctly. You may have been scratching your head at something like 12 rows/s. I have fixed this and further improved the accuracy of the initial time calculation, and I have changed the update popup to show 'content rows' rather than 'content parts', so the rows/s should mean something more useful.
At peak, in idle mode, my aging dev computer typically gets 1,300 rows/s. I'm pleased with that number, but I've done a little more profiling, and I think I can double it in idle mode.
full list
- added options for http, socks4, socks5 proxying
- improved some network-related errors
- ratings services can have custom border and fill colours for their various states
- ratings services can now also be squares or stars instead of circles
- numerical ratings services can disallow zero ratings
- fixed the JSON parsing error that broke the thread checker
- shrank the width of the thread checker to make it a little less ugly
- the autocomplete tag search dropdowns will now accept and search with quickly entered text
- this new system will substitute siblings in the manage tags dialog
- fixed rows/s average calculation
- rows/s is more accurate
- content update popup string update is less laggy
- content update popup now shows content rows, rather than content parts
- removed update 'taking a break' component, as it was not doing the job I wanted it to
- db debug profile mode can now be turned off lol
- fixed an error from middle-clicking greyspace in the linux notebook tab area
- general code cleanup
- some string conversion code cleanup
- fixed a missing canvas bmp error with flash/flv embed buttons
next week
I want to sort out animations on Linux and OS X, which I have put off for too long. Beyond that, a bit of code cleaning and generally working my list. I also have a lot of github issues that I want to put some time into.