« first day (2002 days earlier)      last day (2980 days later) » 

12:06 AM
Not too much, but I do have very basic German understanding
enderland lived there a while
 
ein bischen
 
bißchen? :)
 
if I was going to go meet a bunch of other people from the interwebs to go snowboarding, wisconsin is not high on the list
 
we totally could do a midwest meetup though
assuming we wanted to be social
 
programming... social... I'm confused
 
12:12 AM
@PeterScott I feel bad about that question, I can't even bring myself to downvote it :( lol
 
@enderland Yeah, I'll spend five minutes to see if I can give him somewhere to start.
 
user55340
@DeliriousSyntax Far too mild of a winter this year.
 
user55340
Also, I'm nordic rather than alpine in winter activities.
 
@MichaelT do you x-country ski?
 
user55340
@enderland Yep. One of my favorite vacations on the left coast was a ski trip from Badger Pass to Glacier Point in Yosemite.
 
12:16 AM
@MichaelT you do the birkie?
 
user55340
@enderland Nope.
 
user55340
More of a "take stuff, grumble about how much glass weighs, put on a pack and go somewhere."
 
I was just looking at their facebook page the other day, hah
 
user55340
10 miles, one way (you stay overnight) at 7000 feet. Rolling up and down domes on a groomed trail for the route.
 
user55340
12:18 AM
>
This trip will require you to ski 10.5-miles from Badger Pass to Glacier Point on intermediate rolling terrain while carrying a backpack with your gear at over 7,000 feet in elevation. We groom the road, but not every day, and the ski conditions vary with the weather. Hopefully the tracks will be perfect for your trip, but when the weather does not cooperate it can be icy or you may have to break trail. The average intermediate skier in good condition should allow 4 to 5 hours of skiing each way in good conditions.
 
user55340
I'll tell you, skiing at 7k feet for 10 miles with a significant bit of up and down is... not trivial for someone who was accustomed to sea level.
 
user55340
If I had to do it again, I'd probably snow shoe it the entire way instead.
 
user55340
Its more of a "I can do 10 miles" - but I'm not a fan of the "down hill with cliff on the side"
 
I got snow shoes two years ago and we have not even been able to go snowshoeing since then
this year was a bit better as we actually got snow, last year was just cold
 
user55340
For the 5(?) weekends prior to that I went to Royal Gorge in Tahoe to work on my altitude endurance.
 
user55340
 
user55340
Largest cross country skip park in the US.
 
user55340
I stayed at Ice Lakes Lodge (now closed) which was at the spot where the Reindeer trail touches Serene Lakes.
 
sometime I want to take a sabbatical and just go do stuff like that
 
