That situation clearly never happened:
Best posts made by reverendryan
-
RE: :wtf: How can this be so wrong??? (AKA the Discopocalypse thread)
-
The If-Switch anti-pattern
I'll just leave this here.
function print100(){ for($i=1; $i<101; $i++){ echo $i; if ($i!=0 && $i %3 == 0 && $i % 5 == 0){ $case = 0; } elseif ($i!=0 && $i % 3 == 0) { $case = 1; } elseif ($i!=0 && $i % 5 == 0){ $case = 2; } else { $case = 3; } switch ($case) { case 0: echo "FizzBuzz"; break; case 1: echo "Fizz"; break; case 2: echo "Buzz"; break; case 3: echo ""; break; } } }
That's not discourse breaking the indentation, that's how he did it.
-
RE: The IT Anecdotes thread
I once changed an AUTOEXEC.BAT file command from PROMPT=$P$G to PROMPT="RUNTIME ERROR IN 230, CALL SYSOP". The professor in charge of the lab wasn't able to run his demo program that day...
Back in the day when computers still sometimes had floppy drives but everyone had long since stopped using them, the administrative staff where I worked was moving in to a new building.
I found an old DOS boot floppy and a copy of Basic and whipped up some fake error screens. Each computer got a slightly different version. Mostly streams of silly text-mode error messages ("ERROR: Water in your disk drive") or fake blue-screens, all of which ended with "Remove the floppy disk from your drive and press ctrl-alt-delete".
The best one I did, after finding all my old DOS stuff including a graphics library, was a screen that looked almost exactly like Mac System 7. It even went through the happy mac loading screen, loaded some extensions and then showed the desktop. If the user tried to click anything, they got a bomb error (thus perfectly replicating System 7 *cough*).
They retaliated a couple months later by turning my office pink.
-
The new guy
My first look at the new guys code turned this up:
switch(true) { case !decision.released:
And then while copying that to paste here, I noticed this pattern in that same
ifcase block:&& !!decision.viewed
I'm still trying to figure out if it's an extra ! or completely superfluous. Today is going to be a long day.
-
RE: Driving Anti-Patterns - Necro Edition
This afternoon on my way back from lunch, I was headed east on a 2-lane highway. There was absolutely no oncoming traffic, and no one behind me for at least 1000'. I was at the end of 4 or 5 cars.
A guy in a van waiting at a stop sign decided to cut me off, turning left into my lane just in front of me. He accelerated so hard that his trunk door flew open causing him to abort his turn and stop on the shoulder just in front of me.
Thanks, guy. You couldn't have waited another 5 seconds for me to pass?
-
RE: How To Demoralize Employees: A DIY Guide for Terrible Companies
@Lorne_Kates said:
I hijacked an unused bookshelf, moved it into my office, and it's piled full of snacks and treats.
That looks like our Communal Bookshelf of Weight Gain, which is mostly full of candy, chips, and other high-calorie low-nutrition items. Also hot sauces, which are very important.
-
RE: AWS issues
@Yamikuronue Something is still different, though, or the credit balance would be bouncing back with the restart loop fixed and the bot banned.
According to Ben's graph, between 10:00 and 12:00 UTC we were using credits at a rate of about 28/hour, or a net loss of 4 credits per hour (we earn 24/hour), while in the 8-hour overnight period we gained credits at a rate of about 1.5/hour. If I've mathed correctly that's a net spend of about 50 credits per day. We can accumulate up to 576 credits. At this burn rate we run out of credits in only 12 days if we start with a full bank which is why I think something is still changed/wrong.
There's an actual CPU Credit Usage graph that @ben_lubar could pull with two weeks of history.
-
RE: Mandatory Fun Day
Two separate but equal forums encourages dupes
All forums are equal, but some forums are more equal than others.
Filed under: Forum Farm
-
RE: The Official Status Thread
status: the entire customer care office is shut down because someone saw an insect on the ceiling. It turned out to be one of these:
@reverendryan,
software developerexterminator -
RE: AWS issues
@ben_lubar That's... more subtle than I was expecting; we're mostly under the 24-credit mark on the left (if only just), and mostly at/over on the right. Not the smoking gun I was hoping for, though, in terms of pining down a specific event.
@e4tmyl33t said in AWS issues:
I don't think that's how it works. You only earn credits if you're idle, not if it's under any sort of load. While you're burning credits, you don't earn any. At least that's how I read it.
It does; our credits accumulate regardless of usage, they are just spent immediately if we're using the CPU above the threshold.
AWS said in [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html#t2-instances-cpu-credits]
Each T2 instance starts with a healthy initial CPU credit balance and then continuously (at a millisecond-level resolution) receives a set rate of CPU credits per hour, depending on instance size. The accounting process for whether credits are accumulated or spent also happens at a millisecond-level resolution, so you don't have to worry about overspending CPU credits; a short burst of CPU takes a small fraction of a CPU credit.
When a T2 instance uses fewer CPU resources than its base performance level allows (such as when it is idle), the unused CPU credits (or the difference between what was earned and what was spent) are stored in the credit balance for up to 24 hours, building CPU credits for bursting.So, maybe we should talk short- and long- term fixes. @apapadimoulis, would you approve upgrading the instance class to t2.large to accommodate our current credit usage, until the forum can be moved out of AWS in December? If you wanted to crowd-fund the difference, I'm sure enough people (myself and @accalia at least) would donate.
-
RE: 😻 The Emergency Cute Things Thread
Not only that, but she can't understand why her friends are afraid to take their kids to the park without plastering their faces first.
ECTTFY
-
RE: The Official First World Problems Thread™
You have no idea how hard it is to not gain at least 10 pounds every week around here.
We have the same problem. Monday we had a celebration (sales hit a milestone), and so we brought in BBQ, then had (really good, from some fancy bakery in Seattle) cake and ice cream. Naturally there were leftovers, so we've all been doing 4:30 ice cream this week. Then today someone brought in pastries for everyone.
Everyone who has ever started working here has gained 5-10 pounds in their first month.
-
RE: How To Demoralize Employees: A DIY Guide for Terrible Companies
Woo we just agreed to a business plan to roll out IE9 by November 1st.
In defense of your IT department, they've only had 3½ years to come up with the plan. This is a web browser we're talking about- it's not like there's an easy way to keep it up-to-date.
-
RE: Permissions on Linux
SELinux contexts are invisible unless you remember to
ls -Z
.What Linux needs is a fourth file permissions system. Oh wait, apparmor.
Fifth! What Linux needs is a fifth file permissions system. Right now it's entirely too easy to not lock myself out of my files.
-
RE: Driving Anti-Patterns - Necro Edition
Here's the one that gets me. >90 degree turn.
I like how if you follow the line they've painted showing you the curve to take, you still end up 45° from the direction of traffic.
-
RE: The If-Switch anti-pattern
No, it's PHP.
I told the candidate that he could use any language he wanted. After talking about his current project that uses a combination of Node.js and Ruby, he selected PHP.
His first step was to google how to do a loop.
-
RE: The nerdy jokes thread (bonus original title mode!)
Is there a third distinct gender of humans now?
Gender? Absolutely. Sex? Sure, that too. The relation between sex and gender, and the possible values they can take? Not a road you want to go down unless you really really have to.
ETA: The road you don't want to go down is what to ask on a form, when you're not sure why you're collecting the data in the first place. We went in circles for a while, decided what we really should ask is "which bathroom do you use", then thew up our hands and went with what the national organization in our space collects. We did the same thing with Ethnicity.
-
RE: Poll: Smoking cigarette in this century.
@abarker said:
worse than meaningless
Do I smell a TDWTF namechange?No, no no.. It's the name of the new weekly front-page comic strip.
-
RE: JIRA Configuration
That was really helpful. Writing the OP made something click about the setup, so hopefully it'll work well for us.
Edit: I get to give a company wide presentation about it in 20 minutes, yay!
-
RE: C++ compiler error
Somehow this class does not have access to its own private members!
#include "chastitybelt.h"
@boomzilla said:Don't leave us hanging.
*snicker*
Filed under: [It's Friday and I'm tired.](#tag9) -
RE: Today is Friday, the 13th
I know a lot of our India based companies get bad press, but truth is each time there is some wrong management decision involved.
Really? The WTF I mentioned earlier falls 100% on the shoulders of our remote developer. He managed to mis-use our VCS so badly that each new commit he made last night reversed the previous one:
Commit 1: fix for bug 1 Commit 2: fix for bug 2, reverse out Commit 1 Commit 3: fix for bug 3, reverse out Commit 2 etc.
Filed under: Discourse Bug: No Emoji for or
-
RE: Wherein we buy a .sucks domain
You all have way too much time on your hands.
I'm in for $10.
-
RE: 🚀 The Kerbal Thread - Share Your Kerbal Creations
Well, thanks to you guys I bought KSP on Saturday. Now I'm never going to get @RichardNixonBot finished.
One of the first things I did was kill poor Jeb because I forgot to put a parachute on his capsule. Oops.
-
RE: Ah, the joys of legacy dialogs
Oh, so a "Back" button is in the upper-left corner and is an arrow, but the "Next" button is in the button pane and is labeled "Next"?
Why not? Everything's a mobile browser now. Didn't you get the memo?
Filed under: Next!
-
RE: JIRA Configuration
Yeah, I added it to the wrong screen. JIRA is a "configure ALL the things" system, which is why it's been such a pain to get going.
-
RE: Driving Anti-Patterns - Necro Edition
Related: the person who slows down to 40mph for their exit when the see the 1-mile-warning sign.
-
RE: Modern Office Architecture
I would still rate @mikeTheLiar as worse than a hot boring day .
<no offense...
-
RE: The Sad State Of (Atwood's) Web App Deployment
Wow. Installing my test discoinstance back in the early bot days wasn't quite that hard, but it definitely want just grab an image and go.
Filled under: first mobile post, how do you people put up with this ui?
-
RE: The dumbest thing I've seen today: this tweet
Microsoft builds Mac software, too. So, uh, maybe they actually need to own a few Macs to, you know, compile and test it?
How ironic! Next you'll tell me that Microsoft used to sell their own version of UNIX.
-
RE: Driving Anti-Patterns - Necro Edition
Before traffic clears and allows me to make the turn, the idiot bicyclist pulls up adjacent on my right side as if to pass me (although there was no lane there) and go thru the red light, despite me having my right turn signal on
Obviously signalling your intention to turn was microagressing her, you jerk.
-
RE: :fa_eye: The Official Lurkers' Thread™
This is my 15th post, which means I now have more posts here in the last month than in 7 years on CS.
Filed Under: 🏆
-
RE: :fa_eye: The Official Lurkers' Thread™
I'll just leave this here then: Tunnelrat.
MPS was a real PITA though.
I'd totally forgotten about them... Been lurking since 2006, registered since 2007. Had 14 posts on CS.Filed under: FUCKING HELL WHY DOES IT DELETE ONE CHARACTER WHEN I HIT BACKSPACE ONCE?!
-
RE: 🙅 THE BAD IDEAS THREAD
Huh, so they re-invented the AlphaSmart
So it seems that the main objective of this thing is a way to part hipsters from their money.
Hipsters plus some weird form of nostalgia, in which one tries to bring back things that sucked the first time around. I used an original AlphaSmart in school and it was terrible. -
RE: Senile Argyle Architect
@TheCPUWizard said:
There is never a spec...... just a bunch of people telling you what they'd like the app to do today, which might contradict what they said yesterday, what the other people said today, or the laws of physics
...sigh.
bug 123: Widgets don't get frobnicated when baz is true! How could they not be getting frobnicated?! Customers are calling to complain!
bug 124: A Widget got frobnicated (I think baz was true?)! How could they be getting frobnicated?! Customers are calling to complain!double sigh...
Filed under: I wish the bug numbers being so close together wasn't the only exaggeration...
-
RE: 🙅 THE BAD IDEAS THREAD
We know this one will be a bit painful but there is a bug with this build in which Win32 (desktop) apps won’t launch from the Start menu.
Core functionality broken, so SHIP IT ANYWAY! Did a discodev sneak in to Microsoft?
"We don't care, we don't have to. We're
the phone companyMicrosoft." -
RE: Who do I get angry with here?
isitjustmeorisisitdownrightnowdown.com
@loopback0 said:That's right - use one website checker to check another
It's website checkers all the way down!Further investigation reveals it's definitely my isp. Same systam:
Is it their DNS? I never trust an ISP's DNS. -
RE: The IT Anecdotes thread
I was tech support at the time, so I was really just doing myself a favor.
-
RE: Question for IIS & AWS users
If I do that, will I end up paying more on my AWS bill? If I can save a couple bucks a month, I'd rather just tell people to grin and bear it when it's slow to load.
If it's an EC2 instance, you're paying for the time the machine is spun up, regardless of what it's doing so you shouldn't have any extra bills.
-
RE: The Official Status Thread
@Weng Works on my wife, as long as it's something like this http://www.redrobin.com/menu/full-menu-rrtrh2/bar-menu/boozy-shakes.html
-
RE: Loud motorcycles dying?
@accalia said in Loud motorcycles dying?:
best answer i could find is "because it's harley"
Basically this. I let my bike warm up for 5-10 minutes, especially in the morning if I'm using it to commute to work. I'm not a complete jackass, though, so it's not a Harley and actually has a muffler, and therefore doesn't wake up the neighborhood.
-
RE: Unix Haters' Club
@Captain said:
Emacs. Now there's a contemptible user interface
+«
M-x discourse-mode
C-L 213
C-x C-s -
RE: Is the server melting?
When clicking in to this topic:
@Discourse said:Sorry, we couldn't load that topic, possibly due to a connection problem. Please try again. If the problem persists, let us know.
Followed by:
@discourse said:502 Gateway Unavailable
I'd say that the server melted in to corium and started eating through the datacenter floor.