<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Richard Price-Jones on Medium]]></title>
        <description><![CDATA[Stories by Richard Price-Jones on Medium]]></description>
        <link>https://medium.com/@richardpricejones?source=rss-120318433047------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FTk4x4ER0Xvgttq6.</url>
            <title>Stories by Richard Price-Jones on Medium</title>
            <link>https://medium.com/@richardpricejones?source=rss-120318433047------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 14:49:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@richardpricejones/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting Started with VPN and why you should use them]]></title>
            <link>https://richardpricejones.medium.com/getting-started-with-vpn-and-why-you-should-use-them-caf8bc808400?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/caf8bc808400</guid>
            <category><![CDATA[namecheap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vpn]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 22:05:41 GMT</pubDate>
            <atom:updated>2021-04-29T22:05:41.547Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvMpc62QauLmuUgSaC1uUg.png" /></figure><p>A VPN stands for Virtual Private network. They are encrypted network connections, allow you to connect to computer service cloud or physical from a remote location without comprising security of the network. They also allow the every day user to browse the internet without anyone being able to see what they are doing.</p><h3>Traveling</h3><p>When using a public Wifi Connection you should always use a VPN because you don’t know where you traffic is going or who else is connected to the VPN someone else could be listen to the traffic. Potential then owner of the public wifi access point could also change the DNS server that the router uses this is called DNS Hijacking, whereby someone create a fake website that looks like the real one and then point the real website to their fake one. So for example the attack could create a fake Natwest Bank account and the point <a href="http://natwest.co.uk/">Natwest.co.uk</a> to their fake website. Using a VPN can prevent this because your traffic is wrapped in an encrypted tunnel where all your traffic is wrapped in SSL layer and then sent across the internet. Additionally, in general DNS traffic is not encrypt which allows anyone on that wifi network see which website you are visiting.</p><h3>Blocked Sites</h3><p>Because by default DNS Traffic isn’t encrypted. DNS stand for Domain Name Server, it’s basically the service that translates url into IP address because computer need IP address to know where to route your traffic e.g. the DNS translates <a href="http://google.co.uk/">google.co.uk</a> into 172.217.13.67.</p><p>IPS provided can prevent you accesses sites depending on the country you’re in. Here in the UK most torrent site are blocked. In 2013 the UK government introduced mandatory web filters, designed to block access to ‘adult’ sites by default. These blocks are opt-in or opt-out, which means you can either turn on these parental filters (which turns them on for the whole household) or tell your ISP that you want full access to the internet.</p><p>Again having a VPN encrypts <strong>all</strong> your traffic so that includes your DNS traffic.</p><h3>Accessing Remote resources</h3><p>The best way to access a remote resource such as a database or a file server is beside a VPN. Because it means you don’t have expose ports in your firewall which should always be avoid if you can help it. Additionally, older service like smb file sharing and other ageing software that you personal or your company be depend may have weak or non security protocols. With a VPN all this goes away because all the traffic can be wrapped in SSL and sent your home or company network as if you was on the local network.</p><p>As side note this can also be used to play older RTS games that only support LAN networking.</p><h3>Namecheap</h3><p>I personally use <a href="https://namecheap.pxf.io/c/2645623/991981/5618"><strong>namecheap</strong></a> VPN it’s cheap, fast and the doesn’t collect logs. I wouldn’t host your own unless you really need to because it can be expensive and time consuming. You also need to maintain it, which is a hassle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caf8bc808400" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Introductions (Everything you need to get started)]]></title>
            <link>https://richardpricejones.medium.com/database-introductions-everything-you-need-to-get-started-460819f5dae?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/460819f5dae</guid>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[learn]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 19:47:41 GMT</pubDate>
            <atom:updated>2021-04-29T19:47:41.318Z</atom:updated>
            <content:encoded><![CDATA[<h3>Database Introductions</h3><h3>Databases</h3><p>There are two types: traditional relational database and non-relation database. Traditional relational databases have been around forever well more like 40 years or so. Relational databases also know as RDMS or SQL databases, they store data in rows and columns and join different table to complete complex queries. A join is basically where the tables are fused together based on an attribute they both share such as customer ID. See below for all the different types of joins:</p><ul><li>(INNER) JOIN: Returns records that have matching values in both tables</li><li>LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records from the right table</li><li>RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records from the left table</li><li>FULL (OUTER) JOIN: Returns all records when there is a match in either left or right table</li></ul><p>Example of an Inner Join to get all the customer and suppliers from the same city.</p><pre>SELECT Suppliers.SupplierName, Customers.CustomerName, Suppliers.City<br>FROM Suppliers<br>INNER JOIN Customers ON Suppliers.City = Customers.City;</pre><p><strong>Note</strong>: The <strong>INNER JOIN</strong> keyword selects all rows from both tables as long as there is a match between the columns. If there are records in the “Suppliers” table that do not have matches in “Customers”, these Suppliers will not be shown!</p><p>So relation databases you can select data and join different tables to achieve a different result set. They are tried and tested for many decades, we know they work well. There were designed in the 1970s when computer storage was expensive compared to CPU processing power. So it’s CPU heavy which means it will struggle with the massive amount of data. Additionally, scaling can be more difficult than NO-SQL databases because you need to scale vertically, which basically means you need to add more CPU’s and RAM so you need to migrate to bigger servers.</p><h3>No-SQL</h3><p>No-SQL database also known as non-relation databases. These generally have four categories:</p><ul><li>Key-value store (Basically a Hash-Map/Dict)</li><li>Graph stores</li><li>Column</li><li>Document store (generally JSON)</li></ul><p>You should use one of these NO-SQL databases when you want your application to have super-low latency, your data is unstructured or you do not have any relation data, You only need to serialise and deserialise data (JSON, XML, YAML). You need to store a massive amount of data.</p><h3>Scaling</h3><p>There are two types of scaling <strong>vertical</strong> and <strong>horizontal</strong>.</p><p>Vertical Scaling is when you scale up the servers that your database or application are running on. So your basically adding more RAM and CPU to the servers that your app is deployed to. This is much simpler than horizontal scaling because your just added physical RAM and CPUs. But this doesn’t scale very well at all.</p><p>Whereas, horizontal scaling also known as scaling out, allows you to add more servers into the pool of resources that run your application. This is how AWS works. They constantly add more and more server to increase to data centres pool of resources.</p><p>These days horizontal scaling isn’t used because cloud of computer is so easy and cheap that people get the benefit of horizontal scaling when they use AWS or another cloud provider. So there really isn&#39;t any need to use vertical scaling anymore but it’s still good to know about it.</p><h3>Database replication</h3><p>Most apps read a lot more data than they write. Database replication has a master and slave model. This is where the master database handles all the write operations and then the multiple slave’s databases which is a clone of the master database. So when someone writes something to the master it syncs to all the slaves. When data want to be read the application reads it from one of the slave’s drives. So an example would be something like youtube, there are a lot more consumers of content than producers so slave databases allow the master database to only deal with write and therefore all the reads the slaves can handle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=460819f5dae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Investing — Get Rich Slow]]></title>
            <link>https://medium.com/financial-independence-retire-early/investing-get-rich-slow-e960db1a84e?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/e960db1a84e</guid>
            <category><![CDATA[dividends]]></category>
            <category><![CDATA[vanguard]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[isa]]></category>
            <category><![CDATA[inflation]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sun, 14 Mar 2021 15:37:54 GMT</pubDate>
            <atom:updated>2021-08-23T10:22:28.832Z</atom:updated>
            <content:encoded><![CDATA[<h3>Investing — Get Rich Slow</h3><h4>The great enemy, inflation</h4><figure><img alt="Coffee prices rising in price" src="https://cdn-images-1.medium.com/max/1024/0*I2AwS1KPVkxCHzqF.png" /></figure><h3>Why do you need to invest?</h3><p>Why do you need to invest? Why can’t you just keep your money in a bank account? There are two answers:</p><ul><li>Inflation</li><li>Growing your money</li></ul><p>Inflation is the decline of purchasing power of your money over time. The target rate of inflation from the bank of England is 2% so each year your money will be able to buy 2% less of goods and services than the previous year. See the image below to understand how it affects the price of goods. As the current interest rate on bank accounts in the UK sits near 0% and looking to stay that way, it’s important to take note of the effect that inflation has on your money.</p><p>As you see your spending power goes down over time. £0.25 pence could buy you a coffee in 1970 whereas now that coffee would cost £1.59. So you don’t just want your money to sit there lowering in value year on year. So how do you protect your money from being eroded by inflation? You need to use your money to buy assets. An Assert is something that increases in value over time, such as stocks, paintings, gold, houses, and so on. Not only does this protect your money from inflation but it also increases in value above inflation.</p><p>Growing your money. You want more than you put in so that your money makes money. But how does that actually work? Well, this depends on what you buy with your money there are different types of asset classes. An asset is something that gains in value over time. This can be a rental property, a piece of gold, or stock. Each asset class has different properties that yield different results. Stocks are an example of assets that grow over time and one of their properties is that they can yield a dividend which is a share of the profit that the company has made depending on how many shares you have. Overtime when you have acquired enough stocks this dividend could become a passive income that you could potentially live off. So as you can see making your money work for you is the best way to achieve financial and potentially financial freedom where you do not need to trade your time for money.</p><p>Assets! What are your options? There are many types of assets that broadly fall into categories. There are non-income-producing assets such as Gold or other precious metals. Cryptocurrencies mainly fall into this category as for the most part you only make money on cryptocurrencies is when you sell them. On the other hand their income-producing assets such as stocks, bonds, and rental property. These assets provide the money even you don’t sell them such as dividend payout from company profits, bonds interest, and rent paid by the tenants. In general, the best investment you can make in the long term is buying stocks, because the stock can use the profit to grow and expand the business to generate more money. Whereas Gold and other assets cannot do this as they do not produce anything. The average rate of return S&amp;P 500 is 10% (Not taking inflation into account) So you with an inflation of 2% you net a profit of 8% return on your investment. Cryptocurrencies and other non-producing assets can make you a lot of money but only when you sell them. So the true long-term value with stocks is dividend-paying stocks that you hold forever that provide an income. Property can also be a long very good long-term asset that you can hold until judgment day provided that you aren’t leveraged too much and it’s in a good location.</p><p>Compound Interest is how money makes money. If stocks generate 10% returns annually over a long period of time such as 25 years if you invested £10,000 you would have a total of £108,347.06 with a total interest gain of £98,347.06. If you look at the table below you can see how the yearly interest grows over time as the balance also grows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*_inFPkAp47vR92d6G4BEwQ.png" /><figcaption>Compound Interest over 25 years Table</figcaption></figure><p>Summary, this is the first of several blog posts about investing, the others will include the different assets and their properties. Providing you have 6 months of expenses, your money should be invested. So it can grow and make you more money.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e960db1a84e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/financial-independence-retire-early/investing-get-rich-slow-e960db1a84e">Investing — Get Rich Slow</a> was originally published in <a href="https://medium.com/financial-independence-retire-early">Financial Independence / Retire Early</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The UK Housing Problem]]></title>
            <link>https://richardpricejones.medium.com/the-uk-housing-problem-9693566f6302?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/9693566f6302</guid>
            <category><![CDATA[house]]></category>
            <category><![CDATA[property]]></category>
            <category><![CDATA[renting]]></category>
            <category><![CDATA[uk]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sun, 14 Mar 2021 15:30:46 GMT</pubDate>
            <atom:updated>2021-03-14T15:30:46.176Z</atom:updated>
            <content:encoded><![CDATA[<p>Bricks and motor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*ytMnITSGUNeq9OeUw2doWQ.png" /></figure><h3>The Housing Problem</h3><p>Buying a house in the UK has been drilled into every person from a young age. There is an idea that renting is dead money and buying a house is the best investment you can make. When you retire there is a significantly less financial burden on a homeowner than someone who is renting. You can also change it significantly in ways that someone who is renting could not. In the last 47 years, the annual growth in house prices has been about 8.75%. The average house price in the UK now sits around £247,355 and the medium wage being £31,461 so that gives price to earnings ratio of ~7.8. This is drastically different depending on location so two extreme cases would be</p><ul><li>Stoke on Trent, Medium house price £109,894, wage £22,082 giving an HP/E of 4.98.</li><li>London, Medium house price £464,998, wage £30,311 giving an HP/E of 15.34.</li></ul><p>So year on year house prices are going to become more unaffordable for people. The problem for young people is getting the deposit together, in many cases, they could actually pay a mortgage as it’s generally lower than rent. Many banks will only allow you to put down a 5% deposit but on average a buyer will put down a 15% deposit. So that would mean that you would need £ 37,103.25 with fees and moving cost you need around £40,000. As well the deposit issue, UK banks will only allow individuals to borrow around four times their annual salary. This is due to irrepressible lending that caused the crash in 2008. The Bank Of England also hoped that this would stem the increasing levels and debt and the rising house prices, however, this has only had a minor effect. Depending on the Bank&#39;s risk tolerance and how the economy is performing this may change. So the average person earning £31,461 wants to buy that average house of £247,355. But the bank will only lend them four times their annual income. So let&#39;s build an equation to solve this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*Z0mES1Vxr2PLJTd-_WphRQ.gif" /></figure><p>So if we plug in the numbers:</p><blockquote>£126,111 = = £247, 355 — (30,311 * 4)</blockquote><p>So the average person would need <strong>£126,111</strong> and in many cases a lot more depending on the area. This is clear unachievable on their own, in many cases, people often get help from their parents or buy with someone thus changing the variables in the equation. A couple both earning average incomes would need a deposit of over twice their joint average earnings to buy a median-priced home in London. A single person would require a deposit of almost nine times their earnings. This is prohibitive to the majority of first-time buyers.</p><p>You may think that there should be something done about this. Let&#39;s think about why it be might controversial to artificially lower prices. In the UK home ownership sits at 65.5% so more than half of the country does not want house prices to be lowered. Because in most cases it’s their biggest asset. The UK also has two 2.6 Million landlords which own about 5.45 Million between them. Many of these landlords depend on these house prices increasing so they can sell the property for a lump sum when they retire as it&#39;s common practice to have bought to let the property on an interest-only mortgage whereby you only pay the interest and not the actual loan to buy the house. Which should yield around 8.75% return plus any extra rental payment that is leftover from interest payment and repairs.</p><h3>Why are house prices so high?</h3><h4>Supply</h4><p>There is a range of factors that ensure prices are kept consistently high in the UK. The first is housing stock, we need more houses than we currently produce. It’s estimated that we need 170,000 additional private sector houses and 75,000 social sector houses each year. But we aren’t making anywhere near that and both labor and Tories have both failed their targets of house building. Last year the UK built ~180,000 houses, we had a shortfall of around 70,000. Because this has been happening for a long time this has created a housing deficit in the UK, with a million houses needed to fill this deficit. The demand is high but supply is low and therefore the price is high.</p><h4>Interest Rates</h4><p>Interest rates are currently at historic lows with the Bank of England base at 0.1%. Interest rates are directly correlated with how the economy is performing. As the economy has taken several shocks recently, due to Brexit and COVID-19 the rate is frozen at its all-time low. This makes borrowing extremely cheap with the current average interest rate for a mortgage around 2%. As a mortgage is a fixed-term loan the interest rates are very important as they decide how much your monthly payments are going to be. For example, if you borrow a £100,000 with a £10,000 deposit then you owe the bank £90,000 and you agree to pay it over 25 years then you would need to pay the bank £426.79 a month. However, if interest rates rose to 10% then you would be required to pay the bank £817.83 per month almost double the original amount. So as we can see that low-interest rates allow for houses to rise in value because more people can afford to pay a mortgage. Whereas if interest rates were to increase to as high as 10% then fewer people would be able to afford their mortgages. When getting a mortgage you should always stress test your monthly payments by calculating if you can afford the interest payment if the interest rate went to 6% which is three times the Bank Of England&#39;s target inflation rate. This also applies to current homeowners, as fixed-rate mortgages only last around 5 years. If there isn’t a demand for houses at the current price point then market forces would force the prices to drop or house builders wouldn’t sell any houses.</p><h4>Location</h4><p>Location, people want houses where there are jobs and other amenities. There isn’t a point in building houses in northern Scotland if no one wants to live there and there isn’t the job and the amenities to bring people to the area. However, in places like London where there is an extreme demand for housing because of jobs and great amenities land is expensive so it’s not very easy. So one solution is to spread jobs around the UK. Incentivize private companies to move to other cities would allow more houses where there is more land and therefore is cheaper. It also spread wealth across the country. More salaries spent in the local area which would provide a much-needed boost to the midlands and the north. This could be led by the public sector, place Government department in cities or towns with low job growth. Manchester is a great example where this has worked very well. The public sector started to invest heavily in Manchester and creating tech jobs. The private sector then soon followed them. It’s now a great Tech hub, with high-paying jobs and relatively low houses cost.</p><h3>Solutions to our Bricks and Motor problem</h3><h4>Increase Interest rates</h4><p>Interest rates are good indicators of how the economy is performing. When the economy isn’t performing well the Bank of England will lower interest rates to provide cheap credit so people can borrow money more easily which gives people more access to cash which they can then spend in the economy. It also lowers the burden on people with loans, mortgages, and credit cards. So provided the economy is in a fit enough state a rise interest rate would help lower house prices. However, it would make it header to get a mortgage so it’s a double-edged sword.</p><h4>Limiting buy to let</h4><p>As discussed above there are 5.6 million homes owned by private landlords, 20% of the population rents in the private sector. There already has been a mass of new laws and protection for people who rent and more on the way. There is currently ongoing consultation on section 21 which allows landlords to end tenancy agreements with two months&#39; notice. This would make it more difficult to evict tenants. If this becomes law then it makes renting a lot more permanent and would more people of safety net. Capital gains may be increased in the new tax year of 2021/2022 which means when selling the buy to let a property you will have to additional tax in the increase of the value of the property. Ensure landlords pay a fair share of tax and ensure tenants have more security when renting is a very good thing. However, limiting buy to let too hard is a double edge sword. There is a need for a rental market it gives the economy flexibility. If you want to work in London for 12 months but don’t want to buy for example you’re a contractor or you’re a young professional that wants to spend a few years in the city then renting is a perfect option. It’s also a great option for student accommodation which in its very design is temporary.</p><h4>Rent Cap</h4><p>Should we attack the biggest outgoing for most young people which is their rent payment, even more so in cities like London? This would allow more people to save but also provide more disposable income for people which they then could spend on goods and services helping the economy as a whole, not just the rental property sector. However, some would argue in a free capital country that we should allow market forces to decide how much rent should be.</p><h4>Buy another person</h4><p>The simple and easiest option to get on the property market is to buy with another person. An additional person will help double your saving power much greater as well as being able to share the expense of owning a house.</p><h4>Live with your parents</h4><p>This isn’t possible for everyone, but it is by far the easiest way if your buying alone to get in the market. Rent and saving are very hard, just think if you could save what you pay in rent each month and put that towards your deposit.</p><h4>Instant Saving Accounts (ISA)</h4><p>An ISA is a tax-free wrapper around a saving account in which that any interest made in the account is completely tax-free. The current annual limit for all ISA account is £20,000, this resets every tax year. The Government created two ISA to help save for a deposit as it realized that first-time buyers can afford the monthly payments for a mortgage but were struggling to get the deposit together. The first ISA was the fitting named “Help to Buy ISA” this is a scheme where the government would help you get £15,000. Where you would pay £200 per month and the Government would pay £50 as a bonus. This bonus is capped at £3000, so effectively you save £12,000 and the Government give you £3000. With the idea that if two people brought two together with two ISA that would give them a deposit of £30,000. The limiting factor of this ISA is that you can only save £200 per month so if target lower earners and would take 5 years to complete the while ISA. Additionally, unless you were buying in London the value of the house could not be more than £250,000, whereas London’s value would be £450,000.</p><p>So is only really worth it if you start in your early 20s. The second ISA product the Government developed was the “Life Time ISA” also know as the LISA. The LISA has a £4000 yearly limit, however, it has a few caveats. First, the money can only be used to buy a house or for a pension which you can withdraw from at the age of 60. If you withdraw the money before these conditions are met then you are charged a 20% fee as a penalty. The Government will pay 25% interest on deposits into your LISA. Which makes this a great option to save for a house as there is no cap on the government bonus and the price limit is very generous for a first-time buyer.</p><h4>Making more money</h4><p>This is obvious. If you can put yourself forward for a job or a promotion and gain more income for the same work with the same hours then this is the most effective way to increase your income. When saving up for a house there are multipliers at work, so if getting that pay increase allows you to max out the LISA then all that money is getting 25% interest, although this interest isn’t compound because the interest is only applied to deposits, not on the balance. If you think back to the deposit equation then you will remember that your annual income is multiplied by your affordability ratio in our example is was four. So if you get a £2500 pay rise then that means you apply for a mortgage that £10,000 more.</p><h4>Increase Supply</h4><p>The housing shortage is the main reason the UK houses market is broken and why currently homeownership is out of reach for so many people. As I mentioned in the above section the only real way to cure this problem is to increase supply above demand. However, this is harder than it seems. The government can only incentivise building companies a certain amount. The government can provide more funding for local councils to build social houses, this is currently done through low-interest loans. That each council can apply for and get providing it can make the repayment terms. If the government could provide a surplus in social housing then the private sector would have a small market and would have to compete more with other housebuilders to get buyers. This may also make buyers build houses that aren’t just a copy and paste of the same house in a row. Individual-looking houses are more attractive than cheaply-made new builds that have no character. The government could also set the bar for quality if a council set a standard level of quality and then the private sector would have to be better than that or else you would just get a council house.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9693566f6302" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 2 Investment Funds]]></title>
            <link>https://richardpricejones.medium.com/chapter-2-investment-funds-5fdcb6a2c0a4?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fdcb6a2c0a4</guid>
            <category><![CDATA[hedge-funds]]></category>
            <category><![CDATA[etf]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[rpj]]></category>
            <category><![CDATA[index-funds]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sat, 16 Jan 2021 02:14:43 GMT</pubDate>
            <atom:updated>2021-02-02T00:11:27.022Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*FJBcapqUQ5m0M5DqrQd0kQ.jpeg" /></figure><h3>Index Mutual Funds</h3><p>An Index fund is essentially portfolios of stocks that match a particular index such as the S&amp;P 500 with the aim to match it’s average yearly return, which for the last 100 years is about ~10%–11% not adjusting for inflation. The index fund also matches the weighting of the index, at the time of writing Apple is about 6.4% of the whole S&amp;P 500. Therefore around 6.4 percent of the index would be made up of Apple stock. S&amp;P 500 for example is the 500 biggest companies in the USA which covers all sectors that make up the economy.</p><blockquote><em>“A low-cost index fund is the most sensible equity investment for the great majority of investors” — Warren Buffet</em></blockquote><p>Index funds are passively managed due to just matching the index, this means there isn’t a person actively looking at the fund decided to buy or sell stocks to try and beat the market. This has the advantage of very low fees, with Vanguard’s average index fee being . Which in long term investing can stack up to a lot of money. For example most vanguard Index funds charge around about 0.35% annually, where if an another fund charges around 1.4% annually then investing £300 per month for the next 30 years, and we assumed average over the 30 years was about 10% growth then the lower costing fund will yield an extra ~£106,384. So that’s an extra £100K for just using a cheaper fund this number compounds higher and higher the long the money is invested.</p><blockquote><em>“Don’t look for the needle just buy the hay stack” — Jack Bogle</em></blockquote><p>Buying a well diversified a index fund like the S&amp;P 500 ensures that you are exposed to all markets across the whole section of the economy. So if Oil was to be suddenly banned then your stocks in BP Oil wouldn’t be worth much but shares in a good index fund would be well protected due to the diversification.</p><blockquote><em>“Diversification is a protection against ignorance” — Warren Buffet</em></blockquote><p>An index will provide good yearly returns over the long term for the average person that doesn’t know what they are doing. You may not want to constantly look at stocks and read annual reports. You can just buy and hold for the long term. You can further protect yourself from the market ups and down by buying shares in index fund monthly this is called dollar cost averaging or drip feeding. You don’t need to watch the price to see when the best to buy is. Because by dripping feeding you buy share when they are cheap and expensive, over the long term it averages out to a normalised price.</p><p><strong>Summary:</strong> Drip feed cash into a low cost, well diversified index fund and over the long term you will do well. This is great for people who good returns with constantly checking the stock market. You just buy and hold over a long time and enjoy the wonders of comound interest.</p><blockquote>“Compound interest is the eighth wonder of the world” — Albert Einstein</blockquote><h4>Dollar Cost Averaging</h4><ul><li>Dollar-cost averaging refers to the practice of dividing an investment of an equity up into multiple smaller investments of equal amounts, spaced out over regular intervals.</li><li>The goal of dollar-cost averaging is to reduce the overall impact of volatility on the price of the target asset; as the price will likely vary each time one of the periodic investments is made, the investment is not as highly subject to volatility.</li><li>Dollar-cost averaging aims to avoid making the mistake of making one lump-sum investment that is poorly timed with regard to asset pricing.</li></ul><h3>Exchange-Traded Funds</h3><p>ETFs are more akin to stocks than to mutual funds. Listed on market exchanges just like individual stocks, they are highly liquid: They can be bought and sold like stock shares throughout the trading day, with prices fluctuating constantly. ETFs can track not just an index, but an industry, a commodity or even another fund. For example if you wanted to buy into Green Energy you could buy a Global Clean Energy ETF which would be made up of investment composed of global stocks in the clean energy sector.</p><h3>Hedge Funds</h3><p>Unlike Index funds and ETFs, Hedge funds are actively managed. With the intention that the person who is managing the fund can beat the average returns of the market. They have a lot more freedom to buy and sell stocks when they think it’s the best time. In theory they could buy the best performing stocks which would deliver higher returns, however there is no real way of knowing what these stocks are going to be. They are also only buying stocks which are available for the individual or passive index investor. So picking a hedge fund is really picking the best manage that you will think can beat the market.</p><h3>Costs</h3><p>Due to being actively managed there high fees for a hedge fund for example an average hedge fund costs which normally operate at something called the Two and Twenty which refers to the standard management fee of 2% of the value assets annually, while 20 means the incentive fee of 20% of profits above a certain threshold known as the hurdle rate. If the fund beats the market by a lot then these cost are worth it as your returns are much better than your returns would be from the average market. However, poor performance or similar performance to the average returns from the market will result in a at least a 2% annual management fee which is far higher than passively managed fund and therefore will yield less returns on your investment.</p><h3>Warren Buffett’s Bet</h3><p>In 2007, Warren Buffett bet a million dollars that the Vanguard admiral S&amp;P 500 Index fund would out perform any hedge fund and challenged a hedge manager to prove him wrong. A manager took him up on the bet and lost with just an average return of 2.2% against buffet’s 7.1% for his chosen index fund. Hedge funds have a disadvantage by their high fees to make good returns you need to beat market by a very large margin. It should be noted that during down turn in the market hedge funds generally do better because they can move money around more quickly and are more flexible with their investments.</p><h3>Summary</h3><p>In general a low cost very diversified index fund is best for most people. EFT’s are great for people who want to invest in particular industries or sectors in a fairly diversified way, such as Oil or renewable energy. If however, you think you have found the next Michael Burry who was the hedge fund manage who predicted the financial crash in 2008 and hedge against the US housing market, which he made a lot of money from. Then maybe it’s worth a shot at investing into a hedge fund. <strong>Personally</strong>, I would just stick with a great fund for 90% of your investments and have 10% in high risk but high rewards investments such as individual stock that you think will perform very well or even more riskier speculative options like Bitcoin.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fdcb6a2c0a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things they didn’t teach you in school Chapter 1 Pensions]]></title>
            <link>https://richardpricejones.medium.com/things-they-didnt-teach-you-in-school-chapter-1-pensions-df8741188d48?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/df8741188d48</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[rpj]]></category>
            <category><![CDATA[pensions]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sat, 16 Jan 2021 02:03:37 GMT</pubDate>
            <atom:updated>2021-02-02T22:06:42.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABnBpXdUAPUCoQMzyw-y3w.jpeg" /></figure><h3>What is a pension?</h3><p>Germany in 1891 was the first country to introduce an age based pension provided by the government through general taxation. Pensions provide an income when you retire from working by investing money in to a long term savings plan, this is generally shares and/or bonds but can be other types of assets. The two types of pensions are Public or Private, this can be broken down into five subcategories:</p><ul><li><strong>State pension</strong> — Pension payout determined by the tax payer’s regular contributions.</li><li><strong>Defined contribution</strong> — Pension payout determined by the amount paid in and the investment funds performance.</li><li><strong>Defined Benefit</strong> — Pension payout from an employer determined by final or average saraly.</li><li><strong>SIPP</strong> — Self-Invested personal pension; saver picks investments. This is generally used by the self-employed or company directors or smaller companies.</li><li><strong>Company Pension</strong> — Employee and employers make monthly payments into a fund managed by a pension company.</li></ul><h3>Public Pensions</h3><p>In many countries Government pays retirees based on a public/state pension based on the tax payer contributions. Currently, in the UK when you earn over ~£9500 per year or around £183 per week, you must National insurance contribution which fund the state pension in the UK. This will only provided you with a very basic standard of living. To increase the amount income you have during retirement you will also need a private pension. The state pension will rise by a minimum of either 2.5%, the rate of inflation or average earnings growth, whichever is largest. This is known as the <strong>Triple Dead Lock</strong>.</p><h3>National Insurance System UK (Extra Reading)</h3><p>Unlike other countries the United Kingdom does not have a sovereign wealth fund. A Sovereign fund is a large investment portfolio owned by the government that is used for the pension/public spending, it made up of bonds or/and stocks and shares that compound in value. The UK could of opted to invest the it’s North Sea Oil money as Norway did and continues to do, however, instead this money was used to fund tax cuts and extra public spending. It funds it’s state pension via the National Insurance System, an extra tax that is exclusively for paying out state pensions. So this year National Insurance Payment are used to pay for this years State Pensions Payments, they are stored in a bank account that is managed by the Debt Managment Office and is topped up by the current going interest rates. There is currently a surplus in the account, i.e more people have been paying National Insurance than the amount required for state pensions.</p><p>This amount is failing year by year, this mainly due to the 2007–2008 financial crash, the averages have been failing in real terms for over 10 years and this means that employers and employees are contributing less and less into the fund. The Government predicts that without action the fund will be empty by 2035. Small steps have been taken to prevent this crisis, via increasing retirement age and enforce automatically enrolment into a private pensions by your employer.</p><h3>Summary</h3><ol><li>Public pension are funded by national insurance contributions</li><li>The Government predicts by 2035 that the NI account will be empty, so building your private pension is essential for comfortable retirement.</li></ol><h3>Private Pensions</h3><p>These are pensions that are not operated by the Government but are subject to tax relief of up to 100% of your income or £40,00 which ever comes first. They generally come in two forms either a company pension or a Self Invested Personal Pension. It is required by law that your company offers a workplace pension, you do have a right to opt-out. However, this is not recommended because your in effect turning down free money. The minimum contribution is currently 3% for employers and 5% for employees which makes up 8% of your gross salary, this is then used to by a pension company to buy investments to generate interest and will compound over time to create an income or a lump when you retire. There is a general rule that your pension contribution percentage should be half your age. The investments are normally done via a pension plan, which have different level of risk associated with them. Most companies by default will place you in either a low or medium risk, this will deliverer poor returns over the long term because they are generally invested in blended fund which is mainly made up of bonds. Providing that you are young and still have a lot of time to work left, you should always pick the highest risk in your pension plan, this will change the ratio of bonds and shares, giving a higher share ratio. Shares will always out perform bonds in the long term because share produce cash which is used either re-investing into the business to create more money or pay out dividends which in a pension will just be used to buy more shares.</p><h3>Options for accessing your pension</h3><h3>Cash</h3><p>Take 100 percent of the pension cash out to spend to invest. Only 25% of the pension pot can be taken out tax free, in the UK you can do this at the age of 55. The rest of cash will be taxed in the same way as any other earnings. There is a risk of running out of cash, unless it’s invested wisely.</p><h3>Annuity</h3><p>This is an insurance product that provides a fixed amount of cash every year for life. An annuity means the money won’t run out, but the rate income will be lower. They amount of income you will receive will depends on many factors including your health. You can calculate how much you could potentially get here:</p><p><a href="https://www.pensionwise.gov.uk/en/guaranteed-income">Get a guaranteed income (annuity)</a></p><h3>Income Draw down</h3><p>Some pension plans offer the option of keeping money invested — and hopefully producing decent returns — with cash sums withdrawn as necessary. If too much cash is withdrawn, or the investments perform badly, however, then again there is a risk that the saver will run out of money. This is very common for who are Self employed that are generally going to be using a SIPP which normally will an well diversified index fund.</p><h3>Pension consolidation</h3><p>In the modern age people people will not have a job for life as their parents or grandparents may have, in fact the average person aged 30 or below will have around 12 jobs during their life time. Working all these different jobs over you life will result in many different pension plan that are different sizes, different conditions and mostly importantly fees and administration costs for each pension.</p><p>Combining all your pension into a single plan means they are easier to keep track of, while also being cheaper in the long run. When consolidating your pension plan the most important thing you should consider is the fees, as this can make a massive difference in the amount of money you will hold in your find as the interest compounds. For example if the average person with the median wage which is currently £31,461 if they save around 8% gross income this would be £209.74 per month. Now lets say they saved into a pension plan A which charge the average pension annual fee of 1.09 (UK average) they would have with annual growth of 7.75% which is the average return from the FTSE 100 from the last 100 years. Then they would have a pension fund worth around £334,699.14 after 35 years of working. However, if they invest in a ultra low index fund such Vanguard FTSE 100 index fund which as of writing has a fee of 0.30%, with the same parameters you could have pension fund value of £399,305.41. So that a massive £64,606.27, and of course if your pension potter is bigger the saving are also compounding bigger.</p><p><strong>A word of warning,</strong> If you’ve got a pension with certain special benefits worth more than £30,000, you’ll have to seek independent financial advice before you can transfer it to a new provider.</p><h3>Summary</h3><ol><li>Always max out your company pension benefits it’s free money.</li><li>Providing that your still young ask to move your pension plan to the higher risk so that you can greater returns on your investments.</li><li>The earlier you start the bigger your pension pot will be due to compound interest.</li></ol><p><strong>References</strong></p><ol><li><a href="https://www.lv.com/pensions-retirement/state-of-retirement-chapter-1">https://www.lv.com/pensions-retirement/state-of-retirement-chapter-1</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df8741188d48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create your own Rust Server]]></title>
            <link>https://richardpricejones.medium.com/how-to-create-your-own-rust-server-c37c49d22919?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/c37c49d22919</guid>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[private]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sat, 16 Jan 2021 01:57:48 GMT</pubDate>
            <atom:updated>2021-01-16T01:57:48.959Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*uT8cGci7zXrZLNUd9yJsRg.png" /></figure><h3>Prerequisites</h3><ul><li>Windows WSL 2 → <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10">https://docs.microsoft.com/en-us/windows/wsl/install-win10</a></li><li>Docker for windows → <a href="https://hub.docker.com/editions/community/docker-ce-desktop-windows/">https://hub.docker.com/editions/community/docker-ce-desktop-windows/</a></li><li>Docker Linux → <a href="https://docs.docker.com/engine/install/ubuntu/">https://docs.docker.com/engine/install/ubuntu/</a></li><li><strong>Port forward</strong> the following ports: 28015, 28016, 8080 both TCP and UDP to your computer that is hosting the server.</li></ul><h3>System requirements</h3><ul><li>4 GB RAM Minimum for the server</li><li>i7 7700K</li><li>25GB Space</li></ul><h3>Server Setup</h3><p>The aim of this guide is to host a server you and a small group of friends 20 people maximum. If you want to host a large server with 50 people or more, then you would need to look into a dedicated solution. This is mainly due to the fact of the upload speed that most home broadband connections have aren’t good enough for large scale servers.</p><h3>Download and Run Docker container</h3><p>A docker container can thought of as a very light weight VM that you execute application inside. But we are using it because there is already server that is pre-built for us.</p><p><strong>DockerHub Link</strong>: <a href="https://hub.docker.com/r/didstopia/rust-server">https://hub.docker.com/r/didstopia/rust-server</a></p><p>Reference Docker Flags: <a href="https://docs.docker.com/engine/reference/run/">https://docs.docker.com/engine/reference/run/</a></p><p>Open your Terminal or Ubuntu Terminal App (Windows), copy and paste the following:</p><pre>docker run --name rust-server --restart -d --memory=&quot;4g&quot; \<br>-p 28015:28015 -p 28015:28015/udp -p 28016:28016 -p 8080:8080 \<br>-e RUST_SERVER_NAME=&lt;SERVER_NAME&gt; -e RUST_SERVER_WORLDSIZE=3500 -e RUST_RCON_PASSWORD=&lt;CHANGE ME&gt; \<br>-e RUST_OXIDE_ENABLED=1 \<br>-v &lt;WHERE_YOU_WANT_SAVE_YOUR_SERVER&gt;:/steamcmd/rust \<br>didstopia/rust-server</pre><p>Okay, this looks like it’s doing a lot but we can break it down. You can just use this command to get a server up and running.</p><ul><li>memory=”4g” Limits the container to only use 4G of RAM if you have performance issue increase this.</li><li>-P allows a port to talk from the container to your window host machine. The defaults will just fine, if you need to change them do the following:</li></ul><pre>&lt;PORT&gt;:28015 &lt;PORT&gt;:28016 &lt;PORT&gt;:8080</pre><ul><li>-v stands volume you need to change &lt;WHERE_YOU_WANT_SAVE_SERVER&gt; to the place where you want to keep your server on your machine. For example on a folder on your desktop.</li><li>Change the password for rcon&lt;CHANGE ME&gt;</li><li>Change the server name &lt;SERVER_NAME&gt;</li><li>You can see more options here -&gt; <a href="https://hub.docker.com/r/didstopia/rust-server">https://hub.docker.com/r/didstopia/rust-server</a></li></ul><h3>Connect to the server from the Rust Game</h3><ul><li>Start the Rust game from stream</li><li>Wait until you can see the main menu</li><li>Press F1 then copy and paste client.connect &lt;HOST_IP&gt;:28015 into the terminal that has opened and hit enter</li><li>First time you connect it might take a few minutes</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/64/0*9FPGgXVTNRkJImYT.png" /></figure><h3>Useful docker commands</h3><h3>Start Rust Server</h3><p>If you already have the container there i.e you have already used docker run command.</p><pre>docker start rust-server</pre><h4>Stop Rust Server</h4><pre>docker stop rust-server</pre><h4>Remove Rust Server</h4><p>This is need if you want to change anything in the create command, you will need to remove and create the server again. <strong>Keep</strong> -v &lt;WHERE_YOU_WANT_SAVE_YOUR_SERVER&gt; the same if you want to use the same server that you had before.</p><pre>docker rm -f rust-server</pre><h4>Look at the Rust Server logs</h4><pre>docker logs rust-server</pre><h4>Check how much CPU and RAM the server is using</h4><pre>docker stats rust-server</pre><h3>Useful Server Commands</h3><p><a href="https://rust.fandom.com/wiki/Server_Commands">https://rust.fandom.com/wiki/Server_Commands</a></p><h4>Issuing commands to rust server</h4><pre>docker exec rust-server rcon &lt;command&gt;</pre><h4>Example Command</h4><pre>docker exec rust-server rcon fps</pre><h4>Set someone as teleport TP user 1 to user 2</h4><pre>docker exec rust-server rcon teleport &quot;&lt;rust_name_1&gt;&quot; &quot;&lt;rust_name_2&gt;&quot;</pre><h4>Save Server</h4><pre>docker exec rust-server rcon &quot;server.save&quot;</pre><h4>Set Time</h4><pre>docker exec rust-server rcon &quot;env.time 12&quot;</pre><h4>Turn off decay for buildings</h4><pre>docker exec rust-server rcon &quot;decay.upkeep false&quot;</pre><h3>Install Rust IO Map</h3><ul><li><a href="http://playrust.io/manual/#!index.md#Installation">http://playrust.io/manual/#!index.md#Installation</a></li><li>You need to save your ddl in the &lt;WHERE_YOU_WANT_SAVE_YOUR_SERVER&gt; folder on your computer.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c37c49d22919" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good security  IT practices for the person of tomorrow]]></title>
            <link>https://richardpricejones.medium.com/good-security-it-practices-for-the-person-of-tomorrow-678bdeab0146?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/678bdeab0146</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[password-management]]></category>
            <category><![CDATA[https]]></category>
            <category><![CDATA[dns]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Sun, 26 Jul 2020 22:22:08 GMT</pubDate>
            <atom:updated>2021-04-29T22:20:07.902Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to stay safe and secure online</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*kft4GG_PPmVRgEQ5egwe8Q.jpeg" /></figure><p>With how interconnected the world is today. There are some standard things that you should be doing to maintain a reasonable level of internet security. All the recommended solutions are free.</p><h3>Https Traffic</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/158/1*PQbKmOScf6PTeZ4-HaaPbw.png" /><figcaption>Always look for the PadLock</figcaption></figure><p>HTTPS stands for Hyper-Text Transfer Protocol Secure. What this basically means is that 3rd parties can’t see the data between you and the website you are visiting. Without this HTTPS displayed via a Green padlock on your web browser, anyone can see the data you are sending between sites such as usernames and passwords so it’s paramount that’s it’s enabled. It should be the default, but there are some sites that don’t enforce it. I would recommend downloading a Plugin called HTTPS Everywhere, this will ensure that your traffic is always secure.</p><h3>DNS Over HTTPS</h3><p>DNS stands for Domain Name Server. When you type into the web browser <a href="http://www.google.co.uk/">www.google.co.uk</a> a computer doesn’t know what that means or where to route your web traffic. So before you go to google.co.uk, it first sends a request to the DNS server to which return an address, which the computer can understand e.g. <strong>142.250.31.94</strong> try typing that into your browser and you will find that you go to google.com.</p><p>By default, DNS requests aren’t encrypted so even if you’re using HTTPS to secure to the data between you and the website such as Google, a 3rd part can still see that you are visiting the google.co.uk. Another example would be that if you’re reading the news on bbc.co.uk a 3rd party knows that you are visiting BBC but so long as you’re using HTTPs they can’t see what new articles you are reading.</p><h4>Additional Information</h4><p>When internet companies introduced adult content filters and Web blockers they are based on DNS request this only works because the request by default is not encrypted. They then just check if the website is on a block list and if it’s on the list then they will return a DNS error. Additionally, some DNS providers sell data about your Internet activity or use it to target you with ads.</p><p>Currently, the best option for DNS over HTTPS is the CloudFlare solution. I would read their guide here it’s very good. <a href="https://1.1.1.1/dns/"><strong>https://1.1.1.1/dns/</strong></a><strong> </strong>you check if it’s worked here <a href="https://1.1.1.1/help">https://1.1.1.1/help</a>. For IOS and Android download an app called <strong>1.1.1.1</strong>. This will magically do it all for you.</p><h3>Two-factor Authentication (2FA)</h3><p>2FA can be considered a second layer of protection for your account. You can enable Two Factor Authentication for most accounts these days.<strong> </strong>It’s a text to your phone to basically to prove that the owner is the person typing in the password and someone who has stolen the password.</p><p>With two-factor authentication, only you can access your account on a trusted device or the web. When you want to sign in to a new device for the first time, you’ll need to provide two pieces of information — your password and the six-digit verification code that’s automatically displayed on your trusted devices or sent to your phone number. By entering the code, you’re verifying that you trust the new device. For example, if you have an iPhone and are signing into your account for the first time on a newly purchased Mac, you’ll be prompted to enter your password and the verification code that’s automatically displayed on your iPhone. — Apple.com</p><p>It’s highly recommended to always enable two-factor authentication of your email address, if someone get access to your email address they can do a lot of damage, such as reset your account password for a lot of accounts and more.</p><p>Get the Google Authenticator app to your phone or just add your phone for 2FA to every account you have. Here some tutorial for some common platforms:</p><blockquote><a href="https://support.apple.com/en-gb/HT204915">https://support.apple.com/en-gb/HT204915</a></blockquote><blockquote><a href="https://www.google.com/landing/2step/#tab=why-you-need-it">https://www.google.com/landing/2step/#tab=why-you-need-it</a></blockquote><blockquote><a href="https://en-gb.facebook.com/help/148233965247823">https://en-gb.facebook.com/help/148233965247823</a></blockquote><blockquote><a href="https://support.microsoft.com/en-us/help/12408/microsoft-account-how-">https://support.microsoft.com/en-us/help/12408/microsoft-account-how-</a> to-use-two-step-verification</blockquote><h3>Password Manager</h3><p>There are so many accounts these days it’s very hard to keep track of passwords. This results in people reusing passwords, having very weak passwords, or even writing them down on paper. If a website has a data breach then potentially your username, email, and password could be leaked, if this were to happen all websites and accounts that share this email and password are also compromised. To prevent this you should use a password manager with a strong password and I mean strong. This could for example <strong>LaptopCha1rdog$WinterIsComing </strong>something strong but something that you can remember this is best done via a sentence of words which far easier to remember than <strong>*&amp;FE!X7w93zN7YjC. </strong>I use a password manager called <a href="https://www.lastpass.com/">Lastpass</a> it comes via a mobile app, Google Chrome extension, and desktop app. It will auto-fill your username and password into sites so you don’t even need to handle the secure data anymore.</p><p>For more information see here → <a href="https://www.ncsc.gov.uk/blog-post/what-does-ncsc-think-password-managers">https://www.ncsc.gov.uk/blog-post/what- does-ncsc-think-password-managers</a></p><h4>Firewalls and Port forwarding</h4><p>A firewall is a software utility or hardware device that acts as a filter for data entering or leaving a network or computer. You could think of a firewall as a security guard that decides who enters or exits a building. A firewall works by blocking or restricting network ports. Firewalls are commonly used to help prevent unauthorised access to both company and home networks.</p><p>Software firewalls are designed to protect a computer by blocking certain programs from sending and receiving information from a local network or the Internet. By default, most programs are blocked by the firewall but can be excluded through the firewall settings. — ComputerHope</p><blockquote><strong>TLDR</strong>: Enable it if not already!<br> Mac: <a href="https://support.apple.com/en-gb/HT201642">https://support.apple.com/en-gb/HT201642</a></blockquote><blockquote>Windows: <a href="https://support.microsoft.com/en-gb/help/4028544/windows-10-turn-microsoft-defender-firewall-on-or-off">https://support.microsoft.com/en-gb/help/4028544/windows-10 turn-microsoft-defender-firewall-on-or-off</a></blockquote><blockquote>Window Defender: <a href="https://support.microsoft.com/en-gb/help/4028544/windows-10-turn-microsoft-defender-firewall-on-or-off">https://docs.microsoft.com/en-us/mem/intune/user- help/turn-on-defender-windows</a></blockquote><h3>Only install software and Apps</h3><p>Only install apps and software that are from official stores i.e Apple, Google, and Windows Store. Otherwise only download from trusted sources so for PC gaming this would be Steam, GOG, Origin etc. Most applications are web-based these days so this isn’t much of a problem than it used to be.</p><h3>Phishing Emails</h3><p>Phishing is a type of online scam where criminals send an email that appears to be from a legitimate company and ask you to provide sensitive information. A quick way to filter to most of these is a have a good Junk Box filter on your email most of the big companies such as Microsoft and Google will do this for you. However, from time to time a phishing email will get through, see the following steps for some good tips.</p><ol><li>Check the domain name from the sender&#39;s email address. Look at these two email addresses both claiming to from Amazon customer services: <strong>customer-service@amazon.co.uk or customer-service@amazon- help.co.uk. </strong>If we look at the latter we can see that the domain name isn’t correct. FYI the domain is the text after the “@” symbol.</li><li>If you think it doesn’t look right don’t click anything forward it towards <a href="/service/mailto:report@phishing.gov.uk">report@phishing.gov.uk</a>. (UK)</li><li>Click the Junk button or if you can’t find that just delete it.</li></ol><h3>Password Breaches</h3><p>When a website gets hacked sometimes information is leaked this information can contain usernames, password, names, emails, address, bank information, etc. If a company is beached they are required by law to tell you this part of your rights as part of GDPR(<a href="https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/personal-data-breaches/">https://ico.org.uk/for-organisations/guide-to- data-protection/guide-to-the-general-data-protection-regulation- gdpr/personal-data-breaches/#:~:text=If you are a UK,Trust Services</a>). However, if the company is bigger enough you will normally see it on the news or online. A company should always encrypt Its information about Its customers. However, there are cases where this has not been the case. In any case, you should change your password and if you have not already enabled two-factor authentication. I would also monitor your bank transactions and report anything that you do not recognise.</p><blockquote>You can check if your email has been involved in a data breach using a website called <a href="https://haveibeenpwned.com/">https://haveibeenpwned.com</a></blockquote><blockquote>You can also get an email alert if your email has been breached <a href="https://haveibeenpwned.com/notifyme">https://haveibeenpwned.com/notifyme</a></blockquote><h3>Disk Encryption</h3><p>Everyone should be running full disk encryption on their laptops. Encrypting your disk will protect you and your data in case your laptop falls into the wrong hands, whether it’s because you accidentally left it somewhere, your home or office was burglarized.</p><blockquote>Disk encryption on Mac: <a href="https://support.apple.com/en-us/HT204837">https://support.apple.com/en-us/HT204837</a>Disk encryption on Windows: <a href="https://support.microsoft.com/en-gb/help/4028713/windows-10-turn-on-device-encryption">https://support.microsoft.com/en- gb/help/4028713/windows-10-turn-on-device-encryption</a></blockquote><h3>VPN’s</h3><p>VPN’s or Virtual private network extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. You can read more <a href="https://www.expressvpn.com/what-is-vpn/vpn-for-dummies?gclid=cjwkcajwrch3brapeiwaxjdptylug0iz1fbocazdxwglpgs3xvc_6o6pquys0rfepvc8cmw7nhyxyxocyygqavd_bwe">here</a>? I would recommend <a href="https://bit.ly/32XGnQ2"><strong>Namecheap</strong></a><strong> VPN</strong> if you are going to use a VPN. I will create another post on VPNs.</p><p>If you need VPN you can use my link to get discount of year membership to make it only £8.65 so that’s only £0.72 per month. Here -&gt; <a href="https://bit.ly/32XGnQ2">https://bit.ly/32XGnQ2</a></p><p>VPN’s normally cost money! You should not use a free VPN, if they are free they will possibly spam you with ads or even sell your browsing data to advertising companies, they need to be funded somehow. So if are going to use one then research it’s funding model.</p><h3>Summary</h3><p>Hopefully, this should give some base for great IT and Internet security, and hopefully, you have learned something. There are things I’ve missed out either because they cost money or aren’t required for the average user.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=678bdeab0146" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gauss’s Trick]]></title>
            <link>https://richardpricejones.medium.com/gausss-trick-904b019a8890?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/904b019a8890</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[guasss-trick]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Wed, 22 Apr 2020 23:10:58 GMT</pubDate>
            <atom:updated>2020-07-26T22:22:42.692Z</atom:updated>
            <content:encoded><![CDATA[<p>What’s the sum of numbers 1 to 10? Well erm, it’s 1+2 +3 +4+5+6+7+8+9+10 So 55?</p><p>Cool Cool. So what about the sum of numbers 1 to 1*10⁶ then?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*_DmZ0_woKmWqHGJ_HhkDDg.jpeg" /></figure><p>This is where Guass’s trick comes into play and it’s as follows:</p><pre>Guass’s trick = n/2(n + 1)</pre><pre>10 / 2 (10 + 1) = 55 </pre><pre>1 * 10^6 / 2 (1*10^6 +1) = 5.000005*10^11</pre><p>So basically it’s a quick way to sum consecutive natural numbers quickly.</p><figure><img alt="Lord of the rings qoute Sounds like Ocr mischief to me." src="https://cdn-images-1.medium.com/max/400/1*XLhkz48aNCBkwhk8Pt1o2g.jpeg" /></figure><p>See below for workings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wgwClXNocuLacZSyo2jQg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=904b019a8890" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithms  Part 1]]></title>
            <link>https://richardpricejones.medium.com/algorithms-part-1-d58adf099c28?source=rss-120318433047------2</link>
            <guid isPermaLink="false">https://medium.com/p/d58adf099c28</guid>
            <category><![CDATA[binary-search-algorithm]]></category>
            <category><![CDATA[bts]]></category>
            <category><![CDATA[python3]]></category>
            <dc:creator><![CDATA[Richard Price-Jones]]></dc:creator>
            <pubDate>Wed, 01 Apr 2020 20:33:04 GMT</pubDate>
            <atom:updated>2020-04-02T01:28:17.745Z</atom:updated>
            <content:encoded><![CDATA[<h3>Algorithms Part 1</h3><h3>Binary search</h3><p>Binary Search has a time complexity of O(log N) which basically means it halves the problem space with each search.</p><p>So Given 20 numbers 0 to 20 and the target number is 6. Then</p><p>left pointer = 0, Right pointer = 20, MidPoint = (left + right) / 2 = 10</p><p>Does MidPoint equal <strong>10</strong>? NO! hmm okay is the mid point <strong>bigger </strong>or <strong>smaller </strong>than the <strong>target </strong>value? Since <strong>6</strong> is less the <strong>MidPoint </strong>we move the <strong>right </strong>pointer to <strong>mid’s </strong>value -1 (We know it’s not the current mid-value so we can -1) so now the left pointer is still 0 and the right pointer is now 9. We have just halved the problem space 10 to 20 is no longer being considered. The full process would be:</p><p>RP: 20, MP:10, LP:0</p><p>RP:9, MP:4, LP:0</p><p>RP:9, MP:7, LP:5</p><p>RP: 6, MP: 5, LP: 5</p><p><strong>RP:6, MP:6 LP:6 &lt;- Found</strong></p><p>Ok great and how does this help me?</p><p>Well given a <strong>sorted</strong> an array of 1 * 10⁹ values find the value <strong>5635985?</strong></p><p>If we just iterate through the array and search index one by one then on my pretty fast i7 it will take around ~7 seconds, with <strong>5635985 </strong>searches<strong>. </strong>Therefore it has a time complexity of O(N) linear time.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f0b86331e26c49733522319e848644e/href">https://medium.com/media/5f0b86331e26c49733522319e848644e/href</a></iframe><p>Now let&#39;s look at a binary search implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c6c269a271841048a30cb70450d1888/href">https://medium.com/media/0c6c269a271841048a30cb70450d1888/href</a></iframe><p>This implementation took<strong> 0.001</strong> seconds and only required <strong>26 </strong>searches! So that’s <strong>7000 </strong>times faster and <strong>5,635,959 fewer searches.</strong></p><h3>Guessing Game</h3><p>Below is a very small and simple game were given a limit, you can use a BST to solve the children&#39;s game “guess the number” in the most optimal way. If the answer is <strong>8569 </strong>then it would only require 12 guesses not bad right 😎</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bbd3843d02954aec8b912d4736b7133b/href">https://medium.com/media/bbd3843d02954aec8b912d4736b7133b/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d58adf099c28" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>