I really want to code more open-source Haskell but i just cant justify the lack in contribution that would result in....
This multibimap was a really fun algorithm to implement in Haskell:
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
Good morning everyone. I went to bed last night with a breakthrough. Finally got python's Goblin module working on the Janus GraphDB just moments before bed.
I'm super excited because that means the full tech stack is in place. full docker-compose environment, full integration tests. Everything I need for a perfect environment to start developing this project for real now!
Anyone around here any good with #c or #c++ ? I have an issue I cant resolve...
https://stackoverflow.com/questions/58985342/cross-compile-on-linux-for-windows-wont-output-dll-file
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.
New Mentions
@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
@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.
Old mentions ![]()
@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@octodon.social - 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
@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 @ ![]()
Bots ![]()
@arxiv_eess - Electrical Engineering
So I'm trying to consider what framework to use for documentation at CleverThis (first document ill need to convert is the Spec for the concurrency I'm designing). These are the options I'm playing with and considering. Which do you like most, leave comments with suggestions and opinions.
#w3c #specification #standards #programming #software #cs #ComputerScience
Which program language would most excite you to want to contribute to an open-source project, all else being equal?
#programming #software #softwareengineering #ruby #haskell #java #python #science
This was a really fun programming challenge originally proposed by @Absinthe I want to paste it here, along with my solution, so everyone who is interested can check it out.
Here is the link to his original post: https://qoto.org/@Absinthe/102895801091007015
#toyprogrammingchallenge
Another Freebie...
This problem was asked by Facebook.
Given the mapping a = 1, b = 2, ... z = 26, and an encoded message, count the number of ways it can be decoded.
For example, the message '111' would give 3, since it could be decoded as 'aaa', 'ka', and 'ak'.
You can assume that the messages are decodable. For example, '001' is not allowed.
Here is the link to my solution: https://qoto.org/@freemo/102898629821739556
My solution. This should be a somewhat space-optimized solution in ruby based off the modified concept of a Trie.
https://git.qoto.org/snippets/4
If i made this into a Radix Trie by compressing nodes with single children down I could reduce this further.
But since it does work I thought I'd share it as is. I'll update everyone if i decide to finish optimizing this particular solution.
It does however do a fairly decent job at compressing the tree by making sure no subtree is a duplicate of any other part of the tree (a node of any specific length/id will be the only node with that length.
For clarity I attached a picture from my notes of what the Trie would look like for the encoded string "12345" where the value inside each circle/node is the "length" value of that node, and the value attached to an arrow/vector/edge is the "chunk" associated with that link. The end result is any path from the minimum node (0) to the maximum node (5). This diagram does not include incomplete paths which my program does right now.
Incomplete paths can also be trimmed to further reduce the space. But since incomplete paths each add only a single leaf node to the tree, and might be useful for various use cases I decided to keep it.
In case anyone is interested here is a link to a very difficult logic puzzle that anyone without math skills can solve (it is easy to understand though). I also include the answer with a CW for those who want to skip right to the answer.
Question: https://qoto.org/@freemo/102671555468240192
Answer: https://qoto.org/@freemo/102766450134868659
#riddle #math #maths #mathematics #puzzle #logic #logicpuzzle #science #programming #computerscience
The #QOTO Discourse server now has support for rendering Latex style psuedocode in posts.
Check out this post I just made explaining an algorithm I invented some years back. It includes the java code, psuedocode, and full text explanation.
I will do a seperate post soon explaining how to use the psuedocode in posts.
https://discourse.qoto.org/t/hyperassociative-map-explanation/43
#Programming #Algorithms #discourse #science #ComputerEngineering #CS #ComputerScience
So far on #QOTO we have brought the following services up, I want to know what you want to see next. All of these services are free and open to the public for open-source and collaborative non-commercial ventures.
Here is what we have up so far:
Modified #mastodon server - https://qoto.org
#NextCloud server - https://cloud.qoto.org
GitLab server - https://git.qoto.org
Servers we intend to bring up:
Let me know which of the above you'd like to see next. Also if you have a suggestion of a service we didnt list let me know and we might just host it for you if it would be useful for others.
#OSS #OpenSource #Programming #Software #SoftwareEngineering #Development #EE #electrical #electricalengineering #STEM #Science #FreeSoftware
#QOTO We now have two more Federated services up on Qoto. They are still in beta so use at your own risk.
NextCloud: https://cloud.qoto.org
Gitlab: https://git.qoto.org
Feel free to sign up for an account and use the services. Let me know if you have any trouble using it.
Big things happening at #QOTO I wanted to update everyone on.
So as most of you know I had a year long back injury that put a lot of QOTO plans on hold. But I've been healed and working on bringing much of that vision to reality.
As of a few weeks ago a few close friends and fellow engineers wanted to join the team. I am currently sitting with 3 other new engineers and we are working on bringing up several instances including peertube, nextcloud, gitlab, discourse, and of course a newer version of QOTO. A full collaboration suite for others in STEM and the open-source community. All for free to its users.
This launch will coincide with several of my other projects many of you follow including protowaffle, ROES, Graphactor, Aparapi, Ferma and many others. We will host all the source on QOTO as well as make it the source for future software announcements related to those products.
Stay tuned for me.
#OSS #Programming #Software #opensource #GPL #Science #STEM #Git #fediverse
This article convinced me to move all my repositories off of github:
To help some of the newcomers make connections: name 5-7 things that interest as tags so they are searchable. Then boost this post or repeat its instructions so others know to do the same. Add #introductions to the post.
#Photography
#Astrophotography
#Netherlands
#utrecht
#QuantumPhysics
#Philosophy
#Science
#Nature
#SCUBA
#Chemistry
#occult
#Biology
#bioalgorithms
#Programming
#ClassicalLiberal
Just finished revamping the coloring system and the descriptions of rooms displayed when you enter a new room or look around in Aethyr
Screenshot attached.
Some general info:
The game is called Aethyr and it is open-source
and written in Java
You can find the source code here: https://github.com/Syncleus/AetherMUD
#gamedev #mmorpg #rpg #gaming #game #mud #programming #java #Aethyr
I did a little prototyping on a new layout for my game's character info. Not nearly complete (doesnt show most of the stats yet) but thought I'd share anyway. It at least gives an idea as to the direction im heading in on visualizing some of this stuff with just ASCII.
Some general info:
The game is called AetherMud and it is open-source
and written in Java
You can find the source code here: https://github.com/Syncleus/AetherMUD
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE