This media is not supported in your browser
VIEW IN TELEGRAM
SwiftUI练习 #SwiftUI小伙伴
初始有一个地球在View中,点Column + 和 - 会增加或减少一列,Row + 和 - 会增加或减少一行。 最多不超过10个,最少要有一个。
初始有一个地球在View中,点Column + 和 - 会增加或减少一列,Row + 和 - 会增加或减少一行。 最多不超过10个,最少要有一个。
👍3
下周开始,大朋友学习Swift&SwiftUI编程乐园第六期开始。每周日美东9点到12点。高级组学习SwiftUI,初级组从Swift基础开始。有兴趣的评论或PM我。
需要有一台Mac(最好是M1或M2的CPU),有Telegram帐号(上课都在Telegram上),其它可见这个文章的说明: https://blog.hdcola.one/swift-before-class
需要有一台Mac(最好是M1或M2的CPU),有Telegram帐号(上课都在Telegram上),其它可见这个文章的说明: https://blog.hdcola.one/swift-before-class
老房东的纸条箱
学习Swift及SwiftUI的准备小纸条
为什么要入Swift开始入门,只是因为Swift Playground及它所带有的学习编程一、学习编程二是我见过的帮助孩子们学习入门的最好的教材(以我现在所知,已经有很多学校的编程程从Java转为了Swift Playground)。另外,我也希望孩子们能在13岁时开始去参加WWDC的学生编程挑战赛。过去的两年里,我已经有好几个孩子参加了这个挑战赛,相信这样的经历对孩子会是一个非常棒的体验。另外,学习Swift后,对于过渡到Python、JavaScript这样的解释型语言会非常轻松,过渡到Go...
👍4
苹果官方给出的规划你的应用程序系列:
Planning your iOS app https://developer.apple.com/ios/planning/
Planning your macOS app https://developer.apple.com/macos/planning/
Planning your iPadOS app https://developer.apple.com/ipados/planning/
Planning your watchOS app https://developer.apple.com/watchos/planning/
Planning your tvOS app https://developer.apple.com/tvos/planning/
Planning your iOS app https://developer.apple.com/ios/planning/
Planning your macOS app https://developer.apple.com/macos/planning/
Planning your iPadOS app https://developer.apple.com/ipados/planning/
Planning your watchOS app https://developer.apple.com/watchos/planning/
Planning your tvOS app https://developer.apple.com/tvos/planning/
Apple Developer
Get Started - iOS - Apple Developer
Start with this simple and easy-to-navigate collection of videos, documentation, and resources to start building great apps and games.
👍2
这是一个开源的社区活动,当你在9月26日至10月31日期间,你向一个开源项目提交四个被接受的PR,哪么你就完成了Hacktoberfest,完成的前四万名参与者可以获得两个奖项之一:以你们的名义种植一棵树或Hacktoberfest 2022的T恤。
访问 https://hacktoberfest.com/participation/ 参加这个活动。我们的 [CodePracticeResult](https://github.com/HDCodePractice/CodePracticeResult) 以及 [OneTapSwiftUI](https://github.com/HDCodePractice/OneTapSwiftUI) 和 [SwiftUITapsPackage](https://github.com/HDCodePractice/SwiftUITapsPackage) 都已经在PR中加入了 hacktoberfest 的标签,欢迎大家参与这个活动
访问 https://hacktoberfest.com/participation/ 参加这个活动。我们的 [CodePracticeResult](https://github.com/HDCodePractice/CodePracticeResult) 以及 [OneTapSwiftUI](https://github.com/HDCodePractice/OneTapSwiftUI) 和 [SwiftUITapsPackage](https://github.com/HDCodePractice/SwiftUITapsPackage) 都已经在PR中加入了 hacktoberfest 的标签,欢迎大家参与这个活动
Hacktoberfest
Participation | Hacktoberfest 2025
Hacktoberfest: a month-long celebration of open-source projects, their maintainers, and the entire community of contributors.
有小朋友想安装一台Linux去体验一下命令行的感觉,今天发现一个好东东 https://webvm.io/ ,WebVM是一个运行在你的浏览器里的Linux虚拟环境,省去了安装的痛苦。不过,我觉得更多就是玩玩,体验下更重要!
WebVM
WebVM - Linux virtualization in WebAssembly
Linux virtual machine, running in the browser via HTML5/WebAssembly. Networking and graphics supported.
👍2
Forwarded from Solidot
维护 NTP 协议的人
2022-10-09 00:12:00 by 倒数第二个真相
1977 年,David Mills 就职于美国卫星通信公司 COMSAT,参与了互联网的前身阿帕网(ARPANET)相关的工作。当时的阿帕网缺乏一个单一可靠的时间同步系统。Mills 认识到时钟时间是一种无休止追求共识的结果。为解决阿帕网的时钟同步问题,他创建了名为 Network Time Protocol 的协议。N.T.P. 很快成为互联网的关键组成部分。到 1988 年 Mills 将 N.T.P.完善到能在几十毫秒内同步联网的计算机时间,Vint Cerf 形容这一成就是一种黑魔法。今天我们将时间同步视为一种理所当然,它对互联网至关重要,对人类文明也至关重要。电网、金融市场、电信网络等关键系统都依赖时间同步保持记录和分清因和果。几乎所有设备都运行 N.T.P. 它在数十亿台设备上运行,协调时间,社会从未像如此同步过。几十年来,Mills 是决定 N.T.P.应该如何工作的人。但他对协议的维护已经走向终点。Mills 生来患有青光眼,如今已完全失明,生于 1938 年的他如今也年事已高。在维护 N.T.P. 过程中 Mills 被视为一位顽固的独裁者,社区发现 Mills 很难合作,递交一个修复问题的补丁是不够的,Mills 还会要求给出数学分析和证明。在开源社区这是很少有人能做到的。他最忠实的合作者是名叫 Harlan Stenn 的程序员。Stenn 如今也有 66 岁了,虽然与 Mills 合作了几十年,但两人从未线下见过面。科技巨头们依赖的开源代码往往由几个人无偿维护,Stenn 是其中之一,而他的退休储蓄已经耗尽了。
#互联网
2022-10-09 00:12:00 by 倒数第二个真相
1977 年,David Mills 就职于美国卫星通信公司 COMSAT,参与了互联网的前身阿帕网(ARPANET)相关的工作。当时的阿帕网缺乏一个单一可靠的时间同步系统。Mills 认识到时钟时间是一种无休止追求共识的结果。为解决阿帕网的时钟同步问题,他创建了名为 Network Time Protocol 的协议。N.T.P. 很快成为互联网的关键组成部分。到 1988 年 Mills 将 N.T.P.完善到能在几十毫秒内同步联网的计算机时间,Vint Cerf 形容这一成就是一种黑魔法。今天我们将时间同步视为一种理所当然,它对互联网至关重要,对人类文明也至关重要。电网、金融市场、电信网络等关键系统都依赖时间同步保持记录和分清因和果。几乎所有设备都运行 N.T.P. 它在数十亿台设备上运行,协调时间,社会从未像如此同步过。几十年来,Mills 是决定 N.T.P.应该如何工作的人。但他对协议的维护已经走向终点。Mills 生来患有青光眼,如今已完全失明,生于 1938 年的他如今也年事已高。在维护 N.T.P. 过程中 Mills 被视为一位顽固的独裁者,社区发现 Mills 很难合作,递交一个修复问题的补丁是不够的,Mills 还会要求给出数学分析和证明。在开源社区这是很少有人能做到的。他最忠实的合作者是名叫 Harlan Stenn 的程序员。Stenn 如今也有 66 岁了,虽然与 Mills 合作了几十年,但两人从未线下见过面。科技巨头们依赖的开源代码往往由几个人无偿维护,Stenn 是其中之一,而他的退休储蓄已经耗尽了。
#互联网
👍9❤1
https://earsketch.gatech.edu/ 这是一个在浏览器里运行的音乐编程软件,可以用Python或者JavaScript创作音乐。希望Claire 同学能喜欢它。
https://github.com/mli/autocut 当你需要剪辑一段视频时,有没有想过用编辑文字的方式编辑视频?这个来源的工具让你通过编辑文本来编辑视频,科技创新无所不在啊
GitHub
GitHub - mli/autocut: 用文本编辑器剪视频
用文本编辑器剪视频. Contribute to mli/autocut development by creating an account on GitHub.
👍4
https://github.com/krahets/hello-algo 以后上课时用的着,估计假期后在大小朋友的课上用这个把array和hash,感觉不错
GitHub
GitHub - krahets/hello-algo: 《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python, Java, C++, C, C#, JS, Go, Swift, Rust…
《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python, Java, C++, C, C#, JS, Go, Swift, Rust, Ruby, Kotlin, TS, Dart 等代码实现 - krahets/hello-algo
👍4
新年Telegram发布新版本Bot API了
Bot API 6.4
Forums
• Bots can now open, close, edit and toggle the visibility of the General Topic.
• Added support for new service messages, like ForumTopicEdited, GeneralForumTopicHidden and more.
• The method sendChatAction can now send actions to any thread or topic via the
Spoilers
• Added spoiler detection via the new
• Bots can send media covered by a spoiler animation via the
Web Apps
• Added a native QR scanner popup, controllable via showScanQrPopup and closeScanQrPopup.
• Web Apps launched from the attachment menu can request clipboard text via readTextFromClipboard.
• Added a platform field, showing which platform the web app is being used on.
General
• Added the
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#december-30-2022
Bot API 6.4
Forums
• Bots can now open, close, edit and toggle the visibility of the General Topic.
• Added support for new service messages, like ForumTopicEdited, GeneralForumTopicHidden and more.
• The method sendChatAction can now send actions to any thread or topic via the
message_thread_id parameter.Spoilers
• Added spoiler detection via the new
has_media_spoiler field in the Message class.• Bots can send media covered by a spoiler animation via the
has_spoiler field in sendPhoto, sendVideo and sendAnimation.Web Apps
• Added a native QR scanner popup, controllable via showScanQrPopup and closeScanQrPopup.
• Web Apps launched from the attachment menu can request clipboard text via readTextFromClipboard.
• Added a platform field, showing which platform the web app is being used on.
General
• Added the
is_persistent field, to keep ReplyKeyboards open by default.• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#december-30-2022
core.telegram.org
Telegram Bot API
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create…
💩1
🧐 how many messages have you sent in Telegram ?
这代码写的是不是简洁高效?
x = await client.send_message("me", "me")
await x.delete()
print(f"number of messages = {x.id}")这代码写的是不是简洁高效?
👍3
https://youtu.be/1yyRvyNQ5rQ 今天Bernie给我推荐的一个视频,很有意思,我当听力练习,但是解答了很多简单的问题,值得一看。
YouTube
Stanford Computer Scientist Answers Coding Questions From Twitter | Tech Support | WIRED
Chris Piech, professor of computer science at Stanford University, answers the internet's burning questions about coding. Do you need to know math to be good at coding? How many computer languages are there? Are programming and coding the same thing? How…
👍3
1月29日大朋友第七期开始了,到现在我们有四个大朋友玩的不亦乐乎。我们最早学了Python,后来开始了Swift iOS App。和大家商量了一下,接下来,我们准备开始C#的Unity游戏开发。如果有兴趣,欢迎私聊或评论。课程每周日上午9点(美东时间)开始,11点左右结束。一期12节课程,中间退出不会退钱的哦,要给自己一些坚持的理由。我们更多的以玩为主,大家来自五湖四海,每周能用code做些不同的事为乐趣。
👏5👍3