« first day (926 days earlier)      last day (3548 days later) » 

2:29 AM
Try out the random story/game premise seed selector!
words = SortBy[
    WordData[#, "ConceptWeight"] & /@
     Cases[Join @@ WordData /@ WordData[], {_,
       "Noun", _}], -#[[1, 2]] &][[;; 10000, 1, 1]];
plots = Import["http://tvtropes.org/pmwiki/pmwiki.php/Main/Plots",
    "Data"][[1, 2, 2, 2]];
goals = Import[
    "http://tvtropes.org/pmwiki/pmwiki.php/Main/\
GoalsAndObjectivesIndex", "Data"][[1, 2, 2, 2]];
sample = {WordData[#, "Definitions"] & /@ RandomSample[words, 4],
   Hyperlink[#,
      "http://tvtropes.org/pmwiki/pmwiki.php/Main/" <>
       StringReplace[#, Except@LetterCharacter -> ""]] & /@
    RandomSample[plots~Join~goals, 2]};
Column[Append[
    Row[{Column[First@#, {Center, Bottom}, Frame -> All,
         Background -> {LightGray}, ItemStyle -> {Bold},
         ItemSize -> 15], " ", Pane[Last@#, 300]}] & @@@ First@#,
    Item[Row[Last@#, "|"], Alignment -> Center]],
   Frame -> All] &@sample
I think it has too many abstract words right now maybe.
 
this is probably a stupid question (I'm not a programmer) but why can't programs be coded primarily in postfix notation? I just find f[x]//g[#,h]& much more readable than g[f[x],h].
 
2:52 AM
@seismatica I think about // a lot because some people have told me they think Mathematica has too many brackets/braces and it reminds people more of procedural programming they might be more used to. I definitely use //. In my notebook now I have a ... // Tally // SortBy@Last // Reverse
Just because I thought of it as sending some data through a pipeline and it was easy to write that way.
With UI stuff though for example, I definitely don't think of constructing UI as a pipeline. I think of it more as a declarative, nested structure.
And if you are trying to use postfix for something with two arguments it can get cumbersome. f[x] // {#, g[y]}& // h@@#&. I think h[f[x],g[y]] is much easier to read. That's a short example though. With large nested expressions I'm getting better at mentally parsing the auto-indentation the notebooks provide. I also use triple-click a lot to speed up parsing new code I'm reading.
I've thought about it might be cool if hovering the mouse over an expression head would lightly shade the background of the arguments different colors. Sort of like brace matching highlights but to quickly find where the commas are that separate arguments.
 
I see your point, though I think f[x]//h[#,g[y]] could be used. I used % a lot to work out my program piece by piece but that got annoying real fast as the % is bound only to the latest evaluation. As a result I've been using // coupled with # to replace % more and more. I just don't know if that's a bad habit that's gonna bite me later.
I agree that would be a very nice idea. I really appreciate your insight.
And I should be using triple click more often.
 
@seismatica You can use %n to refer to a specific output over multiple evaluations. I do that a lot.
 
oh yeah I forgot about that! thanks for the tip.
 
 
2 hours later…
5:31 AM
@Pickett Hi!
@PatoCriollo That was cruel
 
@belisarius Sir
All good?
 
@Rojo Hi there
@Rojo Need to solve a stupid problem. Wanna help?
short. just one line
 
@belisarius Tell me
 
@Rojo My girlfriend and the milkman ... , no that is another one. Try this (it works):
n = 34;
SatisfiabilityInstances[If[n == 34, x, False, False], x]
ready?
 
@belisarius Ready
 
5:42 AM
@Rojo Now, how to make THIS to work:
Clear[n];
FindInstance[n == 34 &&
SatisfiabilityInstances[If[n == 34, x, False, False],
x] != {}, n, Integers]
 
@belisarius Why do you need that If construct?
Can you not put some last 4th argument and let it be symbolic?
 
@Rojo As ever. I've two pages of non-working code . Reduced the whole thing to this toy example
 
@belisarius If you remove that last False, then SatisfiabliltyInstances doesn't evaluate "before replacing n" so it seems to work
 
@Rojo I need to find a numeric n (really a list of numbers).I'm trying to avoid a loop
 
@belisarius Btw, SatisfiableQ works like SatisfiabilityInstances !={} . Same issue
 
5:49 AM
@Rojo I need the instances in my real code :(
 
@belisarius What about something symbolic like Exists instead?
FindInstance[n == 34 && Exists[x, If[n == 34, x, False]], n, Integers]
Ok, you need the list of xs
 
@Rojo But I need the instances of a 9x9x9x9 problem
 
@belisarius You need something that doesn't work to work, but I don't really understand what can be changed. Mainly that 4th argument of the If confuses me
The need for the If to evaluate to False when n doesn't have a value
 
@Rojo The problem is that FindInstance is evaluating my function in that way. Wait, perhaps I could add something like a NumericQ[] condition and return false. Let me try
 
@belisarius Some f[n_?NumericQ]:=If[n == 34, x, False, False] and FindInstance[n==34&&SatisfInst[f[n], ...`?
 
5:58 AM
@Rojo That'swhat I'm trying now
holdon
@Rojo yeah, yeah
 
I am praying for you
good luck
 
@Rojo Yup. Not so easy. I've some tangled things because the debugging got weird. Will try tomorrow again. Thanks a lot
@Rojo Need to sleep zzzz
 
@belisarius no problem, good night
 
@Rojo Grondona is dead. Viva el Diego
 
@belisarius Diego won
 
6:02 AM
@Rojo He is SURELY smiling
he deservesit
nights!
 
@belisarius Night
 
6:45 AM
Anyone around?
How are you uploading images to the answers lately? I haven't ever since the image uploader stopped working fine
 
7:30 AM
@Rojo I have fixed the uploader long time ago!!!
 
@halirutan Hehe, good to know
In any case I think I have to download the real MMA (and not the trial)
to use it
 
@Rojo Please follow the STEP 1 here
and then it would be nice if you can test my latest uploader version from yesterday.
Download the tar.gz package from here and unpack it into your Applications folder in your $UserBaseDirectory
22 hours ago, by halirutan
https://www.sendspace.com/file/xln6yu
 
@halirutan I'll begin downloading the "real mma" now and try that now or tomorrow, and let you know. Thanks!
Or perhaps the license is to blame that I can't export and not the executable?
Nhee, I'll download it anyway. Because I can
 
 
5 hours later…
12:26 PM
Can anyone confirm that Astronomical data-related functions don't evaluate on the Raspberry Pi? Previously the Sunrise[] function would evaluate but return incorrect results. With the 20140729 version of mathematica the function does not evaluate. ?Sunrise still works and displays function info. I've also tried Sunset[], DaylightQ[] and SunPosition[]. None of them evaluate.
 
12:38 PM
@halirutan The uploader is awesomely awesome :) I really enjoy not having extra bytes anymore :D Thanks a lot :D
 
 
2 hours later…
2:35 PM
I got an answer I made accepted but no up-vote. OP has more than 100 rep so could have up-voted. Weird. Never happened to me before.
 
@m_goldberg There you go
 
@Rojo. Thanks, I appreciate the up-vote. But my comment was to express my wonder of someone thinking an answer was worth accepting but not worth up-voting. I would expect it to go the the other way 'round.
 
@m_goldberg I know, I know
@m_goldberg It's probably just lack of experience
 
3:06 PM
posted on August 01, 2014 by Arnoud Buzing

Earlier this month we released Mathematica 10, a major update to Wolfram’s flagship desktop product. It contains over 700 new functions and improvements to just about every part of the system. Today I’m happy to announce an update for Mathematica and the Wolfram Language for the Raspberry Pi that brings those new features to the [...]

 
3:22 PM
0
Q: How should we tag longstanding bugs that have been fixed?

Mr.WizardUsing What to do with [bugs] questions now that version 9 is released? as a guideline Questions about bugs that have been fixed should have individual tags for each affected version. However this is impossible for longstanding bugs where there are many affected versions as a Question may only ha...

 
3:47 PM
doh, the auto-blog beat me to it. Here's the post on raspberrypi.org
Having CloudEvaluate on the RPi is very pleasing.
 
4:01 PM
@bobthechemist can you check if you can evaluate Sunrise[] on your Pi?
 
@shrx yes, but it'll take a bit - just got my internet updated and now none of my wifi connected devices work.
 
Thanks, I appreciate it.
 
4:46 PM
@shrx Sunrise[] returns unevaluated despite ?Sunrise[] showing that the function exists (this on 7/29 version)
 
5:03 PM
@m_goldberg I had an answer upvoted but not accepted the other day :-)
 
5:28 PM
@bobthechemist thanks, I get the same. Looks like something went wrong with the update.
 
@shrx I hadn't used the function in a previous version, was it working then?
 
5:52 PM
@bobthechemist it evaluated but gave incorrect result (always 3:43).
 
6:11 PM
@halirutan could you please post this on Community in Wolfram COmmunity group ?
 

« first day (926 days earlier)      last day (3548 days later) »