HNHacker News
TopNewBestAskShowJobs

lachenmayer

342 karma · joined February 7, 2011

https://lachenmayer.me
submissionscomments
lachenmayer··on Result is all I need
Stick your services into the type too, and you have `Effect`[0], the ultimate monad :)

[0]: https://effect.website/

lachenmayer··on Reinventing Core Data Development with SwiftData Principles
I don't see SwiftUI as a "dumbed-down children's toy box" at all -- SwiftUI is excellent conceptually. I am just frustrated that the "SwiftUI standard library" that Apple ships with it is so rudimentary, as if we didn't already have over a decade of prior art of how to implement declarative APIs for basic components.

The worst offenders by far are the scroll & list views, which are basically useless. As a starting point, there is no way to get the current scroll position from a scroll view in iOS <18.

So yes, I often have to wrap the UIKit components myself, and deal with all the joys of UIKit I was hoping to finally avoid...

Apple did exactly the right thing with Swift itself: the Swift forums are excellent, and it's clear that Apple employees use these to prioritize the (very real) Swift bugs and limitations. Why does this not exist for SwiftUI?

lachenmayer··on Reinventing Core Data Development with SwiftData Principles
What's incredibly annoying is that a lot of the SwiftUI components are just wrappers around the equivalent UIKit components (eg. ScrollView/UIScrollView), but are missing a lot of the functionality of the underlying components.

These should really be open source: it's such a waste of time to have to experimentally poke around to see how the SwiftUI components interact with their UIKit counterparts, when these should really just be straightforward wrappers.

In many cases, the declarative APIs are just poorly thought out and/or clearly not "battle tested", and there is a lot of API churn in really crucial components which are also often not backported to older OS versions.

lachenmayer··on Ask HN: What's the name of this concept related to surveillance
Maybe ¯\_(ツ)_/¯? I have no affiliation to OP, feels like they just wanted to try out a human version of ChatGPT, strange as that may sound these days…
lachenmayer··on Ask HN: What's the name of this concept related to surveillance
https://www.socialcooling.com/
lachenmayer··on Functional programming jargon in plain English
That would be an extremely good thing to explain in the introduction. I feel like this kind of very culturally-specific usage of everyday words is what makes math/CS papers so impenetrable for many people.

The word "easy" is another example: saying "it is easy to show X" (just?) means that X can be derived from the already stated theorems in a more-or-less mechanical way without having to introduce new concepts. It does not in any way suggest that deriving this will be "easy" for a student reading the paper.

(Of course the most challenging "easy" parts are best left as an exercise for the reader anyway...)

lachenmayer··on Fish Shell 3.5.0
I always recommend fish to anyone who doesn't (yet!) have strong opinions about their shell.

Immediately seeing if you misspelled a command because the color changes is a huge benefit if you're not super familiar with the command line.

The auto-complete and suggestions are also miles better than bash - they are automatically generated from man pages, so most commands have a usable set of completions.

