Hacker News
Xzbot: Notes, honeypot, and exploit demo for the xz backdoor (CVE-2024-3094)
Article URL: https://github.com/amlweems/xzbot
Comments URL: https://news.ycombinator.com/item?id=39895344
Points: 2
# Comments: 0
Panel says FAA should end mandate pilots disclose talk therapy sessions
1.5M UK jobs now at risk from AI, report finds
Article URL: https://thenextweb.com/news/1-5m-uk-jobs-now-at-risk-ai-report
Comments URL: https://news.ycombinator.com/item?id=39895323
Points: 1
# Comments: 0
Top level internal is unnecessary
Article URL: https://mortenvistisen.com/posts/top-level-internal-is-unnecessary
Comments URL: https://news.ycombinator.com/item?id=39894756
Points: 1
# Comments: 0
April Fools Day Request for Comments
Article URL: https://en.wikipedia.org/wiki/April_Fools%27_Day_Request_for_Comments
Comments URL: https://news.ycombinator.com/item?id=39894748
Points: 1
# Comments: 0
Effects of riding position, helmet use, vehicle type and apparent gender
Article URL: https://pubmed.ncbi.nlm.nih.gov/17064655/
Comments URL: https://news.ycombinator.com/item?id=39894721
Points: 1
# Comments: 0
How to Reduce Deployment Risk with Blue-Green Deployments
Article URL: https://launchdarkly.com/blog/blue-green-deployments-a-definition-and-introductory/
Comments URL: https://news.ycombinator.com/item?id=39894713
Points: 1
# Comments: 0
Structured Outputs with DSPy
Unfortunately, Large Language Models will not consistently follow the instructions that you give them. This is a massive problem when you are building AI systems that require a particular type of output from the previous step to feed into the next one! For example, imagine you are building a blog post writing system that first takes a question and retrieved context to output a list of topics. These topics have to be formatted in a particular way, such as a comma-separated list or a JSON of Topic objects, such that the system can continue writing the blog post! I am SUPER excited to share the 4th video in my DSPy series, diving into 3 solutions to structuring outputs in DSPy programs: (1) TypedPredictors, (2) DSPy Assertions, and (3) Custom Guardrails with the DSPy programming model! TypedPredictors follow the line of thinking around JSON mode and using Pydantic BaseModels to interface types and custom objects into a JSON template for LLMs. The output can then be validated to provide a more structured retry prompt to correct the output structure! DSPy Assertions are one of the core building blocks of DSPy, offering an interface to input a boolean-valued function and a retry prompt which is templated alongside the past output to retry the call to the LLM! Custom Guardrails with the DSPy Programming Model are one of the things I love the most about DSPy — we have unlimited flexibility to control these systems however we want. The video will also show you how to write custom guardrails and retry Signatures and discussion around using TypedPredictors for your Custom Guardrails and potentially feeding your Custom Guardrails into a DSPy Assertion. I had so much fun exploring this topic! Further seeing how well OpenAI’s GPT-4 and GPT-3.5-Turbo, Cohere’s Command R, and Mistral 7B hosted with Ollama perform with each Structured Output strategy! I also found monitoring structured output retries to be another fantastic application of Arize Phoenix! I hope you find the video useful! Video: https://www.youtube.com/watch?v=tVw3CwrN5-8 If interested, all the code examples for this DSPy series can be found here! - https://github.com/weaviate/recipes
Comments URL: https://news.ycombinator.com/item?id=39894707
Points: 1
# Comments: 0
What Was the Hanseatic League?
Article URL: https://www.thecollector.com/what-was-the-hanseatic-league/
Comments URL: https://news.ycombinator.com/item?id=39894704
Points: 1
# Comments: 0
To Fight Climate Change, We Could Block the Sun
Calendaring and Scheduling Developer's Wiki
Article URL: https://devguide.calconnect.org/
Comments URL: https://news.ycombinator.com/item?id=39894682
Points: 1
# Comments: 0
Why Did This Guy Put a Song About Me on Spotify?
Article URL: https://www.nytimes.com/2024/03/31/magazine/spotify-matt-farley.html
Comments URL: https://news.ycombinator.com/item?id=39894681
Points: 1
# Comments: 0
Long-form factuality in large language models
Article URL: https://arxiv.org/abs/2403.18802
Comments URL: https://news.ycombinator.com/item?id=39894677
Points: 1
# Comments: 0
Battle of the Redis Forks?
Article URL: https://www.thestack.technology/battle-of-the-redis-forks-begins/
Comments URL: https://news.ycombinator.com/item?id=39894669
Points: 2
# Comments: 0
A Review of Alfred North Whitehead's"Introduction to Mathematics" [pdf]
Article URL: https://arxiv.org/abs/2403.19675
Comments URL: https://news.ycombinator.com/item?id=39894662
Points: 1
# Comments: 0
How India could become an Asian tiger
Article URL: https://www.economist.com/finance-and-economics/2024/03/27/how-india-could-become-an-asian-tiger
Comments URL: https://news.ycombinator.com/item?id=39894661
Points: 2
# Comments: 0
Ross Anderson Has Died
Article URL: https://www.schneier.com/blog/archives/2024/03/ross-anderson.html
Comments URL: https://news.ycombinator.com/item?id=39894645
Points: 1
# Comments: 0
Havana syndrome: Report links mystery illness to Russian intelligence unit
Article URL: https://www.bbc.co.uk/news/world-us-canada-68706317
Comments URL: https://news.ycombinator.com/item?id=39894638
Points: 3
# Comments: 1
Language Acquisition and Comprehensible Input by Stephen Krashen [video]
Article URL: https://www.youtube.com/watch?v=fnUc_W3xE1w
Comments URL: https://news.ycombinator.com/item?id=39894637
Points: 1
# Comments: 0
Organic growth or Ads which you think is better?
Article URL: https://socialtrendanalysis.com/blog/choosing-between-organic-content-and-ads
Comments URL: https://news.ycombinator.com/item?id=39894633
Points: 1
# Comments: 1