Thursday, March 23, 2023

Show HN: Dungeon Map Doodler Beta - Free online map drawing tool https://ift.tt/ncKf9ml

Show HN: Dungeon Map Doodler Beta - Free online map drawing tool This is a D&D map making tool I've been working on for a while now, but I just added some new features to the beta that I think HN users might find neat. When building a world map, you can use "Dynamic Brushes" to draw organic looking terrain. This is achieved entirely with svg filters and javascript canvas, no fancy libraries or anything. This came with a pretty large rewrite of some of the underlying code, so I'm sure there's a number of bugs I haven't come across, but I'd love to hear your opinions on it! https://ift.tt/fhqlK8b March 23, 2023 at 01:48AM

Show HN: Unscribbler – Simple Handwriting Reader https://ift.tt/YSTbMFc

Show HN: Unscribbler – Simple Handwriting Reader This is a handwriting-to-text converter! Just follow the instructions on the page and you're good to go :) Background: I've been tutoring on the side for a while and it's apparent that the whole process can be smoothed out, with the end goal being an AI tutor buddy with a stylus interface. This is a little step in that direction. As for implementation details, I forked excalidraw (at https://ift.tt/NBw90UI ), got a gcp free tier instance running, and scraped together a Google K8s Engine cluster serving with torchserve. Luckily there's a great deal on the public preview of c3 cpus at the moment. For the model, I'm using trocr-base-handwritten ( https://ift.tt/JWhc2Q0 ). Let me know if anyone has any ideas, suggestions, and/or tips! https://ift.tt/HERbikg March 22, 2023 at 10:51PM

Show HN: Zapier's first API https://ift.tt/dBwote9

Show HN: Zapier's first API Hey HN! We launched Zapier way back in 2012 on HN: https://ift.tt/354QRXg and thought we'd return home to announce something special and hopefully exciting :) We are trying to finally live up to the "API" in our name with Zapier's first universal API: Natural Language Actions – https://ift.tt/UnND31f API docs – https://ift.tt/m1qjAb4 (to be fair, we have published APIs before that can access Zapier data, but never before one devs can use to directly call the 5k+ apps / 20k+ actions on our platform) For example, you can use the API to: * Send messages in Slack * Retrieve a row in a Google Sheet * Draft a reply in Gmail * ... and thousands more actions with one universal API We optimized NLA for use cases that receive user input in natural language (think chatbots, assistants, or any product/feature using LLMs) -- but not strictly required! Folks have asked for an API for 10 years and I've always been slightly embarrassed we didn't have one. We hesitated because we did not want to pass along our universe of complexity to end devs. With the help of LLMs we found some cool patterns to deliver the API we always wanted. My co-founder/CTO Bryan did an interview with Garry on YC blog with more details: https://ift.tt/iCbZf4c... We also published a LangChain integration to show off some possibilities: * Demo: https://www.youtube.com/watch?v=EEK_9wLYEHU * Jupyter notebook: https://ift.tt/W2vNsQm We know the API is not perfect but we're excited and eager for feedback to help shape it. March 22, 2023 at 10:02PM

Wednesday, March 22, 2023

Show HN: Generate styled web pages with just Python https://ift.tt/OWkaCKr

Show HN: Generate styled web pages with just Python There are a lot of Python to web app frameworks going around these days but I wanted something that was a little more lightweight that just generates HTML pages and can be embedded in Flask or other Python web servers incrementally. PyVibe uses Python components to construct a page with styling that you can use in Flask, in a static site, or even in Pyodide. https://www.pyvibe.com/ March 22, 2023 at 06:11AM

Show HN: Cfnctl – Terraform CLI experience to AWS Cloudformation https://ift.tt/BhvPOnW

Show HN: Cfnctl – Terraform CLI experience to AWS Cloudformation https://ift.tt/hvOa5Tb March 22, 2023 at 03:53AM

Show HN: Google Bard vs. OpenAI ChatGPT: The dice problem part one https://ift.tt/QL12irB

Show HN: Google Bard vs. OpenAI ChatGPT: The dice problem part one https://ift.tt/s4fxHuZ March 22, 2023 at 02:55AM

A Decade of Rolling out the Red Carpet for Riders

A Decade of Rolling out the Red Carpet for Riders
By Cassie Halls

 A map showing the expansion of transit lanes in San Francisco from 2103 to 2023, as well as lanes that are coming soon. A summary of key highlights from the map is included in the following link.

An animated map showing the expansion of red transit lanes in San Francisco. View as a PDF. Accessible version of the expansion of red transit lanes: 

Red Transit Lanes Over Time in San Francisco from 2013 to 2023 

There is nothing quite like looking out the window at gridlock traffic while your bus coasts down a red transit lane. This may feel like an “only in San Francisco” pleasure – after all, San Francisco was one of the first U.S. cities to “roll out the red carpet” by painting bus lanes red. But red transit lanes have now become a popular way to keep buses out of traffic in more than 25 cities across the country. 

The SFMTA is celebrating a decade since the installation of San Francisco’s first red transit lane on Church Street on March 23, 2013. You can help us celebrate by riding that first red transit lane between Duboce and 16th Streets on Muni’s 22 Fillmore and J Church along with thousands of other weekday riders. As you whiz past traffic, you may feel the estimated 14% time savings afforded by the red color.  

If you drive, help us celebrate by keeping transit lanes clear. Remember, double parking in transit lanes is camera enforced. Transit lanes are an essential tool to keep Muni moving on San Francisco’s busy streets.  

Dedicated transit lanes started popping up in the city as early as the 1970s following the adoption of the city’s Transit-First Policy (which happens to be turning 50 this month). As of 2023, over 20 lane miles of transit lanes now also have the red treatment, in addition to 55 miles of transit and bus/HOV lanes without red paint.  

J Church using red transit lanes and picking up passengers on a boarding island on Church at Market Street.

J Church train using red transit lanes on Church at Market Street. 

Although often the most visible, transit lanes are one of more than 20 tools in our toolbox to improve transit reliability and reduce delays. With Muni Forward, we’ve built more than 80 miles of transit corridor reliability improvements to keep Muni moving — with upgrades like bus bulbs for faster boarding and traffic signals that stay green for transit.  

As an early adopter of red transit lanes, the SFMTA helped lay the groundwork to change federal guidelines to make it easier to paint lanes red. This is because red colorization has led to a 55% improvement in motorist compliance and is a cost-effective way to reduce delays. We have to say they’re looking great for their age! 

We know that despite our best efforts, Muni buses and trains are sometimes stuck in traffic and transit lanes are occasionally blocked. That is why we continue to innovate to bring improvements to our riders. Last year we colorized six miles of transit lanes in the Van Ness Improvement Project, Geary Boulevard Improvement Project, and along Mission Street in SoMa, 4th Street and Stockton Street. We also continue to install Muni Forward transit priority projects across the city and push for further compliance improvements through an education campaign for motorists. The SFMTA was also recently awarded a state grant to deploy new next-generation camera technology as a part of the transit lane enforcement program. 

Stay tuned for more red transit lanes and other reliability improvements in the year ahead.  



Published March 22, 2023 at 02:05AM
https://ift.tt/ex7qX5O

Show HN: Sharpe Ratio Calculation Tool https://ift.tt/VwEg1dG

Show HN: Sharpe Ratio Calculation Tool I built a simple but effective Sharpe Ratio calculator that gives the full historical variation of it...