« first day (696 days earlier)      last day (3304 days later) » 

1:00 PM
0
Q: Implementation options for alternate behaviour of methods

agomcasI am working on an API that is mostly intended to be used interactively/little scripts. There are some classes with methods that could act slightly differently depending on the intention of the user, I have explored several options and would like to get some feedback on caveats, and alternative o...

0
Q: Truncating integer using string manipulation? Better solution?

simplicis veritatisI have a class with a data member that needs to be rounded up to a 2 digit integer, irrespective of the number of the input digits. For example: roundUpto2digit(12356463) == 12 roundUpto2digit(12547984) == 13 // The 5 rounds the 12 up to 13. Currently my code looks like: int roundUpto2digit...

 
31 mins ago, by RubberDuck
@nhgrif BLAME THE EGG
 
ya
 
Heya.
 
user image
4
 
have you guys seen the stack egg yet?
 
1:12 PM
ya
 
@Malachi What do you think we've been doing all day?
2
 
lol
I just found it.
of course I just got to work....
 
@CaptainObvious I'm not up-to-date with CR rules. I guess this question is on-topic but I want somebody to confirm :)
 
1:25 PM
@Morwenn example code
 
Greetings, Programs.
 
@SimonAndréForsberg Oh right, it should have been obvious...
 
Greetings @Donald.McLean, How are you doing? :)
 
@DJanssens Getting ready for another glorious day of writing code.
 
1:31 PM
Monking CRitters
 
Pleased I could make you feel at home, then.
 
puts on heroic playlist youtube.com/watch?v=DeXoACwOT1o, makes coding look like you are saving the world @Donald.McLean
 
I am .... 42, and only now discover my daily grind is better with a soundtrack? ^^^ ?
 
with a heroic soundtrack your coding improves by 211%, it's proven to be true in 89% of the cases. Statistics..
 
1:35 PM
Make that 88% ......
 
How are you doing @rolfl ? :)
 
www-03.ibm.com/employment/ca/en/newhire/regular_faq.html <-- I have to complete my PBC ... not particuarly thrilling.
 
:p
 
@DJanssens I have my own playlist of 3553 songs. But thank you.
 
@rolfl That whole document reads like "Talk to your manager"
 
1:40 PM
I had a job interview today. Stressy stuff.
 
It took me almost twelve years to go through our entire music library and rate all the tracks.
@DJanssens Yeah, there's one good reason why I've been working at the same place for 17 years.
 
> We are currently offline for maintenance
 
wut?
 
A sign that I should stop playing the egg.
 
the stupid chia pets broke the stack
 
1:42 PM
We are disabling the eggs for a moment while we optimize them a bit. They'll return soon!
 
@Donald.McLean Well working with Hubble is pretty cool, no? It sounds cool.
 
which reminds me... stackoverflow is playing 600 + days.
and they still have problems getting more than 3 hearts in any category..
 
time to work on my bit shifting
 
We are disabling the eggs for a moment while we optimize them a bit. They'll return soon!
 
@StackExchange , you are a little late to the party
2
 
1:44 PM
just as always...
 
The job offer is payed by my university, where I will work in a start-up company for 1 year. It's a 3 man startup, that works with new technologies Android, Django, etc. It looks promesing, but I have no idea if it's good for your resume.
I'm wondering if it would be better to join a big coorperation instead, as my first real job entry.
 
@Vogel612 What's even worse: PCG has won the internet once!
 
shame on them!
anyways, IMA do something productive
 
@DJanssens That's one of the other reason. And the benefits are exceptionally good too.
 
I don't like data entry. I mean, the pay is the same, but... ugh.
 
2:08 PM
Idea for blogposts. Should anything else be in it? drive.google.com/file/d/0B0oUmPQnU3BuM1JaZUhrTDNkSVk/…
 
what were those called? yamaguchi or something like that?
 
