« first day (845 days earlier)      last day (3471 days later) » 

Zak
Zak
13:13
getting there :)
@Quill No. It doesn't. UIKit isn't available on OS X, and this code is using UIKit stuff. And my answer comments on some UIKit specific stuff.
@nhgrif Okay, thanks for the clarification
Also, keep in mind that I've probably removed the iOS tag more than anyone else. If I've already been to the question and certainly if I've already edited it, the existence or lack of existence of the iOS tag is probably correct.
Alright, I'll keep that in mind for future
0
Q: Tic Tac Toe(Algorithm C++)

MandrukI made a Tic Tac Toe game, but I think there's a lot of hard coding and a lot of useless variables, can you check it out, and tell me what I can improve?? #include <iostream> #include <stdlib.h> #include<windows.h> #include<conio.h> #include<time.h> #include<iomanip> using namespace std; bool c...

13:21
That question should be at Code Review, if any place. — Aedix Rhinedale 14 secs ago
@Mat'sMug Unit tests just found a bug in my framework. ;)
6
If you wrote the code, and you want advice on how to write it cleaner, post it on CodeReview. If you did not write the code, you should hire somebody to do it. — Zak 24 secs ago
@Duga Now we are a blog? o.O
WTH!?
@IsmaelMiguel ? what
@IsmaelMiguel "post" doesn't imply "blog"....
13:25
-3
Q: PHP function - Examples for calling from database

Mileim new in this blog and i want to ask is there a possibility example: Create page callfunction.php class getFname { public function showFname() { //--- THIS IS ONLY EXAMPLE WAT I WANT $servername = "localhost"; $username = "username"; $password = "password"; ...

...
@IsmaelMiguel I read it.... I don't get what you mean by saying we are a blog
> I'm new in this blog
In that question
I wasn't aware that we were a blog now
Zak
Zak
to be fair, they said their english is not very good
OP is obviously not an english speaker. Blog is used interchangably with forum shrug
o.O
WTH!?
How?
13:27
There are more important things to be caught up over, really
:s
Right now, I don't have any
Zak
Zak
@IsmaelMiguel Still no excuse for finding fault with trivial things
@IsmaelMiguel Then perhaps you should find some, and quit bothering us with trivial issues.
Or get a hobby.
Zak
Zak
@IsmaelMiguel should be an absolute, not a relative scale
Like @Zak telling the OP to migrate non-working, example code to CR ;-)
Zak
Zak
13:29
to be fair, when I wrote that, the question and comments sugested it was working code, they just wanted to write "cleaner"
@Zak <?php how to call first funtion ?>
Zak
Zak
ah right. I didn't actually read the code :) don't have a clue how PHP works :)
I'm pretty sure PHP works simply by the raw power of it's awfulness
3
@DanPantry You forgot that it harvests it's powers from rejected scaps from hell, combined is black magic
Finally posted my for this month.
13:33
@Mast When are they due?
When CO feels up to it.
0
Q: Racetrack plotter

MastMy Racetrack is just that. A Racetrack. You can't race it (yet) because I had trouble with collision detection, but I wanted to share it anyway. It creates a base polygon by using numpy and shapely. matplotlib does the plotting and cPickle is used to write states to file so the exact same track ...

September I will post mine on the freaking hardest language you can find
Well, back to this Jon Skeet book for a bit.
@IsmaelMiguel Whitespace?
Whitespace is easy
13:34
You try plotting a racetrack in Whitespace :P
But I don't want to do that challenge
Zak
Zak
@IsmaelMiguel ook?
Oh, you're talking about the EMS
0
Q: Racetrack plotter

MastMy Racetrack is just that. A Racetrack. You can't race it (yet) because I had trouble with collision detection, but I wanted to share it anyway. It creates a base polygon by using numpy and shapely. matplotlib does the plotting and cPickle is used to write states to file so the exact same track ...

