Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

Release - August 25, 2012 "Did You See The Words?"

OpenStudy Feedback
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

Howdy hey hello. Included in the release today are a lot of tasty treats that we've been meaning to get to for a while now. Some are focused on performance, and some are new features. Changes: - The unseen question count (on the chat tabs) will now track the number of questions since you were last online. i.e., If you log off, next time you log back on you will see the number of questions posted since you logged off. - Text tool in drawings. Awww yeahh - Code block tags (see below) - Some fixes to polish up realtime changes. This fixes some issues on the profile page. - Some template reorganization which should hopefully result in quicker load times.
Code blocks are best explained by @farmdawgnation, the man behind the magic. ``` \` single line code surrounded by single ticks \` \`\`\`syntax code goes here \`\`\` ``` for example: ```javascript alert("i am a booyan!") ```
  • hba
^^ couldn't get this lol

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

er "close enough" \`\`\`javascript alert("booyan") \`\`\`
results in ```javascript alert("booyan") ```
|dw:1345928095212:dw|
Indeed. This is going to be useful for the computer science group. We support a handful of languages. HTML, JavaScript, XML, C, C++, Scala, Java, CoffeeScript, (I think) ObjectiveC, and maybe a few others. If there's demand for a language we don't support and the library we use has the ability to do it, we might roll it in as well.
Oh wow :D Awesome stuff
You can also, now provide a language and the library will try to guess. But don't be mad when it's wrong. :P
* not provide
|dw:1345928245328:dw|
  • hba
|dw:1345928377465:dw|
|dw:1345932520903:dw|
|dw:1345932731351:dw|
|dw:1345934356455:dw|
I was wondering, why not you guys add the "resizing" thing with this drawing attachment. Like let's say if we want to write simple short equation|dw:1345934506107:dw|I've showed the equation, but the extra space is too much which is of no use. If we shorten this out, it will look alot nicer. Is this possible?
I totally agree with adding that functionality.
Thanks @Hero .
I'm still unable to figure out how to use that javascript boxes.
|dw:1345935196228:dw|
|dw:1345935167516:dw|
How can we use those javascript boxes?
it's just a way to add syntax highlighting to code so it is easier to read. It's not just javascript either. \`type anything in ticks\` to become `type anything in ticks` \`\`\` or you can do three ticks to generate a block \`\`\` like so: ``` or you can do three ticks to generate a block ``` if you type a language immediately after the initial set of ticks, it will be highlighted using syntax parsing for that language \`\`\`javascript var f = function(argument1) { return "hoaah" } \`\`\`
``` Box test ``` `NO box test`
hmm the syntax highlighting actually doesn't seem to be working for me. we'll have to look into that.
`The best part i liked was, we can actually copy text from drawing potraits`
Yep! Only if your browser supports SVG though, so namely only Chrome, Firefox, Safari, Opera, etc. ;)
@mattfeury, you're showing us things about the drawing box we've never used before. I bet there's also a secret feature that allows us to add color to it.
|dw:1345939151101:dw|
`testing`
wow great :)
`kjkjkjkkj`
``` kjlkjkkjklkljkjkljkljkjkljlkjkljklj ljkllklkjkjklj
i'm not sure if this is going to work but i'm more interested in the code blocks so let's see if my test works :o `test`
awesome! :) you guys, are awesome! :)
now i miss giving 2 medals cos i'd want to give the devs medals lol :P oh well xD
`hey nice work ... ` |dw:1345951132381:dw|
|dw:1345951116275:dw|
|dw:1345953735226:dw|
` printf("Hello, World!") `
@farmdawgnation Thank you! I had personally waited for the code blocks. I made one for myself when these didn't exist. http://openstudy.com/study#/updates/501d0f45e4b0be43870def9c
` \[\text{We can explain LaTeX through these code blocks as well!} \] `
But can any1 tell me that how to insert blocks? ``` hi``` `hi`
Matt sir.. ? how to insert block?
Hit enter after each line. ``` var gizmo = function gadget(lobster, sauce) { return lobster + sauce; } ``` was made by typing: \`\`\` var gizmo = function gadget(lobster, sauce) { return lobster + sauce; } \`\`\`
``` I got it ```
``` var gizmo = function gadget(lobster, sauce) { return lobster + sauce; } ``` ``` I got it ```
``` Great work guys ```
|dw:1345987672979:dw|
```hello``` This doesn't work.
`This does, but I want that box. `
|dw:1345990026355:dw|
``` lol not that one this one Heehaw! :) ```
How u do that???
A simple \(\LaTeX\) program: ``` \[ \begin{array}{}Hi\\Hello \end{array}\] ``` \[\begin{array}{}Hi\\Hello \end{array}\]
``` ``` Insert stuff here ``` ``` @karatechopper That's how you do it.
``` This quick brown fox jumped over the lazy dog.This quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dogThis quick brown fox jumped over the lazy dog ```
`whoo` ``` yeaah ``` |dw:1346000278566:dw|
''
``````
i dont get it ..... can you dumb down the instructions a wee bit for the idiot challeneged?
```jlkjkljkj``
`kjkjlk`
it is ` not '
``
so it puts it in a textbox .....
how do you code up html and javascript with tics?
`|dw:1346004989512:dw|`
It's purely a formatting tool. It should also do syntax highlighting but that seems a little borked at the moment. single ticks (\`) are for single line code blocks triple ticks (\`\`\`) surround multiple lines.
lol, i put a drawing in a tic
so its just for displaying code blocks, and not a runtime event for the code ??
``` Checkbox ```
did i break the tics?
` his is going to be useful for the computer science group. We support a handful of languages. HTML, JavaScript, XML, C, C++, Scala, Java, CoffeeScript, (I think) ObjectiveC, and maybe a few others. If there's demand for a language we don't support and the library we use has the ability to do it, we might roll it in as well. `
Okay, that didn't work
correct. ``` \`\`\` Checkbox \`\`\` ``` note the newline after the initial set of ticks
I was trying to do what Libniz did
ahh, the "hit enter after each new line" instruction was hidden on page 34 of the indemnity clause .... lol
so, does this have any real world applications? ;)
you trying to get scroll bar?
|dw:1346005379482:dw|
the controls to move or resize the drawbox are sticky; they dont want to let go
just type bunch of text and use ```
``` his is going to be useful for the computer science group. We support a handful of languages. HTML, JavaScript, XML, C, C++, Scala, Java, CoffeeScript, (I think) ObjectiveC, and maybe a few others. If there's demand for a language we don't support and the library we use has the ability to do it, we might roll it in as well. ```
Didn't work
enter after ``` after entering text, enter then ```
``` his is going to be useful for the computer science group. We support a handful of languages. HTML, JavaScript, XML, C, C++, Scala, Java, CoffeeScript, (I think) ObjectiveC, and maybe a few others. If there's demand for a language we don't support and the library we use has the ability to do it, we might roll it in as well. ```
I'm slow
i couldnt get a good drag and drop to program up so i devised a sticky one, first click stuck it, second click unstuck it. This thing is just always stuck ....
how is putting code in a box different from just typing it out and hitting post? or is this to offset and augment it so that its seen as a "code block" as opposed to just normal typed up words ?
``` his is going to be useful for the computer science group. We support a handful of languages. HTML, JavaScript, XML, C, C++, Scala, Java, CoffeeScript, (I think) ObjectiveC, and maybe a few others. If there's demand for a language we don't support and the library we use has the ability to do it, we might roll it in as well. ```
That's great @Libniz. You can do it, but I can't :/
``` is there a vertical scroll limit? a b c d e f g h i j k l m n o p q r s t u v w x y z ```
Amistre is going to be the first to figure out all the tricks with this new feature.
so, there is no wordwrap ...
``` if we jsut type a long string of non carriage returned words, itll scroll off into center field so that we would have to use the bar underneath to view the entirety of the post .... ```
ill prolly be the first to break it :)
If you break it, you might break OS so don't do it.
`if we jsut type a long string of non carriage returned words, itll scroll off into center field so that we would have to use the bar underneath to view the entirety of the post ....`
do you still have your drawing tool? @amistre
```if we jsut type a long string of non carriage returned words, itll scroll off into center field so that we would have to use the bar underneath to view the entirety of the post ....```
well, that didnt scroll thru pictures :)
the first line is just the 3 tics, hit enter, type your long string of words, hit enter again, 3 tics, and post
amistre was trying to make a slide show.
i was :)
``` if we jsut type a long string of non carriage returned words, itll scroll off into center field so that we would have to use the bar underneath to view the entirety of the post .... ```
I told you I was slow. I need someone to spell things out for me exactly.
if we 1 tic it, type and 1tic, does it do the same?
` if we jsut type a long string of non carriage returned words, itll scroll off into center field so that we would have to use the bar underneath to view the entirety of the post .... `
No
`hickory wingspanory dock, the mouse ran up the clock, the clock struck one, the mouse said waht? and everyone left for the pub`
well, we cant curse in it .. thats nice
@Libniz , no i havent messed around with that thing since they came out with their own drawing tool
@Hero That's intentional. If we try to apply normal word-wrap semantics to code things get harder to read than if we just scroll the container. Using the preview people should be able to figure out how to format their blocks to avoid the horizontal scroll fairly easily.
Also, my syntax highlighting doesn't appear to be working 100% yet, but it's only in production that it's acting weird, so we'll be looking into that.
when i made my ColorMe by amistre64, i coded up such that the length of the string triggered a line return so that it word wrapped to a pretty good extent
im just curious if you intended to leave off a word wrap so that lines of code dont become ... shredded?
Yes, as I said above. If we were to apply normal semantics this... ```scala val someTemplate = Templates("templates-hidden" :: "awesomesauce" :: "something-else" :: Nil) openOr NodeSeq.Empty ```
Would get wrapped to ```scala val someTemplate = Templates("templates-hidden" :: "awesomesauce" :: "something-else" :: Nil) openOr NodeSeq.Empty ```
i believe i had used the begin and matrix, and when the count became like 25 it inputed the \\ for a new line :)
Whereas you might normally provide better semantics for wrapping. Also, it seems that our regular expressions aren't quite working how we expected. Multiple code blocks in one post don't play well. We're going to look into that as well.
... dont forget the sticky draw tool
I could have sworn there was already a website for posting code.
There is, but as many of our user have pointed out, different paste-bin like sites have different retention policies. Nothing is worse than trying to read through an old question involving code and realizing that the code was removed.
Sounds like some really great upgrades!!! I look forward to being able to use them especially typing in the drawing box!
|dw:1346049689233:dw|
'''code work'''
Wht is code work
Oh, also. I just fixed code highlighting. ```scala val apples = "Hello world!" ```
(You may need to reload your page to see the new stuff take effect.)
im not sure what it is im spose to be noticing as "highlighted". It still looks like words in a box even after a refresh
`var apples = "Rotten"`
ok, i see val is purple and hello world as green this time ...
@amistre64 what have u done to the little kids song??
can someone tell me how to highlight a text ?
|dw:1346171932302:dw|
|dw:1346171962815:dw|
How to make this gray box?? ( last made by @farmdawgnation ) @mathslover @ParthKohli plz tell :)
``` ``` Between these, write what you want. :)
``` Thanx Parth Sir !! ```
:p yw!
  • hba
``` I was also confused Thanks Pk :) ```
``` How did that become red? ```
Can we use LaTeX in this grey box or drawing ??
No.. :/
  • hba
``` Well i dont know :) ```
  • hba
``` :) <<< The reason ```
``` :):):P oh yes ```
Oh, I got it! ``` :)There's code highlighting too, so that is why the smiley makes it red. ```
``` :D :S :P ;) :) :\ ```
  • hba
``` I get it :D ```
Thanx Parth & hba :)
``` :D ```
\[\Huge \ddot \smile \]
  • hba
|dw:1346235034882:dw|
\(\Huge{\color{red}{\ddot{\smile}}}\)
  • hba
lol :)
|dw:1346235063062:dw|
  • hba
How did you get the smiley
\ddot \smile
  • hba
I see
  • hba
Thats Latex
yes
Wait if u want to know how they do just right click on LaTeX & then click show math as then click text commands @hba
  • hba
I know that lol ^^
so why did u ask lol :P
  • hba
i forgot in which brackets we close the {} << these i guess
looooool
Can somone plz tell me how to highlight ?
@ParthKohli @mathslover How to resize 'Code Block' ?? Please help :)
You don't need to resize it. It will scroll horizontally.
``` OK thank u:) ```

Not the answer you are looking for?

Search for more explanations.

Ask your own question