« first day (872 days earlier)      last day (3159 days later) » 

9:00 PM
0
A: Schema.org Microdata broadest tag check

unorSchema.org Assuming that the Thing represents your organization/business on each page of your site, you should try to find a more specific type, e.g., TravelAgency as you point out in the comments. Every Schema.org type is also implicitly a Thing, so every type can use the basic properties from ...

 
@CaptainObvious Triggers 17 warnings with VSDiagnostics!
Yes, that's sexy being able to say
 
@EthanBierlein remember that MSE question about room ownership you answered?
 
uh, yeah?
If you're asking about the chat message you pinged me with, I got it
 
OP wants to start a discussion with me in comments... again...
which I find rather amusing.
 
Ooh, let me go pull it up
#FreeFlags?
 
9:09 PM
think so.
not constructive, probably, but I'll lay low here
 
Flagged em' all as not-constructive
 
~grabs popcorn and waits for the censorship rant
 
*grabs real life bag of popcorn on table next to me*
 
or as Joel puts it: "A long and BORING rant about censorship and the first amendment"
 
Anytime someone rants about censorship and the first amendment on Stack Exchange I link this: xkcd.com/1357
Summarizes the point up in a pretty clear manner.
 
9:13 PM
hover text adds additional burn :)
 
@CST-Link that last comment just melted my brain — Ian Jackson Jun 26 '14 at 15:09
comment in question:
@IanJackson It works because (in our case) 1) doubly de-referencing a reference to a reference, and 2) de-referencing the value of a reference, in the end, will point to the same object. — CST-Link Jun 26 '14 at 15:01
 
which is oddly relevant to the MSE post...
 
strange
how coincidental
or not....
 
Come on and hurry up:
Wait, does Meta.SE have elected mods, or do the CM's just manage it themselves?
 
9:21 PM
CM's
 
Ah
That explains it
 
@EthanBierlein it's a little problematic to elect mods for the meta site.
 
mostly because there is no main site, and meta-moderation is difficult
 
Right, I guess
 
9:22 PM
and it's the internal bugtracker, and all the other strange quirks of meta about topicality and some rants are okay and some not...
the general meta thing
 
1
Q: Trinary Search Tree

prestokeysI'm probably not the first to think this up, but here we go. An trinary search tree is a generalization of a binary search tree in the sense that instead of a comparison function returning true or false, it will return -1 for less than, 1 for greater than, and 0 for equivalent. A search along th...

1
Q: SQLite DB Check and Update Script

flybonzaiMy script looks for handshake files in an input folder to determine whether certain processes have completed. If it finds them, it will update the database with the current time stamp. Things I am wondering: My update_db function takes 5 parameters. I have heard that in that case there is pr...

 
Thank you.
 
^ ditto
 
You'd think that Google would have the best code reviewers around, but apparently not.
 
9:28 PM
22,485 exceptions, and only 313 are exact matches... man this data is garbage
@Mat'sMug got a minute come to SQL room please at your convenience
Just want your opinion on something
 
@EthanBierlein - despite the apparent humour in that buggy chrome link, the disruption it causes is substantial. Don't post it. Even hovering over it from chrom causes problems. I will happily kick you from the room and bring that to the attention of mods (again).
 
I realize that
I need to just take a break. bye
 
OK later.
 
0
Q: Carouse Like Navbar

JeffI found this answer on stackoverflow: http://stackoverflow.com/questions/18087088/using-arrow-buttons-to-scroll-window-horizontally#answer-18088332 and customized it. It is designed to be a "navbar" for my admins. The boxes will have things like "Users" with a picture on it. It will be implem...

 
9:45 PM
@Mat'sMug Yes they do. :)
 
Go, crucify me; but I wrote this in a script and it works ;D
FROM #VitalSignsExceptions AS "exceptions"
    INNER JOIN #ClientEpisodes AS "episodes"
        ON "exceptions".ServerName = "episodes".ServerName
        AND "exceptions".DatabaseName = "episodes".DatabaseName
