« first day (752 days earlier)      last day (3265 days later) » 

12:00 AM
There are 1401 unanswered questions
 
Thank you @Duga, I have my close votes back now.
 
@Phrancis I didn't want to be impolite though. I was joking but it came out a bit wrong I guess. I actually like "Monkevening" as it considers us Ozies too. :)
 
I just got back to work, and setup VS. I got all ready to do some C# and then I got told we're using Java and Android Manager for a project. -.-
 
@Quill that's not nice
 
12:18 AM
@Mehrad Just so you know... we tend to say "Monking" at all hours. It's 7pm where I'm at. I think @Phrancis is the same time zone as me (roughly) and he's saying "Monking" even though it's evening...
Oh, nevermind, he did say Monkevening.
FOOL
2
 
@nhgrif I'm EST so it was about 20:00, but yeah
BTW, anybody miss this?
I've been told by a couple people the snippet didn't work in their browser(s) but it just fine
 
@Phrancis anyways. I am sorry. will see you guys later
 
@Mehrad Nothing to apologize about :) see you later
 
@Phrancis Worked for me.
 
12:33 AM
 
Working my way toward the badge...
 
@nhgrif Which review queue is that?
 
SO Close Vote Queue.
It's the only one I can guarantee to get all 40 every day.
It's easy to judge and it's got a ton of questions in the queue.
 
Sweet
Hello @Mat'sMug
 
12:49 AM
hi!
 
>SOmeone asked me that last time. Please someone do it for me. PLEASE!
lol
 
Some users just don't get it.
Oh well.
YO DAWG I HEARD YOU LIKE DATABASES. SO I MADE A DATABASE TO KEEP TRACK OF YOUR DATABASES KEEPING TRACK OF YOUR DATABASE.
Wonderful, South Park just ruined half of my childhood memories in 2 minutes.
 
@Mat'sMug: You should totally install VSDiagnostics
I hear it's the next big thing
 
is that a VS2015 pre-beta toy?
 
1:06 AM
Technically it's a VS2015 RC2 toy
 
I'm not installing VS2015 until I get a new laptop
2013 is already struggling enough as it is!
 
VS2015 isn't much different than 2013.
 
Remove 2013 and use 2015
2015 is faster for me, if that's the problem
 
I'd have to consult with the other rubberduckers
 
The only difference I've found is that it'll automatically create classes if you haven't created them and referenced them.
It's actually pretty useful.
 
1:08 AM
oh wow... that's been in ReSharper since .... since every version I've used of R#
 
I don't use ReSharper
 
you're missing out
 
that's the same thing
 
I can write an entire method that uses an object that doesn't exist, and then generate the type and its members, R# infers everything from usage.
 
Aww, it's paid. :(
 
1:10 AM
30-day trial gets you hooked
 
But, but, that's only 30 days...
 
and then that's only $150
 
100€ for me
 
Yikes, I'm gonna have to mow like 35 lawns to get that much money.
I get about $5 per lawn.
 
@EthanBierlein I'm on 15$ an hour at work, programming. I got lucky
 
1:20 AM
@Quill Where do you work?
 
For a website, similar to tripadvisor
 
It's alright, there's a lot of bad code (not written by me), and it's a webforms project so
 
I wish I could be programming right now.
 
@EthanBierlein help yourself! :-)
 
1:33 AM
Thank you @Mat'sMug! :)
Can anyone explain C# lambdas? They seem so confusing.
 
that's a little too broad
a little being way too fucking
 
@JeroenVannevel ???
 
In computer programming, an anonymous function (also function literal or lambda abstraction) is a function definition that is not bound to an identifier. Anonymous functions are often: passed as arguments to higher-order functions, or used to construct the result of a higher-order function that needs to return a function. If the function is only used once, or a limited number of times, an anonymous function may be syntactically lighter than using a named function. Anonymous functions are ubiquitous in functional programming languages and other languages with first-class functions, where they fulfill...
 
it's like asking me to explain the current geopolitical situation
 
lol
 
1:38 AM
@Quill Thank you.
 
2:15 AM
Shhhhhh.....
 
