Is the fact that there are more repos for Go on Git than there are for XML supposed to mean that more people use Go than XML? Because if so, that's another retarded statement.
Posts made by Sutherlands
-
RE: 17 byte allocation
-
RE: The case of the do-nothing programmers
@dhromed said:
All that means is "Can you add some dialogue?"@Alex Papadimoulis said:
@dhromed said:
I do not endorse this policy.
You mean, the narrative/storytelling approach that's been a mainstay since 2006?
Things like "one of the site admins asked me to literally fabricate dialogue to make it more interesting".
You can't copy and paste submissions verbatim, obviously, but there's a limit to how much embellishment one should do. I think WTFs should be able to stand on their own as much as possible.
-
RE: The case of the do-nothing programmers
@Alex Papadimoulis said:
Yes, that. Obviously it's not working, as you can tell by this site having nobody on it.@dhromed said:
I do not endorse this policy.
You mean, the narrative/storytelling approach that's been a mainstay since 2006?
But seriously, I like the front page articles, and I like the Sidebar articles.
-
RE: The Bar-Seperated Values CSV
@blakeyrat said:
@taustin said:
I've never heard anyone say "let's order chinese takeout food", either. It'st he putting "a" in front of it that makes in confusing (to an american).
Yeah and where the fuck does it come from? Why would anybody ever insert an "a" in that context? It's crazy.
FTFY
-
RE: Cheap code
@Khalin said:
Maybe it's me but if we take apart the fact that they are creating XML...
"If we take out the biggest failure of all..."@Khalin said:that's the fastest way to concatenate strings in C#
I highly doubt you've done the performance metrics. And since the StringBuilder is not being initialized with a length, I highly doubt this could not be optimized. Regardless, the CORRECT way to concatenate strings is what is most readable and maintainable, since the performance will not matter in your application (99.9% of the time).If the string constant is known the best way to join them is to use String.Concat (or use the + operator), otherwise, if it's not known, the best way is to use a StringBuilder and they are mixing both to in the second method to have a proper performance
-
RE: Neckbeards Exposed!
@Severity One said:
Since "murder" != "shooting"...@Lorne Kates said:
Let me rephrase it then: if your neighbour's dog shits on your lawn and you don't live in a country with a constitutional right to bear arms, do you file a police report, or do you take it up with the neighbour first?If your neighbour's dog shits on your lawn, do you file a police report, or do you take it up with the neighbour first?
Appropriate responses seem to range from requesting a DNA test on the dog poop to track down Poochie McCrimerson, to just outright murdering them.
Appropriate responses seem to range from requesting a DNA test on the dog poop to track down Poochie McCrimerson, to just outright murdering them.
-
RE: Neckbeards Exposed!
@bridget99 said:
People in Europe do seem to be better at treating each other like real human beings, instead of stereotypes or examples.
Like not calling someone a neckbeard because they made a comment you don't like? -
RE: We don't need no stinkin' indexes
@RHuckster said:
@Ben L. said:
Does it matter? It only has a few thousand rows and it's taking multiple seconds."I don't need your stupid indexes! This table already has THOUSANDS of rows in it and queries never take more than a few seconds!"
Need context. By "already has thousands of rows in it" did you push this thing to production a week ago, or 5 minutes ago? If it was 5 minutes ago, I'll be looking forward to tomorrow's update.
-
RE: Neckbeards Exposed!
@GiskardReventlov said:
Something I found funny.
Because you can't be sexist against males, just like you can't be racist against whites.
The 'forking the repo' joke was meant as flattery. Any even if it had sexual connotations.... two guys said between themselves they'd "like to fork his repo". And the dongle jokes are also about male anatomy.
I may be thick, but how is a conversation that never mentions a female sexist against females? -
RE: "That limits functionality, doesn't it?"
Dang rouge developers.
Also, she sounds like she shouldn't be let anywhere near a decision.
-
RE: StringBuilder? We've heard of that.
@Cassidy said:
Yes, but not in my example, and I don't know who.@Sutherlands said:
At my old job there was an application written that compared log entries from one file to log entries in another file.
Someone rewrote the diff command?
Obviously it didn't just highlight differences. And order didn't matter.
-
RE: Finally on Try blocks? We've heard of that too.
Generally you have to check whether the arguments are null first as well, so yes, there is additional operations.
Also, I'm with blakey in this particular thread.
-
RE: StringBuilder? We've heard of that.
At my old job there was an application written that compared log entries from one file to log entries in another file. The way it did this was:
foreach(line in file1)
foreach(line2 in file2)
Parse line to object
Parse line2 to object
Compare and store results
I moved the parsing out of the loop and then compared the objects. Made it run in seconds instead of hours.
-
RE: C# method, written by the 'senior' dev
@Anonymous Cowherd said:
This dev is also very fond of 'out' parameters.
Reeks of someone who doesn't understand the language. "Senior".... laugh -
RE: C# method, written by the 'senior' dev
@Nexzus said:
Am I the only one who's deathly afraid of something like 'ref ReturnCodeObject result'?
It does make me think that the developer doesn't understand what they're doing...@Nexzus said:Reminds me so much of Win32. "Stick your object into this black hole of a function. We promise we'll take care of it!"
...and so does this. Each and every time you send an object into a function in C# or Java, the calling function can do whatever they want with it EXCEPT tell the caller to use a separate object as the object instead... but they can change every field inside (that's not readonly). -
RE: Ostrich Inc. - Of course we're secure!
@TheLazyHase said:
I know what both mean, and personal attack is another form of fallacy.
Saying that you are using words wrong is a personal attack? News to me.@TheLazyHase said:
Fallacy because your reasonment is wrong : you equate the legal obligation of a firm and a non-mandatory behavior from a consultant, and try to hide the fact that they are fundamentally different with rhetorics.
The closest thing I said to what you're claiming is that he is not in a position to claim the moral high ground. Strawman is ACTUALLY a fallacy.
@TheLazyHase said:
Dictatorial because each and every country I know where anonymous tip-off were mandatory were dictatorial (for example; France under Nazi occupation, Communist China, East Germany).
Very well, mandatory tip-offs may be dictatorial. But you're the only who has mentioned anything about them being mandatory. Everyone else is talking about what the moral thing to do is.@TheLazyHase said:And a third fallacy on your post : you consider each and every thing you claim "amoral" to be the same.
immoral, not amoral.@TheLazyHase said:It's plain wrong ; the perenial example is that a thief have the moral high ground over a child rapist. Ostrich did not rape children (yet ?), but it did have done something a lot more important than chickening out.
Considering "each and every thing [...] to be the same" when we're only talking about two things is perfectly valid. I consider these two things to be such that in this instance, neither one is more moral than the other. That is also not a fallacy, though you are free to disagree with it.@KrakenLover said:
I agree. And I never claimed that I had the moral high-ground in this case.
Looking back I see that it is true. I can't even say I would do something different in your place. I hope you'll consider placing an anonymous tip sometime in the not-so-distant future, though. -
RE: Ostrich Inc. - Of course we're secure!
@TheLazyHase said:
dictatorial
@TheLazyHase said:fallacy
I'm not sure you know what these mean.Regardless, you can't claim the moral high ground when you're not doing the moral thing, regardless of whether you have to or not.
-
RE: Ostrich Inc. - Of course we're secure!
@TheLazyHase said:
In which way the OP is a fraudster and in which way do he morally questionable things ?
The company made/isn't fixing the security violations to make more money. He isn't reporting the violations to make more money. You can't say "I'd report it except I'd never get a job again" and expect to be morally superior to them since they didn't spend all their money to fix it. -
RE: It MUST be done!
@Ben L. said:
Wow. A comment that increases runtime. I never thought I'd see the day...
What? -
RE: Applebees Fail.
This doesn't have to be a debug build. You get the path if you deploy the .pdb files, with a release or debug build.
-
RE: Interview question
@Weng said:
Thinking about dropping compactness, since it's partially subsumed by supportability and adding correctness
So then it would go 1) Correctness, 2) Sustainability, 3) Efficiency?Not being a DBA:
@Weng said:
"When would you use a SQL Index?"
When I need to query based on the index.@Weng said:
How do you know what indexes to create
Hopefully thinking about the use-cases for what gets queried on and how often, but also a profiler. -
RE: New definition of free
@Pascal said:
You want to complain about them leaving off the word "purchase" in an unimportant email that they have to maintain because less than 1% of their customers are luddites?@tweek said:
Maybe it was sent that way in the plaintext email? (I get the html, because I like the pretty pictures, and if I don't, gmail will turn them off for me.)
Yes, I get their plaintext emails. My Thunderbird folder is already over 7GB, I don't want to think where it'd be if I got html emails from everyone instead.I guess ThinkGeek isn't quite as greedy as their marketing would lead you to believe, their marketing dept. is just incompetent. -
RE: Keep on Searching
@Manni_reloaded said:
PS- is it sad that I'm stuck on the fact this is obviously VB and in your first code chunk you added a C++ style comment?
No mention of the super-crappy version of hungarian notation? -
RE: Infinite Defects Methodology
@skotl said:
Patch 4 consists of a zip, containing a single .cmd file, which reads "deltree -y c:"
Critical Defect E: Application does not run.No more critical defects!
-
RE: Swingin' Calls
That's kind of how you're SUPPOSED to do it... in C# the idiom is:
if(GuiObject.InvokeRequired)
GuiObject.Invoke(...)
else
GuiObject.SetProperty
-
RE: Quota Exceeded
@blakeyrat said:
Then they failed at their job. What do you want from me exactly? Here's a quick summary of this argument:
Well, actually...Cassidy: "An IT team removed quotas and the email server went down!"
Me: "Then they're incompetent."
Cassidy: "Erm, no! They were awful at communicating their needs and failed to get the resources required to do their job!"
Me: "Then they're incompetent."If you're trying to get across the point that a lot of IT people are terrible at their job then: DUH! Of course! That is not surprising and has nothing to do with this conversation! If you're trying to make some other point, then I really have no idea what it is. Them being incompetent in two different ways seems irrelevant to the basic point that they were incompetent.
If they saw what was happening, suggested ways of preventing it, but didn't have the authority to actually do those things, I wouldn't say the failed at their job. Rather, the bosses failed at their job, the IT guys simply didn't have the power to actually do their job.
-
RE: If this is how you write your SQL, I don't want to work there
@blakeyrat said:
Would you guys say I have a "high" personality or a "low" one?
Definitely low. -
RE: If this is how you write your SQL, I don't want to work there
I wouldn't work there because of the PHP and the iMac. What's so horrendous about the SQL?
-
RE: Legenderror'd
@OhNoDevelopment said:
League of Legends has made it somewhat easier so you do not need to control pets. For example, a pet will attack any unit you attack, but critics say there is not enough control with this scheme and the AIs are stupid.
Actually for those champions with pets, if you shift-right-click, it will move the pet or cause it to attack what you click on. -
RE: Legenderror'd
Since I like to play LOL, and playing with people is more fun, my username is Sutherlands (OMG!). Feel free to add me and let me know who you are.
-
RE: Legenderror'd
@blakeyrat said:
I would prefer something where 1) the pathfinding isn't fucking stupid as fuck, and 2) you can't get your camera 573 miles away from your character and get lost and send them a move command (using fucking stupid pathfinding) 68 miles away-- or accidentally select a mule (which you can do for some reason in DOTA2) and then spend the next 5 minutes trying to figure out why your guy won't move at all.
#1 is the only problem with LoL. For #2, you can hit space and it will center on your character (and obviously you can't select a mule).@blakeyrat said:
I'm not sure what the controls would look like. As for first-person, why not have it as an option? Monday Night Combat is a, meh, ok game. But maybe that's not the end-all, be-all.
It would take a lot of development for what would probably be a subpar feature. Maybe it would work for some champs, but it's hard to place Veigar's stun right on someone in first person mode, or to use Ezrael's blink to where you want to go. Also hard to check on other parts of the map. I think it would need it's own game in order to have it.@blakeyrat said:
I really feel like these companies are just blindly copying the original without spending even 65 milliseconds thinking about how they could make the interface better. Because what I have right now is RTS controls applied to something that most certainly is NOT an RTS, and it's a bad fit, and it adds to the inscrutable nature of the already confusing game.
More like RPG. Aren't they the same controls that Diablo and the like use? -
RE: Legenderror'd
@blakeyrat said:
Can someone who actually plays MOBA games explain to me why they still use RTS control schemes? I understand that it started life as a RTS mod, but when I was playing DOTA2 the one thing that drive me batty was, why the holy shit do I have to do the "click to move" bullshit instead of being able to control my character directly? It's not like I'm controlling 27 guys at once. I don't get that.
I definitely prefer it over a FPS type MOBA game such as the previously mentioned Monday Night Combat. Are you suggesting that or a top-down view where you have to use the keys to move your guy?I get the sense that it's the kind of game where most of the difficulty is the controls are weird and hard to use.
-
RE: Interfaces
@Mason Wheeler said:
Stuff
If you change something and have to rewrite 10% of your unit tests in a very large application, your stuff was not sufficiently modular.
-
RE: Legenderror'd
I really enjoy LoL. My wife complains about how much I play it...
-
RE: Coderwall way to welcome you
@joe.edwards said:
@Lorne Kates said:
Then that's not the advanced course.@locallunatic said:
@joe.edwards said:
@Lorne Kates said:
* Rapid-Deploy ALT-TAB When Boss Comes (Porn edition)
* Rapid-Deploy ALT-TAB When Boss Comes (Porn edition, advanced)
What, no TDWTF edition? My skills should count, no matter how useless or obscure.
I'd be more worried about what seperates the normal and advanced courses than not having the site you use on the list.
Number of available hands.
I have two available hands.
-
RE: Yesterday at the Outback
@dhromed said:
You're just upset because I'm winning.You gon' keep necroing, you're gonna have a bad time, friend.
-
RE: Emergency. Giant crack in the basement. Evacuate!
@boomzilla said:
@PedanticCurmudgeon said:
+1@TGV said:
Where's that?the land of The Holy Freedom of Expression (but we'll sue you for everything else).
I hear the Holy Freedom of Expression lives in the Vatican.
-
RE: Tales from the Interview on Quora
@joe.edwards said:
Content blocked sites often allow Google to spider them though, and sometimes a user agent switch is all it takes to read "protected" content.
Huh, never thought of that. For ExpertSexchange I used to either look at the cached site or (later) just scroll down to the bottom where the answers were hidden. -
RE: Boring Thursday! Here's a link
@blakeyrat said:
Hey you goons, Shamus just made a post making fun of Windows, so there you go.
I was going to say "That's the stupidest thing I've read today. I feel dumber than I was before." Then I realized who it was and that you probably posted it tongue-in-cheek. But it still made me feel dumber, and I hate you for it. -
RE: In case of error, crash server.
This is why "total cost of ownership" is more important than the up-front licensing cost. ;)
-
RE: Boring Thursday! Here's a link
@nonpartisan said:
Not hard at all for someone who knows what he's doing.
Isn't that the point? You may get just as many points for the "efficiency" portion of usability, but you don't get points for learnability, memorability, errors, or satisfaction. -
RE: Boring Thursday! Here's a link
Well if you followed the reply to, it obviously went to the one I was replying to! DUH! But anyway, whenever blakey is going on about linux, or really any other software, 9 times out of 10 it's not about how he didn't get it, or couldn't work around it, it's that it wasn't usable. As said right above this, having different commands for each flavor of linux, having to know how to get the man page, etc, is much harder than putting a CD in, starting the computer, and having a step-by-step wizard help you install an OS. And it's not too much easier the second time.
-
RE: This is the sort of design sense you need to work for Microsoft
@bridget99 said:
@RichP said:
We, too, are nostalgic for you having an AS/400.GRANTED IT DOES MAKE ME NOTSALGIC FOR MY DAYS OF WORKING ON AN AS/400.
Basically everything about Windows makes me nostalgic for AS/400.
-
RE: Hacker News is the DeviantART of developer side projects
Your educational exercise was "go google for better answers"? Guess it's a good thing you're not an educator.
-
RE: Boring Thursday! Here's a link
@Wiki said:
ISO defines usability as "The extent to which a product can be used by specified users to achieve specified goals with effectiveness, efficiency, and satisfaction in a specified context of use." The word "usability" also refers to methods for improving ease-of-use during the design process. Usability consultant Jakob Nielsen and computer science professor Ben Shneiderman have written (separately) about a framework of system acceptability, where usability is a part of "usefulness" and is composed of:<font size="2">[4]</font>
- Learnability: How easy is it for users to accomplish basic tasks the first time they encounter the design?
- Efficiency: Once users have learned the design, how quickly can they perform tasks?
- Memorability: When users return to the design after a period of not using it, how easily can they re establish proficiency?
- Errors: How many errors do users make, how severe are these errors, and how easily can they recover from the errors?
- Satisfaction: How pleasant is it to use the design?
I find it laughable what you think usability is. Blakey's "you shouldn't have to learn anything" is a bit over the top, but the point is that it should be easy to learn.
-
RE: This is the sort of design sense you need to work for Microsoft
Also, you can change the menu to not be in caps. (Or at least you can in VS)