A community for students.
Here's the question you clicked on:
 0 viewing
mattfeury
 2 years ago
Release  August 25, 2012
"Did You See The Words?"
mattfeury
 2 years ago
Release  August 25, 2012 "Did You See The Words?"

This Question is Closed

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12Howdy 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
 2 years ago
Best ResponseYou've already chosen the best response.12Code 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!") ```

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12er "close enough" \`\`\`javascript alert("booyan") \`\`\`

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12results in ```javascript alert("booyan") ```

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12dw:1345928095212:dw

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4Indeed. 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.

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4You can also, now provide a language and the library will try to guess. But don't be mad when it's wrong. :P

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4dw:1345928245328:dw

karatechopper
 2 years ago
Best ResponseYou've already chosen the best response.0dw:1345932731351:dw

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1dw:1345934356455:dw

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1I 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 equationdw:1345934506107:dwI'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
 2 years ago
Best ResponseYou've already chosen the best response.0I totally agree with adding that functionality.

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1I'm still unable to figure out how to use that javascript boxes.

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12dw:1345935196228:dw

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1dw:1345935167516:dw

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1How can we use those javascript boxes?

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12it'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
 2 years ago
Best ResponseYou've already chosen the best response.1``` Box test ``` `NO box test`

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12hmm the syntax highlighting actually doesn't seem to be working for me. we'll have to look into that.

saifoo.khan
 2 years ago
Best ResponseYou've already chosen the best response.1`The best part i liked was, we can actually copy text from drawing potraits`

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12Yep! Only if your browser supports SVG though, so namely only Chrome, Firefox, Safari, Opera, etc. ;)

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0@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
 2 years ago
Best ResponseYou've already chosen the best response.0dw:1345939151101:dw

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0``` kjlkjkkjklkljkjkljkljkjkljlkjkljklj ljkllklkjkjklj

sasogeek
 2 years ago
Best ResponseYou've already chosen the best response.0i'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
 2 years ago
Best ResponseYou've already chosen the best response.0awesome! :) you guys, are awesome! :)

sasogeek
 2 years ago
Best ResponseYou've already chosen the best response.0now i miss giving 2 medals cos i'd want to give the devs medals lol :P oh well xD

mathslover
 2 years ago
Best ResponseYou've already chosen the best response.0`hey nice work ... ` dw:1345951132381:dw

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1dw:1345953735226:dw

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1` printf("Hello, World!") `

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1@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
 2 years ago
Best ResponseYou've already chosen the best response.1` \[\text{We can explain LaTeX through these code blocks as well!} \] `

mathslover
 2 years ago
Best ResponseYou've already chosen the best response.0But can any1 tell me that how to insert blocks? ``` hi``` `hi`

mathslover
 2 years ago
Best ResponseYou've already chosen the best response.0Matt sir.. ? how to insert block?

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12Hit 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
 2 years ago
Best ResponseYou've already chosen the best response.0``` var gizmo = function gadget(lobster, sauce) { return lobster + sauce; } ``` ``` I got it ```

ash2326
 2 years ago
Best ResponseYou've already chosen the best response.0``` Great work guys ```

Compassionate
 2 years ago
Best ResponseYou've already chosen the best response.0dw:1345987672979:dw

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1```hello``` This doesn't work.

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1`This does, but I want that box. `

karatechopper
 2 years ago
Best ResponseYou've already chosen the best response.0dw:1345990026355:dw

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1``` lol not that one this one Heehaw! :) ```

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1A simple \(\LaTeX\) program: ``` \[ \begin{array}{}Hi\\Hello \end{array}\] ``` \[\begin{array}{}Hi\\Hello \end{array}\]

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1``` ``` Insert stuff here ``` ``` @karatechopper That's how you do it.

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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
 2 years ago
Best ResponseYou've already chosen the best response.0`whoo` ``` yeaah ``` dw:1346000278566:dw

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0'<input type=button value="button">'

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0```<input type=button value="button">```

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0i dont get it ..... can you dumb down the instructions a wee bit for the idiot challeneged?

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0`<input type=button value="button">`

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0so it puts it in a textbox .....

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0how do you code up html and javascript with tics?

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0`dw:1346004989512:dw`

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12It'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
 2 years ago
Best ResponseYou've already chosen the best response.0lol, i put a drawing in a tic

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0so its just for displaying code blocks, and not a runtime event for the code ??

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0```<html> <body> <input type=checkbox value="chk1">Checkbox </body> </html> ```

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0did i break the tics?

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0` 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. `

mattfeury
 2 years ago
