« first day (782 days earlier)      last day (3236 days later) » 

"Most efficient posts"?
 
@EthanBierlein Highest post score with fewest characters
 
@QPaysTaxes Sperk? What is that?
 
Oh god, help. I want to learn perl now.
SAVE ME
Help me break the limit. I want to experience that feeling
 
10:03 PM
What is this "Score" value anyways? I've never seen that on posts
 
lol
 
Oh wait that's SO, no wonder
I was gonna say, we'd never get 7K votes on a Post here
 
Maybe in a couple of years when the site has grown more
 
@QPaysTaxes I got 10 rep away one day, and it was so frustrating.
From cappinf
I haven't gotten that close since
I still need like ~15 answer votes until I cap, and that's never gonna happen in two hours.
Stupid system. xD
I hate it. It feels, dirty, when I get serial upvoted.
 
10:09 PM
@Phrancis the efficient posts query selected my tag edit, is that normal?
 
Thanks Santa!
 
@Quill What do you mean?
 
Thanks Snanta2!
Thanks Sanat3!
 
@Phrancis Try this URL
All the whatevers of santa
 
Thanks Satarj!
 
10:13 PM
If you order by post score, there's two literal unknowns at the bottom that are tag edits @Phrancis
 
Yays! I gots another shiny!
@QPaysTaxes 🗿
Wat
 
@QPaysTaxes Do you mean ... holy cap?
2
 
VERY PUNNY @Quill. VERY PUNNY
2
I only need 4 more answer votes. Then I cap.
 
@EthanBierlein Do a quick (but good) answer
 
Nope. My profile says 140 rep so far today.
 
10:16 PM
@QPaysTaxes woah
 
Well, now I need five, because someone just removed a vote.
Oh. Faceplam
 
atomic faceplam
 
And accepts are pretty rare, which answer upvotes....
 
Let's make Faceplam a meme
 
@EthanBierlein Let's really not
 
10:19 PM
Atomic meme
 
@QPaysTaxes *If
 
Hit my hand with your face.
 
brb. TTES
 
@Quill add this in your where clause AND PostTypeId IN (@Question,@Answer)
 
10:20 PM
@QPaysTaxes TS
 
Oh, yeah that whoops
 
@Phrancis Right on d00d!
 
Hold that thought (and also your syntax is wrong ;)
 
2 hours ago, by QPaysTaxes
@rolfl I prefer CASTing
1 min ago, by QPaysTaxes
I'm not SQLGUY
 
10:36 PM
This is how you write SQL like a pro ;) data.stackexchange.com/stackoverflow/query/329418/…
(just being sarcastic)
@QPaysTaxes [Rating] = ROUND((1000.0 * Posts.Score / LEN(Posts.Body)), 2)
 
@Phrancis The rainbow-like display of different syntax gives an air of superiority
 
Need to specify the number of decimal places in a ROUND() operation
@QPaysTaxes They are both fine, but I find that putting the label first makes it easier to read
 
@QPaysTaxes See this answer
 
Round may not do what you expect.
 
ROUND is just to avoid having ridiculous amount of trailing decimals, mostly, like 10.33549432493546354
 
10:41 PM
But, I have seen it not do that.
 
Numbers like those confuse executives looking at reports ;)
 
Converting to decimal with a set decimal place is better than round
 
@rolfl That will truncate instead of rounding, right?
I can't think of a use case where ROUND would behave unexpectedly... do you have one @rolfl?
 
LOL
I do think the numbers look inflated though, I'd be tempted to 100* or even 10* (and maybe increase a decimal place or two)
 
10:49 PM
LOL plese don't. No "Score per dekabyte" please.
 
[Rating] = ROUND((10.0 * Posts.Score / LEN(Posts.Body)), 2)
^^ Looks much better
Hey, I'm still at work, WTF. TTGH, BBS
 
11:06 PM
If this code works, I'd suggest taking this question to Code Review Stack Exchange instead. That site exists specifically to review and improve existing, working code. You're not necessarily off-topic here, but you will likely get better answers over there. — skrrgwasme 36 secs ago
 
HOMME
@Duga THANK YOU
 
1
Q: Need to add two 4-D arrays in python, current solution is extremely slow (Beginner)

levtherminI have two arrays, each with shape (1, 51, 150, 207) I need to add them such that: newarray[0][0][0][0] = array1[0][0][0][0] + array2[0][0][0][0] newarray[0][0][0][1] = array1[0][0][0][1] + array2[0][0][0][1] for every element in the array. Currently I'm creating a new array using nested whi...

 
Converting exception to return values loses the benefits that exceptions bring. Now all methods depend and mutate global state which is another drawback. If would fail this in a code review. — usr 30 secs ago
 
False pos
SEDE Code Review version Now with documentation!
Runs so much faster than SO
 
11:21 PM
i feel dumb
fair enough
i'm having trouble getting this stupid code working
i'm usually bad at finding typos
 
What does the compiler say?
 
no warnings
 
A warning doesn't usually matter, it's the errors that matter.
 
if i put it on github, will you take a quick look at it for me? a second pair of eyes is what i need ( i think)
 
Depends - not if it is BF.
 
11:24 PM
it's c
 
OK.
Well, I can read some Ruby.
 
how about pastebin
 
At least PasteBin has syntax colors.
Sure, PasteBin is fine.
 
pastebin.com/yVqE7Ji2 tell me if that worked
 
@Phrancis What about answer counts for the question that you've answered
 
11:28 PM
Worked.
 
it looks better in gnu nano :(
 
It says it has a runtime error in IdeOne.
Time to turn the debugger on.
 
hmm
@Hosch250 i forgot to have it check the arguments... that's why i'm getting different results than you
i'm putting the google ip and port 80 as arguments
 
@QPaysTaxes Maybe you're just not funny
 
maybe the ip expired already
 
11:42 PM
@QPaysTaxes I don't know whether to sigh or smile (good work :P)
 
@QPaysTaxes I'd bet that shift32 is plain stupid.
 
Which question?
@maaartinus?
 
I indeed didn't use the private final long shift32Multiplier as I thought I could but I actually couldn't. But I'm speaking about the method shift32.
5
Q: Modular arithmetic

maaartinusAs the name says, LongModulus is a pretty long (lengthy) class implementing modular arithmetic for a long modulus. As overflow is a problem, I implemented two subclasses, one for moduli not using the highest non-sign bit (i.e., smaller than \$2^{62}\$) and one for the others. The code uses Guava...

 
0
Q: XML string parsing in java

ankibunkersI am trying to parse through a XML format String for example; My goal is to add attributes name in an array list such as {city,dateOfBirth} and values of the attributes in another array list such as {Santa Ana, 1970-01-01} any advice, please help!

 
> mildly really
well done
 
11:48 PM
@maaartinus I see a few points to make.
 
I'm voting to close this question as off-topic because it belongs on the codereview.stackexchange.comDmitry 51 secs ago
 
@Hosch250 I'm looking forward to your CR. I'm sure it's no very good as I moved the code from an ugly utility class I was using before.
 
Sure, writing an answer now.
 
Hey @all and @ASP.netWizards, is this syntax correct for turning literals into JavaScript variables?
> var average = <asp:Literal ID="litAverage" runat="server"/>;
 
@CaptainObvious Incoming!
@Quill That's possible to do, but would require a self-join. Do you know how to do those, or would you like me to teach you?
 

« first day (782 days earlier)      last day (3236 days later) »