« first day (839 days earlier)      last day (3180 days later) » 

11:00 AM
@Duga Uh, no.
 
Zak
ask what?
 
@Zak Click on the time, you will see the question and the comment.
 
@EaziLuizi, in relation to Mast's comment, that would make tihs question off-topic for Code Review — Quill 22 secs ago
 
@Duga all of the typo ;-;
 
Zak
oh, cool
 
11:03 AM
If the program works already, what about posting it at codereview.stackexchange.comBo Persson 25 secs ago
 
Zak
Riiiight. So any comment that mentions CodeReview shows up here with one of those timestamps?
 
0
Q: Integer verfication

QuillSo, in the process of reviewing something on Code Review, I managed to write code worthy of a review! This code takes input by form of a string parameter, and tests whether it's an integer (whole number) or not. I went with the method of splitting by ., so 4.5*2 would make ['4','5*2'], which th...

0
Q: guid to hex-string and back

agnulI'm new to python and I'm trying to convert between Microsoft GUIDs and plain hex strings. My code (python 3) looks like this def hex_to_guid(hex): h = binascii.unhexlify(hex) return '-'.join(map(bytes.decode, map( binascii.hexlify, (h[0:4][::-1], h[4:6][::-1], h[6:8][::-1], h[8:...

 
@Zak Exactly. @Duga is a bot made by @SimonAndréForsberg. That bot verifies on Stack Overflow for new comments refering to Code Review and adds here.
That helps to reduce the incoming of off-topic questions
 
Zak
Cool.
 
Welcome Zak.
Read that Roman C debacle.
 
11:08 AM
@Legato ? What?
 
Zak
the what?
 
It doesn't pertain to you, if you're concerned. I just read the back and forth between @Vogel612 and the SO guy on what's on topic for CR.
 
Zak
ah, right
 
To you, I just was saying hello. :)
 
I think he asked the same as I did: "What does that mean?"
 
11:12 AM
@EthanBierlein Looking forward to the Raspi code! We should talk about it sometime, I picked up my first one recently, still trying to get in to it, only completed one project so far. Self-teaching bit rough, lacks appropriate direction.
 
Solving something that is O(1) in O(n^2)? Impressive. — Simon André Forsberg 51 secs ago
 
@Duga Wow. Just, wow.
 
Any of you guys taking the August Community Challenge?
 
@Legato Currently writing one.
 
Not really... Too boring...
 
11:18 AM
Not sure if it will work as expected, so I may post just a part of it...
 
If that part works, that would be fine
 
0
Q: Base service for two different implementations

mitomedI have code that fetches different templates for html and css in the file system. The templates are stored in different folders, so I have two implementations for the code that fetches them, passing the correct path as a parameter. The code looks like this: private string _templatePath; ...

 
11:42 AM
Back from lunch and seriously confused by the code I'm working on right now..
 
That's weird
 
@Hosch250 I belong to the Second Church of Scala (reformed)
2
 
@CaptainObvious might or might not be a good fit for
@Donald.McLean the first is the conservatives?
 
@Vogel612 What did you have for lunch spagethi ?? ;-)
 
@Bacon Good morning. I'll take a look, but I don't answer every Scala question. There are still parts of Scala that I just don't understand all that well.
 
11:50 AM
@Heslacher Schnitzel with French Fries at at the "Alte Wache" near Hölderlinplatz
 
@Vogel612 Well, I'm not sure since it is his own code. I will let the mods handle it
 
@Vogel612 The idiomatic purists. I don't have a problem with people new to Scala writing "Java++" style code.
 
the code was spaghetti before I went for lunch
and it will still be after I'm finished
 
Nice, do you work in the near of Hölderlinplatz? About 15 years ago I lived there for two years.
 
I work in between Hölderlingymnasium and EbeLu
 
11:52 AM
ok
 
you won't find the company on google maps, you know?
 
I don't know the company, you didn't tell
 
but you might have tried, because some companies actually put these signs up
 
Usually I use google maps only to see the shortest way to the vacation location ;-)
 
/off-topic + me.changeStatus(BTW.Work)
 
11:55 AM
0
Q: Jinja template with Flask

AlbertI have this code querying for some objects from my database with Flask-SQLAlchemy areas = Area.query.all() subareas = Subarea.query.all() And then I use it on html with Jinja template to display data {% for area in areas %} {% if area.number=='0' %} <select id="{{ area.number }}" ...

 
12:06 PM
Stack Overflow is for people looking for answers to problems, it's not really for giving feedback on your existing code. You might be interested in CodeReview but please read the How to ask page there. It would be a good idea to read StackOverflow's how to ask page too. — SuperBiasedMan 13 secs ago
 
12:24 PM
monking
@CaptainObvious @Quinn Y U DELETE?
 
^ that...
 
What's in a title...
106
Q: When and why did the Enterprise get balls?

PraxisWhen the USS Enterprise first appeared, its warp nacelles looked like this from the rear: At some point in The Original Series, the ship seems to have enjoyed a mild refit, resulting in ball-like attachments at the rear ends of the nacelles that weren't there before: When exactly did the En...

 
I'm voting to close this question as off-topic because it is not seeking a review of code, but rather an explanation of code. — nhgrif 18 secs ago
 
-1
Q: Swift Type vs explicitly unwrapped Type

longbowI just wanted to use the .map closure in Swift and stumbled upon this: //var oldUsers = [User]() -> containting >=1 Users at runtime //var invitedUsers = [String]() -> gets filled with userIds during runtime by the user clicking on people to invite let oldIds = self.oldUsers.map {$0.userId} //u...

 
@CaptainObvious VTC placed.
 
12:33 PM
@nhgrif isn't the "hypothetical or seeking an explanation of someone else's code" fitting enough?
 
No, and we've been over that, and there's a meta.
Do you have any evidence that he didn't write the code?
 
@CaptainObvious Migrated.
 
@nhgrif none. maybe we should kick the "someone else's" out there
 
That changes the close reason to something it's not.
 
after all explanations are also off-topic
 
12:34 PM
Again, there's been a meta discussion on this topic.
And I have suggested that "not seeking a review" should be a close reason.
 
do you have a link handy? else I'll go dig
 
Solving a problem or not, you have a very specific question about code. This question is off-topic for Code Review and (I believe) on-topic for Stack Overflow. — Simon André Forsberg 39 secs ago
 
not handy, no sorry
 
17
Q: How should we revise the standard off-topic reasons, if we can have up to five?

200_success Note: For chat-like discussions of this subject, let's use this Discuss Close Reasons chat room Code Review currently has three standard off-topic reasons: Questions containing broken code or asking for advice about code not yet written are off-topic, as the code is not ready for review. A...

 
@DanPantry I found a vulnerability. That's why he deleted. (Warning: this is a pure assumption!)
 
12:39 PM
And now that question has an answer:
0
A: Swift Type vs explicitly unwrapped Type

nhgrif[(String)] and Array<String!> are not at all the same thing. Also, String! is not explicitly unwrapped, but rather implicitly unwrapped. It is called implicitly unwrapped because we can try to use it as a String without explicitly writing any unwrapping code. Meanwhile, explicitly writing the ...

This question also needs clean up:
-1
Q: Project Euler, Challenge #12 in Swift

Hassan Althaf The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... Let us list the factors of the first seven triangle numbers: 1:...

that wasn't the one I meant exactyl
 
I also am confused...
 
@Bacon I wrote an answer that looks at one of the key issues I see in the code. I hope you find it helpful.
 
@Donald.McLean is that a superping?
 
@Vogel612 I don't think so. Why?
 
because I have no memory of a user named Bacon in here
 
12:46 PM
11
Q: Should we do away with "someone else's code" wording?

PhrancisThis has recently been brought up that we should improve this off-topic/close reason. While we can agree that this VTC reason is less than ideal (perhaps too broad, should be two separate reasons) right now in Beta we are limited to 3 pre-defined off-topic reasons. The full reason (emphasis ...

@Vogel612 ^
 
then again the ping-autocompleter says differently.
 
@Vogel612 Scroll back to about 21:00 yesterday. I got pinged because .
 
@nhgrif interesting. It seems there is consent for 200's proposal, but the change was not made to the close-reasons...
rolfl makes a nice point against it, but since the changing of close-reasons it's no more valid, I think.
 
Well, I'm okay with changing but close reasons need to be for one specific problem each, and we get hypothetical more often than explanation requests
 
true that
then again that would mean we should separate these anyways
whether that happens by making "explanation of (someone else's)? code" a separate reason or removing it
 
12:53 PM
And by the way, It's FRIDAY!!!!!!!!
 
@Donald.McLean Rebecca Black link already sent
 
@IsmaelMiguel While that may be true, I just really don't like that song. So.....
 
@IsmaelMiguel basically we got two songs..
~brb updating meta. ... nvm somebody already did that
 
I don't like that one, I hate the Rebecca Black one and I hate fridays
 
@Vogel612 What meta?
 
12:59 PM
the one about zombies
 
Ah.
 
while we're at zombies.... <off-topic>
</off-topic>
 
@Mast Awesome, it seems like a fun challenge!
 
also, since Donald doesn't seem to want to pimp it himself:
1
A: Kosaraju in Scala

Donald.McLeanThe first thing that I see is a fundamental issue that would be a problem regardless of the programming language used - long procedures. The folks who study the human aspects of software development have strong evidence suggesting that readability is critical to making code easier to understand ...

 
@Legato Yea, but I totally started out the wrong way. So my collision detection may never work ^^
 
1:02 PM
@Vogel612 Got him, it's an excellent answer.
@Mast Hey, I have no clue how I'd even start so I nonetheless think that's awesome.
 
@Legato I basically started plotting a track ^^
 
I hate when yo ustart writing something clever and realize you've invented a square wheel when there is already one that eixsts
 
@Hosch250 you got it to work? what was wrong?
 
Thanks for the hint, but I already know the entire thing is currently above me, for now. It's an interesting one that I'll probably go back to one day.
 
So, time to call Auto Insurance and demand they reimburse my rental! Wewt!
 
1:12 PM
@IsmaelMiguel I just noticed your earlier reply, what challenge would be interesting to you?
 
8
A: September 2015 Community Challenge

nhgrifLearn a new language! Write anything1 in a language you're completely unfamiliar with. 1. Ideally, something more complicated than "Hello World" and something more interesting than FizzBuzz.

 
You can always do that, haha.
 
But can't tag it
 
Though since it's nhgrif the language should be swift or objective-c.
I beg to differ.
 
I can't write swift.
I'm not rich
 
1:15 PM
The hardware requirements were a turn off to me too. I get it.
 
Yeah, because I don't have 2300€ to spend on a Facebook machine
 
Zak
what's swift?
 
@Zak First, Do you know what Objective-C is?
 
No, I don't know
 
Zak
I've heard of it. That's about it.
 
Swift is meant to replace Objective-C, it's a newer language (1 year old).

It's the language that's used to write iOS apps.
 
Sort of.
 
@nhgrif Is the one to go to for all your magical needs.
He can answer far better than I can. :)
 
Zak
Cool
 
> Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility.
> Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.
@IsmaelMiguel How much did you pay for your current machine?
And do you have any specific requirement for having Windows?
 
1:25 PM
@nhgrif Too much. 50€ for an SSD Kingston v200 (I have a free v300 now), 20€ for the SATA3 PCI controller, 60€ for the GPU (the fan died and now I have a borrowed one), free CPU, ~80€ in DDR3 RAMs, 50€ on a 1TB HDD (top speed 150MBps), an Asus Xonar DG (20€), 20€ for the aftermarket cooler and 50€ for the motherboard
And no, there's no "special" requirements
Only a "good enought" PC
 
so, 330 euros?
 
Around that
 
@nhgrif mac is expensive :p
 
I'm planning on spending 120-150€ on a new card and around 30-80€ on a better CPU
 
should I not keep my learning projects in my GitHub?
 
1:27 PM
@Malachi I would
 
@IsmaelMiguel so that puts you at 480 to 560 euros
 
@DanPantry why?
 
@Malachi why not?
 
why are we closing this @rolfl @SirPython --> codereview.stackexchange.com/review/close/43075
 
I don't know how much that is in USD, but you can get a Mac Mini for like $479 USD.
 
1:29 PM
if I use it to show future employees my work...
 
@nhgrif And it's quite a decent computer. It has around 2-4x the power of an average 700€ computer
 
@Malachi because the edit makes it unclear what code is subject to review
 
@Malachi Because of my comment?
 
@nhgrif Does it have DirectX?
 
I don't know... it has whatever all Macs have.
 
1:30 PM
I can't find a Mac that cheap
 
@Malachi I said "Unclear what you are asking"
 
If it is here too, it must be 499€
 
Zak
Is it really confusing? Seems obvious that the edit is a re-write of one of the functions, but put in an edit so as to keep the original intact?
 
That's not how CR works, @Zak
 
what nh says...
the problem is that now we have 2 versions of the same thing
 
Zak
1:32 PM
would it be okay to just edit the original code then instead?
 
@nhgrif why haven't we just edited the code into place?
 
@Zak since there's no answers yet, yes
 
Zak
right, gotcha
so yeah, why not do that instead of closing it?
 
Because, what does the asker want?
 
I am tempted to just edit the code into place....
 
1:33 PM
Does he want both reviewed (comparative review now that he came up with an alternative)?
 
@Malachi meh.. I'd reject that if it comes as edit-suggestion
conflicts with the author's intent / attempt to reply
 
The real point here is don't post questions before they're actually ready for review.
And if you did and there are no answers, edit it to make it look like you didn't.
 
@Vogel612 but it wouldn't come through an edit suggestion, and we usually try to edit questions to keep them from being closed
 
@Malachi iff it's clear what OP intended
which is not the case
 
the op said
 
1:34 PM
because that is what makes the question unclear in the first place
 
> Changed the findNumberOfFactors function to this:
 
I don't like the idea that we're regularly doing the OP's work for them.
 
that is pretty obvious
 
Because then... we're going to continue to do the OPs work for them rather than expecting them to post on-topic questions.
Eventually, the number of OPs that need this hand-holding outnumbers the number of people willing to make edits.
 
we are doing work for them... we are reviewing their code and helping them spot inefficiencies in their code, and helping them to write better code
@nhgrif it is an on-topic question
 
1:36 PM
that's what you say
 
And because we're doing that for them, it's extraordinarily minimal to ask them to post their question correctly and clearly.
 
Hm...the post pimping board is gone?
 
but he changed the code after with the words "Edit"
 
@Legato probably auto-frozen
 
@Legato Yes. It was being abused.
 
1:36 PM
He shouldn't have posted the question in the first place, to be honest. Before the edit, he was willing to have me review code he wasn't ready for.
 
@SirPython abused, in what way?
 
he is trying to make it more efficient
why should he stop because he posted it?
 
@Malachi slow down...
Because now I need to make several points
You just made the question far worse...
> I attempted this question, however, I was not able to find the answer because my computer is not that strong enough to process this program and my code is not efficient enough.
 
that is like posting a question on SO and then not trying to fix it yourself.
 
Is that comment still applicable to his improved version?
 
1:38 PM
People were posting absolute every single possible answer they could and begging for up-votes even though the answer wasn't deserving, which guilt-ed people into voting for them.
 
@Malachi no, it's not, but slow down and let's handle this point by point.
Now that you've played around with his code instead of letting him do it, does all of his plain English still make sense?
I don't know that it does. And you don't, and you didn't pay attention to that before just editing away.
@Malachi More to this point though, if you post a question to SO, then find the solution, if you add "EDIT: This fixed it [solution here]" to your question, that will get rolled back 100% of the time. That's supposed to be posted as a self-answer.
 
@SirPython I had a feeling it would come to that. Quality is more important than getting reputation. With great quality comes great reputation.
 
I just had my hopefully last exam ever. Turns out that the preparation I made is about 150% of the exam. All I had to do was add an extra ImageView somewhere and otherwise my practice project was entirely the same with some extra features (which provide bonus points). #score
(ignore if you're doing serious talk)
 
If this use wants to post a self-answer and wants his original question reviewed, we can't do that (and now your edit conflicts with that)
If he wanted to self-answer, he needed to do that. If he wanted a newer revision reviewed, he needed to edit his question correctly.
 
@SimonAndréForsberg Hello. :D
 
1:41 PM
0
Q: Edit and Edit into the question?

MalachiProject Euler, Challenge #12 in Swift If editing in the edit keeps the question clear, should we edit the edit into the question instead of leaving it as two separate blocks of code. It seemed obvious to me that the user wanted to edit the code into the code block but is used to SO's way of d...

 
@SimonAndréForsberg Yes, and it took me a while to learn that until finally, one day, I figured out that it doesn't matter how much reputation you have; it only matters if you are helping the community.
3
 
I changed the code. if you review this function, review this code instead, I changed it since I posted this question, it doesn't look like anyone has reviewed it yet, no harm no foul.
no "if's and's or but's" about it
if OP this, if OP that.
 
"if OP wanted this, then your assumption is right, Malachi"
But YOU made an assumption about what the OP wanted.
While the rest of us were saying we can't assume what the OP wanted.
When there are lots of "ifs" explaining what the OP might have wanted
And you assumed your way into ONE of those Ifs... and left the question just as confusing as I originally saw it (again, the plain English)
 
@Malachi yes they should be removed, but not the way you did...
 
@Malachi read my answer to your meta.
 
1:48 PM
so our answer to everything on site is now, the OP is too lazy and I am too Lazy, oh look a close reason.....
we know the OP wanted an edit to the code he already posted. not an assumption
 
No, the assumption is on your interpretation of that edit. Eliminating ambiguity is necessary for a good review.

It's not about being too lazy, it's about a proper format, this really isn't much to ask.
 
no not really..
 
ad hominem attacks won't do much to further your point, and again this really isn't much to ask.
 
how is that an ad hominem attack. it's the position that several are taking, that new users should be following the rules or get out.
 
Just tell the OP what to do, ensure they understand.
Also, my answer isn't about that specific case, but generally. If you in particular think it's clear, and it happens to be also what the OP wants EXACTLY, you should still explain this to them.
 
1:54 PM
and I did with my comment
questions can be edited as long as they don't invalidate answers already posted. in this case there are no answers.
 
I'm with Malachi
That edit was valid
and I don't see why that question is closed
 
That's fantastic, again my answer is about this in general. You don't want to have that be an official standard because your edit matching what was wanted is luck.
 
it wasn't luck, I read the question and the edit.
 
He literally said he updated the function
That means the old version is gone and the new version is in its place
 
Code Review would be a better place to ask this question, as your code works but for some reason 1 is just very slow. Code Review is the place to ask help about working code. — DragonSamu 56 secs ago
 
1:58 PM
everything all right here?
2
 
But that's not what was done.
 
I am having serious doubts about this code even producing the correct results, with that "improvement" of the code. I think you should spend a bit longer working on this code. I would recommend making sure that your code does get the right result in the end, before you post it here. — Simon André Forsberg ♦ 6 mins ago
 
Just a simple discussion.
Again, in this particular case, I'm on your side.
But it's not something that should become an automatic response.
What if he posted the updated one, but it was implemented completely differently
 
@SimonAndréForsberg Not my place to determine from the looks whether it works or not. Did you try it out and see if it does or doesn't? Because otherwise I interpret the question as a badly optimized algorithm
 
nonetheless accomplishing the same, but desiring to want both reviewed?
 

« first day (839 days earlier)      last day (3180 days later) »