HNHacker News
TopNewBestAskShowJobs

orib

726 karma · joined April 12, 2008

submissionscomments
orib··on "Sequential programming is dead. So stop teaching it"
Exactly. Moreover, most programmers will simply use high level primitives from some library where concurrency is deep buried, so they won't need to worry about it at all.

And who writes the libraries? I'd suggest that if you're only gluing together libraries, much of a rigorous CS training is wasted anyaways. You could do just fine with very little formal training on algorithm design and analysis, and a rather shaky understanding of the fundamentals of algorithms, if that's all the programming you do is. You're probably better off with a trade school.

If you're going to be doing anything challenging in the programming domain, you'll want a good grounding in concurrency.

orib··on How can C Programs be so Reliable?
Of course it doesn't make software worse, but you make it sound like it's the only factor in software quality. Far from it, and IMO the degree to which it has become a religion is disturbing. I suspect that might be the source of the downmods.

I've seen projects with more tests than code, and I think that shows a problem with development methodologies. Simply reasoning about the flow through the code (and possibly using a powerful type system [think Ocaml] to help catch errors at compile time) would remove the need for many of these tests (not all tests should go, of course) and would result in tighter code.

orib··on How can C Programs be so Reliable?
Or how much thought goes into it.

I remember reading about a study about a very different style of development from years ago, where automated testing was NEVER done, but instead formalized models of the program were created and mathematically verified.

If I remember correctly, the final result was a similar level of quality to an extensively tested system developed today, and the code tended to be of somewhat higher quality thanks to the extra thought put into it. (But I'm only going off vague memories here... I might be misremembering)

orib··on Ask HN: What's next big thing in bandwidth?
What symmetric high bandwidth applications?

I can't think of any consumers that want to upload as much as they download.

orib··on How can C Programs be so Reliable?
Yes, yes I did.
orib··on How can C Programs be so Reliable?
Spoken like someone who truly doesn't understand C. You even managed to confuse it with C++ (you might as well have said "Java" in the place of C++, it's about as close to C as C++ is)

Well done.

edit: Ignore this post. I misread. I'm an idiot. Sorry about that

orib··on Ask HN: What's next big thing in bandwidth?
100 ms is still a pretty big latency.

Add to that the slowdown of propagating in a fiber optic cable, and you've just increased the time to 150 ms.

So, for a server 1/4 of the way around the world, you're stuck with a minimum round trip time of 75 ms. This will be increased by switching times in repeaters, for example. And that's only for one data packet.

orib··on Redshift: What Ruby and a nice API can do in the browser
My personal pet peeve is that a language for the browser was standardized, instead of a simple generic bytecode format. But then I have a whole lots of pet peeves about the browser as a development platform.
orib··on Zuckerberg's Second Law
As a business, it's certainly not a success.

It gets massive number of page views, and is very popular, but business isn't a popularity contest. If you can't figure out how to make money, you're not a successful business.

orib··on Data is good, code is a liability
Parse tables or regex compiling are a perfect example of this style. Lookup tables are another good example.
orib··on We've stopped using rSpec ...
This is why I don't jump on bandwagons, but instead use software based on my own evaluation. I try to avoid letting hype influence my decisions.

I find a pinch of skepticism goes a long way.

orib··on GitHub adds code search
http://codesearch.google.com
orib··on I Have Never Seen Ubuntu Get Updates Right
Yep, Ted is a bad writer with very few points to make, so he fills in the gaps with anger and poison. Some people can pull off the angry rant in a a worthwhile way. He can't, and I generally despise his writing.

As far as Ubuntu's update process, these updates were small point updates in the middle of the release cycle, which is why they were so disturbing; it seems that Debian's "constantly up-to-date" system works better for me, at least so far.

orib··on I Have Never Seen Ubuntu Get Updates Right
To be fair, the Ubuntu quality assurance process seems somewhat shoddy. On stable releases, I've seen 2 rather serious issues with minor updates.

In one update, Ubuntu pretty much broke the PCI detection code in X, so that X always thought that there were no cards. Luckily, it was only a matter of waiting several hours for a fix, and updating from a text console.

In another update, the Canadian english localization completely broke KDE, making it segfault on startup. Again, wait a day or two and update from a text console.

Right now I'm on vanilla Debian (unstable branch) and I find that it has had less critical breakage than Ubuntu's mainline branch. I'm not sure how Ubuntu should update their QA process, though.

orib··on Things I wish I’d known when I was younger
This was all freely available and common knowledge.

Part of being young is not listening and trying to find your own way.

orib··on A radical business plan for start-ups: Charge people.
I use it, but only because it mails me notifications about events. If my non-technical friends understood mailing lists, and enough of them were on the same one, that would easily beat facebook for it's primary usecase (at least in my situation)
orib··on Calories Do Count
Take this with a grain of salt, since I am not an economist. However, I think that Government intervention isn't evil.

For the free market economy to work, a number of assumptions are made in the model. For example, we assume that consumers are well informed, and make judgements on the product's attributes. We also assume that there are no significant externalities, and all costs are actually exposed to the companies.

