mattfeury
  • mattfeury
Release - August 25, 2012 "Did You See The Words?"
OpenStudy Feedback
katieb
  • katieb
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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

mattfeury
  • mattfeury
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.
mattfeury
  • mattfeury
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
  • hba
^^ couldn't get this lol

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

mattfeury
  • mattfeury
er "close enough" \`\`\`javascript alert("booyan") \`\`\`
mattfeury
  • mattfeury
results in ```javascript alert("booyan") ```
mattfeury
  • mattfeury
|dw:1345928095212:dw|
farmdawgnation
  • farmdawgnation
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.
Hero
  • Hero
Oh wow :D Awesome stuff
farmdawgnation
  • farmdawgnation
You can also, now provide a language and the library will try to guess. But don't be mad when it's wrong. :P
farmdawgnation
  • farmdawgnation
* not provide
farmdawgnation
  • farmdawgnation
|dw:1345928245328:dw|
hba
  • hba
|dw:1345928377465:dw|
anonymous
  • anonymous
|dw:1345932520903:dw|
karatechopper
  • karatechopper
|dw:1345932731351:dw|
saifoo.khan
  • saifoo.khan
|dw:1345934356455:dw|
saifoo.khan
  • saifoo.khan
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?
Hero
  • Hero
I totally agree with adding that functionality.
saifoo.khan
  • saifoo.khan
Thanks @Hero .
saifoo.khan
  • saifoo.khan
I'm still unable to figure out how to use that javascript boxes.
mattfeury
  • mattfeury
|dw:1345935196228:dw|
saifoo.khan
  • saifoo.khan
|dw:1345935167516:dw|
saifoo.khan
  • saifoo.khan
How can we use those javascript boxes?
mattfeury
  • mattfeury
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" } \`\`\`
saifoo.khan
  • saifoo.khan
``` Box test ``` `NO box test`
mattfeury
  • mattfeury
hmm the syntax highlighting actually doesn't seem to be working for me. we'll have to look into that.
saifoo.khan
  • saifoo.khan
`The best part i liked was, we can actually copy text from drawing potraits`
mattfeury
  • mattfeury
Yep! Only if your browser supports SVG though, so namely only Chrome, Firefox, Safari, Opera, etc. ;)
Hero
  • Hero
@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.
myininaya
  • myininaya
|dw:1345939151101:dw|
Nali
  • Nali
`testing`
Nali
  • Nali
wow great :)
anonymous
  • anonymous
`kjkjkjkkj`
anonymous
  • anonymous
``` kjlkjkkjklkljkjkljkljkjkljlkjkljklj ljkllklkjkjklj
sasogeek
  • sasogeek
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`
sasogeek
  • sasogeek
awesome! :) you guys, are awesome! :)
sasogeek
  • sasogeek
now i miss giving 2 medals cos i'd want to give the devs medals lol :P oh well xD
mathslover
  • mathslover
`hey nice work ... ` |dw:1345951132381:dw|
anonymous
  • anonymous
|dw:1345951116275:dw|
ParthKohli
  • ParthKohli
|dw:1345953735226:dw|
ParthKohli
  • ParthKohli
` printf("Hello, World!") `
ParthKohli
  • ParthKohli
@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
ParthKohli
  • ParthKohli
` \[\text{We can explain LaTeX through these code blocks as well!} \] `
mathslover
  • mathslover
But can any1 tell me that how to insert blocks? ``` hi``` `hi`
mathslover
  • mathslover
Matt sir.. ? how to insert block?
mattfeury
  • mattfeury
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; } \`\`\`
mathslover
  • mathslover
``` I got it ```
mathslover
  • mathslover
``` var gizmo = function gadget(lobster, sauce) { return lobster + sauce; } ``` ``` I got it ```
ash2326
  • ash2326
``` Great work guys ```
Compassionate
  • Compassionate
|dw:1345987672979:dw|
ParthKohli
  • ParthKohli
```hello``` This doesn't work.
ParthKohli
  • ParthKohli
`This does, but I want that box. `
karatechopper
  • karatechopper
|dw:1345990026355:dw|
ParthKohli
  • ParthKohli
``` lol not that one this one Heehaw! :) ```
karatechopper
  • karatechopper
How u do that???
ParthKohli
  • ParthKohli
A simple \(\LaTeX\) program: ``` \[ \begin{array}{}Hi\\Hello \end{array}\] ``` \[\begin{array}{}Hi\\Hello \end{array}\]
ParthKohli
  • ParthKohli
``` ``` Insert stuff here ``` ``` @karatechopper That's how you do it.
anonymous
  • anonymous
``` 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 ```
hawkfalcon
  • hawkfalcon
`whoo` ``` yeaah ``` |dw:1346000278566:dw|
amistre64
  • amistre64
''
amistre64
  • amistre64
``````
amistre64
  • amistre64
i dont get it ..... can you dumb down the instructions a wee bit for the idiot challeneged?
anonymous
  • anonymous
```jlkjkljkj``
anonymous
  • anonymous
