Sidebar Menu

Projects

  • Dashboard
  • Research Project
  • Milestones
  • Repository
  • Tasks
  • Time Tracking
  • Designs
  • Forum
  • Users
  • Activities

Login

  • Login
  • Webmail
  • Admin
  • Downloads
  • Research

Twitter

Posts by stumathews
Stuart Mathews
  • Home
  • Blog
  • Code
  • Running
  • Gaming
  • Research
  • About
    • Portfolio
    • Info

Prime numbers

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
21.Aug
21 August 2017
Last Updated: 21 August 2017
Hits: 2747

Prime numbers are interesting things, I’ve heard other say the same and I spent some of yesterday playing with them. I was trying to learn what the sum of different combinations of common numbers are and I notice a interesting pattern. Some consecutive numbers when they are added together produce prime numbers but not all of them. But all of them will be odd which is pretty cool. For example:

+1, 2=3

+2, 3=5

+3+4 =7

+4+5=9

5+6=11

6+7=13

7+8=15

8+9=17

So that's 3,5,7,9,11,13,15 so far. Now those are all odd numbers and most of them are prime numbers – 2,3,5,7,11,13 but not 15 and 17 is prime. Interesting. Consecutive numbers added together give a good change of coming up with prime numbers.I used to think incorrectly that all consecutive numbers were prime but in the case of 7+8=15, 15 aint no prime number baby!

I also did some reading about perl. I’m really enjoying perl. In fact perl has laready helped me at work. This is a simple program a wrote to strip all the newlines characters from a xml file so I can embed the XML file into a string and use that a test data:

while(<>) { chop; chomp; print }

I also updated my tablet to Windows 1603 which is not the latest version but its nearly there and I got my laptop up to the creators update(1703), Installed ActiveState Perl and started reading “Win32 Perl Programming: The Standard Extensions”.

Win32 Perl Programming: Standard Extensions, Second Edition

I’m not too sure that I’m really into this book right now and I’m trying to fight the urge of thinking that Perl is not really needed to automate things on Windows because we have PowerShell but I think its there is something to be said for it, especially the urge to write fun code which PowerShell is not. PowerShell is fine though. I’ll probably use Perl anyway because of my favourite reason: Because I can. I’d just like to use it. Powershell is just well not Perl though its undeniably THE scripting language for Windows environments.

Interpretations of truth

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
29.Jun
29 June 2017
Last Updated: 29 June 2017
Hits: 2534
Ok, sit tight. Here's something totally out of left field:
 
If by interpretation we say that we can represent the same idea/thing in many different ways (that's what interpretation is) then it's impossible to say that the thing is only one interpretation. Right? But we do, all the time - we restrict ourselves to one interpretation(out of many possibilities) and label that chosen interpretation as truly reflecting the thing. Basically we call such a chosen interpretation a fact or a truth. We do this because we need to simplify the complexity which is that a thing, by default, has many interpretations.
 
So when we talk about things or compare things to each other, we're talking about a very specific interpretations of each of those things. We've basically chosen that interpretation to represent that thing in everyday life. 
 
And when we think, reason and refer to these things, we think in terms of a specific, chosen interpretation to represent each of the things we're referring to. 
 
This is normal. Humans have always done this. They(the ancients Greeks for example) interpreted the idea of the day turning to night(an idea or thing) as Apollo pulling his chariot across the sky - that was the chosen specific interpretation they chose. There were many other interpretations that they could have used but decided not to. We, many years later have decided to use another. We've chosen another interpretation to represent this truth - as far as we are concerned.
 
The point I'm making and the crux of the whole conversation here, is that nothing can really be exactly what you think it is, or specifically true because we've chosen only a specific interpretation to represent that truth.
 
All logic and reason about the world is all based on one interpretation of everything. 
 
Isn't that amazing? 
 
We will never understand, discover or invent a new interpretation of anything if we restrict ourself to one interpretation of anything!
 
So do we know really know all there is to know about the say 'rock' or 'dish' or 'earth' if we ignore exploring all the possible interpretations, which we know exist - by virtue of the fact we chose only one.
 
Isn't that just so cool?

Chaos Itchy Park

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
21.Jun
21 June 2017
Last Updated: 21 June 2017
Hits: 2488

I ran through the park at work today. It was nice, I don't usually run through the park because its a shorter journey but yesterday and today I’m getting really itchy legs and I think it might be the exhaust fumes. So I thought perhaps running through the park would make a difference. I read up about this and apparently it could be because when the blood vessels expand/contract during the first initial stages of exercises – this sensation sends ‘itchy’ signals to the brain. That’s not a good things because then no matter where I run, the Park or the sidewalk next to cars will not change this. The other possible reason is because the skin is dry – So' i’m going to rub some moisturiser just before I start exercise to see if it helps. Funnily enough however, is that this tends only to be a problem when I’m running home in the afternoon. Normally in the morning I’ve already done some non-running exercise so by the time I run, this problem is gone – which might mean thats its just the initial part of exercise that this happens – like i explained earlier with the itchy signals. I don’t really know for sure buts its darn annoying.

I enjoyed running through the park though, clear air and all.

I was thinking about walking into the office today because today is my ‘rest’ day however I usually just run anyway much like any other non-run-to-work day, but as soon as I considered it, I realised, man that it would take ages to get anywhere! Running is great because it gets you there quicker than walking. Sounds super obvious but I think I’d be more aware that I’m taking a long time to get ‘there’ than if I was running and running isn’t all that strenuous anymore. My body has become quite used to it, my ligaments and weight I think are all adapted to the running. So its almost easier for me just to run anyway than just walk. How strange.

I was in training yesterday and I was part of a group of 6 who needed to design something and it was chaos. Everyone wanted to get their views across and it was just a “view-fest” – everyone talking over each other desperate to get their ideas and thoughts out there. Thing was, they did get them out there and they just evaporated once they were out there. Reminds me how even at the very highest level of organisation, sometimes its better to just go away, think through something yourself and then discuss it with others once you’ve figured out stuff in your mind. Well, maybe that's just me but I think every other person in that room would have benefited from doing this themselves too. It makes me feel that trying to simulate ‘one’ brain from many is chaos. I think engineers work better like this anyway. Sometimes I wonder if its worth investing a convention to voice once opinions in much scenarios but everytime I think about it, I think it’ll never catch on. One day I’ll write down a method of how to organise chaos like this because its doable and there is a lot of ways to do it – just doesn’t seem to come naturally to anyone in a large group like yesterday.

And their you have it, Chaos, Itchy, Park.

More Articles …

  1. Friday dancin’
  2. I used to collect number plates
  3. power_nap
  4. Partial
  5. Yesterday really
  6. I don't like ping-pong.
  7. Memory foam weekend
  8. Life is a game of choices.
  9. super powers
  10. Diffie Hellman
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47

Page 43 of 182