Labelling the foods with their actual properties, testing them for safety, and other similar government intervention can actually bring things closer to the ideal free market economy where the consumers know what they're buying, and the costs of environmental cleanup are passed on to the companies causing the damage.

orib··on Stefano’s Linotype: Why Programmers Suck at CSS Design (CSS Guide)
To quote the CSS 2.0 spec:

The 'em' unit is equal to the computed value of the 'font-size'...

Therefore, em is in units of font size, and is not independent of it. It's totally unrelated to 'px' values, except by luck. Not all browsers default to 16px text. (And yes, it's true that px are actually defined as the distance subtended by an angle of 0.0227 degrees at a typical viewing distance of the device, but they're typically used interchangably with screen pixels)

orib··on Stefano’s Linotype: Why Programmers Suck at CSS Design (CSS Guide)
They could simply use em measurements everywhere before.

Actually, the size of an 'em' isn't even defined relative to the size of a pixel by the CSS spec, so the claim in the article is dead wrong about it helping you use em when you mean 10 pixels. 62.5% of an unknown value isn't 10 pixels.

orib··on Stefano’s Linotype: Why Programmers Suck at CSS Design (CSS Guide)
What part of respecting a user's settings makes a website ugly?

If a website is properly designed, it should scale just fine no matter what the font size is. If you need a fixed pixel size for a font to make your design work, you're doing it wrong. And to top it off, a fixed pixel size requirement means it'll break anyways on different systems with different fonts, kerning and hinting options, and other settings.b

orib··on Stefano’s Linotype: Why Programmers Suck at CSS Design (CSS Guide)
From the article:

     My suggestion for you is to do the following: start
     your CSS stylesheet with

     html {
       font-size: 62.5%;
     }
NO, NO, AND NO! I set my font size to what it is for a reason. Web designers need to learn to deal with it. If you're manually tweaking font sizes, you're doing it wrong. Please, leave them at the default values; they're that way for a reason. I want a website that doesn't cause eye strain. Make sure your site scales, and things work without absolute pixel sizes.
orib··on Apple now has more cash than Microsoft
http://www.openusability.org/
orib··on 3 reasons to switch to git
Why git? It's popular, which means it's easy to find people to ask questions when you need to.

Really, I'd be fine with any fast distributed VCS, which means nearly all of them these days. (sorry Darcs). The ease of setup ("If you have SSH you have a git server") feature is also very nice, but I don't think it's exclusive to git.

orib··on 3 reasons to switch to git
Hm? Why would you think that?

Did you realize that your master/ branch is just one such long-running branch, and one that's not special in any way other than being the default for some commands...

As far as multiple committers on one branch -- well, you can do it, but with 'git rebase' and friends, it's just easier to do your own work on a short lived branch off your primary branch, and just merge in stuff as you get it done.

It's not that git makes it difficult to do it compared to other version control systems; it's just that it's a nicer workflow if you use short-lived topic branches to do development because you don't to worry about what other people are doing until you decide you want to take a look at it and merge it in. The short-lived private branch + lots of merges workflow is just easier because it prevents interruptions in your workflow.

As far as emailing patches, it's a matter of taste. It's certainly easier to make sure all changes get reviewed if patches are mailed around, because people tend to read their mails. Personally, I just use a post-update hook to mail out a list of changes for each commit, and review them later, since it's always relatively easy to back out or fix a patch -- after all, it is a version control system.

orib··on How Steve Jobs pitches a startup
[digression] I find it interesting that "what's old is new again" theme strikes again. In this video, near the 7 minute mark, he's talking about moving applications off of mainframes/servers and running them as desktop clients for ease of development, speed, cost, and so on. Sounds kind of like the inverse of what people seem to be trying to do today with web apps. Again.

And of course, this isn't the first time the cycle repeasts.

orib··on The Stupidest Answer In The World
It implies that he's not even looking for a way to make money, as well as sounding rather arrogant ("Well, we're obviously going to be the next google whether we try or not")
orib··on The End of Libertarianism: The financial collapse proves that it makes no sense.
And how would you do that? what would make the economy more fault tolerant, specifically?
orib··on Multithreading or Light-weight processes ?
The one that fits the problem at hand is the best model to use. one's not clearly better for all cases than the other.
orib··on Informal Python GUI toolkits overview
as for the guy's problem with the lack of HTML() in pygtk, there's pywebkitgtk: http://code.google.com/p/pywebkitgtk/
orib··on HOWTO Encourage Women in Linux
Hm. Never used the MP3 downloader myself, and Octave has been sufficiently compatible (ie, every bit of code I've encountered/written worked on both) for me to do all the Matlab courses and assignments that I've worked on. I suppose that I should have qualified my original statement -- all the software I cared about as an engineering-physics/computer science student that ran on Linux in the first place runs just fine on Linux 64 bit. (I miss CAD and a good GUI circuit designer, but those were also missing from 32 bit Linux)
← PreviousPage 2 of 9Next →