« first day (1483 days earlier)      last day (3498 days later) » 

2:08 AM
@psr that stinks but at least it beats the shit out of MUMPS. To be fair, I wrote a fair enough bit of VB6 years ago, it's an easy language to get shit done in, even if it does basically only form a spaghetti architecture. That said, I'm genuinely curious if you could implement the list monad in VB6... does it have HOF? I don't even remember if it had a dynamic enough type system to allow duck typing that might let you fake up a strategy pattern because I know it doesn't have interfaces
 
 
1 hour later…
3:21 AM
2
Q: Is there a way to redirect an IP to another IP on Amazon EC2?

oucilWe're migrating our deployment from regular EC2 into a VPC, we have two load balancers in the public cloud that we have a number of domain "A" records pointed at, however I didn't realize that a public Elastic IP could not be attached to a VPC instance, you must use VPC based Elastic IP's. So yo...

the chosen answer isn't at the top?
Since when does that happen?
 
 
5 hours later…
8:41 AM
hey which language is best to start learning programming
 
nearly any is good
 
that's interesting but i still wonder if java or c++...
 
8:59 AM
There are some languages that are extremely rewarding, but are difficult to get into. An example is C++. And Java has insane amounts of ceremony for the simplest things, which can be discouraging. I would instead like to nudge you towards Python. I'm not too fond of that language, but it's a lot easier to get into. For example, you can run interactive sessions for exploring the language.
 
with C++ there are a lot more gotchas to keep in mind while working with them
 
 
3 hours later…
12:11 PM
@Prashant whichever you find more intersting
 
 
2 hours later…
user15026
1:47 PM
Now I have a second company wanting to interview me that I can't do anything about because I still don't have my schedule past Sunday.
 
user15026
Apparently my boss has herself scheduled to do scheduling from 8-2 today so hopefully we will get a schedule today.
 
2:11 PM
hrrrrmmm. there's an IT position dealing with ETL/ERP work which has the option to allow remote work... not sure it'd be ideal nor do I know how marketable those skills are
 
user15026
2:58 PM
@enderland I am not sure what those words mean :(
 
@AshleyNunn basically doing data analysis/migration work for the massive database my company runs on
 
user15026
@enderland ah, I see :)
 
3:29 PM
@amon C++ is rewarding once you know it?
 
user55340
This question appears to be off-topic because it is poll, not a question — ChrisF 2 hours ago
 
user55340
I bet it pains him to have to write that...
 
user55340
Anyways... up north is clearing up... time for a mini road trip.
 
@JimmyHoffa No. Well, I'm not actually fluent or proficient in C++. But learning C++ is one way to gain an unnecessarily deep knowledge of CS basics such as sorting algorithms, implementation details of your OS, and nasal demons. … no wait, that was the pitch for C.
 
@amon nasal demons....C++ can give you amoebiasis ?? C++ devs suddenly make so much more sense!
 
3:57 PM
you can write a lot of C++ without giving any concerns about sorting algorithms
it rarely matters
 
certainly. There's a nice standard library, and the very nice feature of templates which allows generic programming. Which is why I noted that I was actually describing C, not C++. My personal issue with C++ would instead be that everything is possible, but nothing is convenient (← another exaggeration).
 
@amon if we don't exaggerate the differences between our languages, we'll be stuck realizing that we're all writing screwed up software and the language doesn't matter.
(holy shit did that come from me?!?!)
I think the only thing to learn from C++ is what the difference between stack and heap is, and why it's actually a huge difference that matters a ton... other languages handle that difference for you because... it's a huge different that matters a ton.
also how to make ugly code
 
ugh I'm writing this stupid requirements document and I haven't gotten anything worthwhile done on it for 3 days
 
What do you think is blocking you?
 
