« first day (431 days earlier)      last day (3588 days later) » 

1:04 PM
@skiwi I'm one of those people who think about it and thought about answering that question. :)
 
@skiwi BECAUSE IT'S AWESOME!
 
But it also needs to be realistic!
This is frustrating... stuff doesn't want to work
 
It's not unrealistic. A cyclotron is actually something that one could reasonably make at home. I've looked into it myself.
 
@skiwi That is the homemade part. He's not thinking about building a CERN. He's thinking about small scale.
 
1:07 PM
If I'm ever going to built a homemade particle accelerator at home, then I want it to be a damn big one.
 
0
Q: Git pre-commit hook written in ruby.

user2152283I am a ruby noob, and I am trying to optimize this script that is a client side pre-commit hook for git. Was hoping I could get a review to ensure I am following all ruby idioms, and to ensure I have the most elegant solution. Thank you in advance for the review. #!/usr/bin/env ruby # # Pre-c...

 
It's quite hot today...
Or my thermometer has been fried...
 
@MadaraUchiha Best idea for a perpetual motion machine ever.
 
monking
user image
2
 
1:16 PM
Hi everyone!
And thanks @Santa!
 
0
Q: Hints to make program more pythonic

magu_Hi as you will see I am not very familiar with python and numpy but whant to learn it to myself. The following code is a very basic sudoku solver which works fine for simple examples. Altough it runs I still have the feeling its not very pythonic. Here it is: from numpy import * import sys d...

 
@MadaraUchiha is there a bigger picture of this?
 
@Malachi There is somewhere
 
@skiwi Because it would be friggin COOL!
interesting
13
Q: Why are female wizards called "witches"?

NeekuI was looking up these two words in Longman Dictionary of Contemporary English: Wizard: Witch: It's mentioned in the Word Origin section that Wizard comes from "Wise", while for "Witch" it totally has a negative meaning, and all in all, apart from this definition, witch is usually negative, ...

 
@SimonAndréForsberg and your still inside? outside it's better ^^
 
1:23 PM
It is interesting @Malachi. I wonder how many of the answers are from fellow pagans. I never even stop to think that "witch" can have a negative connotation.
 
@ckuhn203 a lot of words and usages were made by non-Pagans, many of whom thought that Pagans(Witches) were very Evil people
 
Most people still do @Malachi. I usually just tell people that I'm a Jedi.
It's funny. People accept that I follow a fictional religion without blinking, but tell someone you're Pagan and people lose their minds.
 
@chillworld after moving it away from direct sunlight it's actually "only" 32 °C inside.
 
@SimonAndréForsberg still hot enough. only .2 degree's difference with outside
 
1:46 PM
@ckuhn203 LOL
I am Christian, but I think being a Jedi is cool too!
that guy has sea-foam green fingernail polish on...
 
(English subtitles available, the video is French)
 
@SimonAndréForsberg LOVE IT!
@SimonAndréForsberg those are Mormon's, Kind of like Christians, only a little weirder....
 
@Malachi I think they're supposed to be Jehova's Witness. Kinda like Mormon's, only a little weirder :P
 
they are Mormon Missionaries. you can tell by the name tags
Jehovah's don't usually wear name tags from my dealings with them
of course Mormon Missionaries usually are clean shaven as well.
 
2:03 PM
LOL
 
@Malachi Oh, OK. Thanks :)
 
possibly NSFW
 
@MadaraUchiha This would have been much less animal cruelty if he simply had spread the butter on both sides of the toast
2
(and twice as much if he had taped together two cats)
hm I just realized this was wrong. The rule is: The toast always lands on the butter side, so he should have taken a dry one (so there is no side which it can land on)
 
2:23 PM
@Edward any second opinions on how SFW this is?
 
@Malachi Not.
 
@Nobody It doesn't work if there's no butter. But butter both sides would work just fine. You can try it at home.
 
@ckuhn203: No then it would simply hit one side and the rule is fullfilled
It boils down to: Does the butter side get attracted or the non butter side get pushed away
and I think the latter is the case ^^
 
0
Q: Merging dictionaries: shared keys

