« first day (809 days earlier)      last day (3210 days later) » 

4:01 PM
@Jamal Uhm.... calling Malvern, PA a city is a bit generous, right? Do I have the wrong place? Populaton 3000?
 
3k is plenty big enough to be a city.
 
Malvern is a borough in Chester County, Pennsylvania, United States. The population was 2,998 at the 2010 census. The town is bordered by Paoli Pike on the south, Sugartown Road on the west, the Willistown Township on the east, and the East Whiteland Township on the north. It is south of US 30 and easily accessible to Route 202. The main road through the Borough is King Street, intersected by Warren Avenue. The Malvern ZIP code covers the Malvern Borough, and all or parts of East Whiteland, Charlestown, Willistown, East Goshen, East Pikeland, and Tredyffrin Townships. Malvern Borough is between...
@Hosch250 There are multiple villages here in ontario with larger populations, and no traffic lights.
 
So?
 
This may be better suited to codereview.stackexchange.com. — oarfish 48 secs ago
 
@Hosch250 Around here, population has nothing to do with whether you're a city or not.
 
4:04 PM
Out here, anybody can call something a city.
 
It's about history, whether you had city rights a couple hundred years ago or not.
 
@Hosch250 Hmmm, apparently the US definition of city is different to mine..... and most of the rest of the english-speaking world. Today I learned....
 
@rolfl heh... I've been there. No. It's not a city.
 
A city is a large and permanent human settlement. Although there is no agreement on how a city is distinguished from a town in general English language meanings, many cities have a particular administrative, legal, or historical status based on local law. Cities generally have complex systems for sanitation, utilities, land usage, housing, and transportation. The concentration of development greatly facilitates interaction between people and businesses, benefiting both parties in the process, but it also presents challenges to managing urban growth. A big city or metropolis usually has associated...
 
A township, on the other hand, has to have 36 square miles, usually in a block of 6x6 miles.
 
4:05 PM
I second that this question is best for codereview.stackexchange.com. That's the right place when you want help improving code that works. This is the place for when you want help with code that doesn't work. — rschmidt 34 secs ago
 
@rolfl I wouldn't want to go that far anyway. Maybe Kansas City would be better.
 
Thanks guys, I already posted my code there, I didn't know about the existence of codereview here to be honest :) Should I delete this question here or flag it? — DCDC 31 secs ago
 
0
Q: Knockout scrollTopPercentage custom binding

rampionI've got a custom knockout binding for the scrollTopPercentage: ko.bindingHandlers.scrollTopPercent = { init: function(element, valueAccessor, allBindings, viewModel, bindingContext) { $(element).on('scroll', function(){ valueAccessor()( element.scrollTop / element.scrollHeight ); ...

0
Q: Swift : How to refactor my code using more elegant approach?

DCDCI wrote a piece of code that creates an array of objects based on the array of dictionaries. The problem is my solution, it's written in very noob way using multiple loops imperatively. Let's consider the following case. There is a class called "Drug" class Drug { var name:String var dosage:[(...

 
@Jamal - officially, malvern is a borough (from the wiki page), and a borough is not a city by definition in pensylvania. a borough is between a township, and a city:
In the U.S. Commonwealth of Pennsylvania, a borough is a self-governing municipal entity that is usually smaller than a city. There are 958 boroughs in Pennsylvania. The alternative spelling "Boro" is sometimes used, including official notation. All municipalities in Pennsylvania are classified as either cities, boroughs, or townships. The only exception to this is the town of Bloomsburg which is recognized by state government as the only incorporated town in Pennsylvania, and uses this distinction in its promotion. However, many home rule municipalities remain classified as boroughs or townships...
Now I know ;)
 
4:14 PM
I come back to the Meta question that I answered last night on my phone, only to see that 200 dominated it. :-P I probably should've just kept it as a comment.
 
If you are asking for a code review then you are in the wrong place. We don't do that at SO, except maybe if you have a very specific bit of code that needs improving and have a clear specification of the targets. You might have better luck on Code Review, or maybe even Game Dev. They are both SE sites so google them — musefan 30 secs ago
 
Morning!
 
@Jamal 200's answer did state precisely why that question wasn't migrated.
 
I know
 
@musefan Then I'd recommend familiarizing yourself more with Code Review guidelines so that you can make better recommendations in the future. That question on CR Meta that I linked to is specifically written for Stack Overflow users. (Sorry if I might sound angry, I understand you just mean well. I mean well too. Really. Please read that question I linked) — Simon André Forsberg 11 secs ago
@EugeneSh. Yes, the relevant part is about the close reason. The same thing has been stated over and over again on both Meta Stack Overflow and Meta Stack Exchange. You are a Stack Overflow user and you made a recommendation to post on Code Review, that's why you need to be familiar with that. — Simon André Forsberg 33 secs ago
 
4:27 PM
This appended update should likely not stay, but I suppose it's what's attracting the reopen votes.
 
@gnat - Thanks. Maybe codereview.stackexchange.com then? This seems to be asking for opinions on the code, rather than help in solving a coding issue. — nrabinowitz 23 secs ago
@nrabinowitz you might want to check A guide to Code Review for Stack Overflow usersgnat 39 secs ago
@enderland: Did I tell anybody to migrate the question? No. Did I tell the OP to post on those sites? No. You act as if the OP should never be allowed to know about those sites. Or maybe Code Review should rename their site if they don't want people who are looking for code reviews to visit them. If OP does post an off-tpoic question, so what, it will be dealt with like any other off topic question. What does it matter how they land there — musefan 30 secs ago
 
@Duga This is why we can't have nice things.
@EthanBierlein: There's no need to polish an off-topic question that will still get rejected in the reopen queue. Just wait until the question becomes on-topic, if it does.
 
I will post this on Code Review - I was unaware that even existed. Thank you. — Tom Danford 48 secs ago
@musefan you, an experienced SE user, are placing a burden of responsibility unfairly on a nearly brand new user, to understand a site scope. In this, just don't recommend if you don't know a site scope well. Hint: Code Review only accepts working code, not "does not seem to work" code. Should I suggest this person ask on Arqade? It's about gaming afterall, seems like it might fit... (no, I shouldn't) — enderland 49 secs ago
 
4:50 PM
@Jamal Okay. That word in the title, "pr0blem", was bothering the hell out of me, and it looked bad, so I had to fix it.
@Duga Woah, it looks like that entire comment thread got purged...
 
It did kinda bother me, too. I don't see leetspeak around here too often.
 
@Jamal Maybe I should have @Duga re-write all the comments she informs about into l33tsp34k?
 
I usually see leetspeak when there are users who think this is a forum, and it's acceptable to post stuff like that.
 
101
 
@SimonAndréForsberg Or that could be a command, like @Duga l33tsp34k
 
4:54 PM
@EthanBierlein @Duga is a tool, not a toy. There will not be any such command.
 
I know
 
Having her post comments in leetspeak though, would be both a tool and a toy :)
 
