Better HN
topnewbestaskshowjobs
Log inSign up

T-R

1,407 karma · joined Jun 14, 2010 (16y ago) · 438 submissions

Submissions

comment 15y ago · link · parent

For those not familiar with the above poster's relation to Groklaw:

http://www.groklaw.net/article.php?story=20091021164738392

http://www.groklaw.net/articlebasic.php?story=20100408153953...

http://www.groklaw.net/article.php?story=20110122054409107

Edit, for a little more context: http://twitter.com/FOSSpatents

comment 15y ago · link · parent

Arguably, if they did it too much more firmly, sites would start to game it.

comment 15y ago · link · parent

An earlier thread on Reading Level: http://news.ycombinator.com/item?id=1993305

comment 15y ago · link · parent

While I agree that Congress has a legitimate gripe with overstepping unelected officials, I really think that's a separate issue that should be treated independently.

Regarding rules that could unintentionally retard progress - that's not necessarily a bad thing. In the same sense, the FDA retards progress of the pharmaceutical industry. We should be able to decide that some things are harmful enough to individuals and their rights that companies shouldn't be allowed to compete on them, at least beyond a certain level. At the very least, they should be required to make those things as visible to consumers as price, because consumers can only vote with their wallets on things they're aware of.

comment 15y ago · link · parent

> The tone of these conferences is not the reason women are not more involved

I'm under the impression that it is - some women have voiced objection to the tone, so we know it's at least the case for some, and we don't have any data indicating that those anecdotes aren't representative of the whole. In fact, since so few women go, those anecdotes are pretty significant.

> Math, Science and Engineering are boring for women

If that were true, it still wouldn't account for the significant difference between the number of women in CS and other STEM fields - we do, though, know that the tone of the community is the reason for some.

> Solution: Don't make them boring when kids are in grade school and high school

Certainly there are other (and more far reaching) issues, but the tone that we present as a community is one that we have more direct control over (with a very simple solution), and changing it to one that isn't perceived as hostile would have little negative impact.

comment 15y ago · link · parent

That's absolutely a fair point. I don't want to imply that we shouldn't keep it in moderation, but I do think we should be careful about what we define as "oversensitive", particularly for groups that we don't belong to, because there is a danger of defining the whole group as such, and therefore excluding them entirely (socially). If they are sensitive to it, overreacting or not, it does discourage them from attending. I personally don't think giving up arguably misogynistic references (specifically) in presentations would be so detrimental that it offsets the benefit of not offending those sensitive to them, particularly since it's a group that we as a community have been so effective at scaring off in the past.

comment 15y ago · link · parent

> Have fun with that.

I think your tone detracts from your point.

> But a conference which will offend nobody in some small way is a sterile, dull thing.

I think the point to make is that this is not "some small way", as much as it may appear to be small to some - it's significant enough for you to stop attending. The group of people offended by misogyny is statistically independent from the group of people contributing to the conferences' success, so:

- there's no reason they needed to be offended

- offending them offers no real benefit

- offending them hurts the success of the conference by discouraging people from attending who otherwise would have.

- ignoring or supporting it exacerbates this problem, and so it's not in the best interest of anyone to ignore or support it, regardless of their views on women

comment 15y ago · link · parent

> It's also a bit insulting...

Perhaps true, but if the community doesn't acknowledge offensive behavior, it comes off as tacit acceptance. If the speaker is invited back without question or actively defended by the community, a person couldn't be blamed for getting the impression that the speaker's views reflect the views of the community as a whole, or at least of those responsible for the event.

> There needs to be a serious education effort to remove that mistaken idea from people's minds.

I'd argue that that's difficult to do without acknowledging the behavior as undesired/detrimental when it happens, for the reason above.

comment 15y ago · link · parent

I respect speakers' rights to express whichever beliefs they hold, but I think it's also important, both for them and for attendees, to recognize the effect that it has. Their views on women (or any group), popular or otherwise, are irrelevant so long as they don't needlessly bring them up, but when they choose to do something that makes some members of the audience less comfortable and less likely to attend in the future (particularly since speakers are often perceived to represent the community), then that's a loss for the entire community, with negligible gain.

Even if those who are offended are overreacting, publicizing their views is probably the best way to be sure that both speakers and attendees can make well informed decisions about which conferences to attend.

