Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cxfhvxgkcf-56:7

Pages: 1 ... 959697 9899 ... 517
2881
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 02:33:21 PM »
1. The largest known star, by volume, is UY Scuti, which has a diameter roughly 1,708 times that of the Sun. If placed in the center of our Solar System, it's surface would likely extend to or beyond the orbital radius of Saturn.
I could have swore that statistic  belonged to VY Canis Majoris unless its changed recently

2882
The Flood / Re: Guys I have a Serious™ question
« on: September 29, 2015, 02:32:02 PM »

2883
The Flood / Re: Guys I have a Serious™ question
« on: September 29, 2015, 02:30:54 PM »
i'm 99% sure you're black, arab, or both

2884
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 02:20:00 PM »
-Enceladus is way cooler: it's a moon around Saturn that has massive water geysers that shoot into space, and is now believed to have subsurface oceans.

-Quake III has an incredibly interesting function for calculating the "fast inverse square root" of a number.  Most programs would have had to take a while (relatively) to consult a lookup table (precalculated values stored in memory) to find an answer, but this code did a bunch of space magic and memory manipulation to provide an answer that worked well, in a quick amount of time.  Funny to see that their comments are crude; same goes for MS-DOS.

Code: [Select]
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;

x2 = number * 0.5F;
y  = number;
i  = * ( long * ) &y;                       // evil floating point bit level hacking
i  = 0x5f3759df - ( i >> 1 );               // what the fuck?
y  = * ( float * ) &i;
y  = y * ( threehalfs - ( x2 * y * y ) );   // 1st iteration
// y  = y * ( threehalfs - ( x2 * y * y ) );   // 2nd iteration, this can be removed

return y;
}
oh yeah well this program i wrote will convert an algebraic string to RPN format and that subprogram, which I will not include, will solve it, its actually not entirely working atm

Code: [Select]
#include <stdio.h>
#include <stdlib.h>
#include "cstack.h"
#include "alg2rpn.h"
#include "rpn_util.h"

float alg2rpn(char my_string[]) {
  cstack top;
  char output[30];
  int i = -1, j = 0, next_state = 0;
  float ans;
  init_cstack(&top);
while (1) {
  switch(next_state) {
    case 0: i++;
  if (is_digit(my_string[i])) {
next_state = 1;
  }
  else if (is_operator(my_string[i])) {
next_state = 2;
  }
  else if (is_space(my_string[i])) {
next_state = 0;
  }
  else if (my_string[i] == '(') {
next_state = 3;
  }
  else if (my_string[i] == ')') {
next_state = 4;
  }
  else if (is_end(my_string[i])) {
next_state = 5;
  }
  else {
next_state = 6;
  }
 
    break;
   
    /* If Digit */
        case 1: while ((is_digit(my_string[i]) || (my_string[i] == '.'))) {
    output[j] = my_string[i];
    j++;
    i++;
    }
     output[j] = ' ';
     j++;
     next_state = 0;
        break;

            /* If Operator */
    case 2: while ((!c_is_empty(top)) && (is_operator(top -> data)) && (prec(my_string[i]) <= prec(top -> data))) {
    output[j] = c_pop(&top);
    j++;
    output[j] = ' ';
    j++;
    }
    c_push(&top, my_string[i]);
    next_state = 0;
    break;

    /* If Left Parentheses */
    case 3: c_push(&top, my_string[i]);
    next_state = 0;
    break;

    /* If Right Parentheses */
    case 4: while (top -> data != '(') {
          output[j] = c_pop(&top);
      j++;
      output[j] = ' ';
      j++;
    }
    c_pop(&top);
    next_state = 0;
    break;
   
        case 5: while ((!c_is_empty(top)) && (is_operator(top -> data))) {
        output[j] = c_pop(&top);
j++;
output[j] = ' ';
j++;
            }
    ans = rpn(output);
    return ans;
    break;

    case 6: return printf("Something went wrong\n");
    exit;
    break;
}
    }
}

2885
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 01:04:05 PM »
Hitler actually did nothing wrong

picture for proof

Spoiler


Spoiler

Your first image was broken.
you're broken

2886
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 01:03:15 PM »
if the largest known star in the universe, VY Canis Majoris, was in our solar system its corona would extend all the way to Saturn

I think that's a bit off. I think waaaaaay off actually.

If the largest star we know of was in our solar system there wouldn't even be a solar system because the star itself would encompass our entire system.
I'm saying if VY canis majoris was placed where our sun is it would extend out to Saturn

Quote
Estimates of the star's radius range from around 1,500 to 2,000 times larger than the sun, if VY Canis Majoris was placed in the center of our solar system it would reach the orbit of Saturn!

http://www.solarsystemquick.com/universe/vy-canis-majoris.htm

2887
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 01:00:37 PM »
Hitler actually did nothing wrong

picture for proof

Declared mildy NSFW and triggering by the JIDF


Spoiler

2888
The Flood / Re: Tell Me Things.
« on: September 29, 2015, 12:53:25 PM »
if the largest known star in the universe, VY Canis Majoris, was in our solar system its corona would extend all the way to Saturn

2889
The Flood / Re: Well the year has gone by quick once again
« on: September 29, 2015, 12:27:31 PM »
p good so far

2891
Septagon / Re: Make Simseo shorten his name
« on: September 29, 2015, 10:20:50 AM »
fuck you

