The red circled links don't work, and the blue circled box is superimposed.
I am not tagging it as a "bug" yet since I suspect there may be some cache problem somewhere in my upstream internet proxy chain.
Please confirm.
@rcollyer I actually didn't find that all that confusing (and I may have seen something like this used in literature/books too)... also, it's not a list of matrices, but matrices concatenated along the rows (i.e., take the second, insert columns to the right of the first and so on). The | are supposed to indicate columns
I think he has his dimensions for Q flipped around
hi all, @J.M. I'm not sure if that's true - they used to consider graduation at 90 days? But we were definitely the fastest ever to beta, except possibly Ubuntu.
@R.M FWIW, I'm back to Python. Haskell was just... too much a waste of time - for my current purpose. Forget IO with it until you're pretty damn confident in the language - not even the interpreter can help with that... And I had a horrible time trying to set up GUI packages. Python is a lot more nice to me. He doesn't whine all the time.
I'll get back to learning Haskell once I'm done with this project, when I can actually profit from it.
@J.M. Hehe. Well, someone might make a fortune selling "chemical candies"
@CHM It's usually not a good idea to simultaneously learn a language and then use said language for your actual work. I've found that you often get mixed up if the difficulty(ies) you're encountering are due to the language, the actual problem, or both.
I mean, I've only dabbled in Python - nothing serious yet. I had to decide on which language to use to translate a MMA program. Was suggest Haskell, because I thought my life could be easier with pattern-matching.
But...
My time hasn't come for Monads yet. I just want to write this crap - forget beauty - and get on with other things xD
@Verbeia True. What I'm saying is, get a "feel" for the language first (which, unfortunately, might take long, what with the learning curve and all), and then apply said language to your actual problems.
@CHM "I just want something that works; I don't care if it looks stupid..."
It's a Google gateway to the site, and it's more likely to be found by people wondering about multiple undo. Let it be as a closed duplicate.
I'd also like to draw attention (again) to this link: mathematica.stackexchange.com/tools
With graduation and rep threshold increases, the community moderation power has somewhat decreased. Those of us with 10k+ rep should visit this link more often (@Vitaliy @kguler @Rojo @Jens)
@CHM I learnt Python for a specific application by programming something I needed. I agree with J. M.'s advice in general but Python is so simple to learn that I think you can just dive right in. However, I believe my Python style is quite nonstandard which is both a product of Mathematica and the fact that I don't like the standard style (I think it's too procedural and verbose).
Wow. Yes, annoying. Personally I think if you're writing a question as it gets deleted, the system should at least let you post the answer you would have given.
Incidentally, I am amazed that the usual nonsense about it being difficult to implement undo in mathematica hasn't been spouted here. Another advantage over the mathgroup!
@R.M In the case of that deleted question in the screenshot above (I lost the link), I don't think it's the same as his previous question. I'd use different methods (not string replacement).
Go ahead... That's what the ads are for. I did not know there was a new version. In fact I haven't been usinge it because the last thing I remember is you telling that there were problems with it on mac
@R.M For the basic use case (select an image, press the button, upload), it work well on Mac. The problems appear when you change the zoom factor or try to copy very large expressions verbatim. Actually the "problem" is that it strips non-standard styles, resets magnification, and reformats everything to about 600px wide (to fit an SE post). Otherwise it works fine.
You will find a lot of information in this answer. I will add a few personal notes.
Module
Use Module when you want to localize variables inside your function`s body, and those variables will potentially acquire and/or change their values during the computation.
Basic use
For example:
f[x_]:...
One way to get the lazy aspect is to use a closure, or the closest way for Mathematica to fake a closure.
This is the closures constructor:
makePalindromePrimeC[start_: 1] := Module[{p = Prime[start], r},
((r = NestWhile[NextPrime, p,
With[{d = IntegerDigits[#]}, d != Reverse[d]] &...
I added an update check button to the image uploader. If you find any problems, let me know! Would it be too aggressive to add an automatic update check every few days? Some people might get upset.
@VitaliyKaurov I want people to always run the latest version of the palette, so bugs are found out as soon as possible. Right now I added a button which checks the version of the palette on GitHub and compares it to the installed version. The button lights up in light red if there is an update (as a reminder). I was wondering if it would be too aggressive to run the update check in the background automatically every few days instead of waiting for the user to press the button.
If there's an update, they'd notice right away from the reddish colour of the button.
Also, the palette source code is getting messy. I'm not used to larger projects... It could use a review. I'm not sure if I'm doing everything the Right Way.
Graphics are tightly integrated into the Mathematica interface. The Front End is programmable, and Mathematica has functions to interface with the web, so the question naturally comes up:
Could we make it possible to upload images to StackExchange directly from Mathematica, using a palette butt...
@sblom well, I don't care about the points. But not being able to easily find deleted posts is a bit of a nuisance. Had to change my icon too as the last one clashed horribly with the new design. Not sure the new one is too clear. :)
@OleksandrR. Hehe. Procedural programming is what comes most naturally to most people, I guess. It's how we're made : you don't often see a car mechanic "applying" his "repair function" to a broken car xD So it would seem natural to think in a procedural fashion... unless you train yourself not to, at which point you can benefit from FP. But Haskell's not a language you can learn over a weekend and hack something together quickly - Python is.
It's something anybody right-of-center (in a bell curve) can pick up with a couple coffees and a goal in mind.
On a similar note - I'm profoundly disappointed by how CS/IT were taught to my generation (I left HS 4 years ago). We were formed to become users, not masters. Forget about programming, other people can do that: you're gonna learn how to use the whole Office suite, how to draw nice pictures in MSPaint, and if you're really into it, maybe write your own HTML website with JS visitor counter - but that'd be quite unorthodox.
@CHM Your Covariance has 1/2 on the diagonals, and hte correlation has 1s
It's ok, I think I know what it does... I was also having trouble because Correlation was taking TOO LONG for a 7000x7 matrix, while Covariance wasn't. But I just realised that the matrix had integers in it
Yeah, it's good. One of the main characters is Canadian and they make jokes about it. I was intrigued as to how they were received by another Canadian, hehe
That Argentinian guy was played by a NOT argentinina singer Enrique Iglesias... And they portraid Argentina as anything but what it is... Beach, people playing drums on the street, huge nonsense
@CHM I think probably the motivation for that is that these are basic skills expected by all employers. If the student is motivated, they can teach themselves to program (or wait until they reach university). On the other hand I do regard classes such as you describe as largely a waste of time--if someone is unable to figure out how to use Word or Excel for themselves when they see it, they're never going to be very competent with it anyway, so might be better off doing something else.
@Rojo If my memory's right, it's the second most spoken language.
In this chunk of Universe, at least.
@OleksandrR. Haha.
The other way around, though, is much more satisfying: if you can write programs, then you can surely use Word.
I had a young teacher in HS who was doing his Master's in AI. He had set up a nice course syllabus over the summer: we would build our own computers from parts of old ones the school was supposedly throwing away, and then install Linux and write some batch scripts.
@OleksandrR. In the mains, I have to agree. There is something to be said for more advanced classes as there are some neat tricks in Excel, but you can get them from books, too.
We never got past the "build your own comp" section. He installed linux for us on all of the computers over a weekend, making sure everyone had a copy of UT, and we spent the rest of the year playing UT three hours a week.
Makes for good memories, but it was empty pedagogically.
@CHM That's how my programming class in HS went. She figured we would do better learning it on our own, and I and several others finished most of the years course work by Christmas. So, we played games, lots and lots of games. Of course, these were 286's so there was no such thing as speed.
Scorched Earth is a popular shareware artillery video game, which is a subgenre of strategy game. The game was developed in the DOS era, originally written by Wendell Hicken (using Borland C++ and Turbo Assembler), in which tanks do turn-based battle in two-dimensional terrain, with each player adjusting the angle and power of their tank turret before each shot.
Description
Scorched Earth is one of many games in the genre of "turn-based artillery games". Such games are among the earliest computer games, with versions existing for mainframes with only teletype output. Scorched Earth, with ...