Nocode functions is two years old!

Nocode functions is a free, no-registration web app for click-and-point data analysis

In this post, I make a list of the improvements brought to nocode functions from August 2022 to today (July 2023).

Overall feeling

Quality, user friendliness šŸ¤—

  • The promise of nocodefunctions.com remains unchanged. The web app remains open source (CC BY 4.0), free, fully translated in 107 languages, requires no registration, and is respectful of your data. Just click and analyze your data!
  • The app experienced no significant downtime. Users could rely on it 24/24, 365 days a year. How? Simply: when I feel that I will introduce a change that can break the app, I first try the change on a test copy of nocodefunctions, which is: https://test.nocodefunctions.com. When everything is stabilized, I deploy the changes on the normal address of nocodefunctions: https://nocodefunctions.com.
  • The app remained super fast to load, functions were fast or faster to run, and more error messages were introduced when unexpected errors occurred.
  • The overall design and usage flow remained the same: choose a function, upload your data, select optional parameters, run the function, see the results, download the results.
  • An ugly error in the design of the web pages has been finally, permanently fixed a few weeks ago. This error made some functions unusable because the buttons on the pages couldnā€™t be clicked. It was very hard to diagnose as it disappeared and came back randomly without leaving clear errors. I could finally fix it (two CSS files were colliding), thanks to the detailed reports by Veronica Espinoza.

Traffic

When I celebrated the first anniversary of Nocodefunctions.com, the app almost always had less than 300 users per week. For this second anniversary, the app almost always experiences more than 300 users per week.

image

Visit the public, live version of nocodefunctions users count.

Note: in November 2022, I have changed how users are counted. Before, the count was triggered in a technical and imprecise way: each time a functionā€™s managed bean is instantiated. Now, the count of users is incremented each time the button launching a function is clicked (actually launching, not merely choosing a function then leaving the app).

Functions: whatā€™s new? what disappeared and why?

šŸŽˆ Gone:

šŸŖ„ New:

  • Spatialize gexf: a gexf file is a classic file format for networks. With this function, you can apply a layout to your network in a quicker way than if you would use Gephi instead. The function is not amazingly fast to be honest, but still better than doing the layout directly in Gephi.
  • Detect promoted content. Still embryonic, this function should be widely used in my opinion! Basically, it categories texts in ā€œnatural / organic / genuine voiceā€ vs ā€œpromoted / corporate speakā€. That is essential if you do sentiment analysis on brands or products, as youā€™d want to first filter out posts or tweets that are paid content sponsoring or promoting this product!
  • Sentiment analysis in Spanish. This feature was developped by Emma LĆ©ger whom I thank here. This new feature now needs to be further tested and improved, donā€™t hesitate reporting issues, directly from the app!

šŸ“ˆ Much improved:

  • Semantic network generator, topic detection, sentiment analysis. These three functions now benefit from excellent (unique, Iā€™d dare say) methods for the first essential steps of treatment of the text that you provide as input. Basically, these functions work on the words in the text, so the first step consisting in cutting the text in all its words is of great importance. This is harder than it seems. Punctuation signs, accentuations, lower and upper case, and multi-words (ā€œEuropean Unionā€) need to be taken into account if we want the next steps to achieve a high accuracy. A keystone to these operations is the tokenizer, which I released in March 2023. More on this in the ā€œLong term maintainabilityā€ section below.

  • pdf matcher. I really like the development of this function, which shows several benefits of the app:

    • on April 2 2022, Runa Sandvik who is a security specialist I follow on Twitter, asked for a simple solution to mine pdfs.
    • on April 9, 2022, I could release a new function doing that - called pdf matcher as described in this blog post.
    • in August 2022, Veronica Espinoza reports that words cut at the end of a line are missed out (ignored), when uploading pdfs for semantic networks. I improve the pdf reader to take this into account, and this benefits all functions using pdfs for inputs - including the pdf matcher function of course.
    • on July 4 2023, so one year later, I improved this function a lot because Iā€™ll need it for an academic project. It now features boolean searches. Doing this, I realized it was bugged in different ways.

