rladies / praise Goto Github PK
View Code? Open in Web Editor NEWPraise useRs when they have done something good, or when they just need it
License: Other
Praise useRs when they have done something good, or when they just need it
License: Other
Like ๐ and ๐. Need some way of detecting if they're supported in current terminal (if that's even possible)
praise_parts$creating[16]
('preparin') should be 'preparing'.
Fixed in PR.
included in the parts of speech but not in the readme
:)
This project is so great but I did find a Python version. So I made one and used some words in this project. I am still following the MIT licence and add the link to this project.
The Python version is at https://github.com/funtion/praise.
Hope this is OK for you. Feel free to contact me if you have any worries or comments.
Thanks
Like
Your code is wonderland.
Your code is the bomb.
Etc.
How about some sympathy type words as well ?
Here is a use-case:
err = rnorm()
if(class(err == "try-error"))
praise("We have a error in rnorm ${sympathy}.)
We have a error in rnorm don't worry.
We have a error in rnorm heavens are not gonna fall.
We have a error in rnorm but you are still alive.
We have a error in rnorm but there is ice-cream in the freezer.
We have a error in rnorm it's almost weekend.
pval <- my model
if(pval > 0.2)
praise("Its not you, its the data; ${sympathy}.")
etc....
"Callipygian" basically means "having a nice ass." While I personally think it's funny, I'm not sure if it's something that should be in a general-purpose praising package.
I can imagine someone using the praise
package in a classroom, for example. All it would take is for a student to look up the definition of "callipygian," and what was supposed to be humorous just became a sexual harassment case.
Perhaps it would go better in a dirtytalk
package?
i.e. in R/sysdata.rda
since it's to be used by the package, not by users of the pacakge
Would it be possible to remove the word "posh" from the praise file https://github.com/rladies/praise/blob/ab66fe2b6080f0a2d55c4b3c395529a8271a4034/R/adjective.R as this isn't necessarily praise in British English? I checked this on Twitter as a poll as I wasn't sure if it was just me but it got quite a few votes saying no, it isn't a compliment. Although it can be used as praise as in, "don't you look posh!" it's never used in the constructed praise of "you are posh!".
Thanks for a great package - we are using this in our internal package and it's lovely to see who gets the next random praise (which is where I saw this phrase)!
So I thought for starters we could have something like:
praise <- function(template = "This is ${superb}!") {
## ...
}
and then praise
just inserts a random adjective from superb
into the template.
?
Maybe.
Specifically Chinese first, via @Avatoo. \o/
We need to work out some simple architecture first.
I don't mind adding solace()
and solace_parts
, or we can have it in the next version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.