Better HN
topnewbestaskshowjobs
Log inSign up

msg

2,503 karma · joined Mar 30, 2008 (18y ago) · 697 submissions

Submissions

comment 18y ago · link · parent

Most baseball fanatics pull for only one team. People who hate baseball just go one team farther.

comment 18y ago · link · parent

Most realists believe in only one observable universe. Solipsists just go one universe farther.

comment 18y ago · link · parent

If you're allowed to talk about it, the data you get back is sparse, right? So how useful does the user feedback end up being? It seems like one of those areas where owning search share actually means something.

634.

Google's "Edit Search results" experiment(justinhileman.info ↗)

15 points · by msg · 18y ago · 10 comments

comment 18y ago · link · parent

And I heard it totally Cockney, not that I hear much of these accents outside of the telly (that's what you call it right?).

comment 18y ago · link · parent

Not that I like it, but a lot of algorithms in papers use shorthand subscripting so they can write equations that aren't 300 columns long. Say you're doing neural network stuff like w_1,w_2,w_3,...,w_n for weights, inputs, outputs, etc.

If you're reproducing those algorithms in a program, you could do worse than copying their naming structure so that the correspondence between the program and the paper is as obvious as possible.

comment 18y ago · link · parent

   perl -n -e "s/(</li>)/$1\n/g; print" big_page.html > big_page_with_lines.html
:)

comment 18y ago · link · parent

Here's something like what I do at work. Syntax not quite correct, I'm sure. It's a C++ project, but you can probably adapt it to your situation. Making the TAGS file takes a while every now and then, so you might want to run it as a cron job.

shell:

   find rootdir1 rootdir2 ... rootdirN ".*\.[ch][ch]?" | etags > /convenient/dir/TAGS
.emacs:

   (visit-tags-table "/convenient/dir/TAGS")
need a class or function in emacs:

   (tags-apropos _regexp_)

comment 18y ago · link · parent

