« first day (1125 days earlier)      last day (3859 days later) » 

12:15 AM
@Nate How do you interrupt someone in a Q/A site? You can't stop someone from posting in the middle of — Servy 1 hour ago
SERVY!!!!!!!!!!! — Shog9 1 hour ago
a sentence. That just doesn't make sense. — Servy 1 hour ago
 
12:51 AM
@MichaelT I enjoy my AKGs thank you very much. I've heard Carbon Nanotubes is pretty equivelant to asbestos when you breathe it in, so I'm not quite sold for stuff I'm gonna wear on my head
 
user41796
Fishing for re-open votes:
 
user41796
0
Q: Chain-of-Command/Responsibility pattern for my simple API. A good idea?

ahmedI need to write a simple API for a project I'm working on. This API will be used to perform some server side actions that were triggered by AJAX calls. To make things easier for me, I thought of using the Chain-of-Command/Responsibility pattern. Here are more details about what I want to do: ...

 
1:08 AM
@YannisRizos I had to read through that whole chain to understand that joke, but it was well worth it
That guy just wants a fight
@AndrewBarber & others: Guys, I'm really happy that I gathered you together to have a chat here! Pearson, Thank you! That was very interesting. — Nate 6 hours ago
(In relation to a conversation happening in the comments of a different answer that had nothing to do with his original question)
can't get much more passive-aggressive than that
Especially on meta. best I can tell you get 2-3 hours of actual concentration on a topic before it becomes a free-for-all
 
user55340
1:29 AM
 
user55340
> Assuming the numbers are sequential, using clever Bayesian math, you can guess the actual number from a sample of tanks pretty reliably.
 
user41796
2:21 AM
@Ampt ironic how similar that situation is to one that recently played out in our meta. Part of me was tempted to open up the ion cannons and fire away. There's plenty of easy pickings to blast after. I'll give the guy the benefit of the doubt. but sometimes you just need to be smacked upside the head and told flat out "No, you're wrong." When that message comes from outside the "administration" it can carry more weight. But in this case, I don't think he's going to hear it.
 
user41796
hey @WorldEngineer - how's the job hunt coming along?
 
user20683
@GlenH7 rejiggering my resume as we speak
 
user20683
then pelting it off to a new round
 
user20683
I think I've been go at this backwards but I have high hopes
 
user41796
@WorldEngineer bueno. Do you want more feedback? What orgs are you targetting?
 
user20683
2:22 AM
@GlenH7 Canadian and Northeast
 
user20683
local too
 
user41796
tailor your resume more carefully for the long-distance applications then. Their first question will be "why does the guy want to move?"
 
user20683
that question has a simple answer
 
user20683
girlfriend
 
user20683
want to be closer
 
user20683
2:24 AM
that easy
 
user20683
also I'm tired of this country
 
user41796
regrettably, you can't put "GF" as your reason to move in your letter. You can let it slip during the phone interview, but ....
 
user20683
aye
 
user20683
there in lies the rub
 
user41796
and I hear ya on being tired of this country. Utterly .... tired ... of the crap going on in DC right now
 
user41796
2:25 AM
Canada's full-time hire requirements are a bit different than US, afaik. Something to research
 
user20683
I figure the best answer is this: I want to explore new horizons and push myself outside my comfort zone
 
user41796
The better answer is to lie a little. Not a lot, just a little.
 
user20683
the best lies are the ones that are true
 
user41796
:-) Pick out something the company does well. Build a storyline around why you're interested in that.
 
user20683
that was my original plan
 
user20683
2:27 AM
see I've worked a long time in retail but that's taught me something valuable: Infrastructure is KING
 
user41796
All of your cover letters will be tailored to each firm you apply to. But your resume should remain fairly generic for each
 
user20683
thus I can apply to companies that do services and spin it as such
 
user20683
right
 
I just finished a week during which my primary task was to complete a self-evaluation, the results of which will be reviewed and compared with my manager's own evaluation of me and the result directly correlated with my yearly pay increase. The result: I feel like I've been in a job interview all week for my own paycheque, and I'm currently getting ridiculously drunk.
 
