News for hackers. Stuff that matters.

josh-j

Re:The Next Pandemic: Not if, but When on Saturday May 11, 2013 @04:02PM (#5691911)
They weren't overhyped. Your point is a common and old canard.

The worry wasn't that avian flu or the swine flu would kill a lot of people in their current states, but that they would mutate into something considerably more dangerous. The swine flu, for example, was known to spread easily but wasn't _yet_ very lethal. The avian flu (H5N1) didn't _yet_ spread easily, but was very lethal.

If the swine flu mutated into something more lethal or if the avian flu mutated into something more communicable, then everyone would probably know someone that died from either virus. And that's exactly the worry with these new crop of viruses, and why it's important to react with extraordinarily measures -- to prevent them from becoming something much worse.

Re:Frameworks Round 3 on Monday April 22, 2013 @02:15PM (#5590851)
What do you think questions are for?
Re:Frameworks Round 3 on Monday April 22, 2013 @01:53PM (#5590720)
The Java frameworks are generally doing very well (top quarter to top half), and the PHP frameworks are generally doing very poorly (bottom half). PHP-raw is doing well, but that's not heartening given how mature its frameworks should be (if we were talking about golang, I think that argument would be sound).
Re:Frameworks Round 3 on Monday April 22, 2013 @01:50PM (#5590696)
I was considering other factors in that generalization, although they're implicit. E.g., a lot of the "cool" language frameworks I mentioned are comparable with the Java frameworks in speed, but Java has a considerably larger ecosystem and number of hirable developers (although I'm not sure if that translates well into web development). And I assume PHP is as verbose as Java from what I've heard from other people (I've never used PHP).

What language should be the conservative choice based on the many factors and ignoring the specific case for the general case?

Re:Frameworks Round 3 on Monday April 22, 2013 @01:05PM (#5590410)
I think you've got the charts backwards. Symfony2 is slower than CI in every chart.
Re:Frameworks Round 3 on Monday April 22, 2013 @12:56PM (#5590345)
Is the following a fair generalization?

Java should be the conservative choice for your web framework's language (rather than PHP). Scala, Clojure, Nodejs, Erlang, Lua, and Haskell should be in your list of workable yet "cool" languages (rather than Ruby or Python).

Re:A new blog dedicated to Emacs on Friday March 29, 2013 @12:23PM (#5461455)
Yes, you can do all of those things with sublime's API (https://github.com/wuub/SublimeREPL, https://github.com/SublimeText/Origami). Yes, emacs is more extensible, but not where it matters, really. I.e., I don't think you're going to see any cool feature made with elisp that can't be ported to sublime.
Re:.NET and Node.JS – Performance Comparison on Friday March 29, 2013 @12:17PM (#5461424)
Why did you go to all that trouble to make an analogy when you have no evidence to back it up?
Re:Web Framework Benchmarks on Thursday March 28, 2013 @01:08PM (#5456117)
I'm guessing, but I think it's because yesod uses a lot of magic such as templates and the like. The other frameworks like Snap use more idiomatic Haskell.
Re:Web Framework Benchmarks on Thursday March 28, 2013 @12:45PM (#5455945)
#haskell, #yesod, #snapframework on freenode are very helpful.
Re:A Difficult Situation on Thursday March 21, 2013 @06:45PM (#5419796)
I think Adria could have avoided this if she apologized not for reporting the offenders to pycon, but for publicly identifying them. She was given the perfect opportunity for this when one of the offenders apologized for their own misstep in a hacker news thread that she herself commented in (https://news.ycombinator.com/item?id=5398681).
Re:SendGrid Fires Company Evangelist After Twitter Fracas on Thursday March 21, 2013 @06:02PM (#5419461)
You have it backwards. I don't care how racism is defined. I care about whatever the word "racism" points to in the real world. But you have to realize that a word can point to anything you want it to point to.

And not only that, but words have denotations and connotations. "Ugly", in common usage, denotes and points to a set of subjective physical characteristics. "Ugly" also connotes and points to a negative affect that isn't explicit in its denotation.

I'm not simply saying that racism is "something that connotes immorality", but that is what we're connotating when we use that word in its various denotations (although, it's not necessarily the case). Racism's denotation can be literally anything. I can say, for example, that it's racist to call Canadians effusive pushovers even though "Canadian" is a nationality rather than a race.

And people do exactly that. In the U.K., for example, it's common for people to call people that insult the French "racist."

Language is fluid.

So, I think you can see why people are affronted when someone says "black people cannot be racist" without putting it within a certain context. The implication is that it's not immoral for black people to act denotatively common-usage-racist.

Re:SendGrid Fires Company Evangelist After Twitter Fracas on Thursday March 21, 2013 @04:02PM (#5418450)
You're lacking an understanding of linguistics and philosophy. Both usages are no more correct than the other, and the point of such usages is to ascribe a connotation to a cluster of things along a continuum. Arguing over definitions is pointless (I can create my own definition of racism and it will be equally valid), the point is what they connote.
Re:SendGrid Fires Company Evangelist After Twitter Fracas on Thursday March 21, 2013 @03:28PM (#5418179)
That's all a bit silly. We have a common understanding or definition of what racism is and it connotes something immoral. _Some_ sociologists define racism as something else which also connotes something immoral. The common thread is that both definitions connote immorality, and so if something falls under either definition, it's still bad and so the whole arguing over which definition to use is moot.

For example, if an organized group of American Asians began touting their superiority over other races and advocated and lobbied for more Asians in positions of power because they're superior, wouldn't you still consider their actions to be immoral?

People can use whichever definition they like, but they need to be open about it, and they need to realize by using another definition they're not also redefining or constraining the connotation -- that's begging the question.

So, black people cannot be sociologically-racist-therefore-immoral against white people, but they can be common-usage-racist-therefore-immoral against white people.

(I should also note that labeling something with a word that connotes a negative or positive affect isn't much of an argument for the applicability of that connotation to that something. It's a heuristic more than it is an argument.)

Re:The PyCon Incident on Wednesday March 20, 2013 @08:26PM (#5411817)
Personally, and I think this might be the case with most people here, I'm most worried by the public shaming of the two individuals. Them being kicked out of PyCon isn't as much a concern to me.

I think the culture that she's implicitly promoting is ultimately a suspicious and hostile one where there is no principle of charity but instead there's the inverse (http://en.wikipedia.org/wiki/Principle_of_charity). And not by the fact that she reported it to PyCon organizers, but by the fact that she then escalated it to the public. In this instance, I think she should have kept their identities anonymous in her tweets and blog post.

There are instances where I can imagine revealing their identities would be the right thing to do, but this doesn't come close to it by my judgement (for all that's worth).

Re:The PyCon Incident on Wednesday March 20, 2013 @08:00PM (#5411650)
I'm clear on that. This whole issue is deeply entwined with philosophy which makes it all a bit amorphous. From one perspective, you could argue that it's moral to boycott SendGrid if it leads to "positive" consequences, for example.
Re:The PyCon Incident on Wednesday March 20, 2013 @07:55PM (#5411613)
I don't think assuming or mentioning negative talking points in the form of a question is a productive way to have a discussion.
Re:The PyCon Incident on Wednesday March 20, 2013 @07:38PM (#5411486)
It's a sane move if you want to discourage the culture that Adria is encouraging. Certainly her employers don't deserve any blame, though.
Re:The PyCon Incident on Wednesday March 20, 2013 @07:35PM (#5411457)
"I'm pretty sure relating and disclosing a situation that happened in a public place fully to the best of her ability shouldn't be something we call irresponsible. In fact, women who do otherwise are often asked to disclose in exactly the manner she did."

That doesn't follow -- you're begging the question. Why is disclosing something public, if well detailed, not irresponsible when it can cause harm (as this situation did)? And why should people being previously asked to disclose such information make it a responsible action? Furthermore, do you have an example of such disclosures -- you speak as though you do?

Re:The PyCon Incident on Wednesday March 20, 2013 @07:19PM (#5411325)
"Sexism is not at issue here."

I got the impression reading Adria's blog post that she thought she was responding to sexism. Sexism is what most everyone is responding to in this event -- real or imagined.

The problem is that the way Adria responded, in part, harmed people that didn't deserve harm (and if they did deserve it, it shouldn't be up to her to mete it out -- which by taking it public she is effectively doing). She should have kept their identities anonymous unless it was necessary to do otherwise.

In a culture that strives to be politically correct (no negative connotation intended), any egalitarian issue can be wielded like a weapon. I think Adria was aware of that, and so I think she deserves a fair amount of blame for the events that followed her actions.

Re:Google Reader shutting down on Wednesday March 13, 2013 @08:16PM (#5372172)
Another option is to get pocket for chrome which adds an icon to google reader items and thereby allowing you to save your starred items to pocket.
Re:Google Reader shutting down on Wednesday March 13, 2013 @07:37PM (#5371900)
You can export your Google Reader data -- all your starred items are stored in a json file.
Re:Google Reader shutting down on Wednesday March 13, 2013 @07:28PM (#5371830)
Netvibes is another alternative (it has a widget and reader view).
Re:Writing Web Applications in Go on Sunday March 03, 2013 @02:06PM (#5314826)
It is different and difficult. I think that's because functional programming isn't simply a sideways step from imperative programming, but is instead a level of abstraction higher than imperative programming.

Hofstadter says analogy is the core of cognition. We tie unknown things to known things to understand them, and I think that's why you get all these bad analogies where people try to tie the more abstract concepts of fp like monads to everyday things ( "monads are like burritos," for example).

And this really doesn't make sense because monads and such are pure abstractions. How do you tie a pure abstraction to something concrete? It's like saying zero is like a burrito.

The better analogies tie pure abstractions like monads and arrows to other abstractions that you already understand. For instance, Odersky trains you by iteratively refactoring imperative Scala code into more functional code, and thereby gradually carrying you up the ladder of abstraction.

Re:Writing Web Applications in Go on Sunday March 03, 2013 @01:22PM (#5314633)
Just considering the language, then I think Scala is considerably easier to learn than haskell _if_ you're from an OO background. It's a multi-paradigm language making it easy to use it like a better c++11. However, idiomatic Scala is functional, and so you're pushed in another direction by the community (but, importantly, not forced). However, starting with a blank slate, then Haskell might be the easier language to learn.

But if we consider the resources to learn the language along with the language, then I think Scala dominates Haskell. Haskell was painful for me to learn because to become proficient I had to trudge through not only books but wikis, blogs, and code. There is nothing like Odersky's Scala book in Haskell. Learn you a Haskell, the Haskell wikibook, and Real World Haskell are all _terrible_ at preparing someone to become a proficient haskeller because while they show you the language they don't train you to think functionally.

In imperative languages you're giving a lot of sequential instructions to a robot. In functional languages you're programming the robot to understand a new language, and then you describe the way things ought to be in that language.

Re:A new Light Table experience on Thursday February 28, 2013 @12:29PM (#5299715)
Is there a screencast where I can see you being more efficient in LT than Vim?
Re:What Thomas Edison expected job candidates to know on Friday February 15, 2013 @02:54PM (#5228139)
"Should know", "well educated", "well oriented." All these qualifiers are subjective and are consequently meaningless. I could say the opposite of what you said and I'd be just as right (only taking into account what was written by us both).

You'll need to operationalize what you mean to make any sense, and then to be right you'll need to provide evidence.

Re:Announcing Topaz: A New Ruby on Wednesday February 06, 2013 @04:11PM (#5178853)
> Some observers objected to Go's C-like block structure with braces, preferring the use of spaces for indentation, such as used in Python or Haskell [braces are optional in haskell]. However, we have had extensive experience tracking down build and test failures caused by cross-language builds where a Python snippet embedded in another language, for instance through a SWIG invocation, is subtly and invisibly broken by a change in the indentation of the surrounding code. Our position is therefore that, although spaces for indentation is nice for small programs, it doesn't scale well, and the bigger and more heterogeneous the code base, the more trouble it can cause. It is better to forgo convenience for safety and dependability, so Go has brace-bounded blocks.

http://talks.golang.org/2012/splash.article

Re:School of Haskell Goes Beta on Thursday January 31, 2013 @09:50PM (#5148904)
If you're reading this and understand those areas well, then consider donating some time towards improving the advanced track on the Haskell wikibook (http://en.wikibooks.org/wiki/Haskell).