Showing posts with label trade. Show all posts
Showing posts with label trade. Show all posts

Thursday, 5 July 2018

Trade... Post Brexit....

Lets get serious, when the UK leaves the EU there's going to be huge ramifications to our trade... But I think there's a solution...

TRUMP... Oi, Trump.. We want a free-trade agreement with Chichester...

Our reciprocation?.... Well we'll consider giving you this....


Thursday, 19 February 2015

Elite Dangerous - Trading Tools - Office & Server Update - Progress Pt11

Update: You can now support this project at Patreon!

Where have I been?  And what have I been doing?

Well, I've not been coding, not one line of new code has passed my finger tips.

What has been happening though is a complete remodelling of my office and work area, I've been to ikea and on my zero dollar budget (yes, no-one has yet dipped into their pocket to sponsor this project) I got a very cheap new table, a monitor rising shelf and made my power arrangements safe.

This new work area has then seen over 18 hours of solid testing, from system to system, station to station, collecting data.  As well as using the analysis tool to make advantage of it.

My next quest/test will be to allow manual editing, or at least suggested editing, of the database to remove, or correct those sometimes mis-detected names of commodities.

The test after that will be to go and find some rares, see how they process out, and begin a list of them spotted, so as they can be highlighted in the analysis tool.

The data collection server is also a priority now, the old Power Edge 2650 machines have been decommissioned, and I've actually donated them to a charity so they can perhaps sell them and make some money.  The new server is a Pentium 4 based box, which will be running Ubuntu Server, or maybe Arch... Though in the long run a Raspberry PI 2 running Arch may take over, if suitable network storage can be arranged, or if I can power a 2.5" 5V HDD from the Pi itself via USB for storage.

Cheap cheap, this is the way.

I've had more correspondance from potential users and people just asking for the program, it's not ready folks, help me to help you by supporting the project with a donation, or through patreon.

As for those still asking "why", simply because I don't want to run on my computer things others have written, I find some tools collecting market data must be simply opening the Elite Dangerous process, getting the tokens set to read the memory and slurping out all the data they want.  Frontier asked other projects to stop doing that, so we won't even state.

And then why am I doing this alone?  Because I like to code, it's my profession, not just a hobby, this isn't just a script thrown together in Python, or a slap dapse executable thrown out there with who only knows what malware attached, no this is a formal project, with revisions, a coding standard and it's letting me get to grips with OCR, something I've always thought about needing, but never got to use.

More updates at the weekend folks.


Update: You can now support this project at Patreon!

Monday, 9 February 2015

Elite Dangerous - Trading Tools - User Privacy - Progress Pt10

Update: You can now support this project at Patreon!

The boring bits of the Elite Dangerous Trade data tool... Yes, this weekend I've been checking as to what information I can extract without wanting to draw the ire of Frontier... Using OCR you can pretty much read anything, at least here in the UK, so long as I don't represent this as my data and I don't charge anything to access the information.  Which I never will.  Then we're free to collect information.

I believe tools like this go one step further, because you can argue we'll be showing off the internal complexity of the markets in the game and so perhaps selling the trade side of the game.

Anyway, as part of the boring bits, I also have to check with you, the users, what you want to let the program do.


Now clearly, by downloading the program you accept it's going to run on your computer... You do get that yes?... I had one guy, well lets say, he's a bit slow, he didn't realise I was writing a program, he asked to be a tester and when I handed him the exe I got this very puzzling reply... "Where's the script"... it's a program mate.. a program... an executable.

Anyway, the one thing you guys get to control is what, if anything, the program is going to do with your data, both the information - like your name you type in - and the actual trade data you collect.

So, I've got some questions being asked, and a new configuration file which lets you take control of whether you share your data etc....

This is the penultimate build which is behind closed doors, I'm soon going to be able to collect this data to my server, so we'll start to see the application out there for download and more of you to try it.

However, I do still need more testers... Comment below to volunteer!
Update: You can now support this project at Patreon!

Saturday, 7 February 2015

Elite Dangerous - Trading Tools - General Update - Progress Pt9

Update: You can now support this project at Patreon!

Right, it's been a week, but I've not rested on my laurels with the Elite Dangerous Trade Data Collection, prior to my spending sometime playing the new Beta 1.0 and Beta 1.1 I had taken my first pilgrimage to Earth:

But it gave me a chance to test some of the commodity capturing, especially in the stations with lighter hangar backgrounds.

Capturing went all well...

As you can see, we have Sol XML data.  I visited the three earth stations, the moon station, Mercury and the platform at Venus.  It was interesting to immediately see taking Gold from Mercury or Venus to Earth was as profitable as my run taking Gold between LHS1914 and FK5 2550 - the main run I had been doing previously.

other asthetic changes I've made is just making the console application look better, it is a console application to collect the image data, because it doesn't need to take a lot of processing power to tell you what it's up to.
Under the hood I'm also adding user friendliness, as I had the process Id being manually entered, but this meant people had to open task manager, add the process id column and a bunch of other stuff, which people just didn't want to do.  Least not my two lazy ass testers - I NEED BETTER TESTERS!

So, now the application will enumerate through the windows, find one named the same as the Elite Dangerous client and try to use that process id, before it'll give up and just ask you to enter the correct Process Id.

Monday, 2 February 2015

General Update

I've been a busy boy this weekend, I've ordered some new network wire to bring Cat 6 Ethernet directly to the upstairs bedrooms, so I have that to fit out, I've organised all my finances after the house move and everything.