AAAAAAAAAAAAAAAAH
 
WHEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
HOOOOORAAAAAAAAAY
WOOOOOOOOOOOOOOOW
 
mkay
 
alright
 
well then...
 
2:29 AM
Did I miss a shout-fest?
 
Yes
I finally understand C#'s anonymous functions.
 
great!
 
Anony... who?
 
public delegate TResult Func<in T, out TResult>(
	T arg
)
@Phrancis ^^
@Phrancis Something like Func<double, double, double> Add = (a, b) => a + b;
 
eh, I can do that in VBA :)
 
2:34 AM
Mr T.
 
But, but, that's VBA...
Not C#...
 
Dim accumulator As Delegate
Set accumulator = Delegate.Create("(work,value) => value & "" "" & work")

Debug.Print LinqEnumerable.FromList(List.Create("the", "quick", "brown", "fox")) _
                          .Aggregate(accumulator)
outputs
fox brown quick the
23
Q: Wait, is this... LINQ?

Mat's MugContext I'm working on a little project that consists in a series of Microsoft Excel add-ins (.xlam). The code being submitted for review here, is located in the Reflection project: Feel free to comment on the project architecture, but I'm mostly interested in the Reflection.LinqEnumerable cl...

yes, it's VBA. and it runs an anonymous method that's dynamically generated from the "lambda" string
Oct 15 '14 at 18:54, by RubberDuck
@CaptainObvious Mug has a sick sense of fun.
 
^that
 
VBA seems, just, odd to me for some reason.
2
 
it's not just you ;-)
 
2:43 AM
I mean, who though it was a good idea to use a quote for comments? And have the first character of each keyword uppercase, almost implying that they're classes? Ahhhg.
 
probably someone that thought using the Rem keyword for comments/remarks was to 80's-like
 
lol
 
@EthanBierlein Every time I try CSS
 
2:48 AM
IKR
 
<p style="font-family: sans-serif; font-size: 1.1em; color: #000000; text-align: left">I don't know what you are talking about...</p>
 
I have a friend that designs static pages for people, so I just get her to do my CSS and I do her JS :-)
 
^ lose-lose win-win relationship
 
@Phrancis Inline urls in Markdown remind me of style attributes like that
[]() versus [][1] [1]:
 
WUT
Oh. Nvm.
 
2:54 AM
I remember messaging her once saying: 'I love this z-index attribute in CSS!'
 
:o
People use that?
 
I did for one project, where I had to stack a bunch of elements on top of each other
 
I must go for tonight. Farewell.
 
> If you're developing on Windows, you need to install a USB driver for adb. For an installation guide and links to OEM drivers, see the OEM USB Drivers document.
> If you're developing on Mac OS X, it just works. Skip this step.
@Phrancis Bye
 
Farewell Sire @Phrancis.
 
2:59 AM
user image
2
 
Not sure how it's relevant, but I just found it, so here you go. ^^
 
@EthanBierlein Isn't your main language Python? :P
 
@Quill For now.
And this one. ^^
 
Does anyone use Firefox phones? They look interesting.
SO Represent!
2
 
0
Q: Structure of reggax to find selectors between angle brackets

