Hacker Newsnew | past | comments | ask | show | jobs | submit | Arelius's commentslogin

I don't really understand how the door relates? Are you suggesting that understanding and answering all the details about how a door fits into your game is the lesser thing that you should not saturate your time with?


Generally, running in a MMU without static task config would require relocatable binaries. I'm not sure why it'd preclude execute-in-place. As a relocatable binary should be executable from generally any address space. However I suspect that hardware without an MMU is not super likely to be able to support XIP.

It is based on FreeRTOS, so it should be fairly well documented.


> I suspect that hardware without an MMU is not super likely to be able to support XIP.

This seems strange to me. Don't most microcontrollers support executing directly from flash? Some even can't execute from RAM.

Though I agree with the main point, you can compile code as "PIC" - position independent code, and not bother with (ELF) relocations except for linking.


> Don't most microcontrollers support executing directly from flash?

Yes... I presume they meant XIP for multiple programs at once, since you'd need an MMU for that.


> since you'd need an MMU for that.

Or PIC code... PalmOS 5 & 6 allowed multiple programs in same memory and they were simply compiled pic. MMU was not used

Some architectures (ARM, RISCV, aarch64) are well suited for this kind of code. Others are extremely poorly suited (x86, MIPS), but all CAN do it


Or the program use relative addressing.


Obviously there is simplification going on, but clearly somewhere between founder of a 5 person startup. And CEO of a public multi-national there is a line where they really are not much alike.


It's a neat piece of hardware, but honestly I never wanted to play any of the games. I don't really know for to do discovery for it, and none of the ones I tried stuck for me, honestly, I prefer to emulate games from my childhood, or retro/indie games I already have on my back-log.


At some point we will have to stop treating universities as tests to pass, and actually what they claim to be: places to learn. Ultimately it needs to be on the student to want to learn.

Obviously this would be easier if our entire school system before university wasn't seemingly designed too destroy every last ounce of a child's curiosity.


I wish you were not right. Every single positive experience with learning for me was only related to my school was incidental and more based on luck associated with the fact that I had access to at least two very curious minds that, unlike school, showed me actual use for, among other things, proportions. It feels highly unfair that your entire life can effectively boil down to whether you meet at least one person, who can make it relatable to you.


> My Chrome binaries are about 700MB on Mac and 500MB on Windows

That's kind-of the point though right? An application that has been say <700 MB for decades, suddenly deciding it'll take a multiple of it's size without asking seems pretty unreasonable, I think it's pretty fair to say the expectations for Chrome were set already.

It'd be similarly unreasonable for a video game that once took 50 GB, to suddenly decide to take 400 GB.


That depends on how you count, though.

Local storage and cache only have limits relative to available disk space in Chrome, IIRC, and can easily bloat to 100 GB without intervention. Personally I think that's a design flaw and they need customizable hard limits as well, but web browsers wasting space without asking is not a new or sudden development.


You know, I used to agree, but what I realized, is I am a software engineer, and I'm used to working in large projects with source-code as the only documentation.

And that's what's great about NixOS, you just clone nixpkgs and treat it like any other underdocumented software you might work on.


> I'm used to working in large projects with source-code as the only documentation.

As a software engineer I have an opposing attitude towards this. I work on projects with terrible documentation because somebody pays me to do so or there is a significant potential that I can unlock.

There are significant alternatives to NixOS like bootable containers and OSTree which are more useful and better documented. If Nix project really cares about being competitive and adopt users, they have to document their stuff. They are already going against the grain and ain't nobody has time to put up with their weird language and their subpar documentation.


> I work on projects with terrible documentation because somebody pays me to do so or there is a significant potential that I can unlock.

I mean, I'd argue there is significant potential, but really, for me it's just easy because I've been doing it for 20 years, and documentation is always fundamentally worse than code in some important ways.

> If Nix project really cares about being competitive and adopt users, they have to document their stuff.

This is one of the good/bad things about OSS.. most users don't provide positive value to the project. So do they really want to adopt users? Shrugs but the project is certainly competitive.


> for me it's just easy because I've been doing it for 20 years

C’mon, just drop the “greybeard” act. Nix not having proper documentation is bad practice, period. No ifs buts or howevers, it’s just an objective fact. Good documentation is always (ALWAYS) a net positive, and this is an OS with it’s own unique mindset and way of doing things, good documentation is essential. End of.


+1. I would also recommend using Github search to look for existing examples.


And actually to add, I've been finding myself going to nixpkgs first for reference on how to build and/or configure packages even outside of nix.


It's like most things in software, if you constrain the problem enough, focus on the problems you actually have and make some smart choices early on, it can be a very modest lift on the order of a week or two for a 90% solution, but on the other end of the spectrum, it's a lifetime of work for a team of hundreds...


Except not in the USA. To bad the rings looks nice.


Copyright isn't some axiom, but to quote wikipedia: "Copyright laws allow products of creative human activities, such as literary and artistic production, to be preferentially exploited and thus incentivized."

It's a tool to incentivse human creative expression.

Thus it's entirely sensible to consider and treat the output from computers and humans differently.

Especially when you consider large differences between computers and humans, such as how trivial it is to create perfect duplicates of computer training.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: