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 3y ago · link · parent

I agree that task switching is another desktop advantage.

comment 3y ago · link · parent

I mentioned email only because Blackberry excelled at this, and not much else. (The Blackberry OS was an awesome texting & email client, with sub-par apps for everything else, including web browsing.)

I am a writer and programmer so that perhaps makes it less surprising that typing speed does affect my overall creative speed.

comment 3y ago · link · parent

I only had a Blackberry for a short while -- a BlackBerry Bold 9000 (got it in 2009). It was my stop-gap between plain cell phones and my first Android phone (a Droid 2, got it in 2010). Then I moved to touch screens with the Samsung Galaxy S4. I'm currently a Pixel 7 user.

Nothing ever matched the typing speed of the Blackberry Bold 9000. I was slowed down a bit by the slide-out on my Droid 2, and slowed down a TON by switching to touch.

But I could actually "do email" on my Blackberry. At essentially the same speed as my laptop. Even today, with many years of practice -- including swipe, text prediction, and all the rest -- writing a mid-size email on my phone is excruciatingly slow vs my physical typing and thinking speed. Even more frustrating is that when people observe me typing on my touchscreen, they'll say, "my goodness, you type SO FAST." And I'll just think, this is half-speed for me.

As a simple example, sometimes I try to transcribe text from a podcast I'm listening to on my phone. It's basically impossible -- I have to go back frequently, slow it down to 0.7x audio speed, etc. But, if I transcribe text on my laptop, I can do it so fast that I type ahead of the speaker, even a fast talker. It makes a difference. I could have transcribed a live speaker on my Blackberry Bold. I could even type short notes at thinking speed, which was awesome.

It's true that modern iPhones and their Android competitors (e.g. the Google Pixel line) do way more than my Blackberry Bold 9000 did. But I still lament the fact that these portable devices shifted from mobile high-speed read-write machines to mobile high-speed read with quite-slow write. For many people, these devices are essentially read-only.

And with so many people living so much of their digital lives on touchscreen smartphones, it also means the entire digital world is biased for consumption rather than a nice create-consume balance. Alas. Two steps forward, one step back.

comment 3y ago · link · parent

Took me awhile to get there, but my ideal mono-tasking "typewriter-like" setup is:

- iPad Air

- iA Writer iPad App[1] (or: Simplenote)

- TwelveSouth Compass Pro, for use in portrait mode[2]

- Standard Apple Bluetooth Keyboard + Apple Pencil clipped on side[3]

Also, I might be old-fashioned, but when I need to type outside -- which is often -- I just bring my laptop! Lenovo X1C (excellent keyboard) with a great matte screen[4]. Since that's Linux, I usually use vim + goyo, Typora, or Simplenote.

[1]: https://apps.apple.com/app/id775737172?platform=ipad

[2]: https://www.twelvesouth.com/cdn/shop/files/CompassPro-sectio...

[3]: https://ibb.co/3kNZmy1

[4]: https://ibb.co/wJLmLwK

comment 3y ago · link · parent

* correction, Droid 2 in 2010 was when I switched away from Blackberry. I then went to the Droid 4 in 2013.

comment 3y ago · link · parent

I was the same way. I only had a Blackberry for a short while -- a BlackBerry Bold 9000 (got it in 2009). It was my stop-gap between plain cell phones and my first Android phone (a Droid 4, got it in 2013). Then I moved to touch screens with the Samsung Galaxy S4. I'm currently a Pixel 7 user.

Nothing ever matched the typing speed of the Blackberry Bold 9000. I was slowed down a bit by the slide-out on my Droid 4, and slowed down a TON by switching to touch. I could actually "do email" on my Blackberry. At essentially the same speed as my laptop. But, even today, with many years of practice, including swipe, text prediction, and all the rest -- writing a mid-size email on my phone is excruciatingly slow vs my typing/thinking speed. Even more frustrating is that when people observe me typing on my touchscreen, they'll say, "my goodness, you type SO FAST." And I'll just think, this is half-speed for me.

As a simple example, sometimes I try to transcribe text from a podcast I'm listening to on my phone. It's basically impossible -- I have to go back frequently, slow it down to 0.7x audio speed, etc. But, if I transcribe text on my laptop, I can do it so fast that I type ahead of the speaker, even a fast talker. It makes a difference. I could have transcribed a live speaker on my Blackberry Bold. I could even type at thinking speed, which was great. Alas. Two steps forward, one step back.

comment 3y ago · link · parent