WHERE (
        "episodes".epi_lastname LIKE '%'+ "exceptions".THVSPI_PATIENTNAMELAST +'%'
        OR "exceptions".THVSPI_PATIENTNAMELAST LIKE '%'+ "episodes".epi_lastname +'%'
    )
    AND (
        epi_firstname LIKE '%'+ "exceptions".THVSPI_PATIENTNAMEFIRST +'%'
        OR "exceptions".THVSPI_PATIENTNAMEFIRST LIKE '%'+ epi_firstname +'%'
 
Only got a small one of these ---> +
3
 
lolol
Does the LIKE syntax work in reverse? e.g. WHERE '%' + Foo + '%' LIKE Bar
Probably not
 
@Phrancis only if spelled backwards while Black Sabbath is playing and you're standing in the middle of a pentagram with 5 red candles lit
3
 
remember the blood in the candles.
just standard red paint doesn't cut it
 
9:56 PM
@Mat'sMug lmfao
 
and the results rapidly decline if you use anything less human-ish than pig blood.
 
@Phrancis sorry just came back from a meeting, TTQW now, remind me later :)
 
@Mat'sMug No worries man
Meetings are usually the pits.
Especially scrum.
 
nah, was actually more of a hallway conversation
anyway, TTQW
later!
 
later!
Maybe my team is doing scrum wrong. Maybe not. I don't really get what scrum is about.
 
9:59 PM
AGILE rule #1 42: You're doing it wrong
 
I just feel it's the least productive 30 minutes of my day
 
SCRUM is supposed to be 15 minutes, stand-up to make sure it doesn't stretch
 
Ah we're not doing the stand-up thing either
 
and it should be at the beginning of the day, too
 
Guess we are doing it wrong
 
10:01 PM
3 points each:
- What I did yesterday
- What were the pain points
- What I'm doing today
3-4 minutes, max
 
Go home Mug, you can tell me more later ;)
 
yeah
leaving
:)
gone
 
or I could jump in here and tell you: only the devs attend that meeting
(or rather are required to)
 
it's optional for the Scrum master to attend
and it's usually a bad idea to have to PO present at the meeting
 
10:04 PM
you don't have the PO there
 
PO?
 
product owner
aka clueless business guy
 
1 min ago, by Mat's Mug
gone
 
because PO people can't keep their mouth shut when a dev says: "Feature X is being a PITA and it'll take longer"
that's for after the meeting
 
That does sound terrible
 
10:05 PM
IIRC PO attends the sprint planning, no?
 
if you do it right, it's actually rather enjoyable
yes.
 
haven't done AGILE in... ugh, ages
 
and the PO is mandated to be accessible for devs to check back
if he isn't devs go out of the zone big time and not small time
 
Ohhhh. Is scrum kind of time set aside so that devs can talk to other devs about being devs?
2
 
the daily is, yes
 
10:06 PM
lol
 
but just shortly, no rants :)
 
hey @RubberDuck did you see? we busted 700 downloads today!
 
then there's planning and retro
 
damn, I really gotta go now
 
2 mins ago, by Phrancis
1 min ago, by Mat's Mug
gone
 
10:07 PM
@Vogel612 shouldn't that be retro and planning?
12 secs ago, by Phrancis
2 mins ago, by Phrancis
1 min ago, by Mat's Mug
gone
 
planning comes first. the sprint starts with planning and ends with retro
 
What's retro?
 
funny, we had it the other way around
retrospect
 
49 secs ago, by Mat's Mug
12 secs ago, by Phrancis
2 mins ago, by Phrancis
1 min ago, by Mat's Mug
gone
 
50 secs ago, by Mat's Mug
12 secs ago, by Phrancis
2 mins ago, by Phrancis
1 min ago, by Mat's Mug
gone
 
