HNHacker News
TopNewBestAskShowJobs

barrybe

384 karma · joined April 24, 2009

submissionscomments
barrybe··on Y Combinator founder: there is no tech bubble
That's exactly what someone would say if there WAS a tech bubble! We're doomed!
barrybe··on There are seven online business models
There are exactly 21 companies that run an online business. No more, no less.
barrybe··on Wherein reporters don't find duplicate bugs
I've never used a bug tracker that didn't have this kind of problem, are there better ones out there?

That idea of showing the top 10 trending bugs is a good one. I also like the StackOverflow approach of suggesting dupes immediately as you type stuff in, so it would be rad to have a tracker that does that.

barrybe··on Which programming language do you really hate?
As expected, hatred is roughly proportional to popularity. Bjarne was right when he said "There are only two kinds of programming language: the ones people complain about and the ones nobody uses."

Actually if we compare the Stack Exchange hatred list against the TIOBE index, then we can correct for the amount of 'expected' hatred (the kind that is proportional with usage)

VBScript: Hated much more than expected

PHP: Hated more than expected

Java: Hated less than expected

Visual Basic: Hated slightly more than expected

ColdFusion: Hated much more than expected

C++: Hated much less than expected

Disclaimer, those are a bunch of vague guesses based on two sources of questionable data.

barrybe··on A latent gift from _why
I feel like _why is out there watching us, to see how well we learned all the stuff he tried to teach us. Like Jesus.
barrybe··on EA rečeases webkit-based code including EASTL
Excellent find none the less. How did you find this?

I hosted the files in a Github project so that other people could find it in a nice convenient way. As far as I can tell, this is allowed by their license terms.

http://github.com/paulhodge/EASTL

Keyframe, Let me know if you want a shoutout, I can add your name to the README.

barrybe··on EA rečeases webkit-based code including EASTL
I think there might be stuff missing. I tried searching for everything mentioned in this paper:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n227...

and these things seem to be missing:

priority_queue, rand, deque, numeric, stack

But most of the fundamentals seem to be there, so it looks like it's still a useful chunk of code. My guess is that they deleted anything that EAWekKit didn't need.

barrybe··on Google closes Issue 9
Before people get carried away with stories about how the big guy is crushing the little guy, keep in mind that there are at least 4 different programming languages named D, and this doesn't seem to have killed any of those projects. Name collisions are inevitable when everyone picks names that are around 1-4 characters.
barrybe··on Evercookie: A cookie that undeletes itself from 8 different storages
Also now that it's packed up so tidily, we'll probably get some better tools for blocking/removing all of those tricks. Think of it like an Acid3 test for browser security.
barrybe··on [dead]
Comic book guy:

Worst. List. Ever.

barrybe··on Types of Comments to Avoid Making when Programming
I have to agree, I think TODO and FIXME comments are just a fact of life. I haven't seen a large codebase that didn't have them.

But, if you write one of those, at least try to be realistic. Too often I find comments saying "XXX THIS MUST BE FIXED IMMEDIATELY!!" in code that hasn't changed for years.

barrybe··on Emerging Languages camp - day 2
The right answer is -54767/66192, so whichever program said -.827 is probably right.

There was a good discussion on the list: http://groups.google.com/group/emerginglangs/browse_thread/t...

Basically if your language uses floats by default then it will get that challenge wrong, and if it uses fractions or arbitrary-precision decimals, then it'll get it right.

barrybe··on From perception to disruption in the cloud: an equation
Arg, this pseudomath is hurting my brain. Why does he keep saying P is multiplicative when it's written like a function?? How can the same variable P (or function) affect B and C differently?? If the perceived benefit is equal to the perceived cost then does that mean the value equals 1? What does that mean?? If the perceived cost is 2x the perceived benefit, then shouldn't the overall value be negative?? (instead of being 1/2?). And is it deliberate that the whole equation is undefined for when perceived cost equals 0??
barrybe··on Games Criminals Play – How You Can Profit By Knowing Them
You inspired me! It was that stuff about out-goaling someone; it made me want to try to out-goal your blog post :)
barrybe··on Games Criminals Play – How You Can Profit By Knowing Them
Here are some of the ways that a blogger will try to manipulate you into purchasing a book.

First, the post presents itself as a harmless and useful source of information. There's nothing to lose, and you might be informed or at least entertained if you keep reading.

The story spans several different aspects of human behavior. At some point, it might touch on something that you've personally experienced, which makes you more interested in the post.

As the post goes on, it begins to accumulate reasons why the topic is important, and how it can potentially affect you and your life. Before you know it, you begin to feel like you can't afford to ignore the provided advice.

Then finally, the trap is set! An affiliate link is posted, and all you have to do to feel better about the situation is whip out your credit card.

Here's how you can avoid buying a book that you don't really want:

1) Recognize the signs

2) Use a web site that allows comments to publicly mock the blog post. Not only does this give you the enjoyment of being a jackass, you can transform your reticence into a noble cause.

I hope this advice has been helpful!

barrybe··on Adobe CTO on the state of Flash
I don't think he's laying out the whole flash vs HTML5 argument in that post. He says:

If HTML could reliably do everything Flash does that would certainly save us a lot of effort, but that does not appear to be coming to pass.