I've found I don't miss much from Perl 5. The only things I've found really funny are backslashing special operators that you don't in Perl, like \( \| and \{. Oh, and \s- for whitespace is very weird to me. And there's no \d. And instead of $1 in the replacement, you do \1. Once I got used to it, I found them very close to each other, at least for everything I do.

Like Steve Yegge (in Effective Emacs), I alias query-replace-regexp and use it every day. Lots of other good tips and pointers to interesting topics there.

http://steve.yegge.googlepages.com/effective-emacs

comment 18y ago · link · parent

I went through Classic Shell Scripting by Arnold Robbins and Nelson HF Beebe (O'Reilly) recently. It was a pretty solid coverage that highlighted portability issues and canonical uses of the shell. I don't know if you'd call it advanced, though.

comment 18y ago · link · parent

http://blog.wired.com/monkeybites/2007/10/steve-ballmer-s.ht...

Plus I heard that the DoJ settlement's API documentation has been delayed to next year. Or was that Duke Nukem Forever?

Plus ca change...

comment 18y ago · link · parent

The picture is changing quickly. In the fall there was an article about attach rate. It was something like 7 games per Xbox, 5 games per Wii and PS3. In December, Wii outsold Xbox 8 to 7 (I had to read the statistic twice because it's 8 games per system _sold that month_, not 8 per system in existence).

http://www.destructoid.com/wii-owners-bought-8-games-per-sys...

comment 18y ago · link · parent

I can flag posts but not comments, and I'm at 118.

I do notice, however, that I see the flag link for your comment now that I've hit the reply button. I think this is a bug.

comment 18y ago · link · parent

The Fall, by Camus. Sometime after a friend of mine killed himself, I went to the library and picked this up basically by accident. I read it in the space of an afternoon. It was the beginning of my thoughts about the meaning of death.

A Spell for Chameleon, by Piers Anthony. It was the first of my mom and dad's sf books that I chose to read for myself. It started a lifelong love affair. I outgrew the Xanth, but not the sf.

Anna Karenina, by Tolstoy. An unassailable Mount Everest in the peaks of high literature. It's a spiritual journey I've taken repeatedly over the years.

The Mind of the Maker, by Dorothy L Sayers. A meditation on the intersection between art, creativity, free will, and the Trinity. My copy is getting worn out.

The Analogical Imagination: Christian Theology and the Culture of Pluralism, by David Tracy. This book was the cap to my spiritual journey in college. It is about finding authentic experience in classics, whether they are from your own tradition or not. It is a synthesis of modern Christian (also Catholic) thought, but also about how Christianity should be mediated through lived beliefs and culture, and how people should be open to real experiences from a culture not their own.

comment 18y ago · link · parent

My 2000 Corolla LE gets at least 30 mpg, averaged between fillups every 300-350 miles. We bought it five years ago for $8400 (not including tax/title/blah blah blah). It was a fleet vehicle returned after lease expiration at a Saturn dealer. We haven't noticed any shenanigans, just your run-of-the-mill maintenance.

Don't buy a new car. Owning the depreciation is stupid. You might try the rental companies if you want to avoid the uncertainty of the for-sale-by-owner market.

comment 18y ago · link · parent

Public universities are not bad. I did my time in Univ of Washington and Utah State University, and I definitely feel like I got my money's worth.

A warning, though. UW's proximity to MS and the other tech companies made the department really exclusive for undergrads while I was there. I majored in something besides CS, then did my master's in CS later. You'll want to learn about what the department's standards are (eg, competitive admission for starters) so you know what you have to do to get in.

I recommend you email or call the department secretaries and ask for some information and a hookup with a current student. Assuming the secretary and the student are helpful, you'll learn a lot about what you need to know.

OT, apply for scholarships like crazy. Don't make my mistake.

comment 18y ago · link · parent

Point taken. If I say your experience is the exception that proves the rule, though, I don't think that's too far off.

I had a similar experience until midway through high school. I was about three years ahead of my peers in math, due to the efforts of one particular instructor who encouraged me to get ahead and stay ahead. After my ninth grade, he moved to another school. About the same time, my high school ran out of courses. I ended up taking throw-aways instead of vector calculus, differential equations, combinatorics, etc. for three years.

I wonder if the push towards one-size-fits-all standardized testing has eliminated the possibility of making active learning official, at least in the public schools. Overworked teachers don't have the time to dumb it down and smart it up at the same time, whether the kids could handle it or not. There's a lot of generalizing here, sure, but I think the basic outline is true.

Even my MS seminars were more teacher-directed than self-directed. Maybe I have a knack for choosing the wrong learning situations.

comment 18y ago · link · parent

It's really a question of whether you prefer supervised learning or unsupervised learning.

Supervised learning is one-off and expensive, unsupervised learning is cheap and widely available.

Supervised learning converges over a much shorter time frame than unsupervised learning.

Supervised learning introduces bias in the quality of the teacher signal that unsupervised learning cannot run afoul of (or take advantage of).

An interesting middle way might be active learning. It is a technique where an unsupervised learner has the ability to ask a supervisor for useful tasks to train on. In academia, sadly, this doesn't seem to happen below the PhD level.

http://en.wikipedia.org/wiki/Supervised_learning http://en.wikipedia.org/wiki/Unsupervised_learning

comment 18y ago · link · parent

You have some time now to find those opposing drug study citations. Your claims interest me and I'd like to subscribe to your newsletter, but the rubber will start hitting the road for me if this conversation progresses from accusations to evidence.

Here's an example of the kind of thing that interests me: a recent meta-study of FDA trials of SSRIs (antidepressants) showed little to no benefit over placebo, below statistical significance in some important cases. So there's a fair chance that most people shouldn't get SSRIs because they just don't work.

"Drug–placebo differences in antidepressant efficacy increase as a function of baseline severity, but are relatively small even for severely depressed patients. The relationship between initial severity and antidepressant efficacy is attributable to decreased responsiveness to placebo among very severely depressed patients, rather than to increased responsiveness to medication."

Read it here.

http://medicine.plosjournals.org/perlserv/?request=get-docum...

comment 18y ago · link · parent

I guess it's a question of how much you want to invest in your tools. Learning vi and emacs is like a lifetime of compound interest.

I agree that if you just want to code something yesterday, you probably won't reach for these most powerful tools. I'd say that if you're committed to programming over the long-term, though, you'd be hamstringing yourself by not starting on them now.

Long story short, I started Emacs a few months ago and I'm never going back.

comment 18y ago · link · parent

I downvoted because there are a lot of assertions here without sources or context.

My anecdotal experience, where my wife is in the doctor's office routinely due to Hashimoto's disease, is that your mileage may vary. We went to an immunologist who sat on his hands and waited for several months for her thyroid to get enough out of whack before he ordered more testing. We've had several incompetent doctors who failed to diagnose conditions that harmed her health and the health of our son. On the other hand, since we've moved and had to find new doctors, we've gotten some really helpful doctors who really know their business and have been clearing up longstanding immune problems.

The right doctors have really been great for us, the wrong doctors have really been bad.

The first close citation I found for your argument was here:

http://www.washingtonpost.com/wp-dyn/content/article/2007/12...

There was a study that most doctors have high standards, but they would fail to report colleagues who didn't meet those standards. However, they appear to claim that reporting would not solve the problem, just lead to its own set of headaches.

I would say that America needs to follow the money to get to the bottom of this problem. The prices of medical care just aren't commensurate with the costs anymore. Ease the financial pressure and the whole system will probably improve.

652.

Embracing Encapsulation [high-level vs. low-level programming](fluidinfo.com ↗)

3 points · by msg · 18y ago · discuss

comment 18y ago · link · parent

One valuable point is that you always have holes in your education.

I think Yegge's half right about not being able to interview for DGTS. There's no substitute for on-the-job judgments. On the other hand, there's a profile.

Douglas Crockford, for instance, wants hackers who are friends with SICP and TAoCP. Bill Gates said something similar back in the day. http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB...

I've taken Eric Raymond's hacker HOWTO as a kind of program toward DGTS. http://catb.org/~esr/faqs/hacker-howto.html

Yegge has emphasized a deep understanding of compilers and languages in the past. To me the benefits are still tantalizingly out of reach. http://steve-yegge.blogspot.com/2007/06/rich-programmer-food...

comment 18y ago · link · parent

And if you pay money for software, it's out on Tuesday.

comment 18y ago · link · parent

He has actually talked about your question. Over the years he has come to believe that size is the enemy of code and verbosity is the portrait of n00b.

http://steve-yegge.blogspot.com/2008/02/portrait-of-n00b.htm...

http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.ht...

Also, it's not exactly like he's verbose in his writing. He was verbose in his talking, which makes sense if you think about his forum.

comment 18y ago · link · parent

At my work (C++/Qt) we do a bunch of GUIs for a set of several customer applications that need the same look and feel. So we do end up reusing the team's custom widgets wherever they answer our requirements.

I find I often write something as helper functions for a GUI or library, then break it out when someone else needs to call it. It's definitely better from my perspective to leave it sitting in the old class until you come up with something more urgent than scenarios for how someone might use such a library someday.

Coding standards are also extremely important to ensure that someone will be able to look at your code and use it without deciding to rewrite it from scratch.

comment 18y ago · link · parent

Comment ranking seems to be according to freshness and quality of the top-level comment, but a good comment responding to a crappy top-level comment sinks with it. I find that sometimes good discussions are deep on the page with their +0 to +2 initial comments, which makes it less likely that I will discover them.

I suggest that you use the freshness and quality of the whole comment subtree (normalized by the number of comments in the subtree, eg mean) to get those gems higher. Something like the square of points (negatives counting as zeroes) would raise the effect of good comments and lower the effect of bad comments and low-point side discussions.

comment 18y ago · link · parent

"be conservative in what you do, be liberal in what you accept from others"

As a commenter, you have the responsibility to raise the level of the discussion. As a moderator (with the down arrow), you have the responsibility to be generous with where others are taking the discussion.

Slashdot does meta-moderating, but it works because downvotes and upvotes have categories that it's possible for a relatively neutral observer to agree and disagree with. Here, there's a lot of ambiguity when you upvote or downvote.

comment 18y ago · link · parent

Along the lines of this recent thread and article, don't be too afraid of revealing your work outside of your cave.

http://news.ycombinator.com/item?id=216614

A great way to get some real feedback is to make it, then post it as an Ask YC. The community really steps up to give credit and criticism where they are due. Take this recent thread on Dabbleboard as an example.

http://news.ycombinator.com/item?id=202798

Don't worry about making money right away. It's more important to see if the idea goes somewhere interesting.

comment 18y ago · link · parent

I work on a small team with a large legacy codebase in ClearCase. Builds take long enough that it is easier to work on a large chunk and do a clean build once the couple of libraries and executables I'm working on are in good shape, then deliver the blob.

I check-in on my own branch on a feature-by-feature basis, but in practice, no one sees my work until a large blob is out there. There's limited opportunity to second guess people (this cycle, we had one formal code review per developer).

At my work I am just stuck with these limitations, but I don't recommend working this way.

1
2021222324