this post was submitted on 23 Mar 2024
207 points (100.0% liked)

news

23649 readers
560 users here now

Welcome to c/news! Please read the Hexbear Code of Conduct and remember... we're all comrades here.

Rules:

-- PLEASE KEEP POST TITLES INFORMATIVE --

-- Overly editorialized titles, particularly if they link to opinion pieces, may get your post removed. --

-- All posts must include a link to their source. Screenshots are fine IF you include the link in the post body. --

-- If you are citing a twitter post as news please include not just the twitter.com in your links but also nitter.net (or another Nitter instance). There is also a Firefox extension that can redirect Twitter links to a Nitter instance: https://addons.mozilla.org/en-US/firefox/addon/libredirect/ or archive them as you would any other reactionary source using e.g. https://archive.today/ . Twitter screenshots still need to be sourced or they will be removed --

-- Mass tagging comm moderators across multiple posts like a broken markov chain bot will result in a comm ban--

-- Repeated consecutive posting of reactionary sources, fake news, misleading / outdated news, false alarms over ghoul deaths, and/or shitposts will result in a comm ban.--

-- Neglecting to use content warnings or NSFW when dealing with disturbing content will be removed until in compliance. Users who are consecutively reported due to failing to use content warnings or NSFW tags when commenting on or posting disturbing content will result in the user being banned. --

-- Using April 1st as an excuse to post fake headlines, like the resurrection of Kissinger while he is still fortunately dead, will result in the poster being thrown in the gamer gulag and be sentenced to play and beat trashy mobile games like 'Raid: Shadow Legends' in order to be rehabilitated back into general society. --

founded 4 years ago
MODERATORS
207
Introducing: HexAtlas (hex-atlas.netlify.app)
submitted 9 months ago* (last edited 9 months ago) by hex_atlas@hexbear.net to c/news@hexbear.net
 

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:

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 @someone@hexbear.net 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 :( @kota@hexbear.net 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 @SleeplessOne1917@lemmy.ml 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:

@nutomic@lemmy.ml

@dessalines@lemmy.ml

@SleeplessOne1917@lemmy.ml

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/

top 50 comments
sorted by: hot top controversial new old
[–] SeventyTwoTrillion@hexbear.net 39 points 9 months ago* (last edited 9 months ago) (2 children)

sorry for the semi-late response, been a little distracted over the last few days, but:

holy shit

[–] hex_atlas@hexbear.net 21 points 9 months ago* (last edited 9 months ago)

I am a huge fan of your bulletins! If you're interested we can make them even integrate even better (e.g. the reading list, or if some countries are not showing).

Thank you for doing the bulletin posts! rat-salute

[–] Pluto@hexbear.net 7 points 9 months ago
[–] someone@hexbear.net 31 points 9 months ago (2 children)

Moon of Alabama (looks easy)

I became a lot less enamoured with Moon of Alabama after they published a their latest transphobic screed.

[–] hex_atlas@hexbear.net 21 points 9 months ago

Thank you for bringing this to my attention. It won't be implemented.

load more comments (1 replies)
[–] LesbianLiberty@hexbear.net 24 points 9 months ago (2 children)

Maybe I'm really dumb but... how do I use this

[–] oscardejarjayes@hexbear.net 22 points 9 months ago

click on a place, and stuff related to it will pop up on the sidebar. If you want to know about the West Bank from an anarchist perspective, click on the west bank, click on "Nexus", then click on "anarchist library".

[–] hex_atlas@hexbear.net 13 points 9 months ago (8 children)

Thank you @oscardejarjayes@hexbear.net!

To elaborate some more: 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 whatevery is selected on the map :)

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

[–] LesbianLiberty@hexbear.net 10 points 9 months ago (1 children)

This is awesome! Thank you so much! You said there's no git repo (I am in favor of Open Sourcing such a neat project tbqh) so I guess I can only report a bug here:

On reloading the page, if you go east to look at the Americas you will find that no countries in the Americas will be selectable; in addition to the pacific islands I tested (like Kiribati), but if you travel west from the starting position to see the Americas then you will be able to select Americas Countries; but you still can't select Kiribati. I know this is an edge case and solvable on the user end by just not doing that (and also not investigating Pacific Island nations west of Hawaii) but I figured I'd mention it if you didn't already have that down.

