« first day (916 days earlier)      last day (3399 days later) » 
00:00 - 19:0019:00 - 00:00

19:03
0
Q: Error handling with overloaded functions

Josh BroadhurstLet's say you have a tree class with a public remove method that calls an overloaded private remove method. In which version of the method should error handling (for things such as an empty tree or invalid search query) occur? For instance, which approach is better and why? Approach 1 public v...

0
Q: Storing object converters, data sources, loading and updating configurations

t3chb0tI have a static class Configuration holding two collections: one for object converters an the other one for data sources. When I load a configuration from either a file or a database I pass both collections via Dependency Injection to other instances that de/serialize the values. I don't like ...

0
Q: TicTacToe game with AI in ruby - follow-up

GlubiA week ago I posted my TicTacToe game follow-up question. The suggestions were referring mainly to the lack of polymorphism. Here's the new code, hopefully there's not a lot (or at all) to improve by now (except separating board functionality from Game class, but it seems to be too much of work a...

@skiwi I like that song!
I heard the new movie wasn't that good also
I think it was good :)
I didn't see it. I'd like to, but IDK when I could do that..
Hello's song by Adele is really good too! I should listen to that cover :p
19:18
0
Q: jQuery Toolbar Module

Henri KeebleI'm fairly new to JavaScript, and wanted some critique on some code I've written based upon what I've learned recently. I have a strong background in OO programming (C/C++, C#, Java), but recently I've had to delve into JavaScript for my job. I'm working with a lot of legacy code, and want to imp...

0
Q: Multiple 0-1 knapsack

FelipeI have a problem were the time in minutes of N songs are given and i have to write the maximum number of time in K cds. Input description The first input line consists of two positive integers N e K (N ≤ 100, K ≤ 3), which represent respectively the number of songs and te number of cds. The ...

19:57
'ello
hey @EthanBierlein
how's it going in CRtown?
20:32
Activision acquires Candy Crush maker King Digital Entertainment for $5.9B in the largest accidental in-app purchase in history.
3
0
Q: Best practice for updating a txt file

anatp_123I'm outputting the results of a query to file.txt in json, the file is updated every time I click on 'submit'(form) and depending on the variables it updates the query. Right now the table only has about 20 records ,it will probably increase by 2/3 new records everyday. Is there a better way to...

@JeroenVannevel lol
Zak
Zak
@JeroenVannevel TS SO HARD
Also, my latest speedrun just shaved a whole 20 minutes off the first hour :)
20:48
@Zak Cool! Good job
lol @TopinFrassi, reading your profile when suddenly
> I'm trying to learn more and more about algorithms, mathematics and data structures in order to be able to do more, to learn more, to do more, to learn more, to do more, to lean more, to do more, to learn more, to do more, to learn more, to do more, to lean more, to do more, to learn more, to do more, to learn more, to do more, to lean more, to do more, to learn more, to do more, to learn more, to do more, to lean more, to do more, to learn more, to do more, to learn more, to...
Thought my brain looped for a second
Zak
Zak
@TopinFrassi I could probably do my first hour then copy the current WR run step for step and beat it by 10-15 minutes at this point :)
@skiwi Ahahah, I thought I was pretty funny doing that :p
@Zak WR == ? :p
@Phrancis The _varName is just a naming convention for a private field. It doesn't do anything, it is just part of the name.
21:20
0
Q: Controller scope inside Directive with Angular

Marco Aurélio DeleuI decided to write a simple runnable example to try and express my concern. Here it goes: index.html <section ng-app="App" ng-clock> <div ng-controller="ShopController as shop"> <prize-directive ng-repeat="prize in prizes"></prize-directive> </div> </section> Inside ...

Hi, @JoeWallis.
21:39
0
Q: Sending a message from client to server and back again

user88976I have a client, middleware and a server in three Windows Form Applications. I can send a message from the client to the server via middleware but I need that message to come straight back from the server to the client via the middleware automatically. How can I do that? The first part is the cli...

0
Q: Implementing a Linked List in Java

JaredI am studying computer science and decided to implement a linked list from scratch for extra practice. To do so, I created a Node class which simply holds an integer, and wrapped the Nodes in a LinkedList class which adds, removes, and returns Nodes. I am wondering how I did, what I can add, and ...

Hey @Hosch250
21:54
Hi.
3
Oi.
4
Ey.
3
'i.
3
21:56
'o.
I have successfully the starwall.
Successfully what?
Здравей
@EthanBierlein Exactly.
Oh, the chain is finished.
@EBrown This sentence doesn't make any sense.
21:58
@Hosch250 It's an old meme.
I don't remember it.
모두 안녕하세요! 두 번째 모니터에 오신 것을 환영합니다! 우리는 정말 여기에 이상한 물건을 좋아합니까.
It is grammatically incorrect, and makes absolutely zero sense.
@Hosch250 It's an old meme. It's not required to make sense.
@EthanBierlein why korean?
21:59
OK, but what is it a meme of?
@Vogel612 s/corean/korean
0
A: Displaying image for the selected year