@whatsisname haha, sometimes I find doing not-worthwhile stuff in those cases is just what's necessary to keep the ball moving 1 yard at a time until it's done. So in your case: Go work on formatting, put the word page numbering and some nice header/footers onto the page layout, make sure your margins are where they should be...etc
before you know it you'll be fiddling with pointless stuff and you might start actually start doing something useful. Worth a shot when nothing else you're doing seems to be getting it done.
what is it Joel said, fire and motion? Or was that more about business strategy...
 
4:12 PM
@RobertHarvey: one of the supervisors wants to do a highly waterfall-esque development project, and wants a requirements doc that "fully describes" what the software should be doing, and doesn't believe me that such an effort is futile and not a worthwhile use of time
 
Do you have a fair idea how long it's going to take?
 
writing this doc or the whole project
 
@whatsisname if he wants totality in his requirements, convince him it should be done in a total language; Agda. Then it can live as a theory only and forever while being complete without actually having been done.
 
it doesn't help that he wants the requirements to be "abstract", yet "not ambiguous", and of course fully describing the software
 
@whatsisname sounds mostly like he just wants you to do his job because he doesn't know how
 
4:15 PM
@RobertHarvey: if we ran the project the way I'd prefer to do it, 4-5 months. If I do everything the way they're asking, 2 years and probably won't be done
 
sometimes in such a scenario, doing the persons job the way you want to makes them slightly irritated but inevitably happy because at least it got done and they still didn't have to do it
 
It doesn't sound like he knows what he wants. Is this is a new thing, or are there existing requirements documents in the company that model what he wants?
 
He's a hardware engineer, and wants to run the project like it was a hardware project
so, he doesn't know what he's really asking for, and it's a big source of conflict
 
First-time software architect, then?
 
@whatsisname ....this doesn't work. Maybe you should play to his peredilections and suggest he design some hardware that does it so you can get it off your plate altogether
 
4:16 PM
He's not trying to design the software at all, so not really "software architect"
just a very 'process-oriented' kind of guy
 
Can you write out specifications for all of the classes?
 
I think that following a documented process is more important to him than actually what comes out at the end of said process
 
@RobertHarvey the problem with software specs is software is a spec. You can't finish the spec without finishing the software.
 
You can build the skeleton without putting meat on the bones.
 
@RobertHarvey: its the same problem with all software specs: I don't really know what I need out of all the classes until I've started exploring what the actual user scenarios are
 
4:18 PM
@RobertHarvey yeah but that's not really a "spec" in the sense many - especially a hardware engineer - see it.
 
Ah, you're trying to write requirements without use cases? Game over.
 
and if I am going to write something that 100% describes the software, I might as well just write the damn thing in c++ and be done with it
 
I hear ya. But there's this niggling problem that your boss wants a spec.
 
The classic model, you write the software spec/requirements, then hand that off to one team to implement, and another team to write tests
 
the only spec that really makes sense for software is grammars and protocol specs, beyond that the how is really specified by the code
 
4:19 PM
and expect the two to come together in any meaningful way, is a recipe for failure in software
 
You mean, you're not the guy who's going to write the software?
 
@RobertHarvey: yeah, and since they're paying the bills, if that's what they want, that's what they'll get, but its hard for me to actually get it done because I think its dumb
 
A class diagram is sort of the minimum daily requirement, if you're going to be the Architect.
 
@RobertHarvey: the worst thing about it, is that I am the only software developer working on this thing
I will ultimately write both the software and the tests
 
So make your time count. Create the empty-shell classes. Make that your spec.
 
4:21 PM
That ain't going to work
 
Well, of course it has to be in a form that looks like a specification. But at least you're moving forward with some software development, and your spec will more closely align with the software. How much time do you have to make the spec?
 
I now have an unlimited amount of time
so that's the upside
 
@whatsisname after a while, that upside always starts to feel like a downside...
 
Whatever you do, make it something that benefits your software development effort. I'm not going to claim to be an expert at overcoming procrastination (i'm one of the worst offenders), but I do know that doing one small thing, and then doing the next small thing, does work for me.
 