[–] hex_atlas@hexbear.net 8 points 9 months ago

This is because the map tiles repeat infinitely, but the clickable layer doesn't. Unfortunately I haven't found a good solution to this yet :(

I am in favor of Open Sourcing such a neat project tbqh

Yeah I tend toward that too. Once I stall with development or know I won't be able to continue I will anyway at the latest and will make a post.

load more comments (7 replies)
[–] nurjahreszeiten@hexbear.net 20 points 9 months ago (2 children)

Very cool, as an GIS dev I like what u did here.

I personally dont like the overview map, i dont think thats really needed and if, than maybe smaller and without any labels (u can use positron from CartoDB for that or just an generalise line layer for coastlines and countries) and down to the left of the screen. Also the generalisation of the polygon layer has some effects that I dont like at Zoom level about 7-1, maybe just make them clickable but invisible at this zoom.

I dont like the topo tile map as default, i would use Esri standard or openstreetmaps or Positron with labels, it is less overwhelming.

And a Idea that I think is really cool would be a point layer with pins of places that someone recently wrote something about on hexbear or lemygrad, maybe the last 24h. That way we would see at the first sight where is something big going on.

Hope that what I wrote was helpful. Thank u for ur great work.

[–] hex_atlas@hexbear.net 16 points 9 months ago (1 children)

I didn't know GIS development is a thing and I will have to look a lot more into it. Looks like I've been reinventing the wheel. It's the first time I worked with maps and was just screwing around 😅

I personally dont like the overview map, i dont think thats really needed and if, than maybe smaller and without any labels

Do you mean the minimap in the corner or the entire map?

positron from CartoDB

I gave it a quick look and I probably should've used this from the get go. I will see how I can use this in this project (It's written in react-ts)

Zoom level about 7-1, maybe just make them clickable but invisible at this zoom

Thank you I will try to solve this!

Would use Esri standard or openstreetmaps or Positron with labels, it is less overwhelming.

It was a purely aestehtic choice (like that cloud layer that disappears when you zoom in) lol I updated the default to be OpenStreetMap

And a Idea that I think is really cool would be a point layer with pins of places that someone recently wrote something about on hexbear or lemygrad, maybe the last 24h. That way we would see at the first sight where is something big going on.

I have an Issue open for "Active Regions". I actually want the map to also auto focus on there and to be able to see a weighting of the entire map based on the amount of comments/posts. I'm not sure on how to achieve this, but could be if I receive amount of search results back from the lemmy-client-js api. e.g. Gaza Strip - x amount of comments and compare it with other regions

Hope that what I wrote was helpful. Thank u for ur great work.

Thank you it is! :)

[–] nurjahreszeiten@hexbear.net 12 points 9 months ago

Yeah sorry I ment the minimap. Ur dedication and enthusiasm is really inspiring, honestly u are so cool. <3

[–] SpiderFarmer@hexbear.net 13 points 9 months ago (1 children)

When I graduated, GIS wasn't as mainstream. Couldn't find a job in the field and gave up. Years later, its fucking everywhere.

[–] nurjahreszeiten@hexbear.net 12 points 9 months ago

Yeah I got extremely lucky, where I live most of us where fished out of the university before we could even graduate.

[–] GalaxyBrain@hexbear.net 19 points 9 months ago* (last edited 9 months ago) (2 children)

kelly Hexbear Atlas Shrugged

This is genuinely cool as hell and could make for a valuable resource.

load more comments (2 replies)
[–] hello_hello@hexbear.net 18 points 9 months ago* (last edited 9 months ago) (2 children)

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.

I don't see how that would affect us. If anything it would help expose the incoherent lib worldview of FUBAR instances like beehaw and dot world and only sharpen the differences between leftist instances and rightist instances. I'd recommend releasing the project under the Affero GNU Public License Version 3.0 or later (AGPL3.0+) and only advertise it to leftist instances, chuds don't give a shit.

Most fash don't want their users to see a world map, it's all ideology to them.

EDIT: Also if you're going to be hosting the source code on a public (not self-hosted) git forge, please choose a libre software (or at least aligned with our ideals) friendly hoster like Codeberg, notabug, source hut, GitLab etc. Please do not host this on GitHub if you can.

