1,407 karma · joined Jun 14, 2010 (16y ago) · 438 submissions
comment 12y ago · link · parent
comment 12y ago · link · parent
The key word, though, is 'potential' - as the author mentions, one of the issues you run into with disassembly is that you sometimes run into code that jumps into garbage (dynamic jumps with insufficiently constrained inputs, or code that should've been unreachable), and sometimes you just hit an infinite loop waiting for an interrupt. It really needs some input/interactivity to determine likely entry points and dead ends/unreachable code.
One nice thing you can do while you have the call graph, though, is propagate constraints (basically type inference/data flow analysis) to get an idea of where dynamic jumps may go, which ones might be under-constrained, and which branch targets are likely dead ends. Haven't gotten as far as implementing it yet, but there's a paper on it here: http://www.cs.rhul.ac.uk/home/kinder/papers/phdthesis.pdf
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
> This is almost identical to the original Mario Bros, except you can't knock enemies upside down by hitting the platform they're standing on. The only way to defeat them is by hitting the POW block or throwing the Punch Ball which Mario and Luigi carry around.
comment 12y ago · link · parent
comment 12y ago · link · parent
There's keep-alive, but that still means that if you want to get a parent and its children, you have to wait for the parent request round-trip.
To add - this is a major issue we've been working through at Slant.co - we've combined child objects into the requests for the parent objects (sometimes even two levels down), but it's significantly complicated caching efforts - we're in the process of building some namespacing into our server-side request cache, so we can transparently make cached Question and Option pages stale whenever, e.g., the title of a Pro/Con gets changed. If HTTP allowed multiple responses, we could treat everything transparently server-side as individual requests, and get much higher hit-rates for proxy and client-side caches.
comment 12y ago · link · parent
You could actually go a step further - if you're using "Hypertext as the engine of application state" (HATEOAS), URIs for the locations of direct subentities need to be there, if the client is expected to be able to make those state transitions, for the API to be "fully RESTful". (Though, I'd personally agree with the article that features like discoverability and content negotiation are secondary to those you get from idempotence/properly using HTTP methods, and feel they should be considered bonus features, rather than strict requirements)
comment 12y ago · link · parent
I'd been thinking about modifying an emulator to do automatic speedrun splits based on changes in memory. Many of the people who'd most appreciate that kind of thing prefer to speedrun on original hardware, though, and a lot of them would be happy to pay for modifications like this - as many have, e.g., paid to have their 3DS modded with HDMI output.
comment 12y ago · link · parent
Of course, it's all relative - this community does have a good number of early language adopters and people involved in programming language research. At the other end of the spectrum, just a few years ago, I met a Java developer who, at the time, hadn't even heard of C# - I'd imagine he'd've been quite shocked by the languages talked about here.
comment 12y ago · link · parent
comment 12y ago · link · parent
Edit: To your point regarding English having both connection to meaning and pronunciation - that's definitely true, it's just not as immediately clear/visually identifiable, and not as dense. One could certainly argue that, if native speakers are having serious issues learning pronunciation in a language, then the language makes a poor tradeoff with density there.
comment 12y ago · link · parent
I'd maybe argue that the use of Chinese characters in Japanese allows me to read much faster than if all writing were in Hiragana, particularly since people tend to identify words more by their shape, but Hangul does this quite well on its own, so I think maybe there's not as strong of a need for it in Korean.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
Certainly the concept of composability isn't unique to the Haskell community, no one's implying that it is. In fact, part of the point is that even these specific abstractions aren't unique to Haskell, but available anywhere, as they've been borrowed from mathematics. Composability and consistency are things that the mathematics community does exceedingly well, and the Haskell community has chosen to learn from them, while most other language communities do these things poorly, as they've chosen to reinvent the wheel. The GoF Design Patterns, in particular, are a rather verbose reinventing-the-wheel of well-known concepts like partial application, but with inconsistent vocabulary and implemented with regards to the limitations of some specific language's semantics, and do a poor job isolating the minimal set of constraints necessary to get the intended emergent properties. Calling a person or community arrogant for trying to highlight the utility of learning these lessons isn't helpful to anyone.
comment 12y ago · link · parent
Case in point: I'm currently developing in Javascript, but I use these patterns (Monad, Applicative Functor, etc) to manage things like asynchronous code and error handling, because they're far more flexible/composable and reliable (in terms of not having side effects) than the other offerings on hand, and I know that will always be the case, because these abstractions were designed with the constraint of composability in mind: in fact, they are, by definition, the minimum set of constraints required to get these emergent properties. The benefit that Haskell itself offers is that it can check at compile time that these constraints hold true.
comment 12y ago · link · parent
- It would signal a shift toward gimmicky experiences targeting a
casual market that wouldn't spend several hundred dollars on a
piece of esoteric hardware.
- It would spoil an opportunity to partner with a company that has
much more experience in hardware, gaming, dev tools, or anything
else Oculus could use to take off.
- The likely integration with Facebook's authentication and social
services will cause the product to suffer from all the ill will and
distrust Facebook has generated within parts of its userbase and
the developer community. Branding is important, and to these
communities - the ones Oculus likely needs to take off - Facebook's is poison.
An acquisition by Zynga or Gree might've been almost as bad, but any of the other companies mentioned wouldn't have signaled such a shift, and such a betrayal of the intent of the initial kickstarter investors and hopes of its supporters. Oculus appears to gain nothing but money from this deal. I'd say the announcement alone squanders Oculus' only relevant lead over Sony and others.comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
Additionally, the abstraction features Java does offer are implemented with some heavy language syntax, and often can't be generated at runtime or pre-compile time, at least not easily, and so there's a limit to the abstraction, even taking into account Java Generics. That's something where homoiconic languages like Clojure have a particular advantage.
As a result, abstracting things in these ways (which in other languages is incredibly common) gets to be painfully verbose. Often, things that would be beautifully abstracted in these ways are just left unabstracted (as in-line boilerplate) - the verbosity introduced makes the code less readable, rather than more, and so there's a stigma against "over-abstracted" code. The result is that code that does, or could, make use of these things takes exceedingly more code in Java than in a language like Clojure. Of course, conventions in Java of, e.g., giving each curly brace its own line aren't helping its case in line counts, either.
comment 13y ago · link · parent
As for hardware, if you can't find an NES, you can always use a third-party retro console, like the Retron 3.[1]
Also, if you're worried about compatibility, Byuu's cycle-accurate SNES emulator[2] has been expanded to run NES, Gameboy, and Gameboy Advance games, so testing on actual hardware is a lot less necessary than it used to be.
[1] http://www.thinkgeek.com/product/13f8/ [2] http://byuu.org/higan/
comment 13y ago · link · parent
Not trying to compete with SO, but we think those questions need a home, and share eterm's view that maybe they're not a good fit for SO's format.