« first day (860 days earlier)      last day (3160 days later) » 

Zak
4:00 PM
@SuperBiasedMan @Duga don't defer to nobody
 
@Duga whoa, when did that happen? I need to pay more attention to all those emails....
 
@Malachi you do!
 
it's all Greek Java to me though
 
The Greeks invented Java.
^^ Big Fat Greek Wedding probably-failed reference
and with that, it's Big Mac time!
 
@Mat'sMug What do you think of this answer?
 
4:15 PM
@EBrown looks good. nameof is C#6 right? I would specify that
 
@Mat'sMug Ah, I didn't realize that.
 
-2
Q: Can any one fix this python code (mulitple choice)

Fend ArtzHere Is My Code: print "Welcome to Currency Converter By Fend Artz" print "your options are:" print " " print "1) GDP -> USD" print "2) GDP -> Euro" USD = int(raw_input('')) if USD == 1: choice = USDchoice elif USD == 2: choice = EUROchoice else: print ("You have to put a number ...

 
@Mat'sMug Made an update to that answer, by the way.
 
18
Q: Z̡̬a̧̯̔l̆̓g̛̘̟o̡ generator

FatalizeWrite a program or function that transforms an input string into Zalgo text. For example, for an input string Zalgo, a possible output might look like: Z̗̄̀ȧ̛̛̭̣̖̇̀̚l̡̯̮̠̗̩̩̥̭̋̒̄̉̏̂̍̄̌ģ̨̭̭̪̯̫̒̇̌̂o̢̟̬̪̬̙̝̫̍̈̓̅̉̇ Zalgoification specs Each letter (upper or lower case) must be zalgoified, ...

 
@Hosch250 Interesting
 
4:33 PM
I think this question would fit better on SX Code Review. — norritt 41 secs ago
 
@Duga Seriously?
 
@norritt I know that this question would be completely off-topic on Code Review. Please read A Guide to Code Review for Stack Overflow usersSimon Forsberg just now
 
@Duga PS, it's "SE", not "SX"
 
Well... at least it wasn't a close-vote.
 
> Is the "move-to-chat" prompt actually a poorly-described "get a room" feature?
1
Q: What is the desired practice for comment discussions?

feetwetPresently a comment discussion has to go on for some time before the system encourages commentators continue it in a chat room. But feature-requests to allow this before that heuristic makes the offer; as well as to preserve and associate that chat with the post in question, have been consistent...

 
4:46 PM
@Mat'sMug Yeah, it creates a room.
 
Good catch. I've updated this to char message[7] and ran the software again. My reads are still throwing the same error. Thanks for the code review! — Craig 53 secs ago
 
@Mat'sMug "Another C#6.0 feature you can take advantage of is the ?. null-condition check to remove the null-check in Mitarbeiter sort. Aufzeichnungen?.Sort will only call .Sort if Aufzeichnungen is not null."
 
@EBrown That is my favorite C# 6.0 feature so far.
 
@EBrown nice!
 
Forgot about it until I re-read my review of that question.
 
4:47 PM
I use it all the time in VSDiagnostics.
 
My favourite is string interpolation ($"Some {myVar} variable in a string.").
 
I like that too, although I've not used it yet.
 
But yeah, ?. does the null-check for you. :)
 
huh.. where have you been all this time...
210
A: Add data.SE style "magic links" to comments