which is probably referring to how HTML5 does not have: efficient vector-based animation, support for audio mixing, strong tool support and ecosystem for creating interactive content, a pathway to run C code (Alchemy), etc.

barrybe··on Ask HN: Overcoming coder's block?
1) If you find yourself trying to design features and write the code simultaneously, then try breaking up those steps. Get away from the computer, grab a pencil & paper, put your designer hat on and go to town. Then drop the notes by your desk, grab lunch, come back, and act like you are implementing someone else's design.

2) If you have a design but are just trying to figure out how to implement it, then TDD can help a lot. Write a test that checks if your thing does what it is supposed to. Then run the test, it should say you have X failures. There, now you have a concrete problem to solve: you need to fix those failures.

3) If you are intimidated by a large coding problem, try instead to just make the simplest possible prototype version that just barely works. Even if this exercise causes you to write throwaway code, it's worthwhile. Once you have something working at all, it's easier to think about the features that you need to add to make it finished.

In general I think people get blocked when they try to solve too many open-ended questions at once. So try to break apart your problems into bite-sized pieces, and find ways to turn your open-ended questions into specific, measurable problems.

barrybe··on Diff Match and Patch: Google's open source text synchronization library
Looks really useful, although I wonder is it really necessary for the C++ version to depend on Qt? Qt is a pretty huge library.
barrybe··on _why is no more
I think if he tried today he'd be much more successful. I remember using git-svn a year ago, and it had the problem where it would re-checkout every single file for every branch point, because SVN doesn't really keep track of branch points; a branch is just a "svn copy" of the root dir.

These days, git-svn is much smarter about recognizing a SVN branch, so it doesn't have to re-checkout the whole world.

barrybe··on U.S. (finally) Says Treasury Bonds Seized in Italy Are Fakes
Whew, it's a good thing that everyone remained calm and no one overreacted about that issue.

http://www.bloomberg.com/apps/news?pid=newsarchive&sid=a...

barrybe··on Complete List of Mac OS X Snow Leopard Enhancements
LOL at this paragraph:

"Boot Camp now includes HFS+ read support that enables you to access the files on your Mac OS X partition from Windows. It’s read-only to prevent PC viruses from affecting Mac OS X,"

barrybe··on Ask HN: please review my technology.
For 1, I don't know of any good workarounds. I think it might be wise to have an intermediate page that says: "You are about to see a dialog box that looks like this, click on 'Trust' when you see it". That way fewer people will be scared off. Having a "tutorial" page is pretty common in other websites that have some kind of trust/installation process.
barrybe··on Ask HN: please review my technology.
Some thoughts:

1) Being forced to click "Trust" just to watch a video is pretty bad, and would turn away many of your users.

2) Having an alert box "Are you sure you want to leave this page?" is also pretty bad, and unnecessary.

Overall, I can see the value that this technology gives to you (less bandwidth). But what value do you give to the consumer? Why would I want to endure the various hassles of this site, and give up some my scarce upstream bandwidth, when I could just go to Youtube or Vimeo instead?

barrybe··on Popular languages on GitHub ranked by number of bytes stored
371 people are, according to github :)
barrybe··on Ask HN: Do you write comments, and then not submit them?
Yeah, fairly often.

I think the most common reason for me to cancel a comment is just knowing how internet people are. People on the internet, especially software people, are really really critical. I think there's a certain group of people that browse forums with the sole intention of pointing out how other people are wrong.

So sometimes if I have a slightly controversial opinion, I will just not bother commenting, because I don't feel like dealing with the nitpickers.

barrybe··on Will the Java Platform Create The World's Largest App Store?
Awesome. Fresh off of the incredible non-success of our client-side Java Applet, Java Web Start, and JavaFX platforms, we're going to take advantage of our required JRE download to push out software that users probably don't want it. (I mean, if the user really wanted that stuff, they could just go to the vendor's web side, am I right?). If you thought the default Yahoo toolbar was annoying, we're just getting started!
barrybe··on In the computer age, why are people still asked to do their own taxes?
If we're assuming that the government is evil and sufficiently organized, then it seems much more likely that they would want to calculate taxes themselves. They could make a lot of money just by "accidentally" introducing a few errors.
barrybe··on Google images get content, color filters - strangely useful
Related:

Search Flickr by color: http://labs.ideeinc.com/multicolr . This one lets you pick a palette of several colors, and the UI looks better.

Various other crazy ways to search Flickr: http://mashable.com/2007/07/11/browse-flickr-photos/

barrybe··on Ask HN: Do you have any code or projects of your own you would like to talk about instead?
It would be better, but I want to do some cool things that I'm not sure if I can support in an existing language.

One thing is automatically preserving state across a reload. This is really hard if I allow the programmer to store state any way that they want- I can't tell which things I should preserve. So the language forces the programmer to declare their stateful things in a special way.

Another thing is introspecting on code. I want to be able to click an image and then see all of the calculations that went in to that image's position (maybe so that I can change them). But this is pretty hard in most languages. Aliasing makes it hard. So this language discourages operations which are hard to introspect.

So I could theoretically support Ruby or something, but it would turn out to be "not really Ruby", because there would be a lot of stuff you wouldn't be allowed to do.

barrybe··on Ask HN: Do you have any code or projects of your own you would like to talk about instead?
Prism would be cool, although Mozilla already has something with that name.
← PreviousPage 2 of 3Next →