Eduardo E. ValenzuelaDoes the structure of this regex is correct? \[{1}+[\w]+\-?[\w]*(\=|\~|\||\^|\$|\*)*\"*?[\w]*(\-|\/)*[\w]*\.*[a-z]*\"*?\]{1} I want to use it to find selectors of this kind: [class="test"] [src^="img/test.jpg"] [data-file="test"]

 
3:07 AM
@CaptainObvious Reggax? Is that like Jamaican regex?
4
 
Hello @Unihedron
 
Monking @Ethan ^^
@EthanBierlein This one is actually funny because I changes my IDE syntax coloring to display semicolons as navy dark blue purposefully to match the black background so I don't have to see them. Often turns out regretting but code inspection helps me out most of the time.
 
I consider that a fail.
 
^^
 
3:12 AM
@Mat'sMug I don't configure things when sober. Don't ask why. I guess accidental variation is the spice of life.
 
uh-huh
 
Gotta love that root beer.
 
@CaptainObvious briefly answered; though the given regex doesn't even have proper syntax for js-c
 
I almost want to change the title of that question back to reggax.
 
lol OP accepted O_o wtf
2
 
3:27 AM
@EthanBierlein That'll Jamaica me mad
@Unihedron It wasn't that bad, plus the link to your other question had lots, so
 
But... I'd expect them to at least enquire how to fix the syntax error, since my optimization tips are, while CRy, not really hitting the problem :)
 
I'm terrible at writing short regexes, but here's what the OP might want: /\[(.*|[^=])=((\"|\')(.*|[^'"])(\"|\'))\]/g
Maybe
 
True.
 
Kinda quiet in here.
 
Still more active than my home room :]

 Alpha Centauri

Where The Unihedron lives in and codes with people who come by...
 
3:57 AM
Monknight
 
4:17 AM
0
Q: ruby hackerrank challenge index palindrome

user1520130So I have a solution but it fails the performance for two tests. How can I speed it up? def palindrome?(str) str.reverse == str end def parse(str) return -1 if palindrome?(str) str.length.times do |i| before = str[0...i] after = str[i+1...str.length] return i if palindrome?(...

 
4:40 AM
If you have working code and want it improved, I wonder if codereview.stackexchange.com might be the best place for you post. — jfriend00 23 secs ago
 
5:19 AM
0
Q: MySQL Data Source still not appearing in Visual Studio licensed version

SantanuHaving issue with mysql data source not appearing in visual studio 2013. I am aware of the fact that it does not work with the non-license versions like visual studio express 2013. So I took a license version but still didnt work. Its working fine in VS 2008 but not in VS 2013. I have already i...

 
5:57 AM
Just found this comment among some my colleague had written
> //this is iffy. should probably add another value to the keyword class. Come on, it wouldn't be hard, now?
 
tss. doesn't beat this one:
catch(COMException)
{
    // gulp
}
;-)
 
I think your question would be a better fit for programmers or codereview. — BatteryBackupUnit 1 min ago
 
anyone has vanilla Visual Studio handy?
Can you do that in VS without R#?
 
0
Q: StringBuilder Loops

QuillI speedily wrote a bunch of crappy checks, to check whether strings are empty, in order to build a query string. StringBuilder SB = new StringBuilder(); SB.AppendFormat("{0}guide/search.aspx?", root); if (!String.IsNullOrEmpty(item)) { SB.AppendFormat("&k={0}", Server.UrlEn...

 
If you have a question, explicitly state it. Else, I think this may be more suitable for CodeReviewYuval Itzchakov 38 secs ago
 
6:17 AM
0
Q: Making an animation with arc text info

3gwebtrainI am making an animation with arc text info. I am repeating the same arc with text info 2 times here. There are rotate properties to image and path. I made it with my own idea, but I am not satisfied with my code standards and the way I made it. Can anyone verify and show me / alter the code to ...

1
Q: StringBuilder Loops

QuillI speedily wrote a bunch of crappy checks, to check whether strings are empty, in order to build a query string. StringBuilder SB = new StringBuilder(); SB.AppendFormat("{0}guide/search.aspx?", root); if (!String.IsNullOrEmpty(item)) { SB.AppendFormat("&k={0}", Server.UrlEn...

 
wow, 2:25AM. I really need to get to bed.
@Phrancis you're still here?!
 
0
Q: GoTo Implementation: First-class navigation for the VBE

Mat's MugReSharper has a very handy feature that's particularly useful when coding against abstractions. Since coding against abstractions is something that can also be done in VBA, the next release of rubberduck is going to include that functionality as well: The click handler for the code pane cont...

 
6:32 AM
monking @all
 
This is actually something I wanted to avoid. Putting all functions into single file is not acceptable for me. It's really hard to do code reviews on such file and. Apart from that, I want to keep certain directory structure among my functions. I come from java world and I tend to keep functions in 'packages' or directories where they belong .. core/utils/network etc. — Matthew Lowe 1 min ago
 
7:09 AM
I'm voting to close this question as off-topic because It's not a question. you better post it on [code review](codereview.stackexchange.com) — Zohar Peled 30 secs ago
 
7:30 AM
0
Q: (Part 2) Securing PHP shopping cart (Paytrail integration)

Griphoni've developed my shopping cart further. This is related to my earlier post: Securing PHP shopping cart In addition to those functionalities, i've proceeded to make integration to Paytrail payment gateway. This post will add option to handle customer's personal data and to send that data to paym...

 
8:11 AM
Monking @all
 
Monking
 
Monking
 
0
Q: Going through 1 week of 200k records dated by every second and mapping them to each hour of every week

laggingreflexThis is a little net health monitoring project I made in NodeJS. It pings google every second and stores the result (true/false) along with the Date in database (MongoDB). I've collected enough data and I want to represent it for the past week. I created a 2x2 array of 7 days and 24 hours each...

 
9:08 AM
Monking
 
0
Q: meta predicates fixedpoint/3 and fixedpointlist/3

repeatWhat about the following meta-predicate "fixed point"? fixedpoint(P_2,X0,X) :- call(P_2,X0,X1), if_(X0 = X1, X = X0, fixedpoint(P_2,X1,X)). fixedpointlist(P_2,X0,[X0|Xs]) :- call(P_2,X0,X1), if_(X0 = X1, Xs = [], fixedpointlist(P_2,X1,Xs)). The implementation is based, in part, on...

 
9:22 AM
Stating using namespace std; is a best practice may unleash a holy war. It's debatable. — Mast 18 secs ago
Some new guy signs up for SO and CR and the first question he hits is mine.
Oh joy.
 
Lol, love that usage of // to give his comments.
You can just see the n00b without even looking at his Rep
 
And no way I'm going to use using namespace std;, not even for small programs.
You never know where your code ends up. So don't make it smell.
 
9:39 AM
scanf() and printf() are the way to go! :D
 
0
A: (Part 2) Securing PHP shopping cart (Paytrail integration)

QuillAs one of your previous answer-ers, I can say this has definitely improved! I'll work through by the type this time. Variables: Your beginning (block) variables are defined like $firstname, but the secondary block variables are defined like $merchant_secret, with an underline instead of a n...

 
1
Q: Async & ContinueWith

user2900970I am implementing my own UnitOfWork for an EntityFramework-DataContext. I want to call SaveChangesAsync and only when this succeeded clear some list. Is my approach with ContinueWith correct? public async Task<int> CommitAsync() { try { return await DataContext.S...

 
10:00 AM
-2
Q: Nullable bool different than true

FosnaWhich one is more human readable, less complex and easier to maintain? Is there more readable way to write something like this? Expression should test if request.IsInvalid property equals null or false. someOtherCondition && request.IsInvalid != true someOtherCondition && (request.IsInvalid.Has...

 
Belongs to codereview.stackexchange.com — Jarod42 6 secs ago
 
10:13 AM
@CaptainObvious You can blindly pick a close reason for that question, most are applicable.
As in, OT for all reasons. It's not spam/rude ofc.
 
I'm voting to close this question as off-topic because questions about how to make working code shorter/prettier are generally unsuitable StackOverflow. You may be able to get help on codereview.stackexchange.com. — Holger Just 44 secs ago
 
10:28 AM
Monking
 
0
Q: How to write this piece of code better

Chris Yeungdef validates_presence_of_referer_referral_code if u = User.find_by_referral_code(referer_referral_code).nil? errors.add :referer_referral_code, "Not a valid Referral Code" else if u.referral_code != referer_referral_code @user.referred_by_...

 
Oh, sorry. I thought these kinds of questions are ok here. Uhmmm, would it be good if I just placed the non-working code here rather than the working one, so I may know if a possible solution exist? If not, I'll just close this question myself and transfer it to codereview :) — Jason Adrian Bargas 34 secs ago
 
10:51 AM
1
Q: How can I make my C programs faster?

IcyFireQueenI need to pass a programming exam in order to graduate but I'm having a hard time passing it because most of my programs are too slow. Can someone give me some tips on how to make my programs faster please? Below is an example of a question we had in the last exam and the code i wrote. My code pa...

 
You're looking specifically for a one-liner. I think they're better at such things at CodeGolf than at CodeReview. — Mast 51 secs ago
 
11:12 AM
You better ask this question her codereview.stackexchange.comSybren 39 secs ago
 
user image
3
Life will never be the same again
 
1
Q: Permutations in C#

TyressI have a program that will get all possible permutations of a certain equation: A + 13 * B / C + D + 12 * E - F - 11 + G * H / I - 10 == 66 Where A, B....I is a value 1-9, and where each digit is used only once in the equation (So if A is 1, no other variable can be 1). There are 136 different...

 
Does it work so far? Maybe you want code review ? — Joachim Pileborg just now
I think std::vector a better choice then double*. a similar theme codereview.stackexchange.com/questions/63823/polynomial-classAtomic_alarm 46 secs ago
Additionally, if you actually have a working program (even though it may only work for smaller problems), then Code Review is a better place to get help improving it, but bear in mind that they will complain about the exact same things I did in my previous comment, the question is very unclear, so crossposting or reposting it there won't help. — Lasse V. Karlsen 52 secs ago
 
11:30 AM
@JeroenVannevel Is that for VSDiagnostics or your blog?
 
Blog (powered by the VSDiagnostics post)
 
@JeroenVannevel You expected instant visitor retention?
 
Are you saying my blog isn't awesome enough for that?
 
You actually might, if you post the next big thing on reddit as well.
@JeroenVannevel Well, it's not a frequent blog afaik. That doesn't help.
You have very good posts on your blog, but 2 weeks between each entry or so?
 
@JeroenVannevel I downloaded VSDiagnostics earlier, when a colleague came over. I was showing him something and used the string.Empty converter. He asked what it was, and when I demonstrated, was pleasantly surprised and installed it himself.
10/10 conversation starter.
2
 
11:39 AM
@Quill That's awesome to hear!
I did notice I had a total of 3 downloads today
 
I make two then :P
 
@Mast I don't want to oversaturate the market with awesomeness
 
@JeroenVannevel What's wrong with taking the world by storm?
@JeroenVannevel Make sure you post us a download graph after a week.
 
Stackoverflow also requires you to post your effort. Unlike codereview.stackexchange.com your code/algorithm/implementation does not have to work as desired. This also helps to answer question at your skill level. — Margus 13 secs ago
 
@Mast Mainly because I'm too lazy
Don't worry, I'll keep you all regularly updated
 
11:46 AM
@Duga That question would be immediately destroyed @CR, so I'm not sure why he even mentions it.
 
@Mast Does anyone actually bring it up or does he just bring it up out of the blue.
 
@Quill Blue, very.
 
Out of the blue, and his help-vampire-feeding answer scores a -1 from me.
Monking, all ;-)
Oh, and close-vote-applied to that question too.
 
monking
 
@rolfl Good, flagged for it.
Monking btw
 
11:57 AM
0
Q: How can I remove a variable of a lambda expression?

Daniela Marques de MoraisA code snippet sonarQube suggests removing the local variables that aren't used in the lambda expression. I still don't deal with what's new in Java 8, especially lambda expressions. How can I replace these variables that are not used? The IntelliJ doesn't suggest anything to me. My code v...

 
@CaptainObvious That's what happens if you can only program in an IDE.
I remember I made my C and C++ exams on paper. It sucked. But we could all do it...
 
0
Q: how to make this code more efficient ? help me please

user3528211there are 20 teams. each team get A points when it won 0 point when lose B point when tie 1<=B<=A<=5 each team play the game with all other teams. inputs : (point when win) (point when lose) (Nth team of min/max) (min/max) for example if inputs are "4 2 6 0" output should be the maximum p...

 
I suggest you post your full code to Code Review for advice on how to choose a better pattern. I strongly suspect you're trying to solve a problem that would have a much simpler solution. — Juhana 51 secs ago
 
@CaptainObvious Flagged it for unclear in the assumption it gets migrated to SO.
It's even unclear for them.
 
I just noticed that Biology.SE got a new design.
 
12:12 PM
well
 
0
Q: Project Euler #10 and #12 in Java. Prime Numbers

ADGI am dealing with a huge time taking with primes. I hope you know they are pretty random and that's why create many problem. Both are using the same logic/methods. Code /* * The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all * the primes below two million. */ public st...

0
Q: Java: XML to JTree app

ferkulatI'm developing a JavaSE-1.7 Swing application that displays XML files as a JTree. This will the base for further work, e.g. filtering nodes etc. My questions, as a beginner in Java & Swing & MVC: Design: How would you separate this into Model/View/Controller? (Doing the doc/tree model stuff in...

 
I just posted that toilet paper pun
to a friend
and it went way too far ;-;
 
Star-trek and toilet-paper -> They both orbit uranus seeking klingons.
 
 
Yeah... it went far alright .... a long drop.
 
12:14 PM
When crap like that comes naturally (No pun intended), I should really be conerned ;-;
 
Perhaps crap like that runs in the jeans.
 
The main question remains: which orientation?
 
North-west.
 
If only @EthanBierlein was around to see this, I'm sure he'd be posting all the 'lol's he could send
4
 
@Quill WTF
 
12:20 PM
(Now's a good excuse to go and anti-santa me everyone btw)
 
lol
 
12:32 PM
16
Q: Programming in physics

KlopmintHow important is programming in physics? I am studying physics at university and these first years there is actually no approach (as it is understandable) to what working in physics is like. Now, I know programming is actually important (I've read several posts in forums - even the one present h...

> And those who are too lazy to do real programming - mostly mathematicians and engineers - use MATLAB or Mathematica
 
@rolfl Please nuke this answer
 
@EthanBierlein AFAIS links to question
 
@Mast Odd, I swear that it was a link to that answer. Oh well.
 
0
Q: JS/jQuery finance calculator

bg17awI am always surprised by JavaScript and how simple and elegant JS code can look. I have a piece of code below that simulates a finance calculator, please share your thoughts, critiques/feedback on how the code can be improved. Working fiddle here: http://jsfiddle.net/bg17aw/dn4s2h6k/1/ The calc...

 
Oh, and by the way @Quill lol LOL LEL LUL lel LuL lOl
 
12:46 PM
@EthanBierlein I nuked it, so it now goes to the question (CC @Mast)
 
@rolfl Figured as much, you're quick...
 
(if you have rep enough, you will still go to the deleted answer).
 
@CaptainObvious I am always surprised by JavaScript and how simple and elegant JS code can look. No no no no no!
No no no no no!
There's nothing elegant about that darned language.
 
JAVASCRIPT NO BE ELEGANT. IT BE DEMON CHILD LANGUAGE
 
+1 for sarcasm. — Quill 26 secs ago
 
12:49 PM
0
Q: How to iterate and load property file values in UI using ZK?

AsthCgI have a property file named "ABC.properties" having values such as A="APPLE" B="BALL" C="CAT" Now i need to get these values and load in my UI. Have iterate and then need to load because like wise there may be more than 50 values in that property file. Can anyone please help me with this?

 
I swear, someone is going to edit that post just to put a strike-through through that line.
 
@Quill Negated. [strike]Sarcasm[/strike] JS is evil.
 
@EthanBierlein do it
 
I want a sandbox chat.
Getting one.
 
I wish. But that would be vandalism in the case of the author.
 
12:51 PM
Well, it's a trivial thing to say
 

Sandbox

Where you can play with chat features (except flagging) and ch...
@Mast ^^
 
Posts get edited for content like this, and it gets removed
 
Greetings, Programs.
 
Greetings, Donalds.
 
@Donald.McLean Greetings, Space human.
 
12:55 PM
If the code works, but it's messy, you should post it to codereview.stackexchange.com No problem, I'm happy to see you've improved over the "How to do ....? Thank you" question :) — Lord Zsolt 41 secs ago
 

« first day (752 days earlier)      last day (3265 days later) »