Search found 119 matches

by Breakfast
Mon Oct 10, 2016 5:48 pm UTC
Forum: Movies and TV Shows
Topic: Power Rangers
Replies: 8
Views: 3355

Re: Power Rangers

I was absolutely sure Power Rangers was a japanese franchise like Kamen Rider and was originally played by a bunch of japanese. But it turns out my memory is just a mess. :| At least the rest of my brain is functioning properly... what are they thinking turning power rangers into people, instead of...
by Breakfast
Tue Sep 06, 2016 3:05 pm UTC
Forum: Books
Topic: Best and Worst Discworld
Replies: 316
Views: 183411

Re: Best and Worst Discworld

My problem is I really liked Equal Rites! It had great tone and imagery! It's just getting compared to other amazing books. I have a general feeling that some of the ones I've already read will keep floating to the top and I finish more. I'm not particularly avoiding the Rincewind stuff. It's just I...
by Breakfast
Tue Sep 06, 2016 11:56 am UTC
Forum: Books
Topic: Best and Worst Discworld
Replies: 316
Views: 183411

Re: Best and Worst Discworld

Been a little while so here's an update to my ordering: 1) Men at Arms 2) Small Gods 3) Guards! Guards! 4) Wyrd Sisters 5) Feet of Clay 6) Equal Rites 7) Going Postal 8) Mort It's really hard to order these books because they are all so damn good. I've started Reaper Man but I've got somewhat lower ...
by Breakfast
Mon Jun 27, 2016 1:28 pm UTC
Forum: Books
Topic: Best and Worst Discworld
Replies: 316
Views: 183411

Re: Best and Worst Discworld

I've only just started reading this series about a month ago (5 books in) and here's how I'd rank those at least: 1) Men at Arms 2) Small Gods 3) Guards! Guards! / Going Postal 4) Mort Men at Arms is one of the best books I think I've ever read and I read a fair amount. Mort is a distant fourth. It ...
by Breakfast
Fri Jun 24, 2016 8:04 pm UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 7740

Re: Good books for learning to create proxy servers?

2. Develop reliable APIs around existing services that don't publicly offer an API, or if they do, it's not free. For example, Google search will begin to send captchas if it thinks the user is a robot or sending too many search requests. ... For example, in the Netherlands it's allowed to scrape d...
by Breakfast
Tue Jun 14, 2016 6:23 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

I keep hearing about Factories and keep being vaguely curious as to what they're even for, but I get the distinct impression that actually learning would be akin to looking into the Necronomicon. A factory is a design pattern that is used to construct objects, usually polymorphic ones so you're not...
by Breakfast
Tue May 31, 2016 5:43 pm UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1514
Views: 329918

Re: I need a Game Recommendation

