moja VS gofakeit

Compare moja vs gofakeit and see what are their differences.

moja

Composable computation pipelines for Java: Async, Lazy, Option, Try, Result, Multi (List), Stated, Reader, Logger, Writer. (by karmakaze)

gofakeit

Random fake data generator written in go (by brianvoe)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
moja gofakeit
4 10
1 4,206
- -
1.8 9.5
over 2 years ago about 1 month ago
Java Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

moja

Posts with mentions or reviews of moja. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • Sketch of a Post-ORM
    14 projects | news.ycombinator.com | 2 Jun 2023
    I want sum types.

    I want a statically-typed way of constructing composable queries that follow SQL rather than reinvent a different thing. It doesn't have to be the same syntax but it has to be the same structuring.

    I started writing one[0] and stopped before doing all the boilerplate code generation, having moved on from the JVM ecosystem for the time being. One thing it does is treat most things like sets so we don't end up with N+1 queries. Another trick it uses is collapsing constant expressions via an expression evaluation library[1].

    [0] https://github.com/karmakaze/safeql

    [1] https://github.com/karmakaze/moja

  • Ask HN: Tools you have built for yourself?
    17 projects | news.ycombinator.com | 23 Jan 2023
    Over the years, I've written many apps and utilities for myself or others (that didn't end up get used). These are the interesting ones I remember. Many not quite complete/usable. Other than hackerer.news none of them are 'up' and running. Some have and others haven't been published as opensource.

    - https://hackerer.news HN viewer (source[0]): I use daily so I can see today's top stories in reverse chronological order with mainstream topics sorted to the bottom.

    - qwickly[1] keyboard layout: I use all the time as an easier to learn and more comfortable to type than Colemak/Tarmak

    - safeql[2]: Java type-safe SQL expression composer that reduces constant expressions and eliminates N+1 queries loading associations by always operating on set relation or array of models.

    - moja[3]: Composable computation pipelines for Java: Async, Lazy, Option, Try, Result, Multi (List), Stated, Reader, Logger, Writer.

    - gitgrep.com[4] Opensource SaaS version of etsy/houndd (now called hound-search).

    - statuspages.me: Status page aggregator with dynamic javascript for scraping each source using selector expressions.

    - movies to watch aggregator: with links to sources to watch. It was hard then to get 3rd party deep links into streaming sites so included some torrent links. Got a DMCA phone call, so took it down. Combined thumbnails, summaries, actors(?), imdb ratings, links.

    - java2cpp: Translate a moderately sized java app with test suite to c++, not 100% required final manual fixups.

    - swift2java (or maybe it was java2swift, it's fuzzy now): translate Swift to Java obviously, using ANTLR4. Not 100% required final manual fixups.

    - gui2log: to make an ASCII rendition of on-screen GUI widgets into an application log file when form submitted, so users couldn't complain that they saw X, but got Y.

    - some basic stats/ML algorithms: k-nearest neighbour, RNN back-propagation, etc?

    - Java in-memory DB: Small SQL-like memory tables with indexing/searching.

    - wwwsqldesigner: This exists as opensource and I extended it to infer foreign key relationships based on naming conventions used in a MySQL schema. It was great for zooming around a large ERD.

    - tracelog: combination of microservices parent/child span logging and generated high level events shown as a sequence diagram. Integrated with Loggly for full/verbose logs of selected high-level events.

    - pcl2bmp downscaler: Reduce high resolution HP LaserJet (PCL5) printed to file to lower resolution bitmap pages for screen display (before retina DPI was common). It aimed to shrink same-color areas and preserve black/white transitions while reducing.

    [0] https://gitlab.com/karmakaze/hackerer-news

    [1] https://github.com/qwickly-org/Qwickly

    [2] https://github.com/karmakaze/safeql

    [3] https://github.com/karmakaze/moja

    [4] https://github.com/gitgrep-com/gitgrep

  • Ask HN: What is the most impactful thing you've ever built?
    33 projects | news.ycombinator.com | 18 Nov 2022
    Sure, SafeQL[0] SQL library. It's been sitting in a close but not enough to promote state for a while. The main thing I wanted was to have generation of the bindings to existing DB schema. I also want to combine using Moja[1] datatypes for uniform handling of single/multi, normal/async, and errors.

    [0] https://github.com/karmakaze/safeql

    [1] https://github.com/karmakaze/moja

  • C# 11 Features Now Previewing in Visual Studio: Generic Attributes and More
    3 projects | /r/programming | 16 Mar 2022
    I made a similar thing for Java moja Options as needed other projects. It sort-of works but it's not great.

gofakeit

Posts with mentions or reviews of gofakeit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-08.
  • I've made my first PR.
    1 project | /r/cscareerquestions | 3 Nov 2023
  • Show HN: Buyidentities.com
    2 projects | news.ycombinator.com | 8 Oct 2023
    I have to admit that I fell into a rabbit hole, and I noticed that popular tools like fakerjs or gofakeit[0] did not meet my needs.

    I needed to generate realistic-looking identities; the person's photo must match the gender, same for the age, the skin color of the person must correspond with the origin of the surname, the first name should be common in the targeted country, and the residential address must be real, among other things.

    You would not use this for test data btw, a common use case for this would be for marketing or spamming operations where you need realistic data. My consciense does not accept the later however ;-)

    [0] https://github.com/brianvoe/gofakeit

  • Gofakeit New Functions!
    1 project | /r/golang | 7 Jun 2023
  • dg - a fast relational data generator
    2 projects | /r/Database | 4 Jun 2023
    Thank you! No, it’s just random data (here’s a link: https://github.com/brianvoe/gofakeit/blob/master/data/address.go)
  • JR, quality Random Data from the Command line, part I
    8 projects | dev.to | 7 May 2023
    So, is JR yet another faking library written in Go? Yes and no. JR indeed implements most of the APIs in fakerjs and Go fake it, but it's also able to stream data directly to stdout, Kafka, Redis and more (Elastic and MongoDB coming). JR can talk directly to Confluent Schema Registry, manage json-schema and Avro schemas, easily maintain coherence and referential integrity. If you need more than what is OOTB in JR, you can also easily pipe your data streams to other cli tools like kcat thanks to its flexibility.
  • TIL: panic(spew.Sdump(myVar))
    8 projects | /r/golang | 10 Jan 2023
    Tangentially related, but there is a package out there called go-fakeit github.com/brianvoe/gofakeit.git for generating random data, which doesn't sound like it entirely maps with what you're doing, but there may be some overlap.
  • Ask HN: What is the most impactful thing you've ever built?
    33 projects | news.ycombinator.com | 18 Nov 2022
    Its not much but I have had success with a random data generator package for golang called https://github.com/brianvoe/gofakeit. Its not live changing but hopefully it helps out enough developers.
  • LGPD e falsear dados sensíveis no banco de dados - parte 2
    2 projects | dev.to | 13 Jun 2022
  • Creating a PDF With Go, Maroto & Gofakeit
    3 projects | dev.to | 1 May 2021
    Using mock data is a great way to speed up the prototyping process. We will use the GoFakeIt package to create a little dummy data generator to insert into our PDF.
  • Gofakeit v6. Now supports concurrency and crypto/rand
    1 project | news.ycombinator.com | 18 Jan 2021
    The new v6 release now supports the ability to have localized rand that allows for concurrent generating of random data. Crypto/rand has now been integrated as well as if you have a custom rand that fulfills the math/rand source64 interface you can use it with gofakeit. Let me know your thoughts.

    https://github.com/brianvoe/gofakeit

What are some alternatives?

When comparing moja and gofakeit you can also consider the following projects:

OneOf - Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching

bitio - Optimized bit-level Reader and Writer for Go.

gitgrep - Lightning fast code searching made easy

conv - Fast conversions across various Go types with a simple API.

safeql - Composable / async / functional / type-safe / parallel-pipelined queries and relations without SQL injection or N+1s.

uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.

Norm - The SQL generation library you already know how to use.

browscap_go - GoLang Library for Browser Capabilities Project

openship - multi-channel fulfillment at scale

autoflags - Populate go command line app flags from config struct

base64Captcha - captcha of base64 image string

ghorg - Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more 🥚