5 ms·
99 Prolog Problems
- cb33 16y ago...but a bitch ain't one. sorry.
- sayemm 16y agolol i was thinking the same thing would make for a hilarious music video
- topbanana 16y agoyou beat me to it
- topbanana 16y agothe propellorheads are clearly not amused
- silentbicycle 16y agoIf you want Reddit, you know where to find it.
- deleted 16y ago[deleted]
- dkarl 16y agoRedeem yourself; run with the line and make it Prolog-specific.
- zandorg 16y agoI got 99 bitches but backward propagation ain't one.
- deleted 16y ago[deleted]
- deleted 16y ago[deleted]
- levesque 16y agoWhat is the meaning of this?
- silentbicycle 16y agoIt's a Jay-Z line. I posted the 99 Prolog Problems link about a year ago and got no response whatsoever, but I'm guessing that the (somewhat weak, IMHO) chapter on Prolog in _Seven Languages in Seven Weeks_ has created a bit more interest.
- scott_s 16y agoI think that much like popular music [1], there's a lot of randomness involved in what makes it to the front page of HN. [1] A few years ago I read a study that concluded that there's a lot of randomness in what songs become hits. They ran some experiments with tagged music and listeners. But despite trying to find the study again several times, I can never seem to find it again. If anyone does, I'd greatly appreciate it.
- silentbicycle 16y agoWhat time of day an item is posted probably has a huge effect, too.
- nickpinkston 16y agoIf you havin' code problems, I bad for you son... ;-)
- gsivil 16y agoGreat work. So well structured and easy to browse. Thanks
- ses 16y agoVery nice, Prolog is a vastly under rated language which is very useful for a lot of logic and decision making programming problems.
- swannodette 16y agoThis includes program verification, there's some fascinating work about combining Prolog w/ Smalltalk to: * check whether a piece of source code matches a certain pattern * find all pieces of source code that match a pattern * search for all occurrences of a given pattern that were used to program a piece of source code * detect violations of the usage of a pattern * enforce the consistent use of some pattern throughout a program * generate code that matches a certain pattern More about Logic Meta Programming here, http://soft.vub.ac.be/SOUL/ http://soft.vub.ac.be/SOUL/
- Homunculiheaded 16y agoI just started learning Prolog recently and I strongly agree with it's status as being 'underrated'. One thing I've found worth noting is the increasing interest semantic web technologies with no noticeable uptick in the interest in logic programming. This is especially odd when you consider that it's not much of a stretch to look at RDF triples simply as facts and rules in Prolog. I have a feeling that just as Rails rediscovered the mvc work in the late 70s smalltalk community, the semweb world will rediscover prolog along with the larger world of constraint/logic programming.
- silentbicycle 16y agoOne problem with Prolog is that the "standard" doesn't include a lot of useful functionality that implementations typically provide. Not all Prologs have packaging systems or constraint programming extensions, for example, yet they make Prolog dramatically more useful. SWI Prolog (http://www.swi-prolog.org/ http://www.swi-prolog.org/) and GNU Prolog (http://www.gprolog.org/ http://www.gprolog.org/) are pretty good. (Daniel Diaz, GNU Prolog's primary author, also has some excellent research papers on implementing constraint programming.) Also, for anyone curious about Prolog, I found experimenting with Erlang made many aspects of Prolog make more sense, and vice versa. Erlang was originally a Prolog DSL, and many minor details carried over.
- kingkilr 16y agoNice collection, would be awesome if there were a way to submit solutions online and have them tested.
- morbidkk 16y agosame exercise for scala http://aperiodic.net/phil/scala/s-99/ http://aperiodic.net/phil/scala/s-99/