Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always. π
For further actions, you may consider blocking this person and/or reporting abuse
Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always. π
For further actions, you may consider blocking this person and/or reporting abuse
Jeffrey Ip -
Manish Kr Prasad -
Ibrahim S -
Rishi Kumar -
Top comments (12)
Effortless React State Management - github.com/lsm/alfa
Guide
Add Alfa to Your React Project
Use
npm
to add it to your package.json.Alternatively, use
yarn
if you prefer:Getting Data for Components
Alfa converts your regular React component into a dependency injected component by
injecting
application data from a key/value store. Let Alfa handle the data if you use it in different components:inject
makes a new component which gets dataname
from the store and rendersHelloMessage
internally.Now let's see how to use the above component in our app:
We don't need to pass the
name
toHelloMessage
component as Alfa gets that value for us from the store. That allows us to quickly move the component around without worrying about how to get the data.Changing Data
The simplest way to modify the data of the Alfa store is to inject the
set
function to the component.As mentioned earlier Alfa makes things explicit. So we need to define the
output
of the component explicitly if we want to change a value of a key in the global data store (the 3rd argument when calling functioninject
). Otherwise, Alfa complains we are trying to useset
without defining the correctoutput
.Now add the
ChangeName
component toApp
:If you run the app and modify the value in the input field, the
name
on the page do not change? Why?Because components made by
inject
does not trigger re-render when we change the injected state in the store. We need to replace it with another function calledsubscribe
.Subscribing Data
We need to call
subscribe
instead ofinject
if we want to trigger the re-render of the component when changing the data. Simply swapinject
withsubscribe
, and you can see the name is changing when you are typing in the input field:The
subscribe
has exactly same API asinject
. The reason why Alfa provides two functions with slightly different behavior is to let the application developers clear about the type of data they are dealing with - static or dynamic. It not only makes the app more performant but also makes it easier to understand.You can find the finished version of the above example in the folder examples/hello.
Wow I don't think I've seen anything as useful as this in a long while!
Thank you for the compliment. Let me know if you have any issues when you try it out.
Posted last week as well. :-D
pdfminer.six
Description
Pdfminer.six is a python library used for extracting information from PDF documents. It is a fork of pdfminer. This fork was created because the original repository is not being maintained anymore. Pdfminer.six is 100 commits ahead of the original pdfminer, thanks to a number of contributors. Parsing PDFs is extremely difficult, and pdfminer provides some APIs that can help in extracting text and non-text information from PDFs. I am one of the maintainers / admins of the project, but unfortunately, I am not able to give this project the time it deserves. A lot of PRs are still pouring in, and there are several open issues as well. I am trying to address them, but it would be great if more people start to contribute to the project.
Some Tasks
Please note that this is in no way an exhaustive list of the tasks. I have just written tasks that I can immediately think of.
Tech Stack - Primarily python
This project is alive primarily because people have actively contributed to it, and haven't let it die. It started with goulu creating the repo, and others contributing from time to time. Hopefully, we can keep maintaining it to make it easier for people to work with PDFs! I will keep adding more open tasks as and when I come up with some. Thank you for your time !
Thank you dev.to for this wonderful platform!
ALSO, I have created a Gitter chatroom for having discussions regarding the project. There isn't much content there yet, but I am looking forward to some discussions in the near future!
The project looks interesting. I'll look at the readme to see what needs to be done.
Newish to the world of dev, but most definitely interested. Going to peruse the repo to see how and where I can fit in...
Awesome Eric! Please peruse through the repo, and contribute if you find it interesting! Thank you!
Welcome
Today, I want to present you InstagramBot.js, javascript-nodejs bot made with puppeteer
What does it do
This bot helps you increase the engagement of your Instagram profile through different social algorithms. Increase the likes on your photos and followers.
Features
Fast setup
npm install
ininstagram-bot.js
folder.config.js.tpl
toconfig.js
, fill it properly.node bot.js
Read more: dev.to/ptkdev/instagrambotjs-4ma2
QubΒ³d Engine Group is a brand new voxel-based engine and game project, aiming to make a mature and extensible Minecraft-like game, backed by a vibrant and friendly community.
Anyone with interest in or experience with the following technologies are encouraged to join the project. They're just starting up, so there's plenty of room to find your niche.
Current Needs:
Are you interested in helping with any of the following? We're working on building small teams for each sector.
Team Dynamic:
We are a growing, distributed team of volunteers at varying experience levels, helping and learning from one another. The teams are led by a group of dedicated volunteer leaders, who work together to build a healthy, open, collaborative environment.
Currently, we meet once a week for a DevTalk on Discord, to discuss current project goals and to solve design and logistical problems. We also have a weekly webcast workshop, which covers a wide variety of project management and programming topics.
Tech Stack:
Jump In!
The easiest way to get started is to join the Discord room. Link is on the website: qub3d.org
Since I found out this repository was looking for contributors via one of these previous posts, I'll post it for the repo creator/owner (Jeremy Griffski) and hope someone else finds it as interesting as I did and will help out π
Anyway, the repository is a collection of sample programs in as many programming languages as possible, as Jeremy explained.
So far, I've added the PowerShell scripts and an article accompanying the Hello-World script.
If you're able and willing to help tackle any of the issues on our big ol' board, we'd be more than happy to have you!
nuster is a high performance caching proxy server based on HAProxy.
It is 100% compatible with HAProxy, and takes full advantage of the ACL
functionality of HAProxy to provide fine-grained caching policy based on
the content of request, response or server status. Its features include:
I welcome any contributors for ideas, bugs reports, PRs:
ROS Code, the new programming language: richienb.github.io/ROS-Code