« first day (832 days earlier)      last day (3658 days later) » 

1:05 AM
@halirutan Do you have any experience with a Mathematica code highlighter for Joomla websites?
 
 
2 hours later…
2:58 AM
Latest in my world of W/Rpi: Speech recognition software used to tell an RPi to recite periodic table fun facts extracted from the curated datasets. Professors are one step closer to being replaced by $35 computers.
 
3:28 AM
@Szabolcs: repDiag[array_, ele_: 0] :=
With[{id = IdentityMatrix[Dimensions@array]},
If[ele == 0, array*BitXor[1, id],
array*BitXor[1, id] + id*ele]]
 
3:54 AM
@JacobAkkerboom Concerning your statement a couple of days ago about whether I thought combining Dynamics and ScheduledTasks were a good idea...it's something we do internally and not something I have a fundamental problem with. I'd advise caution, simply because the combination can give you more rope to hang yourself, but used well the combination could be powerful.
 
 
4 hours later…
7:25 AM
I have a problem with LaTeX, or my friend does. He is exporting a notebook to tex but generated eps. files are useless, moreover MMA terminates the session when he is trying to import those eps. to MMA. Only "Image" part is available, but it is a rasterized part...

The quesiton is, how to export notebook do tex while all graphics to pdf. not to eps.
 
zab
@Kuba, hello
No idea how to export, but I sent you an email about something else.
 
@zab Hi :)
I will take a look in a moment
 
7:51 AM
@Kuba It's probably a waste of time to try and figure that out. Just convert to TeX + EPS, edit the .tex file to add one line to the preamble: \usepackage{epstopdf} (get it here) and then use pdflatex or xelatex to compile.
 
8:01 AM
@rm-rf I was aware of that method but now I'm aware that this is the best way to go so thank you. I was wondering if there is some kind of "format target option" for graphics like matML for math formulas etc for html.
 
zab
@Kuba, cool. Let me know what you think re. my email.
 
8:19 AM
@zab Reply on it's way, check your mail :)
 
 
2 hours later…
10:10 AM
@bobthechemist Yep. It's running on my website although I haven't published any page who uses it yet.
 
10:54 AM
@bobthechemist I used the JPrettify plugin for Joomla and copied lang-mma.js to the appropriate folder before installing it. After that you just have to use a special pre tag to mark code you want to highlight.
It should then look like this example on my page.
 
11:30 AM
@halirutan Thanks.
 
@bobthechemist No problem.
 
11:44 AM
Can someone upvote this for the record? mathematica.stackexchange.com/a/47007/5478
 
@Kuba Such a rep beggar! ;)
 
@belisarius ;p
oh, I didn't know that one may get a badge for CW answer.
@belisarius it seems I'm going to beg more :p
 
@Kuba The mark of the beast
 
:)
 
12:27 PM
@halirutan did you try to CopyToClipboard issue? :)
 
@Öskå Ahh, damn.. I forgot it and now I'm at the office (agaaain)..
 
mh, next time I will ping you at night then ;o) Hopefully you don't work at night :)
 
@Öskå I made a note so I won't forget it.
 
Thanks! here was the issue :)
 
12:45 PM
Can you guys reproduce this strange behaviour?
0
Q: FlipView Alignment problem

KubaHere's the problem with MWE: Framed[ FlipView[Framed /@ {100, 1}, Alignment -> Center] , ImageSize -> {100, 150}, Alignment -> Center] I find the following behaviour unexpected, undesired, possible bug: while mouse key is pressed now visible next object left edge is aligned to c...

 
 
2 hours later…
3:05 PM
@Kuba yes, it is reproducible on OS X v9.0.0.0. I don't know if WRI would call it a bug or if it's just a case of "that's how we designed it" even if it seems like a poor design.
 
3:46 PM
@Pickett Thanks :) yes, last time with similar case I get an answer "I would not call it bug, it's just odd" :p
 
4:17 PM
@Kuba A bug is a feature by another name
 
@belisarius
http://geekwhisperin.files.wordpress.com/2009/09/bug-vs-feature.jpg
5
 
@Kuba Ha!
 
 
2 hours later…
6:12 PM
The first of may approaching quick... where is my Mma 10? Is this the mythical man-month at work?
 
6:38 PM
@halirutan if this performance with so many blurred objects is available in MMA, I can die in peace. workshop.chromeexperiments.com/stars/…
 
 
1 hour later…
8:02 PM
@Kuba Just awesome.. especially that it runs in my browser.
 
@halirutan how it's done, in javascript? I have no idea about programming.
 
8:34 PM
@Kuba Yes, i think so and a quick look at the page reveals a lot of JS:
 
8:56 PM
There's an article on how he made it here. The core library is three.js which is a wrapper for WebGL. WebGL in turn is implemented in browsers so it can use various optimizations that the browser couldn't have used if it was just parsing client side javascript. Stuff like this really makes me think I should start studying front end technologies again, since it is clearly how user interfaces will be built in the future. :)
 
@Pickett me too :)
@Pickett @halirutan
GUI in this site is what I like too
 
@Kuba Doesn't take more time to learn than Mathematica either but the problem is I have no reason to play with Javascript. Mathematica I can use to study different things...
@Kuba That GUI uses jQuery, that is a library I do know :D
 
@Kuba It's not working in Firefox for me, but the video looks cool. When any language makes a generatePersonalizedStemCellAndDrugTherapies(myDNA) function available, I'll be able to not die in peace.
 
9:13 PM
@Pickett The reason is: because it is cool and interactive visualisations are cool
:)
@MichaelHale I wish you luck but it will not help you with accidents :)
 
@Öskå You around?
When I run CopyToClipboard@"Hello"; Paste[] it works even the first time
 
@Kuba It's not a guarantee, but there are rewards along the biotech path before the ability to avoid dying. Glow in the dark plants, grass that doesn't need to be cut, exotic pets and foods, brain-computer interfaces, metal-harvesting plants, etc.
Bringing back the woolly mammoth.
 
9:45 PM
@halirutan but when you run CopyToClipboard@"hello" does it work?
 
Yes, I can instantly insert it anywhere..
 
Which desktop environment?
 
@Öskå I'm here on Ubuntu 13.06 I think
 
But Gnome or KDE? (or something else)
 
0
Q: Hard choice when reviewing a low-quality answer

m_goldbergEarlier today, while I was working the review queues, I encountered an answer flagged by StackExchage's automatic review software as very low quality. I agreed that the post in question was a low quality one, but didn't like any of choices given for me to proceed, which if I recall correctly, are...

 
9:56 PM
@Öskå Gnome and my distro is 12.04
(I don't like KDE and I hate Unity)
((but that's a matter of taste anyway. I used KDE for a long time))
 
Well I'm on Gnome too, which version? (cmd is gnome-session --version)
 
@Öskå gnome-session 3.2.1
 
And which mma version? (I have gnome-session 3.10.1 so I assume that bugs are fixed, not added :D)
 
@Öskå I tested your code under 9.0.1
 
ah, then it might be a mma issue, I'm on 8.0.4
 
10:02 PM
@Öskå Give me a sec..
 
Danke :)
 
@Öskå No, it works for in 8.0.4 too.
 
mh :/ It still doesn't work for me. Probably an issue with my clipboard manager, which is supposed to be the basic one.
Alright thanks anyway, the bug must be on my side :(
 
@Öskå Good luck
 
Thanks! :)
 
11:06 PM
Is someone here who likes to help me to build a crystal clear, reproducable example that the FrontEnd speed when you type in larger code became slower and slower with each new version?
 
11:43 PM
Any way to disable the 'predictive interface' features? Maybe that'd provide a slight inc. in responsiveness.
 
@Ghersic I have cases, where the FE is slow when I move in output code where no predictive interface is working..
 
@halirutan I've only used Mma 9 but have certainly noticed it's sluggish with large amounts of output.
 
@Ghersic I believe that (beside the dynamic issues, graphics, etc) there is something else which slows the FE down.
Try for instance (has nothing to do with typing) the following example:
Grid[Table[
  Mouseover[Framed[" ", Background -> Blue],
   Framed[" ", Background -> White]], {i, 50}, {j, 50}],
 Spacings -> {0, 0}]
Just hover over the boxes.
 
Don't have to move fast to notice the delay.
 
@Ghersic You have to compare two situations. The first one is that you make your window so small, that there are linebreaks in it. It looks then like this:
@Ghersic And now, make the notebook fullscreen, so that the linebreaks disappear:
 
11:54 PM
Strange, usually the smaller window is quicker rather than slower than full screen.
 
@Ghersic The first version is horrible slow on my machine, the second is quite fast.
 
@halirutan Same.
 
@Ghersic It seems to have something to do with the placement of the characters which is done by the frontend rather than the dynamic speed.
 
Wow, makes sense. Wouldn't expect that to be too taxing... weird.
 
@Ghersic And to top everything, you should try it in 8.0.4 because there, both versions are at least twice as fast.
 
11:58 PM
Is the spacing of the grid when the window is smaller some artifact of Grid?
@halirutan Ah, yeah a change of speed in version like that isn't good.
 

« first day (832 days earlier)      last day (3658 days later) »