A blog about my rantings, including Games, Game Development, Gaming, Consoles, PC Gaming, Role Playing Games, People, Gaming tips & cheats, Game Programming and a plethora of other stuff.
Friday, 10 November 2017
Wednesday, 8 November 2017
Software Development - All Areas Stagnation
It has been said by far bigger and better minds than myself, that if you sit still, if you don't continue to learn about new things and innovate you will stagnate. This has been a huge problem looming within the business I work, certain things have worked since the industry sector was conceived and even though more than half a century has passed it has largely passed the internals of this industry by.
That is until very recently, where market competition has sprung up, the market base itself has reduced and so pressure is on... Nowhere is this more apparent in my industry than on the software, the front-line of pushing product to customers.
The trouble however seems to be that many people have stagnated, they've stuck with the safe option, the tools which work off of the shelf, I am of course talking about Windows, the entire tool chain that is used by 99% of the company is all Windows based, I am the man on the spot waving the Linux flag.
But just a few days ago, the Windows world had to come to my desk and see their future, I had to show technically minded folks around the code of the new system, introduce them to my imposed coding standard and update them from Microsoft Specific Visual C++ thinking to thinking about platform independent Standard C++ code... I had my work cut out for me. I prepared the cleanest desktop environment I could (i3 on Ubuntu).
I didn't want to startle them, so the editor/environment is Visual Code from Microsoft... They started to look at the system, it's structure, how the code related to the design and the diagrams they already had, we started to follow the process flow diagrams.
It was a success, certainly no-one burst into tears, they saw the kin-ship between this code on Linux and the systems they'd worked with for decades on Windows.
But then, the senior software manager leaned down, peering at the screen, and he said some fateful words...
"I've never seen that before".
Is he talking about some piece of C++14 or C++17, the lambda's, the auto's, the shared_ptr... What technical bolt has he not screwed his nut around?
"That's very good, you can see the whole code layout. I've never seen that before, who did you say wrote this tool?... Really Microsoft, I've never ever seen that before".
This chap uses Sublime, I've seen him using Sublime... Which does exactly the same thing....
What is the lesson to be learned? When we're talking about stagnation in software we are not only talking about the language, but also the tools, and then not only the IDE, the whole environment.
Certainly I was introducing Windows users to Linux, and even then on an unusual minimalist desktop manager, but still the lack of connection between a tool I've seen people already using and what it was capable of demonstrated tools are not being leveraged to their full potential... Certainly learn your new languages, learn your language updates, but keep your tools and environment up to spec too...
Monday, 6 November 2017
World of Warcraft - Classic
Its happened, the announcement with not quite enough information, but it did happen and the WoW orientated internet has slightly melted over it, everyone and their dog on YouTube have posted opinion pieces on whether this "in development" service will fullfil their desires. I have no opinion in that, instead I'm going to talk about my Warcraft Experience...
I first met the world that is Warcraft with "Warcraft II", which I remember my brother and I bought whilst on a trip into Nottingham, we bought it from GAME on Lister Gate, and talked about it incessantly as our parents made us trudge around Marks & Spencers, rather then rush home to play immediately.
We played this on our Intel 80486-SX2-50Mhz, with 4MB of RAM and a 128K S8 video card - VGA baby!
I don't remember finishing the game, I have to be honest, I don't remember it that much... However, I still have the game, the exact box we bought is proudly on the shelf, and has been visible behind me in most of my YouTube videos. And in 2000 I returned to play the game in full, as I had played AOE2 to death, was vastly disappointed with C&C3 Tiberium Sun and so wanted to return to Azeroth.
Fast forward to the release of WoW, and a friend (Hi Paul) came to stay for the weekend, and he brought this game with him... And I walked under the trees of Elwynn Forest for the first time, killing pigs with his level 6 Dwarf Paladin... And I loved it.
The moment he went home on that Sunday evening, I went to the Asda superstore in Long Eaton and I bought the game, the original game, with the first edition of the manual... Many years later I threw this away, when I moved house, I still kick myself for that, and remember distinctly looking at it all in the bottom of the empty dustbin...
But at that moment this was brand new, and I set up my account and went to it... I didn't understand my friend would be on a completely different server to me, so I just allowed the game to pick any server it liked. I wanted to play and adventure in the game, so I picked the what I thought of as the "single player" option... PVE. I did not understand what an MMORPG was.
Into PVE I stepped, Allience, Human, Warrior... And there I was, I remember I played three evenings around Northshire Abbey alone... Just three evenings, about 2-3 hours, maybe 6 hours played total, just to finish the Northshire Abbey quests and then I was sent by this NPC to "Goldshire"...
There were no loading screens, I thought I had moved from one zone to another when I left Northshire, I saw the section of map discover, and I thought this is huge - whilst only looking at Elwynn on the map.... And then I right clicked..... And the map stepped out... These slabs of undiscovered map... Darkshire to the south, Westwall to the West, Lakeshire... OMG this is a continent.
And then I right clicked again.... Two continents, two whole continents... I was a very small cog in a very large world.
The the server crashed, this was a three-four days after release.
When everything came back up, I set about questing, and I overwhelmingly remember it taking so long, like a week into my experience I was wearing all white gear from quests, and was eyeing up an Axe - purchased from an NPC - for 10 silver. Which was a hell of a lot of money.
I remember playing with a friend who had rolled a Paladin, when he sat down to drink, I sat down to drink, I didn't understand what drinking did, I didn't read the tool tips, I was so naive.
A week further on, and my hours sunk into the game expanded and expanded, I was sleeping less and playing more, I used to drive home from work at 12noon, play 30 minutes, not eat, then drive back to work... Where I would leave the second it ticked past time, to get home and play again.
I soon had more friends in the game with me, and I helped form a guild... "Arx"... Named for the Latin word for fortification or castle. I designed the natty guild tabbard in dark royal blue, a white tower on the chest and suitably lush borders... And we started to level.
I hit 40, and thanks to my side-line of mining - selling stacks of copper bars for 10 silver in general or by mail - as I didn't know where the auction house was - I'd not been to Ironforge (the only place there was an Auction house at launch!), but I hit 40 dirty poor...
I set about that evening going further afield, I travelled to Stormwind and then through to Ironforge, and I found more and more quests, I found the auction house, and saw I could sell the copper stacks I had for 35 silver each, 50 silver as bars... So I did, and made money for my mount so much more quickly. Back to Eastvale I went to train and buy, a brown mare whom I always referred to as "Nelly".
And I travelled the world, meeting new people... It happened in the swamps outside Theramore, I met a night-elf. The first I'd ever seen, she was a hunter, level 32 ish, and running... I was mounted, I didn't know any different, this was a female character... I spoke to her, and she spoke to me, we quested together... She joined my guild... THANK GOD she actually was a women... (Hi Sue).
I fancied the pants off of this woman, and rightly so, I saw a picture a while later (grrr baby, grr), I made the mistake of that same assumption before... Not so much fancying, but wondering... "Is that actually a dude?".... (Hi Nick, aka Eve - lol - yes we wondered for a long time mate, before you joined vent!).
The trouble then started really, you see I was a warrior, and the guild main tank, and I was struggling and pushing myself to level and gear up... The first little niggle was my co-guild leader (Hi Chaplain) was also a warrior, so there was a little trouble there that what I had, he had, what he needed, I needed. This was solved later as he rerolled to a rogue, but we're talking very early vanilla, and having two warriors was a pain.
We also vastly lacked casters, we had a lovely priest (Hi NW), but he would never come into vent, or certainly never spoke, making it hard to dungeon - however, he was a world class top notch priest. We had the lovely Sue as her Hunter, a Paladin (aka Nick), Chaplain in his Warrior or Rogue. And then a rotation of different team members, we had a Druid (Hi Hlaalu), we had a warlock (whos name I forget) and that was about it... For a long time.
A friend from work rolled a Dwarf paladin I think, and he got very very drunk and that caused a fraction between WoW in my down time and my work life, so he left the server to play elsewhere. We then had a few other paladins come and go, and then another female warrior - but she often wondered off to play Horde... True Blue represent, we ain't dealing with no half-Hordies here.
Mage and Warlock were always missing from our group, and it showed.
But we did get Strat and Scholo on farm, meager progress, but we had it on farm, we could go there over and over. The next chapter of drama was about to burst all over me, a few of the folks in the team were not really grasping the idea of progress, about gearing up, some folks would go spend two or three hours skinning or picking herbs then go sell them, or skill up, and wonder why they were still taking a load of damage - inspect, because you're still wearing level 40 gear, you're level 58.
Another person took an aeon to get from level 57 to 60, and when they finally did break the level cap, they were too busy farming gold for an epic tiger mount... To be frank it all got slightly derailed, but I had pretty nice gear, and kept increasing it by going PVP Battleground farming... Knight Captain, thank you very much, gave me boots and leggings and some other bits to augment my gear, sadly though I lost the plot here, I fell out with Sue... I fell out with a bunch of other folks, and basically kicked them out of the guild.
Chaplain and I re-rolled new characters, I think Nick did too, and we later swapped to a PVP server.
I never enjoyed another Warrior like that first one ever again, I never met as good a healer as I had in NW the priest again, and PVP started to take over.... I rolled my own Hunter, and outdid Sue's progress - basically as she'd moaned she couldn't gear up, I got a full tier 1 (as it was then) including the cap and bow of bones form dark-master gandling, and the chest piece form General Drakkish, I had the full set... Just to point out - spend your time and you get what you want... And I did this before she'd progressed further.
I'll be honest, it was petty, but I fancied her, it was all I had to brag about - look at my gear - eyebrows waggle - I look back on that boy and laugh now, but that doesn't mean I don't miss that kind of playing, and as you can see from this text, I still know so much about the game at that time.
I miss being the sort of thotbott for the guild, literally, anything vanilla and Alliance, and I could pretty much answer on the spot. I had learned the game.
As BC dawned I ventured as my hunter into the new lands, and I enjoyed them, but I also started my favourite of all my characters, a female human mage... Yeah rocking the female toon now... and I went full fire, never frost, I levelled for 1 to 70 in about four weeks full fire, in every dungeon I could get to, and I got into the level 70 PVP world, especially in AV and WSG.
I also re-rolled a new Hunter, a female one, which I also levelled quickly to 70, and I played DPS classes, no more tanking from me, though I did have a level 70 warrior for the good-old times.
I was mid-way through the vast and complex attunements in BC when Wrath was announced, yes I was not a progress attainer in BC, I just enjoyed it, thoroughly.
I never high-end raid in BC, I tried sun-well a little before Wrath came out, but I said to myself I would try to Raid in Wrath.
It never happened, I took my mage, blasted through the PVE to get to 80 and went dungeons and collecting my marks, and just went full on PVP. I had a lovely full set of Gladiator gear, when it was very hard to get that.
However, I hated arena, I hated the starting of the crossing of realms, I hated that everything felt the same. I loved the game, and still progressed my hunter to 80, and then started a druid - who strangely got a full set of tier gear raiding Black-temple as a level 70, but I never level capped everything.
I did Gruuls lair with a guild I had joined, fell out of love with the game, and stopped playing long before Wrath's era was over.
Since then, I have played on Nostalrius, but I missed my team, I missed the feel of my original server.
I fear that many of us have rosy tinted glasses when it comes to Vanilla, what I miss is the server, the knowing everyone, the need to know everything and travel, the RPG aspects. And I can't help but think today players want instant gratification, they are not going to await for travelling to get somewhere, they are NOT going to want to plan their hearthstone and flight routes for optimum action in a quest hub, they want to point, click and win.
Will Classic servers work? Perhaps, will they be Vanilla servers? No. That time has passed into legend.
Sunday, 5 November 2017
Virgin Media : Poor Internet Speed
I'm continuing to have my issues with Virgin Media, let me explain. Last month I came to them asking to remove the superfluous junk offering items, as I was simply paying more for items I didn't use, want nor need.
They could not help, in fact they flat refused to, so I cancelled 66% of my services off completely, TV, Phone all gone and never ever to return - well done them...
The next item was the 200mbit broadband I was paying for, below is a historic speed test I carried out a lot, as you can see I never, ever, got near 200Mbit, but I always got over 50Mbit...
Being quite a logical person therefore, and based on this evidence, this proof I had for myself, I downgraded the internet from the Vivid200 to Vivid50, i.e. 50mbit... Yeah, save money, it can do 50 mbit easy, right... Right... RIGHT?.....
WRONG.
This is tonight's speed test...
Last night it was slower than that, I had a download speed of 1.22mbit, and upload of 620K.
Yeah, rocking the 1990's internet speed.
And I'm utterly sick of it, I'm sick of paying for a service I never ever get. It may have been optimistic, maybe even naive to think having seen 50mbit when paying for 200, I would get 50 when paying for 50, but clearly something has gone astray here.
Clearly, Virgin Media are up to some shenanigans, be that throttling, load balancing, whatever term they want to give it, or even what ever they want to say in denial, but I'm observing this poor speed, I'm enduring this poor service, and I'm utterly and totally frustrated with the script (I would say expert system, but it's clearly a script) the people in the call centers follow.
This is NOT my equipment, this is not my network, this is their external speed, this is from their superhub 2 and outwards, NOT the internal side of that connection.
That is a test through the newer version of Ookla (the site at the top) as you can see the speed is even worse twenty minutes on - BTW, note to Virgin Media, your own engineers use this site to do a test upon installation.
Thursday, 2 November 2017
C++ : Ignored qualifiers (-Wignored-qualifiers)
What is an ignored qualifier? Well, in a class, lets have a student class:
#include <string>
class Student
{
public:
const std::string Name;
private:
bool m_Present;
public:
Student(const std::string& p_Name)
:
Name(p_Name),
m_Present
{
}
void SetPresent() { m_Present = true; }
void SetAbsent() { m_Present = false; }
};
Now, we may want to access the present flag, therefore provide a function to do so:
bool Present() const { return m_Present }
This function is telling the user of our class quite a bit, it tells them that the return type is boolean and that the calling of this function makes no changes to the class contents (const trailing the parameter list).
However, for me, this isn't quite right, I believe that we want to inform any user that the boolean returned is also constant, it does not change unless you alter the internal value with the "Set" functions, therefore I prefer and like to see code stating:
const bool Present() const { return m_Present; }
This is perhaps overkill and most of the time completely acceptable code to present, however, some might prefer not to see it, specifically anyone defining "-Wignored-qualifiers" as with the "const bool" the const here is technically superfluous, the return type is boolean and a new instance of it, it is not a reference to the internal value, if it were the function may look something more like this:
const bool& Present() const { return m_Present; }
Now we are intrinsically returning a reference to the internal boolean, or even:
const bool* const Present() const { return &m_Present; }
For speed of operation we may directly drive the reference back as a constant boolean constant pointer.
I find this much more informative to the user, they know our intent, the code though more verbose communicates its meaning much more clearly.
As ever, yes I have seen questions asked of interfaces where "bool X()", or "bool X() const" is provided but then programmers have asked "How do I change X", with the const return, ignored qualifier or not, the know not to ask this function to change X and can look up elsewhere in your API.
#include <string>
class Student
{
public:
const std::string Name;
private:
bool m_Present;
public:
Student(const std::string& p_Name)
:
Name(p_Name),
m_Present
{
}
void SetPresent() { m_Present = true; }
void SetAbsent() { m_Present = false; }
};
Now, we may want to access the present flag, therefore provide a function to do so:
bool Present() const { return m_Present }
This function is telling the user of our class quite a bit, it tells them that the return type is boolean and that the calling of this function makes no changes to the class contents (const trailing the parameter list).
However, for me, this isn't quite right, I believe that we want to inform any user that the boolean returned is also constant, it does not change unless you alter the internal value with the "Set" functions, therefore I prefer and like to see code stating:
const bool Present() const { return m_Present; }
This is perhaps overkill and most of the time completely acceptable code to present, however, some might prefer not to see it, specifically anyone defining "-Wignored-qualifiers" as with the "const bool" the const here is technically superfluous, the return type is boolean and a new instance of it, it is not a reference to the internal value, if it were the function may look something more like this:
const bool& Present() const { return m_Present; }
Now we are intrinsically returning a reference to the internal boolean, or even:
const bool* const Present() const { return &m_Present; }
For speed of operation we may directly drive the reference back as a constant boolean constant pointer.
I find this much more informative to the user, they know our intent, the code though more verbose communicates its meaning much more clearly.
As ever, yes I have seen questions asked of interfaces where "bool X()", or "bool X() const" is provided but then programmers have asked "How do I change X", with the const return, ignored qualifier or not, the know not to ask this function to change X and can look up elsewhere in your API.
Labels:
-W,
C++,
Code,
compilation,
cpp,
example,
GCC,
help,
Ignored,
ignored-qualifiers,
Linux,
programming,
qualifiers,
standard
Thursday, 19 October 2017
Gaming, AMD & HP
Over the next few weeks I'm going to be musing about the connections between the humble concept of the PC, where it started for myself, which processors and upgrade options I've taken, which dead-ends I've been down and where that took my gaming experience.
And where I hope to take my gaming experience in the future.
Today of course I'm running a quite nice Intel i7 processor and an EVGA GeForce 1080 GTX graphics card, however, that rig is nearing end of life for me, only the graphics card is a recent edition, and so as a high-performance low budget kind of chap I will be looking at my options, including the latest offerings from both Intel and AMD and the modern differences in nVidia versus AMD graphics offerings.
The secondary thread from this will be a little retro-grade gaming, this is not going to be full on retro - though I am in the mood for some Carrier Command on my Atari ST - we're going to be looking at retro post 2000 stuff.... Watch this space.
So why does this post have "HP" in its title, well... the community out reach team over at HP have sent me a missive, and though they have a zero budget want to share my posts with you guys in the world.
If you came here from a HP/AMD re-tweet, post in the comments below!
Monday, 9 October 2017
The State of Today (Sex Ed)
Lets take a moment to read this:
And realise that this is 2017...
I'm not saying this to say, "OMG they're not teaching boys about this", but in 1989/1990... When I were at secondary school, we were taught about sex, and periods, and masturbation...
Yes, we were. I admit there was an awkward moment with Mr Simpson (the Physics teacher - who used to yell - and smell) but he showed us a video and gave us the basics.
Then, in the lower school, there was a personal health conversation with Mrs Salisbury, where she talked to everyone, and explained how periods happen, they're natural, how much menstrual blood (on average etc) ladies deal with and all-sorts of things like that.
I was eleven, I remember it...
So why in 2017 are kids not being taught?... If I had to endure these jaw clenching moments, wondering my eyes around trying to not admit I was hearing this stuff, then damn it kids today should be similarly scarred....
Whilst I'm on the topic, no kids should be able to get access porn online... They need to go get a shot of boobies where I got it, from discarded copied of "The Sun" which have spent a couple of days blowing around the street.
Subscribe to:
Posts (Atom)