well, if it takes forever (which it will), then one of three things will happen:
1) They'll come around to realize that what makes sense for hardware doesn't for software
2) They'll bring some of our other software guys on, who agree with my positions
3) They'll pull me off the project and put someone else on
all three are acceptable outcomes
 
4:27 PM
why are so many managers of software projects morons
 
Ah, well I didn't know 3 was a viable option. I still like being employed.
 
and/or completely inexperienced
 
@RobertHarvey: I'm not worried about being canned over this
 
But you won't tell him he's full of shit, will you?
 
@enderland because it takes years of intense study to understand real software development at any reasonable level, and managers have approximately 3 hours of study on the topic.
 
4:28 PM
the company owners are often battling with my supervisor over my time because they want me for other stuff
@enderland: the guy isn't an idiot, he's just in unfamiliar territory
and what he wants to do makes a lot of sense for a hardware project with 100 engineers, which is what he's used to
but obviously is running into troubles for a software project with 2 engineers
 
Makes sense.
Will he be open to looking at your existing process? How well does that existing process work?
 
@whatsisname this was my last job, being bounced around from stupidly impossible project to stupidly impossible project, they thought I was good enough to save each one but the truth was none of them had a chance - meanwhile they thought highly enough of me I had no job security concerns so it didn't matter until my unlimited time turned into a downside as I was too bored...
 
well, there really isn't any existing process
its a rather complicated situation
 
Maybe you can humor him, then. Have you got a week to work on it?
@JimmyHoffa So do you tell them that their stupidly impossible projects are stupidly impossible, or do you smile and collect your paycheck?
 
well, the president of the company basically asked me to "humor them" literally
so, there it is
 
4:38 PM
@RobertHarvey ironically I think they thought highly of me because of the former - only more professionally and with specifics. I shined a light, they couldn't do anything about what I shined a light on but nobody else there was even doing that much
 
Seems reasonable. You tell them it's not going to work, they say "try anyway." You get paid, it doesn't work. Everyone wins. :)
 
@RobertHarvey what a sad definition for project success...
 
except it's somewhat boring
 
It is sad. And boring. But it seems to be the way of the world, all too often. And I've been proven wrong sometimes.
Hardly ever, though. :P
 
@whatsisname like I said, an upside, until it becomes a downside...
I entertained myself at that place by gathering most of my current P.SE rep...
 
4:42 PM
well, the upside doesn't exactly make the whole situation net-positive, no doubt
it's alright though
we want to get this thing work on for early Q1 2015
I doubt we'll even be 1/3 the way through by then
so we'll see what happens
 
