« first day (953 days earlier)      last day (3067 days later) » 
00:00 - 20:0020:00 - 00:00

12:00 AM
RELOAD! There are 1648 unanswered questions (94.4272% answered)
 
RELOAD YOUR SELF!
@Duga good thing you are a bot
 
@NᴏᴠɪᴄᴇIɴDɪsɢᴜɪsᴇ Are you being inpolite? Do we need to flag you? ;-/
2
 
@Duga About time. I almost started losing rep.
 
@Hosch250 Didn't you repcap yesterday?
 
12:07 AM
Yeah.
I had 30 rep from answers though, so I had a slight buffer.
 
So claiming to "almost started losing rep", is kind of exaggerating? My total for yesterday was 30...
(But I'm not complaining, I've been on a good roll for several days...)
 
If I had reached 230, I would have lost the rep from any other upvotes.
 
Hmm... I don't quite understand what you are saying here?
 
My rep wouldn't have gone down, it just wouldn't have gone up anymore either.
Say I was upvoted to 250 rep - I could only have kept 230 of it.
 
Ahh... that made more sense...
 
12:11 AM
I had 215 + 2 (an accept) - 3 (my downvotes), so I was at 214.
 
A fun way to repcap would be if you could donate the extra rep to someone... Kind of like an instant bounty... That would be a nice feature, I think
 
I wonder who would get Jon Skeet's extra rep?
 
Me?
 
I don't think that would be a good feature because some big-shots cap regularly.
 
HeHe... He does have a little bit as I've understood...
True...
Still I kind of like the notion of being able to do something good if you repcapped, as you are generally in a good mood that day (at least novices as me... :-). And it is kind of a good version of 'what comes around goes around'...
But i'm just rambling...
 
12:17 AM
I've only capped 5 times. I find a really fast way to gain rep is to try for 50/day.
It is an easy amount, 2 good answers should easily do it.
When I do that, I often hit 50 between reload and night, and can get another 70 before reload the next day.
 
Kind of sounds easy enough... But I'm possibly over thorough with my review... Haven't quite figured out when to limit my answers to the crucial points instead of going full on most of the time...
 
Don't worry, it'll start pouring in with WinterBash.
There are hats for posting, hats for voting, and more.
 
We sometimes to coordinated up/down voting to get the hats.
 
12:21 AM
Of course, we are careful when we give upvotes.
 
Downvotes we give, wait until the hat arrives, and remove them.
 
I've been around long enough to participate in that, but it sounds kind of fun... But does the hat only change my avatar, or is there some other effect? Or put another way, how does the hat work?
 
You can put them on your avatar.
 
12:21 AM
^^
They go away Jan 10th though
 
Just one? Or multiple?
 
So screen capture them all
 
Some people keep them all with screenshots, or photoshop them together.
 
@holroy One at a time
 
@holroy Just one, if you don't photoshop them.
You can create an avatar with a hat built in, then wear another hat on top of that.
RubberDuck still has his lightbulb hat on.
 
12:23 AM
Why the down-, hat, up-vote? Why keeping of up-votes?
 
Zak
@holroy To summarise my own answer: It's not an exaggeration to suggest that Jon Skeet will never lose his spot as #1 SO user of all Time.
11
A: Does Jon Skeet ever have to answer another question to remain the #1 user on Stack Overflow?

ZakInstead of making theoretical assumptions about what people *might* gain in rep, why not go on what people have actually earned? Using Data from the past year: (Dec 2014 to Dec 2015) from the users tab on Stack Overflow: Only 5 people out-repped Jon Skeet in the last year. If their trajectories...

 
Saw that yesterday... Fascinating calculation...
 
And each generation will come and find his answers and upvote them.
 
Been discussing stuff with Jon Skeet a few times. He does know where his towel is, so to speak
4
( if you know that reference... )
 
Maybe they will fade away 50 years after he stops answering, probably not all of them.
@holroy You talk to Jon Skeet?
Where?
 
