<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: badgar</title><link>https://news.ycombinator.com/user?id=badgar</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 10:00:03 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=badgar" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by badgar in "Google Open-Sources Gumbo: C Library for Parsing HTML5"]]></title><description><![CDATA[
<p>My undergrad thesis advisor, Bill McKeeman, wrote his parsers in this fashion. I implemented a parser using this model and extended its existing lexer.<p>The token stream is an array of 32 bit integers, each of which is the token type bitmasked onto an index into the input file of the start of the token. If you need the token text, you reparse. Caches can be implemented as small hash maps from token index to cached value.<p>The canonical AST is the CFG parse tree with fixups to convert recursion to children of a node type for a variable number of children. It is stored as an array of integers. The node is a sequence of integers, with one integer for the root followed by each child in sequence. Each internal node's value is the index of the CFG rule evaluated to produce the node, and the children of the node correspond to the CFG rule's right hand side (minus keywords). Terminals are stored as integer indexes into the token stream. Nonterminals are the integer index of the child internal node.<p>Bill has been a big name in compilers for the better part of 5 decades now, and he said he's been using this pattern for almost as long. It's ridiculously fast, which is why he used it decades ago for DEC.</p>
]]></description><pubDate>Wed, 14 Aug 2013 16:42:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=6212551</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=6212551</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=6212551</guid></item><item><title><![CDATA[New comment by badgar in "How a nation of junkies went cold turkey"]]></title><description><![CDATA[
<p>> Nope, it's bullshit, just like badgar's half ounce-a-week descent into ruin.<p><i>Excuse me</i>? First of all, nothing I described was "descent into ruin." I said I'm having a hard time not smoking pot and it's affecting many aspects of my life. You have no idea what you're talking about, how dare you say I'm not struggling? Have you ever considered that <i>people have a hard time quitting drugs</i>? That pot might actually harm someone? No, your mind's made up: it's all a conspiracy by the drug companies!<p>> I have to doubt its legitimacy because the post reads like a plant by one invested in treatment facilities and private prisons.<p>Fuck you, you conspiracy-minded, condescending prick. I'm having a hard time over here but you think you're so important that treatment facilities and prisons are planting stories on a tiny technology startup forum.<p>> If not, then I truly sympathize, but it is entirely incorrect to link a behavioral addiction with a physical addiction such as one caused by opiates. They are in no way equivalent.<p>You don't sympathize, you're busy paranoid that prisons are astroturfing HN. And I thought paranoia was bad when you smoke on the streets. By the way, this entire subthread is talking about marijuana use and affecting career growth. So this entire point is irrelevant.<p>I fucking hate this site sometimes.</p>
]]></description><pubDate>Mon, 13 May 2013 03:07:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=5696975</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5696975</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5696975</guid></item><item><title><![CDATA[New comment by badgar in "How a nation of junkies went cold turkey"]]></title><description><![CDATA[
<p>Nobody in this thread knows what they're talking about. You might as well have said "As entertainment, food is no worse or distracting than television."<p>Look, not everybody gets addicted to pot, in fact most folks don't. But it's psychologically addictive like everything chemically active you put in your body, and being constantly stoned because you're addicted is a <i>miserable</i> way to live.<p>I know, because I've been trying to quit all year. I've failed twice since February and I'm on my third go of it right now. And I only smoked a half-ounce a week for a year or so. That's probably a lot to the people reading this, but it's really not much as far as potheads go.<p>I'm sick of thinking so much slower than I know I can, being so much <i>dumber</i> than I used to be. I can't do my job nearly as well and I take pride in my work, so being too dumb to do my job has been really upsetting. I almost wish I were still addicted to cocaine, because at least then I kicked ass and took names when it came to thinking/analyzing/working in general.<p>I'm tired of being too lazy to leave my apartment all weekend, of the food I eat when I'm stoned, of not being present around my friends, family and co-workers, of needing to smoke when I wake up because it's so <i>uncomfortable</i> to be lucid. My motivation to pursue new ideas, to eat healthy and go to the gym, to meet new friends and pursue new women is all through the floor. My body desperately wants pot right now and I'm anxious and depressed as hell and my body is tugging at me to reach for any alternative, like alcohol or cigarettes.<p>Every drug taken to extreme can seriously hurt your life. Even weed. Stop trivializing it because you smoked a few joints in college.<p>Edit: and now I'm slowbanned, for sticking up for myself when someone kicked me while I was down. Time to roll a new account, I guess.</p>
]]></description><pubDate>Mon, 13 May 2013 01:19:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=5696681</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5696681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5696681</guid></item><item><title><![CDATA[New comment by badgar in "How a nation of junkies went cold turkey"]]></title><description><![CDATA[
<p>Yep, Galaxy Nexus here and it is completely unresponsive to any interaction whatsoever.</p>
]]></description><pubDate>Mon, 13 May 2013 00:53:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=5696606</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5696606</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5696606</guid></item><item><title><![CDATA[New comment by badgar in "City of Boston drops Microsoft for Gmail"]]></title><description><![CDATA[
<p>> Problem?<p>The problem is you aren't sticking with the narrative folks here are comfortable with. This particular Internet forum assumes Google has zero support, even though this is pointed out as false in literally every Google thread. This despite HN users genuinely believing they are smarter and have higher-minded debate than other forums.</p>
]]></description><pubDate>Sun, 12 May 2013 21:47:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=5695993</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5695993</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5695993</guid></item><item><title><![CDATA[New comment by badgar in "Python's sad, unimaginative Enum"]]></title><description><![CDATA[
<p>What's up with Peter Norvig's comment at the bottom? Did he not RTFA? He suggests a solution that the article criticizes heavily halfway through.</p>
]]></description><pubDate>Sat, 11 May 2013 18:57:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=5691680</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5691680</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5691680</guid></item><item><title><![CDATA[New comment by badgar in "AOL Is Still the Weirdest Successful Tech Company in America"]]></title><description><![CDATA[
<p>The last I've heard of this was 2 years ago, an article in the New Yorker: <a href="http://www.newyorker.com/reporting/2011/01/24/110124fa_fact_auletta" rel="nofollow">http://www.newyorker.com/reporting/2011/01/24/110124fa_fact_...</a><p>At that point, it was ~40% of revenue and ~80% of profits from subscribers. Apparently they've gone nowhere, fast.</p>
]]></description><pubDate>Wed, 08 May 2013 17:30:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=5675583</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5675583</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5675583</guid></item><item><title><![CDATA[New comment by badgar in "Google Now on your iPhone and iPad"]]></title><description><![CDATA[
<p>Random is incorrect.</p>
]]></description><pubDate>Sun, 05 May 2013 17:24:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=5659041</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5659041</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5659041</guid></item><item><title><![CDATA[New comment by badgar in "Google Now on your iPhone and iPad"]]></title><description><![CDATA[
<p>That's because it's Google Now, not Google Planner. It's for giving you information relevant to <i>right now.</i> You don't plan to use Google Now for something, you check it when you want information relevant to you at the moment. If you stop trying to make Google Now into a personal organizer, you'll enjoy using it more.</p>
]]></description><pubDate>Tue, 30 Apr 2013 19:39:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=5634434</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5634434</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5634434</guid></item><item><title><![CDATA[New comment by badgar in "Google Now on your iPhone and iPad"]]></title><description><![CDATA[
<p>> You can't be sure if a card will appear for flights<p>In my experience, Google Now finds my flights <i>in my Gmail</i> 100% of the time. For at least a dozen flights across the US. And for some airports (SFO is one, unsurprisingly) it even has the terminal and gate information ready! Google Now makes the "arriving at the airport" experience better every time for me.</p>
]]></description><pubDate>Mon, 29 Apr 2013 23:11:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=5629466</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5629466</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5629466</guid></item><item><title><![CDATA[New comment by badgar in "Killer escaped prison after being issued picture of master key"]]></title><description><![CDATA[
<p>You buy expensive makes then, I really hope you know that you're way above what most people spend on cars. Most cars don't have those chips yet. The only sort of mainstream car I've seen with a chip in the key is the prius, which starts in the low 20s new.</p>
]]></description><pubDate>Sat, 27 Apr 2013 03:54:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=5616744</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5616744</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5616744</guid></item><item><title><![CDATA[New comment by badgar in "Former Hostgator employee arrested, charged with rooting 2,700 servers"]]></title><description><![CDATA[
<p>He had root, so he could have instead installed a rootkit, which can hide the existence of processes from all of userland. In a graduate OS class I took, we had an assignment to do hide a process live on OpenSolaris 8 using the kernel debugger (kdb). I wrote some assembly and overwrote some bytes in the syscall functions for process listing. We were on developer builds so you could just use the function symbols by name in kdb. I forgot to cover /proc/ though.</p>
]]></description><pubDate>Fri, 19 Apr 2013 19:59:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=5578427</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5578427</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5578427</guid></item><item><title><![CDATA[New comment by badgar in "Google Outage "]]></title><description><![CDATA[
<p>> uptime percentages are a useless measure<p>Uptime is only useless if you don't care about high availability. Many startups don't, but Google sure does.</p>
]]></description><pubDate>Wed, 17 Apr 2013 15:24:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=5564977</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5564977</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5564977</guid></item><item><title><![CDATA[New comment by badgar in "We used to sleep twice each night"]]></title><description><![CDATA[
<p>Whenever I go to bed early, I wake up for the best hour or two of my life around midnight. Good to know I'm in working order.</p>
]]></description><pubDate>Sat, 13 Apr 2013 05:12:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=5542648</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5542648</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5542648</guid></item><item><title><![CDATA[New comment by badgar in "How can we get Google Support?"]]></title><description><![CDATA[
<p>When people don't argue in good faith, I think it's more important to make sure others following along see so and aren't misled by FUD and ignorance. I value that over being sensitive to the person who is participating in bad faith, as this user is.<p>Being pleasant and gentle to everyone is not the most important part of discourse, not even on HN.<p>As to the accusation of ad hominem: every single point I made was directed at - and based solely on - the arguments made by the other user. Once these arguments were ultimately found to be made in bad faith, I ended the discussion. That's not an ad hominem argument, that's ending an argument because of a negative evaluation of the other person's state of mind. Two very different things - almost unrelated, honestly.</p>
]]></description><pubDate>Wed, 10 Apr 2013 22:39:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=5528705</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5528705</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5528705</guid></item><item><title><![CDATA[New comment by badgar in "IRS claims it can read your e-mail without a warrant"]]></title><description><![CDATA[
<p>IANAL, but cell phone calls are encrypted, and I'm pretty damn sure you need a warrant to legally decrypt a cell phone conversation over the air.<p>But I bet you wouldn't need a warrant if you wanted to just capture and show the existence of the emitted radio waves as evidence, ignoring their contents (if you were making some kind of a traffic analysis type of argument).</p>
]]></description><pubDate>Wed, 10 Apr 2013 17:27:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=5526595</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5526595</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5526595</guid></item><item><title><![CDATA[New comment by badgar in "How can we get Google Support?"]]></title><description><![CDATA[
<p>> Google offers support for exactly one product (adwords).<p>Since this a bald-faced lie, my unpleasantness is clearly warranted. You are clearly deriving arguments from a predetermined conclusion likely reached ages ago. At this point you apparently are trying to make inferences about demand without even trying to understand the existing supply, and the contortions you're going through to justify your existing beliefs are astonishing.</p>
]]></description><pubDate>Wed, 10 Apr 2013 16:18:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=5526077</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5526077</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5526077</guid></item><item><title><![CDATA[New comment by badgar in "How can we get Google Support?"]]></title><description><![CDATA[
<p>Generally, we consider a service being too expensive to be a good reason for a company not to offer that service. So not offering a service might be evidence that said service is too expensive to offer/operate. You can see this argument being made prominently in the Linode thread on the front page - someone complains that they don't offer a $10/month plan, and others point out it would be extremely expensive to support. Thus the lack of the $10/month plan is used as evidence that it is likely too expensive to offer.<p>You've gone the completely other way: you're saying the service not being offered is evidence that it is cheap. This is the opposite of the typical argument. So I'm reducing your idea here to its simplest logical form, trying to make it super clear to readers (and hopefully you) how ass-backwards it is.</p>
]]></description><pubDate>Wed, 10 Apr 2013 15:28:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=5525713</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5525713</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5525713</guid></item><item><title><![CDATA[New comment by badgar in "How can we get Google Support?"]]></title><description><![CDATA[
<p>No, logic doesn't work that way. Absence of X does not prove that X is cheap.</p>
]]></description><pubDate>Wed, 10 Apr 2013 14:52:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=5525482</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5525482</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5525482</guid></item><item><title><![CDATA[New comment by badgar in "Why Did Yahoo Buy Summly?"]]></title><description><![CDATA[
<p>Considering how much heat gizmodo got for calling out the same kid two years ago, I'm not surprised.</p>
]]></description><pubDate>Wed, 10 Apr 2013 02:54:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=5522940</link><dc:creator>badgar</dc:creator><comments>https://news.ycombinator.com/item?id=5522940</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5522940</guid></item></channel></rss>