`kjkjlk`
anonymous
  • anonymous
it is ` not '
amistre64
  • amistre64
``
amistre64
  • amistre64
so it puts it in a textbox .....
amistre64
  • amistre64
how do you code up html and javascript with tics?
amistre64
  • amistre64
`|dw:1346004989512:dw|`
mattfeury
  • mattfeury
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.
amistre64
  • amistre64
lol, i put a drawing in a tic
amistre64
  • amistre64
so its just for displaying code blocks, and not a runtime event for the code ??
amistre64
  • amistre64
``` Checkbox ```
amistre64
  • amistre64
did i break the tics?
Hero
  • Hero
` 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. `
Hero
  • Hero
Okay, that didn't work
mattfeury
  • mattfeury
correct. ``` \`\`\` Checkbox \`\`\` ``` note the newline after the initial set of ticks
Hero
  • Hero
I was trying to do what Libniz did
amistre64
  • amistre64
ahh, the "hit enter after each new line" instruction was hidden on page 34 of the indemnity clause .... lol
amistre64
  • amistre64
so, does this have any real world applications? ;)
anonymous
  • anonymous
you trying to get scroll bar?
amistre64
  • amistre64
|dw:1346005379482:dw|
amistre64
  • amistre64
the controls to move or resize the drawbox are sticky; they dont want to let go
Hero
  • Hero
anonymous
  • anonymous
just type bunch of text and use ```
Hero
  • Hero
``` 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. ```
Hero
  • Hero
Didn't work
anonymous
  • anonymous
enter after ``` after entering text, enter then ```
Hero
  • Hero
``` 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. ```
Hero
  • Hero
I'm slow
amistre64
  • amistre64
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 ....
amistre64
  • amistre64
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 ?
anonymous
  • anonymous
``` 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. ```
Hero
  • Hero
That's great @Libniz. You can do it, but I can't :/
amistre64
  • amistre64
``` 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 ```
Hero
  • Hero
Amistre is going to be the first to figure out all the tricks with this new feature.
amistre64
  • amistre64
so, there is no wordwrap ...
amistre64
  • amistre64
``` 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 .... ```
amistre64
  • amistre64
ill prolly be the first to break it :)
Hero
  • Hero
If you break it, you might break OS so don't do it.
Hero
  • Hero
`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 ....`
anonymous
  • anonymous
do you still have your drawing tool? @amistre
Hero
  • Hero
```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 ....```
amistre64
  • amistre64
well, that didnt scroll thru pictures :)
amistre64
  • amistre64
the first line is just the 3 tics, hit enter, type your long string of words, hit enter again, 3 tics, and post
Hero
  • Hero
amistre was trying to make a slide show.
amistre64
  • amistre64
i was :)
Hero
  • Hero
``` 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 .... ```
Hero
  • Hero
I told you I was slow. I need someone to spell things out for me exactly.
amistre64
  • amistre64
if we 1 tic it, type and 1tic, does it do the same?
Hero
  • Hero
` 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 .... `
Hero
  • Hero
No
amistre64
  • amistre64
`hickory wingspanory dock, the mouse ran up the clock, the clock struck one, the mouse said waht? and everyone left for the pub`
amistre64
  • amistre64
well, we cant curse in it .. thats nice
amistre64
  • amistre64
@Libniz , no i havent messed around with that thing since they came out with their own drawing tool
farmdawgnation
  • farmdawgnation
@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.
farmdawgnation
  • farmdawgnation
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.
amistre64
  • amistre64
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
amistre64
  • amistre64
im just curious if you intended to leave off a word wrap so that lines of code dont become ... shredded?
farmdawgnation
  • farmdawgnation
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 ```
farmdawgnation
  • farmdawgnation
