Skip to main content

JZ

Simple way to record life

https://obsidian99.pages.dev/
  1. ---
    title: Sample Post about ChatGPT
    date: '2024-02-09'
    lastmod: '2024-02-10'
    draft: true
    summary: An article exploring the possibilities of using ChatGPT in various applications.
    ---
    import Figure from "@/components/Figure.astro"
    import figureExample from "@/assets/og-image.png"

    Welcome to my first article about ChatGPT!

    Today, we will explore the ways this fascinating technology can be used in different contexts.

    ## Inline Highlighting

    Let's start with an example of inline highlighting: const message = "Hello, ChatGPT!".

    ## Code Blocks

    Now, let's add some JavaScript and Python code that uses ChatGPT in a simple web application.
    // Importing ChatGPT for JavaScript
    import ChatGPT from 'chatgpt';
    
    // Creating an instance of ChatGPT
    const chatbot = new ChatGPT();
    
    // Example of usage in JavaScript
    const userInput = getUserInput();
    const response = chatbot.generateResponse(userInput);
    displayResponse(response);
    
    # Function for generating responses using ChatGPT in Python
    def generate_response(user_input):
        chatbot = ChatGPT()
        response = chatbot.generate_response(user_input)
        return response
    
    # Example of usage in Python
    user_input = get_user_input()
    response = generate_response(user_input)
    display_response(response)
    

    <Figure src={figureExample} alt="">This is a Figure component with caption</Figure>

    This combined Markdown file includes examples of both JavaScript and Python code using ChatGPT.

    Feel free to adjust and expand it according to your specific needs!
  2. Cloudflare 推出 Drop:浏览器拖拽文件夹即可部署网站,无需注册

    Cloudflare 发布了一款名为 Drop 的新工具,用户只需将文件夹拖入浏览器,即可在 Cloudflare 上即时部署网站,毫秒级响应全球用户。

    该服务无需创建账户,部署后有效期为 60 分钟,超时自动失效,除非用户主动认领该部署。目前可通过 cloudflare.com/drop 体验。

    Brayden(@BraydenWilmoth)

    🌸 在花频道 · 茶馆水群 · 投稿通道
  3. 全球地下真菌网络总图首次绘出 总长度为地球和太阳之间距离的近十亿倍

    由地下网络保护协会(SPUN)领导的新研究项目首次绘制出全球丛枝菌根真菌网络地图。这些地下菌丝总长达到 110 千万亿公里,总质量约为全人类体重的 5 倍。如果用一条线连接起来,将延伸地球和太阳之间距离的近十亿倍。它们与全球约 80% 的植物共生,每年可将约 10 亿吨碳封存在地下。地图发现,农田中的真菌密度仅为野生生态系统的一半,而拥有全球约 40% 该类真菌生物量的野生草原,正以森林 4 倍的速度转为农田。

    Inside Climate NewsScience

    🌸 在花频道 · 备用频道 · 投稿通道
  4. 微软开源 iOS 流式 Markdown 渲染库 SwiftStreamingMarkdown

    微软在 GitHub 上开源了 SwiftStreamingMarkdown,这是一个面向 iOS 的高性能 Markdown 渲染库,专为流式文本场景设计,可在文字逐段到达时保持平滑动画与滚动,适合聊天或 LLM 回复界面。

    该库支持 CommonMark 与 GitHub 风格 Markdown 的核心子集,包括表格、代码块、LaTeX 公式、内联引用、任务列表等,并提供主题定制与分析追踪接口。开发者可通过 Swift Package 集成,预计为应用增加约 3 MB 下载体积,项目采用 MIT 许可证。

    GitHub

    🌸 在花频道 · 备用频道 · 投稿通道
  5. #软件资讯 Chrome v149 正式版面向所有用户提供设备端 AI 管理功能,可以禁用功能删除 4GB 的本地模型权重文件。

    如果直接手动删除文件那谷歌浏览器还会重复下载模型权重文件,所以之前因为这个功能谷歌被喷,现在谷歌向所有用户提供管理功能,用户可以根据自己需要开启或禁用设备端 AI 管理。

    查看详情:https://ourl.co/113325?t

    订阅 解封 推特 CN2VPS
  6. 💧 #小众软件
    Easy PDF 限免:Win11 原生风格 PDF 阅读器

    原文链接:https://www.appinn.com/easy-pdf-windows/

    Easy PDF 是一款基于 Windows 11 原生风格 WinUI 3 开发的 PDF 阅读器,目前正在微软商店限免。它采用 Fluent Design 风格,界面简洁、顺滑,类似早期 UWP 应用体验,同时兼容性更接近传统桌面程序。软件支持 PDF 阅读与标记功能,但不支持编辑。感谢小熊猫推荐

    领取地址:https://apps.microsoft.com/detail/9p02klsbznmn?hl=zh-cn&gl=CN Easy PDF 限免:Win11 原生风格 PDF 阅读器 - 小众软件