user55340
12:26 AM
When I was there, it was great - I was a pseudo-regular at the bar there (when you're there two weekends in a row, they get to know your name).
 
user55340
There was a night that I was a bit slow getting up there because of a storm... so I got there late. After check in was supposedly done. The front door had an envelope on it with my name. Opened it up, it had the room key. Went to the room, on the dresser was a glass of brandy.
 
@MichaelT I love places like that
 
user55340
At the bar heard stories from the trail groomers... about some of the crazy trails they did back in the day.
 
user55340
Things like one guy would just go and groom a trail... even if there wasn't one before.
 
user55340
He would occasionally take two other people with him to scout out a train track so the trail groomer could groom a trail across the tracks.
 
user55340
12:28 AM
(trail groomers move much slower than trains)
 
user55340
Another time he was going out in an area (remember, at night) where it was 'oh, this is a nice view'. Got a bit lost. Decided to step out of the cabin to see if he could get his bearings as to where he was. Went knee deep through some ice... he was grooming onto a frozen stream... that wasn't quite frozen.
 
yikes
 
user55340
Ahh... so that's where they've extended it... ok... (looking at the map and getting my bearings too...). They went out to Sugar Bowl (down hill) which has a lodge.
 
user55340
My typical route when I was there was Reindeer to Big Ben, to Summit (lunch) and then out on Yuba, or Emigrant or Wells Fargo out to the Stage Coach and back along Palisade or similar to hook back into Reindeer. I do recall doing Switchback once...
 
The programmers.stackexchange.com could be a better fit, but this may be too broad there, too. — Gassa 18 secs ago
 
user55340
12:36 AM
Anyways... it was a good time there. I enjoyed skiing in that park and staying there.
 
user55340
0
Q: how to make code more readable that uses containers

steviekm3Often I find myself reading or writing code that uses containers, usually maps and pairs and find the code becomes hard to read, with code like it -> second.second.first Etc What guidelines can be used to make the code easier to understand ?

 
user55340
sigh
 
what's the word for incompetence, but on purpose?
 
user55340
@AaronHall dereliction?
 
@AaronHall management?
@AaronHall I think normally "willful incompetence" or something like that
 
12:39 AM
So is it the heights of willful incompetence or the depths of willful incompetence?
I think depths...
 
It could both be characterised as excelling in a character defect or failing in a character virtue.
 
I'm looking for a handy retort to a comment on an answer of mine that does a performance analysis - the comment alludes to Knuth's statement that "premature optimization is the root of all evil" c2.com/cgi/wiki?PrematureOptimization
 
user55340
@AaronHall Standard retort is the full quote:
 
user55340
> Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."
 
extremum
 
user55340
12:50 AM
Also, if you aren't going out of your way to write it "premature optimized" but rather writing idiomatic code and paying attention to the static analysis warnings that lint kicks up... thats just good coding practice.
 
Fine, you program in your fancy ivory tower. I live in the real world. — ekolis 11 hours ago
It's not that fancy.
 
@MetaFight you monster
 
user55340
@MetaFight has 2x 20k delete votes on it already.
 
@MichaelT not surprised.
I'm trying to ignore an annoying conversation happening in the (physical) room I'm currently in. This is helping nicely:
 
Does programming in the "real-world" mean "don't think, just write; some of it's bound to stick"? If so, the ivory tower is probably better, at least it keeps one's feet above the proverbial.
 
12:58 AM
Programming in the real world means that you don't always have the budget to build an ivory tower, so this stack of cardboard boxes is going to have to do, oh, and it needs to stay up 99.999999% of the time for the next 16 years for legal reasons.
It's less about ignoring high level theories and more about working around the ridiculous constraints provided to you
 
True that you have to meet the requirements given to you (and these might be hopelessly untenable)
Doesn't really excuse willful neglect though
 
user55340
For complex breakpoints... just put it in an if statement, put a print statement in the block and then breakpoint that.
 
The problem is that while ingenious solutions often are created in the "real world", they are so specific that they can't ever hoped to be broadened to the rest of software in the same way that a new sorting algorithm might
@PeterScott could you link me what you're talking about?
You say willful neglect, I say the previous dev abandoned it because he found a new employer who has 401k matching
but without context, who knows
 
user55340
.titanic {
   float: none;
}
 
1:01 AM
@PeterScott eh, he's being bitter because we pointed out a code smell
anyone who tries harder than you at maintaining clean code works in an ivory tower, anyone who doesn't care as much as you is a friggin wanna-be
 
Yes and purposefully choosing the known problematic/demonstrably less performant over idiomatic is the extremum of wilful incompetence. Knuth's entire quote: "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%." — Aaron Hall 8 mins ago
 
welcome to the world and everyone's perception of everyone else!
 
oh come on, obviously :P
 
ok, I can sleep easy tonight
yikes
 
but
I love what I do now, so meh :)
 
1:05 AM
thats a dicey proposition, but gotta factor in that happiness factor too, right?
get out of my head bodyless yellow face!
 
yeah. I'll take doing a job I love for a nominal pay cut vs being bored out of my mind and unengaged
 
I need to find a new job with better pay - I feel undervalued currently
 
user55340
@Ampt join the public sector.
 
Is that to cure how he used to feel?
 
@MichaelT History in code, nice.
 
1:07 AM
What chance does a blue sock have in a civil service exam, anyways?
 
user55340
@AaronHall Wisconsin... no more exams come July.
 
How egalitarian.
 
class Hindenberg {
private flying=true;
public ignite() { this.flying=false; }
}
 
user55340
> The changes include eliminating job applicant exams, centralizing hiring decisions within the governor's administration, and tossing layoff protections for more senior workers. The bill also defines what amounts to just cause for discipline and lists infractions that would result in immediate firing.
 