10:08 PM
or retroactive paycheck
 
Dude, I know what the word means ;p
 
lol
 
we can nest it deeper, you know @Mat'sMug
2
 
KTHXBYE
 
Liar ;)
 
10:08 PM
@Phrancis something between 30 minutes and 2 hours (depending on sprint length) to talk about how it went
 
I tried doing that and it still failed. I have the implementation in my header now. Also, people on codereview tell me that code that doesn't work is off-topic :( — Savitra Sapre 9 secs ago
 
Do any of you use a pull request model for work stuff?
 
0
Q: Factoring Polynomials Completely

zandalmanI am relativly new to Python and I decided to try to write code that would factor any polynomial using the Rational Root Theorem and synthetic division. I have two questions. Is any way I can clean up my code or any common practices that I should know about? How could I allow my function to fac...

 
@Vogel612 What is "it"?
 
the Sprint
 
10:10 PM
Eh, meetings sound awful.
 
you talk about "That guy was a jerk when I wanted him to review my PR."
or "The requirements weren't clear enough"
 
@Vogel612 I mean the "it" in "talk about how it went"
 
The biggest issue is how some meetings take so long entire features could be written, tested, and released by the time it is over.
 
@Phrancis that's the question I answered
@Hosch250 there is a capped time for all meetings in SCRUM
 
Isn't that recursive?
 
10:11 PM
@Vogel612 That's good.
 
doesn't work all so often
 
Someone brings up big important point, everyone walks out.
I guess it goes both ways.
 
meh.
you got other problems when people run away the moment somebody talks important stuff
 
You said there is a capped time limit...
 
and you also got other problems when you run over the time in retro with big important stuff
big important goes first.
I personally didn't attend a retro that went overtime
 
10:13 PM
Yeah, and if needed, the big important is real work issue, not meeting.
 
I did see @Mat'sMug and you're right about nobody doing Agile right.
I like to think of my company as agile with a little a.
 
We're just starting Agile, hopefully we get it right
 
And I seriously hate scrum.
Kanban is the way to go.
 
/lurks
 
that's a little similar to saying "I seriously hate VB.NET, C# is the way to go"
it's both fundamentally agile
 
10:15 PM
7 mins ago, by Hosch250
50 secs ago, by Mat's Mug
12 secs ago, by Phrancis
2 mins ago, by Phrancis
1 min ago, by Mat's Mug
gone
 
@RubberDuck +1
 
Kanban is a lot more flexible though.
 
I like working in units, like "I have this, and I am completely responsible".
That way, I have one thing to focus on at any given time.
Not sure which of these this is, if any.
 
both and neither
 
OK, sorry for derailing the discussion.
 
eh I find it an interesting point you misunderstand about agile
"working in units" is not applicable for agile
since that's not what agile is about ideally.
it may help to enforce this, but it's not actually required
agile is only a mindset for planning
or rather. Planning and development
 
Ah. Can we discuss this later? I have a bunch of papers to write.
 
sure. I wanted to dive into House MD anyways :D
 
See you.
 
Yep, not the correct site for this question, but if you do ask in CodeReview, please do put in the effort to post only well-formatted code. Your formatting is poor, making this question hard to read. Also, I would work on separating data from code as much of the repetitive code in your first class should in fact not be code at all, but rather should be data — Hovercraft Full Of Eels 17 secs ago
 
10:27 PM
wow ^^
my mind is a little frazzled right now from that
 
So, really good friend of mine who is really good at SQL tells me not to bother using try/catch blocks with cursors because it's nothing to worry about
(he is far better than I am at SQL)
@rolfl?^^
He did make the distinction that error handling is normally done on the app level, but this is ad hoc script
 
10:44 PM
Hey guys, first time in chat here(and in SE in general)... what do you usually discuss here?
 
Hello @GioraGuttsait
This is good information^
But in general, either site business, general code talk, or idle talk (if nothing more important is being talked about)
It's very addictive, and stars go by quite fast
 
