<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: globuous</title><link>https://news.ycombinator.com/user?id=globuous</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 28 Sep 2026 03:18:24 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=globuous" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by globuous in "OCaml as my primary language"]]></title><description><![CDATA[
<p>What I missed most were let bindings (<a href="https://ocaml.org/manual/5.3/bindingops.html" rel="nofollow">https://ocaml.org/manual/5.3/bindingops.html</a>)<p>ReasonML has custom operators that allows for manipulating monads somewhat sanely (>>= operators and whatnot). rescript (reasonml’s “fork”) did not last time I checked. But it does have an async/await syntax which helps a lot with async code. reasonml did not last time I checked, so you had to use raw promises.<p>I believe Melange (which the article briefly talks about) supports let bindings with the reason syntax.<p>And this kinda changes everything if you React. Because you can now have sane JSX with let bindings. Which you could not until melange. Indeed, you can PPX your way out of it in ocaml syntax, but I’m not sure the syntax highlight works well in code editors. It did not on mine anyway last time I checked.<p>So for frontend coding, Melange’s reason ml is great as you have both, and let bindings can approximate quite well async syntax on top of writing readable monadic code.<p>For backend code, as a pythonista, I hate curlies. and I do like parenthesis-less function calls and definitions a lot. But I still have a lot of trouble, as a beginner ocamler, with non-variable function argument as I need to do “weird” parenthesis stuff.<p>Hope this “helps”!</p>
]]></description><pubDate>Wed, 13 Aug 2025 21:12:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=44893905</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=44893905</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44893905</guid></item><item><title><![CDATA[New comment by globuous in "John Carmack and John Romero reunited to talk DOOM on its 30th Anniversary"]]></title><description><![CDATA[
<p>Looks very interesting, thanks for sharing! The pricing section is very informative btw, congrats to the author for sharing it</p>
]]></description><pubDate>Mon, 11 Dec 2023 02:46:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=38597114</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=38597114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38597114</guid></item><item><title><![CDATA[New comment by globuous in "USB inventor explains why the connector was not designed to be reversible (2019)"]]></title><description><![CDATA[
<p>No way! I didn't know that was part of the standard! Very useful "trick" indeed, unless of course, the USB port is placed vertically...</p>
]]></description><pubDate>Mon, 09 Oct 2023 20:32:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=37825133</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=37825133</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37825133</guid></item><item><title><![CDATA[New comment by globuous in "Ollama for Linux – Run LLMs on Linux with GPU Acceleration"]]></title><description><![CDATA[
<p>AMD support would be amazing <3<p>I get the boot concern, and the maintenance concern (!!!), but as you say, these models are already quite huge anyway :)</p>
]]></description><pubDate>Tue, 26 Sep 2023 18:15:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=37663541</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=37663541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37663541</guid></item><item><title><![CDATA[New comment by globuous in "Compiling Functional Languages (2002) [pdf]"]]></title><description><![CDATA[
<p>Interestingly, the last slide mentions:<p>```
Today: we are able to certify realistic bytecode compilers and
abstract machines.<p>Tomorrow: certification of optimizing native-code compilers?
```<p>Xavier Leroy actually got the ACM Software System Award in 2021 for CompCert, an optimizing native-code compiler! It's first version seems to have been released in 2005, just 3 years after this presentation was written. Though CompCert is a C compiler, which isn't really a functional language.<p>- <a href="https://en.wikipedia.org/wiki/ACM_Software_System_Award" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/ACM_Software_System_Award</a>
- <a href="https://en.wikipedia.org/wiki/CompCert" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/CompCert</a></p>
]]></description><pubDate>Fri, 25 Aug 2023 13:56:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=37261781</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=37261781</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37261781</guid></item><item><title><![CDATA[New comment by globuous in "Kubernetes Exposed: One YAML Away from Disaster"]]></title><description><![CDATA[
<p>Is that not what you’d do? That sounds like an unusually useful review tbh.</p>
]]></description><pubDate>Tue, 08 Aug 2023 20:31:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=37055077</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=37055077</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37055077</guid></item><item><title><![CDATA[New comment by globuous in "One can scarcely help clarifying him: on the Brothers Karamazov"]]></title><description><![CDATA[
<p>If you liked war and peace, you should check out grossman’s life and fate, it’s WWII’s version, fantastic. And blacklisted by the soviet government because critical of it.</p>
]]></description><pubDate>Sun, 30 Jul 2023 20:22:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=36935545</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=36935545</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36935545</guid></item><item><title><![CDATA[New comment by globuous in "Inconvenient Truths about TypeScript"]]></title><description><![CDATA[
<p>That's true, and I was impressed first time someone showed me that. But the cost of this luxury might not be worth it. Indeed, you mostly (only ?) communicate through an API. And if it's properly documented, which is now essentially automatic, you can easily generate your types from the frontend. To me, the cost of bringing JS to the backend dominates this luxury to the point where it's just not worth it. I'll just generate my types from the frontend and be done with it.</p>
]]></description><pubDate>Tue, 18 Jul 2023 13:52:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=36772232</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=36772232</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36772232</guid></item><item><title><![CDATA[JupyterCAD – A JupyterLab extension for 3D geometry modeling]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/QuantStack/jupytercad">https://github.com/QuantStack/jupytercad</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=36322477">https://news.ycombinator.com/item?id=36322477</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 14 Jun 2023 07:08:01 +0000</pubDate><link>https://github.com/QuantStack/jupytercad</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=36322477</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36322477</guid></item><item><title><![CDATA[New comment by globuous in "Functional Programming with TypeScript's Type System"]]></title><description><![CDATA[
<p>Yeah, there are some weird stuff in typescript, for instance, this typechecks<p><pre><code>    class Animal {}

    class Dog extends Animal {
        woof() {}
    }

    class Cat extends Animal {
        meow() {}
    }

    let append_animals = (animals: Animal[], animal: Animal) => animals.push(animal)

    let dogs = [new Dog()]
    append_animals(dogs, new Cat())

    dogs.map(dog => dog.woof())

</code></pre>
Which if you evaluate, you'll obviously get:<p><pre><code>    Uncaught TypeError: dog.woof is not a function
</code></pre>
Whereas Mypy won't typecheck the equivalent Python code:<p><pre><code>    class Animal:
        pass

    class Dog(Animal):
        pass


    def append_animals(animals: List[Animal], animal: Animal) -> None:
        animals.append(animal)


    dogs = [Dog()]
    append_animals(dogs, Dog())

</code></pre>
It'll throw with:<p><pre><code>    $ mypy types.py 
    types.py:16: error: Argument 1 to "append_animals" has incompatible type "List[Dog]"; expected "List[Animal]"
    types.py:16: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
    types.py:16: note: Consider using "Sequence" instead, which is covariant</code></pre></p>
]]></description><pubDate>Sun, 16 Apr 2023 15:01:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=35590574</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=35590574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35590574</guid></item><item><title><![CDATA[New comment by globuous in "Deck.of.cards"]]></title><description><![CDATA[
<p>It looks like the randomness is generated at shuffle time and then maintained. You can check by hitting « fan » and then « flip » multiple times. It always returns the same card order between shuffles which seems to imply that it’s maintained.</p>
]]></description><pubDate>Wed, 12 Apr 2023 15:04:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=35540960</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=35540960</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35540960</guid></item><item><title><![CDATA[New comment by globuous in "Ask HN: Tools to learn music theory?"]]></title><description><![CDATA[
<p>A great tool is, believe it or not, Ocaml/Rescript!!<p>I was tired not remembering how to name intervals, construct chords, my arpeggios  and scales and what not. So I coded it to help me figure all of that out. I also wanted a frontend to visualize all of this because notes on the guitar are all mixed up and it's hard to reason about when you have a terrible memory like I do:<p>- Theory.res: <a href="https://github.com/tbinetruy/solfeggio-calculator/blob/master/src/Theory.res">https://github.com/tbinetruy/solfeggio-calculator/blob/maste...</a>
- Frontend: <a href="https://tbinetruy.github.io/solfeggio-calculator/" rel="nofollow">https://tbinetruy.github.io/solfeggio-calculator/</a><p>I also have some notes on that repo that have helped me a lot where I can summarize my findings. But this exercise has been enlightening. Both from the coding and musical perspectives. Because Ocaml really forces you to model music and thus ensure that you understand the concepts which helps you remember them.<p>I can finally start soloing over chord progressions using arpeggios now! It's essentially comes down to playing a scale in thirds starting on the chord root note on chord changes! And I can finally understand my fretboard without having to look at my frontend's chord diagrams anymore. I still don't know the notes, but I understand their relations with each other.<p>I've also started learning jazz because it's a lot more theory based than pop/rock since you have a lot more exotic chords and solos are guided by the underlying progression. I really like Jens Larsen's YT channel. It's very hard to get into at first because he goes quite fast, but has some very accessible videos such as this one: <a href="https://www.youtube.com/watch?v=7q2LB45ts0M">https://www.youtube.com/watch?v=7q2LB45ts0M</a>.<p>Hope this helps :)</p>
]]></description><pubDate>Fri, 24 Mar 2023 09:37:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=35286911</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=35286911</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35286911</guid></item><item><title><![CDATA[New comment by globuous in "Launch HN: Pynecone (YC W23) – Web Apps in Pure Python"]]></title><description><![CDATA[
<p>Niiiice ! So we should also be able to unit test ou components in pytest and debug them with PDB ? Gonna check this out real soon :)<p>As a react dev turned django dev, I cannot wait to get my hands on this!<p>Edit: how come the counter example is so slow on my iPhone 11 though ? That seems real weird <a href="https://pynecone.io/docs/getting-started/introduction">https://pynecone.io/docs/getting-started/introduction</a></p>
]]></description><pubDate>Mon, 13 Mar 2023 22:02:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=35143593</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=35143593</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35143593</guid></item><item><title><![CDATA[New comment by globuous in "Sex, food or water? How mice decide"]]></title><description><![CDATA[
<p>I recall reading a funny article, by some guys at cornell if my memory does not fail me, that concluded that obesity rates were lower in europe because europeans would stop eating when they weren't hungry anymore. Whereas americans would stop eating when turning off the TV (and therefore would continue eating after being full).</p>
]]></description><pubDate>Fri, 24 Feb 2023 13:02:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=34924037</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=34924037</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34924037</guid></item><item><title><![CDATA[New comment by globuous in "Show HN: Get advice from a GPT3-based stoic philosopher"]]></title><description><![CDATA[
<p>wow, this is cool, quotes are sourced! :)</p>
]]></description><pubDate>Fri, 24 Feb 2023 12:57:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=34924001</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=34924001</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34924001</guid></item><item><title><![CDATA[New comment by globuous in "Leonardo da Vinci’s experiments explored gravity as a form of acceleration"]]></title><description><![CDATA[
<p>Which was in itself the genius of this newton guy. It’s one thing to realise that objects falling accelerate. It’s another to realise that F=ma, and that this can model objects falling as well as a bunch of other things. Surely da Vinci wasn’t lucky enough to have an apple fall on his head ? :)</p>
]]></description><pubDate>Fri, 17 Feb 2023 19:09:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=34838918</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=34838918</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34838918</guid></item><item><title><![CDATA[New comment by globuous in "Building a Cloud Database from Scratch: Why We Moved from C++ to Rust (2022)"]]></title><description><![CDATA[
<p>Unfortunately, you cannot install timescale on an rds, or I believe , other managed Postgres services : <a href="https://stackoverflow.com/a/67712962" rel="nofollow">https://stackoverflow.com/a/67712962</a>.</p>
]]></description><pubDate>Fri, 10 Feb 2023 13:32:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=34739389</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=34739389</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34739389</guid></item><item><title><![CDATA[New comment by globuous in "Using GPT3 to Interpret Dreams"]]></title><description><![CDATA[
<p>I used your message as input to this website, and that's what I got :joy:<p>Your dream reflects your inner desire to find a way to use GPT3 in a way that is both convincing and meaningful.<p>You feel that there is a gap in the industry for something that is about convincing people with words, rather than being focused on what is right and wrong. You are looking for a place where you can use GPT3 to your advantage, but also be aware of its weaknesses and limitations. You feel that GPT3 could be a great asset to any industry, if it is used correctly and with an awareness of the potential pitfalls. You are looking for a way to apply GPT3 that is both convincing and meaningful, and that will not have significant repercussions if it is applied incorrectly.</p>
]]></description><pubDate>Sun, 11 Dec 2022 21:24:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=33947698</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=33947698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33947698</guid></item><item><title><![CDATA[New comment by globuous in "Show HN: A web front end for your Org-files"]]></title><description><![CDATA[
<p>Ah ! Interesting ! I haven’t had the time to look, but is the org parser re written in ocaml or does is use emacs ? I’m wondering because I once had so many todos in so many files that it would cripple my org todos when I opened them. I actually rewrote a small Qt/Cpp frontend for my orgmode needs before giving up.</p>
]]></description><pubDate>Sun, 04 Dec 2022 12:04:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=33852898</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=33852898</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33852898</guid></item><item><title><![CDATA[New comment by globuous in "DontBuyDell.com"]]></title><description><![CDATA[
<p>I've got a small XPS, it's just horrible. Mine's 11 months old, my "j" key is already coming off (thanks vim !), the speakers are so small my iphone's louder, the battery life is terrible and I've already had fan problems. It's just a awful awful  piece of hardware.<p>Too bad because the size is great !</p>
]]></description><pubDate>Wed, 26 Oct 2022 14:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=33344117</link><dc:creator>globuous</dc:creator><comments>https://news.ycombinator.com/item?id=33344117</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33344117</guid></item></channel></rss>