1:10 AM
Bernie says "We're going to increase the block size, and make more of them. Everyone should be able to mine a block."
 
You can probably just close this now; if he was going to derive any illumination from the answer then he probably would have done so when he first read it. programmers.stackexchange.com/questions/311141/…
 
Well I think it's funny.
"centralizing hiring decisions within the governor's administration" - more patronage? To the victor goes the spoils. Think government wasn't crooked before?
 
1:26 AM
@MetaFight Dense.
Pretty good music, though. They're considered Prog, I suppose?
God. So much compression.
 
1:43 AM
@RobertHarvey I always used to like calling them "prog metal" but nobody else seemed to agree. Maybe that was just my circle of friends though.
I went to see them live and it wasn't much fun. It was just too much of everything. That album seems to strike a nice balance though.
 
What would you suggest I remove or change? — Spud91 35 secs ago
In the giving a man a fish / teaching how to fish paradigm... I appear to be on the wrong side.
 
 
2 hours later…
3:54 AM
There were some fairly insightful comments here that a moderator just unceremoniously dumped. — Robert Harvey 6 hours ago
 
 
2 hours later…
5:27 AM
0
A: Any ideas why my question about programmatically finding details for a "certificate" object was closed?

Robert HarveySince some people seem to be conflating "What have you tried" with "Too Broad," some review might be in order. Too Broad is useful for two categories of questions: Questions which require a book (or the better part of a book chapter) to answer, and Questions that are polls, recommendations or ...

 
 
1 hour later…
6:34 AM
Good night. I hope there is someone around here this late at night?
If not I guess I will write what I have to write and hope for something tomorrow. I have a question related to leading a development team and it doesn't seem to be good enough to post on the main site so I will post it here (and if in the end it is not such a bad fit then please let me know, and thanks!)
I've coded alone for the past two years now, and so far so good. I have a year's experience using Django, which is also the framework I am using for my latest project. The problem: Next week there will be two more coders in my team. But I have no experience whatsoever leading a development team, and no mentor who does, and I am unsure where to begin. So the first one is rather straightforward: Is there a book or blog post or something that would give me something to get started on that...
And the second one is much more subjective: I have already written some code, which I see as "my" code, and I find myself unwilling to trust others to build on it and have good results. Especially because they don't know Django yet, so they might screw up. So any good heartfelt advice to help me get over that? Thanks!
 
6:50 AM
What makes you think you will be leading the devleopment team, having just one year of Django experience?
 
Oh, I volunteer in a relatively small ONG (as they do) so we just take the best we can get and work with it :)
 
There are many blog posts on many topics, including leadership. Start with the first.
As to code being "your" code, most software of any significance is written by teams nowadays. Get used to it.
 
I already have experience with leading teams in general. Leading a development team is what still stumps me. I know there are specific ways (Agile comes to mind) but they are too formal and I am looking for more general advice. I haven't been part of a development team either with a leader, so there are no role models or prior experience to build upon
 
Good questions are specific enough to be answerable. What is your specific question?
 
I am looking for a good blog post or even a book that will give me good, general pointers on how to lead a development team. I know I can google it but I assume people here are more discerning than google on what is good and what is not
 
7:05 AM
I am discerning, but only because I take the time to evaluate what I find on the Internet and determine its suitability for my needs.
What I mean by specific is, you said that you already have leadership skills, but then you say you need guidance. So what specific kind of guidance do you need? Don't say "guidance in leadership skills;" you already said you have those.
 
Ok, I think I see what you mean, thank you. So there are two specifics in my head
1) 1 year may not be that much but is still better than 0, and there is already an existing codebase. And the problem of getting new programmers up to date with a new technology and existing code so they can be productive must be a very common one, and has probably been solved well. There must be pointers, best practices. I'd like to know where to find them
2) no longer relevant, managed to put it into 1)
 
Ah, so your question is "How do I get new programmers up to date with an existing code base?"
 
and technology, yes. Sorry for overextending
 