If they want it to be a club for guys (and women who'll deal with it), that's their prerogative. If, on the other hand, they think it's more to their benefit to be inclusive, they should probably make an effort not to be needlessly offensive. To that end, it's probably best they be made aware of who they're offending.

comment 15y ago · link · parent

If you want to go down the Functional rabbit hole more, "Purely Functional Data Structures" by Chris Okasaki would be a good next step. There's a book and a paper - from what I hear, the paper is just Okasaki's original work, whereas the book is a more complete coverage of the field.

comment 15y ago · link · parent

Good idea, I'll do that.

comment 15y ago · link · parent

So far the comments in this thread cover Functional (SICP, Haskell books), Logic (Prolog Books), and Procedural/OO (Almost everything else) Languages, so I figure I should add a reference for Stack/Concatenative Languages:

Thinking Forth - Brodie

comment 15y ago · link · parent

To steal words from a comment earlier today, Haskell has a very steep but very rewarding learning curve.

It'll reinforce some concepts from math, and lead you toward writing code in a manner that's considered good practice in other languages - such that it's generally maintainable and testable. Similarly, if you're familiar with Design Patterns, you'll see that a lot of patterns are attempts to implement functional concepts in OO languages. That said, as a fan of Haskell I'm definitely biased, and a lot of that can be said for other functional languages as well.

"Real World Haskell" is also very good, but probably not the best place to start if you haven't written in a functional language before.

comment 15y ago · link · parent

I've heard "The Art of Prolog" is good, too... a quick glance at Amazon shows it to be ridiculously expensive, though.

comment 15y ago · link · parent

It really depends on what you feel you're missing and what you're hoping to do (definitions of "daily work" vary widely). If you're looking to get up on theory by doing your own program of sorts, you could do worse than start with these (in roughly this order):

Structure and Interpretation of Computer Programs - Abelson, Sussman, and Sussman

Introduction to Algorithms - Cormen, Leiserson, Rivest, and Stein

The Art of Assembly Language - Hyde

a digital logic book (not sure which is most recommended), and an architecture book (see reply by tftfmacedo)

Modern Operating Systems - Tanenbaum

Introduction to the Theory of Computation - Sipser

Compilers: Principles, Techniques, and Tools - Aho, Lam, Sethi, and Ullman (a.k.a. "Dragon Book")

Programming Language Pragmatics - Scott

A database design book (one that covers Relational Algebra, not just a book on SQL), and maybe a book on Networks. Also, Roy Fielding's paper on REST is both academic and applicable (and more approachable than you'd expect of a Ph.D paper). If you want to go all the way, an undergraduate program usually also has Calculus, Discrete Math, Linear Algebra, and Statistics. Some schools would also require Physics and Differential Equations. I'm sure I'm missing some topics, too, particularly electives.

If you can get through those and the associated problem sets, you'll have a better foundation than most.

comment 15y ago · link · parent

I get the impression that the Haskell code was meant to be a direct transliteration of the spec, or had some other artificial restriction on the amount of abstraction. Code for "0 or more of any character" is repeated at least 3 times, as with the use of applicative functor operators to ignore separators (a lot of what looks like syntax noise). Things like numbers (takeWhile isDigit_w8) aren't abstracted, either. There's no real reason that these couldn't be abstracted away. Also, some of the verbosity (and most of the imports) come from using Strict 8bit ByteStrings instead of a type with more built-in abstractions. That said, I don't think you can be blamed for your impression.

comment 15y ago · link · parent

> ...it takes a lot of pixels...

Just want to point out that you can hide it so it looks like a normal menu bar until you open a menu - seems a lot of people aren't aware of that feature.

comment 15y ago · link · parent

I sometimes just completely fail to function at a whiteboard. I've choked to comedic proportions on problems I'd solved easily only a few days before. There's not a doubt in my mind that my resume's been thrown in the "Non-programming programmer" pile due to my stage fright at least once. I can certainly sympathize with the need for a low false-positive rate, but as a candidate I can't help but wish that overcoming stage fright wasn't also such a prerequisite for working with good programmers.

comment 15y ago · link · parent

It's all about your your BATNA - what's your best alternative? What do you need that they're giving you, and what other options offer it? Do you need the income? How else could you get enough income before you need it? If you don't quit immediately, at least start making plans and preparations now. If you don't need the income - if you need a resume boost or something, there are lots of other ways to do that.