@JeroenVannevel Why is mocking the tool of the devil?
The Tamagotchi (たまごっち) is a handheld digital pet, created in Japan by Akihiro Yokoi of WiZ and Aki Maita of Bandai. It was first sold by Bandai on November 23, 1996 in Japan. As of 2010, over 76 million Tamagotchis have been sold world-wide. Most Tamagotchi are housed in a small egg-shaped computer with an interface usually consisting of three buttons, although the number of buttons may vary. According to Bandai, the name is a portmanteau combining the Japanese word "たまご" (tamago), which means "egg", and the English word "watch". Consequently, the name is sometimes romanized as "Tamagotch" without...
 
there was another series of these as well and I can't think of the name of those either
 
@Donald.McLean It indicates tight coupling, takes a lot of code to setup and is brittle: you're artificially returning values in your test setup that might not be a true representation of the program (e.g. returning -1 when the live code returns null)
 
Giga pet
 
2:13 PM
I would only advocate using it in legacy software
 
What jerk reset the egg?
 
@RubberDuck StackExchange perhaps?
takes two people to reset the egg
 
boooo
 
soo... it's you playing??
 
0
Q: Data Access Layer code for MSSQL Databases

Mr. CWe use this class quite a bit for boilerplate / glue that allows web services and applications to call databases. This code is very important, and I'd like to ensure I'm getting the best performance possible. Any and all feedback is welcome! If there is a better / more efficient way of doing som...

 
2:25 PM
@JeroenVannevel True, but sometime, there just isn't a good substitute. Like with databases transactions - often it's easier to mock them.
 
Gave a Powershell script to IT admin. It worked on one server, but failed to move/delete files on another. I presume this is a file permission problem. Good presumption?
 
yes.
assuming the OSes and other environment variables are the same
and it was executed in the same working dir
 
The script itself is in a shared network location. And some VM runs it or something.
 
0
Q: Python: Slow data processing problem (looping over an array with context to prior elements)

way218this is my first question I am about to ask here on this great plattform. I am comparably new to python and I have a problem i can not find an efficient solution for. I have a binary file with alternating uint8 and uint64 data stamps. I read those in by using the following line clicks = np.from...

0
Q: Javascrip certainty of two comparative values (A/B results certainty)

