social.ridetrans.it is one of the many independent Mastodon servers you can use to participate in the fediverse.
We are organizers, transit riders, renters, union members, tech workers, musicians, climate activists; we are passionate about mobility justice, a right to housing, and intersectional communities.

Administered by:

Server stats:

59
active users

#javascript

13 posts12 participants0 posts today

Been updating my personal Mastodon tooling to download and convert my bookmarked toots. Here's how little code is needed to download a single message and convert its HTML content into Markdown, all using these #ThingUmbrella packages:

- thi.ng/hiccup: Interop data format (i.e. just nested JS arrays) to encode hierarchical documents
- thi.ng/hiccup-html-parse: Parses HTML into hiccup format
- thi.ng/hiccup-markdown: Serialize hiccup to Markdown (also includes a Markdown parser to hiccup, but not used here)
- thi.ng/zipper: Functional tree editing, manipulation & navigation (here to clean/transform the parsed HTML document)

Edit: Gist version of this example code:
gist.github.com/postspectacula

Note to Web builders: One of the tiny things I did while wiring Pagefind into the blog was arrange, when you pop open the search field, that that the input has focus so you can start typing. There are plenty of sites I visit where the obvious thing you want to do is type into a search field, but you have to click first, which is just wrong. It’s not hard with basic JavaScript and you don’t need jQuery or anything.

Hey hive mind - I'm keen to start a PhD and move toward academia, and am thinking about potential research topics. I'm an experienced structural #engineer and want to transition toward #sustainability as much as I can. But I'm not sure what that means for viable #research areas...

I have particular expertise in mechanics of #materials, software development ( #Python and #JavaScript), and cold-formed steel / #buckling of thin-walled structures.

Anyone out there have any suggestions for specific topics or general directions?

Continued thread

To create the map, I adapted a browser-based #JavaScript app that I coded back in February: en.osm.town/@seav/113963871173

Using the #MediaWiki API, the app extracts destination airports from Changi’s #Wikipedia article, then queries the coordinates and IATA code of those airports from #Wikidata. The app finally renders an initial SVG image using #NaturalEarth as the world base map.

I then used #Inkscape to manually adjust labels to avoid overlaps and then #GIMP for final touches. 🧵 2/2

An azimuthal world map centered on Seattle–Tacoma International Airport (SEA) with oceans and lakes in dark gray, landmasses in a lighter shade of gray, and orange lines connecting Seattle with other airports that have nonstop flights and labeled with their IATA codes in yellow.
OSM Town | Mapstodon for OpenStreetMapEugene Alvin Villar 🇵🇭 (@seav@en.osm.town)Attached: 1 image I’m experimenting generating airport route maps where I take the passenger destinations served by an airport from the airport’s #Wikipedia article, extract the coordinates from #Wikidata, and then render them on a custom logarithmic azimuthal map. #avgeek #aviation #airports #maps #cartography #gischat #Seattle #Tacoma

Anyone aware of #Javascript jobs at a not evil/impactful company?

I’ve got 15 years of experience, fluent in React and NodeJS with Express. Experience with Postgres, SQLite and NoSQL databases. Got my last company Cyber Essentials Certified. Im proficient in dev ops and sys admin. Have a small (but growing!) portfolio of FOSS work.

Have an extensive background in teaching programming too, so can mentor juniors. I LOVE mentoring. Have an academic background too. #GetFediHired boosts welcome 💖