Sunday, 15 March 2015

Back to learning Java

Little things from podcasts and bits online, 

Strangler pattern, interesting idea, by taking the shape of current system you strangle the older system in the same way ivy does. 

Conway's law, the idea that systems being developed mirror the social structure of the company creating it.

UK Business insider with an article about rates of pay and different technologies and skill sets. 

Trying to get up to speed with Java doing basic coding challenges, very different to how intuitive I found visual studio.

Intellij using the darcula theme with a second window showing a black triangle
Challenge 203, display a black triangle
 
Challenge 202 convert binary to English

public class Main {

    public static void main(String[] args) {
        String input "010010000110010101101100011011000

11011110010000001010111011011
11011100100110110001100100";
        char[] inputs = input.toCharArray();
        List<String> inputsAsWords = new ArrayList<String>();

        int wordLength = 8;
        int wordLettersinInput = input.length() / wordLength;
        int counter = 0;
        for (int i = 0; i < wordLettersinInput; i++)
        {
            String Word = "";
            counter += wordLength;
            for (int k = i*wordLength; k < counter; k++  )
            {
                Word = Word + inputs[k];
            }

            inputsAsWords.add(Word);
        }

        for (String word: inputsAsWords)
        {
            System.out.print((char) Integer.parseInt(word, 2));
        }
    }
}


Long graphics card with a large looking gpu on a desk

More kit going to the recycling, this time it was a broken card, folding at home is hard on cards, removed the cooler for other projects. I did find whilst throwing rubbish out my old TIM-clean. TIM-clean, citrus based solvent that is actually friendly compared to isopropyl alcohol and effective.

No comments:

Post a Comment