I've retired my two Dell Power Edge servers - just because they were so loud - and I've got a whole bunch of pictures of them for their going on e-bay later this week - they'll be sold as a batch lot, as I basically use one as parts for the other, but they're not shabby, the heavily used on is is ironically one of the cleanest machines I have.

Their replacement is a much more suitable Pentium 4 PC - my old World of Warcraft & Eve-Online machine in fact, it's a massive downgrade in power - we're going from dual 64bit Xeon's on a server chassis to a 32bit 2001 Pentium 4.  But it's all about getting away with leaving the PC running in the front room, where it'll be part of my internet provision of services.

I've also been servicing and modding my Saitek X45 joystick, I've got a friend of a friend sorting out a set of new springs for me, I've looked carefully at modding the handle, and also had the thing in pieces to discover what's inside.  I maybe putting together a whole post on this alone, as there are not many or much good information about this solid old stick on the interwebs.  Mine being 12 years old it's lasted a long time with no intervention.  It's played me through MS Combat Flight Simulator, the original IL2, IL2 Forgotten Battles and IL2 1946.

It started to get a little funky in War Thunder last month, I noted I could not keep my 109's from pulling oddly, I thought it was a trimming issue, but it was actually the lack in my spring.

Anyway, as I say, more about all that later.

In Elite-Dangerous, I've been out and about in the universe, I've taken my pilgrimage to Sol, I arrived there last night, and docked at Abraham Lincolm station just as Australia was coming into view below.  I'm going to take a better look tonight.  However, on the way, though I have a fuel scoop I did decide to stop off and dock at a station, just to update my save at that point.  The Commodity reading software worked a treat, even on the system name it had never been trained on before.  Going forward I need to improve the capturing sequence, as it's a little clunky even for me; and I created it; but data capture is working out really well now.  Capturing and the reading of the commodities, with my myriad of little updates and string swaps is working extremely well.

Aside from changing the capturing to be more, shall we say, slick; I'm also going to be adding threaded operation to the OCR, so as I can leverage some of the multi-core features on machines to speed up the reading process.  There is a notable delay at the moment between the images being captured and the OCR kicking in.  Yes, part of this is writing the images as bitmaps to disk, but the major delay is the serial nature of it going down the list, I may as well go down two different parts of the lists at the same time!

Apart form selling the Dell servers, I'm also going to be selling a really nice 1024x768 resolution CRT monitor, my last CRT monitor.  I'm only selling it because it's being retired along with the servers, it was their heads up display.  But it's one of those crystal clear displays perfect for coding with.

I'm also going to be selling the Samsung CLP-320 laser printer, because... well, despite being only 4 years old it's not survived, it still works, but there are fading in and out on the printing, I've replaced the toners (at a hell of a cost) and so I can only conclude it needs some tinkering with or servicing, which I don't want to do.  So I'll go out the door for spares & repairs on ebay.

If I get a decent price for all these bits of stuff I'm selling, I may be looking to get myself the £160 X55 Rhino flight stick, but this is perhaps a pipe-dream with the financial situation as it is.

Monday, 26 January 2015

Elite Dangerous - Trading Tools - OCR - Progress Pt7

Help Sponsor me and this project now! Click here for details:


Over the weekend I've been working on the collection of data, so I've been to a few more systems and stations, I've been checking the algorithm for finding the best route, and I've been giving myself some feedback...

The first two things I immediately wanted was the program to remember the last folder used, and also as I captured data, to be able to refresh the loaded information without having to close & open the tool again.  Basic stuff.

So, loading the data looks like this now:


Lets say we've got courier missions from LHS 1914 to FK5 2550, we select the start system, so LHS 1914:


This instantly populates the Stations and total list of commodities in columns 2 and 3 there.  We can select the specific station we're docked in as well:


Reducing the number of commodities, now we could just select Fk5 2550 from the destination system list, just to see what would bring us the most profit in running into that system:


The answer here is then given in the top right box, that result will stay there now until we change system or destination system, we can get the same search just without the station select from the second column also, but then the search would start from all stations in the source system on the left.

This search alone wasn't enough however, because I needed to be able to quickly find a supply of certain commodities, hence the new controls in the right bottom.

Lets say we want to find Beryllium for a specific mission goal, we can select that commodity by name from the drop down:


The results are the source of Beryllium from the database in best price (for purchase) order.  Obviously, if you've selected a commodity you've never seen before then you get no reply, unfortunately in the current context there is no distance, or connectivity in the database, so we don't know if these items are close or not, that is still a player decision*.

The other feature added there is the "Demand For" search, this simply lists those commodities in the database which are wanted somewhere, the results are given in best price (for sale) order, this allows you to quickly marry up any profit (if any) there maybe to be had, I find it most useful if the upper algorithm driven box comes up with an illegal selection.



* However, I do envisage changing the data collection so as data is captured from system to system we have a basic web of where it connected to where by input, this basic webbing could then be used to add "how many jumps" a commodity is from the selected source or destination systems.  However, to add all this functionality I need your help!

Friday, 23 January 2015

Elite Dangerous - Market & Trading Tools

SHOW YOUR SUPPORT!

Today I have taken time to put together a Patreon page, this is intended to help establish my project with some real backing, the pledges are Monthly for just $1 a month you can help speed up the development of this suite of tools:


You can opt to support me with higher pledges per month as well, but all the time you can choose your level of support for the project.

If you can't afford to help, then please just show the love in the comments below.