Actually, I'm talking about the challenge to write something useful in a language I'm not familiar with
13:37
@IsmaelMiguel That's probably not going to be the Community Challenge. meta.codereview.stackexchange.com/questions/5850/…
It won't be
But In September, I will do it anyway
Just throw me the hardest language you can find, with a free compiler, and I'll write something on it
@CaptainObvious I forgot to mention there are some magic numbers I can't really get rid of, so feel free to tackle those.
TTGTW :(
@IsmaelMiguel VHDL
Zak
Zak
@IsmaelMiguel I repeat, Ook?
13:39
TCL
@Zak That's Brainfuck
@EBrown yay unit tests!
2
@Mast VHDL it is!
Zak
Zak
you said hardest language :)
@Mat'sMug Indeed. It was a pretty big bug, too. :)
13:40
I have to say, you are a great programmer. Thanks to your method I could remove 120 lines of extra code, you rock!! — Daria M 18 secs ago
I made my mind, now I really must go
It's nice, but, too chatty
better to ask it on codereviewM.kazem Akhgary 12 secs ago
@M.kazemAkhgary, this could be a valid codereview post, assuming that code works. — Quill 15 secs ago
@Duga the author edited it into the question, @Zak
Is it possible to redirect or do I need to post it again there? — user2949024 14 secs ago
@Mat'sMug At least Skeet makes Value vs. Reference types moderately interesting.
13:52
0
Q: How can I optimize these for loops?

Fire DanI'm trying to dive deeper into C#, and so I've been experimenting with some code. I'm creating a console application that shows the path of a projectile depending on the angle, and it works great! you can check it out here actually. It's not perfect, but I like it. My question is, is there a bet...

Questions without code can't really be answered here. Also, if you have working code and are looking for a better solution Code Review might be better suited. — Gerald Schneider 47 secs ago
> Casts are bad, m’kay? - Jon Skeet
2
Looks good, so this question is probably better suited for codereview.stackexchange.com. That said, you can unpack value in the for loop for improved readability: for value, expiration in ...: if time.time() - expiration > self.ttl: yield value. — chepner 16 secs ago
@EBrown Misread as cats and almost had a crisis.
@SuperBiasedMan LOL
14:06
I'm Back!
Zak
Zak
you were gone?
Welcome back!
Yup, I was coming to work
Please don't make recommendations from SO to CR based on SO comments...
Any specific case?
0
A: Rock, Paper, Scissors, Lizard and Spock

Ismael MiguelOne think that I quickly noticed is the ammount of repetitions. But one that highly ticked me of is the ammount of tries. You could use an early return, like this: if(userChoice == cpuChoice) { tries++; return 'Tie'; } There, we cleaned up the ties! You have misspelled destroys twic...

Any Javascript guy can tell me what's wrong with my answer?
14:12
If you have to ask that question, you shouldn't be answering questions in the first place
6
How can you possibly think something 3000 years from now will receive text your program encodes? — enderland 3 mins ago
;-)
@JeroenVannevel Oh right, he has you on ignore so he probably didn't see that.
he's missing out on the good stuff
Indeed.
@JeroenVannevel It's true. Don't write answers if you don't understand what you're writing.
14:15
@JeroenVannevel not if the good stuff gets starred ;-)
So we just need to star everything Jeroen says?
@Mat'sMug Do you see things from people you ignore that have been starred?
@IsmaelMiguel The comments say it all. Spelling.
@IsmaelMiguel There's nothing wrong with it, I think the answer is a harder level of programming, which the author and others may not understand
Afar from that, you don't have any downvotes on it, so why do you think something is wrong?
14:18
This error is confusing me so much.
0
Q: InfixDictionary<T>: Datastructure for Infix String lookup

TraubenfuchsI needed a datastructure to quickly find all previously inserted values that have the given string as key or substring (full text search). At first I tried out some tree structures (infix trie/tree) and was shocked by the slow insertion time and memory usage. That's when I developed the InfixDict...

@IsmaelMiguel, I cleaned up some of the grammar and stuff, so that might solve some of those concerns
@Quill It really solved those concerns
@Quill The questions doesn't have , that's why I went with the full OOP variant
@IsmaelMiguel Okay.
Also all of those comments are now Obsolete, too @mods
They were cleaned
But you may be right
If it had , I wouldn't answer with an OOP alternative.
If it really is a question, I agree with yours being the accepted one
14:25
@IsmaelMiguel that last sentence...
Also, there's no need for losing reasons, you just do the opposite winning reason
maybe it's Lost in Translation... but..
that's not something you have to "agree" on
in the end it's OP's choice what answer to accept
@Vogel612 I can still have an opinion
@Quill Can you explain a little better what you meant?
@IsmaelMiguel Here, read my revisions, it might help: codereview.stackexchange.com/posts/102065/revisions
@EBrown yes
14:30
@EBrown IDK, I have no one on ignore. But I would think the starwall is the starwall, and the transcript is the transcript; ignoring removes/hides one's posts from the transcript only.
@Quill "There is a way to do this inside the function, but I couldn't figure out how." <-- You could use the object arguments.callee
@IsmaelMiguel @DanPantry suggested IIFE earlier
The choice for VB.NET on this project is so bad.
@EBrown Is it do-able in VB.NET?
@Mast I just get really odd bugs.
14:33
@EBrown Bugs are usually not caused by a language.
@Quill I'm just giving an alternative
@Mast VB.NET has no unchecked context. Thus the bug is caused by the language.
@IsmaelMiguel as am I
@EBrown Usually if you get a bug you think is caused by the language, you're having a design flaw instead.
You confused me now
14:35
@Mast I actually think I have a configuration flaw, instead.
@EBrown Now that sounds familiar.
Somehow, this works fine locally, but not on the remote IIS server.
Yea, that's why I stopped writing VB.
I wrote a FFT once in VB which only worked on less than half of the computers I tested it on.
That stuff never happens in C++/Python...
@EBrown - check out: First-post review queue FAQ
0
Q: Numbers, pairs, and a difference