DovahI'd like to merge two dictionaries (d1 and d2) into a new dictionary (d_match). I'd like that the d_match dictionary contains only the items corresponding to the “shared” keys (aka: the keys found in both d1 and d2). I'm trying the following code, but the result is that d_match contains all keys ...

 
besides that there are holes in the video: The cat is rotating from its own "tail-energy" and the butter might get thrown off the toast at too high angular velocities
 
2:31 PM
The butter side is attracted. There's no harm in the nonbutter side being pushed away. And you're right. The rule would be fulfilled if you buttered both sided @Nobody.
 
so either the cat wins by "drying" the toast or the toast wins by exhausting the cat
 
Floors are greedy butter freaks!
 
@Malachi It uses coarse language.
 
@Edward so as long as I watch with headphones I am good?
 
@Malachi Yes, there's nothing visually NSFW in it.
 
2:41 PM
Web Services: Y U NO work?!
What did I just read...
 
@skiwi Mon Dieu!
I don't know.
Ok. I guess it's a "just work tickets all day" kind of day. So much for getting any dev done... le sigh.
 
Better as working with broken web services
 
3:03 PM
"It won't open." Okay... What exactly won't open?
 
0
Q: What kind of exception to ask for out of range arguments

R. PeereboomWhat type of exception to throw? I have a console class which describes rectangle of cells which a user can index by passing in a coordinate: width, height = 80, 25 console = Console.new(width, height) x, y = 2, 5 point_on_screen = Point.new(x, y) console[point_on_screen] = 'a' I am now wond...

 
Anyone else a cycling fan here?
 
What kind of cycling. I like to bicycle and recycle, but not motorcycle.
 
@JohnP Not nearly enough time for it, but yeah.
 
Sometimes I power cycle.
 
3:12 PM
I lost my live feed, so I've been refreshing the Tour updates. Good thing I'm recording, today was a sweet stage.
 
am I correct here? ▼▼▼
I think this is going to be less efficient, because it looks as though it will actually run 2 loops, 1 for the filtered variable, and one to remove the number. Even though it is nice fancy LINQ query and I like it, it is still going to run a foreach on the list. — Malachi 8 mins ago
 
@JohnP A very sweet one I just saw by reading the news.
 
3:29 PM
Can't wait to get home and catch the video. Congrats to Lars, a win on an epic stage day. Glad about Froome, I don't like that guy.
 
4:16 PM
@Simon - are members in the FieldGroup Lists unique, or are there duplicates?
 
4:38 PM
@rolfl I'll post a follow up question to the one from yesterday once I find time to finalize the code
I've changed a few things
The good news is that the proxy is working.
The bad news is that it now already needs some refactoring.
 
Can anyone recommend a good PHP framework?
 
Hello everybody
 
hey @Phrancis
 
@SimonAndréForsberg What the guy from the song/album question really needs is Java 8.
@CodeX A framework to do... what?
 
@skiwi Just a framework worth learning i guess
 
4:42 PM
I don't know myself... haven't used frameworks in PHP
 
Ok thanks anyway :)
 
0
Q: Calculate torque of a bolt based on grade, size, and lubricant. One of the first javascript applications I've made and I'm not sure what's proper

crclaytonTo calculate torque I need to look up a value from a table which I've hardcoded based on three conditions: grade, size, and thread. Then I need to multiply it by coefficients associated with the selected lubricants. I've written the code to be a web-app, but it will also just run as an html file...

 
I am freaking livid. Power company was called on Monday and said they would have the power back on by Tuesday. Well we called Tuesday after nobody showed up. They said we need to fill out a form and fax it to them. Which is ridiculous but we complied. Now after they got the form they said it's going to be another 2 business days before they show up.
 
Shocking! (or, it should be!).
 
@Phrancis Nice thoughts for the future...
 
4:46 PM
They should be charged!
 
Oh get this... I called them today to complain... most useless customer service rep ever. Best they could do is take a message.
 
@CodeX He changed it from non-working to working. If he wants to review the change, the review is as simple as "It used to not work, now it does, so the change was good."
If they were both working versions, it might be a different story, though I'm not sure if "What's better, A or B?" is or isn't on topic for CR.
 
"I tried writing alternative functions to Java's [...] Instead of speeding my program up, they slowed it down." Well, there's your problem.
 
