« first day (273 days earlier)      last day (57 days later) » 

12:58 AM
0
A: Mathematica proposal has disappeared

yodaA case for the Mathematica proposal I find Robert Cartaino's answer highly unsatisfactory and epitomizes the typical "meh" responses that are doled out on Area 51. It's unfair to criticize proposals for languishing on Area 51, when the voting process was clunky to begin with. Mathematica was one...

5
Pretty long winded, but let me know what you think
 
acl
1:22 AM
@yoda that sums it up pretty well.
 
Oh wow there are people in here, the last few times I poked in it was empty.
and I recognize 2 of you :)
 
acl
@nixeagle a crowd really
 
So uh I guess I have to ask what the chat for the tag is for, and would it be appropriate to ask how to check up on it other then to open it up in one's browser? Are there some clients to stack overflow's chat similar to IRC?
 
acl
about the client, that's a good question.
 
1:37 AM
And wow, I'd love a mathematica SO site :o
Then stuff like this: stackoverflow.com/questions/8426606/… won't get closed
 
1:50 AM
I don't think there's a client for Stack Overflow chat. A lot of people have requested it, but there isn't oen
@nixeagle The chat has a transcript that you can access here that way you can read what's there without having to actually enter the room. However, I don't think you can get the messages pushed to you like RSS etc
 
Oh hey cool! :)
 
 
2 hours later…
3:49 AM
@yoda Great response. My only beef: Can you make the pretty graphs a bit bigger? Or at least make the text bigger? I can't really see what's in them.
 
4:08 AM
@yoda that was awesome.
@nixeagle - maybe leave an answer or comment on that discussion so that the admins realise that there were others that hadn't yet heard about the proposal
 
@MikeBantegui d'oh... Thought that might happen. I mentioned it in the text:
> "We have 4 sets - Programming, Mathematics, Science/Engineering and Mathematica"
I also see a couple of typos. I'll edit it with bigger fonts and fix the typos when I make an edit (presumably in response to a reply from Robert)
btw, can someone star the link to my answer? I'd like more mma users to see that and weigh in on Area 51 and I'd rather it not get lost in the chatter here...
 
4:28 AM
@yoda Done. I wish I heard about the proposal sooner.
 
5:25 AM
And done Verbela
and hi mike, I've seen your face around the tag a few times :)
 
Hello :) Likewise, I forget where exactly.
Quick question, would you happen to know if there's an easy way of checking if a Parallel Kernel is alive or not?
 
mike nope! :(
 
Drat. I'm working on making a "Safe Evaluation" function.
I'm about to post an answer to see if I can extend it to asynchronous evaluation.
 
I have not even started to look into that feature yet :). I'm mostly messing with the OEIS (and a package for that) along with trying my hand at a cpu emulator inside MMA for teaching purposes (showing the state of the machine after various steps)
 
I'm sick of evaluating a cell and then realizing it's going to take a few minutes to finish, then wanting to go do something else while Mathematica is chugging away.
Hm. CPU emulator sounds pretty cool.
 
5:30 AM
yeah, though it has been a struggle to figure out the data structures and whatnot for it to run in sensible time ;). Though I'm pretty well on my way wrt that.
The fact that MMA is basically a gigantic pattern matcher gets in the way x)
 
Yeah.. I love and hate feature that a lot.
Sometimes it's an absolute blessing, other times it's a pain to work with.
 
same
What I'd give for Compile[] to allow manipulating symbols...
 
Maybe one day they'll allow that.
 
Yea. I'm just happy that I figured out how to make a keyboard shortcut for re-running initialization cells today. Very useful for package development. Save the package, control + alt + i in my test notebook and my package changes are there! Yey SO :).
 
How do you do that?
 
5:39 AM
(* Evaluate Initialization Cells: Real useful for reloading library changes. *)

`Item[KeyEvent["i", Modifiers -> {Control, Command}],
FrontEndExecute[
FrontEndToken[
SelectedNotebook[],
"EvaluateInitialization"]]],`
in your KeyEventTranslations.tr
Got the idea from a couple stack overflow questions talking about how to modify keyboard shortcuts in the frontend.
 
Cool. I actually was wishing there was a way to do this a few months ago.
 
(* Evaluate Initialization Cells: Real useful for reloading library changes. *)

    Item[KeyEvent["i", Modifiers -> {Control, Command}],
	    FrontEndExecute[
		    FrontEndToken[
			    SelectedNotebook[],
				"EvaluateInitialization"]]],
