<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: Xlythe</title><link>https://news.ycombinator.com/user?id=Xlythe</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 03 Apr 2026 18:54:00 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=Xlythe" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by Xlythe in "Google Ordered to Pay $315M for Taking Data from Idle Android Phones"]]></title><description><![CDATA[
<p>What was the data actually sent out? It was vague enough to sound like it could be tracking data (eg. Location) or it could be something like automatic updates.</p>
]]></description><pubDate>Thu, 03 Jul 2025 01:57:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44450893</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=44450893</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44450893</guid></item><item><title><![CDATA[New comment by Xlythe in "Whistleblower details how DOGE may have taken sensitive NLRB data"]]></title><description><![CDATA[
<p>Including anyone Trump still considers a "criminal" even after they've been acquitted by the courts.</p>
]]></description><pubDate>Tue, 15 Apr 2025 18:26:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43696649</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=43696649</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43696649</guid></item><item><title><![CDATA[New comment by Xlythe in "Trump Administration Moves to End New York's Congestion Pricing Tolls"]]></title><description><![CDATA[
<p>Even as a (dark) joke, the official @WhiteHouse Twitter post on NYC's congestion pricing is uncomfortable: <a href="https://xcancel.com/WhiteHouse/status/1892295984928993698" rel="nofollow">https://xcancel.com/WhiteHouse/status/1892295984928993698</a><p>The president is not a king.</p>
]]></description><pubDate>Wed, 19 Feb 2025 22:17:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=43108461</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=43108461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43108461</guid></item><item><title><![CDATA[New comment by Xlythe in "Elon Musk's Demolition Crew"]]></title><description><![CDATA[
<p>Sure, happy to expand.<p>Stepping back quite a bit, the US constitution divides up responsibilities between the Legislator (Congress), the Executive (President), and the courts (Supreme Court).<p>The Legislator is given rights over declaring war, applying tariffs and levying taxes, federal budget, approving international treaties, and of course writing laws. Over the past 250 years, the legislative branch has slowly given the executive branch more discretion. In times of emergency, the legislative branch moves too slowly, so the executive branch is better suited to make snap decisions.<p>Trump, as soon as he's taken office, immediately used these powers to declare an emergency at the border (<a href="https://www.whitehouse.gov/fact-sheets/2025/01/fact-sheet-president-donald-j-trump-declares-a-national-emergency-at-the-southern-border/" rel="nofollow">https://www.whitehouse.gov/fact-sheets/2025/01/fact-sheet-pr...</a>) and redirected the military to intervene. It's an abuse of the power, as the situation has been relatively stable (enough so that congress should have had time to meet and decide on next steps), but it's something he did in his last term as well (<a href="https://trumpwhitehouse.archives.gov/presidential-actions/presidential-proclamation-declaring-national-emergency-concerning-southern-border-united-states/" rel="nofollow">https://trumpwhitehouse.archives.gov/presidential-actions/pr...</a>) so was expected. What wasn't expected was the repurposing of Guantanamo Bay (a military prison with a dark history outside the jurisdiction of most US courts) now being used for migrants (<a href="https://www.bbc.com/news/articles/cy0p1ykxyzjo" rel="nofollow">https://www.bbc.com/news/articles/cy0p1ykxyzjo</a>). It's a worrying trend of moving undesirables somewhere out of sight of the general public. In his last term, there were detention centers inside of the US (<a href="https://abcnews.go.com/Politics/tornillo-texas-tent-camp-housed-thousands-migrant-children/story?id=60319788" rel="nofollow">https://abcnews.go.com/Politics/tornillo-texas-tent-camp-hou...</a>) with poor conditions -- most notably, Trump pardoned one such sheriff (<a href="https://www.npr.org/2017/08/25/545282459/president-trump-pardons-former-sheriff-joe-arpaio" rel="nofollow">https://www.npr.org/2017/08/25/545282459/president-trump-par...</a>) who was remarkably cruel and called the tent cities personal concentration camps. This shift to move migrants to more restricted areas is seen as a way to avoid oversight.<p>Trump likewise invoked the International Emergency Economic Powers Act to levy tariffs against Canada (<a href="https://www.whitehouse.gov/presidential-actions/2025/02/progress-on-the-situation-at-our-northern-border/" rel="nofollow">https://www.whitehouse.gov/presidential-actions/2025/02/prog...</a>), Mexico (<a href="https://www.whitehouse.gov/presidential-actions/2025/02/imposing-duties-to-address-the-situation-at-our-southern-border/" rel="nofollow">https://www.whitehouse.gov/presidential-actions/2025/02/impo...</a>), and China (<a href="https://www.whitehouse.gov/presidential-actions/2025/02/imposing-duties-to-address-the-synthetic-opioid-supply-chain-in-the-peoples-republic-of-china/" rel="nofollow">https://www.whitehouse.gov/presidential-actions/2025/02/impo...</a>). Again, these powers are usually invoked in response to war, so it's considered an abuse of power. Canada and Mexico are also close allies and a part of USMCA, which is a treaty promoting free trade between the three countries; Trump negotiated & signed the USMCA treaty when he was last in office, and has since called it a bad deal and these tariffs directly conflict with it. It's put the US in a situation where allies are being alienated. Trump has also threatened tariffs against the EU and Taiwan, both of which currently count on US military intervention in case of war, which is straining those relationships as well.<p>Republicans, hopefully more as a show of solidarity than an act they'd follow through with, have also introduced legislation (<a href="https://ogles.house.gov/media/press-releases/rep-ogles-proposes-amending-22nd-amendment-allow-trump-serve-third-term" rel="nofollow">https://ogles.house.gov/media/press-releases/rep-ogles-propo...</a>) to allow Trump (and only Trump) to run a 3rd term as president. This kind of twisting of the laws is something you'd expect more in Russia or other puppet governments and leaves a bad taste. Similarly, legislation to add Trump to our national landmarks (<a href="https://www.congress.gov/bill/119th-congress/house-bill/792" rel="nofollow">https://www.congress.gov/bill/119th-congress/house-bill/792</a>) have been floated while Trump has had historically low approval ratings when compared to past presidents (<a href="https://news.gallup.com/poll/203198/presidential-approval-ratings-donald-trump.aspx" rel="nofollow">https://news.gallup.com/poll/203198/presidential-approval-ra...</a>).<p>In Trump's previous term, he appointed several Supreme Court justices. The court is idealistically an unbiased and independent branch, and are given lifetime appointments as such, but the political leanings of the court have shifted with these new appointments. Abortion, a controversial topic in the US, was recently made illegal in several states after the court re-ruled, on party lines, a 50-year standing (<a href="https://www.supremecourt.gov/opinions/21pdf/19-1392_6j37.pdf" rel="nofollow">https://www.supremecourt.gov/opinions/21pdf/19-1392_6j37.pdf</a>). More recently, and relevantly, though, the supreme court ruled again on party lines that the president cannot be taken to court over illegal acts while in office (<a href="https://www.supremecourt.gov/opinions/23pdf/23-939_e2pg.pdf" rel="nofollow">https://www.supremecourt.gov/opinions/23pdf/23-939_e2pg.pdf</a>) and that only congress's power of impeachment can be used. With a republican majority in both houses of congress (and impeachment requiring 2/3rds approval to convict), there seem to be little to no recourse to anything Trump has done or plans to do regardless of legality. It's democratic in a sense -- the US population voted for a majority in the house and senate and so we're getting what we voted for -- but there's 2 years until the next election, so there's a prevailing sense of helplessness.<p>Getting into powers of the purse, as mentioned before, the executive branch is expected to dutifully carry out the budget and laws set by the legislative branch. This includes the creation and running of departments, as well as getting senate approval for department heads. Notably, Elon Musk is not a senate-approved department head, but he's been given dangerous amounts of access to the treasury (<a href="https://www.wired.com/story/treasury-department-doge-marko-elez-access/" rel="nofollow">https://www.wired.com/story/treasury-department-doge-marko-e...</a>) and other departments. This is without going through the normal vetting process (although, as President, Trump does have the power to bypass such requirements. It's simply against norms, and raises concerns about the possibility of blackmail, espionage, and hacking). Elon has also declared several departments as 'criminal organizations' (<a href="https://www.npr.org/2025/02/03/nx-s1-5285539/doge-musk-usaid-trump" rel="nofollow">https://www.npr.org/2025/02/03/nx-s1-5285539/doge-musk-usaid...</a>), Trump has fired anyone who has pushed back against Elon's requests, and funding for most departments has been paused pending review. Trump has also offered almost federal employees a Voluntary Exit Program (VEP) (<a href="https://www.opm.gov/fork/" rel="nofollow">https://www.opm.gov/fork/</a>), although the legality of such a VEP is debated since past court cases (<a href="https://www.oyez.org/cases/1989/88-1943" rel="nofollow">https://www.oyez.org/cases/1989/88-1943</a>) have ruled that congressional approval is necessary. If that's the case, anyone who resigns may not end up being paid. This is seen as a wider purge (eg. <a href="https://apnews.com/article/trump-fbi-firing-a7b19a5f414ce82c6f6b5f6656000d23" rel="nofollow">https://apnews.com/article/trump-fbi-firing-a7b19a5f414ce82c...</a>, <a href="https://www.cbsnews.com/news/trump-federal-inspectors-general-fired/" rel="nofollow">https://www.cbsnews.com/news/trump-federal-inspectors-genera...</a>) of the government to replace federal employees with loyalists to the president (instead of to the constitution).<p>And for Elon specifically, during Trump's inauguration he did his infamous "My heart goes out to you" salute (<a href="https://www.youtube.com/watch?v=-VfYjPzj1Xw" rel="nofollow">https://www.youtube.com/watch?v=-VfYjPzj1Xw</a>) which is seen as a poor attempt to signal to the far right and neo-nazi parties, that typically have supported the republican party, that they are welcome and in positions of power now. Elon also spoke at far-right rallies in Germany (<a href="https://www.reuters.com/world/europe/elon-musk-appears-video-german-far-right-campaign-event-2025-01-25/" rel="nofollow">https://www.reuters.com/world/europe/elon-musk-appears-video...</a>) championing lines of nationalist empowerment. At face value, it's innocent enough, but these terms are also seen as a dogwhistle for neo-nazis and so it's seen together as another vocalization of support for them.<p>Trump also pardoned everyone involved in the insurrection on January 6th, who had invaded the capital and attempted to abduct the congressmen and vice president to stop them from ratifying the peaceful transfer of power in 2020. This is seen as a nod from Trump that if you support him, you will have immunity for your actions.<p>---<p>The US populace voted for this, so if it's a coup it's a bloodless one. But everything Trump has done in the few weeks he's been in office is very extreme by the standards of the US. The transfer is power is usually peaceful, and builds upon the work of past presidents. This is a very abrupt departure from that, and no concern is given to impressions of corruption and nepotism.</p>
]]></description><pubDate>Fri, 07 Feb 2025 06:42:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=42970092</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=42970092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42970092</guid></item><item><title><![CDATA[New comment by Xlythe in "Disappointed with the TVs at CES 2025"]]></title><description><![CDATA[
<p>Oh, hey, I was working on that back in 2014 for one of the big TV manufacturers. The project was ultimately cancelled.<p>It was nice for things like switching HDMI inputs; you could dynamically update the name and icon, making it more intuitive for someone who had never used the TV before and didn't know what was plugged into which port. You could also adjust settings more easily without everyone have to watch together with you on the big screen as you dug to find the obscure setting to tweak.<p>But your complaints were equally valid, and were a concern at the time.<p>I would have liked to see it ship, if just to see if customers liked it. A traditional remote still worked too. But oh well.</p>
]]></description><pubDate>Fri, 10 Jan 2025 00:59:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=42651442</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=42651442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42651442</guid></item><item><title><![CDATA[New comment by Xlythe in "Llama.ttf: A font which is also an LLM"]]></title><description><![CDATA[
<p>It seems like it'd be possible to, instead of typing multiple exclamation points, have one trigger-character (eg. ). And then replace that character visually with an entire paragraph of text, assuming there aren't limits to the width of a character in fonts. I suppose the cursor and text wrapping would go wonky, though.<p>You could also use this to make animated fonts. An excuse to hook up a diffusion model next?</p>
]]></description><pubDate>Sun, 23 Jun 2024 15:03:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=40767973</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=40767973</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40767973</guid></item><item><title><![CDATA[New comment by Xlythe in "How Apple Sank About $1B a Year Into a Car It Never Built"]]></title><description><![CDATA[
<p>They pioneered the graphical user interface: <a href="https://www.folklore.org/Busy_Being_Born.html" rel="nofollow">https://www.folklore.org/Busy_Being_Born.html</a></p>
]]></description><pubDate>Thu, 07 Mar 2024 01:07:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=39623870</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=39623870</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39623870</guid></item><item><title><![CDATA[New comment by Xlythe in "Shaun Maguire could't be promoted for being white, at Google"]]></title><description><![CDATA[
<p>Google, internally, is pretty up front that there's a forced distribution (or quota) for performance ratings and promotions. It's for budgetary reasons, and it's not strictly enforced, but it's published and often referred to. Past a certain level, a business justification is also needed in addition to merit.<p>The quota the manager was referring to was very likely that.</p>
]]></description><pubDate>Fri, 23 Feb 2024 09:45:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=39478745</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=39478745</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39478745</guid></item><item><title><![CDATA[New comment by Xlythe in "Google lays off hundreds in hardware, voice assistant teams"]]></title><description><![CDATA[
<p>They've had one ongoing since Q3 2022 in my org.</p>
]]></description><pubDate>Thu, 11 Jan 2024 15:03:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=38953076</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=38953076</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38953076</guid></item><item><title><![CDATA[New comment by Xlythe in "'Counterfeit people': The danger posed by Meta’s AI celebrity lookalike chatbots"]]></title><description><![CDATA[
<p>Sounds like a reference to the "Google People" parody: <a href="https://qntm.org/person" rel="nofollow noreferrer">https://qntm.org/person</a></p>
]]></description><pubDate>Sun, 01 Oct 2023 07:12:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=37723503</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=37723503</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37723503</guid></item><item><title><![CDATA[Share files easily between Android devices and Windows PCs]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.google/products/android/nearby-share-windows/">https://blog.google/products/android/nearby-share-windows/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35396515">https://news.ycombinator.com/item?id=35396515</a></p>
<p>Points: 2</p>
<p># Comments: 1</p>
]]></description><pubDate>Sat, 01 Apr 2023 02:43:19 +0000</pubDate><link>https://blog.google/products/android/nearby-share-windows/</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=35396515</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35396515</guid></item><item><title><![CDATA[New comment by Xlythe in "How the Chromebook team uses Nearby Share"]]></title><description><![CDATA[
<p>I'm the lead for Nearby Share at Google. After more than a year of work porting from Java to C++, Nearby's finally available on another platform!<p>If anyone has questions/comments/bugs or features, I'm happy to talk about the product.</p>
]]></description><pubDate>Wed, 02 Jun 2021 02:34:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=27364134</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=27364134</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27364134</guid></item><item><title><![CDATA[How the Chromebook team uses Nearby Share]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.google/products/chromebooks/how-chromebook-team-uses-nearby-share">https://blog.google/products/chromebooks/how-chromebook-team-uses-nearby-share</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=27364107">https://news.ycombinator.com/item?id=27364107</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 02 Jun 2021 02:31:05 +0000</pubDate><link>https://blog.google/products/chromebooks/how-chromebook-team-uses-nearby-share</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=27364107</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27364107</guid></item><item><title><![CDATA[New comment by Xlythe in "Do we really travel through time with the speed of light?"]]></title><description><![CDATA[
<p>If you like hard sci-fi, Greg Egan has a written a few books that cover what life would be like if there were 2 dimensions of time (<a href="http://www.gregegan.net/DICHRONAUTS/DICHRONAUTS.html" rel="nofollow">http://www.gregegan.net/DICHRONAUTS/DICHRONAUTS.html</a>) or if the dimension of time was sumed instead of subtracted when measuring distance (<a href="http://www.gregegan.net/ORTHOGONAL/ORTHOGONAL.html" rel="nofollow">http://www.gregegan.net/ORTHOGONAL/ORTHOGONAL.html</a>)<p>It's amazing to think how the universe is ruled by such minute details.</p>
]]></description><pubDate>Mon, 31 Aug 2020 05:48:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=24328826</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=24328826</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24328826</guid></item><item><title><![CDATA[New comment by Xlythe in "Instantly share files with people around you with Nearby Share for Android"]]></title><description><![CDATA[
<p>The underlying stack (Nearby Connections) is open sourced on GitHub[1]! This stack is what handles the negotiation between Bluetooth/WiFi and chunks the files while sending. There's a couple protos on top of Connections that are specific to Nearby Share, that handle identity and file metadata (eg. mimetype) that aren't a part of this repo. Those are being merged into Chromium first, but may eventually become their own library.<p>Nearby Share was written originally in Java, so the C++ port is a bit less mature. But hopefully having something out there is better than nothing. If you decide to take a look, do leave feedback. We monitor the GitHub page and I'm active on StackOverflow if you use the google-nearby tag.<p>[1] <a href="https://github.com/google/nearby-connections" rel="nofollow">https://github.com/google/nearby-connections</a></p>
]]></description><pubDate>Tue, 04 Aug 2020 22:57:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=24055398</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=24055398</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24055398</guid></item><item><title><![CDATA[New comment by Xlythe in "Instantly share files with people around you with Nearby Share for Android"]]></title><description><![CDATA[
<p>Hey, it's my project! :) I led the development of Nearby Share since its inception in 2018. Feel free to ask me any questions.</p>
]]></description><pubDate>Tue, 04 Aug 2020 22:45:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=24055315</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=24055315</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24055315</guid></item><item><title><![CDATA[New comment by Xlythe in "Ask HN: What Have You Learned at Google as a Software Engineer?"]]></title><description><![CDATA[
<p>I've been at Google for almost 4 years, mostly working at startups before that. First and foremost, there's nothing special about Google (compared to any other tech company) and it's best not to evangelize any one company. Learning comes from experience, which means trying things (even if you end up making mistakes) and figuring out the shortcomings of a particular solution. I've seen a lot of bad (and a lot of good) code at Google.<p>What I learned, design-wise, came from a coworker. They planned everything out in advance and would draw out components on a whiteboard and define what they'd do. A few weeks would pass before they'd write any code. In contrast, I would start with writing skeleton classes and intuit the breakpoints for building a new class. We ended up with similar code structure at the end of the day, since we were both designing the architecture (even if our methods were different). But in code reviews, I would focus on if the new code made sense within the scope of the change; are there any clear bugs, code duplication, is there a more simple approach, etc. My coworker always went back to the whiteboard and drew up the components again, making sure the new code fit within the originally defined scope or if a larger change would make more sense. Because my skeleton classes were quickly replaced with implementations, I lost my original frame of reference and only focused on what was in front of me. I could still tell when something was obviously wrong (stop sending me CLs with global state to cross talk between components!), but there was creep in the CLs I approved and the code would slowly get more complicated until I realized it needed to be refactored.<p>There's a tradeoff (like in anything). You can't design your own solution for every code review, as it takes too much time and removes autonomy from your peers. But remembering to step back and look at the big picture was something I needed.<p>There were other things I learned, like structuring code in ways that it's hard to write bugs. For example, you could write a method like...<p><pre><code>  void foo(Callback callback) {
    if (error1) {
      callback.onError();
      return;
    }
    if (error2) {
      callback.onError();
      return;
    }
    if (error3) {
      callback.onError();
      return;
    }

    doWork();
    callback.onSuccess();
  }
</code></pre>
but it's easy to forget to call 'callback.onError()' in a future CL. A small refactor, like...<p><pre><code>  void foo(Callback callback) {
    if (bar()) {
      callback.onSuccess();
    } else {
      callback.onError();
    }
  }

  boolean bar() {
    if (error1) {
      return false;
    }
    if (error2) {
      return false;
    }
    if (error3) {
      return false;
    }

    doWork();
    return true;
  }