@nhgrif Ah, that makes sense
 
I think I was smoking the documentation when I wrote this...
 
4:50 PM
Really sucks trying to live when it's 29*C outside and no AC and can't even keep food or drinks in the fridge.
 
@ckuhn203 right. I'm going to call back again in a bit. I asked for a manager but she wouldn't transfer me.
@nhgrif I guess so lol.
 
@Phrancis lol. I meant my crap code, but I do feel for you man.
 
But I'm paying for a service that I am clearly not getting.
 
4:51 PM
"Your algorithm is wrong!

And it doesn't even matter if it does what it should do (adding two numbers). This is wrong because if a method is bad designed and performs very badly that makes the method already wrong."
What... How can something that works be wrong?
 
Make sure they pro-rate your bill.
 
Oh @ckuhn203 what code are you talking about?
 
hmhm
 
Some excel export.
 
0
A: Why are these functions slower than BigInteger's included methods?

Bruno CostaYour algorithm is wrong! And it doesn't even matter if it does what it should do (adding two numbers). This is wrong because if a method is bad designed and performs very badly that makes the method already wrong. (You need to measure relative performance not absolute performance because absolut...

I'm tempted to throw in a downvote for the attitude, but it doesn't seem correct either.
 
4:53 PM
Someone messed with the template file. I should have known better. I should have just created it dynamically to begin with. That's what I get for being lazy.
 
@Phrancis - So...how do you fax if the power is out? Seems unreasonable.
 
@skiwi if you don't I will.
> Bad answer, you're not providing anything useful, and with bad attitude too. "That's right I couldn't do it any better, and I'm not even a bit concerned about that." Come on. – Phrancis just now
@JohnP right. I had to go to my workplace. Who uses fax machines anymore? Don't you have a web form or an email I could send it to??
But more importantly, why did you not tell us about this when we originally called on Monday?
 
We have problems with our AC all the time, and we get the same crapola. Power should be a different story though.
 
Hey @Phrancis. I have a good case here for why you should use sprocs to access the db. I have to recompile and push an update out because there's a column missing from this report.....
 
^^ yes, sorry to hear about that
 
5:02 PM
@rolfl In my real Minesweeper application, it is unique. But I like the support for duplicates. My game is called "Minesweeper Flags Extreme", supporting the duplicates can be a part of that extreme thing. It may be a case of YAGNI though.
 
The fact that seemingly there are no JAX-WS experts around anywhere is quite worrying me...
(Sorry for the bad quality)
 
I'm going grilling
2
 
@SimonAndréForsberg - What are you going to grill?
 
@SimonAndréForsberg Enjoy!
 
5:16 PM
The utility company finally called back, to tell me to call a different number, so I called there. They said they can't do same day service (even though we called originally on Monday). I asked for a manager. They took a message and said I should get a call back before 5 pm. Fantastic.
 
@Phrancis How many power companies are there in your area?
 
1
 
MONOPOLY YAY
 
You're so screwed...
But it's not like they will totally hate a customer I bet, they just won't care more than they did until now
 
@Phrancis What's the name of the utility?
 
5:25 PM
Incoming JDQ!
 
Duke Energy @Edward
 
Hmm. I know some executives there....
 
