I just downloaded the Amazon video app to my PS3 for the first time. It downloaded an 18 meg file and installed it. Then it immediately informed me that the version that was installed wasn't the latest version and it needed to download a 20 meg update. This is pretty much so par for the course with every other experience I've ever had with the PS3.
11/24/2012 11:58:29 PM
Okay, the problem with this...
return isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/\bmsie [1-6]/i', $_SERVER['HTTP_USER_AGENT']);
11/25/2012 4:04:53 AM
I want a copy of msie 1. Just to see what the world looks like.
11/25/2012 12:06:25 PM
next-best thing: http://utilu.com/IECollection/prolly the earliest version to work for you will be IE1.5[Edited on November 25, 2012 at 1:34 PM. Reason : it doesn't even support HTTPS, or CloudFlare's DNS trickery, or these forums
11/25/2012 1:11:59 PM
I'll try to load it up in my Windows 3.11 VM and see what happens. [Edited on November 25, 2012 at 4:56 PM. Reason : If I can find 1.0. Win95 VM otherwise.]
11/25/2012 4:55:51 PM
11/25/2012 6:08:09 PM
unrelated but I don't want to make a new thread for it.Next person who sends me a screenshot in Word is getting shot. Send me a something in a damn image format. .PNG preferred.
11/27/2012 10:22:48 AM
lol i think there is thread for itmessage_topic.aspx?topic=376822
11/27/2012 11:11:54 AM
^we need a mod bump on that thread, until then I'm posting this in thereI had to spend an hour today explaining monospace vs variable width fonts to our document layout person today
11/29/2012 4:17:44 PM
Why, why, WHY do people continue to write programs that store user data in directories in Program Files? That is not the place for data. Data does not go there. Neither do settings or preferences. Because they get blown away when you reinstall the program, and then the users wonder why their settings and/or data got deleted.
12/7/2012 11:32:51 AM
Boss comes in today and tells me that we need to have a new release with 4 requirements that aren't yet specified in a fully qualified release (1 peer code review, 3 rounds of testing by our QA system) ready to be delivered next Tuesday and I'm the only resource available aside from my immediate project manager. My face when..
1/15/2013 12:09:05 PM
Ah, yes. Nothing like having a manager that knows nothing about SDLC.
1/15/2013 3:15:56 PM
^^Just make him/her sign off at every single stage where you will be forced to cut corners. The only part of what you said that sounds risky is that the requirements haven't been clearly defined. Doing a peer code review should take a day including necessary changes, and QA passes should take another day, leaving 3 work days to implement the changes.
1/15/2013 9:53:36 PM
1/16/2013 1:40:40 AM
^^ we work in manufacturing for pharma so we get the double whammy on documentation and quality assurance. The implementation for these 4 requirements is actually fairly short but our documentation and review requirements are gonna consume way more time than the implementation.Half of my job is actually doing paperwork. The specification docs which have to be signed by the client are still on their desks getting debated and by policy I can't touch anything until those are signed off on.Gotta get a new gig [Edited on January 16, 2013 at 9:53 AM. Reason : ]
1/16/2013 9:53:45 AM
The market has been hot for developers, but recently, it's on fire. I'm getting called several times a day for C# positions.
1/16/2013 10:11:28 AM
not having an edit contour feature in civil 3d. points and triangles are for ol' folk.
1/17/2013 1:30:23 PM
working with a "partner" today. suffice it to say you've all heard of them and used their software. I'm looking at a log of why their backup job to AWS is failing. they don't allow the user to specify which region to upload to and assume US (nevermind data sovereignty but FUCK performance from australia - where I'm testing). in addition, after every file they post, they go a get to see if it's there, then encrypt, then another get. the customer can't figure out why it keeps timing out..
1/17/2013 9:01:49 PM
Saw this comic today and it reminded me a lot of this thread.
2/25/2013 10:56:50 AM
A company that will not be named develops a product for managing approval workflows. Users regularly push hundreds of items through approval processes per day. The database tables that store current workflow statuses also store the historical past statuses. Every day, the working set grows larger and larger and larger....
2/26/2013 2:38:05 PM
If I ever change companies, I'm going to break this thread with replies
2/27/2013 1:41:22 AM
replies like "W8"
2/27/2013 1:57:28 AM
^^Isn't that true no matter where we work?
2/27/2013 12:56:47 PM
I like this thread and will soon contribute. In the meantime, I have come across one that I'm not entirely sure why is wtf:
2/27/2013 2:54:12 PM
You're never gonna get to (A && B) with else ifif (A) ...if (A && B) ...That would evaluate both[Edited on February 27, 2013 at 3:02 PM. Reason : or just flip em if they're exclusive]
2/27/2013 3:01:25 PM
correct. the case for A && B should be first, in that context
2/27/2013 3:02:23 PM
ah, right. Good catch
2/27/2013 3:03:17 PM
Think of it like a code funnel.if (A && B) ...if (A) ...[Edited on February 27, 2013 at 3:33 PM. Reason : -]
2/27/2013 3:32:37 PM
in general though it would be better to writeif(a){if(B) return foo2;else return foo1;}Reduce the number of evaluations and easier to read on big complicated things in general. Whenever I've seen what was above it usually leads some other programmer later in the game to make a mistake. Though feel free to disagree w/ me.
2/27/2013 5:38:10 PM
Allow mehttp://sourcemaking.com/refactoring/replace-nested-conditional-with-guard-clauses[Edited on February 27, 2013 at 7:28 PM. Reason : phone]
2/27/2013 7:27:49 PM
god damnit, I missed one and now everyone thinks I'm retarded http://martinvalasek.com/blog/pictures-from-a-developers-lifehttp://thecodinglove.com/http://lesjoiesducode.tumblr.com/I like to communicate in gifs at work...
2/28/2013 2:34:53 PM
3/14/2013 8:31:10 PM
[Edited on March 14, 2013 at 9:12 PM. Reason : ]
3/14/2013 9:11:49 PM
Not sure if this is 100% the best place for this picture, but whatever. Also this could be faked, but again, whatever.
3/15/2013 12:47:42 PM
It would only belong in this thread if the driver's gambit worked.
3/15/2013 2:01:57 PM
^^Credit: http://28byteslater.com/2009/10/29/ocr-injection/
3/15/2013 2:14:24 PM
http://www.news-record.com/news/north_carolina_ap/article_69d56603-fe2c-5112-a65f-ec9ea6eff3bf.htmlI had completely forgotten about this till I saw the article.
5/23/2013 10:41:52 PM
COBOL? Nice.I've been tasked with removing a "weak event" pattern from a critical piece of our codebase recently because the implementation of the pattern is absolute shit and most of the uses of it aren't even necessary. I've been going through and knocking out the easiest ones first, you know, ones with one subscriber and one publisher. Seems easy enough.So, I'm digging in, and I get to one usage of it that I don't entirely understand, but it seems simple enough... You've got a WinForm, and you've got a lot of controls on said form, and many of these controls need to be notified when the other controls have properties on them that change. Sounds reasonable enough. But they subscribe every one of these controls to the weak event, and since the event is NOT tied to a specific instance of the form, then all instances of the form get notified whenever any of the controls changes state, which means that there now has to be a good deal of extra logic to figure out which control should respond to which event. Fucking. Brilliant. If only there was an object that was common to all of the controls that were interested in updates from each other... What could that object be? Hmmm...
5/23/2013 11:04:00 PM
if (foo != null){ foo.SomeMethod();}else{ foo.SomeOtherInstanceMethod();}
5/24/2013 8:36:39 PM
5/24/2013 10:01:02 PM
I should go work for NC then since I can read and write COBOL. It's basically my job where I help customers modernize their mainframe. Pays $Texas compared to the consulting stuff I did for ChemE.
5/27/2013 11:33:50 AM
mainframes seem not to go away. AS400 systems still being used. To be honest there seems to be more money in AS400 support than design.
5/27/2013 11:50:14 AM
Yeah my job's basic premise is to keep workload on the mainframe, but also make it more modern. So what my role is to do is to help customers get COBOL code into Java. I'm one of only a small handful of people who can setup it up on the mainframe and one of even fewer who can fully use it. However, it is a sweet gig that lets me live in a nice apartment in Chicago and travel all over when I want. Because of my skillset they want me world wide because I guess this is an issue affecting everyone every where, but no way in hell am I flying as a 6'4 guy in coach on 20+ hour flights.That said I know it's not a long term career in building new applications, but the maintenance part is where $Russia can come in. A guy I know within my organization is billed out at $400/hour and has well over 100% utilization. If he makes half that at 200 an hour and works 40 works a year, he's pulling in over 300k. That's one of those don't need to work at it long jobs and you're set.
5/28/2013 3:51:27 PM
foo.SomeInstanceMethod();if (foo == null) throw new ArgumentNullException("foo");
6/7/2013 1:53:56 AM
this is a perfectly reasonably way to have people unsubscribe from unwanted marketing emails[Edited on June 20, 2013 at 2:33 PM. Reason : i wonder if i got the 7.17.12 fuck you email]
6/20/2013 2:32:29 PM
7/3/2013 11:29:29 AM
Using Thread.Sleep() to delay the timing of sending async messages so that there's not a race with the response messages Doing this because you put the GUID of the messages into a local instance of a hashset on a form and didn't want different forms to get confused about which messages belonged to them when multiple forms sent messages at the same time That was an incredibly enjoyable conversation at work today.
7/4/2013 12:18:13 AM
Guy at work today could not for the life of him understand why an message pattern that was clearly asynchronous needed a unique identifier passed along with the message.He then asked if it was OK to use the getNextMessageResponse() synchronous call on the same communication session object from different threads. I politely informed him that it did not matter because he was no longer allowed to use threads.
8/22/2013 9:39:54 PM
I saw this gem in the codebase today.
class FooBase{ public delegate void FooDelegate(EventData args); public event FooDelegate FooEvent;} class FooSubClass: FooBase{ public new void FooEvent(EventData args) { ... }}
8/26/2013 11:28:59 PM
Internet Explorer in generalI'm Krallum and I approved this message.
8/27/2013 11:58:41 AM