[-] [email protected] 57 points 2 months ago* (last edited 2 months ago)

I made some updates to the HexAtlas since I last posted:

  • Search: Nominatim Integration allows to search any place
  • Mobile UX: It's should be now easier to navigate on mobile
  • Mastodon: See posts (WIP)
  • Sessionstorage: Settings/Selections are now saved even when you refresh the browser window (until you close the tab)
  • Had to remove leftypedia.. I couldn't figure out why it was only working locally..

https://hex-atlas.netlify.app CW: Spoilertags are still not functioning

[-] [email protected] 3 points 2 months ago* (last edited 2 months ago)

Thank you for you patience and taking the time to explain. I don't have much experience with Wiki, apart as a casual reader, and appreciate you taking the time.

Editors rely on marxists.org a lot but I want to move away from them because they outright remove parts they don't like without telling the reader :(

The more you know.. Thank you.

and there is a public-facing API (though it's bonked right now)

(refer to the URL for the schema and not the displayed title, which we can change on the front-end)

Could you kindly elaborate some more?

Atm I was only able to add a simple " 📚📕 All library works about {activeAdministrativeRegion.country} on ProleWiki." to https://en.prolewiki.org/wiki/Category:Library_works_about_${activeAdministrativeRegion.country} on Top of the ProleWiki Tab.

Sometimes you might have 'about the', e.g. "the USSR".

Unfortunately I don't have solution for this atm, but looking to add user defined regions in order to lay the way to for linking to USSR, BRICS, etc

I assume the from and to parameters use the page's ID which there is no way to predict unfortunately.

Hmm ok. If there's an API that gives me a JSON response of the book (pages) I would be able to integrate it similar to the Anarchist Library or the 72T Bulletins.. The current implementation (not the Library, but the Country pages) uses the HTML response from the API (https://en.prolewiki.org/api.php?action=parse&page=germany&format=json&redirects). Is there something like this?

Also, unfortunately the HTML body has relative links and these aren't working (click on any of the wiki article links and you see what I mean). I thought I had a solution to make the links absolute by injecting the wiki base URL on Click, but i broke the sources as these are absolute links already. Not sure how to go about solving this. Do you have experience with this?

[-] [email protected] 3 points 2 months ago* (last edited 2 months ago)

Ahh sweet! Didn't know about https://en.prolewiki.org/wiki/ProleWiki:Library and I see it's also linking to marxists.org (albeit seems not as extensive yet), which I wanted to link too

in the Library: namespace, which is added before the page name in the URL

Do you know how the from/to parameters ( "Display pages at") work? Is there a way to filter by county?

https://en.prolewiki.org/wiki/Special:AllPages?from=&to=&namespace=3000&hideredirects=1

At the very least I'll be able to link to the Library, but it would be cool to filter marxists works by country also

[-] [email protected] 3 points 3 months ago

Emoji support added :)

[-] [email protected] 3 points 3 months ago

I added the paper and your comment to the issue on GitHub. Personally I don't have experience with what I takes to implement a feature like this and will definitely reach out to you when I'm ready to takle this task. Thank you for looking into this.

[-] [email protected] 4 points 3 months ago

Very good Idea! Thank you, I will add it!

[-] [email protected] 4 points 3 months ago

Is there some desire to add a way to look up a relation between two countries in the UI? Or, even more specifically, an industry in a country with an industry in another?

Yes! Ideally you'd be able to select two or more countries and see capital and commodity flows and show (imperial) relations. Not sure how to achieve that yet, but I view this as a long-term project.

Do you have experience with the math etc. involved?

[-] [email protected] 18 points 3 months ago

Hmm.. I'm mostly familiar with front-end and for most of the integrations, I've been able to leverage various APIs, where a lot of that backend-stuff is solved already (i.e. asking the server to get X Data and getting X back; like the IMF Data Tab). Downloading the spreadsheet and doing this myself, I'd have to get familiar with writing that type of code and the math first and it would take me a long time to implement. If someone would like to help doing the back-end it would be cool (please reach out). For now I feel like I still have so much left to do on the front-end of things. I'm also thinking about reaching out to the listed researchers at the bottom, once I'm ready to tackle it

[-] [email protected] 22 points 3 months ago

