blog's Doomworld Forums Blog

blog's Doomworld Forums Blog

[SOLVED] Why is the output negative? March 10, 2015, 9:59 am
This code is supposed to calculate e to the power x. It works fine at lower numbers, but then at x = 3.6, the output starts to decrease as x goes up. What's wrong?

C language.

EDIT: The problem was that "factorial" function was an int, so at high values, it won't work.

#include <stdio.h>

double factorial (int n) {

double f_result = 1; //factorial result
int i;

for (i = 1; i <= n; i++)
f_result *= i;

return f_result;


double power (double base, int exponent) {

double p_result = 1; //power result
int i;

for (i = 1; i <= exponent; i++)
p_result *= base;

return p_result;

double compute_ex (double x) {

double division = 1;
double div_sum = 0;
int counter = 0;

while (division >= 0.0001) {

division = power (x, counter) / factorial (counter);
div_sum += division;



return div_sum; //div_sum is the sum of the infinite series, which is e to the power x


int main()

double x;

printf ("Enter the value of x:\n");
scanf ("%lf", &x);

printf ("e to the power %.1lf = %.2lf", x, compute_ex (x));

return 0;


When random theme songs get stuck in your head. March 6, 2015, 4:38 am
Ever had those times a song regardless of how long its been since you last heard it somehow manages to pop up in your head without even trying to think of it, and keeps playing over and over?

Just recently the Inspector Gadget theme song keep playing repeatably in my head even though I haven't even seen the show in over two decades.

Is there any particular reason why this sort of thing sometimes occurs with peoples minds?

Coins fall out of my pants in the car. Why? March 5, 2015, 7:53 pm
I'd like to interrupt the steady stream of news articles being linked in the Everything Else board to ask for some assistance with a conundrum that has been affecting me for a considerable amount of time now. Sometimes I carry loose change around in my pocket, but whenever I exit my car there it is sitting on either the floor or the seat. And that's a best case scenario. Sometimes I may want to buy something from a vending machine or make a call from a payphone because my cell phone is dead, but lo and behold, my change is gone. I can't for the life of me figure out why this is happening, but I have a few hypotheses:
-Money just doesn't like me
-I'm being pickpocketed by bums without realizing it
-God himself is removing the change from my pocket
-The government and/or college is removing the change from my pocket
-Coins are just spontaneously melding with the pants
-I collected 100 coins and they disappeared in exchange for an extra life
-At some point I keep getting repeatedly mugged by pirates and forgetting it

If anyone can offer me any assistance, please do. This is one of the few issues in my life right now that I can potentially do something about as soon as I find out what it is. I will personally mail you 2 quarters if you can give me a solution that works.

Getsu Fune
Phone Scams! D: March 5, 2015, 2:39 pm
my landline is apparently a magnet for phone calls since the past month. lately, I've been getting a lot of calls on my home phone. usually, I end up with no message on the phone, most likely due to some dummy getting the wrong number. this is fine, mistakes happen. but what I've also been frequently getting is something even more interesting, and rather catastrophic to think about had I answered the phone that time. that's right, I'm talking about phone scams, the ones where someone is demanding money over the phone from my paycheck, or something among those lines. and I seem to get them once or twice a week that it's getting ridiculous.

the most recent one happened just yesterday. around the morning time where I live, I got a message, apparently from New York of all places. so I played the message and I was quite shocked at what I was hearing. someone had called my number, claiming to be from the IRS and saying some shit about having a lawsuit filed against me and an arrest warrant. I figured it was a scam since I really don't do anything wrong (plus I had already payed for my taxes last weekend). I had a gut feeling that the IRS doesn't directly call random peoples' phone numbers. I decided to Google this particular scam, and I found out that it seems to be targeting others in the states as well. so I showed this to my father and he called the police about the message we got. my dad knows when something's a scam anyways, since all these people want to do is take money out of our pockets.

I fucking wonder how these crooks could come up with this sort of sophisticated scheme of masquerading as IRS agents and I hope I'm not the only one who is ending up receiving these messages. I also am wondering if I should disconnect my landline, given how I am so tired of people constantly calling my home phone number.

Hello March 4, 2015, 10:23 pm
Hello, Doomers i'm new to this community and i decided to join because i thought it was interesting so i'm working on some maps right so it will be awhile before i post anything else.

I keep getting redirected to the Doomworld homepage. March 4, 2015, 3:07 pm
I noticed this happening a few days ago after some difficulty with my internet, but whenever I try to go onto the Doomworld Forums index or Wads and Mods I get instantly redirected back to It only seems to do this on my laptop for some reason and I have no idea how to fix it. Anyone else experienced this?

Stuck in a home with (family / related) occupants. March 1, 2015, 5:06 pm
Like the title says, I currently reside in a rented home with another relative of mine, whom I share bills / rent / other home payments with. Unfortunately, there are also blood-related relatives living in the same area, though they do little to pull their own weight (lightly putting it).

The other two said relatives / occupants are on some form of disability [some sort of anger issue, I gather] , and currently rely on aforementioned relative (stepmother) of mine as their payee for said funds. However, this hasn't stopped the two of them from working before.

As of right now;

While I don't do it myself nor have a problem with such, they smoke pot on a daily basis, but it's at the point where a good majority of the house believes its gotten to the abusive level.

I've learned from monitoring the ongoings in the house that there's indeed been -selling- of this going on within the home as well. Something me and the aforementioned stepmother have both tried to prevent. There are people coming in as late as 12AM - 3AM knocking on the basement windows to get their supply, basically.

The time-span mentioned is ALSO when people think it's 'okay' to sneak alcohol into the house and have their own parties in the basement. Even on days where some younger siblings need to sleep for school.

These two abuse myself, the stepmother, and the younger siblings in the house on a near-daily basis, mainly in the form of verbal abuse or otherwise messing with their heads. With one such occupant, this has gotten to the violent level. THIS, however, is frequent. Also results in a lot of broken items in the house.

With that said, I can say that we have, indeed, tried to come up with several ways for them to otherwise get out on their own, however all of our efforts so far are turning up with zip.

They refuse to find work. When pressured and DO find one, they can't hold it for longer than a month or two. This is usually by their own doing.

They refuse to look into other places to live, and ignore any comments about cheaper properties being found nearby.

They hold their disability check over my stepmother's head and claims she's using it for her own needs, however this is untrue as well. Their checks are being used to help them and the house, as well as going for food and home bills.

If threatened with police being called, they tell my stepmother (their mother) that they'll plant weed in her bedroom, and tell the cops to investigate. THIS, or they claim they'll commit suicide. This, again, has happened on more than one occasion. (somehow.) Now.. They -were- on the lease for the previous year on this house, I'm not exactly sure if this accounts for anything. Some info would be GREATLY appreciated here.

Right now, I'm completely clueless on where to go from here. The stepmother's too stubborn to actually CALL the police or anyone else worth calling / informing of the situation, so I'd figured that maybe a majority / crowd might be enough to help figure out where we need to go.

EDIT: Pardon for the weird formatting. Not too used to making a text post on here.

EDIT II: I really wish more of my posts could be about general forum / Doom-related stuff. But it seems like most of the decent advice I get comes from here.

Streaming Doom Builder February 28, 2015, 3:49 am
Thought I'd mess around, try and get some more newgothic out. And streaming it. I may or may not keep it up.

Speed Running February 26, 2015, 8:58 am
I was trying to speed run through Half-Life like in that 20min video.

I got to the part where there's large hanging crates over a pit, but there were no crates. The crates were replaced by hanged Barneys. I got to get to the other side, so I jump across and grab one of them. I swing with it and grab another. I get a little entangled with the ropes, but eventually get to the other side.

Then there's that bullsquid and sewer like place, it jumps and breaks some catwalk. I thought I could jump over the broken area, but it didn't work, so I was back up before the jump. I try a few times more, but no, can't get through. Then I go back before the bullsquid broke catwalk and tell it to not jump and break stuff.

I see the usual route ahead, and I see a broken wall before it and there's a dark tunnel with some wooden stuff, green toxic puddles and some kind large crates that move inside the wood tunnels. I thought I'll go this route instead, because I hadn't seen it before. I figured I had to move fast, not to get crushed by the large moving crates, and also to jump over the toxic puddles. In one corner of a wood part I see a Recoil Weapon Mod, but didn't feel like stopping to pick it up, didn't even have any weapons I could use it with.

It goes on for a while, and I come to a dark slimy cave. I see some kind of switch panel ahead, and 2 little switches on its sides. I hit all 3 switches. There is some large opening with more mechanical stuff at the left and 2 smaller tunnels on the right. I go to the middle tunnel.

I come out of the caves & tunnels and there's a blue sky almost near sunset. I see a grassy pathway down to a overlook above a body of water. Nearby I see a blue armor, and on the overlook I see another and a soulsphere. I try to get the nearby blue armor, but it runs away laughing. I run down to the soulsphere and the other blue armor and pick them up. There's also a few health potions and I pick them up as well, as I noticed from the SBAR my health didn't go up to 200%.

I run back up and get to a desert. I have a blue ball in my right hand. I think it's a throwable weapon. The sun is setting and the desert is colored orange/amber. There's a bunch of dunes and cylindrical mounds. On my right side I can hear a road with cars going on it, but when I look, it's filled with impenetrable wall of fog. I turn left and continue running. I climb over one mound and they're hollow from the top and there's some deep red liquid like substance in the hole.

Shadows from the dunes and mounds look almost like alive. I try not to step on any of them. I hear a car louder, and when I look to the right again, it's penetrated the fog, and parks next to some mound with half of it still visible. That kind of scared me. I turn away from it and I continue running faster. I can see the edge of the desert. I start wondering if I can make it there in time. But then the scene fades and I'm on my bed.

Rant about all this TWID etc crap February 25, 2015, 11:25 pm
saw a thread about MLFD2TWID and PERDITIONS GATE TWID, didnt want to throw my post away since the thread got helled. i feel this community is wasting tons of potential by making maps with dated design so here we go:

oh ffs

TNT REVILUTION (or tnt2 idk)

Thats just on top of my head. I guess we have enough wads inspired in the original design (and some of them praised for cloning a dated design). Make an effort at exercising your creativity, which happens to be the main benefit of mapping (and other arts). Seriously, you guys don't have excuses considering the wide range of possibilities of limit removing source-ports, let alone others like edge, boom, zdoom and doomsday. and sorry, someone had to point out this special kind of cancer plaguing the mapping community (again).

You like the original design? Fine, play the original maps.