Cyril N.I'm trying to output the percentage of certainty of two comparatives data. Here's the resulting code : function calculatePValue (c_t, c_c, v_t, v_c) { var d1 = 0.0498673470, d2 = 0.0211410061, d3 = 0.0032776263, d4 = 0.0000380036, d5 = 0.0000488906, d...

 
I want one of these for real, just like a Giga Pet only it would be a Giga Stack
 
2:42 PM
0
Q: Meta-class to allow inspection of all __slots__of a class in Python

SmCaterpillarIf classes provide __slots__ and at the same time inherit from another class also providing __slots__, there is no straightforward way to access and list each and every slot of the class. Especially when you consider chaining of inheritance. I've written this meta-class that adds the __all_slots...

 
You might want to visit codereview.stackexchange.com at some point. Your coding style really needs work. — Dason just now
 
True, that ^^^
 
2:59 PM
Still stuck with this script not working even though permissions appear correct now.
 
0
Q: More than 2 conditions for an IF statement?

Alex BThis is for a jigsaw-like puzzle game. I want it so it goes directly to the next scene after all the pieces are in place. So beside each "map piece" is the coordinate where it will be in its proper place. BUT //surprise surprise// it doesn't work :c is it even possible to put so many conditions ...

 
We are back at full functionality and all stable. We'll keep an eye on the impact of recent features throughout the day.
 
@CaptainObvious off topic. should be on stack overflow
 
3:14 PM
Yay, CR Egg graduated again!
 
I'm not completely following the egg-trend-thing :D what did I miss?
 
It's March 31st, the yearly prank day
2
 
Isnt that supposed to be the 1st of April?
 
looks like they made a combo this year
 
Didn't you hear? They changed it last year because people always expected the pranks to be on April 1st.
Totally took the fun out of it
 
3:22 PM
it's Easter Fools this year
 
And what's about the egg?
 
What's up with the easter egg thing?
I got an email from Twitter about it, but I don't see any eggs lying around.
 
Okay. I'm done. That's twice now someone reset it....
 
I've got the hearts filled now.
 
@RubberDuck I agree. WTF happened?
It takes two people to reset the thing. Why would anyone reset it?
 
3:37 PM
idk, but I'm done.
 
Public beta!
 
@SimonAndréForsberg Doesn't it take two turns of majority votes?
 
@skiwi It takes at least two people, with majority votes AFAIK.
I've never voted to reset it personally.
 
Me neither.
I stopped, I don't have time to graduate the site.
 
Hiya Code Review!
How many of you are working on StackEgg? :?
 
3:43 PM
Hi, @Unihedro!
I was, but I stopped.
I got my site to public beta, but didn't have time to graduate it.
 
It's not going well for us apparently.
 
:[
 
It saved my game, anyone want to help?
Or do we each have our own personal game?
 
All players on a site share the same game.
 
3:45 PM
Do you know what Twitch Plays games are? StackEgg runs on that basis.
 
OK
No.
 
Each site has the same egg instance.
Majority votes rule.
 
I won't help at the moment though. Maybe I will check the egg later.
 
OMG PPCG just raided us
Help eliminate the enemy!
 
More upvotes!
 
3:55 PM
That's proof then, PCG users are just evil.
 
Flag them.
We could warn them to stop before we shut their game down, but they will just shut ours down.
 
Considering writing a MSE about it.
With the risk of being downvoted to oblivion.
 
2
A: Find the next 7 o'clock NSDate

nhgrifThere's a much easier approach to this problem. We can use NSCalendar's nextDateAfterDate:matchingComponents:options: method to find both our next 7am and 7pm. Then it's simply a matter of comparing these values and returning the lesser of the two. NSDate * nextSevenOClock() { NSCalendar *...

 
In fact, I think I will write on MSE about it.
 
Upvotes ahoy!
 
4:00 PM
Which wretch keeps voting to restart!
I can't graduate the site by myself!
Awww, wretches!
I helped, though, because I tried to click ASK, but it changed so I clicked RESTART.
 
0
Q: When something that was supposed to be fun became not fun

Simon André ForsbergStackEgg! What a great invention. Probably the best thing to hit Stack Exchange since the invention of unicoins! Very entertaining game, very fun to play. Many users have probably spent several hours playing this. And April Fool's day is not over yet. However, where there is great inventions t...

 
Darn, they already won their game.
 
@Hosch250 they've won several times already.
My suggestion: Don't go down to their level.
 
Yeah, they were awful close.
Yeah, I decided not to.
 
Prove that Code Review is not as evil as PCG.
 
4:08 PM
Yeah.
 
Violà. Now users are flagging the PCG messages as well.
 
Finally I understand what game u guys talk about, I didnt check the codereview frontpage :D
what are those raids, tha they talk about?
 
They are closing our games.
Restarting them, I mean.
 
That's pretty lame :D
 
> The point of this question is not to announce any site as 'the winner'
 
4:15 PM
@Rainbolt Spoken just like a user who has 2.8k reputation on PCG. — Simon André Forsberg 15 secs ago
 
Insightful @SimonAndréForsberg ^^ :)
I was overheating to be part of it, but you're right.
 
0
Q: Polyglot function to sum all the numbers in an array in Javascript and PHP

Ismael MiguelThis, again, is a very simple code. This is my 2nd polyglot question and this time I've tried to do something that I miss sometimes in Javascript. PHP has the array_sum() function, but Javascript has no direct equivalent. So, I decided to make one that works with both languages! Here is the c...

0
Q: The information system of the institution

fak3i've made a small project from my institute, i've 5 classes, in 4 classes(Teachers, Students, Group, Subject) i've constructor and get&set methods. In main class i've all functional realization. I've a question, how to make this code better and easier. package com.company; import java.util.*; ...

 
I have no idea what I'm doing, randomly pressing ask/answer :D
3
 
:p
 
@Rainbolt Stack Exchange is a network where the whole point is to be constructive, to ask good questions and to give them the best possible answers, not yet another site for causing flame-wars, raiding-wars, or any other kind of wars. — Simon André Forsberg 10 secs ago
 
4:21 PM
I have to leave and get school done.
Sorry, but I'll leave you to fight this out yourselves.
 
@SimonAndréForsberg sigh
PPCG is cheating all along! That's how they got the graduation note before CR!
... I think
 
they have had no notice of graduation, as far as I know
we have ;-)
 