I was in this exact situation last year. I decided I could finish my part of the project in two months if I took on no other work, so I set a deadline and told them I would be leaving on it. Everything got much easier after that - I knew I had a plan, the end was in sight, and they stopped piling on new work, so I was able to finish my part of the project and leave with a clean conscience (of course, your mileage may vary).

comment 15y ago · link · parent

Don't get me wrong, I think it has its uses, I just think it's pretty limited in scope, to the point that it probably shouldn't be compared with Quora and Yelp. Not only are you unlikely to find the best Mexican in SF, you're not likely to find out about too many new places with that particular type of salsa: chances are good that you've at least heard of the place that everyone's voting for, and that awesome new place doesn't look too appealing, 'cause it only got one vote.

On the other hand, it'd be pretty good for confirming that your friends actually like your favorite Mexican restaurant as much as you do (or maybe that you should have that party somewhere else), and everyone in Texas thinking of visiting SF will probably be happy to be able to make a poll of where they should eat (granted, they could have just posted a comment and counted the "likes" on each response).

comment 15y ago · link · parent

You probably got downvoted for being off-topic - it'd be better to ask that kind of question on Stack Overflow. Leave out the subjective "is it because I'm a noob?" parts, and stick with the more objective "is there a better way to do this?", and you'll probably be able to figure out from that where any holes in your knowledge/experience might be.

comment 15y ago · link · parent

I'd take it a step further, as well - as wide as the friend's friends net may be, I'm still probably not learning anything new. If my group of friends is defined mostly by some common interest, and theirs is too, I'm probably not going to get a good answer to anything outside of that field of interest.

To take the example on the page of restaurants - I'm probably not going to learn about any new restaurants if my friends and I mostly go to the same restaurants, and they go to the same ones with their friends, too.

comment 15y ago · link · parent

He's definitely hurting both himself and the people he works with, both from the fact that he's not likely to work to improve himself, and from his depression/frustration and the fact that it's manifesting as resentment towards his coworkers. I don't mean to attack him, it's just that in collaborative work that requires skill (read: practice), a bad team member can be worse than having one too few. If it really is what he's best at, then he really needs to start practicing something he actually does enjoy, or find some way to enjoy it enough to practice.

comment 15y ago · link · parent

Concurrency = managing shared resources. Things like mutual exclusion and transactions. Getting processors to get in line (serialization/composition) for a shared resource instead of just trampling over each other by just grabbing it when they want (non-determinism), so that actions that depend on being done in order and without interruption can be done.

Parallelism = splitting up subtasks that don't depend on each other. If the tasks don't depend on each other, the things doing them shouldn't need to talk. If you have enough processors, you can do almost everything at once, so the algorithm is only as slow as things that actually need to be done in order (asymptotic efficiency).

In imperative programming, we tell the computer what order to do things in, so it doesn't know what actions don't depend on each other - to parallelize, we have to worry about concurrency. In functional programming, the compiler knows what depends on what (what uses the result of something else), so it can parallelize things that don't depend on each other. It might be implemented with concurrency, but the programmer doesn't need to worry about it.

comment 15y ago · link · parent

I've definitely spent a good while in the past trying to decipher the intent of someone who used &&alwaysFalseExpression - Is it a bug? Am I overlooking some subtle side-effect somewhere? If they just wanted to turn the code off, they would have just commented it out...right?

comment 15y ago · link · parent

Maybe true, but still not much consolation for the embedded systems programmers or maintainers of legacy code.

comment 15y ago · link · parent

I probably shouldn't have left it at that - if there's much regularity outside of tables, then you're definitely doing something wrong. Within code I see the alignment as a way of highlighting regular areas as potential spots for refactoring. Sometimes it doesn't make sense to turn something into another layer of abstraction yet, but it may later. I can certainly see how the extra spacing might grate on some people's nerve's, though.

Edit: Something I hadn't thought of - you mention "rivers of space" - aligning code might make it harder to read for coders with dyslexia: http://uxmovement.com/content/6-surprising-bad-practices-tha...

Regarding your point about unsigned types - If I'm remembering correctly, "Writing Solid Code" had a section about exactly that - nasty bugs caused by things like looping over unsigned integers in reverse.

1
101112
15