Created in answer to the need of a member of the community, released super quickly, improved thanks to a user report, and then developed further for my own needs: 4 things that illustrate why I feel fullfilled developping the app.

Long term maintainability

The app grew and grew as a single big project containing more and more files, to the point where working on it was slowed down in many ways, even if once deployed it was still very fast and the users didnā€™t really notice anything. To make my experience as a developer still enjoyable, the app required to be ā€œrefactoredā€, re-architectured in a leaner way.

I hesitated doing it for a long time because once you start it, there is no turning back. You break everything and must push forward to get to the new version that you hope will be better. That requires a lot of work, the app is basically ā€œin the airā€ for weeks (available and running online, but the code to produce it is turned into something else). And without bringing anything really new in terms of features or visible upgrade to the users - at least in the short term. Anyway, I jumped!

Over Oct-Nov 2022, I cut the app in 3 different parts: a front-end, a back-end running the functions, and a back-end managing file uploads and downloads (I/O). Before the operation, the app had become a monolith of about 120 Mb in size. With this transformation, it became a front-end of 13Mb in size, a back-end of 97 Mb (functions) and 30 Mb (I/O). Letā€™s explain the pain points it solved:

Quicker devops šŸ’Ø

  • BEFORE: slow to compile ( > 1 min), upload (1 min) and deploy (1:30 in my IDE, 20 seconds on the server). It was becoming horrible to wait 1 to 2 minutes to see the results of a tiny change I made in the code, and really frustrating since I knew that all this time was lost compiling the entire app, when the change was affecting 1% of it!
  • AFTER: 20 seconds max to compile and same to upload. Deployment takes 15 seconds for the front-end (also locally! compared to > 1 minute before!), and one second for the back-end. I can do changes and see the results super quickly! Pyschologically, the frustration of suffering this waiting time is gone, so I enjoy coding.

Less downtime ā³

  • BEFORE: The app being a monolith, I had to stop it entirely to redeploy it even if the change I had made to the app was super small and affecting a tiny backend function. The web app was down for 20 seconds or so to deploy this tiny change, which was bad for the users and also really unsatisfying / frustrating on my side.
  • AFTER: I can start and stop each part of nocode functions independently. That means that a user will not see a 404 error when visiting the site when I am simply restarting the functions or the I/O machinery.

Cleaner organization šŸ§¹

  • BEFORE: the app mixed the code for the web pages with the code performing the functions. Very bad practice, and a pain to maintain (ā€œwhere did I put this part of the function again? In the code of the button where the user clickedā€¦ šŸ¤¦ā€).
  • AFTER: The code for each function is in a separate project. The front-end sends data to these projects, and receives the results from them, through a web service.

Graphically, this looks like:

Bonus: greater modularity allows for the release of packages šŸ’Ž

The app is fully open source, which is good for auditability and accountability. However, this doesnā€™t mean anyone can just download the code, click on a button and run the app on their own machine. Surely doable, but not trivial. Fully open source isnā€™t equal to fully reusable.

To make progress on this, I have started taking the most fundamental building blocks of the functions and packaging them in the standard, industry-grade way that is expected by the community of developers to re-use them. Every programming language has their packages and their platform to distribute them. RubyGems for Ruby, npm for Javascript, the CRAN for R, ā€¦ and Maven Central for Java.

It is just the beginning, and documentation is severly lacking, but it is now possible for any developer to rely on the following packages that were developed for nocodefunctions:

  • umigon-tokenizer, to tokenize a text.
  • umigon-ngram-ops, to add ngrams to the words of a text.
  • umigon-model, which contains the data structures to describe a text and analyze it further.
  • umigon-lemmatizer-lightweight, which is a fast and light lemmatizer for English, Spanish and French.
  • umigon-stopwords which provides lists of stopwords in a dozen of languages and methods to evaluate whether an ngram containing a stopword is itself a stopword. Also contains lists of stopwords for academic types of discourses, both in English and French.
  • utils-core, a set of helper methods. Two I keep using: an implementation of a Multiset (no need of Guava for thatā€¦), and a Clock to compute elapsed time in a convenient way.

