<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: disk0</title><link>https://news.ycombinator.com/user?id=disk0</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 10 Apr 2026 06:41:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=disk0" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[I wrote a GameBoy game in TypeScript [video]]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=TIlx5nBnx-o">https://www.youtube.com/watch?v=TIlx5nBnx-o</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=33826964">https://news.ycombinator.com/item?id=33826964</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 02 Dec 2022 04:56:33 +0000</pubDate><link>https://www.youtube.com/watch?v=TIlx5nBnx-o</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=33826964</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33826964</guid></item><item><title><![CDATA[New comment by disk0 in "Mpv – A free, open source, and cross-platform media player"]]></title><description><![CDATA[
<p>For anyone already acquainted with emmylua/vscode-lua I'd recommend using my type declarations for mpv—need to push some commits for recent changes but it's completely functional<p><a href="https://github.com/disco0/mpv-types-lua" rel="nofollow">https://github.com/disco0/mpv-types-lua</a></p>
]]></description><pubDate>Mon, 18 Jul 2022 18:08:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=32141400</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=32141400</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32141400</guid></item><item><title><![CDATA[New comment by disk0 in "Fennel: A Practical Lisp"]]></title><description><![CDATA[
<p>The cookbook[0] has some good examples, I went with the state machine parser 
 as a base for highlighting in mpv's console (mpv scripting has been the main focus of my fennel use, mostly rewriting existing code)<p>[0] <a href="https://github.com/bakpakin/Fennel/wiki/Cookbook" rel="nofollow">https://github.com/bakpakin/Fennel/wiki/Cookbook</a></p>
]]></description><pubDate>Fri, 15 Apr 2022 02:01:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=31035904</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=31035904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31035904</guid></item><item><title><![CDATA[Writing a Mutation Engine and Breaking Aimware]]></title><description><![CDATA[
<p>Article URL: <a href="https://back.engineering/13/04/2022/">https://back.engineering/13/04/2022/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=31023860">https://news.ycombinator.com/item?id=31023860</a></p>
<p>Points: 34</p>
<p># Comments: 4</p>
]]></description><pubDate>Thu, 14 Apr 2022 06:06:50 +0000</pubDate><link>https://back.engineering/13/04/2022/</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=31023860</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31023860</guid></item><item><title><![CDATA[New comment by disk0 in "Twitter Bot To Monitor Stock Trades Made by U.S. Lawmakers"]]></title><description><![CDATA[
<p>iirc he had multiple accounts—I believe the Gislaine Maxwell trial tracker one that "blew up" was purchased from another user and was artificially boosted in some way causing the ban. I think he was also using them to gas his substack?<p>Someone feel free to correct me, was around of the related twitter drama but going off of memory here</p>
]]></description><pubDate>Thu, 24 Mar 2022 22:21:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=30796105</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=30796105</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30796105</guid></item><item><title><![CDATA[New comment by disk0 in "Francis Fukuyama: Preparing for Defeat"]]></title><description><![CDATA[
<p>"The End of the End of History"[0] is a thing, so it's only a matter of time now for his response /s<p>[0]: <a href="https://bungacast.com/book/" rel="nofollow">https://bungacast.com/book/</a></p>
]]></description><pubDate>Sat, 12 Mar 2022 22:23:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=30655534</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=30655534</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30655534</guid></item><item><title><![CDATA[New comment by disk0 in "Newly declassified documents reveal previously secret CIA bulk collection"]]></title><description><![CDATA[
<p>> Is there still a lot more stuff he's going to release, or has released, just without much fanfare?<p>According to the The Snowden Archive[0] about 400 documents were published through publications out of a total 50,000 documents Snowden collected. As for the rest—First Look Media (parent company of The Intercept) shut down access to its archive, as well as the team set up to handle them, in 2019:<p>"First Look CEO Michael Bloom said that as other major news outlets had “ceased reporting on it years ago,” The Intercept had decided to “focus on other editorial priorities” after expending five years combing through the archive.[1]"<p>Very cool! Poitras and Greenwald apparently retain full copies, as well as the outlets that received them in the first place I'd assume.<p>As a last note I'll leave a medium post by Barrett Brown[2], an excellent reporter whose series of columns in the Intercept received the National Magazine Award—incidentally he burned it on a livestream in protest against First Look Media's decision to shut down their Snowden archive (got to see it live, the YouTube video is private now though unfortunately)<p>[0]: <a href="https://www.cjfe.org/snowden" rel="nofollow">https://www.cjfe.org/snowden</a><p>[1]: <a href="https://www.thedailybeast.com/the-intercept-shuts-down-access-to-snowden-trove" rel="nofollow">https://www.thedailybeast.com/the-intercept-shuts-down-acces...</a><p>[2]: <a href="https://barrettbrown.medium.com/why-the-intercept-really-closed-the-snowden-archive-e99f46bbfbbc" rel="nofollow">https://barrettbrown.medium.com/why-the-intercept-really-clo...</a></p>
]]></description><pubDate>Fri, 11 Feb 2022 05:58:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=30297611</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=30297611</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30297611</guid></item><item><title><![CDATA[New comment by disk0 in "The CIA and the Media (1977)"]]></title><description><![CDATA[
<p>Some more recent academic work on the CCC recently started reading—The CIA and the Congress for Cultural Freedom in the Early Cold War: Strange Bedfellows, Routledge [2016]<p>Partial summary from libgen description:<p>>This book calls into question the conventional wisdom about one of the most controversial episodes in the Cold War, and tells the story of the CIA's backing of the Congress for Cultural Freedom.<p>>For nearly two decades of the early Cold War, the CIA secretly sponsored some of the world’s most feted writers, philosophers, and scientists as part of a campaign to stop Communism from regaining a foothold in western Europe and Asia. By backing the Congress for Cultural Freedom, the CIA subsidized dozens of prominent magazines, global congresses, annual seminars, and artistic festivals. When this operation―QKOPERA―became public in 1967, it ignited one of the most damaging scandals in CIA history. Ever since, the prevailing assumption has been that the CIA, as the Congress’s paymaster, manipulated a generation of intellectuals into lending their names to pro-American, anti-Communist ideas in exchange for prestigious bylines and plentiful grants. Even today, a cloud hangs over the reputations of many of the intellectuals associated with the Congress.<p>>This book tells the story of how a small but determined group of anti-Communist intellectuals in America and Western Europe banded together to fight the Soviet Union’s cultural offensive. They enlisted one of the CIA’s earliest recruits to their cause―and they persuaded the CIA to foot their bill with virtually no strings attached. The CIA became a bureaucratic behemoth with an outsized influence on American foreign policy, but it began as a disorganized and unconventional outfit desperate to make inroads on all fronts against a foe many believed would ignite a nuclear war by 1954. When Michael Josselson, a recruit from the CIA’s Berlin office, pitched a proposal for what became the Congress for Cultural Freedom, senior officials were thus willing to gamble $50,000 on the venture. And when the Congress proved effective in enlisting some of the twentieth century’s most prominent intellectuals, senior CIA officials championed QKOPERA as the centerpiece of the Agency’s efforts to woo the non-Communist left.</p>
]]></description><pubDate>Thu, 09 Dec 2021 20:08:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=29502267</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=29502267</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29502267</guid></item><item><title><![CDATA[New comment by disk0 in "The fish shell is amazing"]]></title><description><![CDATA[
<p>zinit did wonders for my config, would highly recommend:<p><a href="https://github.com/zdharma-continuum/zinit" rel="nofollow">https://github.com/zdharma-continuum/zinit</a></p>
]]></description><pubDate>Thu, 25 Nov 2021 20:52:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=29344875</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=29344875</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29344875</guid></item><item><title><![CDATA[New comment by disk0 in "EFF co-founder John Gilmore removed from org's Board"]]></title><description><![CDATA[
<p>Both orgs have absolutely done what's right many, many times, but 100% is a little high.<p>I'd highly recommend checking out <i>All EFF'd Up</i> [0] in The Baffler—it's quite long, but below is a relevant bit for both orgs:<p>> Leading EFF’s invasion of Washington, D.C., was Jerry Berman, who had been a top ACLU attorney and founder of ACLU Projects on Privacy and Information Technology ... Berman was a Beltway insider who in the 1980s was at the center of a push to turn the ACLU into a big business lobby and an ally of intelligence agencies and right-wing political interests. Among other things, the Berman-era ACLU defended Big Tobacco from regulations on advertising and worked with the National Rifle Association to fight electronic collection of arrest data by the Department of Justice for background checks to deny firearms licenses. Among Berman’s personal achievements: working with the CIA on an early version of a bill that criminalized disclosing the names of CIA agents—a law that was later used to prosecute and jail CIA officer John Kiriakou, who blew the whistle on the Agency’s use of waterboarding as a torture and interrogation technique.<p>> ... Berman also helped craft the 1986 Electronic Communications Privacy Act, a controversial law that gave the government power to grab electronic metadata from cellphone calls, email, and other digital communications without a warrant, which is now routinely used to collect user data from companies like Google, Twitter, and Facebook...<p>> Freedom to Surveil<p>> ...His signature achievement had been collaborating with the FBI to draft and rubber-stamp a law that expanded FBI surveillance into the digital telecommunications infrastructure. Known as the “Communications Law Enforcement Assistance Act”—or CALEA—the 1994 law required that telecommunications companies install specialized equipment and design their digital facilities in a way that made it easy to wiretap.<p>> ...<p>> When EFF’s role in crafting this surveillance law came out, outraged members of its cyber-libertarian base cried foul. EFF, they’d been led to believe, was created to push back against government control of the internet...<p>> ...<p>> In reality though, the outrage stemmed from a basic confusion about what EFF was created to do. EFF emerged as a lobby for the budding internet industry...<p>[0] <a href="https://thebaffler.com/salvos/all-effd-up-levine" rel="nofollow">https://thebaffler.com/salvos/all-effd-up-levine</a> (Ctrl/Cmd+F "Buying Silence" to skip the intro portion)</p>
]]></description><pubDate>Mon, 25 Oct 2021 21:26:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=28993342</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=28993342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28993342</guid></item><item><title><![CDATA[New comment by disk0 in "EFF Flew a Plane over Apple's Headquarters"]]></title><description><![CDATA[
<p>I’d say section on the history of its creators/Silicon Valley is more important to understanding the problem, but here’s a couple of relevant paragraphs:<p>> One likely explanation, Glaser reasoned, was that most of these groups depended on funding from the very same corporations that they should be criticizing. Over the past years, EFF has taken millions in funds from Google and Facebook via straight donations and controversial court payouts that many see as under-the-radar contributions. Hell, Google co-founder Sergey Brin’s foundation gave EFF at least $1.2 million.<p>> But the reason for EFF’s silence on the Facebook surveillance and influence scandal goes deeper—into the business model of the internet itself, which from the outset has framed user privacy as being threatened by ever-imminent government censorship, as opposed to the protection of users and their data from wanton commercial intrusion and exploitation. Put simply, the lords of the internet care very little about user privacy—what they want to preserve, at the end of the day, is their own commercial license against the specter of government regulation of any kind.</p>
]]></description><pubDate>Fri, 24 Sep 2021 23:12:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=28648822</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=28648822</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28648822</guid></item><item><title><![CDATA[New comment by disk0 in "Lithuania says throw away Chinese phones due to censorship concerns"]]></title><description><![CDATA[
<p>> But Wardle found that in some edge cases, a bug in the Taiwan-censorship code meant that instead of treating the Taiwan emoji as missing from the phone's library, it instead considered it an invalid input. That caused phones to crash altogether, resulting in what hackers call a denial-of-service attack that would let anyone crash a vulnerable device on command.<p>Which was also a bug—the conditions of which's existence are manifestly political (which I have zero desire/intent to defend here), but nonetheless an Apple-side bug that was patched eventually</p>
]]></description><pubDate>Wed, 22 Sep 2021 22:45:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=28623003</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=28623003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28623003</guid></item><item><title><![CDATA[New comment by disk0 in "Treat yourself to the 90s club aesthetics of the Wipeout games"]]></title><description><![CDATA[
<p>> 90s games were more advanced than 80s by a lot but still immediately competitive, no long story to get into, quick play, simple menu, no config, just straight into the game, same settings for everyone and 100% ability comparison. The high score thing grew into profiles with badges now and no one cares anymore.<p>> The creativity put into the games made them a cult too, I mean we are talking about a 1995 game in 2021. I think it is unique to its time, games like these define that 90s futuristic grunge subculture that lingered to show up in The Matrix although a bit modernized.<p>We're in a different era, different technology and culture conditions, etc. agreed—however I'll say that there are games which hit on these points, they're just not going to be in the same sentence as Mario Kart or Smash<p>e.g. Cruelty Squad [1], released this year: experimental art game, excellent mechanics—behind somewhat intentionally deceiving (postinternet?) aesthetics—maybe best described as quake-hitman-immersive-sim, building cult fanbase, suprisingly high reviews from mainstream for what it is [2][3]. (goty for me so far, actually)<p>[1] <a href="https://store.steampowered.com/app/1388770/Cruelty_Squad/" rel="nofollow">https://store.steampowered.com/app/1388770/Cruelty_Squad/</a><p>[2] <a href="https://www.polygon.com/reviews/22596014/cruelty-squad-immersive-sim-review-missions-combat-aesthetics" rel="nofollow">https://www.polygon.com/reviews/22596014/cruelty-squad-immer...</a><p>[3] <a href="https://www.nme.com/reviews/game-reviews/cruelty-squad-review-2985724" rel="nofollow">https://www.nme.com/reviews/game-reviews/cruelty-squad-revie...</a></p>
]]></description><pubDate>Wed, 18 Aug 2021 19:28:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=28226001</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=28226001</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28226001</guid></item><item><title><![CDATA[New comment by disk0 in "American parents are sending their kids to 'Russian math' (2017)"]]></title><description><![CDATA[
<p>> But Albania can finance rigorous teaching of science<p>> USA spends a lot more money per pupil than any former Eastern Bloc nation. But you can spend a lot of money on inefficient solutions.<p>You're not wrong. Financialization of education continuing down from secondar to primary education, commodification of students—I think those are a bit better descriptions of the issue beyond "funding cuts" personally. Its incredibly easy to make things inefficient (or efficient at something else [0]) when quality/efficiency slowly fades from the conciousness of those in charge.<p>I'd say the more important thing is that there are large failures here, they were building before 
"Extreme progressive Liberals" (which depending on how I read that I can agree with, from the left even). Saying this as someone who was a STEM kid in high school, took AP Calc at 15, etc.—I'm more mixed on the more static curriculum as described earlier, its not as important here tho<p>[0] Like cranking out Amazon employees<p><<a href="https://www.jacobinmag.com/2021/07/amazon-warehouse-communities-towns-geography-warehouse-fulfillment-jfk8-cajon-inland-empire" rel="nofollow">https://www.jacobinmag.com/2021/07/amazon-warehouse-communit...</a>><p>"""<p><i>Writer Erika Hayasaki visited Cajon High. Here’s what she found:</i><p><i>A dozen students sat clustered at work tables inside an air-conditioned classroom, which was  designed to emulate the inside of an Amazon facility. On one wall, Amazon’s giant logo grinned across a yellow and green banner. The words “CUSTOMER OBSESSION” and “DELIVER RESULTS” were painted against a corporate-style yellow backdrop. On a whiteboard, a teacher had written the words “Logistics Final Project,” and the lesson of the day was on Amazon’s “14 Leadership Principles.” Each teenager wore a company golf shirt emblazoned with the Amazon logo.</i><p><i>...</i><p><i>A public high-school classroom designed to resemble an Amazon facility, with students wearing Amazon logos on their clothing as they memorize Amazon’s leadership principles (which, it is worth noting, also include “Ownership” and “Think Big,” injunctions that hold merit for readers of this magazine when imagining how we might solve the problems exemplified by Amazon). Such a relationship between the company and public goods like a high school is part of what it means to consider Amazon as “the major working-class space of suburban and exurban socialization.”</i><p>"""</p>
]]></description><pubDate>Tue, 10 Aug 2021 07:29:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=28126045</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=28126045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28126045</guid></item><item><title><![CDATA[New comment by disk0 in "Science is needed to find how sars-cov2 reached humans"]]></title><description><![CDATA[
<p>> Is some of the funding tied to entities that are under the control of the CCP?<p>Per Sam Husseni's reporting[0]:<p>"""<p>Meticulous investigation of U.S. government databases reveals that Pentagon funding for the EcoHealth Alliance from 2013 to 2020, including contracts, grants and subcontracts, was just under $39 million. Most, $34.6 million, was from the Defense Threat Reduction Agency (DTRA), which is a branch of the DOD which states it is tasked to “counter and deter weapons of mass destruction and improvised threat networks.”<p>Most of the remaining money to EHA was from USAID (State Dept.), comprising at least $64,700,000 (1). These two sources thus total over $103 million. (See Fig).<p>Another $20 million came from Health and Human Services ($13 million, which includes National Institutes of Health and Centers for Disease Control), National Science Foundation ($2.6 million), Department of Homeland Security ($2.3 million), Department of Commerce ($1.2 million), Department of Agriculture ($0.6 million), and Department of Interior ($0.3 million). So, total U.S. government funding for EHA to-date stands at $123 million, approximately one third of which comes from the Pentagon directly. The full funding breakdown is available here and is summarized by year, source, and type, in a spreadsheet format.<p>"""<p>If this was a lab leak, it's an international issue caused by the hubris of at least two countries working together on a footgun (e.g. at Wuhan lab, and Ralph Baric's previous  gain of function research on bat coronaviruses [1])<p>[0] <a href="https://www.independentsciencenews.org/news/peter-daszaks-ecohealth-alliance-has-hidden-almost-40-million-in-pentagon-funding/" rel="nofollow">https://www.independentsciencenews.org/news/peter-daszaks-ec...</a><p>[1] <a href="https://twitter.com/gumby4christ/status/1361175723407527939" rel="nofollow">https://twitter.com/gumby4christ/status/1361175723407527939</a></p>
]]></description><pubDate>Wed, 28 Jul 2021 19:22:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=27988468</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=27988468</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27988468</guid></item><item><title><![CDATA[New comment by disk0 in "Agile at 20: The Failed Rebellion"]]></title><description><![CDATA[
<p>People (read: Twitter users)[0] have discussed the parallels between Maoist/Marxist theory and both Agile and extreme programming—albeit less fever-dreamy<p>[0] 
A couple of said theory tweets, from memory<p><a href="https://twitter.com/mmabeuf/status/1352450003231506432" rel="nofollow">https://twitter.com/mmabeuf/status/1352450003231506432</a><p><a href="https://twitter.com/mmabeuf/status/1323758677099270147" rel="nofollow">https://twitter.com/mmabeuf/status/1323758677099270147</a></p>
]]></description><pubDate>Sun, 25 Jul 2021 06:18:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=27947150</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=27947150</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27947150</guid></item><item><title><![CDATA[New comment by disk0 in "SponsorBlock – Skip over sponsorship segments on YouTube"]]></title><description><![CDATA[
<p>HN: You can skip the ad reads!<p>Cum Town Listener: Why?</p>
]]></description><pubDate>Thu, 22 Apr 2021 01:15:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=26897494</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=26897494</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26897494</guid></item><item><title><![CDATA[New comment by disk0 in "Initial preview of GUI app support for the Windows Subsystem for Linux"]]></title><description><![CDATA[
<p>Coincedentally,<p><pre><code>  The system distro is where all of the magic happens. The sytem distro is a containerized Linux environment where the WSLg XServer, Wayland server and Pulse Audio server are running.
  ...
  The system distro is based on the Microsoft CBL-Mariner Linux. This is a minimal Linux environment, just enough to run the various pieces of WSLg. For details on how to build and deploy a private system distro please see our build instructions. [0]
</code></pre>
[0]: <a href="https://github.com/microsoft/wslg#wslg-system-distro" rel="nofollow">https://github.com/microsoft/wslg#wslg-system-distro</a></p>
]]></description><pubDate>Wed, 21 Apr 2021 19:58:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=26894651</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=26894651</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26894651</guid></item><item><title><![CDATA[New comment by disk0 in "Cyber Attack on Iran's Nuclear Facility"]]></title><description><![CDATA[
<p>stuxnext.js</p>
]]></description><pubDate>Sun, 11 Apr 2021 21:50:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=26773776</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=26773776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26773776</guid></item><item><title><![CDATA[New comment by disk0 in "Teaching the Unfortunate Parts"]]></title><description><![CDATA[
<p>iirc using numeric literal values there's a coercion step—a console example:<p><pre><code>  let arr = new Array(10);
  // 1e1 => 10
  arr[1e1] = 1;
  console.log(`arr[10]  === 1 => ${arr[10]  === 1}`)
  console.log(`arr[1e1] === 1 => ${arr[1e1] === 1}`)

</code></pre>
So -0 becomes 0:<p><pre><code>  arr[0] = 2;
  console.log(`arr[0]   === 2 => ${arr[0]  === 2}`);
  console.log(`arr[-0]  === 2 => ${arr[-0] === 2}`);
  arr[-0] = 3;
  console.log(`arr[0]   === 3 => ${arr[0]  === 3}`);
  console.log(`arr[-0]  === 3 => ${arr[-0] === 3}`);</code></pre></p>
]]></description><pubDate>Tue, 29 Dec 2020 04:28:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=25566721</link><dc:creator>disk0</dc:creator><comments>https://news.ycombinator.com/item?id=25566721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25566721</guid></item></channel></rss>