Saturday, April 29, 2023

Show HN: ChatGPT Plugin that semantically searches Google Maps https://ift.tt/f034Rru

Show HN: ChatGPT Plugin that semantically searches Google Maps https://ift.tt/ONUnbB1 April 29, 2023 at 01:05AM

Show HN: Use Terraform Modules in Pulumi https://ift.tt/fZyUtgh

Show HN: Use Terraform Modules in Pulumi Use your battle-tested or 3rd party Terraform modules directly in your Pulumi workflow. https://ift.tt/DLsyvAB April 27, 2023 at 01:48PM

Muni Metro Fix-It Week Maintains the Subway Infrastructure

Muni Metro Fix-It Week Maintains the Subway Infrastructure
By Jessie Liang

Several crew in safety gear standing over a rail track with tools angled in hand.

Track crew removing old rail at the Van Ness crossover 

The first Muni Metro Fix-It Week of 2023 was a resounding success in March, and it’s also the first Fix-It Week since the SFMTA launched the Central Subway in early January of this year. Here is a behind-the-scenes video recap. Fix-It Week is the SFMTA’s quarterly effort to optimize work time by closing Muni Metro early for critical maintenance. The SFMTA’s Maintenance of Way (MOW) teams did an excellent job maintaining the subway and preventing future breakdowns. 

Fix-It Week helps the Muni Metro get a 20% improvement in speed and about a 20% improvement in reliability in the subway. It takes fewer minutes to take the N Judah from the Outer Sunset to Embarcadero now than it did in 2019. 

 From March 16 to March 22, 2023, the Muni Metro Subway between Embarcadero and West Portal closed at 9:30 p.m. to provide SFMTA maintenance crews an extended window to perform underground infrastructure improvement work that cannot be completed during the usual overnight windows. During the subway closure, buses provided substitute service for Muni Metro lines on the surface and connected all stops on Market Street.   

Crew member on the back of a truck spraying water along the side of the tunnel wall. There is a map on the right side and a advertisement board on the left of a woman with sunglasses smiling.

Track crew powerwashing station walls

The goal of Fix-It Week is to make Muni metro subway operations more reliable, ensure safety, and improve the customer experience. Nine MOW teams, Track, Cable Car, Motive Power, Maintenance Engineering, Mechanical Systems, Overhead Lines, Underground, Paint Shop and Signal, were involved in the maintenance work. 

Major maintenance work includes: 

  • Track replacement and reinstallation from the Ferry Portal to the Van Ness Crossover 
  • Mechanical systems cleaning, maintenance and installation  
  • Signal repairs and upgrades, including the demolition of old train control system racks, equipment and wiring 
  •  Track fastener and subway lighting surveys, and drain cleaning around switches  
  • Overhead Line inspections and Overhead Section Break hardware adjustments 
  • Debris removal and traction power substation inspections 
  • Cable Car maintenance and repairs 

Several crew seen cleaning the ground in a station with a variety of posters and lights on the wall.

Custodial staff cleaning Church Station

The SFMTA teams completed over 2,000 hours of maintenance and inspections over the seven night shutdown. They were able to perform 161 feeder operations, replace more than 125 bulbs for trackway lighting in multiple locations, renew 750 feet of Overhead Contact System contact wire, replace eight blue light phones and inspect approximately 8,000 track fastener plates from the Ferry Portal to Powell Station. 

Several crew on spraying water on the tracks alongside a truck.

Track crew powerwashing and removing trash from trackway 

A support team was also contributed to the success of Fix-It Week. These staffers helped coordinate maintenance work, upheld all safety standards and ensured that subway service resumed on time every day. 

The SFMTA will continue to keep the Muni Metro system in a state of good repair. The next Fix-It Week is scheduled for July 2023, and we thank you for your patience and understanding while we do this vital work.  

For more information, visit Muni Metro Maintenance Project (SFMTA.com/SubwayMaintenance).  

Nearly a dozen crew in safety gear all standing on each side of rail track. They are holding the track.

Track crew moving new rail into position by hand at the Van Ness Crossover 



Published April 28, 2023 at 11:47PM
https://ift.tt/05SNWjD

Friday, April 28, 2023

Show HN: Pledge Your Human-Made Content https://ift.tt/EluGHwv

Show HN: Pledge Your Human-Made Content AI generated content is on the rise. How can you be sure what you're reading is 100% human? https://nonbot.org April 28, 2023 at 07:17PM

Show HN: Jarvis AI – Text, iMessage, and Email ChatGPT https://ift.tt/5J4Qf0x