there
 
Thanks! Just added it, very handy shortcut.
 
welcome :). I'm tempted to ask a question with this as an answer but I'm pretty sure that would be offtopic for SO. One of the reasons I'd love this mathematica version of SO ;)
 
Agreed. Why not add it to the Mathematica tool bag question?
 
5:51 AM
oh good idea.
Of course the whole toolbag thing is a hack now that I learned about this SO proposal.
 
I hope the proposal gets somewhere. The Mathematica community on SO is great, but it could be so much more.
 
6:05 AM
There mike, I wrote up a fairly detailed 'answer' explaining the keyboard shortcut. stackoverflow.com/a/8515823/439902
(plus giving credit where credit is due to Leonid for his awesome PackageManipulations library)
 
Very nice.
I think I'm going insane.
 
6:39 AM
Is this where you hatch plans for world domination?
 
@MikeHoneychurch Curses! How did you know?
 
:) just thought I'd check this area out and report back to Langley.
On a more mma note: people have been writing about key event translations for years but is there a similar thing for the contextual menu?
In other words can that be hacked?
 
Hmm..
I'm not sure, I barely know anything about how events work in Mathematica.
Quick google isn't turning up any results.
 
there is a whole stack of notebooks similar to the key events translation one. it might be one of those but that means scouring through directories
 
Oh wait a second.
 
6:44 AM
Found the directory but nothing there indicating contextual menus. Might be worth a question
 
There's something called "ContextMenus.tr"
SystemFiles/FrontEnd/TextResources
I have no idea if that's any use.
 
ah, one level back from the key events file
 
It looks like you can hack around in it.
 
Lots of "&" in unusual places
 
I think it's for the keyboard shortcut.
Cu&t, for example, would allow you to press the "t" key if it works the way I think it does.
 
6:48 AM
looks useful. I tend to use the contextual menus more than key strokes
 
Bingo. It works. I just made a change and it worked.
 
What would be useful is a way to trigger the HyperLink contextual menu item
instead of right click, select Hyperlink...
Because I like to link to the sources of things.
 
For a text cell?
 
right click is too many steps?? :)
 
mike, means using the mouse.
and mike yea, Alt + 7 style cell
select the word you want to hyperlink, right click and select hyperlink
 
6:51 AM
Ah, I see what you mean.
 
(If I'm writing text, I really don't want to have to move my hands off the keyboard...)
 
Well insidke of the ContextMenu.tr file, it's triggered as MenuItem["Make &Hyperlink...", "CreateHyperlinkDialog"]
 
in that case there is always the key combination
 
such a thing exists? and very nice mike. So I'm guessing I can do something with that in KeyEventTranslations.tr?
 
Probably.
 
6:52 AM
I'm not really following what black magic you are doing, but I saw context mentioned ;)
 
on a mac it is shift cloverleaf H
 
mike oh? Wow. Shift + control does it
 
Look at that.
 
well for me shift + capslock, but I degress. (emacs user here, remapped capslock to control)
Now why did I never see this in the documentation ... :( I hunted around for this for 15 mins or so before giving up.
 
Alright, I'm going to go get some shut eye. Need to wake up in 6ish hours for a final exam.
 
6:55 AM
good luck
 
same good luck :)
 
time for me to do some work. bye
 
Thanks, take care guys!
 
7:14 AM
@Mike Bantegui wrote: "Is it just me or does Mathematica have a lot of answers which read like "Here's code that fixes that: ..."?" I am surely a prime offender in that regard. Leonid on the other hand tends to write a short paper for each of his answers. I don't believe I can rise to that level, but I can try to improve. Let me take your "black magic" answer as an example. How much and of what kind of explanation would you like me to include?
Walking step by step through the code seems redundant for anyone familiar with Mathematica other than perhaps the infix thing, and I am not sure my description of the method would be more clear and exact than the code itself.
 
 
9 hours later…
4:17 PM
@MrWizard, I am a huge fan of using the "grawlix" to make compact Mathematica code. But I find it is quite difficult to explain to others. On the other hand, if you minimize the grawlix and indent a lot, the code becomes more self-documenting.
Round[
Ordering[
RandomReal[1, #]
]/N[#]
] &[500]
 

« first day (273 days earlier)      last day (57 days later) »