V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Tink  ›  全部回复第 26 页 / 共 1154 页
回复总数  23066
1 ... 22  23  24  25  26  27  28  29  30  31 ... 1154  
2025 年 11 月 24 日
回复了 wKong753900 创建的主题 程序员 各位老司机,你认为的适合编程入门的是什么语言?
python
2025 年 11 月 23 日
回复了 Alone26 创建的主题 开源软件 小米家摄像头终于支持 RTSP 啦!
牛逼啊龙佬!这不得接入到 HA 里
2025 年 11 月 22 日
回复了 ios 创建的主题 Apple 继「Apple 智能」后,成功替换「通话录音」提示音
2025 年 11 月 22 日
回复了 oIMOo 创建的主题 iPhone 请问如何从钱包中移除公交卡
下载 app ,申请退卡
2025 年 11 月 22 日
回复了 amrice 创建的主题 问与答 想改一下小爱音箱
这种建议直接用离线语音模块
肯定不一样呀,antigravity 自己测试的时候会自己打开 chrome 浏览器,模拟滚动模拟点击,自己查看 F12 报错这样,应该是专门深度集成的
要是能把 xcode simulator 一直进去就无敌了
2025 年 11 月 21 日
回复了 dododada 创建的主题 程序员 gemini3 pro 真挺好
@ccctttwww #6 他这个可以自己打开浏览器,自己访问你给的 url ,自己点击网页元素,自己滚动网页,自己提取需要的东西,不需要用户手动搞。
2025 年 11 月 21 日
回复了 shoushen 创建的主题 程序员 ai 挑战赛
我又在 ai studio 里试了一下网页版的,更离谱了。

和 anti-gravity 一样,也是一句搞定。


https://i.imgur.com/A2hjPR3.jpeg

https://i.imgur.com/JrS18Uk.jpeg
2025 年 11 月 21 日
回复了 shoushen 创建的主题 程序员 ai 挑战赛
2025 年 11 月 20 日
回复了 shoushen 创建的主题 程序员 ai 挑战赛
代码如下:

import sys
import subprocess
import threading
import time
import os

# Radio Stations List
STATIONS = [
{'id': 1, 'name': '内蒙古新闻广播 (Nei Menggu News)', 'url': 'http://lhttp.qtfm.cn/live/1883/64k.mp3'},
{'id': 2, 'name': '云南新闻广播 (Yunnan News)', 'url': 'http://lhttp.qtfm.cn/live/1926/64k.mp3'},
{'id': 3, 'name': '经典 80 年代 (China 80s)', 'url': 'http://lhttp.qtfm.cn/live/20207/64k.mp3'},
{'id': 4, 'name': 'SAW 80s (International)', 'url': 'http://stream.saw-musikwelt.de/saw-80er/mp3-128/'},
]

current_process = None
current_station_id = 1

def clear_screen():
os.system('cls' if os.name == 'nt' else 'clear')

def play_station(station):
global current_process

# Stop existing process if any
if current_process:
try:
current_process.terminate()
current_process.wait(timeout=1)
except:
try:
current_process.kill()
except:
pass

# Start new process
# -nodisp: no graphical window
# -autoexit: exit when stream ends (though streams usually don't end)
# -loglevel quiet: suppress output
cmd = ['ffplay', '-nodisp', '-autoexit', '-loglevel', 'quiet', station['url']]
try:
current_process = subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except FileNotFoundError:
print("Error: ffplay not found. Please install ffmpeg.")
sys.exit(1)

def print_ui():
clear_screen()
print("=== CLI FM Radio ===")
print("Enter station ID to switch. Ctrl+C to exit.\n")

for station in STATIONS:
if station['id'] == current_station_id:
# Red color for active station
print(f"\033[91m[{station['id']}] {station['name']} (Playing)\033[0m")
else:
print(f"[{station['id']}] {station['name']}")
print("\n> ", end='', flush=True)

def main():
global current_station_id

# Play default station (first one)
play_station(STATIONS[0])
print_ui()

try:
while True:
try:
user_input = input()
if not user_input.strip():
print_ui()
continue

new_id = int(user_input.strip())
found = False
for station in STATIONS:
if station['id'] == new_id:
current_station_id = new_id
play_station(station)
found = True
break

if not found:
# Just refresh UI if invalid input
pass

print_ui()

except ValueError:
print_ui()
except KeyboardInterrupt:
print("\nExiting...")
if current_process:
current_process.terminate()
sys.exit(0)

if __name__ == "__main__":
main()
2025 年 11 月 20 日
回复了 shoushen 创建的主题 程序员 ai 挑战赛
2025 年 11 月 20 日
回复了 shoushen 创建的主题 程序员 ai 挑战赛
2025 年 11 月 20 日
回复了 raw0xff 创建的主题 程序员 gemini3 做推广了?
蹭热度是真的,好用也是真的
https://policies.google.com/country-association-form

先在这里查看账户地区,HK 是不行的
2025 年 11 月 20 日
回复了 Tink 创建的主题 ☕Vibe Coding🤖 Antigravity with Gemini 3 Pro 这玩意真的强的可怕
@manwhatcanisay 指令里把要求提明确,一次成功没问题的
2025 年 11 月 20 日
回复了 Tink 创建的主题 ☕Vibe Coding🤖 Antigravity with Gemini 3 Pro 这玩意真的强的可怕
1 ... 22  23  24  25  26  27  28  29  30  31 ... 1154  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2984 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 100ms · UTC 06:11 · PVG 14:11 · LAX 22:11 · JFK 01:11
♥ Do have faith in what you're doing.