<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: chemag</title><link>https://news.ycombinator.com/user?id=chemag</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 30 Oct 2026 02:21:54 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=chemag" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by chemag in "An update on Android's audio latency"]]></title><description><![CDATA[
<p>Thanks Don and Phil for the great answer. Some further comments:<p>* I find interesting that you are getting better correlations when you add a well-known noise burst instead of a less chaotic signal (e.g. a tone or a chirp). In retrospect, it makes sense<p>* for the uplink/downlink breakup, I see in the Usage.md file in oboetester that you're isolating the downlink measurement with the tap-to-tone experiment. For this experiment, the doc suggests to use (a) the jack to avoid the speaker processing extra latency, and (b) a USB-MIDI input device to replace the touch screen latency (15-30 ms).<p>2 questions here:<p>* Q1: I assume that, if instead of the jack, you use a usb-c audio adapter accessory mode, there should be no extra latency either, right? (I'm using late pixel phones)<p>* Q2: which device are you using for the USB-MIDI input?<p>Thanks again!<p>edit: s/markdown/formatdoc/g</p>
]]></description><pubDate>Thu, 11 Mar 2021 18:02:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=26426979</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=26426979</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26426979</guid></item><item><title><![CDATA[New comment by chemag in "An update on Android's audio latency"]]></title><description><![CDATA[
<p>I'm actually very interested in the details. I have a few questions, in case you have cycles to help me understand.<p># audio latency<p>From your comment and the original "An update on Android's audio latency" article, there seems to be 2 different ways to calculate "audio latency".<p>* 1. play a well-known sound (a tone), listen for it in real-time<p>IIUC, the exact operation of this would be something like this:<p><pre><code>  open recorder
  loop:
    timestamp1 <- getclock()
    play audio file 
    keep listening to input frames until detecting audio file signature
    timestamp2 <- getclock()
    sample := timestamp2 - timestamp1

</code></pre>
* 2. measure audio loopback feedback (larsen effect)<p>Operation should be as follows:<p><pre><code>  open recorder
  play audio file
  loop:
    keep listening to input frames for 1-2 seconds
  # analyze captured file
  look for 2x consecutive appearances of the original audio file
  sample := timestamp2 - timestamp1

</code></pre>
Q1: Did I get this right? Any hunch about the pros&cons of both approaches?<p># downlink/uplink latency<p>Many of the latency measurements break the latency down between audio downlink and uplink.<p>Q2: How is this measured?<p>The android doc discusses using a GPIO to have a zero-latency signal. You swap the signal on a well-known GPIO, and then play a well-known audio file. You then connect the GPIO to a speaker, and measure the latency between the GPIO-fed speaker, and the actual device speaker. As an optimization, you plug both the GPIO and the audio jack that feeds the actual device speaker into an oscilloscope, and get the distance there. Is this how audio downlink latency is measured?<p>Q3: If this is how downlink latency is measured, how do you implement it in prod devices (no access to the board)? Is this something that can be simulated using the usb-c plug?<p># tools<p>The android doc/some googling points to several tools. I found oboetester, splatency, drrickorang, and google walt. I tested all but the walt one.<p>The first interesting thing is that oboetest, drrickorang, and walt seem to need an external jack-based dongle.<p>Q3: Why is this needed for? The audio latency approaches mentioned above should only need a speaker and a mic.<p>The experience has not been great for any of the tools. Operationally, I'd like to script these tests. Instead, I need to click on GUIs. Also, all the tools I tested seem to fail often, so I have to repeat the experiments multiple times. Also, I miss better documentation on exactly what they do.<p>Thanks for any help<p>edit: s/markdown/formatdoc/g</p>
]]></description><pubDate>Mon, 08 Mar 2021 18:55:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=26389923</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=26389923</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26389923</guid></item><item><title><![CDATA[New comment by chemag in "Why has college gotten so expensive in the last 30 years? A blank check in 1993"]]></title><description><![CDATA[
<p>I had the same thought. My hunch is that the difference is friction. In both cases, there's money going from the Feds to the University (100% probability) and money going from the student to the Feds (<100% prob).<p><1993: there's a bank in the middle. If the student cannot pay, the bank has to do the paperwork to get paid by the Feds. Note that the profit for the bank is limited.<p>>1993: no bank in the middle. University gets paid right away. Zero risk for them</p>
]]></description><pubDate>Wed, 02 Sep 2020 01:24:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=24349089</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=24349089</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24349089</guid></item><item><title><![CDATA[New comment by chemag in "AV1: A new general-purpose video codec"]]></title><description><![CDATA[
<p>Live-streaming is typically a type of broadcast. Some latency (a few or even tens of seconds) is typically OK.</p>
]]></description><pubDate>Wed, 11 Apr 2018 00:28:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=16807006</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=16807006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16807006</guid></item><item><title><![CDATA[New comment by chemag in "Measuring QUIC vs TCP on mobile and desktop"]]></title><description><![CDATA[
<p>+1 to this. QUIC allows using CUBIC BBR [1], so a comparison based on the exact parameters used is actually comparing the exact parameters used.<p>The performance effects of QUIC implementing congestion control in userland are more interesting. OTOH, QUIC allows deploying new features to users (through cronet) in an efficient way. TCP does not.<p>[1] <a href="https://chromium.googlesource.com/chromium/src/net/+/master/quic/core/congestion_control/bbr_sender.cc" rel="nofollow">https://chromium.googlesource.com/chromium/src/net/+/master/...</a><p>> [Disclaimer: I've worked with some of the people who wrote BBR and QUIC, so I'm biased.]
Ditto</p>
]]></description><pubDate>Fri, 02 Feb 2018 00:15:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=16287194</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=16287194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16287194</guid></item><item><title><![CDATA[New comment by chemag in "Emacs org-mode examples and cookbook"]]></title><description><![CDATA[
<p>I can see some of the benefits of the integration: emacs can do the horizontal search for TODO entries, create an agenda, let you edit it, and move the changes to the right .org file. Still, I'd argue that the file is the important thing here, not the tool to manage it. I should be able to edit .org files with any other tool (e.g. an android app that eventually modifies a .org file in github), and then do re-process the file.<p>Other languages also allow exporting to other formats. I use md-to-pdf all the time, and it works well. Integrating the use of other tools in the export process should be independent of the usage of emacs.</p>
]]></description><pubDate>Thu, 09 Mar 2017 23:11:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=13834726</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=13834726</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13834726</guid></item><item><title><![CDATA[New comment by chemag in "Emacs org-mode examples and cookbook"]]></title><description><![CDATA[
<p>I've been trying for a while to understand what org-mode gives you. I saw Dominik's tech talk at Google, and Bieber's discussion on dropping vim with emacs. I really like the approach taken in this article, showing some of the language features.<p>IIUC, what org-mode provides you is:<p>1. a (markdown-like) lightweight document markup language, with lots of syntax hooks ("#+") for different tools.<p>2. some (even lighter, i.e., no "#+" required) organization-based syntax hooks. These are the TODO/DONE/... labels (plus the "[ ]" tidbits), the table syntax, the metadata (e.g. AUTHOR). In fact, the idea of adding metadata to a lightweight markup language is very interesting.<p>3. some "programmy" syntax items, including things like tags, spreadsheet-like tables, properties, etc.<p>4. the agenda view. This is a horizontal search on multiple .org files to create a work agenda.<p>5. some emacs functionality related to automatic recognition and operation on some of the syntax items. For example, org-table-align will "Re-align the table and don't move to another field".<p>There are lots of other features, but nothing that other lightweight markup languages don't/can't have too.<p>My main concerns are:<p>1. it is inextricably tied to emacs. AFAICT, only (5) in the previous list is emacs-only. All the other functionalities are related to the markup syntax.<p>2. I wish the org-mode language was fully markdown compatible (I can barely remember the syntax of one, and now I need to use 2).</p>
]]></description><pubDate>Thu, 09 Mar 2017 22:18:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=13834355</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=13834355</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13834355</guid></item><item><title><![CDATA[New comment by chemag in "Wi-Fi TimeSync"]]></title><description><![CDATA[
<p>I'm curious which are the use cases for sub-microsecond time sync. Entertainment can probably do with millisecond accuracy. Other use cases mentioned by the Wifi Alliance preso are healthcare, industrial, automotive, and IoT. Do you know any precise use cases?</p>
]]></description><pubDate>Fri, 06 Jan 2017 20:44:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=13340017</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=13340017</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13340017</guid></item><item><title><![CDATA[New comment by chemag in "Wi-Fi TimeSync"]]></title><description><![CDATA[
<p>I should have mention this only applies to IBSS (ad-hoc), not to (infra) BSS, where the AP sends the beacon</p>
]]></description><pubDate>Fri, 06 Jan 2017 19:17:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=13339295</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=13339295</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13339295</guid></item><item><title><![CDATA[New comment by chemag in "Wi-Fi TimeSync"]]></title><description><![CDATA[
<p>TSF is not scalable[0].<p>[0] <a href="http://web.cse.ohio-state.edu/~lai/788-Au03/2-scalibility.pdf" rel="nofollow">http://web.cse.ohio-state.edu/~lai/788-Au03/2-scalibility.pd...</a></p>
]]></description><pubDate>Fri, 06 Jan 2017 01:41:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=13333233</link><dc:creator>chemag</dc:creator><comments>https://news.ycombinator.com/item?id=13333233</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=13333233</guid></item></channel></rss>