Nocodefunctions now relies on these packages and I keep evolving them as the application grows. I would like to thank Maciej Walkowiak whose tutorial on how to publish a package on Maven Central allowed me to do it - and making it very painless. Also thanks to JReleaser which is the tool doing the actual lifting.

Academic returns šŸŽ“

One important aspect of the web application is to make it aligned with one of my professional objectives as an academic: publishing. As stated in the manifesto for nocode functions, my hope is that the web app will be a testbed for new data analytics projects, that will turn into publications. After two years of development:

  • one project of a book on Nocodefunctions co-authored with Veronica Espinoza - but I havenā€™t contributed a single line yet :/
  • one paper under review on text mining for marketing. This paper was directly inspired by the sentiment analysis function.
  • one paper written, rejected and soon re-submitted on the lexicon-based approach of the sentiment analysis function
  • one discussion with a colleague about the ā€œorganic posts detectionā€ function, which led to me publishing this function (after a period when it was broken and dormant). Might lead to a common project?
  • one project on the evolution of open source projects in management journals. Iā€™ll need the pdf matching function for it, and thatā€™s why Iā€™ve improved this function recently.

I still need to write a paper on nocodefunctions itself - duh! - but this always seems postponed for later. If an editor reads this line and wants to send me an invitation to submit a paper, please !! :-)

And teaching? I have advertised nocodefunctions to the students I teach in various undergraduate and graduate programs at my school. I mention it in my methodology class for MSc theses. Not sure this is effective though, as I got no follow up email or contact on this subject. It is a shame as students conducting data analysis for their theses was an obvious use case in my view.

Outreach šŸ“¢

I donā€™t monetize nocodefunctions, so my strategy to grow the traffic and usage on nocode functions is not as intense as it would be otherwise. I donā€™t have investors breathing in my neck and I donā€™t expect to pay the rent with it.

That said, it is only human to long for a form of recognition, and seeing traffic to the app is one of my satisfactions. These are the first things I check in the morning with my coffee and a play on Wordle! :-)

For this reason, I had already performed the essentials of SEO in the first year of the app:

  • filling in the meta tags in the <header> of all the web pages of the app,
  • creating intra-app links and paying attention to the text of these links

This blog is another effort I made: created in July 2021, I published 12 posts the first year. In 2022-23, I published 11 posts (counting this one), which tend to be a bit denser. Would you guess which one is the most popular, by very far? This one on ā€œusing java for the front-end of a web app in 2022ā€. Who would have guessed? šŸ˜.

Plans for next year šŸ”®

The app works and is very stable. My plan is to continue on growing it slowly, adding new functions suggested by users and which seem useful to the broadest numbers. Adding no function would also be fine, I would then spend my time adding more documentation to the code base and publishing libraries encapsulating the essentials of the existing functions, to make them easy to re-use by other developers. No rush!

Acknowledgements šŸ™

This app is truly built on the shoulders of giants. Fully developed in Java using Netbeans as a coding tool, I thank the community for developing such a versatile, robust, easy-to-use programming language and tooling. Thanks also to all the maintainers of the libraries that provide specific features. And thanks to all the users who provided feedback, big or not, anonymously or not. Find the detailed list of acknowledgements here. I would like to extend a special thank to Veronica Espinoza, who provided especially constructive feedbacks and suggestions, countless times. The quality of the nocode functions is in no small part the result of her help.

About me

I am a professor at emlyon business school where I conduct research in Natural Language Processing and network analysis applied to social sciences and the humanities. I teach about the impact of digital technologies on business and society. I build nocode functions šŸ”Ž, a click and point web app to explore texts and networks. It is fully open source. Try it and give some feedback, I would appreciate it!

 Date: July 17, 2023

Previous
⏪ Detecting the voice of the customer

Next
A call to grow an ecosystem of apps for text and network analysis on new data sources ⏩