haha... So i guess people don't just come and like "Answer my post on (link)" and so on
 
not really
Occasionally people do, but it's not common.
 
Nope, we have a feed that informs us of new posts
38 mins ago, by Captain Obvious
0
Q: Factoring Polynomials Completely

zandalmanI am relativly new to Python and I decided to try to write code that would factor any polynomial using the Rational Root Theorem and synthetic division. I have two questions. Is any way I can clean up my code or any common practices that I should know about? How could I allow my function to fac...

^feed
 
SE amazes me every time... At first when I found out about SO, I was like... cool, just like another forum with QA... But now, i'm terrified of what dark corners I can reach here
6
 
10:48 PM
What brings you here @GioraGuttsait? Anything specific, or just want to hang out?
@GioraGuttsait ^TS
 
The force is strong with this one
RSA
 
I'm rather new to SE, so I don't know many parts of the site, including the chat. And I figured this is liek the biggest chatroom, so i'd join here
 
Welcome to craziness The 2nd Monitor!
 
This isn't the biggest chatroom, but yeah, we're the best.
 
biggest chatroom of codereview
Anyway, I'm glad code-review even exists
 
10:51 PM
Yeah this place is great
 
I'm used to waiting weeks for a code-review because my team-leader(as in training-team leader) is a leader of another team(of the place i belong to), so he barely has time for the training team
 
I think there's definitely a distinction between people who code-review for fun and those who do for work, unfortunately
 
Yup. I had a discussion with my friend about this, he asked me "Why in hell people bother waste their personal time to code-review other people's code?" and I had no way to explain to him that people just like to do that
 
So I really like that here we have many many people who know about virtually every language and technology that can look at and talk about your code
 
@GioraGuttsait imaginary internet points?
5
 
10:54 PM
@Mat'sMug TS
 
@Mat'
@Mat'sMug what do u mean?
 
RSA
 
@GioraGuttsait Reputation on the site... internet points :)
 
^^
 
@EthanBierlein It sure is a valid reason. It's simply off topic here, but is on topic elsewhere. — Kuba Ober 1 min ago
Grrr
 
10:56 PM
lol
3
"You're off-topic" - The thing I hate most 2Keveryyear
 
Obligatory first lol-autostar
 
Still out of stars
@EthanBierlein Just take a deep breath, and let it go
 
63 minutes @Phrancis, 63 minutes!
 
shwoooooooooosh
 
I still have stars. That's a problem.
@Vogel612 yeah. In a way you're right about scrum/kanban vs c#.
 
11:01 PM
@GioraGuttsait before you ask:
 
I just don't like the zealotry. And the time boxing.
 
According to the Help Center, the main opposition to this question would be "a practical, answerable problem that is unique to software development" and while it does hit the 2nd mark, it does not quite hit the first, hence "too broad" would be the most appropriate close reason. Nevertheless, this question could be good on Code Review, with some work. It would need to state in the non-code portion and the title what the code does, and not what kind of answer is desired. — Phrancis just now
 
53
Q: What's a Zombie? And what are the many other memes of Code Review?

Simon ForsbergWhat is a Zombie? Why are Code Reviewers so violent and talking about killing Zombies all the time? And what ammo are they talking about? What is a TS? What does RSA mean? And what other Code Review-specific memes are there? (As the number of memes grows and grows, and Malachi's wish to vote fo...

 
bbl, dinner
 
@Mat'sMug Thanks @Mat'sMug
 
11:03 PM
So, I wonder if I missed anything on the site today.
 
@Duga s/chastise/educate/ @EthanBierlein ^^ :)
 
I made more rep on SO than on CR today. Something's not right.
I blame @RubberDuck
Or rather, @rubberduckvba
4
A: Backing up VBA Project