12:25 AM
@Hosch250 Not in real life... More commenting...
 
Zak
@holroy Everyone should know where their towel is :p
2
 
What is that reference?
 
HHGTG
 
I know the "throw in the towel" one, but not that one.
Oh, never read that.
 
I've read it/them a few times, seen the not-so-good film, but the best experience was listening to the original radio show (and read the radio transcript)
 
Zak
12:28 AM
Neither have I, but I've listened to (most) of the audiobooks. Back when they were audio cassettes :) I recall there being, like, 6 different versions.
 
Audiobooks of the books, or the original radio show?
 
I'm debating whether to reinstall Windows tonight or later.
 
@Hosch250 Nah... Listen to HHGTG instead! :-D
Locate your towel, so to speak...
 
Zak
@holroy I think the books? I honestly don't know. I remember there being 4 (5?) different versions which seemed to be different versions of the same original story (kinda like parallell-universe versions). IIRC, they were named "[THHGTTG]", "The restaurant at the end of the universe", "So long and thanks for all the fish", "Life the universe and everything" and maybe another one.
Ooh, found it
 
12:36 AM
The original books were part of a trilogy consisting of the first four of the books you listed...
 
I actually have those somewheres
 
Java person want to check this answer by a newish user? codereview.stackexchange.com/a/113787/34073
It looks reasonable.
 
@Hosch250 Not good formatting, and almost too hypothetical, and no code examples. So if there is something good, it's a little sad...
But then again, I'm still in a little mean mode today...
 
0
Q: writing algorithm for these

morfesWrite a program that simulate the CPU Scheduling process for 1000 process, the project should simulates the following algorithms: 1- First Come First Served scheduling algorithm (FCFS) (2 marks). 2- Shortest Job Frist scheduling algorithm (SJF) (3 marks). 3- Priority scheduling algorithm (2). 4- ...

 
Zak
@holroy Ah, so it is as confusing as it appears :)
 
12:40 AM
@CaptainObvious Unpack the nukes!
 
@Zak Oh yeah... But listening to the radio show, is great fun. Reading the first books are great, but book 5 and 6 is not so good any more (even if you are fan like me... )
@Hosch250 Already blown apart by Jamal! :-/
 
The first books were cool indeed :D
 
You might do worse than to ask this on Code Review SE under the tag sql. — Darwin von Corax 1 min ago
 
They seem to forget that the people, once they came out, would likely be permanently unable to walk due to not practicing when they are young, etc.
 
Zak
@Hosch250 Eh, if we're assuming a civilisation with technology advanced enough to grow humans to adulthood in test tubes. They're probably advanced enough to implant motor control abilities into a brain as it's growing.
 
12:55 AM
Quote from question: "fully mature adults with a standard education ready to join society"
So most likely they have been trained to walking, even though not having actually practised it
 
Zak
My answer would be "It really depends on the level of technology we're talking about".
 
Zak
After all, given sufficiently advanced technology, you could build a person, atom by atom, with all of the properties of somebody who'd gone through 20 years of "conventional" life.
 
1:13 AM
0
Q: Scan first and last name from user, then format the name as last, first initial

cody.codes Reads the user's first and last name (an entire line as a single string), then prints the last name followed by a comma and the first initial. Ensure the code re-prompts until the user types a name that is at least 5 letters total in length and has at least one space in it. For example: ...

 
possible answer invalidation by user11881 on question by user11881: codereview.stackexchange.com/posts/113695/revisions
 
Zak
My first ever WB answer:
0
A: If humans were grown to maturity how long would it take?

ZakIt REALLY depends on what level of technology we're talking about here. After all, given sufficiently advanced technology, we could "build" a person, atom by atom, to have all the same properties, education, mental and motor functions etc. as if they had developed the normal way over many years....

I can haz upvotez?
 
2:12 AM
0
Q: C++ EventHandler class, invoking & arguments

