Moosetodon#coding

if you’re stuck at home, here are some ideas of things to do:
- ask less-able or immunocompromised folks if they need help
- check in with family and friends via phone/messaging, see how they are doing
- learn a new skill like #mending your clothes, #foraging (a little early in the northern hemisphere), #coding, #homebrewing
- read all those books you have been meaning to read
- do some cleaning, tidy up your space
- create some #art
- start a #journal
- #meditate

So I have been having a lot of fun using Spacemacs (Emacs + Vim) lately as my new IDE. Its a game changer for sure. One thing I find particularly fun is the "pretty-mode" extensions I managed to program into it (had to write my own layer that I derived from some existing code). I'll explain each aspect of pretty-mode in a second but first check out some screen shots at the bottom of this post to see what it looks like.

If anyone wants to replicate my configuration the full setup is here: git.qoto.org/freemo/pretty-spa

Pretty-git is the most functionally useful of them all. When you make a git commit it helps you format your git message using the standard format where you start with one keyword classifying the commit (such as fix, feature, refactor, etc) then a colon, then the text. It provides a list of selectable keywords and adds it to the git message. Moreover it can replace these keywords visually with descriptive icons (such as a little red bug for bug fixes). Later when you look through the git history you see these icons where the keywords should be making for a very nice visual representation.

My favorite is the pretty-code. Its a simple idea, it replaces certain keywords of phrases in code with equivelant mathematical symbols. So, for example null/nil/none will be replaced with the empty-set math symbol (a circle with a slash through it), similarlity stuff like not equals (!=) will be replace with an equals mark with a slash through it. You can fully customize what symbols are replaced and what it is replaced with. Also when you cursor over a symbol it temporarily reverts back to the keyword it replaced so you can see what it means. Searches and of course the underlying code itself (and in git) is unchanged.

pretty-shell is just a shell with some nice font-awesome fonts to make it pretty, usually informative so different icons might represent if a directory is a git repository or if it has staged changes and what not.

Finally pretty-outline. This basically just gives bullet points (useful in org-mode and note dating) some pretty icon representations rather than circles. Pure eye candy on this one.

#Emacs #Vim #Spacemacs #IDE #programming #CS #IT #coding #code

#GatsbyJS users: I'm having issues with the gatsby-source-#etsy plugin. It won't generate nodes, yet I seem to have no issues with other node-generating plugins. Tips?

More info:
spectrum.chat/gatsby-js/genera

#webdev #webdevelopment #react #javascript #100daysofcode #coding #graphql

So Gremlin Python ( Tinkerpop 3 ) does not have transaction support. So only way to get transaction like behavior is to make sure you do everything in a single database traversal.

Because I am writing an ORM / OGM model as my base that means I needed to implement something that looks like optimistic locking all my own (only works on immutable write-only graphs). Its a huge pain in the ass.

Anyway after half a day I finally figured out this is the traversal I need to resolve my optimistic lock when creating a single new node in the DB:

session.g.E().has('dirty',1).aggregate('x').fold().V().has('dirty',1).aggregate('x').choose(__.V().hasLabel('account').has("fingerprint", "DEADF00D").hasNot('dirty').count().is_(0), __.select('x').unfold().properties('dirty').drop()).iterate()

#programming #coding #Tinkerpop #tinkerpop3 #graphdb #graphtheory #python #gremlin

For todays #FollowFriday I'm going to do something a bit different. We have a lot of new users, one of the biggest surges we have seen in a while. As such a lot of new users are looking for high quality, long-standing, accounts to follow. Similarly many of the new users need some help getting attention and making new friends.

As such I am going to do this #FF in a few parts. One for old users I have mentioned in previous posts, as well as some of the new users who have been making quality posts and been active for at least a week now. Hopefully this will be more helpful.

Also a section for some bots might be useful.

I will use a persons profile description here as I dont want to misrepresent anyone.

:awesome_slide_r: New Mentions :awesome_slide_l:

@design_RG - Books, Bicycles & Cats, Life is Good. Books, #hardcover. Bikes, #Classic sport ones. Cats, any colour or size. #Aquarius with Virgo rising. House of Ravenclaw.

@Karthikdeva - Always a Student, Nano-Technologist, Bookworm?, and basically I don't know anything, so I might be asking some agonizing questions.

@_lunawinters - Just a human , living on a rock called Earth, floating in a giant space.

@VidyaKrishnan - Independent journalist, S. Asia

@Shamar

@yantrajaal - Engineer by education, teacher by profession, programmer by passion and imagineer by intention

@susi123 - வாசிப்பையும்
நேசிப்பையும்
மறந்தவள்,,,..

