« first day (1839 days earlier)      last day (3100 days later) » 

12:02 AM
Not really.
 
Wow. The localized one runs a lot faster.
1.71sec / 4x 1m loops vs. 1.20sec
Even if there are a few iterations instead of a kabillion.
3.21sec / 1m x 4 loops vs. 2.79sec
(I thought it would be harder than this to check. :I )
 
F4z
12:55 AM
For double hashing, how do you get the step value?
 
1:18 AM
@Augusta Local variables do not require a real dictionary lookup. I abuse this all the time. See, for example, this function
@F4z Not much different between the starting value and the step value except which hash function you use, is there?
 
@PatrickMaupin Cool, good to know! :D
 
Two things to note: (1) if you have crappy hash functions you'll get more collisions; and (2) your table size better be prime because you're depending on having a step function that doesn't have any common factors with it.
 
2:26 AM
One more thing to note -- if your step size winds up being zero, you'll need to modify it to be something else...
 
2:46 AM
@DSM Congrats :-)
 
3:10 AM
@TigerhawkT3 can you delete that last comment, I was about to get somewhere with him and it sort of interrupts the flow
or whatever, I don't think I'm going to change his mind
 
3:25 AM
@davidism Sorry, I was in another tab. Do you still want me to delete the comment?
 
nah, it doesn't matter
 
I'm probably overdoing it on the multitasking.
 
Agreed.
 
 
1 hour later…
5:12 AM
CBG all
@TigerhawkT3 nice avatar :-)
 
 
1 hour later…
6:17 AM
Lmao just reading the comments on davidisms meta post.
That guy certainly likes to argue.
And is completely wrong and talking out of his a*** (imo)
 
6:29 AM
much tomato
haha, show 39 more comments.
honestly though if he had expended a fraction of that effort to play nice with SO it would have lowered everyone's blood pressure.
 
7:06 AM
test 123
 
cbg
@metatoaster and why'd he do that ;)
 
 
1 hour later…
8:21 AM
@TigerhawkT3 I like your arguments in the davidism's meta question :-)
 
 
2 hours later…
10:06 AM
morning all
 
Hey up mucka.
 
word up fella
TypeError: 'str' object is not callable interesting as I definitely haven't masked it
 
Sure? What does print(str) come up with?
 
bah - still half asleep - up for a quick sanity check if I email some code? only about 30 lines
 
Knock yourself out.
 
10:11 AM
Cabbage!
 
sigh What to do when someone thinks they're being useful but is actually being really not?
 
get them to come sit in the corner with me? That seems to be the way my day is going :p
 
@Jon holy list comprehensions Batman!
10 lines!? Really!?
 
bah - it's fine - readable enough - yadda yadda
 
10:18 AM
No idea. Looks fine and that method (blah or str)(whatever) works (and is vile).
 
heck - one off - written half asleep in 3 minute script kinda thing
definitely not something I'd peacock feather though
 
Does anyone know if there's any breaking changes between 2.5 and 2.7?
i.e. my user some code that is "written for 2.5" but would like to not install 2.5 for.
 
stdlib stuff, set/dict comps etc...
 
But 2.5 should work on 2.7 (just won't be using all the fancy stuff)
 
yeah... as long as you haven't named a variable with "now" statement names
 
10:27 AM
Ah yeah.
Today I am a Sys Admin :3
 
just double check there's not stuff called "with"/"as" etc....
 
I need to print the xkcd comic out.
 
A company I worked for - my SysAdmin use to email that to me each day - that was, when he bothered to turn up for work at 11am
had to dig up his records from HR once and actually go around his house to wake him up at 2pm
 
Yesterday I was a backend data model designer. Tomorrow I may be a frontend developer. Just call me Jack-Of-All-Trades-Master-Of-All-Too.
 
Errr... yes Master, we do your bidding Master... blah blah blah :p
 
10:33 AM
My first zen proverb: "Dog Man who writes a 10-line nested list comprehension should be taken out back like Lennie from Of Mice And Men"
 
@Ffisegydd it's perfectly readable code for 4am - you're just jealous :P
 
Does code become more readable at later (earlier) times?
 
My code is only readable when Mercury is in its zenith and a red moon shines.
 
work 18 hour days - all code just becomes "oh look - there's something on the screen"
 
Know what the trick is? Don't work 18 hour days.
 
10:39 AM
“there’s something on the screen” reminds me of this tweet.
 
@Ffisegydd plan to retire at 50 - if I don't get myself dead first :)
seriously, seriously!? Why the hell not: `TypeError: 'str' object is not callable`
`
 
Is that your full code?
Are you importing some crazy module that might be masking it?
Is it something to do with the fmt.format bit?
Have you tried turning your python off and on again?
 
oh wait - might have it - subtle little f*er
 
What was it? I'm intrigued.
 
@Ffisegydd import python; python.off(); python.on()
 
10:47 AM
8
A: How do I fix this "TypeError: 'str' object is not callable" error?

Martijn PietersYou are trying to use the string as a function: "Your new price is: $"(float(price) * 0.1) Because there is nothing between the string literal and the (..) parenthesis, Python interprets that as an instruction to treat the string as a callable and invoke it with one argument: >>> "Hello World...

It's that?
 
nope haven't got it - not enough tea/coffee
@poke fancy a look? still half asleep and I'm sure it's sooooooooo obvious
 
I still have no idea what you’re talking about since you haven’t posted a link once.
 
will email to you?
 
ok
 
10:52 AM
@Jon do you have a line number for the error?
 
I hope it’s a MCVE… hrhr ;P
 
I think you've got something like fmt.format(whatever) where fmt.format is a string and so you're doing "herpderp"(whatever).
 
it's fairly small
 
[fmt.format(col.value) for col, fmt in zip(row, output_format)]
 
Yeah that.
 
10:56 AM
Isn’t output_format a list of OutputFields?
 
which have a format attribute
 
Yes, which isn’t a str.format function you can call :P
 
Yeah so you've got fmt.format which might be "Jon" and then you're doing "Jon"(col.value).
It's not that str isn't callable, it's that a str object isn't callable.
 
moar tea, moar tea - bringeth me tea!
(or coffee)
 
49 mins ago, by Jon Clements
TypeError: 'str' object is not callable interesting as I definitely haven't masked it
 
10:59 AM
Go to bed Jon.
 
ahhh... got it - never mind - laugh at me blah blah - I can take it :(
 
cbg!
 
cbg @idjaw!
 
Will do.
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
 
11:11 AM
Closed, complete with snarky comment.
 
Errr... snarky comment not needed and deleted
 
Also it was a pretty weak burn
 
Poor bants.
 
"Your eyes are getting heavy... You want to perform analysis on a large collection of images... You want to store this data in HDFS and process it with MapReduce..."
 
11:39 AM
How do you guys come up with random values for unit tests?
 
Well, I’m thinking more about simple types like numbers.
 
github.com/Ffisegydd/Gwydion Or scientific data :D
 
I think my random smashing on my numpad is good enough after all…
 
@TigerhawkT3 still loving the new avatar :)
(possibly biased, but, nevermind)
 
11:42 AM
:)
 
@poke always test the full range ;) :D
 
No real need for that :P
 
tests would sure look comprehensive
 
I’m testing business logic, not “make sure that when I use number X, it is stored as X in the database”
 
and take a good deal of time, and supercomputers :P
 
11:44 AM
"Boss, I need a supercomputer."
"Need."
 
Use “require”.
 
Boss, I need a require. See, that doesn't roll off the tongue as well.
 
@TigerhawkT3 Sure Dave, no problem. Please send me an email with some price points by the end of the day and I'll take a look"
 
"Cray?" "No, I've thought it through."
 
My boss had a funny thing he used to say: "Just because I saw that you sent me an email doesn't mean I read it."
 
11:50 AM
I actually did request a supercomputer on our internal erp, section "Office supplies"
you know, the place where some cable or usb stick would be ok
 
You know when you're thinking about something while driving, and you come to with no memory of the trip? You can do that with emails too.
 
Hooray for System 1!
 
Nice article from the intersection of psychology and coding, to keep us broadly on-topic: blog.hut8labs.com/coding-fast-and-slow.html
 
> I have vivid memories of that time — my self-image had been wrapped up in being “a good programmer”, and here I was just hideously failing.
I know that feeling ;_;
Reminds me of the study that shows how kids who are praised as smart will refuse to do difficult tasks, so they can't fail and prove their appraisers wrong; while kids who are praised for being hard working will put in extra effort on difficult tasks, to prove their appraisers right.
 
12:03 PM
Yes, that is interesting
I think I might be in Camp A :oS
 
cbg
 
There's about a million of the former category on reddit.
 
Thoughts on this as an answer for a gimme the codes question?

http://stackoverflow.com/a/33413730/1832539
 
I assume all of the latter category are partying on their solid gold yachts right now
 
Like Mark Zuckerberg?
 
12:07 PM
Having conquered 100% of the obstacles between them and their goal, using only grim determination
 
Ha, screw the hard workers and their impractical, sinking yachts
 
The yachts are in swimming pools of liquid gold, which is dense enough to make almost anything buoyant.
 
@idjaw a bit redundant, given the two you can haz these codez answers on it
 
I don't care much for "here's just a hint" answers, but not strongly enough to vote on them in either direction
 
I think the questioner just wanted a step in the right direction
 
12:10 PM
But people in the future with the same problem may want more than that.
 
One of the answer is actually wrong and it got an upvote, sadly.
 
hahaha just kidding. People with problems about sorting high scores don't bother to look at other questions.
 
Fundamentally, it's a bad question by a lazy cheating student and should be DV'd, put on-hold and deleted, not answered (however obliquely).
 
@idjaw not really that bad of a question, considering common regex questions at least, his answer could have used a bit more code and would’ve been perfect
 
@JohanLarsson the music of "The Knick" is pretty cool: deep, minimal techno -- a melancholic trip -- probably you will enjoy it most, once you watch a few episodes of the show
 
12:12 PM
It's been asked in various forms about a thousand times since that GCSE coursework exercise was released, so even if it was difficult there's no excuse to ask it again.
 
@PM2Ring btw that was a nice one, thanks -- although the sound's quality is like it was recorded by mobile or something
 
Thanks for the input guys. If it interests anyone, one more vote to put on hold if you feel it should be put on hold...but it already attracted a few answers:

https://stackoverflow.com/questions/33413474/how-to-sort-keys-and-a-high-score-from-a-dictionary-into-a-printable-list-in-pyt#33413730
 
@idjaw meh, but he was kinda nice, asking for a simplified expl.
 
@CSᵠ I read that more as "spoon feed me" than "I'm interested in learning", frankly.
And they start every question with it: stackoverflow.com/q/33395919/3001761
 
@jonrsharpe sure, I read both there, "assigned a task"... big no-no
@jonrsharpe now that brings in context!
 
12:24 PM
No code, or sign of any effort whatsoever, just inputs they have and the outputs they need
 
cv'ed the related studio man q also
 
The intentions might have been genuine in only wanting a hint, but I'd have to agree with jon here...when deciding to answer homework questions, there has to be at least some explicit effort shown in the form of code and indication of where they are having difficulty. Showing the examples that are on the assignment question can't qualify as effort.
 
1:14 PM
I just found out that I can't delete an accepted answer.
Should I ask the OP to unaccept it?
0
Q: number list to datetime conversion in python

Sreejithc321How to convert this list of time to datetime in python ? time = [2014, 1, 1, 0, 0] so the result should be : result = datetime.datetime(2014, 1, 1, 0, 0)

 
@TigerhawkT3 can you vote to delete?
 
I mean, it's my own post.
I thought a dupe would be hard to find, so I answered the question, then I looked for a dupe and found one easily.
I dupehammered it, then found that I couldn't delete my answer.
Now it looks like I answered for the rep and then closed it to prevent others from getting rep.
 
So now you're trying to cover for that by pretending you'd like to delete it?
 
I was going to delete it; that's how I found out that I can't delete accepted answers.
 
Ha, and it just got another upvote - rep whore!
 
1:19 PM
I would like to delete it.
 
A likely story...
 
Should I reopen the question?
 
I don't think that would help - you can ask the OP to unaccept if you really want to, but I don't see the problem with having an answer right there are a link to more information on the dupe
The question is a dupe, so reopening it is clearly not the way to go
 
I answer and close pretty frequently. Is that bad :-(
 
1:22 PM
FWIW, I wouldn't look at a question like that and go "they clearly just shut the door behind them to get all the rep"
 
do anyone know how to solve this
http://stackoverflow.com/questions/33414639/representing-3d-matrix-from-2d
 
I feel like a housewife who just scuffed the floors that she keeps yelling at people not to scuff.
Hypocrite, that's the word. :[
 
Hahaha
 
@VinodPrime have you considered providing the information requested in comments, or showing what you're currently doing and how it's failing? Why not start with the (5, 25, 25) array of zeros then insert the data from each file into it, rather than trying to pad each one out?
That would be as easy as starting with np.zeros((5, 25, 25))
@VinodPrime FYI, "Can anyone tell me how to do this?" is a textbook bad SO question. What have you tried, and what precisely is the problem with it?
 
1:41 PM
can u check now
 
@VinodPrime please don't link your newly asked question here (as per sopython.com/chatroom)
 
The simple example is pretty easy. c = [a,b].
 
It's still a data dump followed by "please write this for me", so I doubt you'll get much help.
 
So really all you need to do now is 1) figure out how to turn an array of shape (a,b) into an array of shape (15,15), and 2) figure out how to make a c that has more than two elements, without having to write c = [a,b,c...x,y,z]
Borderline Python Function Codecademy. I consider this a typo -- do you???
 
It seems a lot like giving it a few simple inputs and going "huh, that's not the cube of that" for anything but 0, 1 and 3 would have solved this without asking SO!
 
1:48 PM
OPs don't execute code.
 
Its strange how people like me come to stack overflow to access knowledgeable developers pointers... and instead get snide comments from a moderator? I got the correct answer. The goal of the SO system should be to aid people in improving and solving issues, but instead it is ripe with people leaving comments like this. I am happy I found the correct answer, but again let down by a moderator. I have seen complaints increasing on other systems like quora that say that SO has become a mess of rude moderator replies. I suggest you read up on common courtesy tutorials so you can see how that works — Chad Collins 17 mins ago
another day, another :-(
 
Earlier today an OP asked me "If I replace this line with that line, will my code work?" I replied "I don't know, what happens when you try?". Took thirty minutes to get a reply to that one, for what should have taken five seconds.
 
In Soviet Russia, code executes OP
 
a=[[1,2],[3,4]]
For a i tried this to convert it into shape of (15,15)
np.pad(a, ((0,15),(0,15)), mode='constant', constant_values=0)

but it is adding 15 zeros instead I want only 13 zeros to get added
 
"I suggest you read up on common courtesy tutorials". Absolutely. Just as soon as every single entitled 1 rep user does the same
 
1:50 PM
 
@davidism I honestly don’t care about such people. If they come here expecting to get solutions for their crappy problems without investing any work, then I’m fine without them.
 
@poke yeah but then someone comes and writes a code-only answer and gets a smiley face comment and you look like the asshole
 
Yeah, but I still have to see them on a daily basis and deal with the crap.
 
@davidism Which is why I still want close reasons like “too localized” back.
 
Whenever I see a post on reddit/HN/whatever like "I made a post on SO and people treated it like a bad question and now I'm never going back" I think "good, one less bad question asker"
"I will no longer patronize this establishment" is not a punishment when we don't want you here in the first place
 
1:55 PM
One less drop in the ocean.
 
"You're barred" "And I'm not coming back!"
 
I think the hope is that it's more like one less ice cube in the glacier.
 
@TigerhawkT3 this whisky isn't going to chill itself
 
My only worry is that being mean to everyone all the time will cause the influx of actual helpful new users to dry up, and the site will become a withered husk of its former glory.
 
Treat 'em mean, keep 'em... away?
It's very difficult to distinguish between "don't know what I'm doing yet but willing to engage and learn" and "lazy and thoughtless and will become abusive if this is pointed out"
 
2:03 PM
OTOH it's not clear to me what percentage of valuable community members got started by asking a bad question, but were not repelled because it was in a more polite era.
 
That's certainly worth thinking about
 
user559633
My last exchange on hackernews was criticizing someone that went all SJW defending paedophiles (and I was the one getting "downvotes"), so I'm okay with those types of new users staying away.
 
On the gripping hand, a potentially valuable member need not ask a bad question to be dissuaded - just hearing millions of sob stories from the rubes that do ask bad questions, may be enough of a chilling effect to keep them from ever making a post in the first place
 
Meanwhile, the answer I edited yesterday is now the user's second highest scoring post ever, yet he really, really couldn't accept that he should be answering better when discussed on meta.
 
I was just asked to action a flag on myself - bug? (Also: sorry to whomever I offended)
 
2:05 PM
:D:D
 
@jon :P you can't actually action it.
But it might be a bug that you can even see it.
 
@tristan FWIW, I don't think that attempting to refer to people in the pejorative as fighting for social justice is actually going to put them off
 
once you try it bitches "you cannot action on your own message" or something
 
Ah OK
 
"Yes we're jerks, but only to the people that deserve it" may not be an attractive position, whether the listener is deserving or not
 
2:06 PM
Wish I'd tried, now!
 
there are 30k-reppish users who ask shitty questions all the time
 
user559633
@jonrsharpe What do you mean? SJWs aren't actual activists and it's a well-understood term on the internet for someone begging to be contrarian and take offense over the pettiest of things.
 
ew. I just opened a file I hadn't touched in months... commented out code everywhere... this is a production file.
I just made myself sad
 
That's why I said "valuable member" rather than "high rep member" because the two are not always correlated :-)
 
@jonrsharpe someone is out to get you
 
user559633
2:07 PM
"How's your job going?"
"Stop microaggressing me!"
 
I choose to assume that the second one was so I could have a go at actioning my own flag, so... thanks?
 
I assume butthurt. but I've also been on the chats too long
 
@tristan waters get muddied somewhat by GamerGaters throwing it at actual activists there, I think
 
To be honest, I was a poor questioner. Then, I started anew and chose to blame only myself, now that I could see how poor my questions were.
 
And yes, I got a banner saying (roughly) "hey don't do that"
 
user559633
2:09 PM
@jonrsharpe Oh, I don't really care about ethics in video game journalism, it's to be expected that it's not real journalism. And at the same time, I don't care about the opinions of people that demand to not be offended by anything.
 
user559633
reminds self that every group is criticized, stereotyped, and dismissed by its lunatic fringe
 
morning everyone
 
cabbage
 
user559633
morning cabbage
 
I am happy to ignore any and all groups of people that thrive on conflict and controversy.
 
2:11 PM
@tristan neither does anyone in GG, for what it's worth!
 
user559633
@jonrsharpe How do you mean?
 
Care about ethics in gaming journalism
 
I just do an occasional checkup to make sure that none of them are growing in power enough to destroy the world. So far, they haven't, so I'm good to put up the blinders for another year or so.
 
As long as the ethical breach is by a man, you're golden!
 
user559633
My understanding of the gamergate thing is that someone said "hey, isn't it fucked up how these people give positive reviews and don't disclose personal relationships?" and a group of people hoping to make a living off being offended on the internet reeled back with "how dare you microaggress and use the term 'positive' and electron shame atoms?!?!"
 
2:13 PM
Uh oh, is this meta-discussion about a controversial thing about to become a regular discussion about a controversial thing?
 
Not if we keep up these meta-comments about the meta-discussion.
 
@tristan that's certainly not my understanding, but I suspect it's best to leave it there
 
user559633
I'm cool with that :)
 
(For anyone who does want to go down that soul-destroying rabbithole: reddit.com/r/GamerGhazi/comments/2iucqv)
 
user559633
Ugh no don't go to reddit.
 
user559633
2:15 PM
We don't go to RedditHolm
 
@tobias_k- yeah yeah my code was print('hello') raw_input('press enter to close') i know it's dumb m a newbee and trying to learn and ummm_hmm i double clicked the .py file thanks! — Ayushya Rao 4 mins ago
Anyone fancy that? I'm not sure I have it in me today
 
Phrasing.
 
user559633
He knew what he was doing
 
I should have realised when I said it I was in the... danger zone
 
\o/
 
2:19 PM
Is there a canonical dupe for running an interpreter session as if it was a script?
 
I don't think so
Sigh. There's so much confusion among newbies and commenters because it's impossible to determine exactly what their environment looks like. Is it a REPL? Is it a command line? Is it IDLE? Who knows? Certainly not the OP!
All they know is that they click the thing and then they type words in the thing, and when they run the thing, a bad thing happens.
 
That describes my coding attempts.
 
Mine too, but I can provide a better thing - er, description - if I am prompted to do so.
Whereas the newbies are like "what is an IDE? What is cmd? Why are you asking me these questions? Just answer my problem please"
(consequence of impoliteness #3: if you ask lots of clarifying questions just for the purpose of annoying the OP, then all future OPs will assume that your questions are just pranks, and won't answer them)
 
I'm still convinced all 1 rep OPs are just an amorphous mass and hopefully by fixing enough of their questions, we'll train the hive mind.
 
They're more like moss. There is no hive mind. Burning a patch off won't teach the rest to fear fire.
 
2:33 PM
Greetings everyone, I hope you're all well.
 
I'm fine, except for the shopping indecision paralysis.
 
Ah, too many options. Flip a coin? Call random.choice?
 
For me it's the opposite - I'm flummoxed by lack of choice. The thing I want for Xmas comes in cyan but not blue. I don't even want the thing if it's not blue.
 
Isn't cyan blue?
 
cabbage
 
2:36 PM
i tend to sit on my hands and not buy until the perfect item is 90% off.
 
Not in monitor colorspace, it isn't. Blue is (0,0,255), cyan is (0,255,255)
 
@jonrsharpe No, it's halfway between blue and green .
 
More like, "there are several options, and the marketing blurbs on each one are not directly comparable and don't answer the questions I have."
 
I did a Google search for it and the top row of images showed about 15 different colours
So I'm out
 
Cyan isn't even the canonical color of the thing as it appears in the source material. This seems like a bungle on the thing's source material's creator's marketing team's part, really.
 
2:37 PM
Does it come in "navy"?
 
It's cyan or nothing, unfortunately
 
What is this thing, and can we see pictures and then speculate (hopefully) amusingly on how the marketing department should have referred to that shade?
 
DSM
The difference between International Klein blue and Egyptian blue has been a running joke in the office for several weeks for reasons it would take too long to explain. :-)
Morning cabbage for all!
 
No, because the thing is a thing which I would be embarrassed to admit that I want.
 
Sounds like a riot!
 
2:38 PM
So it shall forever remain ambiguous.
 
I just joined Code Golf & posted a PostScript answer for that circle fractal thing. It's certainly not the smallest entry, but it's better than some. And the output's gorgeous, if I do say so myself. :)
 
Can we speculate (hopefully) amusingly on what it is that you would want but be embarrassed about and comes in cyan (not blue)?
@PM2Ring "PostScript isn't just a graphics file format with both vector and bitmap capabilities, it's actually an object-based Turing-complete programing language." - are there slides to go with this?
 
That is permissible to me.
 
(and yes, that does look great)
 
@jonrsharpe :) I wanted to forestall the criticism that Poke got for posting an SVG solution.
@jonrsharpe Thanks!
 
DSM
2:41 PM
@PM2Ring: that's gorgeous.
 
Close as typo/could not reproduce? stackoverflow.com/questions/33417191/…
It's "why does X do Y?" with code that neither contains X nor produces Y.
 
If you've got a high-res monitor you may like to view it using ImageMagick's display with large geometry, page and a higher density (eg 600).
 
DSM
This is why I like validating transcripts. Although in some of my all-time favourite questions, the OP faked a transcript to prove his point..
 
@TigerhawkT3 True, although let's wait ~10 minutes to see if OP corrects the problem
Me asking "is this your actual code?" and them saying "yes it is" when it clearly is not, is literally the worst thing in the world.
 
Or maybe I should just dupehammer it with this? stackoverflow.com/questions/11620151/…
 
2:46 PM
infectious disease, widespread structural oppression, daytime television; none of them hold a candle to this.
 
But then they're not actually seeing the behavior they describe, so it can't be a dupe...
 
Is there a dupe target where the answer is just "No, it doesn't."?
 
Maybe there should be.
 
DSM
First question after two years, and this is the one. :-/
 
The Q could read simply "This code does this thing."
 
2:47 PM
I briefly considered going through the Python tutorial and making self-answered questions for everything without a decent existing dupe target. Like "how do I add two numbers" and such.
 
Does anyone remember when dupe hammering first came into existence, and one guy abused it by closing all questions he didn't like, with the target being some kind of "you're dumb" post that he made?
Pretty sure the mods put a stop to that in like, ten minutes
 
DSM
For some reason I find "Can we start a colony on a passing rogue planet?", "Should I make tea for everyone in my open plan office?", and "Does "red apples and bottles" mean "the apples are red and the bottles are red" or "only apples are red"?" an interesting combination of questions.
 
Nooice.
 
"Should I make tea for everyone in my open plan office?" - I'm now wondering if they work here, and whether if I shout "yes" I will get a cup of tea.
 
Now I feel bad that I didn't get an easy 70 rep for answering that question.
 
2:50 PM
@DSM, 1) yes, but it is a bad idea. 2) see previous answer. 3) the second one. "red" has a high priority so it only binds to the closest word. I just made this rule up.
 
I guess it balances out the rep I didn't feel I deserved for the one I did answer.
 
It's the same reason people say "the big red dog" rather than "the red big dog"
 
DSM
Clifford!
 
Unless "red" is a modifier of "big" somehow. Like, if "red" was a class of bigness. Perhaps when describing stars.
"red giant star" and "giant red star" both sound fine to me.
Although I'd expect to hear the first only in astronomy class, and the second only in children's stories.
And/or doomsday prophecies.
 
Cabbage
 
2:54 PM
Without a comma, the first one seems more like the two words are one thing to me
I am aware that this is not necessarily rational
 
English rarely is.
 
DSM
In my head "red giant" is a single thing in the astro context, though. Saying "small red giant" doesn't sound strange to my ears, for example.
Intern in the office just asked me what "N.B." meant. Do kids not learn that anymore?
 
in Finnish the rule is that comma is used only with adjectives that describe the same attribute...
 
My understanding is that in Finnish the word for pedant literally translates to "comma-f*cker"
Or, in other words, I like the sound of Finnish
 
They didn't teach me N.B. in school. I had to learn it from the Internet.
 
2:58 PM
@jonrsharpe yep, though it is not the word.
 
Ah, I see
 
Well, this is either the worst question ever, or they have the best database ever.
 
crosses "learn Finnish" off list
 
-6
Q: Know your current Age

Santu.Write a sql query in such a way that system will tell your current age month and days?:):)

 

« first day (1839 days earlier)      last day (3100 days later) »