balphaMost of these now work. My comment below has the following markdown source: On [main], you are expected to write proper English (as advertised on [english.se]), but here on [meta.se] it's more important to have freehand circles, so please [edit] your post, otherwise I'll have to flag you (see...

 
Before, I used to have to use two conditions in the if. Now it is just 1.
 
4:50 PM
I need to go back through my XNA framework and start cracking some features out in it.
But for now, TFL.
 
Flag as not constructive:
On [main], you are expected to write proper English (as advertised on English Language & Usage), but here on Meta Stack Exchange it's more important to have freehand circles, so please edit your post, otherwise I'll have to flag you (see the FAQ). If you're unsure how to use your keyboard, Super User is the right place to ask. There's no Q&A site about unicorns yet, but you can suggest one on Area 51. — balpha ♦ Jun 6 '11 at 11:48
(JK, it will be rejected if you do.)
 
@Mat'sMug I have a tendency to not get them to work, so I have just stopped trying
 
Like this: Code Review
Or English Language & Usage == [english.se]
 
@Simon Forsberg Thanks for the link I actually didn't know that Code Review even required the code to work. I thought of a plattform to discuss more subjective matters which don't belong on SO according to the FAQ. — norritt 35 secs ago
 
@Duga IOW, SO's trashcan
 
4:55 PM
0
Q: Python: Sieve of Eratosthenes

Zenohm Currently, the code will generate a range of natural numbers from 1 to N and store it in a list. Then the program will iterate through that list, marking each multiple of a prime as 0 and storing each prime in a secondary list. This is a translation of a TI-Basic program, shown here, so the ...

 
Does it work? If not then post some error messages. We're not really here to code review on this site, there's a sister site: codereview.stackexchange.com for that kinda thing. — Kev 46 secs ago
 
@Duga Ugh....
 
@TopinFrassi ugh as in...?
 
CodeReview reviews working code. If the code's not working then it's off-topic for CR! — TopinFrassi 33 secs ago
 
@SuperBiasedMan One of the side affects of doing that is that a completely new list is generated then iterated through. — Zenohm 1 min ago
 
5:02 PM
SO's users don't get the concept of code reviews. Why on earth would you want to review not working code?!
 
@TopinFrassi isn't it obvious? because it's not working!
2
 
Oh wait, maybe that question's a good fit for CR
 
@TopinFrassi Because they want to make it be wrong better.
So we take a look and say "It is doing X, and X can be done like Y, making it more efficient."
Unfortunately for them, they really want Z, and Y is completely unrelated to Z, and X is sort of a halfway point.
 
@MFonner well the question about whether you can use a switch statement like that is (I think) on-topic. The "did I do anything wrong" is definitely more for code review, as long as the code is working. I'll check your question over there because I do have suggestions actually. — briantist 35 secs ago
 
@Duga Incoming copy-paste!
 
5:14 PM
if ($PSCmdlet.ShouldContinue($confirmMessage, $switchTitle)) {
    # She said yes!
} else {
    # nope
}
 
Is that real code?
 
Yep.
 
@SimonForsberg I had that issue until I realized how they work.
 
2
Q: Multiple commands within PowerShell switch statement

MFonnerI'm writing an AD Termination script for work. I'm new to PowerShell and was wondering if this is okay to do: # Switch statement to start here $switchTitle = "Terminate User" $confirmMessage = "Are you sure that " + $fullName + " is the user that you want to terminate?" $yes = New-Object System...

 
@CaptainObvious @IsmaelMiguel Answer to this.
 
5:15 PM
@Hosch250 You want me to answer a question I know nothing about the language?
 
No, it is real code in the answer to that question.
1
A: Multiple commands within PowerShell switch statement

briantistThe way you're doing the prompt is overly complicated. Consider this: [CmdletBinding(SupportsShouldProcess=$true)] param() $switchTitle = "Terminate User" $confirmMessage = "Are you sure that " + $fullName + " is the user that you want to terminate?" if ($PSCmdlet.ShouldContinue($confirmMessag...

 
Oh
That makes sense
But if it was a challenge, I could take it gladly
 
Go ahead.
 
I've answered Java and Python questions before, with reasonable scores
 
That isn't the exclusive answer to that question.
@IsmaelMiguel I've answered PHP before.
I won't say whether it was good or not.... That is an exercise for the reader.
 
5:17 PM
But PHP is relatively easy
I hope the reader up-voted
 
I just added "exersize" to my dictionary by accident. Now how do I get it out?
 
What device you have?
 
Windows 10.
In the browser.
 
You're screwed!
You have to disable the auto-completition
 
It is exclusively in my browser.
 
5:20 PM
@Mat'sMug IOW? Is that Canadian?
 
@Hosch250 Try IE and pray
 
@EBrown in other words
 
@Mat'sMug That makes wayy more sense than what I was thinking.
 
It isn't in IE.
 
I know
It's worst
 
5:27 PM
Bah. Guess what?
 
What?
You fixed it?
 
So, I can't find the file, so I search the file name and find it.
I remove it from the file, and it didn't work (probably would have to restart the browser).
I type "exersize" again to check it, happen to right-click it, and get a menu to remove it.
 
Wait, you're using firefox?
 
IceDragon - a clone of FF with a few security features.
The guts are pretty much the same.
 
0
Q: beginner on java coding (read input from user)

SAM. SulHello friends I hope you all having happy coding result https://java1ksu.files.wordpress.com/2015/09/project-assignment-1v41.pdf I have a project and I already wrote my code for this program but my output result arrange in a different way it's not like the T. output //see the link above this ...

 
5:31 PM
Nice!
@CaptainObvious Have you ever heard about indentation? It can make wonders! It makes code readable! Yeah! Crazy invention, right?
 
Icon icon = FileSystemView.getFileSystemView().getSystemIcon(file); E.G. as seen in the File Browser GUI. — Andrew Thompson 1 min ago
 
Who can it be, now?
 
What?
 
@IsmaelMiguel Men At Work - Who Can It Be Now (Song)
It's got a nice saxophone intro.
 
Never heard it
 
5:51 PM
Lots of zombies that could use answers.
 
I'll check some then
7 more minutes till 7p.m.!
6 minutes
4 minutes!
2!!!
 
There's a no-longer-hypothetical question in the reopen queue: codereview.stackexchange.com/review/reopen/44887
 
@rolfl Got my open vote
 
Hi @SimonForsberg , I added the whole code, is there any further action required from me? — merocode 9 mins ago
 
This answer could use some love.
 
6:01 PM
@rolfl temped to say "yes, flag the comments as obsolete"
 
(Really, all of those could be upvoted, but that one especially.)
 
@SimonForsberg RFA
 
@rolfl MAH
 
@SimonForsberg MAH?
 
@rolfl can figure that one out, right?
 
6:03 PM
Monkeys are handsome ... yeah
 
@rolfl Real Flag Applied?
 
^^^ that
 
Marked As Helpful
 
@SimonForsberg That makes way more sense.
I need to take a nap, it seems.
I've yawned over 10 times in the last 5 minutes.
It seems every couple seconds I pop a yawn out.
@SimonForsberg @rolfl Java question with bounty
 
I edited my (first) answer (to another user's post) and added some explanation. Take a look. :-)
4
A: Returning an array of integers with 1000 elements

ambigram_makerYour approach is not incorrect. It will get the job done (albeit, slower). If you want to improve your approach, keep reading. But first a few points on your code: Points on Your code intArrayHolder seems a bit wordy to me. I believe intArray or even array would serve your purpose, without sac...

Initially, I wrote the last half of my answer rather hurriedly. Fixed the code there.
BTW has anyone ever done a a lengthy mathematical analysis of the behaviour of the nextInt() function?
;-)
 
6:21 PM
Any regex gurus around?
 
@RubberDuck For some values of "gurus".
 
Not me!
 
I need to verify that this regex does what I think it does. I didn't write it.
^(\d+)?(\.\d+)?$
Matches a "number", right?
 
What do you think it does?
 
@RubberDuck Or nothing.
 
6:22 PM
positive decimal number or empty string
 
I don't think the empty string part was intentional, but can't be sure. Thanks guys.
 
Once I saw a SO question on that regex.
 
But it won't match: 1. (1 with a decimal and no number after it).
2
It will match: 1.0, .0, 1.0, 1, "" (empty string).
 
Thanks guys.
I wouldn't have caught the empty string part.
 
6:24 PM
@RubberDuck No problem. :)
Thanks, Santa! :)
Oh damn, 18 rep to 3k.
 
