HNHacker News
TopNewBestAskShowJobs

pierremenard

1,285 karma · joined December 25, 2018

submissionscomments
pierremenard··on QuiLLMan: Voice chat with Vicuna-13B
Yup, the code in the above repo is based on https://github.com/metavoicexyz/tortoise-tts-modal-api
pierremenard··on QuiLLMan: Voice chat with Vicuna-13B
The "API server" only runs when requests come in. Otherwise Modal scales everything down to 0, and you don't pay for anything. It's similar to putting Lambda behind an API gateway.
pierremenard··on Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
http://modal.com/
pierremenard··on The Impending Cloud Reshuffle
> assuming you have enough expertise in-house to run it.

Most small to mid-sized companies would almost always opt to pay a bit more for a managed offering and not have to bring in expertise in-house for things that are not their core competency.

pierremenard··on Kairos
Ribbonfarm's take on kairos vs chronos: "internal and external clocks [...] individual time and social time, sensed time and read time [...] Bergsonian vs Einsteinian time." And now things that used be synchronized are becoming async, chronological time is bleeding into kairological time.

https://studio.ribbonfarm.com/p/stream-time

pierremenard··on Hire people who give a shit
The fact is that you need people to have this collective delusion to work really hard and care about something, before value can be created. This kind of work ethic and commitment is what virtually every company that you admire today has required to get where it is today.

I personally don't think this is "dehumanizing" or unfair, since the whole point is to explicitly opt in for such a life. There are enough people out there who want to dedicate a lot of their time to working on a team or mission they care about, and OP's narrative is great at selecting for people like that.

pierremenard··on Beginner's Guide to Abstraction
I've learned the hard way that perfect abstractions don't exist. The mathematician in me wants to find the "most elegant representation" of a given problem, but when I give in to that urge, I often end up with a god function that takes `n` boolean flags that toggle the behavior slightly for different cases.

Why does this happen? I think a partial explanation is in this Nietzsche essay [1], where he says, "every concept arises from the equation of unequal things" — in other words, the abstractions of the world were built bottom up in our heads, and the Platonic essence of things is just a fairy tale we tell young programmers so they can sleep easily at night.

1. http://nietzsche.holtof.com/Nietzsche_various/on_truth_and_l...

pierremenard··on Chekhov's Gun
Useful, but not universal. Efficiency is not the point of storytelling. Some details might not appear to have led anywhere in the story, but could have been there for texture, subtext or symbolism.

Chekhov's minimal, efficient, realist style is unique to him and complements his tone and content, but it's not a necessary condition for good writing. Consider Nabokov's short story Symbols and Signs (https://www.newyorker.com/magazine/1948/05/15/symbols-and-si...) which is beautiful purely because of subtext and texture.

pierremenard··on Write Libraries, Not Frameworks
This article looking at frameworks as introducing cyclic dependencies of interpretation is illuminating: https://parametri.city/blog/2018-12-23-language-oriented-sof...

> The trouble with frameworks is that to use it, you have to match your application to the language of the API. If you’re not careful, you end up coupling your system to the framework. This means that you create a cycle between yourself and the framework by architecting your component as an interpreter from F_o to F_i.

You can avoid this cyclic dependency by marginalizing the framework at the edges of your application, as suggested in the post, but that strikes me as much easier to do with libraries.

pierremenard··on I could do that in a weekend (2016)
The article seems to argue that

1) there is no viable search competitor to Google, therefore

2) search must be a much harder problem that takes more engineers than we expect, therefore

3) it's hard to reproduce Google's success because you can't actually do what 10^n engineers do in a weekend.

I think that's plausible, but it needs to be emphasized that search could very well be not that hard, but no one has overtaken Google because they have inferior marketing, distribution, present too high of a switching cost, etc.

Just because Google has a bunch of engineers solving that problem (and reproducing what Google does seems complex for correct reasons pointed out in the article) doesn't mean that the engineers are actually adding that much marginal value. My guess is that even if Google invested less in search engineering, and didn't solve real time indexing and some other edge cases this well, it would still be leading the field.

pierremenard··on Ask HN: Programs that saved you 100 hours?
Spacemacs! Apart from the obvious evil mode navigation stuff:

- Magit, to quickly organize hunks into commits and do general git things

- Org mode, to organize TODOs, thoughts and even draft code snippets and designs

- Language-specific layers with great features (usually REPLs, support for refactoring, autocomplete — stuff you expect from any other IDE).

pierremenard··on Ask HN: Programs that saved you 100 hours?
Is that equivalent to `pbcopy` and `pbpaste` on OSX?
pierremenard··on Ask HN: Great fiction books that have had a positive impact on your life?
It certainly is! :)

https://en.wikipedia.org/wiki/Pierre_Menard,_Author_of_the_Q...

pierremenard··on Ask HN: Great fiction books that have had a positive impact on your life?
Calvino, Invisible Cities — human life is so rich in complexity and detail that an infinite number of projections can be constructed to study slices of it, that are each worthy of their own story

Hesse, Steppenwolf — read this at an angst-filled time; the way this book builds and reconciles the conflict between two personalities that goes on within the main dude's head was extremely cathartic to my own life

Adams, the Hitchhiker's Guide to the Galaxy — introduced me to the inherent absurdity present in the modern world, technology, the scale of the universe, the condition of our own existence, etc, and how making light of it helps you grapple with it and live with it

pierremenard··on Ask HN: Great fiction books that have had a positive impact on your life?
Curious why you think Moby Dick is not a good book. I thought it was going to be a long drag, but found the writing extremely enjoyable. Apart from the obvious "literary merit", reading this book feels like being at sea, isolated from the world, where life is subject to the rhythms of much more powerful forces, and you can look around and study deeply the rich detail present even in a closed system like a ship.

To those skeptical that "old books" can have aesthetic relevance even today, I highly recommend reading the first chapter or even the first paragraph:

> Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people’s hats off—then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If they but knew it, almost all men in their degree, some time or other, cherish very nearly the same feelings towards the ocean with me.

pierremenard··on A Practical Guide to Memory Leaks in Node.js
Memory leaks can certainly be more sinister than the example used here.

It's not possible to never use global state — it makes sense in some cases. And then you end up with harmless things like adding memoization leaking memory when not done properly.

pierremenard··on How do Unix pipes work?
See Section 1.2 this & 1.3 of the MIT Unix teaching OS for a great intro to FDs and pipes: https://pdos.csail.mit.edu/6.828/2019/xv6/book-riscv-rev0.pd...
pierremenard··on Object-oriented Haskell surprisingly appealing
Basically making an OO DSL inside Haskell. It's a cool idea, but there have to be nicer looking ways to do it right?
pierremenard··on “The Hitchhiker’s Guide to the Galaxy” turns 42
Incredible how many people and things were inspired by H2G2, including Radiohead: https://www.vice.com/en_us/article/ev4ga7/thom-yorke-confirm...
pierremenard··on What the Hell Was Modernism?
> Third, modernism was built on the principle that formal experimentation is the only thing that matters.

This is the most appealing thing about modernism to me — instead of continuing an exploitation of techniques that had been perfected, modernism was an exploration of what was possible — an attempted unbundling of the things that strike us about art like color, shape, texture, forms, frames, etc. The fatalism is a necessary consequence of this idea of taking some simple axioms and carrying them to their extremes.

pierremenard··on Show HN: Training Data for Robot Dogs
The logos are parodies of real self-driving car companies (Zoox, Embark).
pierremenard··on The Internet of Unprofitable Things
This was wonderful, thanks for sharing! Are you a Borges fan by any chance?