-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
JavaScript Bitwise Operations Cheat SheetDescription: A bitwise operator operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast, simple action directly supported by the processor, and is used to manipulate values for comparisons and calculations. Example Query: bitwise ops cheat sheet, bitwise operations cheatsheet Tab Name: Cheat Sheet Source: These are the important fields from the IA page. Please check these for errors or missing information and update the IA page This is an automated message which will be updated as changes are made to the IA page |
@amarlearning Hey, is anything wrong with the PR? |
"val": "The SHIFT LEFT operator moves the bits to the left, discards the far left bit, and assigns the rightmost bit a value of 0. Each move to the left effectively multiplies op1 by 2." | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also include Zero-fill right shift
operator as well!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright. On it.
"name": "Bitwise Operations", | ||
"description": "A bitwise operator operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast, simple action directly supported by the processor, and is used to manipulate values for comparisons and calculations.", | ||
|
||
"metadata": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source name and source URL should be this Bitwise operators.
Good examples and description that's why!
{ | ||
"id": "bitwise_ops_cheat_sheet", | ||
"name": "Bitwise Operations", | ||
"description": "A bitwise operator operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast, simple action directly supported by the processor, and is used to manipulate values for comparisons and calculations.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make your description more precise! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As in lesser words?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sayan98 Description should be about your cheat sheet
not about the topic of cheatsheet
Automated screenshot from [beta.duckduckgo.com](https://beta.duckduckgo.com/?q=bitwise ops cheatsheet) |
Hi @amarlearning don't you think the |
@Sayan98 Are you making this cheat sheet for any specific language ? If I think this is a general cheat sheet of Bitwise Operations, so it's ok to include |
Automated screenshot from [beta.duckduckgo.com](https://beta.duckduckgo.com/?q=bitwise ops cheatsheet) |
@amarlearning Any idea as to why the build is failing? All checks regarding this cheatsheet have passed. There's a problem regarding a different perl module as far as I can infer from the CI build log. |
This one is not specific to any languages right? @Sayan98 |
@gautamkrishnar Yes it's a generic cheatsheet, not language specific. |
Hey @gautamkrishnar are we ready to merge? |
Automated screenshot from [beta.duckduckgo.com](https://beta.duckduckgo.com/?q=bitwise ops cheatsheet) |
"description": "A quick and handy reference on bitwise operators. A bitwise operation operates on one or more bit patterns or binary numerals at the level of their individual bits. It is a fast, simple action directly supported by the processor, and is used to manipulate values for comparisons and calculations.", | ||
|
||
"metadata": { | ||
"sourceName": "Bitwise Operators | Mozilla Developer Network", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can drop "Bitwise Operators |" -- should just read as "Mozilla Developer Network"
@Sayan98 this is now merged! It should be live on DuckDuckGo within one week (or during the next release) and we'll be sure to notify you when it happens. After your Instant Answer goes live for the World to use, you will be able to see traffic information about your IA as well as receive feedback directly from users. Please refer to the maintenance guide and docs to keep up with potential changes to your Instant Answer. Thank you again for your help! |
Background
Bitwise Operations Cheat Sheet
Instant Answer Page: https://duck.co/ia/view/bitwise_ops_cheat_sheet