Simon André ForsbergI liked the Finding number of number pairs with given difference question so much (despite its brokenness) that not only did I review it, but I also decided to write up my own implementation of it (following the approach I described in my review). I was intrigued by this comment: You need the...

14:39
@rolfl I'm not going to spam-edit peoples questions. I suppose I'll just not bother if you're going to expect me to constantly edit peoples stuff.
Did you read the post that fast?
I am not expecting you to spam edit things.... I am asking you to give other people the opportunity if you don't want to.
I'll just stay out of it, then.
Quick, downvote 2 things on PCG
I'm 2 points from tying it with PPCG!
Or 1
14:42
@EBrown That's what I do too. So that works for me.
Apparently you all seem to have a much stricter (at times) interpretation of the rules.
I think it's less about the rules and more that the First Post review queue is meant to get new users extra attention, right?
Not exactly
It is about making the site a better place for everyone, including us.
It's more about us checking what the new users are posting and to teach them right from the beginning
14:44
If me selecting "No action needed" because the post seems fit messes other people up, then to hell with it. I'll leave the damn thing alone. I don't have time to sit here and argue/discuss/whatever with people about what is/isn't 100% appropriate.
That's a small part of it... but important, yes.
And also helps to filter some spam
The most important part is.... your own reputation
2
6
Q: Numbers, pairs, and a difference

Simon André ForsbergI liked the Finding number of number pairs with given difference question so much (despite its brokenness) that not only did I review it, but I also decided to write up my own implementation of it (following the approach I described in my review). I was intrigued by this comment: You need the...

