September 04, 2016


Writing about web page

While talking to Marc, he told me about a previous Warwick student who had helped quite a bit with the development of SAGE, but had in recent years taken to Julia.

It was at this moment that I realised that SAGE, Magma, Mathematica and MATLAB are not just the big players, but just a mere handful of them. On Julia's website, we can see benchmarks against various other languages, some which I've used but not for intense maths like JS and Java (or arguably Python), and some which I've only heard about being difficult.

Taking inspiration, I'm thinking about what languages can I branch out to? I've already taken a step towards Julia. I'm thinking of giving Rails a go for my website, and I could also try php? I've heard many bad things about php, but they can't all be true. Could they?!

Bash is also one i've been meaning to learn for some time now, so that would be good. And there are all the variations of C I have yet to learn. I really only know C (the normal one). Go, Haskel, Lua...

My friend Ollie, I recently found, went up to 100 (+) on Project Euler, I know this is something I keep meaning to do. It certainly motivates me to do so, it's an admirable quality. He along with Jack are trying to coerce me into playing chess too, so that might happen sooner or later. Lots to happen

August 31, 2016

Catching up with the rabbit

Follow-up to A glimpse of a rabbit from Mayur's blog

So the last time I wrote about this, I was simply reading up on the mathematics behind what I was doing. I started programming in SAGE and as always there are a few hickups with it.

I'm mostly just trying to replicate Yasaki's results in this language, but it's appearing harder than I had thought. As with most programming projects I've ever undertaken, there always is a horrible messy debug/write cycle in the middle, but this is more horrendous than usual. Anyway, I'm getting on with it, learning lots about what research is like, and also getting quite a bit closer with Marc my supervisor.

I'm really enjoying the URSS and for anyone who might be vaguely interested in doing it, I would highly recommend it. I think I've learned that research would actually be very very fun, and really something I want to do (provided the right topic), however I've been lazy for too many years to suddenly become smart overnight and keep up.

If only I'd known many years ago that this is something I want to do, and to not fall victim to the plague that is laziness. I think I'm keeping up okay despite my lack of hard work in previous years, I just keep thinking "If I had tried, then maybe I would have understood this better/faster". Perhaps it's just thinking the field is always greener on the other side, and even if I had tried, it would not be easier. But my gut instinct is to say it is indeed the way it sounds.

August 28, 2016

New Website?

So I've had a website on pythonanywhere for a while now. I've enjoyed using flask but it does have it's limitations. I feel there could be a greater community working at giving help, and in general just to compile.