The information that I always find lacking in code bases that I encounter is "how do all the parts work together? How do these classes relate to each other. What is the structure and organization of the code, and why is it organized that way? What does the data flow look like? That sort of thing.
Most programmers worth their salt already know how to read code, so it's easy enough to know what a class does. It's harder to know what a class does in relation to all the other classes in a project.
A pattern language like the GOF helps, to a degree. Some codebases are slavish about such patterns, so if you know them, you already know the codebase, somewhat.
A fundamental architecture makes a difference. If I know it's MVC, I already know where to look.
 
7:24 AM
That gives me several ideas, it's a good thing Django has a very specific pattern and I already have UMLs to explain the project as a whole.
Thank you Robert!
 
8:19 AM
Your question is too broad and subjective for Stack Overflow. Please consult the help center for guidance on asking questions on this site. You may find you question is more suitable for Programmers Stack Exchange. — McMath just now
 
9:06 AM
@kshitijsingh I think this post should be better at programmers.se — Garf365 21 secs ago
 
 
2 hours later…
10:37 AM
This appears to be a homework question. Read this open letter on Programmers.SE and understand that this is not a code writing service. Also, have a look at this to help you in the future. — Jan Greve 26 secs ago
 
 
1 hour later…
12:50 PM
@PreferenceBean I am here.
 
@ThomasOwens Alive? Gainfully employed? Promoted? Happy?
 
@PreferenceBean Yes, yes, don't know yet, mostly.
Apparently, I'm pretty much breaking the performance review process since they've never had anyone who has done what I'm trying to do.
The process doesn't account for people who work regularly work multiple concurrent programs (I consistently worked 2 throughout the year, 3 at one point), so the rules for how you rate doesn't differentiate between "I worked 1 project and worked to the intended level of on-time and high quality work" and "I worked 3 projects and volunteered for a local and a business unit process improvement effort and did everything on-time and minimally met expectations in the work that I did for everything".
My manager revised the overall summary portion of the review to make it clear how much work that I'm taking on and to praise me for my contributions to so much in the organization.
They are working on overhauling the performance review process. We're getting a new tool and they want to see what they can do. But I'm not sure they'll change anything since the problems I ran into affect like...me.
 
1:13 PM
So pretty much what we said yesterday
Glad it went well.
 
The only problem is part of the promotion process is (currently) the raw numbers from the performance review. So there's no accounting for me, who worked 3 projects + 2 process improvement teams and did the work I was expected to on all of them individually.
My manager is going to work on that, but it's hard. Simply because 1 input into the career development / promotion process is just the numbers.
 
Sounds like they have got the "employee meets expectations?" bit right, but not the "expectations met expectations?" bit
Making the whole thing ambiguously-defined and therefore frankly pointless
 
Yeah. There's no way in the standard form to differentiate between someone who met expectations while working one project versus someone who met expectations working 5 different things throughout the year, concurrently with overlapping deadlines.
 
Our way's much easier. We just don't have performance reviews or promotions. Simple!
 
There's also no way to differentiate that an objective was volunteered for versus not. Like everyone has a generic process improvement goal to contribute to improving the way work is done. But I have two other ones that only a handful of people have. Unless you actually exceed your target goals, a higher score won't flow through the process.
 
1:21 PM
At some point though Thomas you're going to have to come to terms with the fact that the world (and not just the business world) is generally an unfair place and you are often going to find yourself going underappreciated for your efforts. With all respect due, learning when to just suck it up is quite important.
I think I've become a little too used to that. There's definitely a balance to be found.
 
@PreferenceBean It's not that I'm under-appreciated. I'm told good things by a lot of coworkers. Being appreciated should translate into something other than a pat on the back, though, when you do it day in and day out for years.
And when your coworkers and manager want to do something, but can't, that's broken.
 
I'm still young and naive enough to consider "continuing to pay me" as a valid expression of corporate appreciation
 
Honestly, corporate is the problem. Everyone here locally wants to do things better. But we "need to be consistent across the organization". So often, at every level, hands are tied.
 
@Ixrec I'm now old, bitter and cynical enough to consider "continuing to pay me" as about as much as I should spend any time and energy expecting.
 
1:54 PM
@ThomasOwens You don't even realize it but you are doing it again...
 
uh oh. maple_shaft's cynicism is about to be unleashed :o
 
You are volunteering to "fix" something, the performance review process, with no real way to be measured for it
 