@EBrown Merry (advanced) Christmas. :-)
 
I have to rewrite this entire framework. D:
 
0
Q: Haskell parallel scheduler : runs actions at designated times, in parallel

static_rttiI've been trying to learn Haskell on and off for a couple years. I had a project for building a parallel web scraper, and I figured I'd try to use Haskell for it. Here's the part used to schedule tasks: basically, it opens a Chan that can be used to send jobs, which is simply an IO action with th...

 
@EBrown this?
 
@ambigram_maker Yeah, a project I've been working on for a while.
 
6:38 PM
I meant "this" what? Give me a link.
(or a description)
 
No link, it's not a public repo.
It's a backend framework for a game I've been working on for some time.
 
Just like my library "package of private constructor-ed classes with static methods". :-)
 
@ambigram_maker You can use three hyphens around text to strike it. (---strike--- strike)
 
Hey... just curious, is it possible to extract someone's email from someone's g+ account?
The OP sent me an email with my user name.
Perhaps I keep too much info public. :-/
 
No...... not really, but.....
 
6:47 PM
if your username is your Email then it wouldn't take too much.
 
@Malachi it isn't
 
Ambigram_maker@gmail.com is that your email?
 
@ambigram_maker - also: github.com/Subh0m0y
From your SE profile.
 