user20683
it will likely remain almost the same, maybe change the order of technologies to match theres and the like
 
user20683
2:28 AM
once I have a job, the metrics begin
 
user20683
then when I need to do a self eval, I can do things like regression analysis
 
user41796
@WorldEngineer yes, that's a very good idea. Make it easy on them to say "yes, let's put him into the interview queue."
 
user20683
and make all those pretty charts for management
 
user20683
also spelling "theirs" would be good
 
user41796
@Brant Props, mate, Props. No harm in burning off the stress from the week
 
user41796
2:30 AM
@WorldEngineer I'm laughing because I'm going back through my posts to see if I jacked that one up.
 
Actually, by "all week" I mean all of last week, and I'm still trying to deal with the stress
 
user41796
@Brant Victor Frankl's "Man's search for meaning" is currently putting a lot of that in perspective for me.
 
user41796
And I hate when I shut down chat like that ....
 
user41796
@Brant - at my last gig, the turning point was when they dumped the 4th FTE in my lap without even hinting that it may be too much. It didn't help that the 4th item was a reeking death-march. That's when I knew it was time to hit the open market and see what the next role had to offer.
 
FTE?
 
user41796
2:36 AM
FTE == Full Time Effort
 
Ah
 
user41796
Essentially, they wanted me covering 4 full time jobs. Without a bump in salary
 
user41796
I had been juggling 2 - 3 before that. None of which were super critical, so delays could be forgiven. But the 4th was super critical, and it lacked the gravitas to justify delays in the other 3.
 
ah bad management
 
user41796
@MattD That'll be the understatement of my day.
 
4:15 AM
@WorldEngineer that answer is so lacking in substance, giving something simpler tends to assuage curiosities: I dislike the city I'm in, due to <thing the target doesn't suffer from>. Or "I have friends/family there and would like to settle in the area as I've little ties here"
Simple, direct, and relatable.
Those reasons never got questioned in interviews the two times I got work cross country
 
user20683
@JimmyHoffa given that friends/family is why I'm moving and I'm not fond of Atlanta's weather
 
user20683
or transit
 
user20683
or much of anything else
 
user20683
good restaurants
 
There ya go, local culture and infrastructure is lacking, and you'll be closer to friends, nobody will think you're being dishonest with those answers and everyone can relate to them so they won't need to really ask more
 
 
3 hours later…
7:51 AM
@MichaelT did you check cliff questions recently? There seem to be a couple worth pushing one way or another. Also, does it make sense to order by closed date, instead of the score? to account for "Closed more than 9 days ago" in the roomba
 
 
6 hours later…
1:26 PM
I think the collider is still broken.
2
 
1:53 PM
Egads
 
user55340
@gnat The reason I did by score is that I'm really targeting SO with this query (though you need the v2 version for SO). With v2, one can select the date range to get the days ago filter.
 
user55340
2:15 PM
Hmm... if I cast 20 something answer down votes on MSO, I'll have 1337 rep.
 
3:11 PM
Needs SO migration?
0
Q: New to git, pushed code to my repo and did a pull request, it was merged, but my username shows up as "Ubuntu" on the other person's page

bvpxI made some bug fixes to an open source project on my local machine. I pushed the code to my github account then initiated a pull request (from? for? to?) the original author of the code. Why does my username show up as "ubuntu" on github? I did push from an Ubuntu machine, but under no circums...

 
Not anymore.
 
Somebody's on the ball
 
I would have been quicker, but I was torn between Web Apps and SO. He already had an SO account, though. And the comment pushed me all the way - it could be a local git configuration issue and not a github issue.
 
@ThomasOwens It is a local git configuration issue
 
OK. So SO was the right place then. Otherwise, GitHub issues can be moved to Web Apps.
 
3:14 PM
That's my commit due to lacking email configuration on my local git
 
I can't imgur at work. Needs to be on the stack imgur domain.
 
Git requires you to configure your e-mail locally so when you do commits it uses what you configured it to use as the tag name for the commit
 