The web-based config lets you easily tweak settings that would otherwise be an incomprehensible soup of PS1=3!@*(!@!@ gobbledygook.

Also, it mostly "just works" out of the box, so you really don't have to waste any time setting anything up if you don't really care.

lachenmayer··on Ask HN: How do you sync your computer’s development configurations/environment?
As many others have mentioned, dotfiles in a git repo (https://github.com/lachenmayer/dotfiles), mainly for having unified shell themes/aliases/etc. on all machines I use.
lachenmayer··on Pull Request File Tree Feedback
This is by far the most infuriating thing about the PR UI, along with the fact that you can't comment anywhere outside of the "patch", meaning you can't point out anything that is more than a couple of lines away.
lachenmayer··on Flutter is the most popular cross-platform mobile SDK
Flutter suffers on iOS because it completely takes over the render surface (ie. it renders everything using Skia), and doesn't offer any escape hatches for native components. In a way, this is an amazing approach: it completely sidesteps a lot of the platform-specific woes that plague React Native, and makes it much easier to support completely new platforms (ie. if you can get Skia to run on it, it can probably run Flutter).

But particularly on iOS, the native components have some incredibly subtle behavior (eg. the "fling" gestures from UIPageViewController, the native modal animations, overscroll, etc.), and these are extremely difficult to get right.

React Native's story for native inter-op has recently become miles better with JSI, which allows native<->JS FFI at much better performance than the previous approach. This has enabled libraries like Reanimated 2 (https://www.reanimated2.com/) and Gesture Handler 2, which take full advantage of this and get React Native apps tantalizingly close to "truly native"-feeling.

lachenmayer··on A database of broken things to identify common failure modes and how to fix them
Love this idea. I could imagine this being a great way to alert people to product recalls, or even start class action lawsuits in extremely serious cases.
lachenmayer··on Ask HN: Who is hiring? (November 2021)
Picnic | Senior Software Engineer | London, UK | ONSITE or REMOTE | Full time or contract

Keywords: React Native, TypeScript, RxJS, MobX, Node.js, PostgreSQL, Redis, SQLite, CQRS

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We're looking to hire somebody who is comfortable working as a key part of a small team, with experience of having shipped consumer-facing mobile apps. The Senior in our job title does not refer to how many years of experience you have (or your degree!), but to your general approach to development: you are able to think about the system and architecture as a whole, know enough about all aspects of the stack to effectively diagnose issues, and are able to pass your knowledge onto other members of the team.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Software-Engineer-c8...

lachenmayer··on Ask HN: Who is hiring? (October 2021)
Picnic | Senior Software Engineer | London, UK | ONSITE or REMOTE | Full time or contract

Keywords: React Native, TypeScript, RxJS, MobX, Node.js, PostgreSQL, Redis, SQLite, CQRS

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We're looking to hire somebody who is comfortable working as a key part of a small team, with experience of having shipped consumer-facing mobile apps. The _Senior_ in our job title does not refer to how many years of experience you have (or your degree!), but to your general approach to development: you are able to think about the system and architecture as a whole, know enough about all aspects of the stack to effectively diagnose issues, and are able to pass your knowledge onto other members of the team.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Software-Engineer-c8...

lachenmayer··on Ask HN: Who is hiring? (September 2021)
Picnic | Senior Software Engineer | London, UK | ONSITE or REMOTE | Full time or contract

Keywords: React Native, TypeScript, RxJS, MobX, Node.js, PostgreSQL, Redis, SQLite, CQRS

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We're looking to hire somebody who is comfortable working as a key part of a small team, with experience of having shipped consumer-facing mobile apps. The Senior in our job title does not refer to how many years of experience you have (or your degree!), but to your general approach to development: you are able to think about the system and architecture as a whole, know enough about all aspects of the stack to effectively diagnose issues, and are able to pass your knowledge onto other members of the team.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Software-Engineer-c8...

lachenmayer··on Ask HN: Who is hiring? (August 2021)
Picnic | Senior Software Engineer | London, UK | ONSITE or REMOTE | Full time or contract

Keywords: React Native, TypeScript, RxJS, MobX, Node.js, PostgreSQL, Redis, SQLite, CQRS

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We're looking to hire somebody who is comfortable working as a key part of a small team, with experience of having shipped consumer-facing mobile apps. The Senior in our job title does not refer to how many years of experience you have (or your degree!), but to your general approach to development: you are able to think about the system and architecture as a whole, know enough about all aspects of the stack to effectively diagnose issues, and are able to pass your knowledge onto other members of the team.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Software-Engineer-c8...

lachenmayer··on Ask HN: Who is hiring? (July 2021)
Picnic | Senior Mobile Engineer [iOS / Android / React Native] | London, UK | ONSITE or REMOTE | Full time or contract

Keywords: React Native, TypeScript, RxJS, MobX, Node.js, PostgreSQL, Redis, SQLite, CQRS

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We've been using React Native from day one, and while it has gotten us very far very quickly, we're starting to hit some of the roadblocks that should be familiar to anyone who has worked with React Native. We're now looking to hire someone who has a deep understanding of the underlying platforms (iOS and Android), to help us implement native components where performance and user experience matter most.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Mobile-Engineer-c893...

lachenmayer··on Ask HN: Who is hiring? (May 2021)
Picnic | Senior Mobile Engineer [iOS / Android / React Native] | London, UK | ONSITE or REMOTE | Full time or contract

Picnic is a new group chat app, built for close friends (https://picnic.chat).

Group chats matter, and they matter more than you might think. For billions of people, they've come to play a vital role in our most important relationships: the space online where our real friendships live. We believe the one-size-fits-all, functional apps where our group chats live today could be so much more. That's why we are on a mission to build a better home for people's favourite group chats: one that is more joyful, more intentional and more ethical.

It's an exceptionally good time to be joining our small but mighty founding team of top engineers from Facebook, Apple, Google and more. We are fresh from raising a £2.1m Seed round led by top tier VCs (announcement coming soon) and are backed by the likes of Robin Dunbar (the man behind Dunbar's number), Snapchat's 1st Engineer and many more world class operators.

We've been using React Native from day one, and while it has gotten us very far very quickly, we're starting to hit some of the roadblocks that should be familiar to anyone who has worked with React Native. We're now looking to hire someone who has a deep understanding of the underlying platforms (iOS and Android), to help us implement native components where performance and user experience matter most.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Mobile-Engineer-c893...

lachenmayer··on What Is Applied Category Theory? (2018)
The Graphical Linear Algebra[0] series is a fantastic introduction to a really fascinating application of category theory, representing vectors & matrices as flow diagrams (ie. monoidal categories) and deriving useful properties from those.

The style is super friendly and builds up intuition slowly, while being completely rigorous. For a great example, check out the "Crema di Mascarpone"[1] chapter which introduces all the tools for writing rigorous mathematical proofs using flow diagrams.

[0]: https://graphicallinearalgebra.net/

[1]: https://graphicallinearalgebra.net/2015/05/06/crema-di-masca...

lachenmayer··on Rome in 3D
They already do this, it's called "Discovery Mode" and is specifically aimed at education. See this trailer: https://www.youtube.com/watch?v=_yMDdQKfv70

It's also available as a stand-alone if you don't already own the game: https://store.ubi.com/upc/discovery-tour-by-assassin-s-creed...

lachenmayer··on Ask HN: Who is hiring? (November 2020)
Picnic | Senior Mobile Engineer [iOS / Android / React Native] | London, UK | ONSITE or REMOTE | Full time or contract

Picnic is group chat built for close friends. (https://picnic.chat)

When it comes to our most precious relationships, we believe that today's messaging apps are doing the bare minimum to bring us closer together. That's why we're building a 10X more rewarding group chat experience.

We are a small team based out of London (UK) on a mission to make the world better friends. On the back of a successful beta launch of our flagship app, we just this month closed a £2m Seed round from some of the world's top VCs (not yet publicly announced). Our founding team includes engineers from Google, Monzo and Skyscanner while our advisory board includes the originator of Dunbar's number, Snapchat's 1st Engineer, Bumble's Chief Brand Officer and many more.

We've been using React Native from day one, and while it has gotten us very far very quickly, we're starting to hit some of the roadblocks that should be familiar to anyone who has worked with React Native. We're now looking to hire someone who has a deep understanding of the underlying platforms (iOS and Android), to help us implement native components where performance and user experience matter most.

If this sounds like your kind of thing, read more about who we are, what we're doing & how you might fit in here: https://www.notion.so/teampicnic/Senior-Mobile-Engineer-iOS-...

lachenmayer··on Ask HN: Who is hiring? (June 2020)
Picnic | Software Engineer [React Native / Node.js] | London, UK | ONSITE or REMOTE | Full time or contract

Picnic is a supercharged group chat app, built for friends. (https://picnic.chat)

Today's messaging apps are doing the bare minimum for friendship. At Picnic, we believe there is huge untapped potential. We are building a 10X better way to spend 'in-between time' with friends, based on the science of friendship.

We are a small team with excellent experience in consumer social based out of London, UK (currently working remotely due to COVID-19). With backing from leading social health experts (including the originator of Dunbar's number) and a host of world class advisors and investors (1st Engineer at Snapchat, TikTok Head of Comms, Chief Brand Officer at Bumble), we are on a mission to make the world better friends.

We are looking for full-stack developers who love creating products that people want to use. You understand that apps—and code—are for people, not for computers, and always strive to make our app and codebase more understandable and easy to use. You'll be helping to build an app using the latest best practices targeting the iOS, Android, and the web. We're using TypeScript across the stack, React with MobX client-side, an event-sourced architecture using PostgreSQL and Redis server-side, and GraphQL for type-safe communication between the two. We've written a detailed summary of our stack and workflow in the document linked below, so that you can get a quick overview of whether working with us could excite you.

We've taken care to make our hiring process as transparent and stress-free as possible. We won't do any whiteboard / algorithm tests, and you'll be paid for any take-home test we ask you to complete. We aim to give honest feedback after any interview, so that the process is not a waste of time for you even if the role is not a fit for you for whatever reason.

We are looking to hire this person to start July 6th 2020. To apply, simply take a look at the process outlined here: https://www.notion.so/teampicnic/Software-Engineer-React-Nat...

lachenmayer··on Ladder of Algebraic Structures
This is a really cool presentation where the authors "step up the ladder" to design a really elegant API for animations as semirings (where * is used to sequence animations, and + for animations running in parallel), and then go on to implement it in Swift: https://bkase.github.io/slides/algebra-driven-design/
lachenmayer··on Jitsi Meet features update
You're assuming that network latency is the only latency that's involved here, but a huge latency source is the audio codec. Opus adds ~20ms latency, and that's the most low latency codec that's widely supported at the moment. You can see a comparison here: https://www.opus-codec.org/comparison/

There are all sorts of other latency that need to be taken into consideration too, and unfortunately in practice those do add up to live music being unplayable on pretty much any network.

There's a really interesting project called NINJAM https://www.cockos.com/ninjam/ which is designed for live music jam sessions. It flips this fundamental constraint on its head - instead of being real-time, it streams everyone else's output delayed by one bar (theoretically any interval >RTT I guess?). I haven't tried it, but it's a really cool idea.

lachenmayer··on Ask HN: Who is hiring? (March 2020)
Picnic | Full-Stack Developer [React Native / Node.js] | London, UK | ONSITE or REMOTE | Full time or contract

Picnic is a digital home for your friendships. Friends make our lives happier, our minds healthier, and our decisions better (at least most of the time). Built on group chat, Picnic combines technology and science to ensure your most important relationships stay strong, online and offline. We're a tiny team based out of East London (London Fields to be exact!).

We are looking for full-stack developers who love creating products that people want to use. You understand that apps—and code—are for people, not for computers, and always strive to make our app and codebase more understandable and easy to use. You'll be helping to build an app using the latest best practices targeting the web, iOS and Android. We're using TypeScript across the stack, React with hooks client-side, an event-sourced architecture using PostgreSQL and Redis server-side, and GraphQL for type-safe communication between the two.

We've taken care to make our hiring process as transparent and stress-free as possible. We won't do any whiteboard / algorithm tests, and you'll be paid for any take-home test we ask you to complete. We aim to give honest feedback after any interview, so that the process is not a waste of time for you even if the role is not a fit for you for whatever reason.

To apply, simply take a look at the process outlined here: https://www.notion.so/teampicnic/Full-Stack-Developer-React-...

lachenmayer··on Ask HN: Who is hiring? (February 2020)
Picnic | Full-Stack Developer [React Native / Node.js] | London, UK | ONSITE | Full time or contract

Picnic is a digital home for your friendships. Friends make our lives happier, our minds healthier, and our decisions better (at least most of the time). Built on group chat, Picnic combines technology and science to ensure your most important relationships stay strong, online and offline. We're a tiny team based out of East London (London Fields to be exact!).

We are looking for full-stack developers who love creating products that people want to use. You understand that apps—and code—are for people, not for computers, and always strive to make our app and codebase more understandable and easy to use. You'll be helping to build an app using the latest best practices targeting the web, iOS and Android. We're using TypeScript across the stack, React with hooks client-side, an event-sourced architecture using PostgreSQL and Redis server-side, and GraphQL for type-safe communication between the two.

We've taken care to make our hiring process as transparent and stress-free as possible. We won't do any whiteboard / algorithm tests, and you'll be paid for any take-home test we ask you to complete. We aim to give honest feedback after any interview, so that the process is not a waste of time for you even if the role is not a fit for you for whatever reason.

To apply, simply take a look at the process outlined here: https://www.notion.so/teampicnic/Full-Stack-Developer-React-...

lachenmayer··on Ask HN: Who is hiring? (January 2020)
Picnic | Full-Stack Developer [React Native / Node.js] | London, UK | ONSITE | Full time or contract

Picnic is a digital home for your friendships. Friends make our lives happier, our minds healthier, and our decisions better (at least most of the time). Built on group chat, Picnic combines technology and science to ensure your most important relationships stay strong, online and offline. We're a tiny team based out of East London (London Fields to be exact!).

We are looking for full-stack developers who love creating products that people want to use. You understand that apps—and code—are for people, not for computers, and always strive to make our app and codebase more understandable and easy to use. You'll be helping to build an app using the latest best practices targeting the web, iOS and Android. We're using TypeScript across the stack, React with hooks client-side, an event-sourced architecture using PostgreSQL and Redis server-side, and GraphQL for type-safe communication between the two.

We've taken care to make our hiring process as transparent and stress-free as possible. We won't do any whiteboard / algorithm tests, and you'll be paid for any take-home test we ask you to complete. We aim to give honest feedback after any interview, so that the process is not a waste of time for you even if the role is not a fit for you for whatever reason.

To apply, simply take a look at the process outlined here: https://www.notion.so/Full-Stack-Developer-React-Native-Node...

lachenmayer··on Small world with high risks: a study of security threats in the NPM ecosystem
In the React Native ecosystem, the Expo project https://expo.io is doing a great job at providing this kind of centralized curation, with monthly release cycles, constistent APIs and dealing with the version hell that makes "raw" React Native such a pain to work with.
lachenmayer··on Small world with high risks: a study of security threats in the NPM ecosystem
The creator of Node is currently working on a runtime to enable exactly that: https://deno.land
lachenmayer··on Ask HN: Who is hiring? (August 2019)
Picnic | React Native Developer | London | Onsite | Full time or contract

We're a tiny, but well-backed, team trying to build an alternative to the ad-funded social media platforms of today, by prioritising face-to-face time over screen time. Between us we've previously founded consumer tech businesses, led product teams, run a micro-VC and even launched a (secret) music career.

We are looking for React & React Native developers who love creating products that people want to use. You understand that apps—and code—are for people, not for computers, and always strive to make our app and codebase more understandable and easy to use.

You'll be helping to build an app using the latest best practices targeting the web, iOS and Android. We're using TypeScript across the stack, React with hooks client-side, an event-sourced architecture using PostgreSQL and Redis server-side, and GraphQL for type-safe communication between the two.

We've taken care to make our hiring process as transparent and stress-free as possible. We won't do any whiteboard / algorithm interviews, and you'll be paid for any take-home test we ask you to complete. We aim to give honest feedback after any interview, so that the process is not a waste of time for you even if the role is not a fit for you for whatever reason.

To apply, or to find out more about the role and our hiring process, check out https://www.notion.so/React-Native-Developer-16c3336b77754d2...

lachenmayer··on TypeScript 3.4
Generally that depends on how many 'strict' compiler options you enable -- and whether you consider legitimate type errors a reasonable reason to not 'just run' your code :)

An example would be that classes that don't explicitly declare their fields will throw a type error when their fields are mutated (eg. `this.foo = 123`).

Page 1 of 4Next →