@rolfl Hmmm
 
6:47 PM
with your public e-mail
 
"subhomoy------@gmail.com"
And the worst part is I'm not even logged in to Google+ atm.
Gender Male
Birthday February 10, 1999
 
But I bet you haven't seen anyone on SE/github without a FaceBook account. ;-)
 
That was Google+ though.
 
I know
 
go and google how to make your social media secure.... do you have facebook? I would take the rest of the day and perhaps tomorrow to make sure everything you participate in is secure and everything that is supposed to be private, IS.
3
 
6:53 PM
@Malachi Meh... too. much. work. tired. I wouldn't get angry due to an increase in spam mail.
 
there is more than just spam at risk
3
 
My identity?
 
yeah
do it first thing tomorrow
 
I just provide ways to contact me, not impersonate me (I think).
 
You people actually receive spam? I get at most one spammail a month
 
6:55 PM
@ambigram_maker You still want to secure certain information.
@JeroenVannevel LOL I wish I had that luck.
 
And my email address is in countless places all over the internet
 
I get ~200+ spam emails a day.
(Not my Gmail, of course.)
 
/me forwards @Jeroen 's mail address to spam houses ;-)
6
 
UK - We call it Autumn, from the French word "autompne" and later, the Latin "autumnus"
USA - WE CALL IT FALL BECAUSE LEAF FALL DOWN
True story.
 
In Dutch we call it "herfst" because fiddlediddle you, we don't make sense.
 
6:58 PM
@JeroenVannevel That's risky there man - some people around here are flag-happy for terms like that.
 
Not the word I was referring to. ;)
 
Apparently I once applied for a job that required Python experience, among other things. I just got a response, asking if I do have Python experience. Since I don't, should I respond with something, or just ignore it? I'm not sure if saying "I can learn it on the job" would suffice.
 
You hate the Dutch too?
 
@JeroenVannevel I love the Dutch. I have a few Dutch friends.
 
7:00 PM
@EBrown My condolences
 
@Jamal Tell them you have a large amount of OOP programming experience.
 
0
Q: A queue with consumer that may leave items in queue

g18cReviewing this code https://raw.githubusercontent.com/damianh/Obsolete-Cedar/master/src/Cedar.GetEventStore/Handlers/ResolvedEventDispatcher.cs there is a SimpleQueue class to decouple the producer from consumer: private class SimpleQueue { private readonly Func<ResolvedEvent, CancellationTo...

 
And side-step the Python part entirely.
@JeroenVannevel The three Dutch people I know are pretty cool, though.
 
