Resilience4j vs Sentinel - hystrix

We are looking to replace Hystrix with Resilience4j or Sentinel. I am looking for advice on which one should be preferred. I have spent some time searching on google but could find any clear conclusion.
Both libraries have their own features. We want to primarily use it for circuit breaking.
Can anyone please guide me?

Related

How can I check if a React or Node app is OWASP proof?

I know what OWASP is by now but I find it too vague how perform the task of checking if an app (made of React and Node) is OWASP proof. I read about the top 10 security risks and I would like to know if there is any step-by-step guide or some software that would help me catching any weaknesses. Any reference to a developer story where this check is done would be appreciated.
There's tools like vulnerability scanners or package security scanners etc which will do some sort of automation on this. But in general, there isn't and there can't be any program which can tell you whether a given program has any or all of the top 10 security risks. Or, any general property you might want.
So automatic tools are a good idea, and there's a bunch of hosted and easy to use ones. But being aware of the code and what it does, as an engineer, is the most important thing.
The OWASP top 10 does not aim to be a standard, please read the Introduction of the document carefully. Building a good, secure software is hard - the top 10 is a good start, but you should always remember that it's only a start. Building a good, secure development lifecycle is what you're aiming for, and for that projects like OWASP SAMM or OWASP ASVS could help with. If you have a security team at your work - reach out to them and ask for help. If you don't have - me and so many other at the AppSec community would love to help you started.

How to use HSPI?

May be stupid question. I created HSPIPluginB1 project from template, it compiles, runs and connects to HS.
But I've got no idea what to do next? How do I create devices, triggers, etc?
Great question. HSPIPluginB is described here. There's some help in the forum thread linked therein, but, for the most part, that HSPI template doesn't do much more to help. Your best bet, for now, is to hunt through the HS developer forum and documentation (https://homeseer.com/developer-support/). Honestly, it's pretty difficult to write a HomeSeer plugin as is, but that's not the fault of the HSPI project.
Fortunately, I'm working on HSPIPluginC. It's significantly easier to understand, but it's not finished. You can get a glimpse of where I'm going with it by checking out https://github.com/alexdresko/HSPI/issues/77#issuecomment-322885054. If anything, there's probably some useful code in there to help you move forward.
If you have any ideas for how HSPI can be made better, please Create an issue or start up a conversation in the chat room

Angular-Fullstack Generator: How to create a persistent file upload using the boilerplate?

Thank you for reading this post.
As a newcomer to the programming community, I have what I believe to be a fairly easy question.
How do you implement a file upload (particularly images) using the MEAN stack (yeoman angular-fullstack generator in particular)? An explanation using the yeoman angular-fullstack boilerplate would be appreciated.
In particular, could you please make a step-by-step explanation. This is not recorded anywhere on the internet, so your help will be recognized and appreciated! :-)
While there are numerous explanations out there, those explanations always answer a particular user's question (as do many other questions/answers) and are not applicable to general use cases. Those explanations typically require one to be able to parse through numerous lines of irrelevant code, in order to absorb the information that's relevant. As such, a "noob" is not able to utilize the part of the code that is applicable to him/her. That is why I'm asking for an explanation using the boilerplate of a generator, so that myself and others may use this information -- now and in the future.
Using search engines and research, I have come across the predominate answer that ng-file-upload and multer can accomplish this task. However, there is no rudimentary explanation of how this used implemented within a MEAN stack together (particularly, angular-fullstack -- the predominate MEAN stack implementation at this time).
Today, any general non-static website requires a file-upload implementation, and it seems extremely odd that there is very little documentation on this issue. I've read numerous O'Reilly books on MongoDB, but this issue is not addressed. Images and Videos are essential to commercial-grade websites, and these topics should be documented in a way that is digestible for newcomers to MEAN programming.
Thank you for your time, and I appreciate any and all helpful answers and comments.
you can use my code which is MEAN project for image upload
https://github.com/RohitShedage/image-upload

Some questioning about codenameone

I don't know if it's the good place to ask these questions. So if it's not the case sorry for inconvenience.
We are looking for the most adapted tool for our crossplatform mobile project. Before begin to invest time we are testing many crossplatform develeoppement solution ... it's difficult to find the tool where you say Yes it this one !!
Actually we are beginning to test codename one. It looks very promising but we have some doubts and question about features and how we can organize our project :
Do you know if it is possible to separate code and design -> build each "screen of the app" with one xml file to describe components and style and one java class to define behavior and contents(dynamically or not) of these components ?
What about nfc support ? at least for android apps ?
The ui components are not really "sexy" in examples. Do you know if it is possible to load/download or why not buy some more attractive one.
I hope you will be able to answer our questions
Thank you and sorry for my english ...
build each "screen of the app" with one xml file take a look at
https://www.codenameone.com/blog/gui-builder-walkthru.html
What about nfc support ? at least for android apps ? see here
https://www.codenameone.com/blog/native-interface.html
The ui components are not really "sexy" in examples.
https://www.codenameone.com/gallery.html
But overall I would like to suggest you can't get 'that' sexy unless you not try. Don't take it wrong but see the examples submitted by other and what they developed you may get same or more than that if you try.
I hope you will be able to answer Your questions :)
Cheers

Solr or Elastic Search, which one we have to choose if we need customizablity along with scalability

I am in a great confusion that which search engine I have to use for our site, azzist.com. It is a job site. We have around 30,000 professionals and 3000 employers. So not only customization of search, but also scalability is important to us.
this link helped me a lot. And also I refered this SO question. But still I can't make a decision. I am still in a confusion that which part I have to compromise. As a job site, which one I have to choose? Now we are using solr. But we need to improve the search results. Please help me.
I know this question will be closed soon, but there is no place for me to ask help.
Disclaimer: I am an elasticsearch employee.
I would say only: "just give elasticsearch a try and you will probably find the answer yourself after some hours or days."
www.jobbasket.co.uk
is built atop of SOLR, we tried Elastic Search at the time but ended up choosing SOLR due to it's ease of interaction with our development language and its maturity.

Resources