Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment: Re:As with all space missions: (Score 1) 178

by Ihlosi (#48617357) Attached to: NASA Study Proposes Airships, Cloud Cities For Venus Exploration
We're not talking about an air ship where you can take a leisurely stroll on the pool deck admiring the Venetian sunset. We're talking about a space ship that is suspended in a convection stove.

Or a sauna. On the plus side, you get plenty of solar power to run your AC with.

Comment: Solar irradiance in the article? (Score 1) 178

by Ihlosi (#48617323) Attached to: NASA Study Proposes Airships, Cloud Cities For Venus Exploration
The article states that Venus gets 40% more solar irradiance than Earth and 240% more than Mars. I wonder where these numbers come from. From the inverse-square law, Venus would get about twice the solar irradiance of Earth, and about four times the irradiance of Mars ...

Comment: Let's do it. (Score 2) 178

by Ihlosi (#48617283) Attached to: NASA Study Proposes Airships, Cloud Cities For Venus Exploration
The airship idea is a great idea. Not with astronauts (there wouldn't be much to do for them, unlike on Mars, where they could look at rock formations, dig holes and play golf), but a robotic airship would get a much closer look at Venus than any satellite.

Plus, it would be a "first".

Comment: Re:C is very relevant in 2014, (Score 1) 640

by Ihlosi (#48571811) Attached to: How Relevant is C in 2014?
Hmm... upon reading my comment, I realize that C *IS* guides

C doesn't really guard anything. It does keep you from having to roll your own multiword arithmetics or integer division algorithms, and from dealing with architecture-related things that are mind-boggling for a human, but just another set of rules to a compilers (pipelines, delayed instructions, etc.), and takes over things like optimizing register usage.

On a computer, all the guides come at the cost of performance. Sure, you can make a programming langugage where buffer overflows are alway caught, but that language will spend a lot of CPU cycles on checks.

Comment: Re:Very relevent for small target embedded stuff. (Score 1) 640

by Ihlosi (#48563085) Attached to: How Relevant is C in 2014?
BS. Embedded development still happens on 8-bit controllers

And there's also plenty of ARM chips that don't run Linux (because they can't due to lack of a MMU), e.g. Cortex-M0...M4-based parts.

That's one of the nice things about small target embedded work. It covers everything from 8-bit to 32-bit, from simple (no hardware multiplier, no division in hardware) to loaded (hardware floating point support, MAC units, HW dividers), from slow (temperature logging) to fast (control loop running at 30 kHz requiring 3us latency).

Comment: Re:C is relevant because it is low level. (Score 1) 640

by Ihlosi (#48553989) Attached to: How Relevant is C in 2014?
C is important because it directly presents the actual machine memory model.

Well, not really. There are some architectures that were basically designed to be used with C (68k, ARM), but there are others (8051) where a C compiler need to jump through some major hoops.

And the C compiler still shields the programmers from things like stack frames or worrying about CPU register allocation.

Comment: Small target! (Score 2, Interesting) 640

by Ihlosi (#48553951) Attached to: How Relevant is C in 2014?
Depends mostly on compiler and toolchain availability on those platforms.

To clarify: "Small target" means memory (RAM/Flash) is measured in kB, sometimes even in bytes.

You still have Python-capable processors for embedded systems if you can't afford to learn C.

As far as target size goes, that thing does not qualify as "small target".

FWIW, I've been struggling with LPC4300 series processors.

Those chips look like they're on the large end of "small target". Cortex-M4s are already pretty beefy CPUs.

The open source toolchain is just so bad that your CPU hard faults on first attempted function call (most likely due to incorrect memory maps).

You can usually get pretty detailed reasons for a hard fault if you dig into the appropriate CPU registers (HFSR, etc).

I'd check the linker command file. Setting up a basic memory map isn't that hard - it's the not-so-basic stuff where things get interesting (copying functions to RAM for execution, etc).

Comment: Re:Value your prefrontal cortex? (Score 1) 233

by Ihlosi (#48495829) Attached to: Football Concussion Lawsuits Start To Hit High Schools
Football wasn't always played in full body armor.Perhaps it's time to redesign based on a scientific understanding of the risks and how to mitigate them.

It's actually very simple. The brain is soft. The skull is hard. When the two collide due to the head experiencing too much acceleration, it's easy to guess which of the two will be damaged more.

The are dozens of types of sport that don't involve the participants head and neck experiencing large forces as a normal part of the game.

The idle man does not know what it is to enjoy rest.

Working...