They probably have Belgian heritage
 
@Jamal It might not suffice, but it would be rude to not answer. And yes, you can play on your other strengths
 
7:01 PM
@JeroenVannevel No, the three I know are 100% Dutch.
 
@EBrown and then there's Jeroen ;-)
 
@janos Is he actually Dutch, though? Or is he a half-Dutch half-other?
 
@EBrown Work with me, man. I'm trying to cut them some slack but you just keep kicking them down
@EBrown flagged for offensive
 
@JeroenVannevel Lol
 
declined
3
 
7:03 PM
 
@JeroenVannevel I don't think I actually know anyone from Belgium, though.
 
Look at them. Pansy as what
 
Not orange enough to be dutch.
 
should those facial expressions be switched?
 
@EBrown Well consider yourself blessed: you do now
 
7:04 PM
@JeroenVannevel Are those...bears?
 
What they are doesn't matter. What they represent does. They represent the Belgian ferocity and Dutch pansiness
 
Why is it that the netherlands are always "orange", like it's their national colour, yet there's nothing official about the netherlands that makes any orange sense.... oh..... interesting, there's a real reason....
 
@JeroenVannevel ...the Dutch people I know aren't pansies, though.
 
@rolfl The house of Orange
They had this big building made of oranges and then a dude lived in it so they called him the prince of Orange. I know, Dutch people don't make sense
 
Hmmm.... fact checking failed.... ^^^^ vvvvv
Orange (Provençal Occitan: Aurenja in classical norm or Aurenjo in Mistralian norm) is a commune in the Vaucluse department in the Provence-Alpes-Côte d'Azur region in southeastern France. It is located about 21 kilometres (13 miles) north of Avignon. It has a primarily agricultural economy. == History == Roman Orange was founded in 35 BC by veterans of the Second legion as Arausio (after the local Celtic water god), or Colonia Julia Firma Secundanorum Arausio in full, "the Julian colony of Arausio established by the soldiers of the second legion." The name was originally unrelated to that of...
 
7:12 PM
I think you're a little off there
 
@rolfl Burn.
Ignore that edit.
 
The House of Orange-Nassau (in Dutch: Huis van Oranje-Nassau, pronounced [ˈɦœy̯s fɑn oːˈrɑɲə ˈnɑsʌu̯]), a branch of the European House of Nassau, has played a central role in the politics and government of the Netherlands — and at times in Europe — especially since William I of Orange (also known as "William the Silent" and "Father of the Fatherland") organized the Dutch revolt against Spanish rule, which after the Eighty Years' War led to an independent Dutch state. Several members of the house served during this war and after as governor or stadtholder (Dutch stadhouder) during the Dutch Republic...
House of oranges + a sneeze at the end
 
No, I don't think I am off - orange is the center of what became the city of orange, then the burrough, and principality.......
from there, the prince of orange came.... and so on.
> The dynasty was established as a result of the marriage of Henry III of Nassau-Breda from Germany and Claudia of Châlon-Orange from French Burgundy in 1515.
Shocking to believe that the Dutch Orange fetish is the result of some romans that retired in France, and could not pronounce the place.....
 
Oh okay, you went far back. At that point Europe is just one inbred family anyway
5
 
@JeroenVannevel At that point Europe is just one inbred family anyway
 
7:17 PM
Yeah, It's like there are 4 inbred families in the whole world..... European, African, Asian, and Native ..... I hear it all the time - She's of European descent, He's an Asian, Dude's a native, etc.
I'm like really confused, being an African European.... in North America
 
0
Q: How do I convince JSON.NET to give me my data? It refuses to deserialize $ref properties

John GietzenHere's a sample that's close to what I'm trying to do: void Main() { var settings = new JsonSerializerSettings { PreserveReferencesHandling = PreserveReferencesHandling.None, ReferenceLoopHandling = ReferenceLoopHandling.Ignore, }; var json = "{ \"$ref\": \"THIS ...

You have to ask it really nicely
 
