Better HN
topnewbestaskshowjobs
Log inSign up

pixelmonkey

6,134 karma · joined Oct 5, 2007 (19y ago) · 831 submissions

Founder of PX Systems, which ships a daily developer tool to go from code to cloud cluster in seconds. More info @ https://px.app

Formerly the founding CTO of Parse.ly. Coding in: Python, JavaScript, Zig. Pleased to be a Pythonista and UNIX lover.

Parse.ly was acquired by Automattic (creators of WordPress.com) in February 2021; more here: https://www.techmeme.com/210208/p12#a210208p12

My essays & technical blog: https://amontalenti.com

My AngelList profile: https://angel.co/p/amontalenti

My occasional tweets: https://twitter.com/amontalenti

Submissions

comment 6y ago · link · parent

Super helpful. Thank you for this thoughtful answer and I'll check out the YouTube recommendation. Cheers!

comment 6y ago · link · parent

Thank you for this. I did not know the term "Optimal Capital Structure" but it seems like a good jumping-off point for researching the topic.

comment 6y ago · link · parent

This is a nice theoretical answer, but I am looking for something a little more practical. Also, assume that a company has already acquired all its "expensive capital" via venture markets and sale of private shares. Given the current metrics of the business, how should it decide how much "cheap capital" to acquire via the debt markets?

comment 6y ago · link · parent

Also, re: your question about Apple:

> For example, should Apple, with their huge mountain of cash, have debt? Do they need debt?

Obviously not. Debt is for companies that have already utilized most of their cash, right? Or have future cash flows that they want to access now before the cash actually materializes. Apple, by contrast, should probably become an investor or lender, since it doesn't know what else to do with its excess cash. It certainly serves no purpose being hoarded on their balance sheet.

comment 6y ago · link · parent