Fun article! I bought this DVD back in college, when I was studying computer science then. I was a long time reader of Joel's blog, going back to high school. I was going to be working in NYC after college. Back then, there were no real "tech jobs" in NYC. It was after dotcom 1.0 crash, but before the post-Google boom. The main companies you could work for in NYC as a programmer were Wall St firms, unless you wanted to end up in a general "IT department" for a BigCo.

I then got a job offer at Fog Creek when graduating college, incidentally for their Software Management Training Program. I turned down the offer, but one funny detail is that in the job offer package, which Fog Creek FedEx'ed to my NYC apartment, there was a printed copy of the Aardvark'd DVD in a DVD case.

As for the documentary itself, I remember liking it, but I watched it at that moment. The connection to YCombinator makes total sense to me. Joel was trying to get smart CS grads to stop taking boring internships with BigCo's outside of tech where they wouldn't actually get end-to-end software product build-and-launch experience. His primary competition in NYC? The Wall St firms (Goldman, Morgan, Lehman, etc.) whose summer internships involved apprenticing on a big internal software system for a couple of months while being marketed to by HR to join that Wall St firm full time after college. YCombinator was trying to convince this same cohort of ambitious CS grads to start startups instead (e.g. the reddit founders at UVa).

Today, the competitive landscape for startup summer talent is totally different. The tech companies are the BigCo's, in NYC or SV. It's probably the Wall St firms who need some help convincing summer interns to join today.

Ironically, I turned down the Fog Creek full-time job to work at Morgan Stanley. The latter felt like a more Linux-y job to me, and I was big into Linux and F/OSS -- also, student debt bills needed paying.

But then just a few years later I ended up quitting that Wall St job to start a startup that went all the way from seed through venture financing and eventually to exit. Fog Creek and Joel remained an inspiration in terms of how we built our engineering culture. See e.g. slides 11-13 here: https://speakerdeck.com/amontalenti/fully-distributed-and-as...

comment 3y ago · link · parent

Yea, seems like:

findmnt --options rw --real

... gets you most of the way there.

comment 3y ago · link · parent

Bram was an inspiration, not just for developing vim, which so many of we programmers used to get into a flow state programming. But also for his work on charity. Deserving of the black banner!

comment 3y ago · link · parent

There's a nice philosophy podcast with a big back catalog called Partially Examined Life. This is the episode on Simone Weil, a philosopher I had never heard of prior. I found it pretty fascinating, especially for programmers:

https://pca.st/episode/46ef86e6-36a9-45db-a263-e278b150b2a4

It was surprisingly relevant to a conversation I had with a friend about the "psychology of work". (At one point, the group in the podcast concretely discusses the idea of a business manager who is formerly an individually contributor, who mechanizes his business, moves up and up in the "abstraction" of all aspects of the business operations, and then rather than being 'totally fulfilled' in the end, finds himself with a whole lot less creative work to do. This is eerily personal for me!)

I also think it's a nice conversation because it explains, without explicitly referencing it, why programming is such a satisfying creative activity, even if automation of labor is ultimately dehumanizing to laborers unless the automation is "total" or "complete", as discussed more in the podcast and by Weil in one of her essays ("Theoretical Picture of a Free Society").

Finally, it relates the idea of flow & creativity to the concept of individual & human liberty, a connection that had never really occurred to me before.

comment 3y ago · link · parent

I don't think it's exactly the same because an LLM-based English=>Python translator is nowhere near as deterministic as compilers and assemblers. And English, being a language whose tokens are subject to wide interpretation of meaning, may be a source of byzantine complexity. Then, of course, there is the "moving target" introduced by model upgrades and evolution in the public crawl dataset rewiring the neural network for the model's world knowledge.

There is a reason Python, as high level as it is, is still defined using an eBNF / PEG grammar[1] with only 35 or so keywords[2]. And there is a reason the Python bytecode interpreter is "just" a while loop on a minimal set of instructions[3]. All of this leads to a remarkable level of determinism, and determinism is your friend when trying to get code right. I haven't yet seen the equivalent in LLMs. I don't think it's an entirely intractable problem, but I'd be hesitant to leap straight into English language as a stable API today. I think code copilots are the right place to start. And maybe even copilots that help not just with code suggestions, but also with debug suggestions.

[1]: https://docs.python.org/3/reference/grammar.html

[2]: https://docs.python.org/3/reference/lexical_analysis.html#ke...

[3]: https://devguide.python.org/internals/interpreter/

comment 3y ago · link · parent

One thing I find somewhat amusing about this is that all of the generated code is against the PySpark API. And the PySpark API is itself an interop layer to the native Scala APIs for Spark.

