You've guys have helped me in the past, so I'm hoping you can help me again!
I'm plugging along learning Haskell in a computational physics course. We're starting to learn about Plotting.
the first introduction to the idea of plotting is to enter the following line of code into ghci::m Graphics.Gnuplot.Simple plotFunc  [0,0.1..10] cos
I've successfully installed the Gnuplot family through cabal install gnuplot, but when I attempt to run the above code, I get the following error message:<interactive>: pgnuplot: readProcessWithExitCode: does not exist (No such file or directory)
I know that gnuplot has installed mostly correctly, because I'm able to ask Haskell to determine the type of plotFunc ([a] -> (a -> a) -> IO ()), so plotFunc is recognized.
Any idea what might be causing this problem?
side note, I am running Haskell on Windows 8.1. Thats probably important to mention.
EDIT: I've since actually made some progress...
1) I've also installed easyplot to check if that plot function worked. no luck. another error of similar nature.
2) I've installed the windows version of the standalone Gnuplot. After adding the gnuplot directory to my PATH environment variable, I'm able to successfully run plotFunc, but the plot flashes up and instantly vanishes. Like some part of the script immediately closes the graph after it plots it because the script ends? The plotting function in EasyPlot (plot Windows cos) does the same thing, although the graph stays in the screen for a hair longer.submitted by sqrlsattack
[link] [16 comments]
LambdaCms is a CMS that requires a programmer to set-up the website, and aims for an optimal experience for that programmer (contrary to some popular open source CMSes that aim for everyone-friendliness). Once a LambdaCms-site is deployed, the content is manageable from the "admin interface", possibly by a non-technical person, as you expect from a CMS.
- Modular: LambdaCms "extensions" make use of Yesod's subsites
- Extensions use Cabal to depend on eachother
- Fast: we measured 2-10ms responses, w/o any caching in the application
- Responsive admin interface (works well on tablets and phones)
- Supports SQL dbs that Yesod supports (Postgres, MySQL, Sqlite)
- Out-of-the-box support for authentication strategies that yesod-auth provides (BrowserID, Google, Email)
- User management
- User roles
- Fully programmable route-based permissions
- Admin activity log that extensions can plug into
- Allows internationalization of the admin interface
- UI strings of the admin interface allow overrides
- Basic media management capabilities (from the lambdacms-media package)
LambdaCms allows you to quickly implement an admin interface, the public facing side of the site --the theme-- is fully up to the programmer to implement.
- http://lambdacms.org -- The project homepage (on Github)
- https://github.com/lambdacms/lambdacms-core -- The core package (Hackage)
- https://github.com/lambdacms/lambdacms-media -- The media package (Hackage)
It is a graduation project of two students from the Rotterdam University of Applied Science performed under the supervision of Hoppinger. Feedback, bug reports, pull requests and general discussion are most welcome. We keep a list of TODOs which is open for suggestions.submitted by cies010
[link] [37 comments]
AMD's HSA technology offers an intermediary language to run parallel jobs on the integrated GPU of Kaveri chips using the same memory address space and on die cache. Because of Haskell's functional nature it knows when it is safe to run code in parallel and when it is not, so couldn't Haskell be adopted to seamlessly use the iGPU for things like list comprehension etc by targeting this new IL?submitted by bat_country
[link] [21 comments]
An update to my status. My doctors continue to monitor my heart infection, but it appears cleared up, along with the problems in my abdomen.
I met with my urologist on 4 Feb. My latest CAT scan (27 Jan) shows a small mass in my liver and that the tumour on my left kidney has not grown. The mass is unlikely to be a metastasis of the tumour, but the first order of business is to biopsy my liver; this should happen in the next two weeks, and it may take a further two weeks to get the results. Meanwhile, I am on the waiting list for keyhole surgery to remove my left kidney; this should happen in about six weeks. (Hospitals are fined £1000 if it takes more than four weeks, but the Western General currently has thirty people over that limit.) Recovery time is about four weeks. So, with luck, back to work in ten weeks, mid-April.
All four kidney surgeons at the Western General are in the top 10% in the country, so I am in good hands. If keyhole surgery converts to ordinary surgery the recovery time is three months; this happens in 4% of cases. My doctor says it is unlikely to happen to me because, compared to most of his patients, I am young, fit, and slim. Not words I usually hear applied to myself!
Previously: Status report, A paean to the Western General.