Interesting. I should put my next bunch of code on github, but I haven't had time to work on it much beyond a framework.
 
@ThomasOwens I have a bunch of half-written pieces of crap on github. That's pretty much all I have there. No reason not to put up what you have
Just makes it easier to refer back to little snippets from wherever I am whenever I want, plus knowing it's not going to be lost
 
I have some gists on GitHub.
 
3:19 PM
@ThomasOwens Ah Java doesn't have an allegory to .NETs BitConverter ?
 
Not in Java 6. And I don't think in Java 7, either.
I think the String ones exist in the String class.
 
Aye, then yeah that is a handy gist; bitconverter is definitely useful in .NET and your gist is basically identical
 
gist.github.com/ThomasOwens/5196168 is also useful. I think that method exists in Apache Commons, but I wasn't going to bring in a whole JAR for one method.
 
user55340
gist.github.com/ThomasOwens/5196168 - hmm... somehow, these can be oneboxed...
 
Though I don't understand this bit, did you mean to call to the overload with two params at the end of this method? Wee bug eh?
:11489150     	/**
    	 * Convert 4 bytes into a Float.
    	 *
    	 * @param bytes
    	 *            byte array containing the float value
    	 * @throws NullPointerException
    	 *             byte array is null
    	 * @throws IllegalArgumentException
    	 *             there are insufficient or too many bytes to convert to a float
    	 * @return the value as a Float
    	 */
    	public static Float bytesToFloat(byte[] bytes) {
    		if (bytes.length != 4) {
    			throw new IllegalArgumentException("Float conversion requires 4 bytes.");
 
3:23 PM
Oops. Yeah.
 
user55340
 
Finally, my last Gist is gist.github.com/ThomasOwens/5196178 for Array utilities.
I have a meeting. I'll fix it at lunch or maybe this weekend.
 
@ThomasOwens You could can the array for a linked list to get over the 2.1gb issue, no?
 
user55340
 
user55340
It is doable somehow... I did it not too long ago... Not mine but...
 
@MichaelT "It" what?
 
user55340
Oneboxed a gist.
 
user55340
This bug might have showed up again...
 
user55340
7
Q: Gist oneboxing does not work when username is included

Amith KKGist oneboxing fails to work when the url of the gist is like this: https://gist.github.com/nathan-osman/4942570 (see here) But they work fine when the url is like this https://gist.github.com/4942570 (see here) I guess this would be a bug right?

 
user55340
 
user55340
However, if you look at that, actual link, it redirects on github.
 
user55340
gist.github.com/5196178 gets back a 302
 
user55340
Request URL:gist.github.com/5196178

HTTP/1.1 302 Found
Server: GitHub.com
Date: Wed, 02 Oct 2013 15:29:51 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Status: 302 Found
Strict-Transport-Security: max-age=31536000
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: chrome=1
Location: gist.github.com/ThomasOwens/5196178
Cache-Control: no-cache
Vary: Accept-Encoding
 
user55340
Note the Location header in there.
 
3:32 PM
@gnat I shoudln't have gone below 2k meta rep. someone totally rejected my edit to make a question more clear
 
@ThomasOwens Somebody elses port of BitConverter based on the C# class to Java nextgenupdate.com/forums/computer-programming/…
 
user55340
3:45 PM
Hmm! It got changed!
 
user55340
30
Q: Why use try … finally without a catch clause?

909 NiklasThe classical way to program is with try / catch but when is it appropriate to use try without catch? In Python the following appears legal and can make sense: try: #do work finally: #do something unconditional But we didn't catch anything. Similarly one could think in Java it would be tr...

 
user55340
80
A: Why use try … finally without a catch clause?

ChrisFIt depends on whether you can deal with the exceptions that can be raised at this point or not. If you can handle the exceptions locally you should, and it is better to handle the error as close to where it is raised as possible. If you can't handle them locally then just having a try / finally...

 
user55340
Thats the accepted answer now... not...
 
user55340
-63
A: Why use try … finally without a catch clause?

Pankaj UpadhyayCatching errors/exception and handling them in a neat manner is highly recommended even if not mandatory. The reason I say this is because I believe every developer should know and tackle the behavior of his/her application otherwise he hasn't completed his job in a duly manner. There is no sit...

 
user55340
 
user55340
3:51 PM
-1
Q: Can existing e-commerce cms/platforms be used to develop a travel website(for accommodations bookings e.g., wimdu.com)

Sak1bI have come across a lot of e-commerce cms/platforms(bigcommerce, magento, apptha, buildabazar, shopify) for selling products but not a single one for developing a accommodation website. I tried learning Ruby/Rails and am on it. Though finding it difficult to learn and use for complex projects. C...

 
user55340
> Can someone suggest a cms/platform/software to develop a website like wimdu.com, airbnb, expedia etc. I should be able to modify the features at ease. Or should I learn coding (ruby/rails - spree etc) to develop the site? Is Rails difficult than Django/php. Which one is better? Any help will be appreciated! My budget is $1000.
 
@MichaelT LOL
 
4:22 PM
4
Q: What To Do If I've Found a Vulnerability In a Possible Future Employers Site?

johnI've been self employed for a long time now and have recently decided that PHP development within a company is the route I'd like to go down. I had an initial interview/meeting yesterday with a potential employer and It seems like a great place to work... so I wake up today and start to do a bit...

Talk about a bad situation to be in
I might bite my lip until the interview process completed, if they hired me I'd point it out my first day as though I just stumbled across it, if not I'd point it out when they reject just because they should be notified. Frankly it's a bit of a huge risk to take telling them up front because a majority of places, especially large companies like he says this one is, would let that bubble up the management chain and non-technical people would be like "This guy's clearly untrustworthy!"
On the other hand, you probably should just outright tell them, especially given it's banking, and if they reject you based on that you really didn't want the job anyway
But then the guy says he wants to work as a corporate developer in PHP, so knowing everybody around him is writing security vulnerabilities is something he's going to want to get used to
 
He doesn't have the job yet, so "quit your job and get a new one" doesn't apply. Too bad.
 
@ThomasOwens Heh yeah. Realistically I wouldn't want to work somewhere with such a large vulnerability if their reaction to it being pointed out was "Whaaat?? You Hacker! Get out!" and not "Oh crap, good catch! We're going to fix that ASAP!"
 
user55340
4:56 PM
@Sklivvz thank you for looking into this.
 
I can't repro locally
 
@WorldEngineer good luck. Rejiggering my resume as well. I hear you on the canada thing.... Getting a little ridiculous around here
 
user55340
@Ampt Listen to CBC radio sometime (As It Happens I think is the program). Its not fun and games anywhere.
 
user55340
And then there are the "minor" fun things... like needing to write "log.en" and "log.fr" because everyone needs to be able to do work in french if they so chose.
 
Not saying that it is, but with the way things are headed, if I had to bet....
 
user55340
5:00 PM
Read the recent history of 1995. It just takes a good smackdown of obstructionism for things to change for awhile.
 
no reading today, i'm afraid. project projects projects (resume, resume, resume)
 
@Ampt Yeah get that resume done and get that job. We need more decent fresh grads in the industry, the majority of fresh grads are just depressing
 
It's a 403 from GitHub
 
@JimmyHoffa working on it. Just trying to fend off my teammates for now. "Did you commit your code without merging?" "..... yes?"
 
2 hours ago, by MichaelT
https://gist.github.com/5196178 gets back a 302
2 hours ago, by MichaelT
Request URL:https://gist.github.com/5196178

HTTP/1.1 302 Found
Server: GitHub.com
Date: Wed, 02 Oct 2013 15:29:51 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Status: 302 Found
Strict-Transport-Security: max-age=31536000
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: chrome=1
Location: https://gist.github.com/ThomasOwens/5196178
Cache-Control: no-cache
Vary: Accept-Encoding
 
5:05 PM
I read, however this server gets a 403 when it makes an API call (my dev box, with the same code, doesn't)
 
same for ssl as non-ssl?
 
user55340
5:16 PM
@Sklivvz is it possible that things like rss/atom feeds to chat rooms are making GitHub unhappy with this server?
 
@MichaelT Was thinking the same, but think about how much SO probably smashes gist compared to general public sources... Surely there are countless apps out there which are loading it with wayyyy more traffic than SO's low traffic chat
 
This question on SO became part of an FBI investigation:
17
Q: How can I connect to a Tor hidden service using curl in php?

frostyI'm trying to connect to a tor hidden service using the following php: $url = 'http://jhiwjjlqpyawmpjx.onion/' $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_PROXY, "http://127.0.0.1:9050/"); curl_setopt($ch, CURLO...

 
@thorstenmüller Just for the record, I did not ask this question; apparently somebody's trying to steal my gravatar but it's not me.
@thorstenmüller Where'd you hear this?
 
5:35 PM
It's toward the end.
 
They busted Silk Road
 
The dude tried to put hits on people. Like the Godfather or something.
 
Seems "frosty" is Ross William Ulbricht aka "Dread Pirate Roberts"
 
> Ulbricht was apprehended in San Francisco, along with $3.6 million in bitcoins, a cryptocurrency at the heart of Silk Road’s billion dollar economy.
That line just reads like something out of a sci-fi novel "Apprehended with 3.6 million dollars in bitcoins"
 
user55340
@JimmyHoffa Its remarkably similar - the colors very similar and the interior pattern is the same. Corner pattern is rotated 180 degrees. Edge pattern is quite different though.
 
user55340
5:46 PM
@ThomasOwens Well, now that Breaking Bad is over... he wants to sell a new screen play / reality show?
 
6:05 PM
@JimmyHoffa can you imagine what that article reads like if you aren't computer savvy? ha
 
user55340
Oh, (another Breaking Bad joke)... now that Breaking Bad is over, they're doing a new series about politics in washington and government shutdown. Its called "Broken Bad".
2
 
7:29 PM
Unbelievable!!
 
@JimG. Yes! Let's be furious! I am furious! (What are we furious about?) I'm Angr0r!
 
user55340
@JimG. {princess bride} You keep using that word. I do not think it means what you think it means. {/pricess bride}
 
user55340
7:54 PM
Could someone toss a dup vote on a question for me to start the ball rolling?
 
user55340
From:
 
user55340
1
Q: If someone changes their license, does it apply to previously forked projects under the prior license?

giant91 Say someone puts their code on GitHub, under the MIT license. Then I forked it and use it in my project. Then they change the license so that it is closed source highly copyrighted. Would the new license apply to my code, since the code I have was from before they changed the license?

 
user55340
To:
 
user55340
3
Q: What happens when a project switches to a different license?

lobatiI've been reading a bit about software licenses, and I'm having trouble getting my head around the idea of what happens when one wants to change the license. I've read a couple of questions here on the topic and it clarifies things some, but there are still a couple of areas that are unclear to ...

 
user55340
Btw, fun topic...
 
user55340
7:59 PM
A sorting network is an abstract mathematical model of a network of wires and comparator modules that is used to sort a sequence of numbers. Each comparator connects two wires and sorts the values by outputting the smaller value to one wire, and the larger to the other. The main difference between sorting networks and comparison sorting algorithms is that with a sorting network the sequence of comparisons is set in advance, regardless of the outcome of previous comparisons. This independence of comparison sequences is useful for parallel execution of the algorithms. Despite the simplicity...
 
user41796
8:11 PM
@MichaelT done
 
user55340
@GlenH7 Thank you.
 
user55340
I had mentioned it in my answer, but it really is a dup.
 
user55340
So yea... sorting networks are an interesting topic.
 
user55340
 
user55340
Thats a selection sort parallelized.
 
user55340
8:19 PM
And this is how the type of thing works:
 
user55340
 
@MichaelT ...why? Are these literal hardware things, or is this just an abstract construct that defines a space for exploring details of sorting concepts? If they're literal hardware things do they have value or is it just for proofing and testing?
 
user55340
You've got something that takes a lot of work to do a comparison, and you want to distribute - how can you do the best sort possible?
 
user55340
> To achieve high throughput rates today's computers perform several operations simultaneously. Not only are I/O operations performed concurrently with computing, but also, in multiprocessors, several computing operations are done concurrently. A major problem in the design of such a computing system is the connecting together of the various parts of the system (the I/O devices, memories, processing units, etc.) in such a way that all the required data transfers can be accommodated.
 
user55340
8:27 PM
> One common scheme is a high-speed bus which is time-shared by the various parts; speed of available hardware limits this scheme. Another scheme is a cross-bar switch or matrix; limiting factors here are the amount of hardware (an m × n matrix requires m × n cross-points) and the fan-in and fan-out of the hardware.
 
user55340
Digging into it, it appears that this is used even today in things such clustering and supercomputer type things.
 
user55340
Academically, it was a hot topic in the mid 90s.
 
8:58 PM
you forgot to mention that both answers are low quality crap. "Polling items" as far from SE Q&A model as it gets, not even attempting to provide an explanation and context. Without an explanation, both answers are demonstrably useless in case if someone else posts an opposite opinion. In a presence of a different claim, none of these answers help reader to pick of two opposing opinions. Side note high score of the post that just shows funny picture reminds me of The Trouble With Popularitygnat 1 min ago
150
A: Should curly braces appear on their own line?

sergI find the first method more readable, especially if you have nested blocks. The second method reminds me of basic, it's like you're trying to not forget that the braces are there.

147
A: Should curly braces appear on their own line?

Kevin LaityI find the second method more readable, especially if you have nested blocks. The first method reminds me of basic, it's like you're trying to forget that the braces are there.

what a brainless crap
posted in 2010, that's the only excuse
and a good reason for historical lock
 
user55340
9:17 PM
@gnat ChrisF got there first... and well, its got a pink background now.
 
user55340
Not everything, though it looks like he's picking and choosing answers that are of poor quality.
 
Anybody still got CVs? Let's get this not-migrated if possible.
-1
Q: How to plot a line chart in Jfreechart?

carmelina mHow to plot a line chart using JFreechart in Eclipse? Is there an Editor for this that would simplify the task? Also, how to link the plot to an existing GUI?

 
user55340
9:29 PM
Amusing bit from a question...
 
user55340
there's more than one way to do statement delimiters in python. In perl, there's only one (and obvious) way to terminate a statement.
 
@MichaelT A poem?
 
user55340
@JimmyHoffa the sorting network thing - demonstrations.wolfram.com/SortingNetworks
 
user55340
Neat to play with.
 
user55340
Python:
 
user55340
9:39 PM
> There should be one-- and preferably only one --obvious way to do it.
 
user55340
@Blrfl Visual Basic is like that. For that matter, so is Python; in fact, Python has more than one way to do it. — Robert Harvey 17 mins ago
 
@MichaelT Alright, now that's cool
 
1
A: If someone changes their license, does it apply to previously forked projects under the prior license?

sjakubowskiSafe answer: Consult a Lawyer Unsafe answer: The last version/commit under the old license is fair game.

trying hard not to comment with crappy answer: this answer
 
user55340
Thats the one that provoked me to write my answer.
 
user55340
9:55 PM
Random aside - we're working on some crowd sourced data... I'm occasionally asked about how SE works for some given topic. Also pointed the lead dev on that project to the Group article, one of those "oh" moments happened.
 
11:45 PM
@MichaelT next time you have to tell someone that you aren't a lawyer you could just make a contraction of it
 
user55340
1
A: What is a good license for community submissions to commercial partially closed source software?

MichaelT#include <ianal.h> // And for that matter, I'm not a license expert either Unless the copyright is assigned to you, the original author maintains the copyright on the code. The simplest approach to this is to have contributors license the code submission with a BSD license. This license allow...

 
lol
 

« first day (1125 days earlier)      last day (3859 days later) »