<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: jason_wo</title><link>https://news.ycombinator.com/user?id=jason_wo</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 25 Sep 2026 01:44:33 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=jason_wo" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by jason_wo in "Is parallel programming hard, and, if so, what can you do about it?"]]></title><description><![CDATA[
<p>As far as I know the LMAX disrupter is a kind of queue/buffer to send data from one thread/task to another.<p>Typically, some of the tasks run on different cores. The LMAX disruptor is designed such that there is no huge delay due to cache coherency. It is slow to sync the cache of one core to the cache of another core when both cores write to the same address in RAM. The LMAX disruptor is designed that each memory location is (mostly) written to by at most thread/core.<p>How is the LMAX disrupter relevant for programs with 1 core?</p>
]]></description><pubDate>Wed, 14 Jun 2023 15:16:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=36327261</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=36327261</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36327261</guid></item><item><title><![CDATA[New comment by jason_wo in "DuckDB 0.8"]]></title><description><![CDATA[
<p>How do you insert into DuckDB fast and what settings ("Indices") do you use? As far as I understand DuckDB builds up statistics for each "block" of data (number of different values, ... ). So I assume inserting is slow. There is a paper [0] and a comment [1] that mentions that DuckDB is 10-500 times slower in a write-heavy workload.<p>[0] <a href="https://simonwillison.net/2022/Sep/1/sqlite-duckdb-paper/" rel="nofollow">https://simonwillison.net/2022/Sep/1/sqlite-duckdb-paper/</a>
[1] <a href="https://vldb.org/pvldb/volumes/15/paper/SQLite%3A%20Past%2C%20Present%2C%20and%20Future" rel="nofollow">https://vldb.org/pvldb/volumes/15/paper/SQLite%3A%20Past%2C%...</a></p>
]]></description><pubDate>Thu, 18 May 2023 13:23:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=35987512</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=35987512</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35987512</guid></item><item><title><![CDATA[New comment by jason_wo in "Problems harder than NP-Complete"]]></title><description><![CDATA[
<p>Linear Temporal Logic looks very interesting to specify invariant of a system and monitor them at runtime. I guess this is called monitoring. So you can check if your system behaves as expected and e.g. issue an alert if it fails.<p>There is also Metric Temporal Logic, a special case of Temporal Logic. It allows statement like "There must be an account login (event) 5 minutes before an account deletion." 
There is also the Signal Temporal Logic, a special case of Temporal Logic. It allows statement like "Whenever the temperatue is over 100 degrees it will be lower than 50 degrees within 10 minutes."<p>Unfortunately, it seems like it allows to formulate invariants that need an unbounded amount of memory if you monitor infinitely long or a huge amount of memory because the implementation essentially computes a window minimum/maximum function over a large window and has to save all the values in this window.<p>Do you know if there is a restricted subset of temporal logic that can be monitored fast and with a bounded or even small amount (e.g. O(f(lenght of formula)) of memory?</p>
]]></description><pubDate>Fri, 12 May 2023 12:03:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=35914954</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=35914954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35914954</guid></item><item><title><![CDATA[Ask HN: Secure and simple way for secret/credential management in a startup?]]></title><description><![CDATA[
<p>What is a simple and secure tool to manage secrets and credentials for a small startup?<p>How do you do it?<p>This is not a core of the business. It should be easy to use and configure so a paid service would also be good.<p>Consider the the following typical situation:<p>1. Small startup with about 10 technical people.<p>2. One or two are responsible for the infrastructure in the cloud like AWS, Azure, ...<p>3. There are also other third party services like Cloudflare, Datadog, ...<p>4. Everything (AWS, Datadog, ...) is  managed with IaC tools like Terraform, Pulumi, (Ansible). These tools need secrets to work. The simplest way for giving the secrets to the tools is via environment variables or .env files.<p>5. People work on their own devices. So security cannot be absolutely guaranteed. So I guess MFA and generated temporary tokens should be used if possible. To generate temporary tokens the secrets management service has to work e.g. with AWS.<p>6. Optional: It would be good if Terraform can also be run in the CI/CD pipeline but only after confirmation of one of the 2 infrastructure persons.<p>7. Optional: It would be good if developers get credentials to setup small test environments in AWS. You can create IAM roles that only allow to create these, but you still have to manage the secrets for these.<p>8. Bonus: How to manage non-technical secrets, e.g. credentials for web shops to order supplies? Multiple people would have to order something. Store it all on a confluence page?</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35033944">https://news.ycombinator.com/item?id=35033944</a></p>
<p>Points: 42</p>
<p># Comments: 32</p>
]]></description><pubDate>Sun, 05 Mar 2023 21:08:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=35033944</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=35033944</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35033944</guid></item><item><title><![CDATA[New comment by jason_wo in "Show HN: Usage 2.0 – Cut AWS Spend by 57% in 5 Minutes"]]></title><description><![CDATA[
<p>This sounds very cool! How does it work technically? I have checked your website but I am still not sure.<p>How do I "buy" the instances using usage.ai instead of AWS? Do you need additional tooling or does it work with awscli/terraform? How do you integrate with my account and how do "your instances" appear in my account and how can I sell it back?<p>As far as I understand, I can buy/sell reserved instances from you in a flexible way, so they can be used like on-demand instances.</p>
]]></description><pubDate>Wed, 01 Mar 2023 23:48:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=34990014</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34990014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34990014</guid></item><item><title><![CDATA[New comment by jason_wo in "LastPass says DevOps engineer’s hacked computer led to security breach in 2022"]]></title><description><![CDATA[
<p>Nice! Do I understand this correctly?<p>You use aws-vault(<a href="https://github.com/99designs/aws-vault">https://github.com/99designs/aws-vault</a>) and configure it with IAM and MFA with YubiKeys. You configure e.g. the profile jonsmith.<p>When you run<p>aws-vault exec jonsmith -- aws s3 ls<p>it will ask you, e.g. every hour to confirm with YubiKeys and cache the key for one hour. After that the temporary keys expire. Can you also store keys different from AWS?</p>
]]></description><pubDate>Tue, 28 Feb 2023 09:24:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=34967359</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34967359</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34967359</guid></item><item><title><![CDATA[New comment by jason_wo in "LastPass says DevOps engineer’s hacked computer led to security breach in 2022"]]></title><description><![CDATA[
<p>I'am honest, similar things could happen on my laptop for my personal stuff.<p>I have some AWS keys in some files that are used by terraform/packer. A hacker could easily get them.<p>Some other AWS keys are stored in the CI system and provided as env variables. Someone that can merge/push to the specified branches can just change the CI script an exfiltrate them.<p>How can I fix that?<p>I would need some MFA for both cases. I would imagine it would be a good idea that I have to confirm each action on MFA device, which will then generate temporary tokens that are invalid after a few minutes. I locked into some solutions like Hashicorp Vault but I was not able to build something in a short time. New features were always more important.<p>How do you do it?</p>
]]></description><pubDate>Tue, 28 Feb 2023 06:15:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=34966253</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34966253</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34966253</guid></item><item><title><![CDATA[New comment by jason_wo in "Sam Zeloof and Jim Keller start a new semiconductor fab"]]></title><description><![CDATA[
<p>> Long story short if I had money that would be relevant in this context I would invest really hard into Tenstorrent.<p>I would happily accept a bet (e.g. $100 bucks or a nice bottle of whiskey) from you (or anyone) that atomicsemi is successful. I will just bet against it because I am skeptical that a new company is successful in a capital intensive segment.<p>It is probably slightly insulting, foolish, and arrogant to bet against the famous Jim Killer on a website dedicated to startups. This should not be a dig against Sam and Jim Killer. I guess that will try something truly innovative. But if I look a the past, the odds seem to be stacked against them.</p>
]]></description><pubDate>Thu, 23 Feb 2023 22:18:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=34917402</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34917402</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34917402</guid></item><item><title><![CDATA[New comment by jason_wo in "Mercedes-Benz previews its operating system MB.OS"]]></title><description><![CDATA[
<p>Very interesting. Thanks for the link to the paper. Isn't the provided paper "just" about the scheduler? Eventually, I would have to output some data, e.g. on the CAN bus with socketcan through the network stack. This is probably a huge amount of code for which worst-case-execution-times are probably hard to get.<p>Does AGL mean automotive grade linux? What would be other hypervisors?</p>
]]></description><pubDate>Thu, 23 Feb 2023 06:41:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=34907545</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34907545</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34907545</guid></item><item><title><![CDATA[New comment by jason_wo in "Mercedes-Benz previews its operating system MB.OS"]]></title><description><![CDATA[
<p>Yes you are correct. I am currently having a project, making Linux "as real-time as possible": locking memory with mlockall, isolating cores, preempt kernel patch, .... It is still not real-time because you have no guarantees, but you typically get a max jitter of 0.1 ms, which is good enough for my use case.<p>You could use Linux without a MMU (uClinux), e.g. on a Cortex-M, but is a horribly experience and no standard program works.</p>
]]></description><pubDate>Thu, 23 Feb 2023 01:46:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=34905706</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34905706</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34905706</guid></item><item><title><![CDATA[New comment by jason_wo in "Mercedes-Benz previews its operating system MB.OS"]]></title><description><![CDATA[
<p>I just found this presentation with technical details: <a href="https://group.mercedes-benz.com/dokumente/investoren/praesentationen/mbsu-os-2023-presentation-markus-schaefer-magnus-oestberg.pdf" rel="nofollow">https://group.mercedes-benz.com/dokumente/investoren/praesen...</a><p>I guess it is not a typical OS, but more like a collection of tools that build on already existing OSs. This is comparable to ROS (Robotic Operating System), which are just some programs, middleware, services and conventions to build software for robots on Linux.<p>It seems like this should integrate and abstract different "OS" (Linux, QNX, AUTOSAR) and run on very different platforms (high power application processor for infotaiment, microcontrollers) (Slide 13). These are widely different systems:<p>1. Linux needs a Memory Managing Unit (MMU), which only comes with high(ish) powered application processors, e.g. Arm Cortex-A9. These are obviously not hard-realtime because a page fault can occur non-deterministically (except when you can lock everything to RAM). This might be used for infotaiment.<p>2. (Classic) AUTOSAR is used without a operating system on a microcontroller like the ARM Cortex-M or a automotive MCU like the Infinion TriCore, which can run two cores in lockstep to verify each computation. AUTOSAR is kind of the operating system and you buy an "adaption"/HAL of AUTOSAR to the each MCU from a vendor. This is widely used in many ECUs for hard real-time control, e.g. to control something in the engine, and other stuff like the electric windows. AUTOSAR is a huge pain in the ass to develop for. You usually configure "it", which takes a lot of time. Then a software generates a huge amount of code. The software is from another vendor, e.g. Vector or Elektrobit. The developer fills out the function stubs implementing the actual function. Alternatively, you can generate the code from MATLAB/SIMULINK models with a code generator from yet another vendor (model-based-development). The upside of this, that the HAL and code generators are certified and everything is somehow standardized. The downside is that normal developers want to kill themself, you learn no transferable skills, and  the huge amount of generated boilerplate code, that is hard to read.<p>3. There is also a newer Adaptive AUTOSAR, which can run on Linux or QNX.<p>I guess (page 8) they want to use it for infotaiment (point 1), interior control (lights, climate control; probably point 2), automated driving and "central driving" (point 1, point 2). I am not sure if this includes typical fast hard-real-time tasks like engine control or chassis control (=vehicle dynamics control).<p>I am not sure if really want to abstract it all or just extend the "OS" (Linux, QNX, AUTOSAR) with libraries and components, mostly in user space.<p>If you look at slide 13, you might guess that they will adapt Linux and QNX to run their UI MBUX (in QT). They extend it with services that communicate with ECUs in the car and their servies in the internet. Moreover, they allow to install sandboxed apps from Mercedes, Android Auto (e.g. Spotify) on top of it. They also come with an app store: <a href="https://faurecia-aptoide.com/" rel="nofollow">https://faurecia-aptoide.com/</a><p>The real-time ECUs in the car running AUTOSAR will just get additional components to easily communicate with other MB.OS parts and support some newer features like OTA update.<p>I have not seen any details how this relates to ADAS functions. These are typically (partially) run on a compute node made by an automotive supplier with a hardware accelerator from NVIDIA, e.g. ZF ProAI (<a href="https://www.zf.com/products/en/cars/products_64166.html" rel="nofollow">https://www.zf.com/products/en/cars/products_64166.html</a>) or from Valeo (<a href="https://www.valeo.com/en/domain-controller/" rel="nofollow">https://www.valeo.com/en/domain-controller/</a>).</p>
]]></description><pubDate>Thu, 23 Feb 2023 00:50:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=34905331</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34905331</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34905331</guid></item><item><title><![CDATA[New comment by jason_wo in "Show HN: Turn your Pandas dataframe into a Tableau-style UI for visual analysis"]]></title><description><![CDATA[
<p>The Tableau algorithm is patented. In particular, the algorithm that chooses the type of the chart depending on the properties of the data. It was developed under the name Polaris at MIT (?).<p>A few patent applications were accepted in the US and declined in the EU.<p>This is based on graphic-walker which is based on vega as far as I see. It would be interesting to see if vega is different enough from Polaris/Tableau.</p>
]]></description><pubDate>Tue, 21 Feb 2023 07:02:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=34877688</link><dc:creator>jason_wo</dc:creator><comments>https://news.ycombinator.com/item?id=34877688</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34877688</guid></item></channel></rss>