2892
Serious / Re: Switching Educational Concentration [School of Law]
« on: September 28, 2015, 11:35:16 PM »
>not majoring in computer science to experience your job getting taken by an Indian

Kek

2893
The Flood / Re: What have you given back to society
« on: September 28, 2015, 11:10:25 PM »
Nothing. I don't owe society anything.

2894
The Flood / Re: I'm fucking done. Goodbye.
« on: September 28, 2015, 10:47:26 PM »
I'll make a video that will hopefully answer some questions.
Live streaming your suicide? Neat, make sure to do a flip first

2895
The Flood / Re: Any 4channers here?
« on: September 28, 2015, 10:41:25 PM »
I sort of hope /pol/ gets shut down so every board has to deal with "gas the kikes" and "race war now"

2896
The Flood / Re: I'm fucking done. Goodbye.
« on: September 28, 2015, 10:40:47 PM »
Fuck

2897
The Flood / Re: I'm fucking done. Goodbye.
« on: September 28, 2015, 10:38:36 PM »
Your parody thread is shit m8

2898
The Flood / Re: I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 08:20:02 PM »
ew, rice beer
Not ricey at all m8. Has a nice chocolatey, malty flavor
>malt beverage
What are you, a nigger?
Most beer is made with malt you cuck

2899
The Flood / Re: Hi darkness my old friend
« on: September 28, 2015, 08:18:05 PM »
The Beatles suck.
What I thought this was by The Doors?
Doors =/= rolling stones. Try again.
Rolling Stones =/= Neil Young. Try again kiddo

2900
The Flood / Re: Hi darkness my old friend
« on: September 28, 2015, 08:16:55 PM »

2901
The Flood / Re: Hi darkness my old friend
« on: September 28, 2015, 08:15:26 PM »
The Beatles suck.
What I thought this was by The Doors?

2902
The Flood / Re: I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 08:11:26 PM »
ew, rice beer
Not ricey at all m8. Has a nice chocolatey, malty flavor

2903
Gaming / Re: Recommend a gaming laptop for me.
« on: September 28, 2015, 08:09:27 PM »
Probably what Gatsby said last I checked newegg that model of MSI is listed for like $1800 and the 970m can do most modern games last I checked its benchmarks

2904
The Flood / Re: I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 07:59:36 PM »
Fucking weeb.


While in Texas last week, I discovered a liking of Shiner Bock.
Shiner Bock is one of the better brews you can pick up at Walmart
>tfw I can't go to a walmart and pick up beer here
Why though?
Because Pennsylvania has the most retarded alcohol laws in the US, possibly in the American continents.
The state actually owns every wine and liquor store (outside of those directly owned by domestic wine makers). Beer is either purchased in cases at a licensed distributor (who are only allowed to sell full cases) or in singles/fortys/sixpacks from some fridge in a bar or fucking pizza shops (go figure), usually for trumped up prices.

And this is why I frequently just drink whiskey or local wine.
That's fucking terrible, holy shit.

Yup. Everyone wants the state out of the industry too, but the lobby for the distributors and the union for the state store employees put so much money into Harrisburg, and our new Governor is so fucking pro-union that I fear all the groundwork set out by the last guy towards the end of his term to finally privatize the liquor industry will mean nothing.
Out of all the things they could choose to have a socialist monopoly on....

Those liberal bastards

2905
The Flood / Re: Daily Reminder
« on: September 28, 2015, 07:58:35 PM »

2906
The Flood / Re: Daily Reminder
« on: September 28, 2015, 07:53:51 PM »
Tbh even with their fascist laws, terrible taste in condiments, and hate of personal liberties I'd probably live there tbh.

2907
The Flood / Re: I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 07:50:13 PM »
Fucking weeb.


While in Texas last week, I discovered a liking of Shiner Bock.
Shiner Bock is one of the better brews you can pick up at Walmart
>tfw I can't go to a walmart and pick up beer here
Why though?
Because Pennsylvania has the most retarded alcohol laws in the US, possibly in the American continents.
The state actually owns every wine and liquor store (outside of those directly owned by domestic wine makers). Beer is either purchased in cases at a licensed distributor (who are only allowed to sell full cases) or in singles/fortys/sixpacks from some fridge in a bar or fucking pizza shops (go figure), usually for trumped up prices.

And this is why I frequently just drink whiskey or local wine.
That's fucking terrible, holy shit.

2908
The Flood / Re: Movie Night
« on: September 28, 2015, 07:49:23 PM »
Fruit,Thunder,Mistanosejob and Sopo get out
But Cannibal Holocaust is a legitimately good movie...

2909
The Flood / Re: Any 4channers here?
« on: September 28, 2015, 07:47:35 PM »
I used to visit /pol/ from time to time, but 4chan is honestly such a shit website. The design is awful, Moot fucked it up during Gamergate trying to bend over backwards for the guy who now owns it who sold information to third parties on his original anon image board in Japan and 8chan isn't much better since its owned by the guy who was CEO of the Japanese site while the information was being fucked sold.

The way threads are organised is fucking stupid. The discussion there is largely uninteresting. It's a fucking shitshow.
/pol/acks speak only the truth

2910
The Flood / Re: I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 07:42:35 PM »
Fucking weeb.


While in Texas last week, I discovered a liking of Shiner Bock.
Shiner Bock is one of the better brews you can pick up at Walmart
>tfw I can't go to a walmart and pick up beer here
Why though?

Pages: 1 ... 959697 9899 ... 517