@JeroenVannevel Take it out for dinner first. Always works for me.
 
Buy a diamond ring?
 
@skiwi I'm not that committed.
 
Then I guess you'll never know true JSON
 
7:28 PM
I see there is a discussion about Holland here!
Even Holland vs Belgium
 
@skiwi Apparently @JeroenVannevel doesn't approve of the Dutch.
 
YOU KNOW I'M JUST JOKING @skiwi
 
Though it's worse inside Belgium :D
They can't even form a government (:
Or well... took them a few years?
 
Are you Dutch, @skiwi?
 
@EBrown Natuurlijk.
 
7:30 PM
@skiwi English please.
 
@EBrown Sorry, I was replying in Dutch to prove that I'm Dutch
 
@skiwi Ah, then that makes 4 Dutch people I know. :)
 
We don't need a government to rule us
 
@JeroenVannevel Or logic, reason, et al.
I almost forgot Belgium was a country.
 
@EBrown Now you might be crossing a line
 
7:33 PM
@EBrown Ah, an American I see!
2
 
@JeroenVannevel Hey man, you never hear anything about Belgium.
At least, not here in the U.S.
 
What about us?
 
It's always Greece, Israel, Iran/Iraq/Afghanistan/Pakistan, Russia, China, North/South Korea, Japan, England, Canada, Mexico (et al.).
You don't often hear of the Netherlands here either.
 
Ten I'm interested to hear what it's about if you have something then :P
 
Belgium and The Netherlands just don't do things to piss America off, to be quite honest.
Most of the news we get is entirely negative.
I.e. the Greece financial crisis.
All this ISIS/IS crap.
 
7:36 PM
You don't like positive news?
 
North Korea and Russia doing their things.
 
(The news channels)
 
@skiwi I do, but that doesn't get ratings in the U.S.
Almost all American news is based on what sells the best.
 
Most of that stuff would be illegal though :D
 
I mean, I use the BBC as my (primary) news source, and even it has little information on Belgium/Netherlands.
Of course, I don't read the news as much as I should, but I don't stick my head in the sand either.
 
7:38 PM
The news sites are like my default most of the time... But that's because I'm not being very productive right now
 
Oddly enough I almost want to move out of the U.S. anymore.
@skiwi If I knew of any good, international news sources I'd read it more.
The BBC is, well, meh.
 
Zak
ooh, are we talking current affairs?
agh
just got headbutted in the face by a daddy long legs
 
Greetings
@EBrown 9gag has news, sometimes
 
0
Q: C++ Winsock HTTP Request Library

Sessions1024I'm trying to write a HTTP Request library for practice with Sockets and C++ in general. I created a seperate function to setup the struct needed to Connect() however it is now breaking and I cant seem to figure out why even with a debugger. Also looking for any code optimization I can be doing b...

 
But they come repeated 10 times a day for a week
 
7:46 PM
9gag is not a news source... at all
4
 
It has a few news
And that's enough for me
 
That pains me
That physically pains me
 
That emotionally pains me
That mentally pains me
 
That textually pains me.
 
Pains me isn't even proper English
 
7:48 PM
I hate news
 
'nuff paining
'nuff hating
 
@skiwi Says Holland. ;)
 
'nuff news
 
If there were good news, I would like them
But it's always death, murder, robery, pain, sorrow, government screwing on us and more people suffering
I don't want to watch that
And please, let's talk about code
 
Code has feelings too
 
7:50 PM
@skiwi Not particularly friendly ones.
9
A: Returning an array of integers with 1000 elements

ambigram_makerYour approach is not incorrect. It will get the job done (albeit, slower). If you want to improve your approach, keep reading. But first a few points on your code: Points on Your code intArrayHolder seems a bit wordy to me. I believe intArray or even array would serve your purpose, without sac...

That could use an upvote (or two).
 
@skiwi Awwwwww, whwt kind of feelings?
*what
 

« first day (860 days earlier)      last day (3160 days later) »