So you have LLM-based English prompts as an interop layer to Python + PySpark, which is itself an interop layer onto the Spark core. Also, the generated Spark SQL strings inside the DataFrame API have their own little compiler into Spark operations.

When Databricks wrote PySpark, it was because many programmers knew Python but weren't willing to learn Scala just to use Spark. Now, they are offering a way for programmers to not bother learning the PySpark APIs, and leverage the interop layers all the way down, starting from English prompts.

This makes perfect sense when you zoom out and think about what their goal is -- to get your data workflows running on their cluster runtime. But it does make a programmer like me -- who developed a lot of systems while Spark was growing up -- wonder just how many layers future programmers will be forced to debug through when things go wrong. Debugging PySpark code is hard enough, even when you know Python, the PySpark APIs, and the underlying Spark core architecture well. But if all the PySpark code I had ever written had started from English prompts, it might make debugging those inevitable job crashes even more bewildering.

I haven't, in this description, mentioned the "usual" programming layers we have to contend with, like Python's interpreter, the JVM, underlying operating system, cloud APIs, and so on.

If I were to take a guess, programmers of the future are going to need more help debugging across programming language abstractions, system abstraction layers, and various code-data boundaries than they currently make do with.

comment 3y ago · link · parent

It's definitely a workaround, but I use a Chrome extension to work around this a bit. I use "Markdown Here" to add a "turn Markdown text into rich formatted text" button to my Chrome bar:

https://markdown-here.com/

