Sam Cedarbaum

Results 17 comments of Sam Cedarbaum

Not a general solution, but I had a use case for only removing the Git prompt in my `$HOME` directory (since I have a repo there to backup config). Could...

I was thinking about a similar problem with large message histories. For my use case, I want to limit the conversation history to some fixed number (say the last 10...

Something that might work for now for both our cases is using the `setMessages` helper function to manually truncate the list and then calling `reload` (see: https://sdk.vercel.ai/docs/api-reference/use-chat#chat-helpers). I haven't tested...

Good points! I think changing the trip id format is definitely nicer from a REST perspective, but my concern is that it loses the 1-to-1 mapping with the source GTFS...

As a workaround, `remapProps(FlatList, {...})` can be used and this property can just be removed from remapping. However, I think the default behavior for this property should be to preserve...

One additional complication for this work is that multiple feeds may try to insert the same entity concurrently, violating unique key constraints. For example, both the `trip` and `vehicle` feed...

This sounds good to me, though I suppose we could also invert the option to be "opt in" to cover the subway vehicle case you mentioned (e.g., `persistEntityReferences` or something...

Awesome, just sent a PR for the feed config parsing change: https://github.com/jamespfennell/transiter/pull/123/files Also I think `updateTrips` still needs to be modified to ignore partial entities by default. If we're OK...

My intuition here is that some agencies would try to make service and trip IDs unique for each time period (this would need to be more thoroughly researched though). For...

Adding some additional info for handling GTFS schedule transitions for the MTA bus system: https://new.mta.info/developers/gtfs-schedules-transition