News for hackers. Stuff that matters.
Re:Pre-Pooping Your Pants with Rust by VeejayRampay on Monday April 27, 2015 @04:20AM (#9444959)
A quick observation from an outsider: The article goes into a lot of depth, seems highly technical, well crafted and researched but the whole "pre-poop your pants" thing just ruins all that and makes it looks childish. I understand that not everything about development has to be serious, but I also think that aligning form and content is the surest way to make sure your message comes across.
Re:Pre-Pooping Your Pants with Rust by lifthrasiir on Monday April 27, 2015 @05:14AM (#9445128)
I'll reuse my reply on /r/rust to defend the naming:

> I like the naming and feeling of "Pre-Pooping Your Pants" pattern. We are doing the intentional leak only to be (hopefully) collected later, which may not happen but it still remains memory-safe even in that case. Still this is not very desirable and the name clearly indicates so.

Re:Pre-Pooping Your Pants with Rust by lighthawk on Monday April 27, 2015 @08:22AM (#9445724)
A term for code written in an undesirable way to tie you over in the short-term is a "hack".

Not all hacks are bad. But, if I see "// this is a hack to..." or "# this is a hack to..." or similar in code, that is a signal to me that the developer (1) either didn't have time to perform the right thing but could have with more time (within their lifetime), or (2) could not feasibly perform the right thing under constraints given (within their lifetime).

Over the past ~8 years, "hack"'s use has switched back to a much more positive sense- possibly because of HN, or possibly because people read Eric Raymond http://www.catb.org/esr/faqs/hacker-howto.html, but "hack" != "hacker". The negative sense is still used and understood by most developers, and it comes from two things: "HACK... HACK... HACK...", like the sound of an ax attempting to chop down a tree (brute force), and the other definition of a hack not used as much these days, which is "work for hire especially with mediocre professional standards".

I think we should at least consider PPYP to be a subclass of "hack", or perhaps just use the word "hack" instead of PPYP.

Re:Pre-Pooping Your Pants with Rust by jdub on Monday April 27, 2015 @09:43AM (#9446187)
kludge is a better term for an undesirable short-term fix. hack implies clever or elegant.
Re:Pre-Pooping Your Pants with Rust by nosefrog on Monday April 27, 2015 @05:27AM (#9445168)
I think Pre-Poop Your Pants is a really clever way to package the core idea. I agree that the article is well crafted, and I don't think it's childish to talk about poop in this context.
Re:Pre-Pooping Your Pants with Rust by golergka on Monday April 27, 2015 @04:36AM (#9445009)
I guess it's a personal thing. I don't know much about Rust, but the title explained the severity of the problem pretty good right away.
Re:Pre-Pooping Your Pants with Rust by digitalzombie on Monday April 27, 2015 @04:41AM (#9445030)
I'm hoping this design pattern name catch on. PPYP design pattern.

Sometime programming can be boring and then you come across PPYP and it makes it fun again.

Re:Pre-Pooping Your Pants with Rust by Dewie2 on Monday April 27, 2015 @05:10AM (#9445113)
First it was dry and boring, and then someone mentioned "poop" and then the same subject was hilarious! I don't get it...
Re:Pre-Pooping Your Pants with Rust by Manishearth on Monday April 27, 2015 @06:07AM (#9445288)
It's not an "official" article, just a blog post by a contributor. Informal is okay IMO.
Re:Pre-Pooping Your Pants with Rust by mrbig4545 on Monday April 27, 2015 @05:24AM (#9445161)
I couldn't agree more. the article is well written, but the title puts me off a lot.

How am I going to show this to my boss, and have him take it seriously with such an infantile title?

Re:Pre-Pooping Your Pants with Rust by nosefrog on Monday April 27, 2015 @05:34AM (#9445186)
You have the right to your own feelings, and I agree that the title may be off putting. The audience for the article is rust core contributors and rust fans, and they're a very informal bunch. If rusters are like similar communities I know, talking about poop makes a blog post more likely to spread.

EDIT: I do not want to argue with Dewey2, so I'm putting this here: the women in the rust community that feel uncomfortable when they are addressed as "guys" have every right to feel that way, and I commend the rust community on making that stand.

Re:Pre-Pooping Your Pants with Rust by kzrdude on Monday April 27, 2015 @12:29PM (#9447322)
There's nothing to suggest all other rust devs like this way of presenting it. I don't. I agree it's off-putting even if the issue itself is interesting.
[dead]
Re:Pre-Pooping Your Pants with Rust by DanBC on Monday April 27, 2015 @06:34AM (#9445367)
https://news.ycombinator.com/newsguidelines.html

"Please avoid introducing classic flamewar topics unless you have something genuinely new to say about them."

Your Dewie account was banned; this account is currently at -5.

Re:Pre-Pooping Your Pants with Rust by Dewie2 on Monday April 27, 2015 @06:53AM (#9445418)
Since you're so interested in my activity here[1], you may notice that my very first, apparently terrible and flame-inducing post was about me pointing out that an article spelled someone's name wrong[2], modulo transliteration. Now you might argue that I was wrong, but do you really think that was such a terrible, unproductive and antagonistic post? The next mass of downvotes came when I replied sarcastically to someone who wrote that my concerns/arguments were "stupid" and not worthwhile. That provocative post towards me was, of course, not downvoted. My follow-up to my original, downvoted, post was at first well-recieved[3], but then creeped down to 1 again for some reason.

I'm not a victim by any means, and I'm sometimes an asshole. But maybe you should stop taking Karma at face value and stop believing that this community is beyond reproach. If you want to go through my history - which on this account is quite short - at least do it better.

[1] And your profile says nothing about you being a mod.

[2] https://news.ycombinator.com/item?id=9440971

[3] https://news.ycombinator.com/item?id=9441604

Re:Pre-Pooping Your Pants with Rust by DanBC on Monday April 27, 2015 @02:28PM (#9448228)
I'm trying to help.

Your current posting style didn't work for your last account. It doesn't seem to be working for this account.

> and I'm sometimes an asshole.

Do you think this is working for you?

Re:Pre-Pooping Your Pants with Rust by Dewie3 on Wednesday April 29, 2015 @04:44PM (#9461613)
> Your current posting style didn't work for your last account. It doesn't seem to be working for this account.

Yes, I was an asshole on my "Dewie" account, and recently on Dewie2 as well. But go over the posts I presented again - was I really being an asshole? Or did I just have opinions and priorities that people were in such disagreement with that they chose to use the "I don't like this - Downvote!"-artillery? Come on. At least address my specific points when I go to the trouble of typing them out. Instead of just playing Dr. Phil.

> It doesn't seem to be working for this account.

Yes. Thanks for underlining that for the powers that be. Well, it's not like I was hiding so who am I to complain.

> Do you think this is working for you?

Clearly, my problem is being a glutton for punishment in that I keep coming back to this poisonous community. :) It's not like the assholes on this forum are helping me be less of an asshole. (And no, you're not one of the assholes, just speaking of a subset here.)

Re:Pre-Pooping Your Pants with Rust by Dewie3 on Thursday April 30, 2015 @06:05AM (#9464134)
Glad to see that I've still got some fans.
Re:Pre-Pooping Your Pants with Rust by Ygg2 on Monday April 27, 2015 @05:58AM (#9445258)
Because toilet humor and gender discrimination are the same?
Re:Pre-Pooping Your Pants with Rust by Dewie2 on Monday April 27, 2015 @06:01AM (#9445266)
Because "guys" is gender discrimination? Give me a break. Might as well call ~everyone who speaks the Spanish language massive sexists while you're at it.

I guess it is if you're oversensitive to everything that might be construed as sexist, through any historical, cultural etc. link. Like some people are oversensitive about bodily functions.

Besides, some groups of people might be put off by such crass analogies. You don't want to exclude those people, do you Ygg2?

Re:Pre-Pooping Your Pants with Rust by Manishearth on Monday April 27, 2015 @06:17AM (#9445322)
Yeah, no, the default male plural pronoun in other languages is a language feature. One doesn't feel like they're being called male when it's used. On the other hand "guys" sounds like you're being called, well, a guy (and English has singular they and many other constructs that can be used in its place).

Usage of "guys" makes many women feel they don't belong. It perpetuates ideas about programming being a boys club that shouldn't exist.

Poop jokes might make some people uncomfortable, but they're not as harmful as "guys".

Plus, if you read kibwen's comment below that, it's not something that's considered a serious offence, but you will be asked to stop. The same would probably go for excessive poop jokes in IRC or whatever.

(Also, it's an unofficial blog post. Not the same standards. There wouldn't be poop jokes on an official blog post, and there wouldn't be much of a ruckus if someone used "guys" in an unofficial one)

Re:Pre-Pooping Your Pants with Rust by ncphillips on Monday April 27, 2015 @06:51AM (#9445410)
I dunno, I'll say "hi guys" to groups of women as well as mixed or male groups. I've also heard girls say "hi guys" to a mixed group.

I've also heard people say things like "hey up A" where A is in

["guys and gals", "guys and girls", "everyone", "mothafuckas", "nerds", "friends", "all you", "people", etc.]

Coming form a very formal understanding of language, I can see how it could be taken as a reference to only the men, but coming from my practical experience, "guys" has been used as a gender neutral way of referencing a group without issue.

Now that I think of it, this really is a context sensitive issue. For example, saying "hi guys" to a group of 100 with only one or two women in it might give some listeners the impression that there are no women, thus perpetuating the "boys club" view, whereas saying "hi guys" to an evenly mixed group might not give the listeners that impression.

Language is hard yo.

Re:Pre-Pooping Your Pants with Rust by Manishearth on Monday April 27, 2015 @07:22AM (#9445513)
> but coming from my practical experience, "guys" has been used as a gender neutral way of referencing a group without issue

That's sort of the problem here. We're so used to it that we forget that it might not mean the same thing to others.

[dead]
Re:Pre-Pooping Your Pants with Rust by Ygg2 on Monday April 27, 2015 @07:28AM (#9445531)
> I guess the Rust community isn't so carefree and non-sensitive after all.

Carefree? Mostly. Non-sensitive? Pretty much the opposite. Rust community is extremely sensitive. The rules are lax, but they draw the line at making contributors uncomfortable.

In IRC, the poop jokes and calling people guys, would have the same chance of drawing ire, which isn't huge. The whole "guys" thing is just a smidge more likely to draw ire. However if you are insistent on either accounts expect to get ostracized.

> I guess they don't feel like they belong in any part of mixed gender society then, since it is so widespread.

Well, yes. It's not like women make on average less than their male peers.

-------------------

Let me show an abriged version of what usually happens in IRC.

      Anon: Hi guys,
      Mod: We prefer the term guys and gals :)
      Anon: Hi guys and gals*

      Anonhole: Hi guys
      Mod: We prefer the term guys and gals :)
      Anonhole: I know.
      Mod: We have a term of conduct, please read it.
      Anonhole: I won't
      Mod: *ban* Anonhole
Re:Pre-Pooping Your Pants with Rust by pekk on Monday April 27, 2015 @11:58AM (#9447107)
While it is certainly informal to say "guys," I have heard both men and women use it in a definitely gender-neutral sense for my entire life, including in workplaces, and informality is not impolite in an informal setting like an IRC channel. I wasn't sure if I was crazy here so I asked a couple of women I know and they were as surprised as I was. By contrast, nobody uses the word "gals" - it sounds incredibly awkward and lame. Perhaps the use of the word "guys" is regional, like "y'all" (sadly, it seems like English does not have any universally established pronoun for this). It's sad that you are proud of treating people who are new to Rust by permanently excluding people and labeling them as assholes for using idioms which are considered perfectly courteous and gender-neutral in many places. Given that, banning people just for using the word "guys" smacks of finding excuses to harass and ban people more than offering a welcoming community. If this is "what usually happens in IRC" then that might be a clue that there are dialect differences you aren't recognizing?

Insofar as you are representing the Rust community via HN, you've given an overwhelming impression that the Rust community is an unpleasant place where "outsiders" are totally unwelcome. As someone who considered adopting Rust prior to reading your post, that's a problem because with such an immature language I would eventually have to interact with that community and then I would apparently have to deal with people randomly nitpicking which dialect of English I learned and calling me an asshole. No thanks, life is too short.

Re:Pre-Pooping Your Pants with Rust by Ygg2 on Monday April 27, 2015 @12:15PM (#9447217)
I'm sorry I gave that impressions, but I'm not really member of Rust community. I'm just a guy writing Rust code and occasionally checking out the channel. I'm much more Java than Rust guy :P

Also you missed the point of that exchange, you are excluded from the Rust community, only if you act against Code of Conduct actively. The titular bad example was given a warning, he disregarded it several times and continued to behave against community wishes.

What do you expect happens once you act against what other members of the club urge you not to do? A single mistake/slip up isn't a problem. Repeated offense and disregard of CoC is.

Usually the custom is to greet each other with "Hi Rustaceans". It's gender neutral and has no negative connotation.

If this gives you impression of a treehouse filled with cultist, who am I to judge.

Re:Pre-Pooping Your Pants with Rust by Manishearth on Monday April 27, 2015 @07:29AM (#9445533)
"Guys" is not gender neutral for everyone. You might find it that way, and I used to, but many women don't.

Re:IRC: You're conflating different things here. The IRC incedent was a sexual comment. Strict nono. "guys" is something that will be frowned upon. Sexual jokes are also a nono. Just today someone made a penis joke in IRC, and was similarly told to stop. Poop jokes -- childish, maybe, and certainly frowned on by some, but not considered harmful.

I don't see anything wrong with arbitrarily deciding. You're free to not play in the sandbox if you don't like the rules. The community likes those rules. And fwiw the rules don't disallow "guys". Again, you'll just be asked politely to not do that.

Re:Pre-Pooping Your Pants with Rust by Ygg2 on Monday April 27, 2015 @06:23AM (#9445330)
As I understand, "guys" wasn't a huge problem but the discussion that followed. It got ugly quick. I'm pretty sure even Spanish has the variant of "guys and gals".

What I want is besides the point. It's a club. It has rules. I'm Ok with them.

I usually go with "Hi peeps!" (Yes, I imagine everyone on Rust IRC is a talking marshfellow).

Re:Pre-Pooping Your Pants with Rust by kzrdude on Monday April 27, 2015 @07:47AM (#9445588)
Spanish nouns have two genders, and a corresponding plural for a noun of that genders. When you have a mixed group, both chicos (boys) and chicas (girls) you use the masuline plural (chicos).

I've also noticed that male genitalia are used to mean something positive (es la polla, tener cojones)

and female genitalia are generally used to be negative (un coñazo, coño)

Re:Pre-Pooping Your Pants with Rust by michaelmior on Monday April 27, 2015 @08:00AM (#9445628)
I think the suggestion was that you could use "chicos y chicas." But I don't imagine any native Spanish speaker would find chicos discriminatory.
Re:Pre-Pooping Your Pants with Rust by kzrdude on Monday April 27, 2015 @12:25PM (#9447279)
There is certainly some awareness of the issue. For example preferering neutral words such as estudiantes in some contexts.
Re:Pre-Pooping Your Pants with Rust by pekk on Monday April 27, 2015 @12:00PM (#9447122)
You're okay with the rules because you live in the clubhouse. The fact that you are pulling up the ladder to keep other people out unless they roll over and pee themselves to acknowledge your dominance speaks volumes about what life is like inside the clubhouse.
Re:Pre-Pooping Your Pants with Rust by Ygg2 on Monday April 27, 2015 @12:20PM (#9447244)
Nope. I'm just a guy passing through that knows the customs and didn't enter the house with his shoes on (well, there was that one time). Rust community in my experience only ever censored people that were actively rude for a long time - I'm talking months if not years.

Anyway, if Rust community did allow such transgressions, people would be up in arms because they are promoting Linus brand of verbal abuse...

It's like they say - you can't please everyone.

Re:Pre-Pooping Your Pants with Rust by vbezhenar on Monday April 27, 2015 @06:34AM (#9445365)
> How am I going to show this to my boss, and have him take it seriously with such an infantile title?

Probably the same way you would explain to your boss what KISS principle means or what WTF-metric for source code is :)

Re:Pre-Pooping Your Pants with Rust by mrbig4545 on Monday April 27, 2015 @06:43AM (#9445389)
I don't know the wtf metric, but whatever it is it's not about "poop". So I'm going to say it's different.
Re:Pre-Pooping Your Pants with Rust by vbezhenar on Monday April 27, 2015 @02:03PM (#9448036)
It's an old joke, but it has a bit of wisdom.

Illustration: https://davidlongstreet.files.wordpress.com/2009/04/wtfm.jpg...

Re:Pre-Pooping Your Pants with Rust by kyberias on Monday April 27, 2015 @05:29AM (#9445170)
Why would you want to show it to your boss?
Re:Pre-Pooping Your Pants with Rust by mrbig4545 on Monday April 27, 2015 @06:36AM (#9445371)
I tend to keep him updated with rust news, so that when the day comes, I've laid enough groundwork to be able to do something in it without having to explain what it is and why etc.

And part of that is showing flaws, and how they're resolved/worked around and so on.

Re:Pre-Pooping Your Pants with Rust by pluma on Monday April 27, 2015 @04:39AM (#9445022)
First Ruby, then JS, now Rust.
Re:Pre-Pooping Your Pants with Rust by th0br0 on Monday April 27, 2015 @04:49AM (#9445050)
What is your point?
Re:Pre-Pooping Your Pants with Rust by iagooar on Monday April 27, 2015 @04:56AM (#9445069)
I guess the parent means something that has to do with the community being a bit hipster / infantile? Only guessing though.
Re:Pre-Pooping Your Pants with Rust by pluma on Monday April 27, 2015 @08:23AM (#9445732)
The entire infantile humour / brogrammer / hipster / drama phenomenon. It started in Ruby (_why, Zed Shaw, GitHub, etc) then moved into JS as Node and CoffeeScript became popular with Rails users, now it's in Rust (again via Ruby).

I don't think it's always the same people or that it has anything to do with Ruby itself, it just seems like there's a certain culture that first grew in the Ruby / Rails community.

Re:Pre-Pooping Your Pants with Rust by dbaupp on Monday April 27, 2015 @09:08AM (#9445965)
This post is the first infantile thing in this vein I can remember seeing related to Rust, and, as far as I know, the author has no connection to the Ruby community you describe, they're just choosing poor titles of their own accord (I agree with Steve that the title detracts).
Re:Pre-Pooping Your Pants with Rust by steveklabnik on Monday April 27, 2015 @08:40AM (#9445808)
FWIW I actually thought the title detracted from the otherwise excellent contents of the post.