And then I use it on plain Markdown text in a GMail compose window. The rich formatted output it produces is useful for sending richly-formatted GMail messages, but it can also be copy-pasted into a Google Doc (e.g. via https://docs.new), and it comes out really nicely, including support for headers, sub-headers, links, code blocks, and the rest. The main issue is that this is a one-way process, but so long as you keep the .md source files somewhere else, this trick lets you share a richly-formatted doc with others for final commenting/editing/etc. in the GDocs interface.

comment 3y ago · link · parent

On Chomsky, here is a recording of some audio from Chomsky where he uses a rhetorical argument for why language may be innate to humans rather than (fully) learned. From 1992. Just 5 minutes.

https://youtu.be/CPgDALpS-7k

Let's make sure what the computer scientists understand Chomsky to have stated is actually aligned. Chomsky didn't say the ONLY way to create language is via the brain. His view, instead, is that evolution programmed language development into the brain -- that it is not learned (entirely) by peer osmosis. That the brain has some structure for language, built-in, which is the unlocked in various ways via socialization.

Summary of Chomsky's view, paraphrased:

"It is a strange intuition [that most other people have]. Above the neck, we insist everything [in human development] comes from experience. Below the neck, we're willing to accept the idea that [...] it comes from inside. [...] But: it is hard to look at the Sun setting and say, it's not 'setting', the Earth is actually turning. Similarly, with people, it's hard for us to look at them and not see them as minds inside bodies. This leads us to this false approach: below the neck, we are willing to pursue the sciences, and if that leads us to believe development is internally programmed, we'll accept it. But above the neck, we'll be completely irrational; we're going to insist on beliefs and explanations we'd never normally dream of in other rational areas."

---

This YouTube clip came to mind, but here is a more detailed explainer from Stanford Encyclopedia of Philosophy:

"Clearly, there is something very special about the brains of human beings that enables them to master a natural language — a feat usually more or less completed by age 8 or so. ... This article introduces the idea, most closely associated with the work of the MIT linguist Noam Chomsky, that what is special about human brains is that they contain a specialized ‘language organ,’ an innate mental ‘module’ or ‘faculty,’ that is dedicated to the task of mastering a language.

On Chomsky's view, the language faculty contains innate knowledge of various linguistic rules, constraints and principles; this innate knowledge constitutes the ‘initial state’ of the language faculty. In interaction with one's experiences of language during childhood — that is, with one's exposure to what Chomsky calls the ‘primary linguistic data’ or ‘pld’ — it gives rise to a new body of linguistic knowledge, namely, knowledge of a specific language (like Chinese or English). This ‘attained’ or ‘final’ state of the language faculty constitutes one's ‘linguistic competence’ and includes knowledge of the grammar of one's language. This knowledge, according to Chomsky, is essential to our ability to speak and understand a language (although, of course, it is not sufficient for this ability: much additional knowledge is brought to bear in ‘linguistic performance,’ that is, actual language use)."

source: https://plato.stanford.edu/entries/innateness-language/

comment 3y ago · link · parent

It was 1994. There weren't that many jobs for UNIX-oriented C/C++ developers, working on large scale problems for the internet.

In 1994, MS-DOS and Windows 3.1 were the most popular desktop operating systems. Most internet access was dial-up. Windows 95 was yet to be released. Steve Jobs was working on NeXT and wouldn't return to Apple for another 3 years. The GNOME project didn't even start until 1997, which is 3 years later. Python 2.0 wouldn't be released for 6 years, in 2000. Heck, Netscape Navigator's first version wasn't even out yet (not for a few months) -- there were no distinctly popular browsers other than, perhaps, Mosaic, released only a year earlier.

No one was building web apps yet; pg started Viaweb in 1995, one year later. Internet commerce was not at all an obvious idea. Very few people were working on "internet companies", and very few people yet were working primarily on UNIX (outside of open source hobbyists). This job posting was appealing to UNIX enthusiasts and academic computer scientists who were hoping to turn their hobbies into a lucrative day job, in a world where 90%+ of "computer jobs" were rudimentary IT schlep.

The entire culture you describe in your comment -- of companies needing to distinguish themselves via strong benefits and mission alignment -- wouldn't grow up for a few years. This wasn't a job posting among a sea of web startup job postings; this was, instead, one of the earliest web startup job postings in a sea of enterprise IT management and DOS/Windows desktop software development postings.

The "competition" for these developers was startup versions of companies like Redhat and Netscape (maybe), of which there were only a handful of comparables. A good documentary you can watch to put yourself more into the mindset of this period of developer history is "Revolution OS" (2001): https://watch.amazon.com/detail?gti=amzn1.dv.gti.cf101954-e0... (Amazon Prime Video) -or- https://imdb.com/title/tt0308808/ (IMDB)

comment 3y ago · link · parent

Done!

(And, the process was really easy, just as the blog post described. Requires Python 3.11+.)

comment 3y ago · link · parent

Butterfly effect is really something. Steve Jobs gets kicked out of Apple, builds NeXT as a form of revenge. Tim Berners-Lee buys a NeXT computer, finds it inspiring, and, thanks to NeXT's focus on a usable development environment, finds it easy to whip together a prototype of the WorldWideWeb. And so, even though none of us use NeXT computers today, thanks to one particularly important NeXT computer, all of us use the Internet and hyperlinks today. And yes, I know that much of MacOS and iOS has some lineage to NeXT. Still, this chain of events: Apple => NeXT => Tim Berners-Lee => WorldWideWeb is just bonkers for its world-wide ramifications.

comment 3y ago · link · parent

> One thing that i feel people really aren't getting right now is that rates are still extremely low and they are moving slowly too compared to previous financial shocks.

Are you sure? This graph says otherwise:

https://ibb.co/hW9TP0x

It's true that this graph excludes the rate increases we saw in the 1970s and 1980s, but it's the fastest and highest raise of rates in the last ~30 years. See here for a full timeline: https://fred.stlouisfed.org/series/FEDFUNDS

comment 3y ago · link · parent

The last gen of popular LLMs focuses on publicly accessible web text. But we have lots of other sources of "latent" or "hidden" text. For example, OpenAI's Whisper model can turn audio to text reliably. If you point Whisper at the world's podcasts, that's a whole new source of conversational text. If you point Whisper at YouTube, that's a whole new source of all sorts of text. And then there are all sorts of private sources of text, like UpToDate for doctors, LexisNexis for lawyers, and so forth. I suspect "running out" isn't a within-a-decade concern, especially since text or text-equivalent data grows exponentially in the present internet environment. I think the bigger challenge will be distinguishing human-generated from AI-generated data after 2023.

comment 3y ago · link · parent

Your analysis is missing this critical piece: duration risk.

The government requires banks to buy bonds/treasuries, but gives the banks full leeway as to whether they buy short-term, mid-term, or long-term bonds/treasuries.

In a low rate environment, long-term bonds have a higher yield but also suffer from interest rate risk (a risk caused by their long duration).

Even an untrained amateur wealth manager knows to stagger the durations of the bonds you hold, ESPECIALLY if you have any reasons you might need to sell those bonds on the secondary market before maturity. Risk managers and investors working in the finance/risk department of a top-20 bank, managing billions in deposits, should especially know this.

Some banks were simply greedy, lazy, or both (SVB).

It's econ/finance 101 that when interest rates rise, bond values go down. They could have held a much larger percentage of short-term bonds/treasuries, and they would have been fine.

I think the big lesson is that the banking industry isn't nearly as smart and self-regulating as many people think it is. Bank finance departments either chase yield, when they can (2021), or they manufacture it, when they can't (2007-2008).

comment 3y ago · link · parent

I agree. I was just providing an alternative given the reality.

comment 3y ago · link · parent

Sad news.

A guy named Ken Rockwell runs a solo operation publishing reviews of cameras and lenses across the DSLR / mirrorless ILC market.

https://www.kenrockwell.com/tech/reviews.htm

Example review of the recently released Canon R7 (a nice mirrorless camera I own):

https://kenrockwell.com/canon/eos-r/r7.htm

Note that his review style is to start with sample images, and then kick off his prose/text review. So you have to scroll a few pages until the "Introduction". That starts here:

https://kenrockwell.com/canon/eos-r/r7.htm#intro

comment 3y ago · link · parent

Bard did, at least, put the first character of each line of the poem in alphabetical order. (Notice A-B-C-D-E.)

comment 3y ago · link · parent

"I just want to say one word to you. Just one word. Are you listening?"

"Yes, sir. Yes I am."

"Plastics."

comment 3y ago · link · parent

This movie holds up. I recently rewatched and really, really enjoyed it. (Some spoilers embedded in the below.)

One thing I love about the script is how the 4 main characters give us all the different angles on the genetic dystopia problem.

Vincent is genetically "inferior", but psychologically "determined" to overcome physical limitations. He has to use his mind and body to overcome his genetics.

Jerome is genetically "superior", but psychologically defeated due to his accident causing permanent physical limitations. He has to use his mind to compensate for his body, and he "lends" his genetics to Vincent, to make Vincent as capable in their society as he once was. Vincent helps Jerome finally achieve his own potential by the end, thus the final scene.

Anton is genetically "superior", but mentally and physically weak. His willpower atrophied as he was constantly told about his genetic superiority. In a way, he allowed his genetics to act almost like an inheritance that made him soft and unambitious. Through the flashbacks, we get the sense that he was always a little cocky about his genetic superiority. He was "born into success". But through adult Anton, we learn that all he has done with his genetics is to become a conformist in this dystopian society. A rule enforcer of the genetic state itself, not someone striving for any higher purpose. When Anton loses the swim match to Vincent, he lets him go on with his plan (not shown in the script or movie), presumably because Vincent has proven that genetics alone do not determine ability, shattering one of his core beliefs.

Finally, Irene. She is genetically "upper class", but not "superior". She illustrates the degree to which genetics had become a class marker, like wealth in our current society. She is genetically strong enough to join the space exploration program, but not strong enough to be an astronaut, perhaps only a scientist. (Her last name is Cassini.) She is just as driven by passion for humanity's potential as Vincent, and just as angry about the genetic lottery. That is why they connect as they do. But, in her case, she discovers -- through Vincent's display of willpower -- that her heart condition does not have to limit the life she can lead today. Irene represents society at large, discovering that living your life under the determinism of genetics (or any other limiting class & rule system) will cause you to live a smaller life than you otherwise could.

Vincent shows us what we can aspire to despite our imperfections, and Irene shows us how to come to terms with living a happy life despite our imperfections.

"Irene" has its origin in the Greek word for "peace" (coming to terms with life as it is). Whereas "Vincent" has its origin in the Latin word for "conquer" (fighting against life's limitations and winning).

comment 3y ago · link · parent

Not a book, but CS50x is a freely available course with high quality videos and lecture notes. The lecture exercises are programming projects of sorts. It teaches programming from scratch with C and then Python. Plus, since a lot of students take it, there are lots of online resources with tips, like the CS50 subreddit.

https://cs50.harvard.edu/x/2023/

comment 3y ago · link · parent

A nice visual version of this memento mori is Tim Urban's "Your Life in Weeks":

https://waitbutwhy.com/2014/05/life-weeks.html

After reading this, I used this nice online PDF generator to print out my personalized life calendar, and kept it in my home office with a pen nearby, checking off the passing weeks occasionally (every month or so).

https://www.ekn.io/calendar/

Spending some time to check off the first ~2k weeks -- checking a little box for each week of my life thus far -- was quite an emotional thing, actually.

comment 3y ago · link · parent

You are not considering the cost of graduate school and the opportunity cost of medical school + residency + fellowship (7-12 years), as well as malpractice insurance costs, long working hours, and on-call burden.

comment 3y ago · link · parent

This Wikipedia page will answer your question. It's specific to the US medical system:

https://en.wikipedia.org/wiki/Comparison_of_MD_and_DO_in_the...

comment 3y ago · link · parent

Most doctors aren't getting "absurdly rich" in medicine, at least not anymore, and certainly not by tech industry standards. (Source: I am a medspouse who works in tech outside of SV.)

Most of the money is going to private insurance companies and their non-med staff, as well as hospital administrators.

1
567
28