The Official Status Thread
-
Finally killed the code that made it to the front page
-
Buying tickets for Jobing.com Arena for the first week of December. Watch out, @abarker.
-
Stumbling towards the end of a tiring work week
-
Status: Replacing 30-odd instances (three presented below) of copypasta code akin to (the actual command to iptables differs in every case warranting 30-odd calls):
pid_t pid; if (0 == (pid = fork())) { execl("/usr/sbin/iptables", "iptables", "-t", "mangle", "-I", "PREROUTING", "-s", cidr, "-j", "whitelist", NULL); exit(0); } else { waitpid(pid, NULL, 0); } [...] if (using_cache) { if (0 == (pid = fork())) { execl("/usr/sbin/iptables", "iptables", "-t", "filter", "-I", "INPUT", "-i", client.iface, "-p", "tcp", "--dport", "3128", "-m", "mark", "!", "--mark", "256/256", "-j", "ACCEPT", NULL); exit(0); } else { waitpid(pid, NULL, 0); } } if (0 == (pid = fork())) { execl("/usr/sbin/iptables", "iptables", "-t", "filter", "-I", "INPUT", "-i", client.iface, "-m", "set", "--set", client.ipset, "src", "-j", "ACCEPT", NULL); exit(0); } else { waitpid(pid, NULL, 0); }
with
iptables("-t", "mangle", "-I", "PREROUTING", "-s", cidr, "-j", "whitelist", NULL); [...] if (using_cache) iptables("-t", "filter", "-I", "INPUT", "-i", client.iface, "-p", "tcp", "--dport", "3128", "-m", "mark", "!", "--mark", "256/256", "-j", "ACCEPT", NULL); iptables("-t", "filter", "-I", "INPUT", "-i", client.iface, "-m", "set", "--set", client.ipset, "src", "-j", "ACCEPT", NULL);)
so I've got a central point where I can actually do some return-call checking, debugging and add comments to some of the rules dynamically.
-
At least it didn’t attempt to directly use libiptc...
Bonus points for not checking for errors and doingexit(0)
if iptables does not start.
-
At least it didn’t attempt to directly use libiptc...
Found the FAQ related to that almost immediately while I was searching to see if there was a Better Way™ and thought it better to simply wrapper all that was currently being done in a common function.
At least I can check for errors now I'm using
system()
rather thanexecl()
-
So far: 350 lines removed, 74 lines added.
29 of those new lines are my wrapper function. Which will grow a bit when I add the extra stuff I need..
-
I want this day to be over ...
-
me too, and it just started for me!
-
The terrors of the later day are somehow failing to materialise...
Filed under: not reducing stress level
-
I haven't gotten out of bed yet.
-
Buying tickets for Jobing.com Arena for the first week of December. Watch out, @abarker.
That reminds me. I need make some vacation plans for next February.
-
Status: Still quiet. Too quiet...
-
Status: wondering how high of a priority the broken firecall request site is as it was down yesterday too. That or the ticket has been made but people can't touch things as they can't request a firecall account.
-
Trying to sort out the mess of RSS/RSS2.0/Atom that I need to support and trying to decide if I can just cut the BS and only support Atom and be done with it.
-
Got a meeting request at 8pm last night, for a time early this morning, before I got in.
Huge pet peeve of mine, and very inconsiderate. I'll probably ignore the guy for another hour, maybe two.
-
Status: talking to EvilTrout, like talking to any Discourse developer, just leaves you feeling angry, impotent, and frustrated.
Fuck you, @apapadimoulis for forcing this bullshit on us. You are the worst at running websites.
-
Status: Wondering if switching to a new forum software is worth the loss of all the topics here.
Current answer: Yes, because Discourse is somehow worse than Belgium.
-
-
Part of me wonders if this was all done on purpose. If we didn't have WTF forum software, we'd all be complaining because the forum doesn't suck. So Alex gave us poor software to keep us happy.
-
Status: Getting very agitated at Oracle because a query for a report is returning results that a WHERE clause should be excluding (WHERE date BETWEEN x AND y, and returning results before x and after y), and only working as expected if I include the column from the WHERE clause in the SELECT without an alias.
-
What would that say about his confidence in his friend then?
-
Was going to send an email to the server management team to ask for the software development group to get admin rights on all of our dev servers.
I just know that they'll respond, "please provide a list of the servers."
No, that's your f&%$ing job to know which servers.
-
That reminds me. I need make some vacation plans for next February.
My parents will be in town the weekend that the Bruins happen to be playing the Coyotes.
-
My parents will be in town the weekend that the Bruins happen to be playing the Coyotes.
I was just thinking that I need to get out of town around the Superbowl. It's gonna be horrible around here.
And BTW, depending on how things go in about a week, you may not be looking for Jobing.com arena.
-
I'm surprised that they're not the Hamilton Coyotes at this point.
-
Fuck you, @apapadimoulis for forcing this bullshit on us. You are the worst at running websites.
Hey now, not all of us can be the Zombo.com guy!
-
Fuck you, @apapadimoulis for forcing this bullshit on us. You are the worst at running websites.
This isn't a running website, it's an IT website.
-
Status: Work laptop just upgraded from 4GB to 16GB.
-
Time to get ready to punch.
-
Hilarious. And yet I still hate you.
-
-
Status: Contemplating leaving work early since all I'm doing is babysitting some very long builds and unit-test execution, to go to the range and try out an old pump-action .410 I just inherited from my uncle who died a year and a half ago.
New Status: Regretting that I no longer live in a rural area where it's perfectly acceptable to shoot from the back porch.
-
I'm laughing at how few distinct members we have here.
-
Wondering what I have to mail @PJH to get one of the arbitrary badges.
-
-
http://what.thedailywtf.com/badges/135/passable-poster
Wondering whether we can abuse a topic for that purpose, but not obviously.
-
Wondering whether we can abuse a topic for that purpose, but not obviously.
Sock puppets.
-
Can't we make a 26-member PM for that?
-
I'm laughing at how few distinct members we have here.
Do you seriously expect 25 of us to agree on anything?
-
Even if it's abusing the Likes thread, it still doesn't happen here.
-
Do you seriously expect 25 of us to agree on anything?
Depends on the sock-to-foot ratio.
-
Got a meeting request at 8pm last night, for a time early this morning, before I got in.
The right thing to do, after you get in, is to respond with “Request Denied.” Then pretend that everything is just fine as normal while other guy gets a good dose of what he deserves.If he tends to leave early and you late, suggest scheduling the meeting for shortly before you would normally leave, and send the suggestion in about 2 minutes before he leaves. Just enough time for him to notice and get even more frustrated. But don't do this very often; it can badly backfire. Scheduling across the guy's lunchtime is better.
-
That's what started it for me. At my last company, my manager (president of the small company) would schedule meetings for 1:30, which is when I would get back for lunch. When asked why I wasn't prepared for the meeting (which I did on purpose), I'd point out that he scheduled a meeting for after my lunch break, while I was at lunch, and I was doing pretty well for 0 minutes of preparation.
-
Reminds me of a previous company, where a manager would schedule half-hour meetings for 11:30, knowing full well that those meetings were never a half-hour, and almost always ran until the next meeting kicked us out at 13:00.
-
Got a meeting request at 8pm last night, for a time early this morning, before I got in.
That's a dick move but at least it's a meeting you don't have to attend.
A place I used to work at in the UK (Big Pharma) had core hours of 10am - noon and 2pm - 4pm. You had to do your 40 hours a week but there was no obligation to be in the office outside those core hours. That meant no early, late or lunchtime meetings.
-
Oh man, I used to work for a company with a "core hours" concept. I love it. "Be here between 10ish and 4ish, and apart from that do whatever the hell you want as long as work gets done". So the opposite of this prison I'm in now...
-
That's a dick move but at least it's a meeting you don't have to attend.
A place I used to work at in the UK (Big Pharma) had core hours of 10am - noon and 2pm - 4pm. You had to do your 40 hours a week but there was no obligation to be in the office outside those core hours. That meant no early, late or lunchtime meetings.
What do you mean? The meeting was just myself and the guy that invited me.
-
@RTapeLoadingError said:
That's a dick move but at least it's a meeting you don't have to attend.
What do you mean? The meeting was just myself and the guy that invited me.
Perfect. Next time you see him ask how the meeting went.
-
Oh man, I used to work for a company with a "core hours" concept. I love it. "Be here between 10ish and 4ish, and apart from that do whatever the hell you want as long as work gets done". So the opposite of this prison I'm in now...
Yeah - it works well in my experience. Treat people as adults and, by and large, they respond well to it. If they don't then get rid of them.