Show HN: Jarvis AI – Text, iMessage, and Email ChatGPT We're back with another ShowHN! When we launched, you could text Jarvis AI using regular SMS messages from your phone. Since launching 3 weeks ago[1], we've introduced two new channels for using ChatGPT. Now you can use ChatGPT over SMS text message, iMessage for Apple-enabled devices, and via Email. It is super interesting to forward an email to Jarvis AI and see its thoughts on your email thread. It can help you brainstorm or it can suggest a reply to previous emails. 10 messages free forever, more volume is free over iMessage and Email for a limited time (until the HN hug of death!). You don't have to sign up or anything to try it. Just send a text to: +1 (855) 676-1two89. Thanks for checking this out. Many exciting features are coming soon to make this more than just a different interface to ChatGPT. We want to make AI accessible to more people, over more channels, with more useful things for your day-to-day. For medical professionals, we added the /diagnose command. Ask Jarvis "/diagnose 32 year old harsh cough" for example. Soon, we are adding features like /invoice for generating invoices and /remember for notes and reminders. [1] Related: See the first HN post when we launched here: https://ift.tt/2uPWvJF https://jarvis.tel April 28, 2023 at 06:06PM

Show HN: Code-Narrator: Automating Documentation with GPT-4 https://ift.tt/yTzDcMb

Show HN: Code-Narrator: Automating Documentation with GPT-4 As a solo developer on a sizeable project, I found myself facing the challenge of creating documentation, a task I admittedly do not enjoy. Fortunately, ChatGPT arrived just in time. After experimenting with it, I discovered that it generates high-quality documentation for code files, even better than what I could produce manually. This realization led me to develop Code-Narrator, a client that simplifies the documentation process. Code-Narrator ( https://ift.tt/6nbqjS9 ) utilizes GPT-4 to analyze your code files and automatically generate documentation. The tool is language-agnostic and has been tested with TypeScript, GraphQL, Solidity, C#, Kotlin, and more. As long as the files are in plain text, Code-Narrator should work seamlessly. The primary goal of Code-Narrator is to ease the documentation process for developers, transforming them from writers to editors. While developers are still responsible for verifying the accuracy of the generated documentation, the initial writing is handled by the AI. If GPT-4 produces incorrect documentation, it typically indicates that the code needs clarification, or a brief comment should be added to guide the AI. A general rule of thumb is that if GPT-4 cannot comprehend the code, it may be too complex for the next developer. However, Code-Narrator is constrained by GPT-4's 8192-token limit, which can be problematic for extensive code files. Those with access to the gpt-4-32k variant should expect better results. Upon its first run, Code-Narrator creates a configuration file by analyzing your project, and then prompts you to review it for accuracy. The key configuration aspects include the "include," "config_files," and "source_path" settings. In its second run, Code-Narrator generates documentation for your entire project. The process is time-consuming, taking approximately 45 minutes to complete from scratch. However, the tool is: - Flexible, allowing for the creation of custom pages such as How-To guides, tutorials, FAQs, READMEs, and other bespoke content. - Multilingual, supporting 25+ languages (as many as GPT-4 supports). - Versatile, capable of generating documentation in various formats (LaTeX, HTML, with the default being Markdown). For a demonstration on transforming a few lines into a How-To guide, watch this video: https://www.youtube.com/watch?v=uJtVCUOTkvw . Remember that brevity is key, as the more concise the input, the more GPT-4 can contribute. Code-Narrator also supports custom plugins, with tutorials available at https://ift.tt/TuoNQHO... . In terms of size and cost, Code-Narrator consists of 45 files and 1712 lines of code. The total cost of generating documentation for the entire project is approximately $2.5, a significant savings compared to manual documentation. During the development of Code-Narrator, I noticed several benefits: - Improved function naming: Reading the generated documentation led me to revise vague or overly general function names, resulting in better code and documentation. - Concise input: Focusing on reducing the size of the input file (liquid) became a fun challenge, helping to optimize the process. - Enjoyable interaction: Working with ChatGPT proved more enjoyable than manually writing documentation, and the more I experimented, the better the results. - Minimal input for tutorials: I was pleasantly surprised by how little input was required to create How-To guides and tutorials using GPT-4. - Encouragement to refactor: The 8K token limitation may be restrictive, but it also encourages developers to refactor their code for improved readability and structure. As a prototype and proof of concept, Code-Narrator has some limitations. I'm excited to see where Code-Narrator goes from here, and your feedback is invaluable. Thank you for taking the time to explore this project! https://ift.tt/6nbqjS9 April 28, 2023 at 03:49PM

Show HN: ScrapScript – A tiny functional language for sharable software https://ift.tt/Mr5DOfZ

Show HN: ScrapScript – A tiny functional language for sharable software Hi friends, I started casually working on scrapscript in 2015. I built a few compilers over the years to test out various ideas/implementations, and I think I'm finally happy with the overall design. The code is not public yet. Email me at hello@taylor.town if you're interested in joining the core team later this year. Let me know if you have any questions or feedback :) https://scrapscript.org April 26, 2023 at 05:15PM

Show HN: A lightweight ML model to predict music emotion - energy, valence, etc. https://ift.tt/vLyhZbR

Show HN: A lightweight ML model to predict music emotion - energy, valence, etc. Spotify has 7 features for each of their music tracks (acou...