Cool! Unfortunately I found no way of directly linking to the country. (I also checked the network in devtools, but nothing I'm familiar with or could use) It'll have to be a generic link for now

[-] [email protected] 3 points 3 months ago* (last edited 3 months ago)

Most errors should be fixed now. I wasn't able to match these:

No match found for country: Ashmore and Cartier Islands

No match found for country: Bajo Nuevo Bank (Petrel Is.)

No match found for country: Clipperton Island

No match found for country: Coral Sea Islands

No match found for country: Northern Cyprus

No match found for country: Dhekelia Soverign Base Area

No match found for country: Indian Ocean Territories

No match found for country: Baykonur Cosmodrome

No match found for country: Siachen Glacier

No match found for country: Null Island

No match found for country: Spratly Is.

No match found for country: Scarborough Reef

No match found for country: Serranilla Bank

No match found for country: US Naval Base Guantanamo Bay

No match found for country: Akrotiri Sovereign Base Area

[-] [email protected] 52 points 3 months ago* (last edited 3 months ago)

Thank you for making a pinned post, I'll use the opportunity to make two calls:

(The other thread was at the end of it's lifecycle already)

  1. Under the Nexus > Misc tab you will find a basic integrations of:
  • World Inequality Database
  • UN Comtrade
  • International Labour Organization
  • International Energy Agency
  • World Bank
  • OECD

If there's (economic) data you'd like to see feel free to reach out. I at the very least will add linking, but will also make an effort for deeper integration at some point.

  1. In order to increase usability of the atlas please add the location to the comment body. Also please consider following: Since there's a province/territory scope, and a lot of these are empty atm you can post local news from your area also. It would be cool for comrades that would like to now what's going on locally in different parts of the world. If doxxing is a concern: create a new account.

Example:

  • You read interesting news about a certain location
  • Post the news in the format you're used to, but
  • If you use the exact wording how you find it in the atlas to "tag" (see what I mean below), you will make sure it pops up in that scope

e.g. Xinjiang, China , Eastern Asia , Asia, CN, CHN (in that exact wording; the Atlas works by using the lemmy search function to find these strings, by having it in the comment body you make them findable)

We as a community could for example also decide to use the ISO3166-alpha 3 for one type of news/post and the full nomeclature of the country/region for another type (not sure if need actually, it's just a thought/suggestion, but maybe someone has a cool/good suggestion)

Thank you :)

[-] [email protected] 9 points 3 months ago* (last edited 3 months ago)

Comrade @[email protected] suggested to add more economic data and I was able to (at least link) to various data sources. I will look for deeper integration another time: You will find these in the Nexus > Misc Tab

World Inequality Database

UN Comtrade

International Labour Organization

International Energy Agency

World Bank

OECD

Feel free to propose more suggestions (I probably repost this call in the next newsmega as mondays ususallly seem to be the days these threads get reset)

185
Introducing: HexAtlas (hex-atlas.netlify.app)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

Hello and warm greetings to my fellow news mega enjoyers and to the wider hexbear, lemmygrad and lemmy.ml community,

I've been finding myself browsing the newsmega often and was often thinking of a way that would help me contextualize the discussions and news that I'm reading. I remembered an atlas I had in school that would show the location of industries and natural ressources (and more) and decided try to recreate a digital version similar to https://atlas.cid.harvard.edu/. When I stumbled upon lemmy-js-client I found a fun way to display lemmy comments geographically, which I would like to share with you:

https://hex-atlas.netlify.app/

⚠️ Spoiler Tags are not implemented thus CWs are not hidden

Nexus Features:

  • @[email protected] Bulletins
  • Hexbear Reading List (Thank you @[email protected] for the suggestions)
  • ProleWiki (Thank you Lemmygrad for maintaining this)
  • Wikipedia/Natopedia
  • Anarchist Library

I'm open for suggestions, but would like to continuously add new features:

  • Mastodon.social (well documented)
  • Marxists.org (will be difficult)
  • ~~Moon of Alabama (looks easy)~~ (Thank you @[email protected] for pointing out the transphobia)
  • Usability and performance improvements
  • and maybe more cool features where the guiding ideas are: "IRL Victoria 3 UI" and a "cockpit for newsmega-enjoyers" (e.g. comparing regions and seeing commodity/capital flows, real-time 1% flight data, vessel data - to enjoy the ansar allah blockade, virgin chad ranking, etc.)

Basic usage:

  • You can either search for a place or click on it. You'll see various scopes: provinces/territories, countries, intermediate regions, sub regions, continent. You can click also on these to change the scope. What it actually does is send it as a search query into lemmy and you see the search results to it (I built a fancy search page). IN the Fediverse Tab you can select the instances, sort types, and other settings from lemmy. On the Nexus Tab you have a similar behaviour, just for the various modules. You'll see the wiki of whatever is selected on the map :

  • use query to search location by query e. g. brics and find discussions pertaining to the selected location.

  • the query field can also be used to find and filter content by communities that are not listed

  • on Mobile long press pictures to unblur it (not fully tested) on desktop hover with mouse

tldr: Attention [Pink]: Select an option [Purple] to reveal selected information [Yellow].

It's in a prototype stage so please keep in mind:

  • ⚠️ Spoiler Tags are not implemented thus CWs are not hidden ⚠️

  • It's mostly optimized for desktops. Sry comrades with old hardware - no optimization, yet :( @[email protected] post inspired me to look into this tho.

  • Provinces/Territories: While I was doing manual edits to some regions I realized I'm doing something very political (duh). Following this, I'm looking for solutions to implement user defined regions (if there's interest from you) e.g. #fromTheRiverToTheSea #brics #udssr #whatever Comrade @[email protected] offered help, but I have only experience with front-end and am not sure how and what to propose. All my ideas are leveraging the current state of development and might be annoying to you. If you have experience, suggestions, etc. on how to make this work, feel free to start a discussion, reach out, etc.

  • Provinces/Territories: If you want something particularly aggravating changed asap, feel free to start a discussion and vOtE! I'll update manually.

  • Countries that span two continents are only displayed as belonging to one e.g. Russia - Europe (Dataset used: https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes)

  • Right now this project is exclusive to hexbear, lemmygrad, lemmy.ml and their federated instances. I have an inner conflict: Generally, fuck intellectual property and I would like to make it foss, but this would make it available for lib/chud content as well. Should I? Help me resolve this.

  • No login implemented

Please consider this a tribute to this community, which I've been lurking and a member since the r/CTH days (nevar forget). I started web development not too long ago and am deeply inspired by dev titans among others:

@[email protected]

@[email protected]

@[email protected]

Thank you and the mods and admins for making hexbear/lemmy what it is today.

rat-salute

Enjoy your weekend :)

(After I post this I will leave the computer for a while and wont be able to really check and respond for a few hours)

Death to fascism

Death to capitalism

Death to imperialism

Trans rights are human rights

EDIT: After some consideration I decided to make the code public under the GNU AFFERO GENERAL PUBLIC LICENSE ( AGPL-3.0 license )

https://github.com/hexatlas/lemmy-atlas/

https://git.altesq.net/hex_atlas/lemmy-atlas/

view more: next ›

hex_atlas

joined 5 months ago