HN user

iano

40 karma
Posts1
Comments16
View on HN
The MIN Challenge 12 years ago

Not entirely related to the post, but what's the sane use case for doing:

  return (expr, expr)
like in the first example? I cannot think of a good reason to do this.

Can someone explain to me how the first queue example's (using singly link lists) dequeue method gives the expected result? Isn't head->m_pNext always NULL, so the new head will always be NULL and tail will be set to NULL losing the rest of the queue?

Seems like you should need to traverse the list to dequeue.

Where did I go wrong?

This happens everywhere, not just in Silicon Valley. Maybe I'm missing it, but where does this article give evidence that this is the biggest in the US?

My home town has 20k people, and has winters with weeks of sustained below 0F temperature. Yet, there is a forested section behind a low budget grocery store where a 30-50 person homeless community exists perpetually. I know this is smaller than the 175 mentioned in the article, but its in a 20k person winter town in the middle of nowhere.

I thought the same, but as chance should have it I finally installed Ubuntu on my mpb yesterday. It went off without a hitch, and as far as I can tell everything works out of the box (wireless, dual monitors, sound, even all of the Mac function keys!).

It was a surprisingly pleasant experience.

Yeah, sorry. Having cyclic pitch control on the 4 rotors of a quadrotor makes even less sense - then you really really might as well just be a helicopter.

There aren't a lot of quadrotors that use pitch control. That's half of their appeal; hook 4 brushless motors up to props and you're good to go. If you add in pitch control, then you either need 8 dof (4 motors, 4 pitch servos) or 5 dof (1 motor with a complicated power train to drive the 4 rotors, and 4 servos for pitch control). Both are more complicated and expensive, and again you might as well just be a helicopter.

Unfortunately quadrotors don't scale up well. As the rotors get larger control input delay increases (because with this type of quadrotor you get your control input by rapidly changing the angular speed of the rotors). You can fix this by turning each of the 4 rotors into a conventional helicoptor rotor with collective pitch control, but at that point it makes sense to just go with a helicopter.

Maybe I'm not reading the pyramid properly, but it looks like Clojure is on average ~2x as lengthy as Mathematica? IE: The entries in the horizontal Clojure row are ~1/2 the entries in the horizontal Mathematica row.

Definitely a confusing table.

All About Circuits 14 years ago

In short: Learn constant coefficient 2nd order differential equations, and you can design a whole slew of mechanical, electrical, and hydraulic contraptions.

A real application of this: before computers, mechanical systems control engineers would write the equations of their mechanical systems, write their controllers, and then implement their controllers around the electrical circuit that duplicated the behavior of their mechanical system. Sort of an analog computer way of simulating a system.