I'm looking for any game that's similar to Assassin's Creed: Black Flag. Not the Assassin's Creed bits though (though that's okay). I want the huge map to explore in a nonlinear way with lots of things to collect and some cool movement gimmicks. Might not exist though... Reason I mention AC: BF (in...
by Breakfast
Tue May 31, 2016 2:22 pm UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1514
Views: 329918

Re: I need a Game Recommendation

I'm looking for any game that's similar to Assassin's Creed: Black Flag. Not the Assassin's Creed bits though (though that's okay). I want the huge map to explore in a nonlinear way with lots of things to collect and some cool movement gimmicks. Might not exist though... Reason I mention AC: BF (ins...
by Breakfast
Fri May 27, 2016 11:30 am UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 917541

Re: 2016 US Presidential Election

I do not expect to change anyone’s opinion about Hillary Clinton. I wish I could, but I have been on the internet long enough to know that most people will maintain their pre-existing beliefs even (especially!) when presented with facts that contradict those beliefs. I refuse to vote for Trump *and...
by Breakfast
Thu Apr 21, 2016 4:24 pm UTC
Forum: Gaming
Topic: Dark Souls 3
Replies: 42
Views: 8763

Re: Dark Souls 3

In actually-spoiler boss news: (boss #6) Holy crap that Abyss Watchers fight. That was amazing. The mechanics, the lore behind it all, the animations, the art style. Easily one of my top 3 favorite fights in the whole series. Incredible. I want to go back and get summoned to do that fight again. Ab...
by Breakfast
Mon Apr 04, 2016 12:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

... Oh! Are we taking bets? I want to bet messed up LINQ Where query with a side of weird Connections not being disposed of properly. My main bugbear with my current company's code base is that they all "kind of" know how LINQ works, but only a handful really get it. We're still in the MV...
by Breakfast
Fri Mar 18, 2016 9:38 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 505750

Re: The "IT DOESN'T WORK!" wool

I've got a SQL problem that I'm just not sure how to go about yet. Say there's a table, Email, that has columns: EmailId, PersonId, CreateDate, IsPrimary (and others, but I think these are the pertinent ones). The application that uses this table was a mess so people might have multiple emails that...
by Breakfast
Fri Mar 18, 2016 8:17 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 505750

Re: The "IT DOESN'T WORK!" wool

I'm not a database expert, but the advice I usually see is to not put too much logic into the SQL (unless there's a good reason not to, which usually implies you Know What You're Doing and wouldn't be asking), leave that in your programming language. Just stick to SELECT and UPDATE as far as the SQ...
by Breakfast
Fri Mar 18, 2016 7:33 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 505750

Re: The "IT DOESN'T WORK!" thread

I've got a SQL problem that I'm just not sure how to go about yet. Say there's a table, Email, that has columns: EmailId, PersonId, CreateDate, IsPrimary (and others, but I think these are the pertinent ones). The application that uses this table was a mess so people might have multiple emails that ...
by Breakfast
Thu Mar 03, 2016 1:52 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

What if the reason a list was empty mattered? For example, "there were no results that matched" is a legitimate empty list, Well, in the specific case I'm talking about, these were legitimate empty lists, it was just returning null instead. That is, the code was full of stuff like: void a...
by Breakfast
Mon Feb 15, 2016 1:22 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

Anyone here have experience with the C# MongoDB driver? I cannot for the life of me get a distinct selection out of my DB. Details below, any advice appreciated. The driver seems to have changed a lot in the most recent version (v4) so everything Google turns up seems to be no longer valid. Or at l...
by Breakfast
Fri Oct 16, 2015 3:01 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

New to OOP - quick question. Say I have a bunch of unrelated classes, and they all have to be able to do foo(). As it turns out, the code (or at least the logic) for foo() is the same for all the classes. If I make a member function foo() for each class, and later change the way foo() foos, I have ...
by Breakfast
Wed Aug 19, 2015 5:50 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

Ok this week I was working implementing a new feature, when I noticed that part of the code I was working with was rather badly written. After some quick refactoring I turned three confusing functions into one clear one, with better memory management to boot. There were also some hardcoded constant...
by Breakfast
Fri Mar 27, 2015 3:00 pm UTC
Forum: Religious Wars
Topic: Sorting small arrays: Algorithm fight!
Replies: 16
Views: 8822

Re: Sorting small arrays: Algorithm fight!

Well sure... but it has the added bonuses of being less well known and always using multiple threads for maximum (in)efficiency. Who doesn't like misdirection and obscurity when trying to figure a bit of code out?
by Breakfast
Fri Mar 27, 2015 1:20 pm UTC
Forum: Religious Wars
Topic: Sorting small arrays: Algorithm fight!
Replies: 16
Views: 8822

Re: Sorting small arrays: Algorithm fight!

Bogosort? Why not Robsort! It's the only way to go for small arrays. http://www.robsort.org/ "Robsort reads an array of integers and randomly arranges the order of those integers. It then checks to see if the array is sorted, if the array is sorted, robsort has done its job. If the array is not...
by Breakfast
Tue Jan 27, 2015 3:04 pm UTC
Forum: Books
Topic: Worst/Overrated books.
Replies: 753
Views: 249257

Re: Worst/Overrated books.

I'm not sure if it's overrated but I disliked 20,000 Leagues Under the Sea for almost the exact same reason. Page upon page upon page of navigational headings, polyp, and fish descriptions. I don't know what happened to Verne between Journey to the Center of the Earth and 20,000 Leagues Under the S...
by Breakfast
Mon Jan 26, 2015 6:16 pm UTC
Forum: Books
Topic: Worst/Overrated books.
Replies: 753
Views: 249257

Re: Worst/Overrated books.

Jumping in to agree that Moby Dick is a hard book to swallow. I found many bits of it interesting, and many bits of it entertaining, but none that were interesting AND entertaining. If I wanted to know all the details of whaling, I'd hardly go searching in the Fiction section. If I wanted a good ac...
by Breakfast
Mon Jan 26, 2015 1:44 pm UTC
Forum: Gaming
Topic: Warhammer (fantasy and 40k)
Replies: 383
Views: 87047

Re: Warhammer (fantasy and 40k)

Anyone else here hyped about the Warhammer Total War they're making? I know I'm excited. Thank you for letting me know this was a thing. If I wasn't at work I'd probably be consuming all of the information I possibly could. I haven't played a Total War game since Medieval Total War II and I've been...
by Breakfast
Thu Jan 22, 2015 5:02 pm UTC
Forum: Gaming
Topic: Warhammer (fantasy and 40k)
Replies: 383
Views: 87047

Re: Warhammer (fantasy and 40k)

I had figured that there was some fluff explanation. It just seems so opposed to their depiction in EVERYTHING. I find it almost as hard to imagine an Ork knitting a sweater as a Space Marine hanging out on the beach (I don't actually have any problem, I'm just exaggerating). In the far future there...
by Breakfast
Thu Jan 22, 2015 12:54 pm UTC
Forum: Gaming
Topic: Warhammer (fantasy and 40k)
Replies: 383
Views: 87047

Re: Warhammer (fantasy and 40k)

The thought popped into my head, "where do Orkz get their clothes?" I can't imagine that they make them. That would require professions like tanner, tailor, dyer... They must steal clothes. But they couldn't steal from humans because the clothes would be too small. Do they steal from Space...
by Breakfast
Wed Jan 21, 2015 12:51 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

I'm not very well versed in C++ so I'll being deferring to your knowledge and expertise on most of that. As far as optional<optional<X>> goes, in all the literature and examples I've seen it could just be flattened to optional<X>. That outer wrapping isn't really serving much purpose. In Rust, iter...
by Breakfast
Tue Jan 20, 2015 3:21 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

They just missed the mark and didn't give us a good Bind. *stuff...* If the "best" match is anything but the original args..., the return value becomes optional<X> if it was not already optional (questionable choice, but I think wise: optional<optional<X>> is surprising). We then test eac...
by Breakfast
Tue Jan 20, 2015 12:57 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

I'm not sure why nullables seem so unpopular. I mean TryParse and similar work well, but int? as a return type could do the same job. Yeah, I'm primarily a database guy, and when I write C# I always use nullable types when working with the database, but other developers have complained and wanted m...
by Breakfast
Thu Oct 02, 2014 4:41 pm UTC
Forum: Serious Business
Topic: Civilian-enforced traffic laws
Replies: 60
Views: 17085

Re: Civilian-enforced traffic laws

The video didn't show your brake lights being on? Maybe the camera was positioned so you couldn't see the back of the car. I think the cameras are usually placed to watch traffic coming towards them, so this seems likely. It shouldn't be hard to show that there was ice on the road that morning, you...
by Breakfast
Thu Oct 02, 2014 12:42 pm UTC
Forum: Serious Business
Topic: Civilian-enforced traffic laws
Replies: 60
Views: 17085

Re: Civilian-enforced traffic laws

I wasn't able to challenge it because the video doesn't show ice; it just shows a car coasting through an intersection. Who told you that you couldn't challenge it? I find this hard to believe. Sorry, what I meant was that when I challenged it that was the result. From the video's perspective it wa...
by Breakfast
Thu Oct 02, 2014 11:59 am UTC
Forum: Serious Business
Topic: Civilian-enforced traffic laws
Replies: 60
Views: 17085

Re: Civilian-enforced traffic laws

Many cities employ cameras at traffic lights, and some places even issue speeding tickets automatically by camera. I believe these procedures are wrong, constitutionally and morally, In what way are they morally wrong? OK, I realize this may be just an 'IMHO' thing. But I think it is morally wrong ...
by Breakfast
Wed Sep 10, 2014 9:58 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

Oh wait -- I'm thinking of the C# code as templates, but it is generics isn't it? So a bunch of type-safe casting auto fluff over a single function implementation, not instructions on how to write a function for each set of types passed? Yeah, something like that in so many words. It's like Java ge...
by Breakfast
Wed Sep 10, 2014 8:05 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

So C# lacks partial type deduction, where you pass in some types, and let the rest be deduced? Huh, that must suck. How could the compier deduce the subtype in the lambda? I mean, it could make a haphazard guess of any type with a "baz()" method match... but that's about it? EDIT: Or wait...
by Breakfast
Wed Sep 10, 2014 7:13 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

void forward<T, U>(U u, Action<T> f) where T : class { if (u is T) { var t = u as T; f(t); } } forward<DerivedType,Base>(foo, foo => foo.baz()); Wait, it won't deduce U for you? Do you mean in the call to forward or in the function definition? Because in the call, no. C# is kind of dumb like that i...
by Breakfast
Wed Sep 10, 2014 5:46 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1723039

Re: Coding: Fleeting Thoughts

The is->as has an extra castclass call. Granted, it's possible this is optimized when the IL is compiled... In C# the typical guidance is to prefer as / null check over is / as specifically because of the extra castclass call. Because of this I would doubt, or at least not rely on, the IL compiler ...
by Breakfast
Thu Aug 14, 2014 3:56 pm UTC
Forum: Coding
Topic: GUI interface writ in Python
Replies: 28
Views: 7725

Re: GUI interface writ in Python

I'd like to let you know that I'm still reading everything you post! I just haven't had time to digest it or comment on it.
by Breakfast
Fri Aug 08, 2014 11:49 am UTC
Forum: Coding
Topic: GUI interface writ in Python
Replies: 28
Views: 7725

Re: GUI interface writ in Python

(I want both Dispatchers and CallbackCapables to be completely independent of one another; they are both dependent on Message, but Message is a very simple object). This is an awesome thing to try and accomplish. You definitely want them to be independent of each other so that you'll have the abili...
by Breakfast
Thu Aug 07, 2014 8:50 pm UTC
Forum: Coding
Topic: Coding: Hacks and Snippets
Replies: 434
Views: 775147

Re: Coding: Hacks and Snippets

I'm annoyed that my implementation makes it tricky for the compiler to figure out that it is a recursive method, and reduce tail-call recursion into a loop. I think it might be possible with my newest version (posted above), but figuring out that the captured `amt` value is the same for every itera...
by Breakfast
Thu Aug 07, 2014 5:17 pm UTC
Forum: Coding
Topic: GUI interface writ in Python
Replies: 28
Views: 7725

Re: GUI interface writ in Python

What you're doing seems decent but I'm not really good at reading python so I'm probably not the best judge. What I want to try to accomplish in this post is to describe the problem in a code agnostic way to see if we're on the same page. If I'm rambling or unclear please just let me know! Let's sta...
by Breakfast
Thu Aug 07, 2014 4:46 pm UTC
Forum: Coding
Topic: Coding: Hacks and Snippets
Replies: 434
Views: 775147

Re: Coding: Hacks and Snippets

I'm annoyed that my implementation makes it tricky for the compiler to figure out that it is a recursive method, and reduce tail-call recursion into a loop. I think it might be possible with my newest version (posted above), but figuring out that the captured `amt` value is the same for every itera...

Go to advanced search