<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: catpolice</title><link>https://news.ycombinator.com/user?id=catpolice</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 01 Jun 2026 18:53:45 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=catpolice" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by catpolice in "A Map of Mathematics"]]></title><description><![CDATA[
<p>This is a very strange claim. Just off the top of my head, this definition of "mainstream mathematics" would exclude, for instance, Gödel's more famous theorems, a good bit of Grothendieck, some of the Bourbaki collective, and a huge amount of work from rather high profile mathematicians working today.</p>
]]></description><pubDate>Wed, 27 Jan 2021 06:01:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=25924825</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=25924825</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25924825</guid></item><item><title><![CDATA[New comment by catpolice in "A Map of Mathematics"]]></title><description><![CDATA[
<p>I'm not usually one to poke fun at these things but my friends who study formal logic/model theory/category theory/homotopy type theory/etc. will be excited to learn that they are not in fact doing mathematics.</p>
]]></description><pubDate>Tue, 26 Jan 2021 23:50:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=25922456</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=25922456</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25922456</guid></item><item><title><![CDATA[New comment by catpolice in "Which Parsing Approach?"]]></title><description><![CDATA[
<p>Yeah, I think there are reasons why a lot of big compilers use some recursive descent variant (even a few like gcc used YACC-generated parsers for a long time and switched back to hand-written recursive descent parsers) and error message generation is a big one.<p>IMO there's a kind of funny progression in which parsing approach turns out to be the most appropriate depending on the scope of your project that circles back on itself:<p>- For pretty simple languages a hand-written recursive descent is obviously easiest<p>- Once your grammar is complicated enough that you start hitting precedence and ambiguity issues, or get sick of rewriting a big chunk of your parser as the grammar changes, you look into generating your parser from a BNF-like specification and end up with some variant of LL or LR<p>- At some point your language's grammar has mostly stabilized and you're struggling with providing good error messages or parsing performance or you've had to add one too many hacks to get around limitations of your parser generator and recursive descent starts looking good again<p>For my money, I tend to think that Pratt parsing/precedence climbing can extend recursive descent in a way that makes a lot of the common complaints about the complexity of dealing with operator precedence and associativity seem overstated. The trick is just that as you're building an AST, some symbols will cause you to reparent nodes that you thought you'd already placed, according to various rules. See: <a href="https://www.oilshell.org/blog/2017/03/31.html" rel="nofollow">https://www.oilshell.org/blog/2017/03/31.html</a><p>I wrote a compiler for a vaguely C-like language by hand in javascript a while back that's intended to show how simple a hand-written parser (and code generator) can end up: <a href="https://github.com/j-s-n/WebBS" rel="nofollow">https://github.com/j-s-n/WebBS</a><p>It's not that hard to statically track type information along the way - the above example requires a second pass at the AST to nail things into place and make sure all our operators are operating on the right type of thing, but a lot of that information is captured during the first parser pass or even during lexing.</p>
]]></description><pubDate>Tue, 15 Sep 2020 16:23:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=24483094</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=24483094</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24483094</guid></item><item><title><![CDATA[New comment by catpolice in "Websites that look like desktop GUIs"]]></title><description><![CDATA[
<p>Related: I made <a href="https://j-s-n.github.io/WebBS/index.html#splash" rel="nofollow">https://j-s-n.github.io/WebBS/index.html#splash</a> which is designed to look like an MSDOS era GUI application</p>
]]></description><pubDate>Mon, 06 Jul 2020 20:44:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=23752538</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=23752538</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23752538</guid></item><item><title><![CDATA[New comment by catpolice in "Ask HN: What did you make during lockdown?"]]></title><description><![CDATA[
<p>A mess of my personal life</p>
]]></description><pubDate>Sun, 21 Jun 2020 18:16:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=23593990</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=23593990</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23593990</guid></item><item><title><![CDATA[New comment by catpolice in "Katherine Johnson, NASA mathematician, has died at 101"]]></title><description><![CDATA[
<p>She presumably waited until 101 so as to die in her prime.</p>
]]></description><pubDate>Tue, 25 Feb 2020 03:27:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=22410680</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=22410680</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22410680</guid></item><item><title><![CDATA[New comment by catpolice in "MVC is dead, it's time to MOVE on (2012)"]]></title><description><![CDATA[
<p>I like this a lot, not as an alternative to MVC but as a kind of conceptual refactoring of the same ideas behind good MVC implementations that's very easy to explain and doesn't have as much ambiguity.<p>I've posted a version of this comment before, but my main problem with MVC isn't that it's a bad architecture, just that in practice there's a huge amount of disagreement about what MVC (or MV* more generally) actually _is_, which can lead to confusion or weird/bad hybrid implementations.<p>I tend to use the "model" and "view" concepts a lot when discussing architecture, but in my experience it's almost always a mistake to try and reference any specific MV* pattern for explanatory purposes - it does not have the effect of making the discussion clearer.<p>The issue is that there isn't actually a consensus about what constitutes the definitional features of these patterns, especially when it comes to how the concepts involved actually translate into code. For any sufficiently notable discussion of an MV* pattern, you're going to find an argument in the comments about whether the author actually understands the pattern or is talking about something else, and typically the commenters will be talking past one another.<p>Note that I'm NOT claiming that there's anything wrong with MV* as an architecture, or your favorite explanation of MV* - it may be perfectly well defined and concrete and useful once you understand it. The issue is a feature of the community: lots of other people have a different (and possibly worse) understanding of what MV* means, so when you start talking about it and your understandings don't align, confusion arises. Getting those understandings back in alignment is more trouble than the acronyms are worth.<p>I've seen enough conversations about concrete development issues suddenly turn into disagreements about the meaning of words to realize that nothing useful is conveyed by mentioning MV* and assuming anyone knows what you're talking about - it's better to spell out exactly what you mean in reference to the code you're actually talking about, even if you have to use more words.<p>I like this MOVE scheme because it seems to me to divide up the conceptual space at the joints in a way that's relatively hard to misunderstand, and it seems a little easier to see how to directly relate those division back to code.</p>
]]></description><pubDate>Tue, 18 Feb 2020 17:44:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=22358092</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=22358092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22358092</guid></item><item><title><![CDATA[New comment by catpolice in "Build Your Own WebAssembly Compiler"]]></title><description><![CDATA[
<p>Last year I decided to write a WASM-targeting compiler in Javascript, completely by hand. The idea was to compile a vaguely C-like toy language to WASM without any external dependencies.<p>Part of the motivation was that while I've written many simple parsers, I mostly used parser generators with BNF grammars and I didn't feel like I had a good sense of how the code I ended up generating actually worked for something with complex syntax and semantics. I felt like I was writing specs for a parser, rather than writing a parser. And I didn't have a huge amount of experience with code generation.<p>My toy language has vaguely C-like syntax with block scope and infix operators with various precedences, so it was a bit more complicated than JSON, but I ended up using something like Pratt parsing/Precedence Climbing (see <a href="https://www.oilshell.org/blog/2017/03/31.html" rel="nofollow">https://www.oilshell.org/blog/2017/03/31.html</a>) and wrote the whole thing in a way that's - hopefully - pretty easy to read for folks interested in wrapping their head around parsing complex syntax (e.g. with scope and name resolution). The lexer, parser and language definition ended up being about 1000 lines of JS (counting some pretty extensive comments).<p>Code generation is pretty straightforward once you have an AST.<p>Any JS programmers that are interested in really getting into the nitty-gritty of writing your own parser/compiler should check it out. The source is here: <a href="https://github.com/j-s-n/WebBS" rel="nofollow">https://github.com/j-s-n/WebBS</a>.<p>If you want to play around with the language and inspect the generated ASTs and WASM bytecode, there's an interactive IDE with example code here: <a href="https://j-s-n.github.io/WebBS/index.html#splash" rel="nofollow">https://j-s-n.github.io/WebBS/index.html#splash</a></p>
]]></description><pubDate>Fri, 27 Dec 2019 20:58:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=21894587</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21894587</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21894587</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>Fun fact: the creator of RSS, RDF and Schema.org is Ramanathan V. Guha, a former leader at Cycorp (currently at Google).</p>
]]></description><pubDate>Sat, 14 Dec 2019 05:36:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=21788011</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21788011</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21788011</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>1. There are internal and external factors when it comes to Cycorp's secrecy. The external factors come from the clients they work with, who often demand confidentiality. Some of their most successful projects are extremely closely guarded industry secrets. I think people at Cycorp would love to publicly talk a lot more about their projects if they could, but the clients don't want the competition getting wind of the technology.<p>The internal factors are less about intentionally hiding things and more about not committing any resources to being open. A lot of folks within Cycorp would like for the project to be more open, but it wasn't prioritized within the company when I was there. The impression that I got was that veterans there sort of feel like the broader AI community turned their back on symbolic reasoning in the 80s (fair) and they're generally not very impressed by the current trends within the AI community, particularly w.r.t. advances in ML (perhaps unfairly so), so they're going to just keep doing their thing until they can't be ignored anymore. "Their thing" is basically paying the bills in the short term while slowly building up the knowledge base with as many people as they can effectively manage and building platforms to make knowledge entry and ontological engineering smoother in the future. Doug Lenat is weirdly unimpressed by open-source models, and doesn't really see the point of committing resources to getting anyone involved who isn't a potential investor. They periodically do some publicity (there was a big piece in Wired some time ago) but people trying to investigate further don't get very far, and efforts within the company to open things up or revive OpenCyc tend to fall by the wayside when there's project work to do.<p>2. I don't know that much about this subject, but it's a point of common discussion within the company. Historically, a lot of the semantic web stuff grew out of efforts made by either former employees of Cycorp or people within a pretty close-knit intellectual community with common interests. OWL/RDF is definitely too simple to practically encode the kind of higher order logic that Cyc makes use of. IIRC the inference lead Keith Goolsbey was working on a kind of minimal extension to OWL/RDF that would make it suitable for more powerful knowledge representation, but I don't know if that ever got published.</p>
]]></description><pubDate>Sat, 14 Dec 2019 05:14:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=21787950</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21787950</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21787950</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>Java _code_. It's madness, though I'm assured it made sense at the time.</p>
]]></description><pubDate>Fri, 13 Dec 2019 23:38:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=21786656</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21786656</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21786656</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>These answers are very personal to me. I joined Cycorp because Doug Lenat sold me on it being a more viable path toward something like AGI than I had suspected when I read about it. I left for a number of reasons (e.g. just to pursue other projects) but a big one was slowly coming to doubt that.<p>I could be sold on the idea that Cyc or something Cyc-like could be a piece of the puzzle for AGI.<p>I say "Cyc-like" because my personal opinion is that the actual Cyc system is struggling under 30-odd years of rapidly accruing technical debt and while it can do some impressive things, it doesn't represent the full potential of something that could be built using the lessons learned along the way.<p>But the longer I worked there the more I felt like the plan was basically:<p>1. Manually add more and more common-sense knowledge and extend the inference engine<p>2. ???<p>3. AGI!<p>When it comes to AI, the questions for me are basically always: what does the process by which it learns look like? Is it as powerful as human learning, and in what senses? How does it scale?<p>The target is something that can bootstrap: it can seek out new knowledge, creatively form its own theories and test them, and grow its own understanding of the world without its knowledge growth being entirely gated by human supervision and guidance.<p>The current popular approach to AI is statistical machine learning, which has improved by leaps and bounds in recent years. But when you look at it, it's still basically just more and more effective forms of supervised learning on very strictly defined tasks with pretty concrete metrics for success. Sure, we got computers to the point where they can play out billions of games of Chess or Go in a short period of time, and gradient descent algorithms to the point where they can converge to mastery of the tasks they're assigned much faster - in stopwatch time - than humans. But it's still gated almost entirely by human supervision - we have to define a pretty concrete task and set up a system to train the neural nets via billions of brute force examples.<p>The out-of-fashion symbolic approach behind Cyc takes a different strategy. It learns in two ways: ontologists manually enter knowledge in the form of symbolic assertions (or set up domain-specific processes to scrape things in), and then it expands on that knowledge by inferring whatever else it can given what it already knows. It's gated by the human hand in the manual knowledge acquisition step, and in the boundaries of what is strictly implied by its inference system.<p>In my opinion, both of those lack something necessary for AGI. It's very difficult to specify what exactly that is, but I can give some symptoms.<p>A real AGI is agentive in an important sense - it actively seeks out things of interest to it. And it creatively produces new conceptual schemes to test out against its experience. When a human learns to play chess, they don't reason out every possible consequence of the rules in exactly the terms they were initially described in (which is basically all Cyc can do) or sit there and memorize higher-order statistical patterns in play through billions of games of trial and error (which is basically what ML approaches do). They learn the rules, reason about them a bit while playing games to predict a few moves ahead, play enough to get a sense of some of those higher order statistical patterns and then they do a curious thing: they start inventing new concepts that aren't in the rules. They notice the board has a "center" that its important to control, they start thinking in terms of "tempo" and "openness" so-on. The end result is in some ways very similar to the result of higher-order statistical pattern recognition, but in the ML case those patterns were hammered out one tiny change at a time until they matched reality, whereas in the human there's a moment where they did something very creative and had an idea and went through a kind of phase transition where they started thinking about the game in different terms.<p>I don't know how to get to AI that does that. ML doesn't - it's close in some ways but doesn't really do those inductive leaps. Cyc doesn't either. I don't think it can in any way that isn't roughly equivalent to manually building a system that can inside of Cyc. Interestingly, some of Doug Lenat's early work was maybe more relevant to that problem than Cyc is.<p>Anyway that's my two cents.
As for the second question, I have no idea. I didn't come up with anything while I worked there.</p>
]]></description><pubDate>Fri, 13 Dec 2019 23:20:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=21786547</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21786547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21786547</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>Yes, I probably can't talk about them though. There are companies that use Cyc as part of processes for avoiding certain kinds of risks and the financial impact (by the company's estimation, not Cycorp's) is an unfathomably large amount of money.
The thing I'm thinking of seems like something Cyc (or something Cyc-like) is relatively uniquely suited for. But for large scale systems, which thing is more easy in the long term is really hard to estimate with any confidence.<p>Really when it comes to practical applications using Cyc, there are three alternatives to consider and only two of them actually exist.<p>1. There are custom domain specific solutions, involving tailored (limited) inference engines and various kinds of smart databases.<p>2. There's Cyc.<p>3. There's a hypothetical future Cyc-like inference system that isn't burdened by 30 years of technical debt.<p>I personally suspect that some of Cycorp's clients would do better with domain-specific solutions because they don't realize how much of their problem could be solved that way and how much of the analysis coming from Cyc is actually the result of subject matter experts effectively building domain-specific solutions the hard way inside of Cyc. With a lot of Cycorp projects, it's hard to point your finger at exactly where the "AI" is happening.<p>There are some domains where you just need more inferential power and to leverage the years and years of background knowledge that's already in Cyc. Even then I sometimes used to wonder about the cost/effort effectiveness of using something as powerful and complicated as Cyc when a domain-specific solution might do 90% as well with half the effort.<p>If someone made a streamlined inference engine using modern engineering practices with a few years of concentrated work on making it usable by people who don't have graduate degrees in formal logic, and ported the most useful subset of the Cyc knowledge base over, that math would change dramatically.</p>
]]></description><pubDate>Fri, 13 Dec 2019 22:38:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=21786274</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21786274</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21786274</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>All the programmers at Cycorp, and most of the ones who've gone on to do other things, have a dream of re-writing the inference engine from scratch. Its just that those dreams don't necessarily align in the details, and the codebase is so, so, so big at this point that it's a herculean undertaking.</p>
]]></description><pubDate>Fri, 13 Dec 2019 21:13:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=21785549</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21785549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21785549</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>I'm not sure I'm able to answer that in a satisfying way just because my memory is fallible. The degree to which the system is unsure of something (to the degree to which that can be coarsely represented) certainly shows up in the results, and I suspect the underlying search heuristics tend to prioritize things with a represented higher confidence level.<p>The latter thing sounds like something Doug Lenat has wanted for years, though I think it mostly comes up in cases where the information available is ambiguous, rather than unreliable. There are various knowledge entry schemes that involve Cyc dynamically generating more questions to ask the user to disambiguate or find relevant information.</p>
]]></description><pubDate>Fri, 13 Dec 2019 21:10:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=21785526</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21785526</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21785526</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>I don't work there anymore, though I know some folks that do. I suspect that they're reading this and don't want me to air out their dirty laundry too much.<p>Here's what I'll say: the degree of isolation between different mindsets and disagreement (that was typically very amicable if it was acknowledged at all) is emblematic of the culture of the company. There are people there with raaadically different ideas of what Cyc is for, what it's good at and even about empirical things like how it actually works. They mostly get along, sometimes there's tension.  Over the years, the Cyc as its actually implemented has drifted pretty far from the Cyc that people like Doug Lenat believe in, and the degree to which they're willing or able to acknowledge that seems to sort of drift around, often dependent on factors like mood. Doug would show up and be very confused about why some things were hard because he just believes that Cyc works differently than it does in practice, and people had project deadlines, so they often implemented features via hacks to shape inference or hand-built algorithms to deliver answers that Doug thought ought to be derived from principles via inference. Doug thinks way more stuff that Cyc does is something that it effectively learned to do by automatically deriving a way to solve the general form of a problem, rather than a programmer up late hand-coding things to make a demo work the next day, and the programmers aren't going to tell him because there's a demo tomorrow too and it's not working yet.</p>
]]></description><pubDate>Fri, 13 Dec 2019 21:03:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=21785437</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21785437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21785437</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>If there are current employees reading, they might be able to give a better answer than me. Basically, the project is to build a huge knowledge base of basic facts and "common sense" knowledge and an inference engine that could use a lot of different heuristics (including ones derived from semantic implications of contents of the knowledge base) to do efficient inference on queries related to its knowledge.
One way of looking at Cyc from a business point of view is that it's a kind of artificial analyst sitting between you and a database. The database has a bunch of numbers and strings and stuff in a schema to represent facts. You can query the database. But you can ask an analyst much broader questions that require outside knowledge and deeper semantic understanding of the implications of the kinds of facts in the database, and then they go figure out what queries to make in order to answer your question - Cyc sort of does that job.<p>The degree to which it's effective seemed to me to be a case-by-case thing.
While working there I tended to suspect that Cyc people underestimated the degree to which you could get a large fraction of their results using something like Datomic and it was an open question (to me at least) whether the extra 10% or whatever was worth how much massively more complicated it is to work with Cyc. I might be wrong though, I kind of isolated myself from working directly with customers.<p>One issue is just that "useful" always invites the question "useful to whom?"<p>Part of the tension of the company was a distinction between their long term project and the work that they did to pay the bills. The long term goal was something like, to eventually accumulate enough knowledge to create something that could be the basis for a human-ish AI. Whether that's useful, or their approach to it was useful, is a matter for another comment. But let's just say, businesses rarely show up wanting to pay you for doing that directly, so part of the business model is just finding particular problems that they were good at (lots of data, lots of basic inference required using common sense knowledge) that other companies weren't prepared to do. Some clients found Cyc enormously useful in that regard, others were frustrated by the complexity of the system.</p>
]]></description><pubDate>Fri, 13 Dec 2019 20:48:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=21785302</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21785302</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21785302</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>Cyc has a few ways of dealing with fallibility.<p>Cyc doesn't do anything Bayesian like assigning specific probabilities to individual beliefs - IIRC they tried something like that and it had the problem where nobody felt very confident about attaching any particular precise number to priors and also the inference chains can be so long and involve so many assertions that anything less than 1 probability for most assertions would result in conclusions with very low confidence levels.<p>As to what they actually do, there are a few approaches.<p>I know that for one thing, there are coarse grained epistemic levels of belief built into the representation system - some predicates have "HighLikelihoodOf___" or "LowLikelihoodOf___" versions that enable very rough probabilistic reasoning that (it's argued - I have no position on this) is actually closer to the kind of folk-probabilistic thinking that humans actually do.<p>Also Cyc can use non-monotonic logic, which I think is relatively unique for commercial inference engines. I'm not going to give the best explanation here, but effectively, Cyc can assume that some assertions are "generally" true but may have certain exceptions, which makes it easy to express a lot of facts in a way that's similar to human reasoning. In general, mammals don't lay eggs. So you can assert that mammals don't lay eggs. But you can also assert that statement is non-monotonic and has exceptions (e.g. Platypuses).<p>Finally, and this isn't actually strictly about probabilistic reasoning, but helps represent different kinds of non-absolute reasoning: knowledge in Cyc is always contextualized. The knowledge base is divided up into "microtheories" of contexts where assertions are given to hold as if they're both true and relevant - very little is assumed to be always true across the board. This allows them to represent a lot of different topics, conflicting theories or even fictional worlds - there are various microtheories used for reasoning events in about popular media franchises, where the same laws of physics might not apply.</p>
]]></description><pubDate>Fri, 13 Dec 2019 20:24:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=21785071</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21785071</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21785071</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>Yes, quite a few. The prerequisite is basically that you have to be able to do formal logic at the first order level and also Doug has to be in a good mood when you do the interview.</p>
]]></description><pubDate>Fri, 13 Dec 2019 19:30:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=21784567</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21784567</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21784567</guid></item><item><title><![CDATA[New comment by catpolice in "Cyc"]]></title><description><![CDATA[
<p>1) The money situation has changed over the years, and they've had times where things have boomed or busted - it's been a while since I left but I think they're still in a "boom" phase. There are a lottt more projects with different companies or organizations than the ones listed on the wiki, but they tend to be pretty secretive and I won't name names.<p>The categories of projects that I was familiar with were basically proof of concept work for companies or government R&D contracts. There are lots of big companies that will throw a few million at a long-shot AI project just to see if it pays off, even if they don't always have a very clear idea of what they ultimately want or a concrete plan to build a product around it. Sometimes these would pay off, sometimes they wouldn't but we'd get by on the initial investment for proof of concept work. Similarly, organizations like DARPA will fund multiple speculative projects around a similar goal (e.g. education - that's where "Mathcraft" came from IIRC) to evaluate the most promising direction.<p>There have been a few big hits in the company's history, most of which I can't talk about. The hits have basically been in very circumscribed knowledge domains where there's a lot of data, a lot of opportunity for simple common sense inferences (e.g. if Alice worked for the ABC team of company A at the same time Bob worked for the XYZ team of company B and companies A and B were collaborating on a project involving the ABC and XYZ teams at that same time, then Alice and Bob have probably met) and you have reason to follow all those connections looking for patterns, but it's just too much data for a human to make a map of. Cyc can answer questions about probable business or knowledge relationships between individuals in large sets of people in a few seconds, which would be weeks of human research and certain institutions pay a high premium for that kind of thing.<p>2) Oh god. Get ready. Here's a 10k foot overview of a crazy thing. All this is apparent if you use OpenCyc so I feel pretty safe talking about it. Cyc is divided into the inference engine and the knowledge base. Both are expressed in different custom LISPy dialects. The knowledge base language is like a layer on top of the inference engine language.<p>The inference engine language has LISPy syntax but is crucially very un-LISPy in certain ways (way more procedural, no lambdas, reading it makes me want to die). To build the inference engine, you run a process that translates the inference code into Java and compiles that. Read that closely - it doesn't compile to JVM bytecode, it transpiles to Java source files, which are then compiled. This process was created before languages other than Java targeting the JVM were really a thing. There was a push to transition to Clojure or something for the next version of Cyc, but I don't know how far it got off the ground because of 30 years of technical debt.<p>The knowledge base itself is basically a set of images running on servers that periodically serialize their state in a way that can be restarted - individual ontologists can boot up their own images, make changes and transmit those to the central images. This model predates things like version control and things can get hairy when different images get too out of sync. Again, there was an effort to build a kind of git-equivalent to ease those pains, which I think was mostly finished but not widely adopted.<p>There are project-specific knowledge base branches that get deployed in their own images to customers, and specific knowledge base subsets used for different things.</p>
]]></description><pubDate>Fri, 13 Dec 2019 19:16:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=21784444</link><dc:creator>catpolice</dc:creator><comments>https://news.ycombinator.com/item?id=21784444</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21784444</guid></item></channel></rss>