Forgot your password?
typodupeerror

Comment: Re:Dominican Republic, Iran and Thailand stats (Score 1) 322

by Morth (#44665069) Attached to: Open Source Mapping Software Shows Every Traffic Death On Earth

Try taking a scheduled minibus through the countryside. Or, actually don't try it. I've been on a couple and I've never been as scared for my life. They seemed to think the middle lane divider is a marker for where to drive... any oncoming traffic you just flash the lights to make them move out of the way.

Comment: Re:Because its fun (Score 1) 793

by Morth (#40519431) Attached to: What's To Love About C?

This is interesting... wanted to mod it but no points, so guess I have to reply.

I also find C fun to code, and good for many tasks, including string handling which some seem to use as argument to not use it. I'm trying to learn C++ now but it's quite complicated. C is a much simpler language, and you usually spend less time thinking about how to solve the problem than actually writing the code. Maybe if I code enough C++ it'll be the same, but that feels like far far of right now.

Not that it's a bad idea to design first and write later. It's just not as fun, like you mentioned.

Comment: Re:Three things... (Score 1) 244

by Morth (#39397667) Attached to: Connecticut Considers Digital Download Tax

It's been on slashdot before, probably for other states, can't really remember. Frankly, as a European (Sweden to be exact), I'm still surprised you don't have taxes on internet purchases. Any online US retailer exporting to EU does have to add VAT to those transactions (which are then sent off the to EU state).

Comment: Re:Good news. (Score 2) 155

by Morth (#37647048) Attached to: Oracle To Bring Dtrace To Linux

As long as the leave strace in place. Apple replaced ktrace with dtrace and I've been hating it ever since.
It's not that dtrace is bad, it's just that they have different purposes, and dtruss has several problems ktrace/strace does not:

  • It's asynchronous. Meaning it won't output write(1, "foo\n", 4); next to the actual output of foo.
  • Sometimes stuff gets out of order, not sure why.
  • It'll only output pointer addresses, e.g. bind(3, 0x12345678, ...) instead of bind(3, {127.0.0.1, 8080}, ...)

Ok, rant over.

Comment: Re:Screws are evil (Score 1) 330

by Morth (#37148094) Attached to: Linus Thinks Virtualization Is 'Evil'

That's not different from moving a VM from one host to another, the router needs to change its ARP table in that case as well. There's no reason the IP couldn't be app bound instead of machine bound, if you're willing to assign one IP per app (IPv6 would help). But we're lacking the tools to migrate an IP from one host to another, including the TCP sessions. That's a software problem though, and could be implemented if there's demand for it.

Some programming languages manage to absorb change, but withstand progress. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982

Working...