97 karma · joined Mar 29, 2010 (16y ago) · 54 submissions
comment 2mo ago · link · parent
The Halting problem states only that is no computable function that takes another P program as input and always terminates with a correct answer of whether P halts. It's certainly possible to write a program that always terminates with an answer of either HALTS or UNKNOWN, and only says HALT when that's true, it's just that it will also return UNKNOWN for some (or all) programs that do actually halt.
comment 5y ago · link · parent
So, there is a high bar for replacing a computer with a new one to actually save net resources, but an actual 10x reduction in power consumption like replacing a P4 desktop with an RPi is big enough to pay off reasonably quickly.
comment 9y ago · link · parent
http://fluffynukeit.com/software/fnistash/
If you're looking for not-necessarily-polished personal toy projects, probably just about everything in Hackage's "Game" category fits:
http://hackage.haskell.org/packages/#cat:Game
Monadius has an interesting look. Sadly a touch of bitrot since 2013 - you'd need to `cabal get monadius` and edit
--- Monadius-0.99/src/Monadius.hs 2013-05-28
+++ Monadius-fix/src/Monadius.hs 2017-01-25
@@ -18,5 +18,5 @@
import Data.List
import Data.Maybe
-import Graphics.UI.GLUT hiding (position)
+import Graphics.UI.GLUT hiding (position, DebugMessage)comment 10y ago · link · parent
comment 11y ago · link · parent
http://forums.sandiegouniontribune.com/showpost.php?p=532360...
If there is incompetence at play here, it's in failing to get ahold of raw data.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
However, the article quotes an exhaust velocity of 30km/s (or ISP of 3000s), and using 200kW doesn't leave much room to beat http://en.wikipedia.org/wiki/HiPEP on thrust without counting on net energy gain. The linked slides also claim net energy gain.
comment 14y ago · link · parent
If you want to faithfully translate the idea that 5 and "Test" are different values that can be passed into the same places but told apart by tests if you want, you might translate the second line to something like f (\x -> x) (Left 5) (Right "Test"), which does pass.
comment 14y ago · link · parent
http://www.youtube.com/watch?v=XGyJ519RY6Y (video only, the presentation was liveish coding in emacs and I haven't found the source files)
Agda of course pursues the anti-thesis of dynamic typing.
comment 14y ago · link · parent
The paper makes a point of reporting that most unit tests could not be replaced by static types.
What of that looks like a claim that you only need types?
comment 14y ago · link · parent
The second isn't so clear, but sometimes you can get a bit more confidence by showing that other good properties are implied by the specification alone.
comment 14y ago · link · parent
http://research.microsoft.com/~simonpj/papers/deforestation-... The first paper (yes, that's a .ps.Z - check the date)
http://www.scs.stanford.edu/11au-cs240h/notes/omgwtfbbq.html some recent slides, which also include a bit about a "stream fusion" which isn't yet in the standard library
http://darcs.haskell.org/cgi-bin/gitweb.cgi?p=packages/base.... The details from GHC's libraries - it's all in the RULES.
comment 14y ago · link · parent
If you accept the claims of
> People regularly say they translated their system from language A to language B and got 10-100 times code-size reductions.
then it's clearly false at least for first systems that
> there is essential complexity in software, and it is the dominant factor.
comment 14y ago · link · parent
Type inference in general seems particularly benign as far as black boxes go - it is somewhat user visible, but you can limit your exposure to knowing where to put explicit type annotations.
The plain Hindley-Milner type system is particularly well behaved, in that the inference algorithms for it are guaranteed to work if there is any valid way at all to assign types. Combine that with type erasure guaranteeing the exact types assigned can't affect program behavior and the details of inference are doubly encapsulated.
Did you ask your friend if it actually looked non-trivial?
comment 14y ago · link · parent
Here's hardware that does the first http://www.cs.york.ac.uk/fp/reduceron/
comment 14y ago · link · parent
You can describe the performance of a functional program in something like asymptotic number of reductions. You can write compilers that will run those programs on real hardware in time related to the performance bound you get by working in the source model. Also, perfect optimization is undecidable. So, the question is whether there are problems where you necessarily lost asymptotic performance by working with a purely functional programming language.
comment 14y ago · link · parent
Precisely. For example, you can ask whether the best algorithm for some problem on a 1-tape Turing machine is asymptotically slower than the best algorithm on a 2-tape Turing machine.
comment 14y ago · link · parent
These slides say GPS received power is around -160dBm http://www.ima.umn.edu/talks/workshops/8-16-18.2000/van-dier...
I see unsourced claims LightSquared signals would be around -70dBm, which is at least roughly consistent with LTE.
If so, that's a signal 1,000,000,000 stronger than the satellite-to-ground signals LightSquared's band was allocated for, immediately adjacent to the GPS band (10 or 20 Mhz apart, near 1.5Ghz).
Is there some reason it's not totally ridiculous to expect GPS receivers to be engineered for that kind of noise?