@Full_marx - I am a मस्त डॉन on Mastadon. I wish to build something that can be of good use to as many people as possible. Social Sciences: Propaganda Science, Social Engineering, Behavioural Science, Advertising STEM: Human-Computer Interaction Design, Web Dev, Cyber Security Noob. Multimedia: Motion Graphics, Video Production, Electronic Music Production, Abstract Film, Writing Politics: Left, Right and Center. Whichever ideology leaves the people with the most amount of Dignity, sign me up for that one.

@raining_night - I love women, food, thriller/sci-fi/slasher movies and series, astro physics, superbikes, nature and animals ❤️ not in any specific order Trying out Veganism.

@shibaprasad - Master's student. Football Fan.

@ppmanik - Believe in free speech and data privacy. Interested in physics and science in general and future of Semiconductors and related devices in particular.

:kaboom: Old mentions :kaboom:

@jump_spider - #ActuallyPsychotic <> programming autodidact and polyglot <> meditation enthusiast

@chris - Developer focusing on #WordPress, #Privacy and the #OpenWeb. Also a speaker, teacher, blogger, and pilot doing my best to make the world a better place.

@SecondJon - I'm interested in being just not civil, but excellent in interacting with others of different viewpoints in an online world where we can so viciously defend our echo chambers and be so dismissive of other perspectives. I rarely log onto the bird site of FB anymore because the interactions are unproductive about anything meaningful. I'm a #Dad, #Husband, #Christian, #Anglican, Unaffiliated #conservatarian, Software #Developer, #Coloradan, Reader of paper #books, Card and BoardGamer, #tea drinker, solving problems for co-workers and partners primarily with and integrating with the #Salesforce/SFDC platform.

@sandfox - #PHP and #Ruby developer

@cwebber - User freedom activist, ActivityPub co-editor, parenthesis enthusiast, occasional artist.

@whirli - #teacher #rugby #skeptic #freesoftware #privacy #camping #hammocks #Finland #Suomi

@pschwede - #Coding #Paradigms #GraphRewriting #YPEGIDA #choas #KzU #developer #programming #philosophy #scifi #linux #sociology #luhmann #HvF #python #java #sed #awk #cis #white #freespeech #atheism #freereligion #art #drawing #pixelart #diagrammatics #symbolism #dresden #unisex

@Rovine - Born in Hong Kong, lived in Australia, working holiday in UK. #developer #programming #music #learning #frontend #gamedev

@Absinthe - The green faerie

@mngrif

@ae - #CogSec #Researcher

@metapsyche - I am a cloud of vapor. Fragmenting into ever smaller pieces to explore ever widening spaces. Web Developer by day, Pattern Hunter at night. Thinker and Tinkerer on weekends. :)

@imvectech - RESEARCH ° COOPERATE ° MONITOR ° ADAPT. Developing and teaching to implement DITO techniques for human survival between knowledge and fate.

@canonicalbrud - #Orthodox #Christian; husband and father; #biomedical #development #engineer; #crypto tinkerer; Stephen #Talbott fan, i.e. proponent of (re-)introducing #λόγος and #τέλος into #biology and thus heal the modern rifts between #philosophy, #theology, and the natural #science/s.

@david - Value people over code. I manage tech.lgbt. WordPress Maintenance fixupfox.com. On the Internet, everyone knows I'm a dog. Follows are open both ways for me if you're nice and cool!

@Algot - Words are my friends. #ArtWithOpenSource #3D #Clipart #poetry

@Curator - Curator of art from the instance

@Erik - Privacy, plants & politics Student CybSec @ :utwente:

:doge: Bots :doge:

@arxiv_math

@arxiv_eess - Electrical Engineering

@arxiv_physics

@arxiv_cs

@arxiv_stats

@arxiv_bio

okay #coding #ComputerScience #SoftwareEngineering peeps: if I'm graduating in May, when do I need to start applying for full time positions? Also, anyone want to hire a full stack JS/Python/Rust/everything dev in #Chicago or #SanDiego?

Hey there #webdev Fediverse friends! When it comes to #frontend (or #node) #coding, what do you prefer?
ES6+ #JavaScript (aka EMCAScript) or #TypeScript?

Also, which might make you more likely to contribute code if you're interested in the project?

#boostsWelcome

[ ] I love me that ES6+
[ ] Gotta use TypeScript
[ ] It depends on the project
[ ] I prefer CoffeeScript!

#coding #programming #whatiscoding Do you wish to gain thorough knowledge on the topic of computer coding and its numerous benefits? Continue to our blog for a quick lesson on what is coding see: goodcore.co.uk/blog/what-is-co

#toyprogrammingchallenge #python #lisp #c #c++ #cpp #coding #programming

Ready for the next challenge?

"5 Guys and a Bunch of Coconuts"

Here is a link to the text description of the problem.

git.qoto.org/Absinthe/coconuts

That link is to the repo, and my solution is in it as well.