@Edward right now a technician would do more good than an executive, unless they can approve overtime for a technician to come over :(
 
0
Q: Iterator of iterator

JavaDeveloperGiven an iterator, of type iterator, return the elements of all the contained iterators. Looking for code-review, optimizations and best practices. Verifying complexity to be O(n), where n is sum of all elements of all contained iterators. public class IteratorOfIterator implements Iterator<Int...

 
Just checked their outage map: duke-energy.com/indiana-large-business/…
Only small outages reported at the moment.
So is it just your place?
 
5:31 PM
@Edward I don't think he is connected to the net yet, he just moved in
 
Ah, I missed that point.
 
If you scroll down to Clark county, where that little blue dot is... that's where we are. Just moved in, but apparently previous tenant forgot to pay a bill (how is that our problem?)
Duke told us we need to get a hold of the previous tenant and have them fill out a release of occupancy of some kind and fax it to them. Which we did immediately.
 
@Phrancis Your address, your problem; said all power company operators ever :(
Erm...
@CaptainObvious What did I just read?
 
@skiwi Iterator Overflow
 
@skiwi so many iterators, so little time
 
5:39 PM
@Phrancis Unclear why they're having you do that instead of the landlord. Doesn't sound right.
 
UPDATE Phrancis SET @beer = @beer + 1
3
@Edward that was my thought exactly
Bah I can't even do SQL syntax properly today -_-
> There it is already more polite. I leave it there. I don't write answers to make people happy. I write answer according to the beliefs I have and what I could and in this case I couldn't have done. If you are not happy with it feel free to downvote. – Bruno Costa 41 mins ago
^^ this user must have carried over from SO
 
@Phrancis - What post was that from?
 
@Phrancis I checked a bit up on him on CR and he doesn't seem too bad... Until today
@JohnP:
 
Everyone has bad days.
Maybe he earns a peer pressure badge today...
 
5:51 PM
Let's hope so, I don't think his current profile deserves such answer.
 
@ckuhn203 Only 44 times
That list is almost literally split up by high-profile people and newcomers
 
Not bad I'd say.
 
That answer suggests someone needs a nap.
 
What a difference
 
5:55 PM
@skiwi: Well you should at least compare it to the total user count to make it a meaningful comparison
 
Hey, I'm one of those 50301. Maybe I'm the one...
 
@Nobody For comparison yes... It's still a big number I'd say
Just as the distance from one end to the other end of the galaxy is quite big, even though I cannot measure it with anything
 
@skiwi: A double might be sufficient for that :P
 
Well... all doubles can store infinity, right? ;-)
 
for that matter a float would be sufficient
 
6:00 PM
@Edward: I "revived" this question, but I haven't been able to address the multithreading aspect. Anything to mention here?
 
Well it's official. No power until tomorrow between 8 and 4. Great.
 
Is something considered infinite if it expands faster than you can measure it?
 
What do you mean by "expand faster than you can measure"
 
@skiwi I would say no. It is still finite, we just can't measure it
As far as I know the only thing that is truly infinite is time. But then again, time is not really a thing...
 
@Phrancis: Truly infinite? Says who?
 
6:06 PM
May not be truly infinite, but like I said, time is not really a thing. The whole concept of infinite to me is not useful at all.
Will time stop? Who knows... I feel certain if it does, that none of us will be around to notice it
 
even if we were around then we would not notice because time would have to pass for us to notice
 
@Nobody - would it? Why does time fly for one person and drag for another? What is actual time, other than an arbitrary measurement of an intangible?
 
@JohnP: Do you really want to delve into such a complex topic? I would like to discuss this but I need to leave for dinner.
 
The surface of a sphere is infinite, yet bounded. There's lots of kinds of infinities.
 
Just this: The notion of time that you are refering to is subjective time whereas I am talking about time in a physical sense.
@ckuhn203: In which universe is the surface of a sphere infinite?
 
6:13 PM
@Nobody - Physical sense? Point to time. Time is an abstraction.
 
@JohnP: Physical as in: How a physicist would talk about time not how normal people to
 
^^ physicists aren't normal people? ;-)
 
Not when it comes to language and world understanding :)
 
I guess programmers aren't normal people either, in our own way. :)
 
@Phrancis Normal is an illusion.
2
 
6:21 PM
0
Q: Only able to zoom the first or the last image on the slideshow

inandoutFirst of all, I am sorry if I have to move this question here, considering that in stackoverflow it still dons't have any answer yet since yesterday. HERE IS THE DEMO I have an images slideshow in a div that will slide some images one by one. Each of images which is going to be slided in...

 
@CaptainObvious Asked on SO only three hours ago, and cross-posted here just because the OP hasn't received any answers.
 
@Nobody - As we flow along with time, we have as little control over it as an ameobae in a river. And probably just about as good a perception of it.
 
@JohnP: I can agree to that
and now I need to go
good bye @all
 
@Jamal I'll look if I get some time.
 
0
Q: Should I have nested this widget?

