r/node • • Jan 06 '22

Faker.JS is dead. I created "BluffMaster"

https://www.npmjs.com/package/bluffmaster
19 Upvotes

41 comments sorted by

19

u/oze4 Jan 06 '22

i created fakerer.js

1

u/oh_jaimito Jan 07 '22

fakest.js

2

u/oze4 Jan 07 '22

Yup I created that one too!

3

u/oh_jaimito Jan 07 '22

lol

phaker.js

?

0

u/luciferreeves Jan 06 '22

Nice 😊

5

u/oze4 Jan 06 '22

im also the author of bogus.js

1

u/luciferreeves Jan 06 '22

Now try writing falsify.js too 😂

1

u/oze4 Jan 06 '22

oh sick! my buddy just wrote soofake.js

2

u/luciferreeves Jan 06 '22

soofake.js

So fake that your buddy misspelt 'sofake' - perhaps on purpose LOL

1

u/oze4 Jan 06 '22

on purpose. bc its not just fake, or so fake, its soo fake.

either that or his name is soo. i can't remember.

1

u/luciferreeves Jan 06 '22

Soo, do you use soo's soofake library?

1

u/oze4 Jan 06 '22

nope i use this other package my friend wrote called BluffMaster.js

1

u/luciferreeves Jan 06 '22

Cool with a "K"

40

u/Stephen110 Jan 06 '22

Eh, I think I'm going to pass, the updates being made look like they are coming from someone with little to no experience as a professional software developer or as an open source maintainer -

  • released 5 versions in the past 6 hours, none of which are tagged, but the fact you are releasing things so quickly without any review is a big red flag

  • you are merging a TON of commits directly into Master, no review process, no pull requests (you are the only maintainer, but still shouldn't be pushing directly to master)

  • commit messages are meaningless; there are 4 commits in a row that are all "Update main.yml". Maybe slow down and make all changes you want to make before commiting. Do you have ctrl+s macro'd to auto commit or something?

  • (personal opinion) the name could be better

6

u/luciferreeves Jan 06 '22

Thanks for the pointers. I will keep them in mind.

3

u/doodirock Jan 07 '22

There is already a community fork as well. This kid is just changing typos and mass merging for fun. It would be better to delete this repo and let the current community fork take over.

2

u/cuboidofficial Jan 07 '22

I usually make separate branches and make PRs from those to merge my changes from the staging branch into the master branch after testing in the staging environment and confirming the changes work. Would you say that's a proper way to go about it? (Still somewhat new, so figured I could learn something from you)

3

u/Stephen110 Jan 07 '22

Yep, that’s a good practice. If you are working on a team you’ll also have code reviews and approvals on the PR prior to merging. After merging, I typically delete the feature branch to keep the repo clean.

2

u/cuboidofficial Jan 07 '22

Awesome, sounds like I'm doing it right then! Thanks!

0

u/[deleted] Jan 07 '22

I think you’re being a bit dogmatic about reviews. If he’s the only one working on the project, the process of adding a review and approving that himself is nothing but ceremony. Most projects start off this way and that’s fine. Once he builds a community of developers working on the project and it gains a substantial following, then it might be time to add a little more controls to the project.

0

u/[deleted] Jan 06 '22

[deleted]

16

u/Stephen110 Jan 06 '22 edited Jan 06 '22

If I'm looking back at a commit history, I want to be able to clearly see what all commits went into a bug fix or a new feature. I wouldn't call that a waste of time.

Even with a single maintainer, I'd recommend feature and bug work being done on a separate branch and merged in when work is complete. Even better, have CI build feature branches and require the branch successfully builds and passes tests before allowing it to be merged into Master.

Having 50 new commits today all pushed directly to master, none of which with meaningful comments is not good. Having none of those commits tagged to a release is also not good. Having several commits that couldn't even build pushed directly to master is a fucking joke.

Keep in mind - this guy is trying to position "BluffMaster" as a legitimate replacement for a library used by a ton of individuals and organizations. Its not a pet project. The changes that have been made scream instability.

4

u/luciferreeves Jan 07 '22 edited Jan 07 '22

Update: I am constantly pushing new changes. Since, I forked it today itself, it takes time to make changes (not deployed to NPM yet, though). Here's a small list:

  • Fixed typos (and trust me there were a lot)

  • Fixed testing functions (almost all of them were failing and now all are passing) - took me a lot of hours to fix the code as the code was outdated too. In order to write new test cases and make older ones pass, I had to modify around half of the core lib files.

  • Fixed the generate bitcoin function. Also added a new big int datatype.- Replaced fakercloud (faker was using it to generate random profile pictures and this also went down) by pravatar.

  • Replaced jshint with eslint and fixed all linting errors.

  • Coverage reports were not being generated, I fixed that too.

  • And of course, I renamed it. I wanted something unique on NPM, I credited the original author though. Renaming also take a lot of time, unfortunately.

I am still fixing and adding new things. I understand I was a bit rough with the quick releases and non-descriptive commit messages today, mostly because I was trying new things and wasn't worried too much about a production ready app. But I have learnt and now am fixing things on a different branch and merging through PRs. Also I am trying to have more descriptive commit messages.

Thank you.

8

u/JaxLikesSnax Jan 07 '22

It is dead with the question "What really happened with Aaron Swartz?" and you just make a new one... my god read the room.

1

u/TheSwissArmy Jan 07 '22

1

u/luciferreeves Jan 07 '22 edited Jan 07 '22

Okay done. I renamed it to “blaver”. Thanks for the suggestion

1

u/NotABotAtAll-01 Jan 07 '22

Does have ts types?

1

u/luciferreeves Jan 07 '22

One function is not there. Will add soon. Other than that everything is there

1

u/gun41exe Jan 07 '22

Fakehub.js

1

u/luciferreeves Jan 07 '22

Renamed it to “blaver”. Both on GitHub and on npm.

1

u/NotABotAtAll-01 Jan 07 '22 edited Jan 07 '22

Why it is dead? I tried 6.6 and it doesn’t work! So was using v5 on Node..

Why it says What really happened with Aaron Swartz? Why last PR says endgame

What really happened to library? It was great for dummy data generation

1

u/luciferreeves Jan 07 '22

Yeah. I created “blaver” and added all the latest fixes to it. It’s on npm

4

u/geekfreak42 Jan 06 '22

well played sir! gotta love that MIT license.

-10

u/[deleted] Jan 06 '22 edited Jan 06 '22

indeed, meanwhile https://fakercloud.com

2

u/ryhaltswhiskey Jan 06 '22

what was the point of linking to a parked domain?

0

u/[deleted] Jan 06 '22

parked domain

they did, I'm wondering what would be, faker through API ?, I don't know

3

u/luciferreeves Jan 06 '22

Actually it was service which resulted in an image when an image name like "hello.jpg" was passed. The service no longer works. I already fixed it in my version by using pravatar.cc

-7

u/ryhaltswhiskey Jan 06 '22

Oh no, you are helping corporations!

(and a lot of people who aren't corporations, but it's hard to care about them)

-11

u/RapBeautician Jan 07 '22

Another bitch soy boy working for free to please fortune 500s.

0

u/luciferreeves Jan 07 '22

Aww, thank you for the kind words, sir! Take my upvote too please.

0

u/[deleted] Jan 06 '22

[deleted]

0

u/[deleted] Jan 06 '22

[deleted]

2

u/rkesters Jan 07 '22

You could have kept the same name but with a scope... like

@lucifercreeves/fakerjs

0

u/[deleted] Jan 06 '22

[deleted]

1

u/ryhaltswhiskey Jan 06 '22

Never had a ViewMaster when you were a kid eh?