YamiezThis is my EventHandler class, it is extremely simple and can be used on Lamdas and similiar. template<typename Signature, typename...Ax> class Event { private: typedef std::function<Signature(Ax...)> Function; Function _func; public: void CallFunc(A...

 
Zak
@NᴏᴠɪᴄᴇIɴDɪsɢᴜɪsᴇ :)
 
It isn't the motor abilities.
It is the physical muscle strength being built through regular use.
On a different note, I installed Windows 10 again, and they are doing peer-to-peer downloading of updates.
 
Allow the updates to spread peer-to-peer style.
Kind of hard to type fast from a phone.
Windows 10 mobile doesn't add the space automatically like Windows Phone 8.1 did.
 
2:50 AM
0
Q: Simple authorization module with Rails

DanielI created a simple Authorization module with Rails. I found that there are other authorization systems, such as CanCanCan, but they grant permissions at Model level and, for this particular website I am developing, it is more convenient to authorize at Controller level. The idea is simple: the p...

 
Zak
@Hosch250 You could easily achieve the same stimulation through applied electrical current. Or who knows what advanced technology.
 
0
Q: Implementing Maybe monad using

jrsalaI attempted to implement the Maybe monad in C++ and I came up with the code below. It uses a private _isNothing boolean to tell whether the instance of Maybe<T> is "Nothing" or "Just x" for some "x". I would like to know whether there is a more elegant implementation that uses the type system in...

 
3:07 AM
No, it is not the same.
There wouldn't be the same resistance to muscle flexes, etc.
Apparently my version of IceDragon was outdated, and it is better than ever.
It now includes several themes built-in, and the night sky theme is super cool.
 
You could theoretically create a strengthened muscle atom by atom, and it would be 100% the same
 
You couldn't build a body atom-by-atom anyway - it would have to be molecule by molecule.
 
Perhaps, but it wouldn't be the same.
 
but same concept
@Hosch250 Why not?
 
3:10 AM
Well, maybe it would, but there would be a mistake somewhere at the very minimum.
My sound is funny. I need to install the Beats driver from HP again.
 
Quite likely, but it is theoretically possible
 
OK, let's just not argue. We won't convince each other anyway.
Restarting IceDragon to install an update.
Oh, and I came here to say that I got a bronze Python badge.
 
Hello.
 
3:12 AM
Back already.
 
How's it going?
 
Good.
Look at my beautiful browser:
 
Your background looks cool
 
Hmm, the picture got cut off somehow.
 
Well... you can't rely on technology for everything :)
 
3:15 AM
I'm waiting for Office to install, then I'm going to install drivers.
And then VS 2013 Pro for RD and VS 2015 Community for VSD.
Crap, I can't just download individual drivers from HP anymore.
Apparently, they should come through Windows Update, but I highly doubt that will give me my Beats driver back!
Oh, I just need to set the OS as Windows 8 to get the menu back.
Nope, didn't come in. Downloading from HP.
 
0
Q: Displaying binary to an arduino using LEDs

JamerackI've written a program for Arduino UNO and 3 LED lights. The program is supposed to turn an inputted number into binary and then display it on the LEDs, on being 1 and off being 0 I have looked it over quite a few times and don't understand why it is not working as it should. I'm a beginner at wo...

 
Zak
3:40 AM
@Hosch250 The whole point is that we're dealing with a civilisation with vastly superior technology, no? Who are we to say what they could, or could not, achieve?
 
0
Q: Solving for Every Variable in a Number of Formulas

UlthranI'm working on making an iOS app to solve physics problems and I'm starting by just having it solve basic kinematics problems with the following formulas (I've coded it in C instead of Swift to start because I know C better): Time: t Change in Distance: d Average Velocity: va Initial Velocity: ...

 
3:58 AM
0
Q: String Reversal Server using TCP Sockets

yasodaThe problem is to implement a client - server user-level application using sockets API in C. The Server application has to support at least five clients simultaneously. Server accepts strings from clients (even multiple strings from each client) and replies with reverse strings. For example, when...

 
 
1 hour later…
5:15 AM
@Hosch250 Ping to myself to make sure my sound driver installed good.
OK, everything is cool.
I can't get over how beautiful my browser is.
 
Zak
you can ping yourself? cool.
 
You have to type the ID.
Like, :26130241 Ping me.
The UI doesn't offer a way to ping yourself.
 
5:48 AM
Have look at this and see if it helps. codereview.stackexchange.com/questions/90062/…MwcsMac 37 secs ago
 
Gas Law: PV=nRTPV=nRT
Ideal Gas Law: (P)(V)=(n)(R)(T)
Night, all.
 
good night
 
6:43 AM
And people say we don't have good jokes. Fancy that. — peter a g 4 hours ago
 
 
2 hours later…
8:58 AM
0
Q: Implementing min of 3 numbers in Mic-1 code

BunI have the following algorithm to find a minimum of three input numbers: min(a,b,c): x := a if b < x then x := b if c < x then x := c return x end min(a,b,c) I'm trying to implement a Mic-1 micro code following the algorithms above: OP1, OP2, OP3 = any 16 bit 2s complement value ...

 
 
1 hour later…
10:07 AM
0
Q: What a crooked way to compute the next straight string (advent of code 11)

Jan DvorakThis year I have been participating in the Advent of Code series of challenges, and it just so happened that I'd be doing them in Javascript. Not my usual weapon of choice, but I do have some experience in it. Day 11 asks us to find the next valid password given a set of three requirements. The ...

 
10:26 AM
0
Q: Make this code thread-safe

MSD561std::mutex mutexFileDetection; while (true) { camera.get(frame); detectAndDisplay(frame); } detectAndDisplay(Mat frame){ std::thread(post,frame).detach(); } void post(Mat frame) { post(Frame)//with libcurl. writeToDisk(); } void writeToDisk(Mat image) { string s = conver...

0
Q: Game Feedback For Blackjack

ElotHey guys I just finished coding a game in c++ for blackjack, pontoon, 21 or whatever you call it! I was just wondering if I could get some general feedback? Thank you! #include <iostream> using namespace std; #include <string> #include <ctime> #include <cstdlib> int main() { bool loop = tru...

 
10:50 AM
hi
 
11:15 AM
-1
Q: Name of method related with changepackage

PulkownikMy package is service.auto.upadte. stockDetails stockFiveMinutesDetails stockIndicators stockFiveMinutesIndicators And in each package i have class (service) to calculate same value or parse data from external website. Now i'm just wondering what name should i give to my class (service). ...

 
@Pulkownik hello
@TheCoffeeCup Here you go:
0
A: Printing multiplication table to 12 × 12

Simon Forsberg The multiplication table is missing formatting. I realise that, and will add it some time later, if I can figure out how to compare two values. Comparing two values isn't that complicated, once you know how to do it. It is however extremely inefficient if you do it over and over again. Your ...

 
12:08 PM
0
Q: should i remove row from table or just disable that row

MoxGeekin all project I realize , i add in each table a field named disabled ( true, false ) if the user click on " delete " , the row just turn disabled to false for don't have any problem on cascade delete i just wanna know if this method is good or there are anothers method ?

 
12:21 PM
0
Q: Natural merge sort in Java - follow-up 3

coderodde(See the previous iteration.) Now I have optimized my natural merge sort: Suppose the input sequence is $$\langle 2, 1, 4, 3, 6, 5, \dots, n, n - 1 \rangle.$$ My previous iterations would degrade to \$\Theta(n \log n)\$ on this input. This version will not: After reversing the second run (\$\l...

 
0
Q: How can we deal with the changes in the Swift programming language?

Martin RI recently re-visited a question in swift and noticed that all code from the question and the answers doesn't compile anymore with the current Swift 2.1 release that comes with Xcode 7.2. The reason is of course that Swift is an evolving language, and incompatible changes were made between relea...

 
12:42 PM
0
A: How to deal with the changes in the Swift programming language?

QuillDeprecated functions are not a new thing, and not a thing solely to swift. You don't need to edit every question to replace println, you simply need to understand those questions/answers contain old code. Python went and changed from print statement to print(statement), and the existing question...

So Dropbox's Mailbox service got shut down...
I liked the app, it was pretty cool
 
0
Q: Drag and drop GUI with native JavaScript

x32Currently I'm engaged with implementing a Drag and Drop GUI. I've discovered that there a not many resources (tutorials etc.) available. So I tinkered this prototype mainly by myself: HTML <div id="wrap"> <p class="instruct"> Click the square. Keep the mouse-button pushed and m...

 
1:07 PM
0
Q: tag [writedata] shouldn't be written

QuillThe writedata tag seems to be used for cases where data is written to a file, loosely used throughout different languages, not pointing to a singular function/method. There's no tag wiki/summary either. Immediately looking at the question, I see r, swift and python questions. There's only 18 qu...

 
Monking
 
the answers here are duplicates, right?
0
Q: Is there a better way of modeling the routines in my operations that doesn't involve PROTECTED fields?

KevinIn my application, well-defined operations on collections of business entities are modularized and carried out using one or more routines, each of which operates on a unique type of data associated with (but not necessarily contained in the objects that represent) these business entities. A rou...

 
yeah, looks pretty much like it
I don't know enough Java to call it
yeah
> Finally, the Operation class remains as you have given it in your question:
Why did you answer with two separate answers? (it's not against the rules, I'm simply curious) — Quill 9 secs ago
 
1:26 PM
Did you already experienced a deadlock with this code, or are you expecting a code review? — OznOg 11 secs ago
 
0
Q: Advanced formatting with argument passing

Hubert KarioI want to customise how my objects are printed using the .format() function. I have two problems to make that happen in clear and concise way. But since the second one stems from the first one I'm presenting both here. Formatting array Passing options to .format() in array seems to me to be aw...

 
 
2 hours later…
3:26 PM
@Quill I answer in multiple answers all the time
 
3:47 PM
1
Q: Handle concurrent request by waiting the result of an already running operation

ivan_petrushenkoI need to handle concurrent request by waiting the result of an already running operation. Requests for data may come in simultaneously with same/different credentials. For each unique set of credentials there can be at most one GetDataInternal call in progress, with the result from that one ca...

 
3:59 PM
Try something first, then if you'd like a more efficient way to do it, codereview.stackexchange.comInkblot 1 min ago
 
monking
 
monking
 
4:34 PM
7
Q: More than one answer by the same user

Simon ForsbergI hacked together this little query on the Data Explorer The query finds questions where an answerer has posted two or more answers (which in itself is not necessarily a bad thing), it gives you the link to the question, information about which user posted the multiple answers, and how many answ...

 
@SimonForsberg I was expecting to see more than one answer by the same user on that question as well
 
Hello.
 
@TheCoffeeCup Hi.
 
Does anyone know if O(n + m + nm) can be simplified? Intuitively you'd say it's bounded by O(nm), but I"m not quite sure
 
4:53 PM
@skiwi O((n + 1)(m + 1) - 1) <- Doesn't simplify, but here it is for comparison.
 
@skiwi I'd say that that's O(n*m), yes
 
@SimonForsberg I'm trying to find a source for it, then I could use it ^^
 
@skiwi Does my mind count?
As I've understood Big-O notation, smaller terms are insignificant and therefore removed.
 
@SimonForsberg Unfortunately no, I'm unsure if points get subtracted if it's not simplified enough, but if I erroneously simplify it I will lose points
 
The biggest term you have there is n*m
 
4:59 PM
n is strictly smaller than nm and m is strictly smaller than nm though indeed
 
@skiwi As long as both n and m will always be >= 1, n*m is always bigger than n and m individually.
 
Even showing that O(nm + n) = O(nm) would be enough already
 
@skiwi Do you have to prove it?
 
@SimonForsberg Luckily no, but I'd like to see some answer somewhere that proves that, that's all
Even in extreme case if n=1000000 and m=1, then nm still grows as fast as n
 
-1
Q: c# print out a List

Jonas Willander Thank you in advance! If I have a class like: class Person { public string FirstName { get; set; } public string LastName { get; set; } public string Location { get; set; } public int Age { get; set; } } And then I'am using a List : static void Ma...

 
5:32 PM
@skiwi Here are two links that proves that you can safely ignore lower order terms: secweb.cs.odu.edu/~zeil/cs361/web/website/Lectures/algebra/page/… and students.cs.byu.edu/~tom/235/lectures/lecture3.5.pdf
 
I think this is a question more suited for Code Review. — Boris the Spider 27 secs ago
 
@skiwi Order of terms:
Term Type        Examples        Big-Oh
Constant         12 & 1          O(1)
Logarithmic      log2N & logN    O(logN)
Linear           N & 3N          O(N)
NlogN            N*log2N         O(NlogN)
Quadratic        N^2             O(N^2)
Cubic            N^3             O(N^3)
Exponential      2^N             O(2^N)
 
6:01 PM
I'm voting to close this question as off-topic because SO is no code review site. — Olaf 21 secs ago
It is not a code review. I want to know how a fast 8-bit multiplication in assembler is possible. — Daniel Marschall 50 secs ago
 
@holroy Don't they all deal with a single variable only though?
@holroy In the bottom row I think 2N should be 2^N
 
@skiwi Yes, that is true... Can't edit now though... It is lifted from the PDF link.
They do deal with a single variable, but as long as n and m are of the same order it can be applied.
 
@Olaf: Optimization questions are generally on topic for SO. There isn't enough code here for a proper post to CodeReview.SE. This is a perfectly acceptable question on SO. — Cornstalks 14 secs ago
 
-1
Q: How to manage different code structures

Nikhil ParmarSo, I am working on a processing script which performs multiple tasks involving classification by using scikit ,cleaning of data , running different models and generating the output. So my sample program will look like - class xyz: def classification(): return def cleaning(): ...

 
@holroy Hmm okay
 
6:05 PM
And O(nm) = O(n)O(m) so it's legal to combine them as long as they are not extremely different
If m >> n you might consider n as a constant, and further simplify the big O... But that is really for m a lot larger than n
 
@Cornstalks: I disagree. And I did not say this should be moved to code review as-is; of course OP has to provide more for this. — Olaf 47 secs ago
 
6:25 PM
possible answer invalidation by GhostRider on question by GhostRider: codereview.stackexchange.com/posts/113738/revisions
 
-1
Q: Project Euler problem 18 and 67

Cozdemirim trying to solve project euler question 67. i have a problem with it i would be glad if you could help me. As you may know problem 18 and 67 are very similar. only difference is triangle in problem 67 is much bigger. i wrote following algorithm it worked well for problem 18 it worked very fast...

 
6:54 PM
That feeling when one of your flags in a series is declined without a clue why. This example is from Science Fiction & Fantasy, but has happened on other SE sites as well.
 
Flag ^^^ too chatty - disturbing the peace in here ;-)
 
It's awfully quiet in here :P
 
"too chatty" is one of those oddball flags for comments. As a moderator, it's hard to be the deciding factor of how chatty things have to be to become "too" chatty.
Any comment is essentially "too chatty" - comments are there to be deleted.
 
They got awfully far off-topic.
Which makes them distracting from the Q&A at hand.
 
That happens, but if there's a single non-chatty part to an otherwise chatty message, what do you do? You can't edit it, it's either keep, or delete.
 
6:57 PM
No, the entire string went off-topic after a certain comment. That's why it's odd the last one was kept.
 
Meh, probably a different moderator.
 
Yea, that's what I'm thinking as well.
Turns out even that comment was deleted in the end ^^
 
So, you have to decide whether your flag-statistics are more important than site quality - is it worth complaining?
 
 
in VBA Rubberducking, 18 mins ago, by Tweeting Duck
That's when the fix goes well though :D https://twitter.com/JonathanDeMoor/status/676027065171316737
 
7:03 PM
I'm being watched, eh?
 
Oh, PoI .... status check.
 
@Vogel612 It posted it in VBA and CardShifter.
How should I list my programming on my resume?
 
@holroy Let me fix that for you.
 
Should I just say "??? level C# programmer", or should I list Rubberduck, VSD, and my app individually?
 
@Mast Such as.... today on CR? :)
 
7:08 PM
@rolfl I wasn't complaining, just not understanding how the system works.
I guess moderators are just human like the rest of us.
 
@rolfl Still no news it seems :( I wonder if @Donald.McLean knows anything about when we will be watched again? I watched three old episodes of POI this weekend, couldn't take it any longer.
@Mast We try to be, at least. Sometimes we fail.
2
 
Last time I asked @Donald.McLean he said somewhere in January I think, must be in the chat logs somewhere.
@SimonForsberg You fail to be human?
How does that work out for you?
 
@Vogel612 You're being tweeted. And the duck is being watched.
 
why does that point to my tweet then?
 
@Mast Hard to tell.
@Vogel612 Duck retweeted
 
7:10 PM
Shouldn't the feed point to the retweet then?
 
@SimonForsberg Yup, re-watched the last season and finished a week ago. Same problem.
 
@Vogel612 I don't know.
It's been like that for a long time
I think it's a difference between if you simply retweet something, or if you retweet and add your own message to it.
 
0
Q: Simple TicTacToe in Python

CaptainCodemanI wrote a quick program in Python to play against itself in a game of (random) tic-tac-toe. It seems to work, but can you guys please look at it and let me know if I'm doing things the 'correct' (i.e. idiomatic) and efficient way. import random # Tic Tac Toe # Board is laid out as: # 0, 1,...

 
@rolfl This is chat. It's meant to be too chatty.
2
 
> one does not simply... retweet and add their own message to it
monking!
 
7:18 PM
monking!
 
@gnat Now SE Programmers too! (previously it was Code Review)! Nobody what is offtopic in SO, or what? LOL. I am joking. Thanks for the info, I will bear this in mind in the future. — varocarbas 34 secs ago
 
@Duga did I miss the memo that said "if it's off-topic on SO it's gotta be on-topic elsewhere"?
 
Zak
@Mat'sMug Yes. It was 5 years ago, haven't you noticed? :p
 
@Mat'sMug You and me both, it seems.
 
Zak
I'm getting rather tired of my caravan getting attacked.
Screw operationally efficient. From now on, everybody carries an RPG.
3
 
7:30 PM
@SimonForsberg Thanks. You forgot the first example, though! :-)
 
If your code works and you want it reviewed then you will be better posting on codereview.stackexchange.comPadraic Cunningham 5 secs ago
 
@holroy that better?
 
@SimonForsberg Sure thing! :D
 
@holroy - did my comment on the <tag> thing make sense on meta?
 
Might be worth migrating this over to Code Review who may be able to help more — Benjy1996 40 secs ago
 
7:40 PM
@rolfl It did make sense, although having it as is does give the advantage of using 'python' and get both python, python-2.7, and in general *python*.
Which usually is a good thing... Unless you're search for java and really don't want the javascript to appear
 
Most people who want do indeed want to completely elinate - but, your query.
 
Which leads me on to something else on the same subject: Do you know if one can present hints on the input fields of a SEDE query? I.e. "Tag: _____ (use < or > to limit to exact matches)"
 
@Zak You driving through dangerous territory or playing some kind of game?
 
Yes, you can.... let me dig it up.....
 
[codereview] asdf — ᴉʞuǝ just now
 
7:44 PM
@Duga You wot mate?
 
0
Q: Is this the correct use of functions in python?

SteveI know this code works but am is it correct defining them as functions or should i be calling them something else as i also have similar codes where I have functions which print off a lot of words and don't just return a value. If i am not defining it correctly what should i be defining them as. ...

 
@Mast commends need at least 15 chars or so
 
Maybe this should be on Code Review? — ᴉʞuǝ 45 secs ago
 
Zak
@Mast caravaneer 2. Let me put it this way. When I set out on this trip, I had 40 guys armed with M40s. Halfway through, I'm down to 20 guys, my cargo train has doubled in size, and I have acquired enough RPGs to equip all of them.
 
7:46 PM
else:
print("WHAT?!")
 
@CaptainObvious lol
 
Also, @holroy - if you have not yet read this, do it ;-) : data.stackexchange.com/help
 
@rolfl Hmm... That was not quite what I was looking for. That is an alternate version of the @tag I'm using now...
 
@holroy - did you look to the left of the input box?
 
I'm voting to close this question as off-topic because it belongs on code review — Martin Smith 9 secs ago
 
7:48 PM
Maybe not?!
 
Also, if you have not seen this:
153
Q: Database schema documentation for the public data dump and SEDE

Stu ThompsonStack Exchange releases "data dumps" of all its publicly available content roughly every three months via archive.org, and also makes that information queryable over the Internet at the Stack Exchange Data Explorer (SEDE). Over time, as new features and other bits of data are introduced to Stack ...

(why U no 1-box?)
 
@TheCoffeeCup Your Brainfuck question was interesting, I hope to implement some of those suggestions myself, if you don't do it before me :) at least the one about printing numbers.
 
@rolfl good question
 
@rolfl What I would love be that it showed "mytag: _____" and if you hovered the myTag it would show the help text. Not that the help text complete replaced it...
 
the "share" link works
 
7:50 PM
Odd... that's "new".
 
I don't get it
 
@rolfl Somehow I never noticed that post. Favourite'd. Thanks for the link!
 
@holroy - you a glass-half-empty person? It's neat that you can change the prompt to be anything you want for any parameter -
Why does that post have 153 upvotes, and 208 favourites? Seems backwards.
 
@rolfl Sorry if I seem disappointed! I'm just aiming for the stars, I guess...
 
and a downvote..
 
7:52 PM
@CaptainObvious I vaguely remember there's a shorthand trick for the following:
    a = b
    b = c
 
a = b = c
 
Saw that a little late... (Removed)
 
But that's what I thought about at first as well, it certainly looked like he was trying something like that.
 
@Mast a,b = b, c
 
@rolfl Nope. That won't work me thinks. True, that will work.
 
7:54 PM
@rolfl I see I'm not alone thinking on the switching statement... (now removed)
 
can anyone tell me what is wrong with this.... let me post the screenshot
 
@SimonForsberg Why not?
 
that would print Orange and then give an out of range exception, right?
 
It's not the most readable methinks, but hey.
 
^^^ works fine for me, @Mast
 
7:55 PM
sorry guys I know I just barged in here and started ranting.
 
@rolfl Hey, @SimonForsberg thought it wouldn't work, I didn't doubt your monkey skills for a second.
 
I just took a C# assessment for a recruiter and at least 4 questions asked about code with goto statements in them
 
@Malachi Run!
 
@rolfl When looking into it, it does seem like that version is way better than the current one I use "DECLARE @reputationLimit AS INT = ##ReputationLimit:int?5000##;"... You should post this version as an answer to my meta post!
 
@Mast what do you think of that screenshot code?
 
7:57 PM
Even though I don't get the tooltip, I do get free text! So my glass is half-full, at least!
 
@Malachi Meh, that's not how you want your code to look like.
 
@Malachi Nope, Apple, Banana
 
no respectable C# Programmer uses goto, right?
 
It's turning something trivially simple in something needlessly complicated.
 
@rolfl how do you figure?
C# has 0 based arrays
 
7:58 PM
i is 0 the first time through, and 2 the second, and then 4 is too much for a third.
 
i is incremented in the Console.writeline statement
 
Only after the statement.
 
only after ^^
++i != i++
 
^^^ ++
 
00:00 - 20:0020:00 - 00:00

« first day (953 days earlier)      last day (3067 days later) »