neuronetI am learning PySide, trying to implement Widgets within a main window. My goal right now is very simple: I want to place a QLabel, with independently defined event handling, inside a main window that has its own event handling: # -*- coding: utf-8 -*- from PySide import QtGui, QtCore class Ma...

 
6:36 PM
I can't decide which answer is better, and I am looking to post a follow up question already, but don't want to until I accept an answer
 
I added my explanation. I suppose technically you could go from 1 to X and only add the number if mod 2 == 0.
 
just retorted (distorted?) again
 
0
Q: Refactor these methods

RobertI am trying to refactor these two methods into one: public StatusReturn UpdateProperty(int id, int onlineReportId) { //Yes I realize I should not be using ref variables but the queryPermissions is an external dll. var webQueryInputProperty = new WebQueryInputProperty(); ...

 
6:55 PM
@Malachi - Same effect, my method uses much less memory according to .netfiddle.
 
is weird.
 
96kb vs 500kb
 
@JohnP .netfiddle was going between 16Mb and 32Mb on the same code when I ran it over and over again, so I don't know that I trust it, I tried running my new code on my machine with int.MaxValue and it ran out of allocated memory.
 
yeah, I just tried it again and they came out equal. Dunno wth that is measuring.
They produce the same numbers. I was just being clever, I guess. :p
 
wish I could figure out how to measure it out on VS2013
I should get some work done, I have an interesting day calculator to find the code for and change
 
6:59 PM
0
Q: Python code to find unique combinations of factors of a number

deepI have the below code which prints the unique combination of factors of a given number. But I does not give the desired output. The code is a s follows: #Print the factors list for the given number def print_factors_list(dividend, factorstring, predivisor): """This function takes a number and pr...

 
@Malachi - Don't worry, if you accept the other answer you won't hurt my feelings. :)
 
0
Q: Why spoj is giving TLE for this solution of ROCK?

NamanI am solving ROCK problem on SPOJ. I have used bottom up dynamic programming approach for this problem. Time complexity for this is O(n^3). I am using following code: #include<stdio.h> #include<string.h> #include<math.h> #define MAX 210 #define NEG_INFINITY -1000 int sellable(int a[MAX], int i,...

 
@CaptainObvious Any better title for this?
 
7:14 PM
I'll see if SE favors getting blacklisted.
 
I can't get myself to do anything... 45 minutes to the match.
 
@JohnP thanks. I just can't decide which one is best
 
I was first. :p
Every time I go on phsyical fitness SE, I am astonished at how little people know about their own body and exercise.
 
"You're going down" - That was for Argentina!
 
7:36 PM
0
A: Is there a way to optimize this aggregate postgreSQL statement by using CASE?

PhrancisNaming conventions I think your aliases are pretty cryptic. This: from schema.records tt That: from CTERatio c, hist h It's better to use aliases that mean something. tt, c, h... think of Mr. Maintainer going back over your code having to make changes to it. I will compliment you on...

 
0
Q: convert WKT representations of geometries into GeoJson

TimigenI am working on a class library in C# to convert WKT to GeoJson. I am getting shapes in WKT out of MSSQL. A lot of the shapes that come out of SQL have a lot of points. I am concerned that even though what I have is working on the much smaller shapes I am using for testing, that it will either...

-2
Q: PHP – setcookie() not working

773I have this page that sets a cookie and echoes out a string if you check a checkbox. The string gets echoed fine, but the cookie never gets set and I have no idea why. There is a demo here. <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> <label for="checkbox">Option 1:</label> <...

 
@Nobody If anyone will be around when time stops, it will be you.
 
is WPF easy if I know a little bit about Windows Forms?
 
@skiwi - This just in: Brazil is already down by two goals in world cup 2018 :p
 
LOL
2
 
7:43 PM
1
A: Get user level based on total posts

Matthew JacobsEdit: fixing the bugs that were pointed out by @alex-l and @schism $user_levels = array(200, 300, 700, 1000); function getLevel($num_posts) { $level = 0; while ($level < count($userLevels) && $num_posts > $user_levels[$level]) { $level++; } return $level; } This uses a...

 
@Malachi
 
What is this... lol
 
@JohnP you did point out the Even numbers first, and were the Fastest Gun
 
@Malachi - True, but I missed the use of the Int64 not being optimal. So you're back in the same boat. :) :) :)
 
