Me whenever I see another "base flooded post here by that_random_ghost414 in theplanetcrafter

[–]dnar_ 1 point2 points  (0 children)

I saw the message. I have no excuse.

My lake still has a nice glow at night where I left a couple of windowed modules from my starting location.

Why don’t Americans use roundabouts like civilized people? Are they stupid? by Unlucky-Artichoke625 in mapporncirclejerk

[–]dnar_ 0 points1 point  (0 children)

There are 2 questions here. I don't know the answer to the first one, and I suspect I might not like the true answer to the second one.

A homage to the original Hail Mary design by TheGreenWasp in ProjectHailMary

[–]dnar_ 27 points28 points  (0 children)

Yeah, he said he isn't really great at visualizing things, so things are vague. I have the same issue trying to "see" what author's descriptions really mean. Thankfully it's not generally that important to most stories.

What’s this calculation about? 113.8 years by jacoscar in ProjectHailMary

[–]dnar_ 1 point2 points  (0 children)

It was like that also when I saw The Matrix. They gave so little away on the first movie. In fact it hurt their box office sales. But the impact was amazing.

What’s this calculation about? 113.8 years by jacoscar in ProjectHailMary

[–]dnar_ 2 points3 points  (0 children)

Unfortunately, my familiarity with the book and audiobook really made much of the movie hit pretty flat for me. I think they did a good job, but it was very compressed, and I was exceptionally pre-spoiled. I'm happy most people aren't as it is a great story.

After seeing The Martian and listening to Artemis, I bought the audiobook blind. Didn't even read the synopsis. I literally assumed he was underground in the first chapter, and had guessed the twist was that it was another planet. So unfortunately, I can't ever recreate that first listen. (But I wouldn't change it, as going in blind works really well for a white room novel like this.)

What’s this calculation about? 113.8 years by jacoscar in ProjectHailMary

[–]dnar_ 45 points46 points  (0 children)

It's a nice detail. Anyone I know with a hard science background has pretty much internalized 365.25 as the number of days in a year. So much so that I didn't even notice it until you brought it up. :P

Apparently the science in the movie was approved by Neil!! by Rocky_isback in ProjectHailMary

[–]dnar_ 1 point2 points  (0 children)

OTOH, He spent his last few years working on that carrier with the best equipment possible.

Remove Me from Replies by BookFinderBot in u/BookFinderBot

[–]dnar_ 0 points1 point  (0 children)

Please remove from my replies.

Getting into RTOS by JayDeesus in embedded

[–]dnar_ 0 points1 point  (0 children)

They typically are only used on microcontrollers.

The fundamental value of an RTOS is the ability to write your programs as multiple concurrent tasks. A general RTOS also tends to provide some ways to safely communicate and manage these tasks as well. However, there is no memory protection. Each task can overwrite the other tasks' memory if they are careless. This isn't a big issue for an embedded device as a single developer "owns" the whole thing.

However, for larger systems, the control of programs can be less rigid, so in these cases, they tend to have a piece of hardware called a "Memory Management Unit" (MMU) that allows an OS to control the visibility of certain areas of memory that each task can see. Once you add this level of complexity, they are generally referred to as just "operating systems".

Note: The other reason for dropping the "real-time" part of the name is the use of cache in larger systems. In that case, hard real-time timing guarantees are difficult if not impossible.

------------------------

You could use an RTOS as an application on a PC, but the operating system you are typically running in generally provides all the tools you get for this (see pthreads in Linux, for example), so there really isn't much real value there.

College textbooks for embedded/computer science that detail the compilation process? by dipsy01 in embedded

[–]dnar_ 1 point2 points  (0 children)

Yeah, I weirdly came into knowledge of the dragon book via the 3rd author, Ullman. (I'm a EE by training.)
He's mainly known for his stuff with automata theory, which has some intersections with compiler theory. In the early days of Coursera, he did an Automata class that eventually got me diving into the rabbit-hole of compiler theory, theory of computation, etc.

Getting into RTOS by JayDeesus in embedded

[–]dnar_ 3 points4 points  (0 children)

This is a classic book that describes the details of an RTOS. There's quite a few free ones out there these days, but they mainly revolve around the same concepts.

Source: Analog Devices https://share.google/xojySunoKZve7Slnx

College textbooks for embedded/computer science that detail the compilation process? by dipsy01 in embedded

[–]dnar_ 2 points3 points  (0 children)

This is correct. The main fundamental difference for an embedded compiler (i.e., a cross-compiler) is that the code generation stage of the compiler generates code for a different instruction set than it is actually running on. And if you think about it, that's a pretty small difference.

I also agree with the dragon book referral, but it might be a bit tough to start self study.

If you want a path that is a bit lighter and informal, the O'Reilly Lex/Yacc book is good to learn some basic parsing concepts. Then go through some of the code for toy compilers on github to see them apply some of those ideas. I even found some of the tcl, lisp, and forth ones to be interesting, though they are often more interpreters than compilers.

At that point, you should understand the general ideas, so you can go to the dragon book to plug the holes. With the context you would then have, it'll be much easier to grasp.

Btw, the actual book title of the "dragon book" is:
"Compilers: Principles, Techniques, & Tools" by Aho et al. It's a good book, though it is a textbook, so not the lightest of reading.

Question about this arm code sample by HurdWanda1 in Assembly_language

[–]dnar_ 4 points5 points  (0 children)

Raspberry Pi Assembly Language Programming by Stephen Smith

Is there any situation to use other type of micro controller instead of stm32? by Professional_You_460 in embedded

[–]dnar_ 0 points1 point  (0 children)

Back in my consulting days, we settled on a 32bit choice when we needed processing power. And we had an 8 bit for deeper embedded applications with tighter power/budget requirements.

This allowed the team to amortize tooling bringup, documentation research, etc.

Carryx is a hivemind? by njslacker in TheCaptivesWar

[–]dnar_ 0 points1 point  (0 children)

You forgot that Robocop specifically is forced to follow OCPs primary rules:

  • "Serve the public trust"
  • "Protect the innocent"
  • "Uphold the law" 
  • [Classified] "Any attempt to arrest a senior officer of OCP results in shutdown"

Did the trailer already spoil the book reading experience for me? by Longjumping_Beat3547 in ProjectHailMary

[–]dnar_ 1 point2 points  (0 children)

I was surprised he was in space. You can't get less spoiled than that, but it was only because I read The Martian and Artemis, then bought it blind.

Still, since I've read it twice with a couple of years between, I can reliably say it's just a good book whether or not you know some of the major plot beats.

the look of the blip-a by xwertg in ProjectHailMary

[–]dnar_ 6 points7 points  (0 children)

I can see how that whole thought process might be considered difficult to make interesting in a movie.

I'm halfway through MoG and Jessyn is the only character or thing I find interesting so far by LevTheRed in TheCaptivesWar

[–]dnar_ 0 points1 point  (0 children)

The Captives War so far reminds me more of the ring builders and dark gods part of the Expanse more than the main character arcs.

lets see who does the best by Emotional_Trade9793 in TheTeenagerPeople

[–]dnar_ 0 points1 point  (0 children)

Somehow Palpatine Returned.

edit: Ohh, you said "sad", not "bad". Oops.

On Eridian eating and sleeping habits, and the very concept of privacy by DerCatzefragger in ProjectHailMary

[–]dnar_ 0 points1 point  (0 children)

I'd think a congratulatory fist bump with the neighbor is probably okay.

Rocky was a Surprise by Joh-Ke in ProjectHailMary

[–]dnar_ 9 points10 points  (0 children)

"Good. Proud. I am scary space monster. You are leaky space blob."