@SimonAndréForsberg Isn't it a little early in the site's post-graduation existence for the mods to be doing stuff that warrants their being lynched?
5
 
0
Q: Atomic bulk inserts with transaction scope and RavenDB

simonlchildsI have the need to store many documents at one time (could be anything over 300 documents) in RavenDB. I know about the bulk insert API, but I need a DTC transaction. To get around this, I have implemented this: foreach (var item in items) { using (var session = _documentStore.OpenSession())...

0
Q: Comparing two different Javascript (Jquery) functions for coding efficiency

Tom DanfordThe Question A coworker and I at work are wondering about the actual way the code itself was written. Both ways work and work seemingly fast but we're curious weather or not the actual structure of the code for each function is good coding or looks otherwise sloppy. Essentially one person belie...

 
Woah @CaptainObvious
Slow down there buddy
 
4:55 PM
@Donald.McLean lol, noted ;)
 
yesterday, by Mast
I've heard it's bad practice to lose your moderators this fast.
2
 
oh, question removed
it was another Martijn Pieters comment. I love those.
 
@SimonAndréForsberg that would be $up3r Çool
TFL
 
@Malachi Transport For London?
 
This question has been cross-posted to Code Review codereview.stackexchange.com/questions/97711/…Simon André Forsberg 57 secs ago
 
5:02 PM
@EthanBierlein Tyskarna från Lund
 
@Mast since when did you speak Swedish?
@EthanBierlein Time For Lunch
 
Stackoverflow is for answering specific coding questons. You might want to check out one of the other StackExchange sites such as Superuser or Codereview. — Paradox 20 secs ago
 
@Mast Google translate turns that into "Germans from Lund"
 
I'm writing bad code for Interviews...
 
What purpose will this bad code serve?
 
5:05 PM
Candidates will look at it. There are a variety of bad practices and outright bugs in the code, of varying degrees of difficulty/subtlety.
 
And they're supposed to find those?
 
Yeah.
There are easy bugs that anyone should find. And hard bugs that perhaps only an expert might spot (and it's okay if they're not spotted).
 
The easy bugs/bad practices are sort of a pass/fail. Spotting the more difficult/subtler ones are more like, "Okay, this guy is pretty good."
 
So, it's sort of a way to measure the skill of the candidate?
 
5:08 PM
Yep
 
@SimonAndréForsberg It's the name of a band I listened to a while ago.
 
@EthanBierlein for once, that's a correct translation.
 
@EthanBierlein It's terrible code though.
 
@SimonAndréForsberg Huh. How about that.
@Mast Everything about the code in that post is horrid.
 
5:13 PM
@Paradox This doesn't seem to be a good question for Code Review. Please read A Guide to Code Review for Stack Overflow users. And I can't really imagine what this question has to do with SuperUser... — Simon André Forsberg 1 min ago
 