I think we are conflating "available credit" and "utilized credit". (Or, rather, I didn't clarify that myself.)

Available credit is something like, "Company X has $100M in annual revenue and a $5M line of credit, which is not presently utilized." Arguably, such a company is better positioned than the same company X without the $5M credit facility. The cost of the annual fee to maintain the credit facility will be miniscule compared to the security provided by having $5M instantly available in a rainy day scenario. This is the way by which I mean some corporate debt (specifically: available revolving credit) is "obviously" a good idea.

You're right that term loans involve more trade-offs: interest, maturity, etc. But those are still trade-offs, not always downsides. Assuming even a modest annual-interest-rate-beating growth rate in the business with a high probability that such growth materializes, the debt can make the business easier to manage and actually increase the probability of sustainable growth. That's the other way in which I believe that debt can be an obvious benefit.

But obviously if you take too large a term loan, it can be disastrous, thus my question about debt ratios. For example, for company X above, it's obvious to me that a $100M term loan would probably be dangerous. But, a $10M term loan vs $5M? Not sure. That's why I am curious about ratios.

comment 6y ago · link · parent

Something I have never seen a good answer to or explanation of: what is an "appropriate" debt or leverage ratio for a healthy company?

Obviously, a private company with hundreds of millions in stable recurring revenue shouldn't operate debt-free -- debt can be a useful tool, even if only as a rainy-day tool for situations such as the recent pandemic.

In other words, corporate debt -- and especially low-interest and covenant-free debt that is secured using recurring revenue -- seems like a capital allocation (corporate finance) tool with a set of trade-offs relative to cash and venture investment. But, how much debt is "too much"? I feel like those of us who work in software can sometimes forget that for most industries, venture capital isn't even an option, which means debt can be one of your only growth financing sources of capital -- and even for those in software, some companies are not venture-fundable but might still be debt-fundable.

It's clear that the PE firms that load up billion dollar companies with billions in debt are just playing a speculative finance and asset strip-mining game. But, it would be a shame if we invested all of this time, money, and regulation into a robust "financial capital banking sector", and we can't even rely on it for capital that businesses can use to create jobs, service customers, and smooth the rough patches in the economy.

comment 6y ago · link · parent

As much as I cheer on the death of Flash, it did play a part in my "coming up" as a programmer. Reading the book, "The New Masters of Flash"[1], published in 2000, was the first time I got truly inspired by the intersection of design and programming that was then becoming popular on the early web.

Flash is now a footnote in history, but, as I shared on Twitter[2], for me, Flash was almost like an early glimpse into what the future of web technologies would eventually become. If Adobe had released Flash as open source after acquiring Macromedia, we'd likely all be using a very different web, which is quite the mindbender to reflect on.

[1]: https://www.goodreads.com/book/show/1125594.New_Masters_of_F...

[2]: original tweet -- https://twitter.com/amontalenti/status/1272699635375759362 -- and unrolled into thread form here: https://threader.app/thread/1272699635375759362

278.

Clasp: Google's open source CLI for Apps Script projects(github.com ↗)

2 points · by pixelmonkey · 6y ago · discuss

comment 6y ago · link · parent

Michael Stonebraker has an interesting set of conclusions in his assessment of the MapReduce vendor market in 2015 from the "Dataflow" chapter here:

"- Just because Google thinks something is a good idea does not mean you should adopt it.

- Disbelieve all marketing spin, and figure out what benefit any given product actually has. This should be especially applied to performance claims.

- The community of programmers has a love affair with “the next shiny object”. This is likely to create “churn” in your organization, as the “half-life” of shiny objects may be quite short."

comment 6y ago · link · parent

This comes up from time to time. Here is a Twitter thread with some more links about the various usages of "shard" in the context of early internet and gaming services, including Ultima Online (UO), other early MMORPGs, and even MUDs.

https://twitter.com/amontalenti/status/615116231092371456?s=...

comment 6y ago · link · parent

I've been a happy vim user for many years, over a decade. But I was shocked at how this talk, published on YouTube in 2018 from a recorded lecture by an engineer at Yelp named Leeren Chang, basically made vim’s internal model “click” for me and made vim even more fun to use. I really feel the presenter did such a great job showcasing vim ideas — conceptually, visually, and by direct example — that, by the end, I downloaded the talk into my “great tech talks” stash and labeled it, “vim’s missing manual.”

Here it is: https://youtu.be/E-ZbrtoSuzw

comment 6y ago · link · parent

Isn’t a “standardized abstraction over different hardware” just... an actual operating system? Isn’t “the operating system of the cloud” just... the actual operating system running on your cloud VMs? If you script a deployment environment atop vanilla Linux distros (e.g. ansible), you also avoid public cloud lock-in. (Side benefit: you also avoid container engine lock-in, and container layer complexity!)

Containers are a standard abstraction over the operating system, not over the hardware (or the VM, even). This has its use cases, but making it “the standard” for deployment of all apps and workloads is just bananas, in my view.

comment 6y ago · link · parent

Extensive explanation from Python creator and PEG parser implementor Guido van Rossum himself can be found in this video:

https://youtu.be/QppWTvh7_sI

It's also just a fun video on language parsers in general.

comment 6y ago · link · parent

I've been learning a little bit about "the new Microsoft" and its new relationship with open source, and I think I get it now.

MSFT is treating open source communities and free F/OSS code contributions the way they might have treated blogging and IT forums in a prior era.

It's "developer community" and "power user" engagement. It's a hybrid product management and marketing function.

In this particular scenario, the winget product manager views the appget author as a "Windows enthusiast" of sorts, not a competitor, a peer, or a colleague. Just a "power user persona" of the Microsoft userbase.

So, when you understand this, reading the PM's email to him ahead of winget's launch makes more sense.

> We give appget a call out in our blog post too since we believe there will be space for different package managers on windows. You will see our package manager is based on GitHub too but obviously with our own implementation etc. our package manager will be open source too so obviously we would welcome any contribution from you.

Specifically: it's like getting called out explicitly by a forum mod, or being a frequent blog commenter who is mentioned by name in a blogger's main post.

It's "an honor" to have appget explicitly mentioned in an "official" Microsoft announcement. And to have your community work "inspire" so much of winget's design! So when the PM wrote the email, he probably wasn't even thinking it would feel like trolling. He was probably thinking, "isn't it cool we are doing this 'F/OSS collaboration thing' together? How 'New Microsoft' of us!"

And I can't say I blame him. Microsoft is just less smooth about their appropriation of F/OSS for marketing purposes. Other companies manage to do it without the developers noticing.

comment 6y ago · link · parent

A short documentary called “Pick of the Litter” focuses on the training of service dogs for the vision impaired, and it first introduced me to this concept of Intelligent Disobedience.

No longer on Netflix, but you can find it on Amazon Prime here: https://amzn.to/3gttRxt

If you are a dog lover, this movie will tug at your heart strings. If you are not into dogs, it’s still a wonderful character study in perseverance & human-animal symbiosis.

For programmers, you’ll start to realize that even reaching dog-like AI would be quite an accomplishment and open up a lot of possibilities for humanity.

On a lighter note, whenever I hear the term Intelligent Disobedience now, I always also think of one of my favorite organizational psychology terms, Malicious Compliance.

https://en.m.wikipedia.org/wiki/Malicious_compliance

comment 6y ago · link · parent

This would be a violation of the advice in PEP 394, except that PEP 394 only applies “to Unix-Like systems”.

https://www.python.org/dev/peps/pep-0394/

Basically, the Python core team suggests that the “python” executable/command be set to one of the following:

- python2,

- python3,

- not provide python command,

- allow python to be configurable by an end user or a system administrator

It would have been much better, IMO, for Windows to do nothing here. A Microsoft-blessed Python installer from the Windows Store could actually serve a positive purpose distinct from the official installer at python.org. That would be to support python2 and python3 side-by-side cleanly.

It might nicely install Python 2.7.18 at the python2 executable, and install Python 3.8.2, as well, and have python/python3 refer to 3.8.2 and beyond.

This would match an Ubuntu 20.04 system with python2 installed, and with python-is-python3 installed, which is, IMO, how a system should be configured if it needs to have python2 around for backwards compatibility, but wants the “system/default python” to be python3. And it’d make sense for Microsoft to do that since Windows, above all, is a system with a deep respect for backward compatibility with old tools. But, that isn't what they did.

Instead, this stub forwarding to the Windows store seems like the worst of all worlds. I am not really sure what problem they are trying to solve and for whom. If you are the kind of Windows user who opens cmd.exe and manually types in “python” into the black terminal window, are you the kind of Windows user who won’t be able to figure out how to open a browser to the official installer on python.org? Doubt it. Meanwhile, the stub likely breaks existing code, even code that may just be running “python -V” to see what version is installed at that path.

And apparently the Microsoft-blessed Python installer is just a python3 install (perhaps old), with no thought to python2 and backwards compatibility for old python scripts for Windows? Hmph. This doesn’t seem like an improvement over “do nothing”.

comment 6y ago · link · parent

Agree that Notion should consider adding a "simple" table that isn't the full-blown database.

comment 6y ago · link · parent

If you think of Notion as your team wiki, it's an exceptionally good tool.

Probably the best "wiki" I've ever used. I've used Trac, MediaWiki, MoinMoin, Confluence, GitHub Wiki (+ Gollum), and finally Notion. Notion is easy-to-use for non-developers, but still mostly supports Markdown. It makes rich content easy, including tables, in-line images, code snippets. It supports GDoc-style real-time editing, fine- & coarse-grained permissioning, in-line comments, mentions, and versioning. It's a great wiki.

It's really, really easy to over-use a wiki for everything. It's also really easy for wikis to get under-utilized, out-of-date, etc.

But if you're a fully distributed team with 20+ people, you need somewhere to store your team policies/practices, your culture, your vision/roadmap, etc. Notion is a great fit for this.

If you try to use Notion as the "hub for all of your work", you'll certainly be disappointed, just as you would have been using any other "wiki" product for this. For example, though we use Notion as our team wiki, we still use:

- GitHub Issues for bug reports, because it's built perfectly for this, and links with code and pull requests seamlessly

- GitHub project boards for code-oriented project management, because it can kanban-ize GH issues to visualize capacity, issue stages, and project/milestone progress

- Trello for non-code project management, because if you're not a programmer, Trello is much simpler than GH Issues/Projects, and nails the experience of a kanban project board

- StackOverflow for Teams for FAQ-oriented team & product knowledge base

- GDocs for long docs, forms, slides, spreadsheets, and so on -- and especially when these need to be shared "officially" with external parties

- Slack for real-time chat and notifications, often linking to the above tools

I think part of the dissatisfaction expressed in this article is that Notion is being hyped (especially with the VC valuations) as "the future of all work", similar to Slack in a prior startup generation.

Slack is better IRC for busy teams who prefer a SaaS. Notion is better MediaWiki for busy teams who prefer a SaaS. Neither is an all-in-one work hub. Neither is "the future of work". They are just communication/collaboration tools in different categories.

comment 6y ago · link · parent

The first couple of paragraphs of the documentation for asyncore, the module in Python's standard library that implemented the machinery for async IO all the way back in 2000, has a great description of what async programming is all about. Here it is:

https://python.readthedocs.io/en/latest/library/asyncore.htm...

'There are only two ways to have a program on a single processor do “more than one thing at a time.” Multi-threaded programming is the simplest and most popular way to do it, but there is another very different technique, that lets you have nearly all the advantages of multi-threading, without actually using multiple threads. It’s really only practical if your program is largely I/O bound. If your program is processor bound, then pre-emptive scheduled threads are probably what you really need. Network servers are rarely processor bound, however.'

'If your operating system supports the select() system call in its I/O library (and nearly all do), then you can use it to juggle multiple communication channels at once; doing other work while your I/O is taking place in the “background.” ...'

comment 6y ago · link · parent

I think they just realized it gives them a way to package proprietary apps like Skype, Spotify, and Slack a bit more simply than would be required to apt-ify/dpkg-ify them. I really think that's the primary motivation.

comment 6y ago · link · parent

This is a lovely 30-minute read on the history of the C programming language, written by Dennis Ritchie (dmr), one of its authors.

https://www.bell-labs.com/usr/dmr/www/chist.html

Here's a comment I wrote about it elsewhere:

https://lobste.rs/s/hba9nn/development_c_language_1993#c_hw6...

One other essay that comes to mind is the 1945 piece by Vannevar Bush, "As We May Think", that lays out the vision for a "Memex", or memory extension device, in the direction of what PCs and smartphones eventually became.

https://www.theatlantic.com/magazine/archive/1945/07/as-we-m...

I think it's nice to reflect on a time, not too long ago, where these devices were a mere figment of a scientist's imagination, only to materialize decades in the future. What can you dream up today?

comment 6y ago · link · parent

Hey Nat -- quick Q, with this change, is there any need for individual developers to pay for "Pro" accounts? Or did the benefits of a "Pro" account just get covered by the "Free" plan?

293.

Bill Gates: The Next Epidemic – Lessons from Ebola (2015)(nejm.org ↗)

3 points · by pixelmonkey · 6y ago · discuss

comment 6y ago · link · parent

If you don’t believe competence can exist in federal government administration, then you don’t believe in our representative democracy. If you don’t believe in that, then spare us your participation, and don’t vote. But please don’t express your lack of belief in competence by intentionally voting an incompetent leader into our most important office.

This pandemic is a world-wide A/B test on the difference between competence and incompetence, and we here in NYC now have to suffer because of votes we did not cast. Indeed, in spite of millions of votes we cast, that simply did not count.

The callous, purposeless, senseless disease came to us first, the lack of coordinated federal response harms us the most, but the contagion marches exponentially along — indifferently laying waste to grand life projects, solid small businesses, and urban vibrancy — and soon, it will come for us all.

comment 6y ago · link · parent

One of my good friends is a restaurant owner in NYC and my spouse is a doctor/surgeon in NYC. Startups aren't pummeled -- they're insulated. Restaurant owners and doctors are pummeled. And all of you who thought incompetent federal government leadership was OK in this modern world -- you were bamboozled. You can start apologizing now.

comment 6y ago · link · parent

This question is not the same as -- but has a similar feel to -- the first programming problem in the classic book "Programming Pearls"[1]. You can read it on O'Reilly Safari these days[2].

Even if you don't read the book, that first chapter, "Cracking the Oyster", is worth a read. It's a fun problem.

[1]: https://amzn.to/2vWkZ0D

[2]: https://learning.oreilly.com/library/view/programming-pearls...

comment 6y ago · link · parent

I’m a programmer in NYC and my spouse is an MD/surgeon/fellow here. I’m also fascinated by the idea of applying queuing theory and Little’s Law to medical capacity issues, especially in times of capacity strain.

comment 6y ago · link · parent

If you think of UNIX tools the way a chef thinks about kitchen tools (like chefs’ knives and cutting boards, or mixing bowls and frying pans), you won’t be as surprised to be using stuff that dates back decades. Good design is built to last and to enhance the skills of an experienced craftsperson. I wrote a little on this here:

https://amontalenti.com/2012/06/22/unix-kitchen

comment 6y ago · link · parent

I believe xmake doesn't "require" Lua. Instead, xmake embeds Lua. Specifically it embeds LuaJIT 2.1, based on what I could tell in their repo source. So, when you run xmake, you're actually running a a full-blown Lua implementation that is self-contained in the xmake binary, that has some automatic imports for the xmake embedded build DSL. If you want to run arbitrary Lua using xmake, there is a built-in "lua" plugin, shorthand "xmake l", described here:

https://github.com/xmake-io/xmake/blob/master/README.md#run-...

So, it would be a bit like if you built a build language atop Python, but rather than depending on Python, you made your whole build tool embed the entire CPython interpreter, pinned to some version. Lua is used in this way more commonly than Python is, of course.

So: xmake itself is just a C program with large submodules written in Lua, running inside that embedded Lua context. The upside here is that xmake's releases are just plain platform-specific native binaries that bundle everything you need, and that make no assumptions about your base system. This is a nice benefit in a build tool, as it aids in reproducible builds.

1
91011
28