@ThomasOwens I'm glad your conversation went well, and by that I mean it sounds like you at least understand the factors and didn't get yourself fired :)
 
@maple_shaft I'm not volunteering to fix anything.
 
Performance Reviews are the devil...
 
1:56 PM
how hard would it be to get a new position/grade created?
 
The Numbers are the devil
 
@enderland And I got my manager to take out the "doesn't understand target / above target" line.
And replace it with stuff about how I consistently meet expectations while balancing a large workload and conflicting schedules.
 
double win
 
@enderland A position is easy. I'm already carving out responsibilities in new ways. A pay grade is impossible. Those are fixed by corporate.
 
@ThomasOwens hrrm, really? your new position couldn't have a different pay grade?
 
1:58 PM
We use numbers to put metrics on things, so that we can formulate statistics on metrics, so that that those statistics can be used to make an assertion of truth on limited information, so that when people fall through the cracks I can rely on "the numbers" to say that the system is working JUST FINE and that the problem must be an inherent deficit in your character
 
@enderland As long as I'm in Engineering, the levels are fixed. I'm Senior now, and if I go up, I go to Staff. Quality and Engineering Support have other grades and attributes for people in each grade.
 
Numbers and ratings are used to CONTROL us our entire lives, getting the best GPA, the highest score, the best performance review, the best salary, etc...
Numbers dehumanize us
Stories, dialogue, interpersonal relationships HUMANIZE us.
 
@maple_shaft Which is why you can't rely exclusively on the numbers.
 
@maple_shaft Numbers have dehumanized me six times over the past year.
 
If you want to advance in a company, game the numbers, and be friends with the boss
 
2:00 PM
Or win the lottery and buy the company.
 
it is the only winning formula
 
@ThomasOwens there's no way to make your position actually a Staff Engineer position behind the scenes? employer^ did this - you might be a "Application Development Engineer" for example that's a staff engineer behind the scenes on the actual req
basically have your job title be different than the req title?
 
@enderland No. Everything is coded to a level. It's L8 through...L4 is the highest non-business unit level role.
Every functional group has their own definition of each level.
 
this is all reminding me why I don't want to be a team lead
 
I think your company structure is more screwed up than employer^ in terms of this hah!
 
2:02 PM
Your LinkedIn says you've been a senior for nearly five years
 
@PreferenceBean No. 3.
 
> July 2011 – Present (4 years 8 months)
 
Yes. That's how long I've been in my current position. I don't add a new record for every promotion unless there's a significant job change.
 
Oooh bad
Maybe it works differently over there. Over here a new title is a new position (regardless of the day-to-day practicalities).
 
@Ixrec unrelated, but I was thinking this morning about your thoughts a while ago about how you like having dev as a job, because it gives you things to code - I think I fall into that category
 
2:04 PM
If I read a CV that said you'd been a Senior for five years and you came in saying actually it was only three, that'd be deemed quite serious dishonesty at the interview stage.
Just sayin'
 
The only difference between Engineer and Senior Engineer is level of freedom.
 
I disagree. The title itself carries substantial weight.
 
I am totally with @PreferenceBean on this one
 
I've never seen that before on anyone's resume.
My responsibilities didn't change when I got promoted. I did the exact same work.
 
you should ask a workplace question, "should I distinguish between engineer and senior engineer on my resume?"
 
2:05 PM
The more leadership you gain with each promotion exponentially decreases your freedom
 
@enderland The answer is obviously "you have no choice but to quit your job".
2
 
Heavy is the Crown
 
this naming confusion is exactly the sort of fake problem I'm glad I don't have to deal with
 