The Int64 is not a big deal an Int is an Int....lol and it is an easy thing to say....
 
7:47 PM
@skiwi Forza bugs huh...
 
besides the other person I was looking at giving the checkmark too only said to change it to long
 
w00t! 75 more and I can access the review queue!
 
@JohnP on CR or fitness?
 
Another 7 minutes and I am out, wife has another ultrasound today.
@Phrancis CR. I'm almost at 11k on fitness.
 
@Simon - it has taken all day .... but, it's faster ;-)
(really, I have been in meetings most of the day).
 
7:57 PM
    string listQuery = "SELECT * FROM test.tbl_lists WHERE test.tbl_lists.user_id = " + disp + ";";
@JohnP I assume you already know what I would say about this? ^^
 
mysqli and parameterize that beeyotch!
 
Holy cow next time I have a fitness question I'm going to @JohnP!
 
And make a PROCEDURE possibly preferably
 
@AlexL - That was my first major in college, exercise kinesiology. CompSci was a minor, and got a 2nd degree in it when I made it a career later.
gotta go, bbl.
 
@JohnP Good for you, those are two contrasting interests!
 
8:04 PM
@rolfl Awesome, I'll take a look
 
Lol, I solve the problem... :D I AM SO BRILLIANT!!! — inandout 29 secs ago
 
@rolfl YMMV ?
 
8:19 PM
0
Q: Threshed and Malachi'd: Sieve of Eratosthenes

MalachiI took a little bit from all the answers to my previous question Threshing: Sieve of Eratosthenes. This may be bordering on Code Golfing, but I think that I have a pretty good piece of code here. Is there any major concepts that I am overlooking, it still seems super simple? var upperLimit =...

and that is the last post for Sieve of Eratosthenes
now onto Fibonacci I think, or did I already do that and just need to advance my code?
 
0
Q: Threshed and Malachi'd: Sieve of Eratosthenes

MalachiI took a little bit from all the answers to my previous question Threshing: Sieve of Eratosthenes. This may be bordering on Code Golfing, but I think that I have a pretty good piece of code here. Is there any major concepts that I am overlooking, it still seems super simple? var upperLimit =...

 
@Jamal I wonder how this question have three upvotes: stackoverflow.com/questions/11273467/…
 
no Fibonacci code yet
 
96 questions in but only 3 shown because of ignored tag hiding.
 
@SimonAndréForsberg Perhaps SO was a bit less lenient two years ago.
 
8:23 PM
I saw an answer of yours on Sci-Fi @Donald.McLean but I haven't had a chance to read it yet
6
A: How do Jedi not turn to the dark side if they study it?

Donald.McLeanGood and evil are complex and difficult concepts and, whether we like it or not, an important part of the human condition and human nature. Because of this, they show up, in many different ways, in all forms of art - art being one of the ways in which humans work to understand themselves and thei...

 
@garethrees Congratulations on your 10k! Glad to see you back in action again on Code Review.
5
 
@Malachi Only my second Star Wars answer. Not having read any of the books, or seen Clone Wars, I'm often left out of the more technical questions.
 
8:39 PM
Away from CR for 11 days, and it seems like a different world. So many pages of questions I haven't seen yet :D
6
 
@Corbin Want me to help a bit? ;-) There are two (former) zombies that could use more reviewing.
 
@Jamal there's a PHP question I've been eyeing, but sure!
 
@Corbin Here and here. I'm still looking through the current zombie list to see if I've missed anything.
 
Alright, I shall take a look
 
@Simon - your mileage may vary
 
8:46 PM
@Corbin Oh, and we've also been slaughtering burninating many meta tags, so enjoy the fresh(er) air!
 
@rolfl How on earth do you come up with all these acronyms?
 
YMMV is ancient.
 
I don't think they were that worried about mileage in Ancient Greece...
 
@Jamal you mean shoving them into exploding bear traps? :p
 
What does YMMV mean?
 
8:48 PM
Your mileage may vary.
 
Is that a cultural reference that's lost on me (again)?
 
@Phrancis Thanks. Apparently I'm not alone here...
 
Come on, everybody knows YMMV! (after googling what it means because you see it once in a while)
2
I only know it since a few weeks even
 