may I ask what graduation is? :p
We are in public beta again :D
 
no idea
 
Those flags in the PPCG chat sure brought mods flying.
 
4:25 PM
Fun times...
 
@Unihedro They get a StackEgg note while we got a real note.
 
:D
Yay CR!
in Java on Stack Overflow Chat, 30 mins ago, by Unihedro
The factioning on Stack Exchange is wayy more complicated than that of factioning on Stack Overflow -_-
 
To be clear, I posted Simon's meta post in to the general moderator's chat room. All mods are probably aware of the situation now.
That is the likely reason that so many mods are in the 19th.
 
:)
 
@rolfl That, and the flags.
 
4:32 PM
That too.
 
Someone flagged a bunch of the raid calls.
 
Yeah, I saw some of them go through as well.
 
@rolfl Seems like the general thought on the MSE post is: "This was not what was planned".
 
It was not planned....
 
Although I have not seen anything said by a SE employee yet.
 
4:40 PM
There's no point in this. You don't need the restart button if you want to be a jerk and harm another site's game. — balpha ♦ 5 mins ago
 
in The Nineteenth Byte, 26 mins ago, by Chris Jester-Young
@Rainbolt That is actually not by design.
Chris is the newest SE employee
 
Meh, they should be disqualified for general unprofessionalism.
 
They are a gaming site.
that is what they do. It is in their nature.
 
I never used to take games seriously until I saw Arqade.
 
4:43 PM
I think the intention was to encourage each site to have fun, and sure, to game things, as much as they want.... but, I think the spill-oiver on to other sites is unexpected.
 
This day completely changes it in the other way.
 
May I ask, why is the guy so offended by the fact that someoone flagged him in chat? Does flagging someone result is so much trouble for that guy?
 
@DJanssens you get banned from chat for some minutes
 
30
 
Thanks @Unihedro for discovering what was going on with the restarts. You've earned me 111 MSE rep so far today.
Only two downvotes on my MSE question. Too bad votes are anonymous...
 
4:45 PM
lol
 
Thanks for stopping me from five hours of insanity. I'm much better now.
 
Has anyone tried Tidal, the new music streaming site?
 
@DJanssens Sounds like it gives you nice waves
 
It looks like a Spotify clone :p
 
Arqade is a close-knit community too, that organizes itself frequently as well. But we organize for fun, not to ruin other people's day. — John 1 min ago
^^ that
 
4:56 PM
@SimonAndréForsberg Seems like you'll repcap today!
 
whats the point of having all hearts? :)
 
@DJanssens So we can win.
 
:)
more hearts = more xp?
 
We need to get more users at our game.
Our site has 0 traffic hearts.
 
:/
 
5:11 PM
Uh oh, it almost got closed :(
 
why?
 
Too low traffic.
It said it was neglected.
OK, don't downvote any more, a single close does it much better.
 
then we wont make it :D
Without mmore participants :p
 
5:18 PM
This is why we can't have nice things. — Anna Lear ♦ 2 mins ago
 
Have you guys seen the google maps easter egg?
 
Not yet.....
 
@DJanssens Will PPCG ruin that one as well?
2
 
Now I have ;-)
 
