User Controls

  1. 1
  2. 2

Thanked Posts by Migh

  1. Migh Houston
    Originally posted by Kafka It’s like someone having to spend their life in jail but not caring, and if they suddenly found enlightenment at the end and felt regret then they are suffering.

    Not exactly. Psychopaths still get to enjoy things in life, they just enjoy different things.

    Its kind of like a religous person that finds happiness in doing volunteer work, saying that other people will never feel happy unless they become religous and do volunteer work for the community. Its not true due to different people finding happiness in different places.
    The following users say it would be alright if the author of this post didn't die in a fire!
  2. Migh Houston
    They eat like shit because they are depressed. They are depressed because they are fat and lazy. They are fat and lazy because they lack energy and have low intellegence. They lack energy and have low intellegence because they eat like shit.

    They are pathetic.
    The following users say it would be alright if the author of this post didn't die in a fire!
  3. Migh Houston
    Originally posted by Bradley Got a keyboard and a case from the store.

    I love being white.



    Gonna go watch some Dr Phil and think about my actions.

    Some people have no morals.
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. Migh Houston
    I dont understand them.

    I am alone almost all the time and I love it. I prefer to be alone. I feel no real connection when socializing with others. I never feel lonely. I feel no need to seek out relationships. I am completely satisfied with having no meaningful relationships in my life.

    I dont overeat, drink in excess, or use drugs. I feel great. I am healthy and enjoy getting my kicks via other activities.

    Why are most people so weak?
    The following users say it would be alright if the author of this post didn't die in a fire!
  5. Migh Houston
    I like you. You're smart and clever.
    The following users say it would be alright if the author of this post didn't die in a fire!
  6. Migh Houston

    package com.lanny.things;

    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.util.ArrayList;

    public class Nir {

    public static ArrayList<int[]> numberSet;
    public static String number1 = "4343404100000000";
    public static String number2 = "4343404199999999";
    public static String numberToCheck = "4343404105441234";
    public static int[] checkNumber;
    public static boolean check = false;
    public static boolean writeToFile = false;

    public static void main(String[] args) throws Exception {
    if (!check){
    numberSet = new ArrayList<int[]>();
    int[] a = new int[16], b = new int[16];
    for (int i = 15; i > -1; i--){
    a[i] = number1.charAt(i) - 48;
    b[i] = number2.charAt(i) - 48;
    }
    createList(a, b);
    for (int n = 0; n < numberSet.size(); n++){
    int[] temp = numberSet.get(n);
    for (int i = 0; i < 16; i++){
    System.out.print(temp[i]);
    }
    System.out.println();
    }
    } else {
    checkNumber = new int[16];
    for (int i = 15; i > -1; i--){
    checkNumber[i] = numberToCheck.charAt(i) - 48;
    }
    System.out.println(isValid(checkNumber)?"Valid":"Not Valid");
    }
    }

    public static void createList(int[] range1, int[] range2){
    while(!equals(range1, range2)){
    if (isValid(range1)){
    int[] temp = new int[16];
    for (int i = 0; i < 16; i++){
    temp[i] = range1[i];
    }
    numberSet.add(temp);
    if (writeToFile){
    try {
    File file = new File("/home/lanny/Desktop/NumberList");
    BufferedWriter output = new BufferedWriter(new FileWriter(file, true));
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < 16; i++){
    sb.append(temp[i]);
    }
    output.write(sb.toString() + "\n");
    output.close();
    } catch (IOException e) {e.printStackTrace();}
    }
    }
    range1 = increment(range1);
    }
    }

    public static boolean isValid(int[] n){
    int total = 0;
    for (int i = 15; i > -1; i--){
    if (i % 2 != 0){
    total = total + n[i];
    } else {
    Integer temp = n[i] + n[i];
    int tempt = 0;
    for (int x = 0; x < temp.toString().length(); x++){
    tempt = tempt + Integer.parseInt(String.valueOf(temp.toString().charAt(x)));
    }
    total = total + tempt;
    }
    }
    return (total % 10 == 0);
    }

    public static int[] increment(int[] i){
    int[] returner = i;
    boolean finished = false;
    int s = 15;
    while (!finished){
    if (i[s] != 9){
    returner[s]++;
    finished = true;
    } else {
    returner[s] = 0;
    s--;
    }
    }
    return returner;
    }

    public static boolean equals(int[] range1, int[] range2){
    for (int i = 0; i < 16; i++){
    if (range1[i] != range2[i]) return false;
    }
    return true;
    }

    }
    The following users say it would be alright if the author of this post didn't die in a fire!
  7. Migh Houston
    Originally posted by blaster master gift cards?

    Dave and Buster Chips and cash
    The following users say it would be alright if the author of this post didn't die in a fire!
  1. 1
  2. 2
Jump to Top