@ThomasOwens The modifier "Senior" implies a degree of leadership and increased responsibility (and the proven track record of having successfully attacked that role over the X years you declare you've been in it). If that never actually happened in your specific company then great, but I don't think it's wise to let that influence your job history assertions as presented to people outside of the company.
 
2:07 PM
A Senior tends to command an increased salary and that's not for doing nothing
 
@PreferenceBean But I would have the exact same text as a job description? That makes no sense.
 
"I fix stuff, and do so with extreme responsibility."
I have no idea how to put that on a resume myself but I get the point
 
@ThomasOwens it's better than lying on your linkedin... if someone calls your employer to verify employment and asks "resume shows Senior Engineer from July 2011 to current, is that correct?" - htey are going to say "errr, no - he was an engineer from July 2011 to X"
 
@enderland I don't consider that incorrect. My current title is different than my duration of employement.
I've never seen a resume that does what you say.
 
@ThomasOwens what was your title in July 2011?
 
2:10 PM
Software Engineer.
 
not "senior engineer" ?
 
Back then, it was Software Engineer I. At one point, I was promoted to Software Engineer II. And then the titles changed and I magically became Senior Software Engineer after we were acquired.
I have been employed doing software engineering as described since July 2011. I've had three different titles in the time period, but my daily responsibilities have not changed.
 
you can put whatever you want, but I'd be shocked if anyone who realizes you were not a senior engineer in July 2011 would react well to it
 
on a completely different note, your job looks pretty good; can I have one?!
 
@PreferenceBean You're in the UK. Want to work in Malvern?
 
2:13 PM
@ThomasOwens heh, I practically already do
 
wouldn't you normally list the separate job titles separately on your resume even if they're "meaningless"? just as smaller headings underneath the employer name so they don't waste much space
 
Not sure if we're hiring there. But we have an office. It actually partners with my office.
 
parents live in Upton on Severn (ish) and the office is in Ross-on-Wye
I'm currently Stack Overflowing home-working in Nottingham
though I'm looking to move abroad ideally
 
I don't know the geography. I do know that Malvern is near the border with Wales. I want to go to our office there then take a quick vacation.
 
somewhere hot would be nice but I'll settle for a big city with nice skyscrapers
 
2:15 PM
Hmm. No openings in Malvern.
 
@ThomasOwens Malvern is easily within the local-commute catchment area for our firm if that makes sense
in fact many employees live at least slightly further
 
2:28 PM
My boss, a Director, cancelled my one on one meeting with him... because he was up day and night the past three nights... on a call for a production issue escalated to "All-Hands-On-Deck"... that he had no prior experience in before joining this call... and where he was actually writing SQL queries to try and help the prod support team work through an issue.
My mind cannot even wrap around how f'ed that situation is
there are so many things going wrong here that I don't even know where to start
 
I'm still trying to figure out which events you're implying are the fault of whom
 
Fault all around
Apparently the CIO never heard the phrase, "when the generals pick up a rifle, the war is already lost"
And the sad thing is when this event is behind us and we go back to our normal jobs, NOBODY will get fired
He is literally like Cosmo Spacely from the Jetsons, but instead of firing people he just yells until problems go away
 
user55340
Mods: go we want to have everything tagged java8 also tagged java? Or could one of you add the java syntax to the Java8 tag?
 
3:03 PM
Well, I don't think you'd like JavaScript much then ... and good Lord, stay away from Haskell! — JAL Jan 16 '10 at 15:43
this made me think of @JimmyHoffa
 
-1
Q: Why is there no language supporting a if..elseif..any..else construction?

LucNot for the first time, I wanted to do something like this: if condition1 result1 elseif condition2 result2 else result3 else result4, so 'if result3 did not run' then run result4. But this does not exist. One could nest the ifs or use additional variables, but both are more complicated ...

can't decide if that should be closed because it's a terrible question or if people are close voting because it's a terrible idea - but the question itself is actually on-topic
I think the question should actually stay. It can be a sign-post for anyone else who get's that terrible idea and wants to ask about it - that it's a terrible idea, and this is why. Otherwise, it doesn't violate topicality that I can tell...
 
@maple_shaft I'd love to see how that went with the SQL database.
GIVE ME ALL THE USERS GOD DAMNIT!!!
 
@ThomasOwens I've seen significant differences between the 2 of these titles across multiple companies. I've also worked in a company where there was zero difference. I would say the industry majority is that there's a distinct difference in a variety of ways: Expected to be able to solve larger harder problems if others struggle, expected to be listened to as the more likely correct opinion in a group where it regards technical advisements, expected ability to run meetings and give high quality
presentations
 
user41796
@JimmyHoffa terrible bad question
 
@GlenH7 yes, but is it invalid for P.SE per our guidelines?
Obviously the question is awful
 
user41796
3:11 PM
It's not clear to me what they aren't actually able to achieve with existing boolean logic provided by traditional if - else if - else constructs
 
user41796
I'm not going to call it awful or terrible. Just bad.
 
user41796
The OP isn't communicating what they're really trying to do
 
user41796
so it sounds like some mental exercise where they've wrapped around the axle and don't understand what their own question is
 
user41796
You need multiple actions in the else condition? Fine, wrap it in a block and exercise both actions.
 
user41796
You only want Bar when Foo fails in that else condition? Fine, wrap it within a sub if - else block.
 
3:12 PM
@GlenH7 I think it's clear, they want to know why that construct they're proposing is bad enough that no language has chosen to use it. Basically: "What's wrong with this language semantic?"
 
user41796
In other words, where's the actual problem?
 
@GlenH7 they're saying "I can't tell why this is bad, but others seem to think it is, please tell me what is bad about it"
 
user41796
@JimmyHoffa I disagree in that I can't figure out what construct they want that doesn't already exist
 
@GlenH7 oh it's a definite construct they have there! They want to force failover so it's like such:
if (foo)
  bla
else if (bar)
  arr
else
  baaz
quux

becomes:

if (foo)
  bla
else if (bar)
  arr
else
  baaz
else
  quux
 
user41796
> But this feels redundant (DRY) and requires more nesting. You could put the conditions in variables, but it still feels redundant.
 
3:15 PM
the point being the quux is an always occurs, and they want a secondary else that is like an "always, for all above scenarios, do this"
it's a horrible idea
but I can't fit into my head how the question is a bad one
> "I can't tell why this is bad, but others seem to think it is, please tell me what is bad about it"
 
user41796
@JimmyHoffa Look at the original revision, I don't think that what you're saying is what they're saying
 
^-- that seems like a valid question to me
 
user55340
My close vote is because the answers are while not awful are essentially "you are wrong" and getting into comment debates.
 
user55340
And Jacques has the right answer.
 
user41796
@JimmyHoffa It's not this, but rather "I'm having a difficult time understanding how Boolean logic simplifies down. I think that the simplified form isn't the most elegant expression."
 
user55340
3:18 PM
"the explanation might very well be that nobody ever considered it in the first place" Indeed, that might be. I'm asking to see whether there is anything stupid about the idea before I propose to include it in a certain language. I personally come across it often enough that I think it's worth considering. — Luc 1 min ago
 
user41796
Giving the benefit of the doubt, the OP is arguably pointing out an edge case of Boolean algebra that traditional programming languages haven't considered or included within their implementation of Boolean logic. But as expressed, I'm not seeing that within the question. Also worth noting that Boolean logic is a subset of Boolean algebra.
 
To be quite honest, I'm with the OP here. The proposed feature is equivalent in intention to Python's for... else... (and similar, if inverted, to try..catch..finally) and I for one would like to see it implemented. — PreferenceBean 35 secs ago
 
user41796
@PreferenceBean Please edit that into the question as it goes a long way towards having the question make sense.
 
user55340
I would suggest a reading of Minus 100 points and Eric Lippert's The Future of C#, Part One. Features have costs. This one doesn't likely have sufficient ROI. — MichaelT 1 min ago
 
user55340
@MichaelT Good one, I read that before (I remembered after the first sentence) but hadn't thought of this in that way. I guess that does answer my question. — Luc 49 secs ago
 
3:27 PM
shrug made sense to me
 
@GlenH7 which is a valid question, though a preposterous perspective, that he should be corrected on
 
My favourite Python feature so far is definitely for..else. In fact, I'm considering writing a proposal for it to go into a future C++ standard.
 
@JimmyHoffa valid question? That doesn't make sense.
questions are defined to be invalid so it's like you're saying valid invalid question
 
@Ampt I think we disagree on the meaning of the term question
 
:P
 
user41796
3:28 PM
Do the rest of us need to mute you two again today?
 
THE WHOLE SYSTEM IS OUT OF ORDER!!
 
@Ampt I am pretty sure that delves into some heavy computer sciencey concepts like Natural Language Processing. I should be able to shout at my computer to query data from a database
 
YOUR DEFINITION OF ORDER IS WRONG!!
 
Shouting Query Language
4
SQL
or ShQL
 
@maple_shaft This. We need this So much.
@GlenH7 Excuse me, again?
Why I never.
Jan 15 at 18:34, by Jimmy Hoffa
user image
 
3:30 PM
GIVE ME THE DATA
I WANT ALL OF IT!
FROM YOUR DAMN TABLES!
JOIN ANOTHER TABLE DAMNIT!
WHERE THE DATA IS RIGHT!
 
infinity gauntlet?
 
Welcome to Friday in The Whiteboard everybody. You will be provided complementary scotch on takeoff and landing. Please keep your tray tables full and your seats in their reclined position until we have arrived at Monday. The weather at your destination is forecast to be agile and full of lies.
4
Complementary scotch... that phrase is just so amazing. I feel like I've sniped myself just by saying it because the mere utterance fills me with joy and sadness at the fact that it's not true. Well, back to emacs in spaaaaace! with me.
 
3:46 PM
I'm listening to a playback of myself doing a presentation yesterday. I sound a lot more nasally than I recall...
 
user55340
@JimmyHoffa procatinator.com
 
@AaronHall Don't be so nosey.
@JimmyHoffa rofl
 
user41796
@AaronHall Do you have a cold? That will throw off how your voice sounds.
 
No cold. :(
 
Everyone sounds extra nasal on recordings
 
3:49 PM
Are your ears attached to your head? That always messes with ones ability to hear themselves.
 
Mic quality certainly part of it too
 
Yeah, mic quality, that's it.
 
user41796
@PreferenceBean mic and downstream recording equipment
 
yeah
and the playback equipment
and your ears listening to the recording
 
user41796
sh!t mics are well... sh!t.
 
3:50 PM
Telephone -> enterprise recording equipment
 
You can't discriminate against muslim mics like that glen. Have some tact man.
 
Everyone in Hollywood get's a rinotomy for this reason; every time you see someone on TV? Yeah, that nose is detachable.
 
@AaronHall Do you regularly listen to recordings of yourself? When you hear your own voice, a significant portion of it is getting transmitted directly via your bones, which transmit bass and low mids much better than high frequencies, so your own voice always sounds fuller in your head.
You are just not used to hearing it without that bass boost.
 
user41796
@Ampt Better?
 
@JörgWMittag that's only you, fkn wizard's using bone magic to emit a more voluminous sound. Don't hold everyone else to your standards, dicks.
 
3:52 PM
Yeah, I'm aware of the phenomena, I just don't listen to a lot of recordings of myself. I spent $300+ on recording equipment so I could record podcasts... which I haven't yet...
 
user41796
Never mind the fact that there should have been two i's in that case
 
user41796
@AaronHall Oh, everyone sounds differently on a recording than what they expect
 
user41796
Broadcasting schools put people in a booth and make them listen to themselves so they get over that issue
 
> 4 4 4 for my headaches..
alright, got the tunes. Time for the codes.
 
user55340
Aside, Swift has a rather open (compared to other languages I've seen) proposal process which can be watched at apple/swift-evolution on GitHub. — MichaelT 1 min ago
 
user41796
In a previous life, I left the monitors off at first so I wouldn't have to deal with that disorientation from hearing my voice as others do
 
@MichaelT I was amazed when I accidentally stumbled across the .NET and C# repos on GitHub. If you think back to the Microsoft of the 90s and 00s, you wouldn't believe it's the same company.
 
user55340
@JörgWMittag it kind of isn't.
 
All language, VM, and framework design discussions happen in the open in GitHub issues, Joe Random GitHubAccount is treated completely equal to Neil Gafter or Mads Torgersen, everybody can file issues, and send PRs.
 
I remember learning VB 6 and the last week was focused on the impending .Net thing that was to be AMZING!
 
3:58 PM
From "open source is cancer" to .NET and C# being more open than Java.
 
good times, man. good times.
 
And MS maintaining its own Linux port of the CLR.
 
I used to sing and think I sounded like Eddie Vedder, but when I played back my own voice I sounded like George McFly from Back to the Future. I never sang again
 

« first day (2002 days earlier)      last day (2980 days later) »