</code></pre>
has the compiler help you catch mistakes. Unit tests obviously help too, but doing both reduces the number of bugs that slip through. Similar tricks include annotating methods as @Nullable so you don't forget to nullcheck, annotating which thread is calling a method (eg. @FooManagerThread, @UiThread, etc), and doing all the if checks as close to the top of a method as possible so that you only do work if you're in a good state.<p>Oh, and here's one last tip that I only realized needs to be reiterated because most of my coworkers forget it. Validate incoming data! Every API needs a wrapper around the entry point that...<p><pre><code>  * Verifies the caller is allowed to call that method
  * Verifies the method can be called at this point in time (eg. hackerNewsApi.postComment(threadId, msg) only works if the threadId is valid)
  * Verifies that the arguments make sense (eg. 'msg' is not empty/null/above the max comment size).
</code></pre>
And this is needed at every layer (application, server, etc). Trust no one, even if the only caller is supposed to be yourself.<p>Glossary:
CL = changelist ~= pull request</p>
]]></description><pubDate>Sun, 08 Sep 2019 18:06:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=20912195</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=20912195</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20912195</guid></item><item><title><![CDATA[New comment by Xlythe in "UBeam wireless charging demonstration"]]></title><description><![CDATA[
<p>Could it be used to power wireless mice, keyboards, etc? Things that are generally low power but still require batteries every N months?</p>
]]></description><pubDate>Sat, 03 Jun 2017 03:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=14474839</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=14474839</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14474839</guid></item><item><title><![CDATA[New comment by Xlythe in "Developers’ side projects"]]></title><description><![CDATA[
<p>Google has an application process where, before you've written any code, you can ask for copywrite release. However, if you don't do that, they can and WILL claim ownership over your personal projects. It's happened to me.</p>
]]></description><pubDate>Sat, 10 Dec 2016 00:22:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=13143101</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=13143101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13143101</guid></item><item><title><![CDATA[New comment by Xlythe in "Go's first commit"]]></title><description><![CDATA[
<p>You could just let the external methods only access public variables. That's exactly what Java let's you do when you extend another class. I agree that private members should stay private.<p>I wish I could add methods from outside of my package. I currently run into cyclical dependency issues when I try and define something like...<p>func (g <i>Game) GetPlayers() []</i>Player { ... }<p>func (p <i>Player) GetGame() </i>Game { ... }<p>While having Game and Player in separate packages. It's not the end of the world having them in the same package, but the amount of methods does pile up...</p>
]]></description><pubDate>Sat, 27 Aug 2016 16:31:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=12373023</link><dc:creator>Xlythe</dc:creator><comments>https://news.ycombinator.com/item?id=12373023</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12373023</guid></item></channel></rss>