another trick to break your procrastination - this is pretty bad but it's worked in the past - have a drink or two and then just start actively trying to write the garbage that immediately comes up, without inhibition. Look at what you did on the spec tomorrow and you'll see all kinds of things wrong, but then you can just treat it like fixing problems with the spec rather than having to come up with stuff. Sometimes one step forward, even if it's a stumble, is better than staring blankly ahead
(this is the worst professional advice I think I've ever given...)
 
Jimmy Hoffa... The king of anti-procrastination strategies.
Anyway, closing my browser window now. I have 250+ test data files I need to generate for a V&V, and I've got a week to do it. Then I get to interview for my own job. You think you have problems.
 
It doesn't help that I'm having a huge party at my house this saturday and a lot of thought has gone into making sure everything is lined up for that
which reminds me I need to make a couple phone calls after lunch....
 
What does that have... Oh, wait. NVM. Closing my browser... Now.
I'll be back a little later, and we can commiserate some more.
 
 
2 hours later…
6:58 PM
@RobertHarvey interview for your own job? ouch.. sorry to hear that
 
user15026
Work is being DDOS'ed and I have no schedule for next week
 
user15026
This is wonderful. And by that I mean terrible.
 
DDOS'd? Sounds like a good time for those sick day activities!
 
@Ampt some portions of the industry that's business as usual, not as huge a deal as you'd think
 
user15026
@Ampt You don't know how tempted I am to call the people and just sort out the work stuff later.
 
7:01 PM
@AshleyNunn That option can bite you in the butt if you don't get it though.
 
user15026
@Ampt Yeah, which is why I am just sitting here frustrated, because at least this is a guaranteed paycheck for now
 
user41796
@AshleyNunn No chance of "last minute" time off request? ie. schedule with other companies and go back to your boss saying "hey, I know this is last minute but can I have these times off please?"
 
user15026
@GlenH7 I could theoretically try, but with everything falling to pieces with this attack, I have no idea if it would work or anything at all
 
Schedule a sick day.
 
user15026
I want to make things better for myself and I don't know how to do that because everything is so up in the air and I don't want to lose this job or have the hours cut without a guarantee of something else
 
user41796
7:15 PM
Balancing risk can always provide interesting challenges
 
user15026
Considering I don't have any sort of safety net, I am kinda stuck.
 
user41796
I understand the frustration
 
user41796
And it's kind of hard to go to your boss and ask for time off while the company is in the middle of a crisis
 
user41796
Oh, and contact your ISP if you haven't already. They can usually do a lot of things to stem an attack
 
sounds like her work site is under attack
 
user15026
7:19 PM
I have no idea what anyone has done to stop the site from being down.
 
I'm sure it's probably a serious attack if they haven't fixed it
 
user15026
@Ampt It's pretty bad, apparently we have been down all day, even with all our supports.
 
I guess calling the service reps nasty names wasn't enough for this crowd
 
user15026
Woo, got the schedule. Also got my hours cut next week for some reason.
 
they're making time for your sick day activities!
 
7:23 PM
So... when you have a tree you are recursively traversing searching for something, how do you manage the scope of the "continue?" flag?
 
how generous!
pass it in
ususally it's a counter
decrement it by 1 before you pass it to the next call
 
I'm basically searching a tree, and will find a matching node
at that point I can stop execution of the search
 
ooooh
and you want to quit early
 
yeah, since I have a recursive function
 
well is it a single thread?
 
7:24 PM
yes
it's pretty simple
 
ok, so if you reach the bottom and don't find anything, return null
if you find it, return the object
when you're at a node with multiple children
check the last returned value before going back down
returning anything but null should return you all the way up
would that work?
 
ah, yeah I think so
for... some reason I never thought to do that. lol
 
user41796
@AshleyNunn Take it as a fortunate silver lining
 
it'll be slightly tricky since I have some logic in there to allow multiple ways into another layer into the tree, but should work
 
@enderland I've been doing recursive tree parsing for a few days :) We'll chalk it up to that
 
user20683
7:26 PM
That ShellShock thing is pretty nasty
 
Specifically recursively parsing Json trees to turn them into directories... it's kinda gross
 
user41796
@WorldEngineer does not bode well, no
 
@Ampt I'll have to see, it's kinda a crappy tree I wrote (it's not exactly a tree per se but it's a heirarchy I'm searching until I hit the bottom of every possibility)
 
user15026
@GlenH7 I am.
 
user15026
One interview scheduled, now to call the other.
 
7:27 PM
@WorldEngineer so what does it do, let you inject path variables into a shell prompt?
 
user20683
@Ampt More or less, it's like a really epic version of an XSS attack
 
Damn...
good thing I use windows
 
user41796
@Ampt Oh, you have no idea how prevalent this one is going to be
 
user15026
@GlenH7 WEll, thank goodness for small miracles then :)
 
user41796
@AshleyNunn I'm taking it and running with it. :-)
 
user15026
7:30 PM
@GlenH7 I would, and I am doing the same with mine
 
user41796
And congrats on getting two irons in the (job interviewing) fire
 
user41796
Always nice to have that sense of hope they provide
 
No kidding
 
user15026
Two interviews scheduled for tuesday :D
 
AND it's Taco Tuesday
 
7:34 PM
@Ampt ... ? you're terrible at dates.
(it's ok, I'm worse; promise.)
 
user15026
@Ampt It will be, yes
 
sweet @Ampt that works, now just to verify the logic I have in my tree buried away will return a good result 100% of the time...
which is a miracle if I can 100% prove it
 
@enderland Test cases are for amateurs. just assume it works until proven otherwise
 
@Ampt ;)
 