What context is it normally used in?
 
@SimonAndréForsberg "I think 1.60 euro per liter petrol is a very nice deal. YMMV"
It's mostly if not only on subjective sentences
 
8:54 PM
I believe today was the first time I've seen it.
2
 
@Corbin: Lucky you!
 
Where is my Favorite @RetailCoder when I need him?
 
@SimonAndréForsberg "I find boxers to be much more comfortable than briefs but YMMV"
 
0
Q: Creating C++ classes and objects... a simple example

user3814362I'm brand new to programming (in general) and C++ (in particular). I'm learning the basics of classes and objects. I'm trying to do the following: a) create a class called X. It has 4 member functions, with 0 arguments, 1 argument, 2 arguments and 3 arguments, respectively. b) in main(), m...

 
@Malachi Transformed into a @Mat'sMug
 
8:58 PM
Creating a super simple windows form application and need to know if it is easy to insert a date into a DateTimePicker after doing calculations or if I should use a textbox control instead?
 
@CaptainObvious Warning: is anyone already in the process of editing this?
4
 
@Phrancis have you ever played the HHGG text adventure?
 
I have not, in fact
 
maybe I will have to look at Miller-Rabin Algorithm next????
@Jamal I try to only edit Q's that I know what the code is doing and stuff
I haven't even looked at that one
 
9:02 PM
@Malachi Okay
 
@Phrancis it's worth a play if you can find it somewhere, classic infocom adventure and DA had a lot of input
 
If @Corbin has stepped out, then I can tackle this question first.
 
Wait, what's going on?
 
@DaggNabbit sounds ancient??
 
I'm here, just writing a PHP review
 
9:03 PM
PHP review:
2
 
@Corbin Okay. I'll answer the C++ question first, and you can get to it later if I haven't covered everything.
 
@Phrancis very, used to play it on C64 ;)
 
Wow.
 
@Phrancis when it comes to web applications, there really aren't many other feasible (in terms of people actually doing it, not in terms of it being theoretically possible...) options.
 
9:05 PM
@Corbin Javascript?
 
Not that PHP isn't a complete PoS in a lot (most?) of aspects though....
 
I need to get back into the Editing game....
 
Not everyone has jumped on the node train :p
and JS is a better language than PHP?
what the hell are you smoking?
 
yes
much better :p
but that doesn't mean node is a more viable option for server-side stuff
 
Although hrmm... JS might actually be marginally better than PHP actually.
 
9:07 PM
@DaggNabbit that's awesome, in a plain text type of way :)
 
@Phrancis it's probably the only text adventure I'd still play today
 
I have no clue how to even start @DaggNabbit
 
did you type the serial number in the box
> If you've read this far, congratulations, you clearly have one of the necessary requirements to play the actual game online.
 
Needs Java 7 D:
Means I have to play it on Safari instead of Chrome :/
Oh well. Guess Chrome only supports JAVA.
@DaggNabbit or anyone have any clue about this?
(this is on Safari)
 
weird
 
9:23 PM
@Phrancis I got the exact same message on Chrome
 
@Phrancis i had to give it permission to run on chrome
also using IcedTea plugin not Java 7, don't know if it makes a difference
 
@Corbin: Done!
 
@Jamal :D
 
Yes, yes, I know I could've mentioned operator<<, but I thought I'd just start with display(). It at least gives room for more answers.
 
0
Q: Send String in intranet by UDP(to specified IP and PORT) on Windows

YodaI try to send string by UDP in to other computer on local network. I have found sample code but it is characteristic to UNIX not to Windows(windows is not POSIX compliant). Do you know/have/remember any sample of sending string through UDP to specified IP and PORT I don't know how to convert it ...

 
9:39 PM
@CaptainObvious Possible off-topic
 
0
Q: Segfault when trying to sort a linked list of names using a bubble sort

zoucrew22I am trying to sort a linked list in alphabetical order using bubble sort, but I am getting a segfault when I run the program. I can print off the names before sorting, but when I sort them and try to display them, it doesn't work. Here is the code that I have and the output I want is to just di...

 

« first day (431 days earlier)      last day (3588 days later) »