Although this kind of takes the question off-topic, reference to an interesting algorithm won't pass software quality muster. After all, the algorithm can be perfectly sound but the devil is in the details. Witness why crypto functions are routinely hacked via side channels (en.wikipedia.org/wiki/Side-channel_attack) -- How would you how implementation correctness? You would basically have to show that, after applying the central limit theorem you have a p value < .01. I vote to re-ask this question on codereview and let it grow from there. Thoughts? — Christian Bongiorno 41 secs ago
 
5:35 PM
Pretty hard to win by myself :(
 
Not compleyly on your own.
 
I'm clicking sporadically :p
@skiwi nice one ;)
 
Some people are using a bot to play for them.
 
I'm just a little bit evil ;)
 
You can easily write something to do that in selenium in 10 mins :p
 
5:38 PM
We should enlist PPCG's help.
I don't know selenuim. They are using JS.
After all, they are about 4 ahead of us.
 
ah that can work too
lol someone did restart oO
there is a raider <,<
bah
 
I am officially withdrawing from stackegg.
 
Too bad
we were half way of winning the internet :p
the vote for restart is really fast here, I wouldn't be surprised if they use a script for that :/
 
Meh, time waster, and more frustration than it is worth, and not dependent on your own, or community involvement, but on the lack of interference from outside.
 
:p
 
5:49 PM
who is trying to reset and why?
 
@Malachi You must be new here: meta.stackexchange.com/questions/252393/…
 
Well, my respect for PPCG surely has decreased today
 
Luigi is trying to reset. Mario keeps getting the princess.
 
I can't help any longer, I need to get back to work.
 
aw, we are almost there :
 
5:55 PM
Btw, we're Mario in that metaphor.
3
 
'All hearts are full, what to choose now' - everyone
 
Hiya CR! Thanks for the time. I'm seriously tired after playing the egg game for six hours. Night!
 
Goodnight
Who else is playing it atm? :)
 
@skiwi Mine too.
 
6:14 PM
Congratz CR, we won the internet.
7
 
Who was playing?
 
I think we might have had PPCG helping.
 
Lol the guy that's keep voting for reset, pretty sure its a script.
 
what was the point of the reset button if not to encourage people to click it on other sites?
 
6:19 PM
That. I'm not even playing and that...
 
0
Q: Flash embed angular directive

RonnieI have an app that uses HTML5 video and our customer still needs to support IE8. Gross. Anyway, I came up with this directive in Angular to for embedding a SWF for when I need to fallback to Flash. It works fine so far, but I would like to see if there is anything I can do to improve it. Can any...

 
@JonathanLeffler, these are good suggestions for a code review but I doubt that the naming choices or magic numbers are what is causing my current problem. — evenex_code 1 min ago
 
@bazola It has been said by multiple moderators and SE team members that this was not the intended use of it.
 
i just ask because I can't think of any other uses for it? i only played for a couple minutes at the end though
 
Could this run VS Community, you think?
 
6:29 PM
0
Q: Text-based Adventure (C++)

r4m80I'm new to C++ and I'm using multiple files, including header files for my text based adventure. One of the header files is used to store the other header files used for different directions. So I've got a directions header file, that includes the header file for the direction "left", and the hea...

 
It would be tight, certainly in the hard disk area I think
 
6:41 PM
9
A: What is the optimal strategy for the launched site in Stack Egg?

PearsonArtPhotoSo far as I can tell, this is the optimal strategy for the launched product. Every round, choose the top item from this list. If an item is 4 hearts, then go on to the next level. If an item is red, it deserves immediate attention. Raise the Questions via ask to 4 hearts. Raise the Answers via ...

I am going to try that tactic ^^
^^ strategy seems to be working
 
0
Q: Laravel photo uploader class

