Best resource to learn Metal API and graphics - graphics

I am an API level amateur, I have an idea of the GFX pipeline but nothing to thorough
I don't want to start with OpenGL and want to learn via Metal with Objective-C and not swift
Are you aware of any book/video tutorials or something that teaches you Metal ?
More interested to learn the 3D side than compute
Also I am looking for something that I can run from command line, I have seen Apple provided Metal projects that run on xcode
Any help, guidance, etc is appreciated.

This website is awesome:
https://metalbyexample.com/
You can run Metal in playground with Swift:
http://metalkit.org/2016/07/31/metal-performance-shaders-for-the-ipad-playground.html

Related

STM MP157C DK2 Is Node.js possible?

Currently i am running a Raspberry PI and STM32 in a project and i was looking into the MP1 to replace it with. As its an easier setup.
I am running a node.js application on the raspberry and I am trying to get that application to run on the MP1. I have tried to follow the tutorials from stm32 but doesnt help that much. Has anyone done anything like this? I know the microcontroller is new as it has been released in Oktober.
I know its a broad question. But anything helps as i cant find a lot about it.
Thanks
If you run an embedded OS like Embedded Linux or RTOS on the ARM you can run node.js and see https://elinux.org/images/1/14/Karagoz-nodejs-presentation_0.pdfhttps://stackoverflow.com/questions/44753321/is-it-possible-to-run-node-js-on-an-rtos. On a completely bare metal machine it may also be possible however this is very effortful to implement a JavaScript runtime like it was done for the ESP32-WROVER module (https://www.neonious.com/lowjs/)
You can implement websockets also in C/C++ that can run on bare metal ARM see https://github.com/zaphoyd/websocketpp

How can I make a application launcher from scratch in xorg

So in linux there are all kinds of menus and application launchers, but no one of them suits my needs.
Please, let me explain you what I want to do.
I student in a school now so we have fancy dreams and all those never getting involved ideas, but luckily I try to realize some of them.
I want to build an open source gaming platform, a video game console with a linux distro that is based on debian stable liquorix kernel and all that kind of stuff, but it needs its custom DE and something different from the PC interface as it will be controlled by a gamepad and will be a video game console, people must think it is not like a PC, people must see the cool interface and kind of realize that it is different.
The problem is:
All applications menus from other Desktop environments are a bit too windows-like which does not provide a video game console experience.
What do I need for that? How can I read a source code from other applications menus? How can I make something rounded in xorg, as I want to make it a cs:go-like rounded menu (CS GO is just for a reference, I don't play that!)?

How to edit and run python scripts after installing an API in Raspbian?

I have been trying to follow the instructions on Click here in order to get my Raspberry Pi and Google Assistant to play music. I am a complete newby to all this so when each mouse click instruction isn't explicitly stated, I am lost.
So far in the instructions I am up to the Quickstart section. This is where I am lost. I have no idea where the scripts are they are talking about. Once I know where they are, do I just add my details into the functions and all of a sudden the Raspberry Pi will be able to play songs from my Google Music account?
Can someone please give me some advise on what I need to do so I am looking at the same information they are talking about in the Quickstart section?
I have no idea where the scripts are they are talking about.
These scripts don't exist yet. The API is an application program interface. It allows developers to interact with other programs. This API documentation assumes you know Python, and is introducing you to their API.
That being said, if you're not interested in learning python, I don't suggest you pursue this. Because on its' own, this library only gives you the power / option to control Google Play Music. It won't, like you said, suddenly allow the RPi to play songs. You'll need to write a script that awaits a command from the RPi, then plays the song.

Xenomai resources

I have just started to familiarize myself with Linux, and I was wondering if you guys could help me find good resources (easy enough to understand) with instructions on running Xenomai with Linux.
Thanks
How about this one? It's up-to-date course material for a course called Design of Embedded Systems (DES) by a Dutch University and I found it always helpful to get started (e.g. by following the exercises). ;)

What's a good source to learn about QEMU?

What book or website would you recommend to learn about QEMU? I'd like to see some usage examples as well as how to use the APIs.
Best Resources:
Main QEMU Usage Documentation
Qemu Man Page - Invaluable resource when working with qemu.
Quick Start Guide - Slightly ubuntu/debian specific. Covers KVM.
Qemu Networking Guide - Great resource, super useful.
Have fun qemu's a great tool.
Some additional resources to understand and get started with the source code:
http://vmsplice.net/~stefan/qemu-code-overview.pdf
https://wiki.aalto.fi/download/attachments/41747647/qemu.pdf
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/bellard/bellard.pdf
http://www.ece.cmu.edu/~ee349/f-2012/lab2/qemu.pdf
http://events.linuxfoundation.org/sites/events/files/slides/cloudopen-liguori.pdf
Detailed technical info:
http://www.csd.uoc.gr/~hy428/reading/qemu-internals-slides-may6-2014.pdf
http://lists.gnu.org/archive/html/qemu-devel/2011-04/pdfhC5rVdz7U8.pdf
I was not able to find the other chapters
http://connect.ed-diamond.com/GNU-Linux-Magazine/GLMF-147/Qemu-Visite-au-caeur-de-l-emulateur (French only unfortunately)

Resources