@CaptainObvious 6 up-votes already?
14:45
@CaptainObvious You're late
I am voting to close because this is not an optimization but a code review question. To optimize remove the Thread.Sleep() calls, write to a string and in the end display the string. Separate calculation from visualization. — ja72 56 secs ago
@IsmaelMiguel @Quill argument.callee breaks strict mode, don't use it
@DanPantry He could then use var fn = function RPSLZ() [...]
And then he stores the results on fn
Wrapping it in a (function( ... ){ [...] })( ... )
Or ignore it and simply wrap it up
@IsmaelMiguel He could do that, but then he would be using non-standards compliant code by using argument.callee. So he shouldn't.
14:58
@DanPantry I'm saying without arguments.callee
@Quill Not an answer
cv.lambdaexpression.io/ could save ~285 B
styles.css could save ~1.2 KB
vendor.js could save ~116 KB
main.js could save ~10.4 KB
!!! 116kb saved with gzip
and yet s3 doesn't support gzip by default, you need a forward proxy a la cloudfront or to DIY :(
On a website, I'm using a PHP code that joins CSS and Javascript files together and sends them compressed
Instead of sending 30 Javascript files, it sends a big one but compressed
my code is already concatenated and minified - this is after those two bits
Holy crap I am about to murder Sharepoint/TFS/IBM.
15:03
Need help?
@IsmaelMiguel not a great answer, but looks legit to me.
@Mat'sMug It is more asking a question to a project for himself than answering the question
@EBrown we have a TFS/sharepoint guy in house whats up?
It basically says "your code seems over-engineered, you don't really need that Service thing". The questions are rethorical...
@DanPantry I already fixed it. Apparently, Sharepoint 2013 + TFS + IIS8 = no 32-bit applications on IIS unless you run a specific command.
15:06
@Mat'sMug You're right. Feel free to decline the flag
(If you haven't done already)
And I have to use a 32-bit application mode because an IBM driver I have to use is 32-bit only.
0
Q: Updating an inventory with R using apply functions

syntonicCI have created an inventory that works via QR codes. Briefly: the QR code codes for an email with the book/student checking it out. This info is send into a table which is compared to a master table (the inventory) and the changes are then made accordingly to update the master table. The updati...

1
A: Retrieving creation date from Parse.com data

nhgrifYou have left commented code in. There's no reason to leave commented code in--we should let source control handle that. If we don't need it, eliminate it completely, because huge chunks of commented code are simply clutter that some maintainer will eventually delete anyway. And we shouldn't l...

@nhgrif you... answered a Parse.com question?
I ignored all the parse.com stuff
15:11
re-pimpin
Alright, so that fixes that issue.
Also, the stuff he was asking about. And addressed the more universal mistakes that he is making and would be repeated no matter what else he wrote after that.
Sorry about any random stars you seeing flying around today, I still haven't fixed my bot's star reporting functionality, and am doing tests
@Quill Oh good, I thought I was just hallucinating.
@Quill Stars flying around?
15:16
yeah. I thought it'd be a better metaphor than the literal truth
@Quill With him you have to be very explicit.
3
Having only 8 flags left for today on here feels weird compared to SO
Our unanswered rate is soo much lower than SO.
Especially on the C# tag.
I didn't answer anything for a while :(
@EBrown Yea, last night we had what, 94.6% answered or something?
That's really good.
15:20
@Mast Yeah.
It's nuts.
@EBrown Was that about me?
Everything above 90% is quite good actually, but we're freaking excellent.
The tag in particular is 80/4035 unanswered.
15 hours ago, by Duga
There are 1481 unanswered questions (94.4024% answered)
As of 15hours ago
@EBrown That's almost 2%.
15:21
@Mast On SO it's like 165k/850k...lol
What's the policy on answering old unanswered questions? If I got bored and wanted to review some old questions would it be frowned on if they were relatively small suggestions?
@SuperBiasedMan we call old, unanswered questions 'zombies'
@DanPantry Is there an easy way in JavaScript to force the DOM to re-render immediately?
hands @SuperBiasedMan a gun
go shoot some zombies.
3
@EBrown er.. what do you mean by 're-render', precisely?
@EBrown You can remove and re-add the classes
15:23
So I tried doing this:
$("#searchingResultsFound").eq(0).html(items.length + " results found. Please wait while we render your items.");
But the problem is you don't see it change.
@IsmaelMiguel I don't think he's trying to cause reflow
Because the script immediately enters a loop right after that.
@SuperBiasedMan Go ahead, totally acceptable.
Oh good, maybe I could be productive at work!
@EBrown Remove .eq(0). Please
15:24
44
Q: Call of Duty - We're on a mission

Mat's MugThis is a direct reply to Grace Note's recent CR review, more precisely the following part: (emphasis mine) Unanswered Tying in to all of the above is one of the most pressing concerns about the site I had in my own review, which is the gigantic pool of unanswered questions. There are, ...

@IsmaelMiguel Doesn't fix my problem.
@EBrown But shouldn't be there anyway. I'll ping you in the Javascript room
Hm. My website doesn't work on my phone, but it does on chrome. welp
0
Q: Count number of isosceles triangles in a set of points

fabianoGiven a set of points. What is the number of isosceles triangles that can be formed with the combinations of all points in the set ? It is sure that 3 collinear points never exists in the set. This is my code: #include <stdio.h> typedef unsigned long long llu; typedef struct { llu x,y; }...

You might have better luck on codereview.stackexchange.comKristján 55 secs ago
15:42
They are painting somewhere in the office, and now that's all I can smell.
The fumes are giving me a headache.
@EBrown You don't have the option to temporarily work from home?
@Mast Nah, borrowing the van the company owns while my car is in the shop right now.
@DanPantry Still need help?
So unfortunately I have to come in while they paint because they need the van.
15:56
People really enjoyed me pointing out how to reverse a string in Python.
@IsmaelMiguel yeah. tested it and itw orks on windowsp hones too, its just safari that isnt playing ball
@CaptainObvious Can anyone confirm the validity of the method I proposed?
@Morwenn I understand some of those words
It seemed to work in my head so I thought it could be a good idea and wrote it down in case I forgot about it.
BTW.HomeTime.
16:00
@DanPantry Come to the Javascript room. I can try to help you later
@Morwenn seems correct, but the disclaimer is important
I think you may want to build the triangles with that instead of couning the equidistant points
@Vogel612 You're right, I will put an "untested" disclaimer to make it clear and test meanwhile.
no the other disclaimer
double counting..
so the starting point of your algorithm sounds promising, basically you build an undirected graph for each point
and then search through that graph for isosceles triangles
16:03
@Morwenn, it was a tad grammatically confusing
since you cannot reasonably determine in the graph, which points you already processed, you need to "externally" keep track of it
@Quill I had trouble formulating it.
basically you consider each point you have as a possible "apex" of an isosceles triangle
Well yeah, it can probably be represented with graphs. I wrote the algorithm with basic tests and it seems to work.
I took my hand to improving the formatting, but it may be wrong, feel free to roll it back
16:08
@Morwenn actually you don't even have to build a full graph
since you only need to consider one point (and the relative distances for that point) at a time
@Quill Don't worry, it looks better like this. Thanks :)
Zak
Zak
16:29
I decided to go and help people with some simple VBA problems. Now I appreciate how people get burnt out.
aw, I'm out of stars :(
Hard pimping applied.
@Zak Just use TS on something and wait for an RSA.
You can run out of stars?
Yeah.
You get like, 20 or 30 a day.
Simon has the exact numbers.
16:41
Apparently so does @Mat'sMug. ;)
I rarely run out, unless we get a star-train going.
2
I've been a fool. I should save mine for a rainy/starry day...
They reset every day, at 00:00UTC.
They also rain every day AFAIK
4
For example: I obligatorily star "lol".
@EBrown You do that too?
16:43
@Mat'sMug per room, per day that is
@Vogel612 indeed
@IsmaelMiguel It's starbait, has been for a long time
@Quill Fact.
@Quill I star it just because
Usually greetings are starbait as well.
16:44
It's a cultural thing. Respect.
Yeah I think I said hi when I first came in a couple days back and every single hi got at least 2 stars.
I'm actually more seriously entertaining the idea of whether or not I should find a new job.
I don't know any other room that stars "lol"
look at all the star bait.
@EBrown that's a sign you probably should ;-)
16:46
I bricked VS & IIS simultaneously today. It's been a good no good terribly awful day.
@Mat'sMug I did in WPF.
I don't remember ever running out of stars.
@Mat'sMug I don't think I should so much as, I just hate this area as far as the environment.
It got unstarred, and they thought it was a misclick.
I don't like Detroit at all. (Or Michigan in general.)
16:47
@RubberDuck while you're here.. any thoughts on implementing a PermissiveAssertClass in VB.NET (without Option Strict on) and exposing that for RD unit tests?
BTW, I have the top star in the WPF room now: chat.stackoverflow.com/transcript/message/24806924#24806924
@EBrown You may be able to find a company allowing for remote work or offering relocation.
11
A: Why can't we have more stars in chat?

QuillStars are designed, like upvotes and close votes, in that, they should be used sparingly to determine the worth of questions, or in this case, chat posts. Whilst in The 2nd Monitor, starwalls and pointless starring are somewhat commonplace, other chat rooms don't take so kindly to over starring ...

lol
4
@Mat'sMug Quit baiting me. >.>
4
16:49
@Mat'sMug elaborate please.
@Mast Well I have a recruiter that has been finding things for me back in Ohio recently, I just need to wait until my lease up here is over.
@RubberDuck see VBA Rubberducking
0
Q: Advice on Python code refactoring

VincentHI wrote a small code in Python to conduct a backtest. My 'rebalance' function is very slow and I would like to improve it. I need to profile it but I would welcome any opinion on how to refactor my code nicely. All recommendations are welcomed. def Rebalance(self, currentDate, data, VolatilityFo...

http://www.commitstrip.com/en/2015/08/27/m-the-facebook-personal-assistant/
CommitStrip - Blog relating the daily life of web agencies developers
M, the Facebook personal assistant
CommitStrip
1440693186
2
@EBrown Much better?
16:55
@Mast Well the jobs are about the same, a little higher paying (but not much for some of them), but I liked the are they are in really well.
@CaptainObvious Advice on title refactoring.
Sounds good.
Now, I need to do this C# and .NET exam.
@EBrown MSCTS?
Or, "Assessment" I should say.
@Mat'sMug Nah, some online thing to test my skills to help find jobs that fit me.
The recruiter I am working with sent me them.
SHL/CEB is the group.

« first day (845 days earlier)      last day (3471 days later) »