« first day (1045 days earlier)      last day (3429 days later) » 

3:05 AM
@bobthechemist Everyone who has asked a question should go give a bounty to his favourite answer as thanks
 
 
12 hours later…
3:11 PM
@Rojo What a great idea! I've noted @SjoerdC.deVries 's answer and @halirutan's answer to image processing questions have been very helpful to me on various projects this year. Bounties to come.
 
3:34 PM
Hmm, someone upvoted an answer of mine and when I checked it, I saw that it has a 25 rep bounty given by "Community"..
8
A: Exporting Cyrillics in PDF on Linux

halirutanIn my opinion you don't have many options here and honestly, I would not try to achieve this with Mathematica and Linux because the font-rendering was, is and will at least for some time be crappy. In the examples, I use the "Liberation Serif" which is the default serif font on my system. Let me...

Does someone know what this means?
 
3:46 PM
@halirutan I believe it happens when the user was deleted
 
 
1 hour later…
4:57 PM
@halirutan It means that someone put a bounty of +50, you answered it, but the person never chose an answer to award the bounty. Your answer met the criteria for "automatic award" and you got 50% of the original from Community. The post revisions tell the full story.
 
5:22 PM
@halirutan So I was wrong.
 
@rm-rf ahh, that makes sense..
 
5:38 PM
Hey! I extracted an equation from a model fit using Normal@myfittedmodel. Is there easy way to then show only 4 digits of the numbers in this?
I've been trying to map N[#,4] and whatnot, but to no avail
I was also thinking about using a ReplaceAll where the list of replacement rules would be something like /.a_?(Real)->N[a,4] but couldn't do it...
or /. x_?NumberQ -> N[x, 4]
 
data = {{0, 1}, {1, 0}, {3, 2}, {5, 4}};
nlm = NonlinearModelFit[data, Log[a + b x^2], {a, b}, x]

NumberForm[Normal[nlm], 10]
@Sosi (of course you need to change the parameters of NumberForm)
 
oh my... :( it was even simpler, I feel so dumb... thank you so much @halirutan!
 
6:38 PM
Hi guys
I've got a problem. My GUI is very quickly generated. And it works very well. Unfortunately, I have to, don't ask why, let's assume I have to, replace the cell it is in with it's reevaluated copy.
Everything is ok but after many replacements it is less and less resoponsive.
Probably due to some context pollution.
Everything is scoped. But FE namespace is growing and growing
@halirutan any tips? :P
 
@Kuba Why?
@Kuba Someone posted a command to "clear" the FE namespace recently
 
@belisarius what why?
:)
@belisarius Could you help me to find that post? I'm not able to
 
6:57 PM
@Kuba let me think where I saw it
@Kuba It wasn't exactly that. Perhaps something relevant in the comments, but I think it won't help mathematica.stackexchange.com/questions/65055/…
sorry
 
@belisarius I'm on V9 don't have time for V10 now :p
@belisarius, yes you should be, I was excited and now I'm left with nothing
except of full namespace...
 
Is there a simple way to export multiple images to a PDF such that each image is on a single page? e.g. imgs is a list of 6 GIFs so I'd like to Export["out.pdf",imgs] to get a 6-page PDF.
 
7:12 PM
@bobthechemist have never done that but maybe just create document, riffle images with cells with something like page break (dont know what is the real name) and then export document as pdf
 
@Kuba That's sort of where I'm heading, thanks.
 
@bobthechemist let me find some code here. I did this these days
createReport[data_List,repName_String]:=Module[{report},

report = CreateDocument[Null
, PageHeaders -> {{None, None, None}, {None, None, None}}
,"PaperSize" -> {100., 842.}
];

Scan[
Paste[report, #];
NotebookWrite[report,Cell["", "PageBreak", PageBreakBelow -> True]];&
,data
]

SetOptions[report,
PrintingOptions -> {
"PaperSize" -> {696., 842.}
(*,"FirstPageHeader" -> True*)
(*,"FirstPageFooter" -> True*)
,"PageHeaderMargins" -> {0, 0}
,"PageFooterMargins" -> {0, 0}
,"PrintingMargins" -> {{0, 0}, {10, 20 (*topMargin*)}}
 
@Murta Thanks, no rush.
 
"PaperSize" do not work. I have an open support for that.
 
Nice, thanks @Murta, that will help out.
 
7:18 PM
@bobthechemist If you improve something let me know.
 
7:49 PM
sure thing
 
8:19 PM
@Kuba In such cases, I prefix all my "bloatable" FE variables with some known string and then do Clear@Names["FE`prefix*"]
 
8:50 PM
@Murta how is it going?
 
@PatoCriollo hi! All nice
 
Good to hear!
 
 
1 hour later…
10:19 PM
@rm-rf Good idea, I will try that.
 
 
1 hour later…
11:34 PM
I was working on this question, when I came across an odd error message. Test this code:
f = Exp[-x] - y;
scaleLines[vectorPlot_, lineLength_] :=
 vectorPlot /.
  List[x1 : {_?NumericQ, _?NumericQ},
    x2 : {_?NumericQ, _?NumericQ}] :> {x1,
    x1 + lineLength (x2 - x1)/Norm[x2 - x1]}
VectorPlot[{1, f}, {x, -2, 6}, {y, -2, 2}, VectorStyle -> "Segment",
  PlotRange -> {{-2, 6}, {-2, 2}}, PlotRangePadding -> 1] //
 scaleLines[#, 0.2] &
It says that Infinite Expression 1/0 encountered and that PlotRangePadding is an indeterminate number. The error persists even when I explicitly set it to a value. Is this a bug?
 
11:46 PM
PlotRangePadding->None removes the error message, but PlotRange doesn't seem to work :S
Oh well...
Actually it is probably my fault, as I've discovered. :)
 

« first day (1045 days earlier)      last day (3429 days later) »