Reputation
5,983
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 24 64
Newest
 Yearling
Impact
~198k people reached

Jan
26
comment Display position of expression as Tooltip
Looks good ! Thanks
Jan
26
comment Display position of expression as Tooltip
I realized with your answer, it would be quite practical if MapAt had the position in #2 as argument similarly to MapIndexed. Maybe one day, or maybe not, as maybe this could have an impact on performance, I don't know.
Jan
25
comment Display position of expression as Tooltip
This is very impressive. I modified your function to suit what I wanted, ie to get the position of any component of an expression represented in FullForm: labelPositions[graphics_] := Fold[Function[{plot, pos}, MapAt[Tooltip[#, pos] &, plot, pos]], graphics, Position[graphics, x_, Infinity]]
Jan
8
comment Wolfram Workbench Installation on Windows 10
Install mm 9 first, it works then. Given the importance of workbench for complex projects i hope this issue will be fixed one day. mathematica.stackexchange.com/q/69567/66
Jan
1
comment Graph databases / Nosql with Mathematica
Nice! Couchbase is very good also especially since the introduction of N1QL, I switched to it recently from MongoDb. In case you happen to use it, I wish to see a similar driver for it! Thanks again
Dec
27
comment Plotting a DateListPlot and a CandleStickChart together
That's amazing. Thank you, you become the accepted answer.
Dec
27
comment Plotting a DateListPlot and a CandleStickChart together
Thank you, simple and effective !
Dec
24
comment How to make a dynamic nested menu?
Also in Windows, menus usually disappear when clicking outside of the menu, once a menu has started to be displayed. In your code the menu closes after the mouse gets out of the menu area. These comments are just suggestions, I know it must be hard. Thank you !
Dec
24
comment How to make a dynamic nested menu?
This is a very interesting code. Would it be possible to have the top element of the menu react just when pressing it down? It reacts just with a MouseOver. This is an "intuitive" behaviour for submenus, but "intuitively" I would expect the top element to react with a MouseDown.
Dec
13
comment Graph databases / Nosql with Mathematica
I don't think it would be possible with Mongo as it doesn't have a SQL like language. With Couchbase it seems to be possible simba.app.box.com/couchbasebeta , blog.couchbase.com/…
Dec
12
comment Graph databases / Nosql with Mathematica
I've switched to Couchbase recently, it's similar to MongoDB but better (for me). It's much faster on a Windows machine and there's a query language called N1QL that is an SQL adapted to documents. The same ideas as in my post above can be used for this db.
Dec
7
comment Backquote in string template?
Yes, it's the same idea as Kuba in TemplateApply["`a``input``a`", <|"a" -> "`", "input" -> 2|>]. I think it's the easiest and most flexible answer.
Dec
6
comment Backquote in string template?
I've encountered such problems by building SQL queries where backquotes are necessary sometimes.
Dec
6
comment Backquote in string template?
"``Jupiter` is heavy`" as output
Dec
6
comment Backquote in string template?
That's clever, but it doesn't work if you need to insert an argument inside backquotes. For example ``planet` is heavy`
Dec
6
comment Backquote in string template?
indeed this would be the real way to escape, but I still prefer your answer with a, it makes the template easier to understand, and this is what matters.
Dec
6
comment Backquote in string template?
I think your first suggestion is the most practical.
Dec
6
comment Backquote in string template?
Ok so it seems I'm not missing anything, it's more a design issue. Hopefully it will be solved at some point. I could do any ad hoc solution, this is not the problem, it's more that I wanted to be sure there isn't an elegant solution to the problem, like a simple escape of the backquote.
Dec
6
comment Backquote in string template?
No it doesn't I've tried.
Dec
6
comment Backquote in string template?
This wouldn't work in a real case with several arguments as I wouldn't want to put backquotes everywhere. I'm looking for a way to escape the backquote character.