Second opinion on this closure, please?
0
Q: Atomic bulk inserts with transaction scope and RavenDB

simonlchildsI have the need to store many documents at one time (could be anything over 300 documents) in RavenDB. I know about the bulk insert API, but I need a DTC transaction. To get around this, I have implemented this: foreach (var item in items) { using (var session = _documentStore.OpenSession())...

 
@SimonAndréForsberg Well, there are beautiful girls in Sweden... so there are reasons to learn it!
 
@200_success it does feel like a very specific question, which feels like SO. I think I agree with the closure.
@skiwi There are beautiful girls everywhere. There's reason to learn every language.
 
Beyond that, it's also a "what is best practice" question.
 
@200_success I will disagree... (seems common now days), the reason is because the althrough the code is fine, it does not do the job described, and the asker is not looking for a code review....
 
5:17 PM
@SimonAndréForsberg But I think the percentage is higher in Sweden
 
The description says he needs to do a single DTC for a bulk insert, but that's not what he's doing.
 
I believe your question will be re-opened shortly. In the meantime, I'd like to recommend you to when you have your code working, to post on Code Review. I think you will be able to learn quite a bit from that site, and that you would fit in well there. — Simon André Forsberg 31 secs ago
 
@rolfl that sounds like an agreement with the closing, just not the reason for why it is closed.
 
yes
 
public delegate void functionpointer(int print);
public delegate void functionpointerr();
What could possibly go wrong...
 
5:19 PM
It's important we try our best to get the close reason as accurate as possible as often as possible.
3
 
unfortunately, the debate will be based on the existing close reason, and whether the user reasonably believes that creating a new database session for each document constitutes working code that's supposed to have one transation for all of them
 
@rolfl You could help by adding a comment on the question with your assessment. Thanks.
 
Will do.
 
@skiwi @nhgrif @rolfl (the first 3 names I could come up with that has the sufficient SO privileges) may I ask you to consider re-opening this question on SO? I am very impressed at how the OP handled the previous situation in the comments. I hope he will come to CR one day.
-1
Q: Programming a 2d enemy in c#

matthew0420I have been working on enemies in my game, but feel the code is clunky as is and also does not seem to work. I put code into my player script and enemy script. the player script is as follows: EDIT: sorry for not being clear enough, here are the lines of code that do not work and what I want the...

 
This question, in addition to looking a little hypothetical (which often happens when small snippets are taken out of a larger context), is also either "unclear", or "broken", depending on your perspective. To me, it's clear that you are trying to load all 300 documents in a single DTC the need to store many documents at one time. If that's the case, your code is broken because it creates one transaction per session, and one session per document. If the intention is to create a new transaction per document, then your question is unclear. — rolfl 8 secs ago
3
@SimonAndréForsberg RVA
 
5:25 PM
My bad, you're right about Superuser. This question is not suitable under any of the SE sites at the moment. However, I feel that it could fit in on code review after some serious editing as the question does involve working code. If you believe otherwise, please do let me know so that I can clear up any confusion. — Paradox 40 secs ago
 
@SimonAndréForsberg Reopened, it still cost me two or three times reading to see what was going on
What's going on today... 50 rep for doing nothing
 
@SimonAndréForsberg It still needs some editing though, the formatting is off.
 
@konijn you put a comment on this page a couple of years ago codereview.stackexchange.com/questions/38159/… how would I take the code that I have and modify it to do that? — user2649551 30 secs ago
 
Computer Programming To Be Officially Renamed “Googling Stackoverflow” http://fb.me/C9i8wLuk
 
Would a way to go about this be to user konijn's example? codereview.stackexchange.com/questions/38159/… The only problem is I don't know how to write the code to respond to the tags mentioned in my above code. — user2649551 20 secs ago
 
5:36 PM
@EthanBierlein SE has it's own search.
If I want to search something on SO/CR, I just hit !se whateverI'mLookingFor in my address bar.
 
@EthanBierlein lol, sometimes so true!
 
0
Q: Multithreaded Proxy Checker in Python

MaxKI've used PyLint to harden the styling according to PEP8 as much as I could but looking for feedback on anything I've missed. Also some questions below: Passing argparse values directly to other functions helped me cut down on the number of local variables in main(). Is this a good practice reg...

 
0
Q: Should the [css] and [css3] tags be merged?

cimmanonI can't think of any good reason why the css3 tag should exist on CR at all. There is currently a discussion going on over on Meta SO as to when the css3 tag is appropriate. CSS3 is not a well defined "version" of CSS There's no way to specify to the user agent that we want to use CSS3 over an...

 
@EthanBierlein if it had a TODO: in front of it, it would at least show in the task list window
maybe that should be part of the review :D
 
@Mast that's something that can be reviewed later ;)
 
5:57 PM
I need a third monitor...
 
I need a third brain cell.
2
 
I can't imagine why you would use a (FILE **)[] for this. A (FILE *)[] should be perfectly adequate. As for examining your code for problems, you've posted in the wrong place. You want codereview.stackexchange.com. — John Bollinger 25 secs ago
 
@rolfl You're already down to two? So that's what being a moderator does to a monkey.
I have a lot of tabs open at the same time but sometimes I need to watch multiple screens at the same time.
It goes so far that I currently have 2 laptops and a monitor in use not because I need two laptops but because I need more screen space...
Can't we name this room The 3rd Monitor, just to bug people?
 
I think this room's name is established, and entrenched. I know you're kidding, but in reality, it is as much a part of the site's identity as the Code Review itself.
 
I know, I'd never dare making such a radical adjustment in our identity for real :-)
 
6:17 PM
monking
 
need 1 more vote here to seal the fate of
 
@Mat'sMug I don't have the rep for that. :-(
 
@Mat'sMug Ask me again after 211 rep ^^
 
@rolfl I know, lets call it The Nth Monitor!!!
Oh, wait...
 
@Mat'sMug Done, but caching slow.... codereview.stackexchange.com/questions/tagged/css3
 
6:30 PM
I'm looking at this code I'm writing and thinking "This needs a Code Review!"
 
the purpose of stackoverflow is to assist with code that does not compile and.or does not run correctly. For code review, see @BlueMoon's comment — user3629249 9 secs ago
 
0
Q: How can I make more efficient my read file function?

evil_insideSo, I am trying to read a file using pandas and then process it. For opening the file I use the following function: import os import pandas as pd def read_base_file(data_folder, base_file): files = map(lambda x: os.path.join(data_folder, x), os.listdir(data_folder)) if base_file in file...

0
Q: Insertion sort in Common Lisp

JkingSo this is my first bit of significant code in Common Lisp, an implementation of the insertion sort. Being new to lisp in general, I'm wondering if this code follows best lisp practices in regards to program design. Is there any advice to offer regarding this code: ;;; Return a portion of a lis...

1
Q: Powershell to quickly ping a number of machines

JohnLBevanI came up with the below code to improve the peformance of pinging a large number of machines. At present it's fairly basic, but thought I should see what people thought before proceeding further. NB: This is my first time playing with workflows, so I've probably committed a few faux-pas there. ...

 
@rolfl The question has been edited.
 
@SimonAndréForsberg How much do you know about lambdas?
 
@Mast In Java? Quite a lot.
 
6:42 PM
0
Q: Hey comment on code c linux and networking experts

user3145350My problem statement was to create,update,delete,display record using client server program. Here is mine code for client #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h

 
I've been thinking about your critique on my Brainfuck writer. It could be more efficient and perhaps lambdas would help.
 
And it has now been deleted by the author.
 
@CaptainObvious Spelling and formatting trouble.
 
@Mast C++ lambdas I have no knowledge of at all. Brainfuck lambdas, however, I know everything there is to know about: There are none.
7
 
@200_success It looked significantly better, but I was reading up on transactin scope whn he deleted.
@SimonAndréForsberg Are you sure?
 
6:45 PM
I don't see how exactly you intend to use lambdas for that, @Mast.
@rolfl about Brainfuck lambdas? Pretty much, yeah.
 
@SimonAndréForsberg I think it does.... (otherwise it would not be worthy of the name. They are probably just implemented as subtle mnemonics in the whitespace.
0
Q: lambda brainfuck and virtual machines

hildredI've been playing with some ideas for a challenge to poke fun at java virtual machines and was pondering a brainfuck virtual machine (three bit bus!) and I got to wondering if there are any brainfuck variants that support closures, function calls, and function references.

 
@SimonAndréForsberg modifyChar seems like it can be lambda'd.
 
@rolfl well, that's not Brainfuck. That's an extension of Brainfuck. It is technically another language, I'd say.
 
Binary lambda calculus (BLC) is a technique for using the lambda calculus to study Kolmogorov complexity, by working with a standard binary encoding of lambda terms, and a designated universal machine. Binary lambda calculus is a new idea introduced by John Tromp in 2004. == Background == BLC is designed to provide a very simple and elegant concrete definition of descriptional complexity (Kolmogorov complexity). Roughly speaking, the complexity of an object is the length of its shortest description. To make this precise, we take descriptions to be bitstrings, and identify a description method with...
Click the link - there's a lambda interpreter for brainfuck ;0-
 
Brainfuct, functional Brainfuck?
 
6:49 PM
@Mast that it can, yes.
 
Brainfunc?
 
@SimonAndréForsberg I'm not sure whether it would make the code better or worse, but it would at least be idiomatic.
 
it wouldn't change much of the underlying problem, it would primarily reduce code duplication.
 
Code duplication is bad.
 
Point is, lambda and brainfuck ar emore closely related in odd ways, than you may realize... (things always are - kevin bacon effect).
 
6:51 PM
Reducing code duplication is good.
 
although you could extract it to an ordinary function as well.
 
@rolfl Such as?
 
@rolfl Don't tell me that I got you hooked on Brainfuck now....
 
OK, I won't.
 
A Brainfuck monkey would be scary.
 
6:55 PM
more scary is a monkey learning Asynchronous modular javaScript for a semi-production system with angular, bootstrap, jade, node, and express too, along with swift (the object store), couchdb, and memcached.
Guess which one of those I knew a few days ago?
(if you guessed semi-production, you were right).
 
"more scary is javaScript"
Yes.
 
The only similarity between Brainfuck and lambdas I can think of is that both are anonymous functions.
 
OpenStack is a free and open-source cloud-computing software platform. Users primarily deploy it as an infrastructure-as-a-service (IaaS). The technology consists of a group of interrelated projects that control pools of processing, storage, and networking resources throughout a data center—which users manage through a web-based dashboard, through command-line tools, or through a RESTful API. OpenStack.org released it under the terms of the Apache License. OpenStack began in 2010 as a joint project of Rackspace Hosting and of NASA. As of 2015 it is managed by the OpenStack Foundation, a non-profit...
 
-1
Q: what is wrong with my oop code

Richardwith the following code I see the instance of Mysql created. The query directly in the Mysql.php mysql connect function runs correctly. but how do I run that query in my check_email.php file where I create the instance of Mysql? In my log I see the messages: "In Mysql the DB connection WORKED"...

 
7:10 PM
Afternoon all
 
@CaptainObvious 3 downvotes and only one close vote... and no comments. Hmm...
 
@SimonAndréForsberg I was writing one...
 
ok, all good then :)
 
Well, we could have used more community close votes here.
@CaptainObvious it's PHP
 
Yeah, I don't want us to turn into SO, where questions are down-voted but not VTC'd.
 
7:14 PM
...
 
@Mat'sMug even worse, it's
 
Sometimes questions are bad but not off-topic.
Some times questions are off-topic, but not bad.
Close vote isn't a super downvote.
 
sure. But I mean when they are actually off-topic.
 
@SimonAndréForsberg On the other hand, we shouldn't be using close votes as super-downvotes.
 
7:15 PM
They're changing the defaults in MySQL 5.7! For example, sql_mode will default to ONLY_FULL_GROUP_BY.
 
But don't we want off-topic posts off the front page?
@200_success OMG! What's next!? CTE's? Mwahaha
 
It's just that on SO I see plenty of people commenting that a question is off-topic (or not commenting, but it is still off-topic), but they don't actually close-vote. Instead they just vote down.
 
Do they have 3k privileges?
 
^^
 
I downvoted that, by the way. "what is wrong with my oop code" tells me that it's crap. Then I can take my time to read it and figure out what to do or say.
 
7:20 PM
And it's yet another title that would've brough up that red in-your-face warning about broken code being off-topic
2
 
0
Q: Java application to monitor server uptime

DavidSI have written a simple application to monitor whether a couple of Java EE 6 web applications deployed to Glassfish 3.1.2.2 are accessible. My intent is to demonstrate to our operations team that the applications are intermittently inaccessible. package monitoring; import java.io.BufferedReader...

 
@CaptainObvious interesting. If one of the servers is down for 4 minutes between two polls, it'll be missed. @rolfl how does your app pick up a downtime of 12ms?
 
reading.
@Mat'sMug My app does not do a 12ms downtime....
That code is .... rudimentary, but effective.... it will only reliably pick up significant outages, and only when they happen over 5-minute boundaries.....
a 4:59 second downtime could theoretically go unnoticed.
More importantly, also, a 1 second uptime between 4 minute downtimes could be marked "fine".
My app does a simple ping, with a 1-second timeout, and repeats every second.
if I send a single-packet ping, and don't get a respnse in a second, I log a fail.
 
7:39 PM
@200_success considering their reputation I see them having, yes - that's the thing.
 
I then wait a second, and try again.
 
if the system is down for a whole minute, you don't log 60 entries do you?
 
0
Q: Number guessing game in Clojure

AttilioI have recently started learning Clojure, and decided to write a number-guessing-game as an exercise. The game works as follows: 1. user enters minimum and maximum values 2. computer generates a number between those two values (inclusive) 3. user has to guess the number (the computer always tells...

 
@Mat'sMug No, When the system goes down, I log how long it was up for. When it comes back I log how long it was down for.
Seems we had some network maintenance on our segment this morning:
 
0
Q: Attribute Value Inheritance in Rails

Brett BanksWe have a pattern in our code base where we have a parent model and a child model (a has_many/belongs_to relationship) and both the parent and child tables contain a field :foo. We then override the getters/setters like so: class Parent has_many :children attr_accessible :foo end class Chi...

 
7:52 PM
I've picked up 150 rep on a single answer today. I should answer another one.
 
@rolfl shouldn't that be "just came back"? ;-)
@Hosch250 nice!
 
Hello @bazola
 
hey @EthanBierlein
 
13
Q: Network Downtime

rolflA while ago I was experiencing 'flakiness' on my home ADSL line. I run a Linux server in my basement, VOIP, and a few other things (like Netflix) and I was experiencing a few minutes of network downtime every few hours. This was dropping very important things, like the kids watching cartoons, and...

make an answer ;-) ^^^^
 
lol. I just found an article online that called a Turing Machine, a "Tuning Machine".
 
7:55 PM
@rolfl I don't know Perl.
 
...and?
 
I can't write an answer for a language I don't know...
 
I do it all the time.
 
But this Perl looks good (at least to me).
 
@Hosch250 Blasphemy! Perl can never look good!
 
7:58 PM
@EthanBierlein No, that's PHP.
 
It's both
I love this line:
> sendmail(%mail) or die;
 
@rolfl @200_success's answer already addresses it, if you look at his suggested implementation ;-)
 
-1
Q: Astrology library (I prefer Obj-C or Java)

pettyBrightI want to ask if somebody knows how to calculate moon sign or if someone knows any astrology (not astronomy) library. Doesn't matter on programming language.

Check out the comments on that question.
 
8:14 PM
He should have seen that one coming
2
 
@BlueMoon I've just got а reprimand for close voting a question with a custom reason involving redirection to code review site (the question is deleted, so no proof-link, sorry...) — Eugene Sh. 12 secs ago
This question was cross-posted on Code Review and then closed there for being non-working code: codereview.stackexchange.com/questions/97728/…Simon André Forsberg 12 secs ago
 
@Mat'sMug For that, you get to see my answer: codereview.stackexchange.com/questions/97731/…
 
-1
Q: Object Oriented Scala practice fight simulator

Shawn Andersonimport scala.util.Random class Position(posX: Int, posY: Int){ val x = (posX + 16) % 16 val y = (posY + 16) % 16 def distance(that: Position) = math.sqrt((this.x - that.x)*(this.x - that.x) + (this.y - that.y)*(this.y - that.y)) override def toString() = s"($x, $y)" } abstract c...

0
Q: How to make this python class constructor more efficient?

chadFirst off, yes I know __init__ isn't really a constructor but it's a much more concise way of putting things. class Names: def __init__(self,name): self.name = name self.numname = name for letter in name: self.numname = re.sub(letter, rosetta[letter] + ","...

 
How are you running your code? How are you doing your timing? Your question should be self-contained and reproducible. If you're looking for someone to offer suggestions for your otherwise working code, you might consider posting to Code Review instead. — MrFlick 57 secs ago
@EugeneSh.: but BlueMoon wasn't voting to close with a custom close reason. They were merely suggesting CodeReview might be a good place to try, that's different. — Martijn Pieters ♦ 13 secs ago
@EugeneSh. OP kind of asked both: code review and on some part that's not working. But it's very poorly formatted/asked and am not surprised it's closed there (and will be soon here). His latest comment "Please comment on code and give pseudo code for corrections" suggests he still wants code review. But I never claimed I am flawless or never made a mistake :) — Blue Moon 30 secs ago
 
8:35 PM
@Duga that is how you properly admit you're wrong.
@MartijnPieters erhm... take a look at the close vote dialog... it was actually a close reason :/ — Simon André Forsberg 1 min ago
 
8:52 PM
I think I should have rebased sooner.
 
Welcome to Stack Overflow. This isn't how Stack Overflow works. If you'd like to compare your solution to multiple other possible solutions you could take it to Code Review, and ask a new question where you present your solution and ask for critiques. Stack Overflow is for finding fixes for broken code. — the Tin Man 57 secs ago
 
@DanPantry as long as you don't get conflicts you can rebase whenever you want :D
 
@Vogel612 its' going to be hard to remember what every commit does, I should make more descriptive commit messages!
 
well ...
 
@DanPantry woops, login property was shadowing a function.... indeed.
 
9:00 PM
0
Q: Delphi - Passing variable pointer as string to another function

ParubaWith Delphi 7 I need to create a TStream variable and use/free it in another part of the code. Unfortunatelly it cannot be passed as "normal" parameter. I created a simple application for testing what I need, using some examples I found on Google and some help from SOF (I am not used to pointers...

 
@rolfl It was night coding
 
Interesting, I see you can do what I am trying to do ;-)
 
@DanPantry I've seen worse, this isn't that bad.
 
@Mast no, it's not that bad, but I am trying to clean up the commit history :P
 
@CaptainObvious Delphi is still alive? Who knew...
 
9:01 PM
if I can't remember what each one does how would another maintainer?
120548f - fd9444c, I was pretty sure I already merged these..
 
@CaptainObvious ASM in Delphi?!
 
@DanPantry by using git show ..
 
@Vogel612 shhhhhh no logic is allowed here
 
you don't have to actually know what each and every single commit does, you know?
 
9:02 PM
@Vogel612 that's true
 
@rolfl JS zombies going down, yeeha
 
and python
 
Many zombies going down.
 
SirPython, Ethan, janos, Joseph-the-dreamer.
Nicely done....
 
btw I still hope for another answer on my "latest" question
[java] [xml] [i18n] [rubberduck] ...
@rolfl you interested?
 
9:05 PM
@EthanBierlein - you are hammering away at the python zombies..... really great work: codereview.stackexchange.com/tags/python/topusers
@Vogel612 Had not even read it.... now I have skimmed it. The answer is not sufficient, is it.
 
no not really.
I'd be especially interested in what you think about my (ab)use of JDOM.
 
@FreeMan Delphi is. But Delphi 7 is not. Or at least shouldn't be. Even I used Delphi 7 once, many many years ago.
 
@rolfl I really don't want to start a discussion about this, but I'm slightly worried about the quality of the answers if people answer it just for 'downing a zombie'.
5
 
@rolfl now would be a good time to learn more JavaScript huh?
 
2 hours ago, by rolfl
more scary is a monkey learning Asynchronous modular javaScript for a semi-production system with angular, bootstrap, jade, node, and express too, along with swift (the object store), couchdb, and memcached.
3
 
9:09 PM
I did read that earlier. :) I have been lurking
 
@Mast I have my concerns about that as well at times. I have raised my bar for upvoting answers.
 
@Mast How do you think I got my first 20K?
 
About zombies...
1
Q: Number guessing game in Racket

CaridorcI decided to learn a Lisp-ish language and I am discovering a very weird and new sintax. The obligatory first programme, that also uses all the fundamentals is the number guessing game. Did I define too few or too many constants? Is my code properly spaced and indented? Is there a cleaner way ...

I posted this 3 months ago
no answers nor comments
weird
 
should have written it in Logo....
 
9:11 PM
@Caridorc Rackets is right up someone's alley, Chris Jester-Young perhaps? Or was it someone else?
Anyone, find who it was and ping him, you might get someone interested if you ask nicely.
It's worth a try at least.
 
@Mast interesting
 
@Malachi Isn't like Python & Turtle?
 
@Caridorc At least it will now have increased visibility, my racket is non-existent though
 
@Mast Python? IDK KTurtle yes. KTurtle is actually a spin off of Logo
 
@rolfl nice
 
9:13 PM
Is this Really Logo? doesn't look right --> codereview.stackexchange.com/q/84346/18427
 
@Malachi No, Python as a library called turtle IIRC.
 
@rolfl Thanks for such a bonty! I am honoured
 
Generally, if your code works and you are looking for review to find better way you should choose codereview.stackexchange.com over stackoverflow.comPshemo 6 secs ago
 
@Mast nope, Logo is more like Lisp
 
9:14 PM
@Caridorc Decent question, and the first of this:
12
A: Does Code Review systematically prefer the least important code, and what can we do about it?

rolflI want to address the time-constraint issues. Time has become increasingly precious to me, and an indepth review of complicated code can take a lot of time.... there are answers where I have spent days pondering the review. That sort of time commitment is unreasonable for a site like this. In fa...

 
the other 2 questions marked with the tag are not the Logo that I am talking about
@Mast that code looks a lot like Logo. but I think Logo came before Python.
 
@Malachi Must be old then.
 
code reviews should go on codereview.stackexchange.com. — Marc B 54 secs ago
 
Logo is an educational programming language, designed in 1967 by Daniel G. Bobrow, Wally Feurzeig, Seymour Papert and Cynthia Solomon. Today the language is remembered mainly for its use of "turtle graphics", in which commands for movement and drawing produced line graphics either on screen or with a small robot called a "turtle". The language was originally conceived to teach concepts of programming related to LISP and only later to enable what Papert called "body-syntonic reasoning" where students could understand (and predict and reason about) the turtle's motion by imagining what they would...
@Mast 1967
 
Joel Spolsky once asked a Stackoverflow question (for the heck of it)
"How do I move the turtle?"
 
9:16 PM
@rolfl I am not sure about this, the meta you linked to is about encouraging complex questions and you put a bounty on a very begineer question? Can you explain more of the reasoning please?
 
@Malachi Darn. That's old.
 
@Caridorc The last paragraph:
> Even if the system above is too complicated, or takes a while to implement, please ping me if you find a question that you feel is a high quality question that is under-exposed. I will, on a case by case basis, volunteer bounties on those questions.
3
 
@Mast check out my Tic Tac Toe Question --> codereview.stackexchange.com/q/53828/18427
 
@Malachi Oh, wow, that looks a lot the same.
 
Explain what you mean by "pseudocode"? Code Review doesn't accept pseudocode for review. — 200_success 42 secs ago
 
9:18 PM
I think they created that library to mimic the graphics created by Logo
 
@rolfl so if a person asks you about a high quality question, you may put a bounty on it if you deem it worthy, correct?
 
@Caridorc I have a personal limit - I cannot offer more than three bounties at a time.
Also, some may have had bounties before too....
 
@Malachi You got a nice review on that.
 
@Mast @Mat'sMug didn't know Logo before he wrote that review. lol
 
@rolfl sure, thanks for your effort to keep quality high :)
 
9:19 PM
but, for any question where it is likely good for both the site, and the question, to get more exposure, sure.
 
My daughter brought up The Turtle on her computer the other night as well
 
getting exposure sounds like a good-for-the-site plan.
 
I've seen @janos post some bounties lately as well, to get good, old questions a good review.
 
I have to get back into the syntax again
 
Also, I have started, and @janos did some too, bountying some of these questions: codereview.stackexchange.com/unanswered/tagged/?tab=noanswers but they have not all been successful.
 
9:21 PM
@200_success what language are these and why are they tagged Logo? --> codereview.stackexchange.com/q/84346/18427 and --> codereview.stackexchange.com/q/85295/18427
 
@rolfl The idea behind a bounty is to increase the chance of success. 100% hit rate is unlikely.
 
They're tagged with because they are Logo.
 
@Mast I was not expecting them to be successful, but I am also not likely going to re-bounty them either.
 
@Mast Answering one of your questions.
 
@Malachi The latter states it's written in FMSlogo, perhaps that's slightly different?
@Hosch250 :-D
 
9:23 PM
@200_success wait a second... in a comment of the linked question you speak Italian, are you Italian?
 
@rolfl That's probably a good thing. Re-bountying doesn't serve anything.
 
@200_success just as a curiosity, feel free not to answer it seems too personal a question.
 
If I were, I'd probably have more than 289 rep on Italian Language.
 
@200_success good argument
 
I'm a little bit confused. codereview only wants "stub code" free question and since i want some advice on the solution stackoverflow seems the most appropriate place. I only want to understand if my solution hold or it's wrong and possibly some hint on a better solution. — LuigiDB 31 secs ago
 
9:29 PM
Good night everyone. And thanks Santa for so many upvotes on my Racket zombie ;)
 