AkarI'm trying to separate logic from the controller, so I created this Upload class. It is not a big class, just a class so that the controller doesn't know about the logic and stuff like that. <?php namespace Dnianas\Uploads; class Photo { /** * The image filename. * @var str...

0
Q: Ajax Done Callback to prevent requests from interrupting each other

gv0000I am trying to make sure my ajax does not send another request before it receives a reply. To the best of my knowledge the code I will post is supposed to do this but I am still getting a -1 for $return. The ajax request repeatedly gets the echoed value of a function which is using a bat file to...

 
@SimonAndréForsberg does seem to be working.
 
Now I only wish it was possible to speed this up.
 
6:57 PM
Me too.....
Did anyone see this?
Current status http://t.co/Lksobu84sZ
2
 
@RubberDuck good one
 
I'm officially out of work to do until after 5... that sucks.
 
Problem solved. Told my mom the Surface 3 has a usb port, now she wants it as well. Tablet incoming!
2
 
Cool, your mom knows what a USB port is.....
 
That, and I taught her the ipconfig release flushdns renew flow
Saves me time from having to go downstairs and do it myself
 
7:02 PM
crap. voted incorrectly
-3
Q: Why am I suspended from chat?

RainboltI just got suspended from chat for posting inappropriate content. The message was: Just restarted movies and tv How is this inappropriate?

 
@SimonAndréForsberg Wait, so StackExchange's answer is to ignore the problem?
 
someone playing the game isn't quite getting it me thinks.
 
@durron597 Not sure what their answer is. Read more here:
44
Q: When something that was supposed to be fun became not fun

Simon André ForsbergStackEgg! What a great invention. Probably the best thing to hit Stack Exchange since the invention of unicoins! Very entertaining game, very fun to play. Many users have probably spent several hours playing this. And April Fool's day is not over yet. However, where there is great inventions t...

 
This seems like a good code snippet to do a Code Review on, to get some pointers — Jonesy 1 min ago
 
@SimonAndréForsberg I read that
Their answer is "good job code golf for being jerks, but we're not going to bother doing anything other than writing this answer and updating the not-so-frequently asked questions"
 
7:07 PM
In fairness, now, it's probably not the PGC folk being jerks.... just the people they taught the process to.
 
And seriously, it's a game. They found a cheat.
Does anyone else remember NES?
 
@rolfl Still, how hard is it to, say, ensure that you're only voting on the egg of the site of which you have the most rep
 
It's not that big a deal really.
 
@durron597 I'm not entirely sure how to interpret that...
Seems like someone is not getting Meta SE...
 
Whatev. You're right @RubberDuck, in 48 hours it's not going to matter anymore
2
take care all, back to work
 
7:11 PM
@RubberDuck I primarily hope they will learn something until next year.
 
> Congratulations! Your Site has graduated and is now a full member of the Stack Exchange family.
 
@Mat'sMug if only.....
 
> Help! Your Site's quality stat is dangerously low. Something needs to be done about that!
gosh I'm going to waste my entire day if I don't close this crap
7
 
^^ welcome to my world
 
gotta work, later CRitters!
 
7:16 PM
Whatever you do, @Mat'sMug, don't read this:
46
Q: When something that was supposed to be fun became not fun

Simon André ForsbergStackEgg! What a great invention. Probably the best thing to hit Stack Exchange since the invention of unicoins! Very entertaining game, very fun to play. Many users have probably spent several hours playing this. And April Fool's day is not over yet. However, where there is great inventions t...

 
@SimonAndréForsberg Your inbox must have been going mad today
Does dinging @Simon make it worse?
 
@rolfl It has.
@rolfl Luckily, it does not.
 
@Simon - good, just checking. I could probably help, otherwise.
 
@SimonAndréForsberg Why?
 
@Mat'sMug because you will waste even more time.
 
7:21 PM
lol
 
@SimonAndréForsberg You will not be watched this week.
 
7:42 PM
@Donald.McLean Not by anything other than NSA at least.
4
 
8:31 PM
0
Q: Decreasing the Complexity of my frog jumping algorithm Ruby

user2770919I took a test on Codility for coding the minimum number of frog jumps to reach from position x to position y: A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog alwa...

 
Yay, a new blogpost! Everybody is so happy with it that they just want to read it and upvote and comment and share and beam it straight into the sky!
 
9:00 PM
0
Q: Codility PermMissingElem- find the missing element

user2976568Here is a question I tried from the Codility train website: A zero-indexed array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one element is missing. Your goal is to find that missing element. Write a function: ...

0
Q: feedback on class constructors using copy-swap idiom. Does it comply to the idiom

James FrancoI came across this post which explains the copy and swap idiom. However I could not find this idiom applied to classes that have base classes.Following is my attempt of a copy-swap idiom applied to class constructors and assignment operators. In the following code class foo inherits from class ba...

 
9:23 PM
@JeroenVannevel Did you put your blog on your resume?
 
It would probably be a good asset.
 
This StackEgg thing is kind of addictive
 
So you are the other one?
I've been on/off all day.
I'm helping both PPCG and CR ATM.
 
Only found it like 10 minutes ago but yes I am on right now
Does it only pick up the highest voted option?
 
9:30 PM
No, I don't think so.
It is just that things decay fast.
@Phrancis Apparently yes, just reading the help.
 
Ah that explains a lot
 
Leaving to do school again, I haven't gotten enough done today :(
 
So the code works but you just want a code review? If that is the case, you might try posting a question on codereview.stackexchange.com. — Mike Brant 50 secs ago
 
That Traffic metric is really hard to ping up!
 
answers and quality
quality comes from downvoting
users come from up voting
if you start from scratch you should be able to go in this order --> Ask --> Answer --> upvote --> downvote
 
9:44 PM
By the way, if you need advices for a refactor, you can go to Code Review. Just be sure you're on topic before posting. — Pierre-Luc Pineault 48 secs ago
Yes, if the code works as intended and you're looking for improvements, Code Review will be happy to review your large amount of code :) — Phrancis 1 min ago
 
10:00 PM
0
Q: StackEgg autoclicker

JonathanI wrote a quick and dirty auto-clicker for the stack egg. How bad is it? function doRound() { var stats = []; $(".egg-stat").each(function () { var title = $(this).attr("title"); title && stats.push(parseInt(title, 10)); }); var i = stats.indexOf(Math.min.apply(M...

 
Well this became popular...
55
Q: When something that was supposed to be fun became not fun

Simon André ForsbergStackEgg! What a great invention. Probably the best thing to hit Stack Exchange since the invention of unicoins! Very entertaining game, very fun to play. Many users have probably spent several hours playing this. And April Fool's day is not over yet. However, where there is great inventions t...

 
This stackegg thing is confusing me...
@CaptainObvious Off topic: broken code
 
@SirPython why do you say it is broken?
 
I'm getting an error when I try to run it.
 
@SirPython could be a webbrowser issue. It would be helpful if you would add a comment to the question, stating that you can't get it to work, and ask what browser the OP is using
 
10:06 PM
works in chrome. but only clicks the close button — Malachi 26 secs ago
do you have the egg open @SirPython
 
I'm not sure.
How would I know?
 
I'm holding myself back with all my willpower to downvote that StackEgg question
> I wrote a quick and dirty auto-clicker for the stack egg. How bad is it?
 
@Phrancis it only clicks one button and you can't pick which button
 
@SimonAndréForsberg Sorry that I jumped to conclusions so quickly. I should have left a comment before I voted to close it.
 
it does work
it pushes the button of the lowest stat
ttgh
 
10:19 PM
@JeroenVannevel might be fun to mention in a future blog post: msdn.microsoft.com/en-us/library/dn823749%28v=vs.140%29.aspx
 
@mjolka no experience with this, I'll look into it!
 
0
Q: Implementing Ajax deferred/promise patterns

PhilipI have a testcase where I want to send a request to the server every time a form field change event occurs. The implementation below works as expected until I submit the form and check for any empty values(this is the only front-end validation carried out, the rest is done via ajax). If a field ...

 
10:45 PM
I don't think this question is helpful, even after @Jamal gave advice: codereview.stackexchange.com/a/85544/59481
It still seems to be posting completely new code
Or, somewhat new
 
Well... at least I rep-capped on one site today.
 

« first day (696 days earlier)      last day (3304 days later) »