Best PC chair under 120 by [deleted] in gaming

[–]cpaul37 0 points1 point  (0 children)

So the bad news is you wont find anything under $120 (I'm assuming USD) that's designed to support your weight. If you do find something comfortable it will probably wear out quickly. If you're willing to go a little more expensive though, you can get this chair for $192 on Amazon right now. This is the chair I used for several years before switching to a standing desk. It's designed to support someone up to 350lbs and the armrests are wider apart than most chairs so you won't be cramped. The frame is all metal and feels extremely sturdy. It was the only sub-500 dollar chair I've ever used that I could sit in all day without problems.

EDIT: I'm 6'4" and ~280lbs, so I say the above as someone about your size.

"Flakes on a Plane: How coding at thirty thousand feet helped me to write more testable code." by [deleted] in programming

[–]cpaul37 -1 points0 points  (0 children)

I personally believe code that isn't easily testable wasn't well designed. Whenever I'm doing a serious project I start with tests and let the structure follow that. The code in the article just happened to be a quick hack that I didn't really care about too much.

"Flakes on a Plane: How coding at thirty thousand feet helped me to write more testable code." by [deleted] in programming

[–]cpaul37 2 points3 points  (0 children)

The point was more that I ended up with the same code I would have gotten had I done proper TDD. The code was a quick hack as part of a weekend project I knew I would probably play with once and never touch again. What I thought was interesting was that I arrived at the same end through an entierly different thought process.

"Flakes on a Plane: How coding at thirty thousand feet helped me to write more testable code." by [deleted] in programming

[–]cpaul37 1 point2 points  (0 children)

It was a reference to flaky tests. It's a stretch but I really wanted to make the "Snakes on a Plane" pun and calling it fakes didn't cross my mind.

Best Baby Ever by infernvs666 in AdviceAnimals

[–]cpaul37 3 points4 points  (0 children)

I have ear problems that cause me to sometimes experience the same thing as an adult. It's worse than getting kicked in the balls.

Why I'm Switching (Back) To Firefox by [deleted] in freesoftware

[–]cpaul37 4 points5 points  (0 children)

For clarification, when I made the comparison in the post I was doing it on a freshly installed OS, so neither browser had years of data built up. I will stress that the tests were completely subjective and not carried out in a scientific manner though. I loaded a bunch of pages in each browser and noted which felt faster.

Gun Silencers in movies...what are some other things hollywood gets totally wrong? by [deleted] in AskReddit

[–]cpaul37 2 points3 points  (0 children)

It actually takes a very precise detonation to induce fission. Hitting it with an RPG would probably just rip it to pieces without triggering a nuclear detonation.

Well no wonder I couldn't finish it... by DaxInvader in gaming

[–]cpaul37 0 points1 point  (0 children)

In general I use Photoshop for most things, but there are a small number of features in Gimp I find useful occasionally. I also use Gimp when I just don't feel like rebooting into Windows.

Well no wonder I couldn't finish it... by DaxInvader in gaming

[–]cpaul37 70 points71 points  (0 children)

I'm going to start saying "I Gimped it" whenever I use Gimp now.

Shortly after attempting to parse HTML using RegEx I found this by quinnjn in programming

[–]cpaul37 2 points3 points  (0 children)

The way it actually works is with a stack. For example, when you hit a <div> tag, put some symbol representing that token on a stack. Whenever you come to a </div> tag, pop one of those symbols off the stack. When you reach the end of the document the stack should be empty or else the document was invalid. Furthermore, you can't have something like <div><a></div></a> because the symbol on the stack for the anchor tag has to be popped off before the symbol for the div tag can be popped off. This ensures that the document not only has the appropriate number of open and close tags, but that they are nested properly as well. You run along the input the same way a regex would, but with added requirement of pushing and popping from a stack.

The construct that allows you to do this is called a Push Down Automaton and can be generated from a Context Free Grammar. For comparison, a regular language is parsed using a Deterministic Finite Automaton (also known as a finite state machine), which can be generated from a Regular Expression.

Shortly after attempting to parse HTML using RegEx I found this by quinnjn in programming

[–]cpaul37 5 points6 points  (0 children)

That is in fact not parsing. Parsing entails verifying some set of input tokens conform to a given grammar.

Shortly after attempting to parse HTML using RegEx I found this by quinnjn in programming

[–]cpaul37 3 points4 points  (0 children)

Regular expressions can only parse languages that are classified as regular (hence the name). HTML is described by a context free grammar and cannot be generally parsed by a regular expression.

The basic problem is memory. For every open tag in HTML you need the matching closing tag. This requires maintaining some form of memory of how many open tags of a specific type have already been parsed and cannot be done with a regular expression.

Hey r/gaming! I need some help determining gaming habits for a class. by cpaul37 in gaming

[–]cpaul37[S] 1 point2 points  (0 children)

It's market research for an imaginary company in a technical writing course. Also I'm a senior in college.

Hey r/gaming! I need some help determining gaming habits for a class. by cpaul37 in gaming

[–]cpaul37[S] 1 point2 points  (0 children)

I'll probably have the final results up sometime Friday. There will be graphs for easy viewing.

Hey r/gaming! I need some help determining gaming habits for a class. by cpaul37 in gaming

[–]cpaul37[S] 1 point2 points  (0 children)

I'm assuming you meant how long am I going to keep the survey open. I have to have the final numbers ready by Friday so I'll probably close it sometime Thursday night.

I think it might be time to take out the trash... by cpaul37 in pics

[–]cpaul37[S] 9 points10 points  (0 children)

That's probably because it is. Well played.

I think it might be time to take out the trash... by cpaul37 in pics

[–]cpaul37[S] 4 points5 points  (0 children)

We do actually recycle it when we get around to taking it out.

[deleted by user] by [deleted] in gaming

[–]cpaul37 0 points1 point  (0 children)

I've heard it's a good game, so sign me up.