"I hear you seek monster-slayers?"
"Yes. There's this centuries-old hoarder of gold, an amoral scourge of the people, with vast power, who even the king dares not challenge directly."
"A dragon?"
"A corporation."
#MicroFiction #TootFic #SmallStories

Things I found out while learning : Even Rust may get ugly slow
if you to_vec() a really long array inside a really long for .ither();
just do it before the loop ๐Ÿง.

Show thread

Things I found out while learning ๐Ÿฆ€ : Just r.t.f.m.
again, one chapter per week.
You may discover forgotten but usefull features of .

Show thread

Odd things I found out while learning ๐Ÿฆ€ :
This will NOT build:
^ expected expression
error: expected expression, found `+`
In my source code, I just wanted to express: x is inverted, y is not. But I can't.
"+y_meter" is not an expression ?!?!? It is!
Can I write an issue? Against what?

Show thread

๐Ÿฆ€ Philosophical?: Can I load a file/texture/OSM-tile/Game-level while the render cycle keeps running?
Yes, I can start a file loading in the render cycle. And I get a call-back. Inside it, I can println! and process the loaded data.
But how to get that data/result back in the render cycle main code? I even can't set a bool, declared in the main.rs ๐Ÿ˜ฉ
Preferred, I would start the load in my OsmTile::new(x,y) struct/class and put the result in an Option struct variable.


for index in 0..shape_merges.len() {
let shape_merge = & mut shape_merges[index];

for shape_merge in shape_merges.iter() {

Should I ask questions at Stack Overflow or is ther a forum / place?

Odd things I found out while learning ๐Ÿฆ€ :
for i in 0..9 { println!("count {}",i) }
will NOT count form 0 to 9 but form 0 to 8! ๐Ÿ˜ฒ
(Not much mentioned in the doc)
It is not "to", its "in" but not "inside" as 1 to 8.
May be it's "into"? The usually nerdy computing thing?
It is very useful anyway because you can write: 0..list.len()

Show thread

Odd things I found out while learning :
Using if, the "then" and else may have a "return value". Nice:
If you create an object different in both branches, you return one, usable afterwards.

Show thread

Organic Maps an Android and iOS offline maps app based on OpenStreetMap

It looks really good and has 0 trackers according to @exodus Love to have more alternatives to recommend :blobcat:

#privacy #openstreetmap #ios #android


Matrix vs. XMPP


I'm glad someone wrote this article, Matrix vs. XMPP was kind of a controversial topic and many people were saying different things about it. This Article cleared most of my doubts regarding it, like which protocol is lightweight ? which is more secure & privacy friendly ? which of those is easier to use ? etc.

Odd things I found out while learning :
main.rs | lib.rs are special: 'mod' all the sources you need in your module there.
And 'use' all sources you intend to use where you intend to use them.

Show thread

While using and learning ๐Ÿฆ€ I experience errors and troubles.
But I never got lost, desperate or angry (as I am used to).
I always got help, by compiler hints, by documentation with examples
and most important, by the community.

Show thread

Odd things I found out while learning :
You may have multiple struct/class "constructors", not by shuffling the parameters.
You may use "new" and any other name! Because Rust class functionallity is barely "hidden" in the code. Pusch of the self is visible but by calling a method.

Show thread

Odd things I found out while learning :
The last expression in a function
is the return value;
and must not end with a semikolon. ๐Ÿคช

Do you want to Ask the Foundation Board Anything? We're running a panel Q&A discussion at State of the Map (@SotM@twitter.com) in a few weeks.
More details here (& how to ask a Q):

Welcome To My Garden are organizing their โ€œSlow Travel Mini Festivalโ€ from 3 to 29 June with online conferences, like:
- The 1001 ways of slow travelling
- Collect data and improve maps while slow travelling: Introduction to
- Create your own itinerary: practical tips & tools
- Opportunities of world's biggest encyclopedia for slow travellers:

Tickets are at a small fee to support the project.


Show thread

Checking with and / for a project: Lots of hiccups to me as a newbie. Any help would be appreciated.
Like: How to debug (with )

Show older

2x๐Ÿฆ ๐Ÿ•บ -karlos- ๐Ÿ—บ's choices:

En OSM Town | Mapstodon for OpenStreetMap

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!