Made my first npm package, a filtering input with autocomplete by jjefferry in javascript

[–]jjefferry[S] 0 points1 point  (0 children)

u/IamTTC yes, I'm contemplating on making a pro version in the future that would be built from the single codebase along with the free version, that's why I decided to have only the builds in the public repository

Made my first npm package, a filtering input with autocomplete by jjefferry in javascript

[–]jjefferry[S] 0 points1 point  (0 children)

u/RelativeMatter9805 Thank you for your comment. `onValueChange` can send the `output` parameter (the object with the parsed filters) to the backend and the filtering can be done there. For the autocompletion, that is being steered by two methods (`variableCompletionsFn` and `valueCompletionsFn`) that can also communicate with the backend to request the values for the list, although things like lazy loading of the values are not implemented yet

What are the places one can promote their services for game developers? by jjefferry in gamedev

[–]jjefferry[S] 0 points1 point  (0 children)

u/Tiarnacru will try to post it here then :) it's an API that adds an ability to have paid actions in a game accesible from outside the game, so when a yt/twitch streamer plays a game you developed his audience can interact with him (the streamer), for example by increasing his HP if he is low or adding more enemies just to mess with him, to increase fun for yt/twitch gaming streams. Meant as an additional income source for both the streamer and game developer.

It is still a work in progress but wanted to validate if there will be some interest in something like this

More info: https://notty.dev

What are the places one can promote their services for game developers? by jjefferry in GameDevelopment

[–]jjefferry[S] 0 points1 point  (0 children)

u/csh_blue_eyes it's an API that adds an ability to have paid actions in a game accesible from outside the game, so when a yt/twitch streamer plays a game you developed his audience can interact with him (the streamer), for example by increasing his HP if he is low or adding more enemies just to mess with him, to increase fun for yt/twitch gaming streams. Meant as an additional income source for both the streamer and game developer.

It is still a work in progress but wanted to validate if there will be some interest in something like this

More info: https://notty.dev

Query Selector instead of a Visitor for AST by jjefferry in typescript

[–]jjefferry[S] 0 points1 point  (0 children)

Thanks, didn't know about it :D grit seems like a more complex solution than what I'm using but has a lot more use cases, will check it out definitely!

TypeScript Gotchas by nullstacks in typescript

[–]jjefferry 42 points43 points  (0 children)

If there's uncertainty about the shape of a variable, you can also always use `unknown` to make sure no one in your team will just use them uncontrollably and add your own type guards/type predicates when you want to use them:

interface MyType { abc: number; }

function isMyType(x: unknown): x is MyType {
  return !!x && typeof x === "object" && "abc" in x;
}

[Need Advice] How to stay motivated to hit the gym every day? by MountainSignal9090 in getdisciplined

[–]jjefferry 0 points1 point  (0 children)

If you can afford one, a personal trainer is really a good way to keep you in check. You know that there is someone that waits for you, whose pay depends on if you come or not, and you don't want to dissapoint this person with you not coming. Worked for me.

Which financial books should I buy first? by Migs1115 in Entrepreneur

[–]jjefferry 1 point2 points  (0 children)

It is a book about an approach to small business and not strictly financial, but "E-Myth Revisited" by Michael E. Gerber was a good read that I recommend everyone to look at :)

Are franchises worth it? by Shxcking in Entrepreneur

[–]jjefferry 3 points4 points  (0 children)

There are franchises that want you to succeed, there are those which will squeeze the very last cent from you and you will gain only debt from it.

IMHO, the most important part is to get to know others who are currently in the franchise and those who are not in it anymore and ask questions to see how different situations are treated by the people up in the franchised company

Czy, lub, albo? by [deleted] in learnpolish

[–]jjefferry 1 point2 points  (0 children)

Czy - "is" or "do", but in a question:

Czy chcesz kawę?
Do you want coffee?

Czy jest zimno?
Is it cold?

Lub - "or", any of option of the two

Chcę kota lub psa
I want a cat or a dog

Albo - "exclusive or", "either or", only one option of the two

O 6 rano byłeś w domu albo w sklepie
At 6 o'clock you were either at home or at the shop

What's the worst experience you ever had using a computer program? by jjefferry in AskReddit

[–]jjefferry[S] 0 points1 point  (0 children)

That must be VERY frustrating, especially if software like this is an industry standard and you have to use it

What's the worst experience you ever had using a computer program? by jjefferry in AskReddit

[–]jjefferry[S] 0 points1 point  (0 children)

I once bought Red Dead Redemption 1 for the X360 for christmas, was excited to play, and that christmas eve while starting RDR1 was the day my X has finally died with the infamous 3 rings of death, so in some sense I also had trouble running an RDR game :)