[–] xj9@hexbear.net 11 points 9 months ago (1 children)

Afaik its also technically acceptable to make source availability contingent on having an account or filling out a form, it doesn't have to be trivially accessible.

[–] hello_hello@hexbear.net 10 points 9 months ago* (last edited 9 months ago) (3 children)

That's also correct, under the GPL and assorted copyleft licenses you're not obligated to distribute/publish the source code to anyone, only that whoever you distribute the program to is obligated to the same freedoms you have (including access to the source and publishing it themselves). The goal of a copyleft license is to promote transparency from all parties.

I mentioned git forges since that gives way to bug/issue trackers and contributions as well as publishing the source code under a FOSS license, it would also allow the project to be branded as explicitly leftist (similar to how the lemmy devs being MLs caused a rift in the crypto-fash instances even though lemmy dot ml libbed itself to appeal to more reddit refugees, chuds wouldn't trust us).

load more comments (3 replies)
load more comments (1 replies)
[–] Yor@hexbear.net 18 points 9 months ago

This is so cool! gold-communist

[–] Zuzak@hexbear.net 17 points 9 months ago

Wow! This is really cool, thanks for setting this up!

[–] thelastaxolotl@hexbear.net 17 points 9 months ago (3 children)

This is really cool @hex_atlas@hexbear.net

for a suggestion you could add bannedthought.net its a collection of revolutionary publications and its organized by country

[–] hello_hello@hexbear.net 10 points 9 months ago* (last edited 9 months ago) (1 children)

I don't know, they have some dicey takes like having a section titled "Contemporary Capitalist Imperialist China" which seems very ultra and their presentation gives me Moon of Alabama vibes of old boomers. I can't speak any more than that so feel free to correct me or add on.

[–] thelastaxolotl@hexbear.net 10 points 9 months ago (1 children)

the presentation looks like MoA because they both go for the early 00 web page look, but MoA is a blog about news and Bannedthought its just an archive of publications made by different communist orgs and authors like marxists.org as for their ultra its because they are mostly a maoist site they have many docs on countries i personally think anarchist or ML dont focus much on like Turkey and India

load more comments (1 replies)
load more comments (2 replies)
[–] Parsani@hexbear.net 17 points 9 months ago* (last edited 9 months ago) (3 children)

This is very cool!

Being able to pull in more economic data would be amazing.

[–] hex_atlas@hexbear.net 8 points 9 months ago

Right now I only managed to add IMF data as a proof of concept (There's a bunch of indicators to choose from). There's a lot more datasets that I would like to be able to see on there and the ability to compare countries/regions. Ideally we could visualize capital and commodity flows between two selections

load more comments (2 replies)
[–] YearOfTheCommieDesktop@hexbear.net 16 points 9 months ago* (last edited 9 months ago)
[–] hex_atlas@hexbear.net 15 points 9 months ago* (last edited 9 months ago)

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/

Thank you for your input:

@hello_hello@hexbear.net

@kota@hexbear.net

@iByteABit@hexbear.net

[–] TeddyKila@hexbear.net 15 points 9 months ago (1 children)
load more comments (1 replies)
[–] chay@lemmygrad.ml 14 points 9 months ago (5 children)

This is great! If you want to move off netlify, I could host it

[–] hex_atlas@hexbear.net 15 points 9 months ago (1 children)

Yes! Netlify was just something I used to get it quickly on the web. I believe @TheCaconym@hexbear.net is checking the external modules and would add it to atlas.hexbear.net (not sure if they meant to host it as well or just add it to the domain). I'll give you access to the github repo. Will thenetlify serverless functions have to be rewritten?

[–] chay@lemmygrad.ml 15 points 9 months ago

Ah, if it will be hosted under the hexbear domain that would be nice

[–] xj9@hexbear.net 9 points 9 months ago (3 children)

I'm not fully ready to move on this, but it would be cool to have a cooperative or federation cloud like service operated by indie tech people that are aligned with hexbear and shit

I have a lot of shit going on rn, but at some point I'll post a more fleshed out proposal ^^

load more comments (3 replies)
load more comments (3 replies)
[–] wheresmysurplusvalue@hexbear.net 14 points 9 months ago (1 children)

This looks cool! Since I'm a dumbass, can you help me understand what I'm looking at? How does a post/comment get associated with a region? Is it a text based analysis of the post that picks out keywords?

Another thought, would it be feasible to show a timeline view to show which regions are "hot" at the moment and over time? I imagine in 2022 that Ukraine would light up (no pun intended), and in 2024 so would Gaza. That would be kind of cool to see.

[–] hex_atlas@hexbear.net 17 points 9 months ago (1 children)

How does a post/comment get associated with a region? Is it a text based analysis of the post that picks out keywords?

When you click on a region, and depending on the regionscope (country, province, contintent, etc.) the string is passed to the lemmy-client-js search function (e.g. west asia, egypt, california). The posts/comments that pop up are just the search results on the string. At the very bottom of the lemmy integration you find the link to the search page and how the query works. I'm afraid it's just a fancy search page that is leveraging all fields you see here https://hexbear.net/search :)

Another thought, would it be feasible to show a timeline view to show which regions are "hot" at the moment and over time? I imagine in 2022 that Ukraine would light up (no pun intended), and in 2024 so would Gaza. That would be kind of cool to see.

That's a great Idea! Not sure how to be able to implement it. Lemmy-client-js would probably need to be able to take fromDate and toDate as a parameter on the search function if I understand your idea correctly.

[–] wheresmysurplusvalue@hexbear.net 14 points 9 months ago

Ahh, ok, now I understand, it's like a frontend for the search page where the map is your search input. Makes total sense now. And also probably means that what I suggested can't be reasonably done like this. Probably works better taking an offline data dump and running some big data analysis over all the posts.

[–] Frank@hexbear.net 12 points 9 months ago

This is extremely cool. Bravo, comrade!

[–] GenderIsOpSec@hexbear.net 12 points 9 months ago
[–] RedArcher@hexbear.net 12 points 9 months ago (1 children)

It should also include Leftypedia in addition to ProleWiki. The latter is much more sectarian and tendency-based, whereas Leftypedia is left-unity.

load more comments (1 replies)
[–] ziggurter@hexbear.net 11 points 9 months ago (3 children)

Nice!

What's the best place to report bugs?

If I click on HaDarom, Palestine, the window that gives a choice of scope (province/territory, country, etc.) has "HaDarom" at the top, "Palestine" below it, and then a bunch of selectable blank lines below those. If I click on one of the blank lines, it turns the whole page into just a blank background. The only way of continuing seems to be to refresh the whole page.

[–] hex_atlas@hexbear.net 8 points 9 months ago

It's probably because I manually edited Israel to be Palestine and it screwed with the file 😅 Thank you for reporting it I'll be able to fix it later this week. Feel free to add issues to https://github.com/hexatlas/lemmy-atlas/ if you find more

load more comments (2 replies)
[–] Aquilae@hexbear.net 10 points 9 months ago
[–] NephewAlphaBravo@hexbear.net 10 points 9 months ago (1 children)

oh this is cool as hell, nice workstill sane, hexile?

load more comments (1 replies)
[–] Pluto@hexbear.net 10 points 9 months ago (2 children)

Hey, could you make it so that the words of your query or focus-item are highlighted in the text that's brought up?

load more comments (2 replies)
[–] iByteABit@hexbear.net 9 points 9 months ago (1 children)

That's sick dude, nice work! I'd be interested to contribute if I have time, a link to Github on the app would be cool if you decide to open source it

load more comments (1 replies)
[–] Pluto@hexbear.net 8 points 9 months ago

Will you include the dwarf planet Pluto though?!

[–] Pluto@hexbear.net 8 points 9 months ago (1 children)

Do you self-host this website?

It's best you do that, I think.

[–] hex_atlas@hexbear.net 10 points 9 months ago (1 children)

Not at the moment. It's on netlify, but am looking for ways to move off of it. I reached out to the admin/devs also @chay@lemmygrad.ml made an offer

load more comments (1 replies)
[–] xj9@hexbear.net 7 points 9 months ago (2 children)

Hey if you need a software developer to contribute I'd be happy to lend a hand. I'm like senior level and I've used a bunch of different tech so lmk.

load more comments (2 replies)
load more comments
view more: next ›