Considering flask is a micro framework (as in it's just bare bones), it really should be easy to learn. I'm not sure what it says about me as a programmer if I can't learn it that well.

Eitherway, I will upload the tutorial to build a site from nothing using it ( an even more bare-bones replica of my current site). Along with video (hopefully).

I've recently changed my Linux laptop yet again to OpenSuse and it's seeming ok, so once I'm fully set up i'll start producing it.

August 21, 2016

New Collaboration

Follow-up to charc_math 1.0 from Mayur's blog

My friend Ben (FleaRex) has decided to help me with my module, by ordering it in a nicer way and also adding in his own functions. Theres also a few more I'd like to add based off my work with the URSS.

One of them is spiral.pi which iterates over things of a given norm. The others are and some others, although I'm going to see if NumPy has an implementation I'm after.

Again, the majority of these functions are really just for me, I just thought they'd be useful for others. With Ben now also working on it, this may change and it may become more friendly to other users. I'm also going to see if he can come up with a better name.

While this is happening, I may also create a python3 version, and slowly start moving there. SciPy is supported in it, and so really I have little excuse of going there. I'm also thinking after a while I'll move to another language, one which is better for mathematicians. I've still got plenty of coding to learn and still Bash to conquer, so i think this will make a nice hobby.

August 19, 2016

Improve One's Self

I was talking to my friend Jack and he reminded me that to be really giving 100% as a mathematician, or as whatever you are, you really need to be giving 100% on everything. You need to be eating well, you need to be sleeping well, you need to be relaxing well, to work well.

The main tip he offered me, was to make a calendar. Each day you achieve your goal, you cross that day off on the calenday. Once you achieve 30 days of success, you've made it a habit! (with hope). Each day you don't, you restart the count. Making it more and more painful. It only requires some initial will power, which he's willing to provide for me.

It should work to help cure my sleep, and improve my eating habits. After that I can take aim for the 1st I really don't deserve, but am capable of.

He also said not to improve too many things at a time, and only stick to two, or one if I want to. Which sounds like sound advice.

If you hadn't noticed, I do love puns and also play on words, as well as using words in their multitude of meanings.

Hopefully by the end of summer, I'll finally become better, and update the documents I keep saying I will

August 15, 2016

URSS week 2:

So I'd reflected on the first week before, and thought I'd do it for the other weeks too.

It seems I actually understood quite a bit of the theory wrong, this week has been quite unproductive in terms of getting far. I seem to slightly understand what I'm doing, but it's not really sinking in.

It goes off the work from Yasaki, Gunnels and also (Andrew) Jones's Thesis. I'm just struggling getting a few things to work. Marc has been really quite helpful in making sure I understand it all and helping me also code in sage by teaching me about shortcuts\methods which i'd not seen before.

I think I should be able to have a working program by Wednesday (I hope).

I also wanted to upload a clean/improved version of my essay on Complex Multiplication, which I will at some point.

Span of Multisets

We haven't written anything yet, but me and a friend are looking at something we've called the 'span' of a set.

Basically, given a multiset, and a set of operations, what are all the numbers you can construct, when only using one number from the set exactly once. It seems to be quite a complicated question, and I think it would be part of Combinatorics/Graph Theory (since that's how we're rewriting a lot of the questions). We're going to work on it when we have some spare time and propably put the pdf on here when done.

August 02, 2016

A glimpse of a rabbit

I just started my URSS with being given a complicated title and some papers I don't understand. I'm told it's actually very simple, but from the outside it certainly doesn't feel so.

I set out on the quest for my rabbit. Once I see the fluffy tail of the rabbit, and can identify which one is the right rabbit. It's simply a question of going down the rabbit hole, until nothing makes sense without 4/5 hours of explaining. This is what I feel research will be like.

I've been going through the shorter of the papers, hoping it would also be the simpler one. It was also the paper my supervisor told me to start with, so one can hope it is simple. A few lines in I'm already met with words I have heard in passing but never understood and simple words which I do understand attached to words I don't, meaning even the little hope I had of understanding it was lost.

Marc advised that I go through the paper slowly and it should start to make much more sense. So I take a large peice of paper and write down these words, look up their definitions and try to understand each one and continue. All of a sudden, I see a white hair. It looks like a rabbit.

Upon closer inspection, I had caught a glimpse of the rabbit. Soon after I found the whole of the rabbit.

The rabbit, for those wondering, was I needed to compute an initial "Perfect Form" given from a brute force search in O^2 where O is the maximal order in Q(-sqrt(d)) where d was my input. Still seems hard to grasp, but at least it was digestible.

I start to code comments of the break points and get started on catching up to the rabbit. As well as understanding more of the definitions. In time, I think it's doable. Rome wasn't build in a day.

July 11, 2016

New Ubuntu

So I've finally published the module to Pypi, and I've also updated the ubuntu on my pc. I decided to go for a fresh install and not let my files gather into messes like they usually end up doing.

It's rather clean and nice. I've also mastered the terminal so installation was much easier this time. I was thinking since this is basically a dead blog, I could move it to my actual website, give me a chance to put my HTML/CSS/JS skills into action.

This might be something I do once I've graduated.

I didn't get as high as I wanted with my results, so I might not be publishing that much. - Even less than I already do!

I also made a new Gmail - one with a professional name this time. So I might start uploading youtube how-to videos about the things I've done. I know I would have appreciated a really good how to video when I was doing various things, and maybe this would even help other people.

June 19, 2016

charc_math 1.0

Follow-up to Python Maths from Mayur's blog

Having taken some time, I've figured out the mysterious ways of GitHub and finally ported this module to there.

I've made it clean and well laid out, as well as taking care of lots of bugs. With the module in such a clean state, I hope to expand on it more frequently from now on.

I've yet to polish it up and publish it to PyPi, but I will do soon.

I had naively and rather pretentiously originally labelled it 'Math2'. This was back when the module was just on my own computer, and I didn't know PEP so well. I took a look, and Math2 has significantly more downloads than charc_math, despite the latter having more in it. If anyone has more suggestions to the name of my module, I'm all ears.

Search this blog

Most recent comments

Not signed in
Sign in

Powered by BlogBuilder