Test cases are for amateurs
at least, for anything beyond what they are at face value
 
7:38 PM
this is hopefully goign to be more robust than the current stuff, so it better be reliable ;) hahaha
 
now you have to multithread it for performance
mwhahahahaha
 
eh there aren't that many things to iterate through
lol
 
Damnit man, I get through like half the message and you delete it. at least give me a chance
 
user41796
I thought it was a good laugh too, but didn't want that one sticking around for long
 
the trick is I'm automating a UI with long convoluted hardcoded x-path's which... sometimes change
 
7:40 PM
hardcoded changing paths... uh... huh.
 
so I want to use the "key" for each and find the actual x-path, but this will require me iterating through each element on the UI in search of the "key"
God help me if they use the same key in multiple places in the UI
 
haaahahaha
 
O.O
 
I'm shocked you guys didn't do that a long time ago, poor guy is going to spend the next 6 months reading conversations now ;)
 
user41796
7:42 PM
And I'm not opposed to putting Dynamic back on the list. But he generally isn't in chat these days
 
user41796
@enderland It was kinda fun torturing him
 
@enderland .... brb
 
user20683
Dynamic is in high school
 
user20683
and thus stupid busy
 
user41796
@WorldEngineer Definitely agreed. And I didn't mean anything negative by it; just wanted to keep the list somewhat current for active members in the room.
 
7:44 PM
man my high school was a cakewalk, would be "stupid busy" in another way
 
user41796
@enderland Dynamic is doing what you should have been doing... :-)
 
user41796
Studying and all that stuff.
 
oh the joys to have been interested in programming in high school... alas
 
user41796
I sometimes wonder what my youth would have been like if I had access to all the tools I have now...
 
spent on reddit all day?
 
user41796
7:47 PM
@enderland probably, yes. I'd have still squandered it....
 
Psh, why reddit when you can play Halo on an xbox calling everyone nasty names.
that's what the kids are really up to these days
 
user41796
@Ampt My oldest was watching a PvZ Garden Warfare game and the person was showing multiplayer. Some other random player starts spouting off all sorts of trash and the presenter was like "time to find the mute button!"
 
user41796
When I was playing titanfall, I hated having to listen to the waiting room chatter.
 
user41796
utterly banal and merely served to remind me that I wasn't playing the game.
 
user41796
Good to know that I can mute them should I ever go back to playing online multiplayer
 
user20683
7:57 PM
@AshleyNunn
Your site is borked, now
DDOS is pain, wow
Such slow, holy cow!
2
 
user15026
Second line has an extra syllable
 
user15026
There you go :)
 
is borked one syllable? My 3rd grade clapping to the syllables training is failing me.
 
user20683
@Ampt yes
 
user20683
use your chin
 
8:03 PM
it may be my dialect as well
borked = bork-duh
 
user41796
bork'd
 
user15026
@GlenH7 Yeah, this.
 
user41796
Lay off those D's already
 
I talk dun good
 
user41796
<flags as offensive>
 
user20683
8:06 PM
dun dun......dun!!!!!!!
 
user41796
I have always wondered what happens when a mod's chat message is flagged as offensive
 
the other mods come beat him/her up?
 
wonder if you could auto-chatban yourself by flagging your own message
 
Just talk about yogurt
 
gogurt
shit, I didn't it wrong )8
 
user15026
8:15 PM
Gogurts were weird.
 
user20683
gogurt is still a thing IIRC
 
user15026
Yeah, but they're not a thing I buy
 
this week is draaaaaaaaaaaaaaaging on
 
 
1 hour later…
9:48 PM
@enderland .....and oooonnnn
 

« first day (1483 days earlier)      last day (3498 days later) »