Would get wrapped to ```scala val someTemplate = Templates("templates-hidden" :: "awesomesauce" :: "something-else" :: Nil) openOr NodeSeq.Empty ```
amistre64
  • amistre64
i believe i had used the begin and matrix, and when the count became like 25 it inputed the \\ for a new line :)
farmdawgnation
  • farmdawgnation
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.
amistre64
  • amistre64
... dont forget the sticky draw tool
Hero
  • Hero
I could have sworn there was already a website for posting code.
farmdawgnation
  • farmdawgnation
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.
anonymous
  • anonymous
Sounds like some really great upgrades!!! I look forward to being able to use them especially typing in the drawing box!
anonymous
  • anonymous
|dw:1346049689233:dw|
TheViper
  • TheViper
'''code work'''
TheViper
  • TheViper
Wht is code work
farmdawgnation
  • farmdawgnation
Oh, also. I just fixed code highlighting. ```scala val apples = "Hello world!" ```
farmdawgnation
  • farmdawgnation
(You may need to reload your page to see the new stuff take effect.)
amistre64
  • amistre64
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
amistre64
  • amistre64
`var apples = "Rotten"`
amistre64
  • amistre64
ok, i see val is purple and hello world as green this time ...
karatechopper
  • karatechopper
@amistre64 what have u done to the little kids song??
Nali
  • Nali
can someone tell me how to highlight a text ?
ParthKohli
  • ParthKohli
|dw:1346171932302:dw|
ParthKohli
  • ParthKohli
|dw:1346171962815:dw|
TheViper
  • TheViper
How to make this gray box?? ( last made by @farmdawgnation ) @mathslover @ParthKohli plz tell :)
ParthKohli
  • ParthKohli
``` ``` Between these, write what you want. :)
TheViper
  • TheViper
``` Thanx Parth Sir !! ```
ParthKohli
  • ParthKohli
:p yw!
hba
  • hba
``` I was also confused Thanks Pk :) ```
ParthKohli
  • ParthKohli
``` How did that become red? ```
TheViper
  • TheViper
Can we use LaTeX in this grey box or drawing ??
ParthKohli
  • ParthKohli
No.. :/
hba
  • hba
``` Well i dont know :) ```
hba
  • hba
``` :) <<< The reason ```
TheViper
  • TheViper
``` :):):P oh yes ```
ParthKohli
  • ParthKohli
Oh, I got it! ``` :)There's code highlighting too, so that is why the smiley makes it red. ```
TheViper
  • TheViper
``` :D :S :P ;) :) :\ ```
hba
  • hba
``` I get it :D ```
TheViper
  • TheViper
Thanx Parth & hba :)
TheViper
  • TheViper
``` :D ```
ParthKohli
  • ParthKohli
\[\Huge \ddot \smile \]
hba
  • hba
|dw:1346235034882:dw|
TheViper
  • TheViper
\(\Huge{\color{red}{\ddot{\smile}}}\)
hba
  • hba
lol :)
TheViper
  • TheViper
|dw:1346235063062:dw|
hba
  • hba
How did you get the smiley
ParthKohli
  • ParthKohli
\ddot \smile
hba
  • hba
I see
hba
  • hba
Thats Latex
ParthKohli
  • ParthKohli
yes
TheViper
  • TheViper
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
  • hba
I know that lol ^^
TheViper
  • TheViper
so why did u ask lol :P
hba
  • hba
i forgot in which brackets we close the {} << these i guess
TheViper
  • TheViper
looooool
Nali
  • Nali
Can somone plz tell me how to highlight ?
TheViper
  • TheViper
@ParthKohli @mathslover How to resize 'Code Block' ?? Please help :)
farmdawgnation
  • farmdawgnation
You don't need to resize it. It will scroll horizontally.
TheViper
  • TheViper
``` OK thank u:) ```

Looking for something else?

Not the answer you are looking for? Search for more explanations.