Best ResponseYou've already chosen the best response.12correct. ``` \`\`\` <html> <body> <input type=checkbox value="chk1">Checkbox </body> </html> \`\`\` ``` note the newline after the initial set of ticks

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0I was trying to do what Libniz did

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0ahh, the "hit enter after each new line" instruction was hidden on page 34 of the indemnity clause .... lol

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0so, does this have any real world applications? ;)

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0you trying to get scroll bar?

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0dw:1346005379482:dw

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0the controls to move or resize the drawbox are sticky; they dont want to let go

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0just type bunch of text and use ```

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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. ```

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0enter after ``` after entering text, enter then ```

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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. ```

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0i 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
 2 years ago
Best ResponseYou've already chosen the best response.0how 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 ?

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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
 2 years ago
Best ResponseYou've already chosen the best response.0That's great @Libniz. You can do it, but I can't :/

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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
 2 years ago
Best ResponseYou've already chosen the best response.0Amistre is going to be the first to figure out all the tricks with this new feature.

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0so, there is no wordwrap ...

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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
 2 years ago
Best ResponseYou've already chosen the best response.0ill prolly be the first to break it :)

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0If you break it, you might break OS so don't do it.

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0`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 ....`

Libniz
 2 years ago
Best ResponseYou've already chosen the best response.0do you still have your drawing tool? @amistre

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0```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
 2 years ago
Best ResponseYou've already chosen the best response.0well, that didnt scroll thru pictures :)

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0the first line is just the 3 tics, hit enter, type your long string of words, hit enter again, 3 tics, and post

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0amistre was trying to make a slide show.

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0``` 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
 2 years ago
Best ResponseYou've already chosen the best response.0I told you I was slow. I need someone to spell things out for me exactly.

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0if we 1 tic it, type and 1tic, does it do the same?

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0` 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
 2 years ago
Best ResponseYou've already chosen the best response.0`hickory wingspanory dock, the mouse ran up the clock, the clock struck one, the mouse said waht? and everyone left for the pub`

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0well, we cant curse in it .. thats nice

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0@Libniz , no i havent messed around with that thing since they came out with their own drawing tool

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4@Hero That's intentional. If we try to apply normal wordwrap 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
 2 years ago
Best ResponseYou've already chosen the best response.4Also, 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
 2 years ago
Best ResponseYou've already chosen the best response.0when 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
 2 years ago
Best ResponseYou've already chosen the best response.0im just curious if you intended to leave off a word wrap so that lines of code dont become ... shredded?

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4Yes, as I said above. If we were to apply normal semantics this... ```scala val someTemplate = Templates("templateshidden" :: "awesomesauce" :: "somethingelse" :: Nil) openOr NodeSeq.Empty ```

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4Would get wrapped to ```scala val someTemplate = Templates("templateshidden" :: "awesomesauce" :: "somethingelse" :: Nil) openOr NodeSeq.Empty ```

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0i believe i had used the begin and matrix, and when the count became like 25 it inputed the \\ for a new line :)

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4Whereas 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
 2 years ago
Best ResponseYou've already chosen the best response.0... dont forget the sticky draw tool

Hero
 2 years ago
Best ResponseYou've already chosen the best response.0I could have sworn there was already a website for posting code.

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4There is, but as many of our user have pointed out, different pastebin 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.

MathBlonde
 2 years ago
Best ResponseYou've already chosen the best response.0Sounds like some really great upgrades!!! I look forward to being able to use them especially typing in the drawing box!

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4Oh, also. I just fixed code highlighting. ```scala val apples = "Hello world!" ```

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4(You may need to reload your page to see the new stuff take effect.)

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0im 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
 2 years ago
Best ResponseYou've already chosen the best response.0`var apples = "Rotten"`

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0ok, i see val is purple and hello world as green this time ...

karatechopper
 2 years ago
Best ResponseYou've already chosen the best response.0@amistre64 what have u done to the little kids song??

Nali
 2 years ago
Best ResponseYou've already chosen the best response.0can someone tell me how to highlight a text ?

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1dw:1346171932302:dw

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1dw:1346171962815:dw

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0How to make this gray box?? ( last made by @farmdawgnation ) @mathslover @ParthKohli plz tell :)

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1``` ``` Between these, write what you want. :)

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0``` Thanx Parth Sir !! ```

hba
 2 years ago
Best ResponseYou've already chosen the best response.0``` I was also confused Thanks Pk :) ```

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1``` How did that become red? ```

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0Can we use LaTeX in this grey box or drawing ??

hba
 2 years ago
Best ResponseYou've already chosen the best response.0``` Well i dont know :) ```

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1Oh, I got it! ``` :)There's code highlighting too, so that is why the smiley makes it red. ```

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0``` :D :S :P ;) :) :\ ```

ParthKohli
 2 years ago
Best ResponseYou've already chosen the best response.1\[\Huge \ddot \smile \]

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0\(\Huge{\color{red}{\ddot{\smile}}}\)

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0Wait if u want to know how they do just right click on LaTeX & then click show math as then click text commands @hba

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0so why did u ask lol :P

hba
 2 years ago
Best ResponseYou've already chosen the best response.0i forgot in which brackets we close the {} << these i guess

Nali
 2 years ago
Best ResponseYou've already chosen the best response.0Can somone plz tell me how to highlight ?

TheViper
 2 years ago
Best ResponseYou've already chosen the best response.0@ParthKohli @mathslover How to resize 'Code Block' ?? Please help :)

farmdawgnation
 2 years ago
Best ResponseYou've already chosen the best response.4You don't need to resize it. It will scroll horizontally.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.