0
Q: C# Konvertierung Problem with a funktion

GothicHis say it cant Konvert in a string. public static DataTable GetFromQuery(string query) { DataTable dataTable = new DataTable(); using (mySQL.mysqlCon = new MySqlConnection(mySQL.strProvider)) { mySQL.mysqlCon.Open(); MySqlDataReader mySqlData...

 
@CaptainObvious Burn!
Broken, seems about a compiler warning.
 
@CaptainObvious ohmigawd we really need SO in German for people like that
how why what english code but german description?
 
The question, as it stands, is too open-ended for Stack Overflow (what exactly is your concern?). It's also too unfinished for Code Review. That means that you don't really have a good question for either site. You can either add a specific question for Stack Overflow, or finish implementing it and ask on Code Review instead. — 200_success 43 secs ago
 
4 hours ago, by Ethan Bierlein
Computer Programming To Be Officially Renamed “Googling Stackoverflow” http://fb.me/C9i8wLuk
 
9:36 PM
oh yea right...
still.. finding english code with german search terms is a challenge, especially for C#...
or is it? ~brb check msdn
 
There you go, @Mast.
 
okay nvm. the translation does not go over the code.
 
@Hosch250 Thank you.
unsigned is used because values below 0 shouldn't exist. Seemed like the logical choice.
 
Makes sense, but it will never exist in those loops unless you wrap around.
And that is the case for most for loops, I dare say.
 
True.
 
9:42 PM
@Mast it definitely looks different
 
I shouldn't over-engineer it and just use idiomatic constructs I guess.
 
This is the closest I've come to rep capping in a while.
 
My closest is 132 on a day.
 
@200_success those 2 questions are a different language than my question. I think they should have a different tag, maybe FMSlogo like @Mast commented.
SO uses the Tag with the same description that we have for
 
A lot of our wiki's are 1 on 1 copies from their SO equivalent.
 
9:51 PM
Not quite
 
I wonder if this would be better suited to codereview.stackexchange.com ? — Robᵩ 46 secs ago
 
I cleaned a lot of the wikis up to remove dead links and update links to newer versions.
 
I am looking into the FMS Logo, I think FMS Logo is a different Variant of the same language
bunch of the links Google are giving me are dead Sourceforge links
I think mine might be a different language
> The user issues TurtleScript language commands to control the "turtle", which draws on the canvas, making KTurtle suitable for teaching elementary mathematics, geometry and programming.
TTQW
 
I don't think we get enough LOGO questions to make the distinction
 
@Hosch250 Nice :)
@Mat'sMug Still, a different language is a different language.
If we'd get a question in a language which doesn't exist on CR yet, it will get it's own tag as well.
How is this different?
 

« first day (809 days earlier)      last day (3210 days later) »