<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: brlewis</title><link>https://news.ycombinator.com/user?id=brlewis</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 00:56:31 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=brlewis" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by brlewis in "Who uses Accept-Language header?"]]></title><description><![CDATA[
<p>Accept-Language headers aren't used in a particularly good way by browsers and servers. If used better, they would be a particularly good solution.<p>The idea you mentioned of browsers allowing the header to be set on a per-site basis would be particularly good.<p>Another very good solution would be for servers to assign weight to the languages they support, and to combine their weights with the Accept-Language weights to choose the best language in common.<p>But even as they're implemented and used now, Accept-Language headers are already a way better approach than geo-ip.</p>
]]></description><pubDate>Tue, 10 Sep 2024 14:20:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=41501062</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=41501062</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41501062</guid></item><item><title><![CDATA[New comment by brlewis in "Who uses Accept-Language header?"]]></title><description><![CDATA[
<p>My hunch is that Accept-Language became the best way to determine a user's language about the time it became common to bring a laptop while traveling. People use arguments today against Accept-Language that have been wrong for decades.<p>EDIT: Best <i>initial</i> way to determine a user's language. MDN is right that overrides should be possible. <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation#the_accept-language_header" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_ne...</a></p>
]]></description><pubDate>Tue, 10 Sep 2024 14:03:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=41500868</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=41500868</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41500868</guid></item><item><title><![CDATA[New comment by brlewis in "Apple's requirements are about to hit creators and fans on Patreon"]]></title><description><![CDATA[
<p>I think your information about lack of notifications is outdated.<p><a href="https://developer.apple.com/documentation/usernotifications/sending-web-push-notifications-in-web-apps-and-browsers" rel="nofollow">https://developer.apple.com/documentation/usernotifications/...</a></p>
]]></description><pubDate>Tue, 13 Aug 2024 18:52:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=41238358</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=41238358</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41238358</guid></item><item><title><![CDATA[New comment by brlewis in "When Companies Ask for Your Social Security Number, Try Saying No"]]></title><description><![CDATA[
<p>I once insisted with an optometrist that they only take my insurance number and not my SSN. They contacted my insurance and the insurance sent them my SSN.<p>I can't avoid medical insurance having my SSN because of tax reporting requirements.</p>
]]></description><pubDate>Sat, 01 Jun 2024 04:37:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=40542911</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=40542911</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40542911</guid></item><item><title><![CDATA[New comment by brlewis in "Branded types for TypeScript"]]></title><description><![CDATA[
<p>That's distinguishing the String class from primitive string. I don't think that would still work with another `extends String` the same shape as Hash.<p>For example: <a href="https://www.typescriptlang.org/play/?#code/GYVwdgxgLglg9mABOARgJwIZgCYFNsAiuAtnABQCUiA3gFCKIQA2GAzq4gIJgzEZM16DRDFYApDAHMQGNAC5EKOHCa4siALyJg-VrgDcQgL60hzNh04gocUihirBwkeKkz5i5avVadTPYYMJkKgkLAIiLhgkjBguADKcODYZBCyClY2dg64VHTOaLhQIGhIaWgAdKIS0rKIAPyIAEQAbmjKxE2ICk0ADtaI-VBNgYjBDBAIrCq4FUxwkmRRMXGJyWQALABMFBT6iAD0B4gAKgCevQkQaDC9UIy2vSyxrGZTM3MLS9GxCUk4ZDiAHcuDw+ExKLt9kdThcrjc7ohsHBcBwwHB7pNiE8MLFaCYgA" rel="nofollow">https://www.typescriptlang.org/play/?#code/GYVwdgxgLglg9mABO...</a><p><pre><code>  class Animal {
    isJaguar: boolean = false;
  }

  class Automobile {
    isJaguar: boolean = false;
  }

  function engineSound(car: Automobile) {
    return car.isJaguar ? "vroom" : "put put";
  }

  console.log(engineSound(42)); // TypeScript complains
  console.log(engineSound(new Animal())); // TypeScript does not complain</code></pre></p>
]]></description><pubDate>Wed, 15 May 2024 14:45:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=40367640</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=40367640</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40367640</guid></item><item><title><![CDATA[New comment by brlewis in "Show HN: Term Typer – Learn a language by typing"]]></title><description><![CDATA[
<p>This seems like a great idea, nicely implemented.<p>Minor bug report: the pronunciation button pronounced Spanish "adaptar" as "ajaptar".</p>
]]></description><pubDate>Tue, 16 Apr 2024 20:55:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=40057074</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=40057074</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40057074</guid></item><item><title><![CDATA[New comment by brlewis in "The Arc Product-Market Fit Framework"]]></title><description><![CDATA[
<p>Deep sleep is not improved by consistent sleep/wake times, and adjustments to noise/temperature/light conditions? If not, which sleep phases are?<p>(I don't have an answer to the overlap question; I'm squarely in Hard Fact.)</p>
]]></description><pubDate>Sun, 14 Apr 2024 00:32:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=40027580</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=40027580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40027580</guid></item><item><title><![CDATA[New comment by brlewis in "Rents are soaring. Is RealPage to blame?"]]></title><description><![CDATA[
<p>From the article,<p><i>In fact, the lawsuits claim that RealPage shares "peer lists" with clients that tell them exactly who else is providing data to the company within a specific distance of their property.</i><p>This sounds like reassurance to a landlord that peers will mimic the same price moves. If true, I would call that price fixing.</p>
]]></description><pubDate>Wed, 10 Apr 2024 17:16:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=39993218</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39993218</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39993218</guid></item><item><title><![CDATA[New comment by brlewis in "Bun 1.1"]]></title><description><![CDATA[
<p>See my answer "what's cool about deno" <a href="https://gitlab.com/brlewis/brlewis-aoc/-/blob/main/README.md?ref_type=heads" rel="nofollow">https://gitlab.com/brlewis/brlewis-aoc/-/blob/main/README.md...</a></p>
]]></description><pubDate>Tue, 02 Apr 2024 01:31:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=39901432</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39901432</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39901432</guid></item><item><title><![CDATA[New comment by brlewis in "Being laid off in 2023-2024 as an early-career developer"]]></title><description><![CDATA[
<p>Don't give up on your network. For applying cold, have you tuned your resume for Applicant Tracking Systems?<p>I am starting a new job in April with a company that contacted me via LinkedIn in December.</p>
]]></description><pubDate>Thu, 28 Mar 2024 01:23:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=39846749</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39846749</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39846749</guid></item><item><title><![CDATA[New comment by brlewis in "French court issues damages award for violation of GPL"]]></title><description><![CDATA[
<p>Isn't that assuming that Orange's legal costs would have been the same whether or not they settled?</p>
]]></description><pubDate>Mon, 04 Mar 2024 20:34:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=39595679</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39595679</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39595679</guid></item><item><title><![CDATA[New comment by brlewis in "French court issues damages award for violation of GPL"]]></title><description><![CDATA[
<p>>It is also bizarre that someone could take BSD code, make trivial modifications, and now such cannot be sent upstream or used under the original license.<p>No it is not bizarre. That is precisely how the BSD license is intended to work. If you want to ensure that changes fall under the original license, then you want GPL.</p>
]]></description><pubDate>Mon, 04 Mar 2024 16:27:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=39592228</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39592228</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39592228</guid></item><item><title><![CDATA[New comment by brlewis in "A simple MUD server in Python which can be run on a Raspberry Pi"]]></title><description><![CDATA[
<p>> especially blind players<p>Isn't accessibility for a web-based MUD just a matter of adding `aria-live="polite"` as an attribute to the incoming text? Five years ago I did this on <a href="https://evolvingstory.juliablewis.com/" rel="nofollow">https://evolvingstory.juliablewis.com/</a> and it seemed to work with OSX screen reading.</p>
]]></description><pubDate>Sun, 25 Feb 2024 01:46:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=39496851</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39496851</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39496851</guid></item><item><title><![CDATA[New comment by brlewis in "Go run"]]></title><description><![CDATA[
<p>That's missing the point. The article isn't about an advantage for large production projects.</p>
]]></description><pubDate>Thu, 22 Feb 2024 12:13:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=39466006</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39466006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39466006</guid></item><item><title><![CDATA[New comment by brlewis in "Go run"]]></title><description><![CDATA[
<p>This article would have worked a lot better without the second paragraph. The writer's simple pleasure of typing "go run ..." should not be predicated on believing that deno doesn't exist.</p>
]]></description><pubDate>Thu, 22 Feb 2024 03:24:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=39462833</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39462833</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39462833</guid></item><item><title><![CDATA[New comment by brlewis in "My PHP Problems"]]></title><description><![CDATA[
<p>>functions are global so you now need to name them uniquely to avoid collisions<p>I hear this here, and elsewhere I hear that PHP has evolved into a decent language. Both can't be true.</p>
]]></description><pubDate>Tue, 20 Feb 2024 03:42:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=39437813</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39437813</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39437813</guid></item><item><title><![CDATA[New comment by brlewis in "My PHP Problems"]]></title><description><![CDATA[
<p>The survey methodology is biased toward old technologies, from the era where you sent HTTP headers that advertised the stack you were using. Modern stacks often hide that info. (It's also biased toward techs used in blogs, since when it detects a tech used on blog.example.com, that tech is counted for example.com)</p>
]]></description><pubDate>Tue, 20 Feb 2024 03:36:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=39437782</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39437782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39437782</guid></item><item><title><![CDATA[New comment by brlewis in "How I got scammed out of $50k"]]></title><description><![CDATA[
<p>It's possible that most commenters here are right, that the writer just has inferior reasoning capabilities compared to us, and that there's no way any of us could possibly fall for such a scam.<p>But I think it's more likely that there are techniques scammers can use to incrementally build trust, and that the rest of us would be wise to watch out for such techniques being used against us.<p>Quote: <i>If it was a scam, I couldn’t see the angle. It had occurred to me that the whole story might be made up or an elaborate mistake. But no one had asked me for money or told me to buy crypto; they’d only encouraged me not to share my banking information. They hadn’t asked for my personal details; they already knew them. I hadn’t been told to click on anything.</i><p>The writer had carried on entire conversations with Krista and Calvin which lacked a scam angle. This wore the writer down to where she was more receptive to the stories being told to her. This is a warning to the rest of us to keep our guard up even after such conversations.<p><i>When I posed this theory to Saul Kassin, a psychology professor at John Jay College of Criminal Justice who studies coerced confessions, he agreed. “If someone is trying to get you to be compliant, they do it incrementally, in a series of small steps that take you farther and farther from what you know to be true,” he said. “It’s not about breaking the will. They were altering the sense of reality.”</i></p>
]]></description><pubDate>Thu, 15 Feb 2024 15:23:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=39383760</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39383760</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39383760</guid></item><item><title><![CDATA[New comment by brlewis in "Why is Common Lisp not the most popular programming language?"]]></title><description><![CDATA[
<p>I definitely include linters, not just style formatters.<p>> It happens even in fairly rigid languages like Java, I can't imagine what you'd end up with Lisp.<p>I imagine it would be about the same, with human factors dominating. If Lisp's flexibility pushed in the direction of inconsistency, the ease with which you could write codemods for Lisp would push in the direction of consistency.<p>> Has there ever even been any Lisp-based company with a 20+ year old codebase where a cast of tens of thousands of developers have worked on it over the years? I can't think of any but maybe I haven't heard of it.<p>I haven't heard of any either. If you hear about one, LMK if they're hiring.</p>
]]></description><pubDate>Thu, 15 Feb 2024 13:09:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=39382225</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39382225</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39382225</guid></item><item><title><![CDATA[New comment by brlewis in "Why is Common Lisp not the most popular programming language?"]]></title><description><![CDATA[
<p>I didn't end up with ))))))))) in Scheme because it was easy to create smaller functions. I do see rust ending with<p><pre><code>      }
    }
  }
</code></pre>
In TypeScript I'll often find myself ending blocks of code with<p><pre><code>        });
      }
    });
  }
</code></pre>
I'm having fun with TS, but I do miss the parentheses. They were simpler.</p>
]]></description><pubDate>Thu, 15 Feb 2024 13:04:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=39382170</link><dc:creator>brlewis</dc:creator><comments>https://news.ycombinator.com/item?id=39382170</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39382170</guid></item></channel></rss>