1,408 karma · joined Dec 31, 2012 (13y ago) · 383 submissions
Contacting me:
www.linkedin.com/in/mahoneymatthew
Alternatively, via email, contact mahoney dot mattj at gmail.
comment 4mo ago · link · parent
Relay’s (second) compiler was prototyped in OCaml, but we ended up switching to Rust for the main rewrite in the belief that we’d be able to use the same runtime code across iOS, Android and JS environments.
Please somebody make a good OCaml GraphQL compiler, server, and client.
comment 4mo ago · link · parent
The moment you interact with an LLM it gives you feedback that you’re doing things right. It feels like a gradual climb instead of a series of abrupt jumps. People really don’t like feeling like they don’t know what they’re doing, and the terminal constantly reminds you that you are making mistakes.
comment 11mo ago · link · parent
Once you start using JNI or Objective-C++ to hand off “computationally expensive” work to common C++ (now Rust) libraries, you end up needing to become an expert across a lot of areas.
If 95% of your competitive advantage lies in doing things everywhere with low memory, then taking on an additional 2-3 stacks (SwiftUI + React + Compose) as well as all the bindings and build system and etc overhead can be pretty gnarly.
If 95% of your value add is in your web-based UI, consolidating to a single JS stack of React + React Native + Node can greatly reduce your idea-to-market time, I’d imagine a full Rust stack could do the same if your value add requires maximum performance and only a little UI iteration.
comment 1y ago · link · parent
I’m not saying the US isn’t profligate in other areas like appliances or taking longer showers, but in most the country there’s so much land, such cheap water and very little regulation preventing you from using however much water that you want. Some of the land even comes with a guaranteed quantity of water for irrigation guaranteed, at little to no cost.
comment 1y ago · link · parent
Bring in a performance expert and their intuition can quickly identify many performance improvements. The tough part for the business is when and where do you pay for the experience of performant code, and when is good enough to leave alone?
comment 1y ago · link · parent
The answer being unclear means it makes sense to treat them, from a regulatory standpoint, closer to asbestos. It also makes sense to treat them as an unknowable and not regulate, because any alternative might be worse.
But it does point to there being a dearth in research and answers, and we should solve that as quickly as possible and maybe limit our exposure when viable, known to be non-toxic alternatives exist.
comment 2y ago · link · parent
As a bonus having more neighbors means things like grocery stores within walking distance become good businesses, so you need a car dramatically less and less space needs to be taken up by parking lots.
comment 2y ago · link · parent
There may be something cultural that caused such a shift, like a change in how math or reading is taught (or even that it’s nearly universally taught, which changes how we think and speak because now a sizeable chunk of the population thinks in visually written words rather than sounds).
comment 2y ago · link · parent
How much are you willing to spend to reduce the downside risk, and how many “good” experiments are you willing to throw away in the process?
comment 2y ago · link · parent
Taxing the land value means there’s no incentive to own land that won’t be productive. The city or municipality can guarantee land it owns can have natural growth on it, whereas when private individuals own it the state can’t really stop the land from transforming into a parking lot.
As to how to value the land: the market decides. What is the price for the land, if you took away all existing improvements on the land itself? There is usually enough vacant similar land around where this is pretty easy to figure out.
The government can charge for services like upgraded electricity and keep the land value low, or they can bring the electricity to the land and count “lots of electricity available” as part of the value of the unimproved land.
comment 2y ago · link · parent
Even if there were an “oversupply”, if someone could build new apartment buildings at 50% the cost with larger, safer, more comfortable units than most apartments nearby, it would drive rents down for existing buildings while still allowing the developer to make a profit. We should be enabling these opportunities as much as possible.
comment 2y ago · link · parent
My point is exactly that the ADA, in this case, lets the perfect (fully accessible elevator) result in worse outcomes (brand new apartments in 3-5 story buildings require walking up stairs). This is especially harmful in cities where many homes are on small, 12-20 ft wide lots.
As an example I know people who had to move out of their home when they tore their ACL, whereas with a small elevator they would not need to. To be clear I think we need many many more ADA-accessible apartments, but wherever you are allowed to not have an elevator at all, you should also be allowed to have a small 1-2 person elevator in addition to the stairs.
comment 2y ago · link · parent
In Spain and France you’ll find single staircase, 4 story buildings that have one meter-by-meter sized elevator. Often even as retrofits in older buildings! In NY you’ll find these too, but they’re only in pre-war (1930s and older) buildings. It would make many apartments much more accessible and desirable to live in if we could drive down the cost of elevator installations for smaller buildings.
comment 2y ago · link · parent
Building new housing in the US is not cheap, and reducing the leasable or buyable square footage by 10% can move projects from being profitable to build to not. Especially when the quality of the remaining square footage goes down (as it does when you have 30’ deep units with only one wall with windows).
comment 3y ago · link · parent
An electrified train running on nuclear or wind supplied power basically can’t be beat for low-environmental-impact long distance travel. And even for non-electric trains, diesel trains with a mere 23 people per car have a BTU per passenger mile of 2,000, compared to a typical 30mpg car’s 4,000 BTU per mile.
And even if it’s not yet electric, buying the right of way and building the rail lines is better preparation for that future all-electric world. Plus the more trains exist, the more full they’ll typically be, and the better we’ll get at making them more efficient.
comment 3y ago · link · parent
The status quo is really bad and we are doing a terrible job of making them safer for anyone besides the occupants of the vehicle causing a collision. So yeah, we should really focus on pushing technology that can reduce the danger of distractable drivers. That mostly should mean investing in public transit, walkability and speed-limited small vehicles like bikes or golf carts. But the bar for driverless cars is basically: do they speed? Do they drive on sidewalks? Do they kill a few people a day? No? Then they’re better than the status quo, because the status quo is awful.
comment 3y ago · link · parent
I want millionaires to be using government aid to help their children: just like with free education, when everyone who needs help uses it, the richer parents will demand, and ensure we pay for, higher quality for all. Everyone who is currently able to can all just pay a bit more in taxes to cover everyone’s accessibility and aid needs. I don’t want it to be possible for a child’s needs not to be met just because the state thinks the child’s family has too much money.
Aid services should be treated like sidewalks and fire departments: almost everyone is going to need them at some point, why would you want to make it difficult to access?
comment 3y ago · link · parent
Whereas if I was in a car I could turn left from the 3-hotels’ lot into the lot where the shuttle is stopping in under 1/4 mile. It’s absurd when you can drive for 1/4 mile or walk for 2.
comment 3y ago · link · parent
This becomes really obvious when you look at where cities like Kansas City receive the most taxes vs where they spend the most: suburbs cost Kansas City huge amounts of money that the inner walkable city neighborhoods subsidize, despite the per-capita tax returns being lower in the more dense neighborhoods.
comment 3y ago · link · parent
You can sort of kind of get close to 1-2 minutes of slack if you have an app telling you how far away the subway is (CityMapper has this feature), but you can’t really time your sleep or known work hours for making a specific subway.
comment 3y ago · link · parent
- what the type of res is (is it a string? A buffer? Async string? Something else?)
- how this code does not block: what is happening in parallel? At which point will it block?
I would like to be excited about OCaml’s algebraic effects, but right now I don’t really get it.
comment 3y ago · link · parent
I don’t know that pricing insurance based on the actual cost of the potential external harm can really be considered a tax increase.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
It’s not really the crime that matters, at the core, but rather the perception of “other”. The single-issue anti-housing people don’t want police in their neighborhoods, they want police in other people’s neighborhoods keeping those people out of the “nice” neighborhoods.
Sadly, most people do in fact want more housing for people who are less well off than them, even if it means they have to run shoulders with strangers. But these are the people who work and don’t have time to show up to community meetings about a new apartment going up, and don’t usually decide who to vote for based on neighborhood aesthetics.
Because the problem is mostly political, most of the solution is political as well: identify, train and support local politicians who will vote to build more housing, and help them write new laws that do so. And convince them (by consistently winning at the ballot box) that the anti-housing crowd is loud but not actually large, so there’s little danger in losing their votes.