Yemen Refutes Claims of Embassy Sale in Somalia as Baseless #Somalia #WestAfrica #Baseless #claims #embassy #refutes #sale #Somalia #Yemen
https://tinyurl.com/2auft4x7
Yemen Refutes Claims of Embassy Sale in Somalia as Baseless #Somalia #WestAfrica #Baseless #claims #embassy #refutes #sale #Somalia #Yemen
https://tinyurl.com/2auft4x7
FUCKING A!
I have a #Rust programme on my #RaspberryPi #PicoW that reads data (an u16) from a sensor and you can then get that data from a web request. HUGE ACHIEVEMENT.
It has taken me like… a large chunk of three days… To get to this point from having code that reads the sensor and serves web requests. I feel like a moron. But hey, I've only been coding Rust for ~5 days. Probably taking the hard path by going straight into embedded with no::std…
It has taken so many attempts to get to grips with scopes, mutables, Rust's bloody intense syntax, etc, etc… but in the end I've worked out a way to pass a u16 to both spawned workers via some sort of a Mutex. I think I might have an extra level of indirection I don't need… but fuck it, I'll take that I can do this at all as a win.
Now I can take it outside (i.e. not USB-tethered) and see what it reads as an outdoor CO2 PPM measurement.
(I could have had this working in C++ in… minutes, but no, I'm a masochist.)
RIGHT. Fucksake! Arghhh...
I have a solution to this, I do not like my solution to this, but it is a solution...
I reverted my project to use embassy
from GitHub again.
I have then grabbed picoserve
from GitHub and I have edited the relevant Cargo.toml
to use the embassy
packages from GitHub.
An in my project Cargo.toml
I have referenced my downloaded and modified picoserve
instead of using Crates.io... because no matter what I try I cannot make this work using Crates.io packages.
I have now successfully compiled the project modified to use picoserve
, loaded it onto the #PicoW, and it runs and serves a "Hello World" via HTTP.
So, another #Rust #embassy #PicoW question.
I started out with embassy
examples and had a working thing that compiled and ran on a Pico W.
But then I wanted to use picoserve
and this ran me into some dumb looking dependency problems.
I fixed that by following advice to remove the git
entries from my Cargo.toml
.
However I then have a linker error, one that can be fixed by removing build.rs
- but then I get a binary that doesn't work on the Pico W: "entry point is not in mapped part of file"
I think that this is because build.rs
was adding these linker arguments: -C link-arg=--nmagic -C link-arg=-Tlink.x -C link-arg=-Tlink-rp.x
.
Any one of these being there causes the linker error. I assume something is missing from what needs to be linked in, thus the "undefined symbol" errors. But WHY is this different with the only difference being getting the same versions of packages from git vs crates?!
Edit: hacked a solution, see down-thread
https://www.europesays.com/1908435/ China and Austria are in the same boat #600 #austria #austrian #Beijing #China #counsellor #embassy #globally #Interview #Nachrichten #Österreich #Partners
As #Trump suspends US aid to Ukraine, Stop Trump Coalition is supporting this emergency Ukraine Solidarity demonstration outside the US Embassy tomorrow (Wed)
I tell you that story, so I can tell you this one. I have never felt compelled to contact the government of another country in regards to a political situation.
I felt compelled to write the #Ukrainian Embassy and President #Zelensky to apologize for the way he was treated.
I wanted to say that most Americans support #Ukraine and that Trump doesn't represent most Americans. He represents the same #oligarchs that Ukraine is currently fighting.
If you feel like contacting the Ukraine US #embassy in DC, their email is:
emb_us@mfa.gov.ua
I also have postal addresses and contact emails for Zelensky and ministries and whatnot inside Ukraine, but they've got enough to manage, so I think the embassy is the best contact point.
In case anyone else was just cringing inside and had to do something about it.
(2/2)
And now Ecuador busted into Mexico's embassy to grab one of their own dudes seeking asylum.
What.
Is.
Happening?