Mat's MugSource Control. That's how devs work worldwide, in pretty much every language out there. The Office-embedded nature of VBA complicates this a little, but it's a solved problem, with several solutions. One of them is currently under active development, and adds a dockable side panel to your IDE,...

 
I want to get me a real physical rubberduck
Put it on my desk, close to my monitors
 
Me too!
 
So I have crazy data tables on one monitor, crazy XML on the other, and a rubberduck in-between to keep me sane
7
 
11:13 PM
I so desperately need a Rubberduck. Maybe Santa will bring me one for XMas.
Found a Q to A too. It's a good day.
 
11:29 PM
Did I kill chat again?
 
I think chat killed itself
 
Happens all the time, not your fault @RubberDuck ;-)
 
Greetings everyone.
 
I think we should permanently ban professors and make a nation where you have to enjoy programming, or you can't be a citizen.
2
 
oh boy, I sense a good story
 
11:34 PM
I think that nation would die out pretty quickly due to very few female citizens.
 
It doesn't have to be self-supporting.
You can't have citizenship until you voluntarily apply, anyway, and prove that you love programming.
Shall we ban managers, too?
 
Sounds like that should be a club, an entire nation would be a massive pain. Be careful what you wish for.
 
Why? We can just take out our enemies with cyberwarfare.
 
sure, but is there a good story behind that statement?
 
I have a Python question for anyone experienced in the language.
 
11:36 PM
shoot
 
Apparently even sniper rifles can be hacked now.
 
oh lol
how coincidental
Anyways, what's your question @Legato?
 
Either I'm doing something really wrong, or this data is really crap
> (313 row(s) affected)
Routine (1) completed in 0 seconds.

(107 row(s) affected)
Routine (2) completed in 0 seconds.

(1018 row(s) affected)
Routine (3) completed in 3 seconds.

(123 row(s) affected)
Routine (4) completed in 8 seconds.

(1524 row(s) affected)
Routine (5) completed in 0 seconds.
TOTAL QUERY TIME: 28 seconds.
 
Thank you for your time @EthanBierlein
I want to know if I can make a function, then pass a function and run it.
Eh...I'm wording this weirdly.
 
I think I understand
 
11:37 PM
You can, I'm 99% sure.
 
take the following example:
 
Do you want to pass a function to a function?
 
def f(f1):
    f1()
 
I think that may be what I need, but maybe some more context will help.
 
Well, you actually usually do it like this:
 
11:38 PM
Okay, let me get a better example
 
I think, that may be right.
 
def do_it(func, y, z):
    result = func(y, z)
 
What I want to create is a function that takes a function, runs it, and logs the time it took to run.
 
@Hosch250 eww, camel case eww
 
Sure.
@EthanBierlein Copied from SO.
 
11:40 PM
oh, lol
 
def time_function(function):
    time = get_time()
    function()
    return get_time() - time
 
You may want to consider using something like timeit though, as it provides a fair amount more
 
Just remembered, why I wanted to ask this, can I pass the argument with its parameters or do those have to be separate arguments?
 
separate arguments
gimme a sec
 
11:44 PM
If it's separate arguments, I get how.
Thank you all. @Hosch250 @SirPython @EthanBierlein
Stay awesome.
 
def some_function(some_function_to_pass, *args, **kwargs):
	some_function_to_pass(*args, **kwargs)
Although, if you get to this point, you may want to be looking at function decorators
 
Check this out: ideone.com/ckoXSr
@Legato:
> However, the python docs say that clock should be used for benchmarking. Note that clock behaves different in separate systems:
36
Q: Get timer ticks in Python

andrewrkI'm just trying to time a piece of code. The pseudocode looks like: start = get_ticks() do_long_code() print "It took " + (get_ticks() - start) + " seconds." How does this look in Python? More specifically, how do I get the number of ticks since midnight (or however Python organizes that timi...

(And now we've pretty much written your function for you ;))
 

« first day (872 days earlier)      last day (3159 days later) »