sunnyYes, there is definitely a way to do this. Start by giving all your divs a common class, let's say yearDiv. Then each function can have an onClick event linked to this general function: function displayOnlyThisYear(clicked_id){ // slide in the selected year slideInYear(clicked_id) ...

@EthanBierlein that is definitely not japanese
it's got too many round shapes
Yeah you're right
Korean. Bing says so:
22:00
But it's not spelled corean
> Hi all! Welcome to the second monitor! We really liked the weird stuff I do here.
that part's fixed..
@Hosch250 Haha, bing still got it wrong.
This is Google:
> Hi all! Welcome to the second monitor! We really liked the weird stuff I do here.
They both come out the same.
lol
Now we have to figure out which engine is piggybacking off the other.
22:02
Neither.
They would both be using the same third-party engine, if anything.
They aren't dumb enough to piggyback on each other. That would have huge legal consequences.
@Hosch250 I don't remember.
ORLY, you're going to send me something new to work on at Fri 11/6/2015 4:59 PM... lol
Watch me let it go until Monday
6
@Phrancis No truer words.
22:30
TTQW
BTW.Weekend!
0
Q: Collatz Sequence: How To Make This Code Faster?

Husnain RazaI'm trying to use Python to solve the Project Euler problem regarding the Collatz sequence. With some research online, I have come up with the code below. However, it still takes a long time to find the maximum length of the Collatz sequence of the numbers from one to a million after the followin...

0
Q: C# class Architecture

Kob_24Following is a working program to add new articles: the only thing i want is to check with you guys if there is any way to write it in a better way or is the architecture is good as it is :) ?? Maybe I did not have to user a new class ListOfProducts I could easily create a list in the Articles c...

0
Q: Async Yield and continue on TaskPool

Andrew HanlonUsing Task.ConfigureAwait(false) is a standard best practice for indicating to the compiler that the continuation does not need to be run on the current context. We also have the Task.Yield() method which hands control back to the calling context and always posts a continuation; however, since t...

Hahah, we're hosting several versions of AdventureWorks on some servers here, kinda cool
Alright, no more SQL until Monday
Zak
Zak
I've figured out why my steam engines aren't fully powered by my 6 coal mines
Turns out steam boilers only convert coal -> Energy at 50% efficiency, so I need twice as many mines as I thought I did. Time to go and re-do my calculations
22:55
nooo
the bob ross livestream finale is only 60 minutes from now :(
whaaaat!!!???
I hope the stream loops back
chat is going wild
hide the chat
it's garbage
filled with shits who don't really appreciate bob ross
Zak
Zak
Sorry, but who's bob ross?
23:04
He's the (now deceased) host of the show The Joy of Painting.
IMO, Bob Ross is the kindest, gentlest man I've ever seen.
If you watch the stream, you can see what I mean.
Hmm, well I guess his son is on now.
It's okay, Bob will be back
23:19
@Zak that guy died before I was born, still I know him..
and I ain't from the UK :D
We are investigating an issue with our Load Balancers
We're working on mitigating a SYN flood attack, will be back online as soon as possible.
@Zak I don't think we can be friends anymore. (Just kidding.)
Bob Ross was the best man ever.
3
He made happy little mistakes that turned into happy little trees, and life was good.
And he taught us all how to paint.
Zak
Zak
@StackExchange I wonder why anyone would bother DDoSing SE
So that if they're successful they can take a victory lap? Maybe?
Zak
Zak
Always true, but I can't realy think of anything that makes SE more attractive than any other website
Like, there's no particular ideological/protest angle. There's no particular commercial gain. Outside of the programming community, it's not a widely-known thing.
I'm just curious as to the motivations
Anyway, back to speedrunning (which is going awesomely :)
23:30
@Zak I was just watching Steejo (I think) do the mega train factory.
Pretty cool.
Zak
Zak
If you're interested, I could stream my current practice runs?
We're running behind @CloudFlare now - let us know where you are if you're not seeing the sites back up!
You should put them on YouTube so I can watch them later.
Because right now it's TTGH.
Zak
Zak
@EBrown I'll get round to it at some point :)
0
Q: Clojure Implementation of PMX Crossover (code review)

ionutt93I'm starting to learn Clojure and as an exercise I've implemented the following function (written in Java) in Clojure: private int[] SwapValues(int val1, int val2, int[] array) { int[] result = new int[array.length]; for (int i = 0; i < array.length; i++) { if (array[i] == val1) ...

00:00 - 19:0019:00 - 00:00

« first day (916 days earlier)      last day (3399 days later) »