使用 OpenTelemetry 實現 Golang 服務的可觀測系統
這篇文章中我們會討論可觀測性概念,並瞭解了有關 OpenTelemetry 的一些細節,然後會在 Golang 服務中對接 OpenTelemetry 實現分佈式系統可觀測性。Test Project我們將使用 Go 1.22 開發我們的測試服務。我們將構建一個 API,返回服務的名稱及其版本。我們將把我們的項目分成兩個簡單的文件(main.go 和 info.go)。// file: main. ⌘ Read more
萬字長文——在 Go 中如何編寫測試代碼
在程序開發過程中,測試是非常重要的一環,甚至有一種開發模式叫 TDD(測試驅動開發),先編寫測試,再編寫功能代碼,通過測試來推動整個開發的進行,可見測試在開發中的重要程度。爲此,Go 語言提供了 testing 框架來方便我們編寫測試,本文將向大家介紹在 Go 中如何編寫測試代碼。測試分類在 Go 中,編寫的測試用例可以分爲四類:單元測試:測試函數名稱以 Test 開頭,如 TestXxx、Tes ⌘ Read more
How AI enhances static application security testing (SAST)
Here’s how SAST tools combine generative AI with code scanning to help you deliver features faster and keep vulnerabilities out of code.
The post How AI enhances static application security testing (SAST) appeared first on The GitHub Blog. ⌘ Read more
Release Candidate of iOS 17.5 & iPadOS 17.5 Available for Testing
Apple has issued release candidate builds for iOS 17.5, iPadOS 17.5, watchOS 10.5, tvOS 17.5, and visionOS 1.2. MacOS Sonoma 14.5 release candidate is not yet available. The release candidate versions arrived right after the new M4 iPad Pro debuted, and the final version of iPadOS 17.5 will almost certainly ship on that device. How … [Read More](https://osxdaily.com/2024/05/08/release-candidate-of-io … ⌘ Read more
Software Testing Day
⌘ Read more
Software Testing Day
⌘ Read more
Beta 4 of macOS Sonoma 14.5, iOS 17.5, iPadOS 17.5, Available for Testing
The fourth beta versions of iOS 17.5, macOS Sonoma 14.5, and iPadOS 17.5 have been released to users engaging in the beta testing programs for Apple system software. Additionally, new betas for watchOS 10.5, tvOS 17.5, and visionOS 1.2, are also available. While it’s not clear when the final versions of these system software versions … [Read More](https://osxdaily.com/2024/04/30/beta-4-of-m … ⌘ Read more
Beta 3 of iOS 17.5, macOS Sonoma 14.5, iPadOS 17.5, Available for Testing
Apple has issued the third beta versions of iOS 17.5, macOS Sonoma 14.5, iPadOS 17.5, watchOS 10.5, visionOS 1.2, and tvOS 17.5, to all users participating in the beta testing programs for Apple system software. The new beta builds are available to both developer beta and public beta testers on any actively enrolled device, though … [Read More](https://osxdaily.com/2024/04/24/beta-3-of-ios- … ⌘ Read more
A Promising Methodology for Testing GenAI Applications in Java
Testing applications that incorporate AI can be difficult. In this article, we share a promising new methodology for testing GenAI applications in Java. ⌘ Read more
Pinellas County Running: 2.01 miles, 00:08:06 average pace, 00:16:18 duration
started running again… pretty much said fuck it and tested what would happen with a little speed. no pain. not even afterwards. i don’t know.
#running
Beta 2 of iOS 17.5, iPadOS 17.5, macOS Sonoma 14.5, Available for Testing
The second beta versions of iOS 17.5, iPadOS 17.5, MacOS Sonoma 14.5, tvOS 17.5, watchOS 10.5, and visionOS 1.2, have been made available by Apple to participants in the beta testing programs for Apple system software. Both developer and public beta testers are able to access the new builds on any enrolled device that is … [Read More](https://osxdaily.com/2024/04/18/beta-2-of-ios-17-5-ipado … ⌘ Read more
First Beta of iOS 17.5, macOS Sonoma 14.5, iPadOS 17.5 Released for Testing
Apple has released the first beta versions of a round of upcoming future software updates, versioned as iOS 17.5 for iPhone, macOS Sonoma 14.5 for Mac, iPadOS 17.5 for iPad, tvOS 17.5 for Apple TV, watchOS 10.5 for Apple Watch, and visionOS 1.2 for Apple Vision Pro. The betas are available now to users enrolled … [Read More](https://osxdaily.com/2024/04/02/first-beta-of-ios-17-5-macos- … ⌘ Read more
Pinellas County - Recovery: 3.13 miles, 00:10:05 average pace, 00:31:35 duration
easy run to blow off steam and test out the leg and hip. after the squats and lunges today my body was happy with a 10:00 pace. had some discomfort in the left hip at around 2.60 miles but it quickly went away. overall it was a pleasant run in the evening.
#running
RC of macOS Sonoma 14.4 Available for Testing
Apple has released an RC build for macOS Sonoma 14.4 for Mac users who are engaging in the beta testing program for macOS. The RC build for Sonoma 14.4 arrives alongside RC builds for watchOS 10.4, tvOS 17.4, and visionOS 1.1, roughly a week after the RC builds for iOS 17.4 and iPadOS 17.4 became … Read More ⌘ Read more
RC of iOS 17.4 & iPadOS 17.4, macOS Sonoma 14.4 Beta 5, Released for Testing
Apple has issued Release Candidate builds for iOS 17.4 and iPadOS 17.4, along with beta 5 of macOS Sonoma 14.4 and tvOS 17.4. Separately, a new beta of VisionOS 1.1 is available for Apple Vision Pro beta testers. Beta updates and RC builds are available to any users who are actively participating in the Apple … [Read More](https://osxdaily.com/2024/02/29/rc-of-ios-17-4-ipados-17-4 … ⌘ Read more
Analog Discovery Pro ADP2230: New Mixed Signal Oscilloscope from Digilent
The Analog Discovery Pro ADP2230 is a mixed signal oscilloscope designed for a range of professional engineering applications. It integrates multiple functions typically found in various test and measurement devices into a single unit. Key components and capabilities include: For digital signal processing, the device includes 16 digital input/output channels, compatible with 3.3 V CMOS […] ⌘ Read more
Moderate: 3.02 miles, 00:09:02 average pace, 00:27:18 duration
testing out the left knee again, but in the real world. it was fine. took it easy but not super easy so it was a good test.
#running
ProcessOne: Automatic schema update in ejabberd
ejabberd 23.10 has a new feature that is currently in beta testing:
Automatic relational schema creation and update.
Previously, if you were using ejabberd with an external relational database, you might have to manually apply some schema changes that come with new features when you upgrade to a new ejabberd release. ejabberd can now handle this schema upgrade automat … ⌘ Read more
‘No finishing line’ for veteran Aussie star
Usman Khawaja is giving no thoughts to potential retirement ahead of the Test series against New Zealand, adamant the next two matches are the only ones that matter and “there is no finishing line” in sight. ⌘ Read more
Smith’s Kiwi tormentor makes surprise call
One of Steve Smith and Australia’s great tormentors, New Zealand fast bowler Neil Wager, has announced his retirement after missing selection for the opening Test in Wellington. ⌘ Read more
Paterson testing out guaranteed income program
A new program being tested out in Paterson, New Jersey provides residents living below the poverty line with an extra $400 a month. FOX 5 NY’s Teresa Priolo has the story. ⌘ Read more
‘He’ll score runs’: Uzzie backs new partner to fire
A “pretty green” Wellington wicket and New Zealand bowlers well equipped to exploit conditions in their favour could be Steve Smith’s greatest challenge in just his third Test as an opening batter. ⌘ Read more
Paul Murray speaks to voters ahead of Dunkley by-election
Sky News host Paul Murray heads to the pre-poll booths in Dunkley to ask voters why they voted for their chosen candidate.
The by-election will be the government’s first major ballot box litmus test and the stakes are high for both leaders.
The passing of former federal member for Dunkley, Peta Murphy will be at the front of mind for many voters, saying they will vote for Labor can … ⌘ Read more
How to Use Testcontainers on Jenkins CI
We explore how to run tests based on the open source Testcontainers framework in a Jenkins pipeline using Docker and Testcontainers Cloud. ⌘ Read more
New British Antarctic Drone Sends Back First Footage Of Icy Continent
British Antarctic Survey scientists have shared the first images and video from their new Windracers drone as they test the new ULTRA uncrewed aerial vehicle (UAV) over the southern continent’s icy wastes. Over the last few weeks the UAV has flown over 720kms collecting images and scientific data that could enable researchers to widen the range of resear … ⌘ Read more
Ben Stokes brushes off suggestion that England were not ruthless against India
Ben Stokes dismissed suggestions England lack a ruthless edge and expressed pride at how his team have fared in Indian conditions after not being given a “chance in hell” of success. England succumbed to a first Test series defeat under the leadership of captain Stokes and head coach Brendon McCullum, as India moved into an unassailable 3-1 lea … ⌘ Read more
Easy: 4.26 miles, 00:09:32 average pace, 00:40:38 duration
test run on the treadmill with simulation of skyway bridge (grade of 4%) over and back at a comfortable pace.
#running #treadmill
4th Beta of iOS 17.4, macOS Sonoma 14.4, iPadOS 17.4, Available for Testing
Apple has issued the fourth beta versions of iOS 17.4, iPadOS 17.4, macOS Sonoma 14.4, watchOS 14.4, and tvOS 17.4. Additionally a new beta of visionOS 1.1 is available for the developers who are working with Apple Vision Pro. These beta updates are available to all users who are enrolled in the beta testing programs … [Read More](https://osxdaily.com/2024/02/21/4th-beta-of-ios-17-4-mac … ⌘ Read more
Video: C Programming on System 6 - Carl Update, Test Suite, Malloc Tracing ⌘ Read more
Toybrick TB-RK3588SD Board Blends Raspberry Pi Form-Factor with Rockchip Performance
The Toybrick TB-RK3588SD is a single-board computer tailored for chip debugging, testing, and verification, centering around the high-performing Rockchip RK3588S chip. This board facilitates support for multiple displays and is available with up to 8GB of LPDDR4X RAM. The TB-RK3588SD boasts a small footprint of only 89mm x 57mm and features the following Rockchip System-on-Ch … ⌘ Read more
Using test helpers in Go
1 points posted by Elton Minetto ⌘ Read more
Microchip Launches Affordable PolarFire SoC Kit, Expanding Access to RISC-V and FPGA for Embedded Engineers
Today, Microchip unveiled the PolarFire SoC Discovery Kit, a cost-effective and versatile tool catering to a wide range of users, including students, beginners, and seasoned professionals. This user-friendly kit facilitates quick testing of application ideas, firmware development, programming, and debugging, making it suitable for … ⌘ Read more
Beta 3 of macOS Sonoma 14.4, iOS 17.4, iPadOS 17.4, Available for Testing
The third beta version of macOS Sonoma 14.4, iOS 17.4, iPadOS 17.4, and watchOS 10.4, has been released to users enrolled in the beta testing programs for Apple system software. Additionally, beta 2 of VisionOS 1.1 is available for users beta testing software on the Apple Vision Pro. Downloading Beta 3 of iOS 17.3/iPadOS 17.3, … [Read More](https://osxdaily.com/2024/02/13/beta-3-of-macos-so … ⌘ Read more
Laird Connectivity Expands Bluetooth LE Portfolio with Nordic nRF54 SoCs
Laird Connectivity’s BL54L15 and BL54H20 series, leveraging Nordic Semiconductor’s nRF54 silicon, provides enhanced wireless capabilities with support for Bluetooth LE 5.4, 802.15.4, and NFC. Additionally, offers compatibility with Zephyr RTOS and Nordic nRF Connect SDK, broadening their application scope in advanced wireless solutions. The BL54L15 series, powered by Nordic’s nRF54L15 SoC, is a test … ⌘ Read more
Easy: 5.03 miles, 00:09:11 average pace, 00:46:10 duration
easy peasy. tested out the new handheld water bottle. i think it went well.
#running #treadmill
Beta 2 of macOS Sonoma 14.4, iOS 17.4, iPadOS 17.4, Available for Testing
Apple has issued the second beta versions of iOS 17.4, iPadOS 17.4, macOS Sonoma 14.4, watchOS 10.4, tvOS 17.4, along with the first beta version of visionOS 1.1 for Apple Vision Pro. What new features are expected in betas of iOS/iPadOS 17.4, macOS Sonoma 14.4? These beta updates to iOS, iPadOS, and macOS include a … [Read More](https://osxdaily.com/2024/02/06/beta-2-of-macos-sonoma-14-4-i … ⌘ Read more
Beta 1 of macOS Sonoma 14.4 Available for Testing
Apple has released the first beta version of macOS Sonoma 14.4 to users enrolled in the beta testing programs for Mac system software. The new MacOS beta arrives alongside new betas for WatchOS, and a few days after the first beta of iOS 17.4 debuted. No major new features are expected in macOS Sonoma 14.4, … Read More ⌘ Read more
Beta 1 of iOS 17.4 & iPadOS 17.4 Available for Testing
Apple has released the first beta versions of iOS 17.4 and iPadOS 17.4 to users enrolled in the developer beta testing programs for iPhone and iPad system software. There are some significant changes for European users arriving in betas for iOS 17.4, including changes to the App Store, and adding the ability to install apps … [Read More](https://osxdaily.com/2024/01/26/beta-1-of-ios-17-4-ipados-17-4-available-for-testing/ … ⌘ Read more
How GitHub’s Developer Experience team improved innerloop development
Our latest solution to the ubiquitous engineering problem of integration testing in a distributed service ecosystem here at GitHub.
The post How GitHub’s Developer Experience team improved innerloop development appeared first on The GitHub Blog. ⌘ Read more
Release Candidates for iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3, Available for Testing
Apple has issued Release Candidate builds for iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3, watchOS 10.3, and tvOS 17.3, for users involved in the beta testing programs. Release Candidate (RC) builds are typically the final version of a beta release cycle before the update becomes broadly available to all users. Occasionally, a second (or even … [Read More](https://os … ⌘ Read more
Beta 3 of macOS Sonoma 14.3, iOS 17.3, iPadOS 17.3, Available for Testing
Apple has released the third beta versions of iOS 17.3, iPadOS 17.3, and macOS Sonoma 14.3 to users participating in the beta testing programs. There’s also a new tvOS beta version for those interested in that. iOS 17.3 includes an intriguing new feature called Stolen Device Protection which aims to make it harder for thieves … [Read More](https://osxdaily.com/2024/01/10/beta-3-of-macos-son … ⌘ Read more
So, I finally got day 17 to under a second on my machine. (in the test runner it takes 10)
I implemented a Fibonacci Heap to replace the priority queue to great success.
https://git.sour.is/xuu/advent-of-code/src/branch/main/search.go#L168-L268
掌握 go test 命令,寫出可信賴的代碼
*1. test 命令概述在開發過程中,測試是確保代碼質量和穩定性的關鍵步驟。通過測試,可及早發現潛在的問題,確保代碼的正確性和可維護性。Go 語言提供了強大的測試工具,其中 go test 命令是一個不可或缺的利器。1.1 單元測試單元測試是驗證代碼中最小可測試單元的過程。在 Go 中,單元測試通常位於與被測試代碼相同的包中,以 test.go 結尾的文件中。go test 會執行這些文件中的測 ⌘ Read more
This is a test!
Beta 2 of iOS 17.3, iPadOS 17.3, macOS Sonoma 14.3 Available for Testing
Apple has issued the second beta versions of iPadOS 17.3 for iPad, iOS 17.3 for iPhone (which has since been pulled), and macOS Sonoma 14.3. The new betas are available to download now for any user actively enrolled in the appropriate beta testing program. Update: Just kidding, iOS 17.3 beta 2 has been pulled because … [Read More](https://osxdaily.com/2024/01/03/beta-2-of-ios-17-3-ipados-17- … ⌘ Read more
Go 測試的 20 個實用建議
2023 年 11 月初,Go 語言技術負責人 Russ Cox 在 GopherCon Australia 2023[1] 大會上進行了題爲 “Go Testing By Example”[2] 的演講:12 月初 Russ Cox 重新錄製了該演講內容的視頻,並在個人網站 [3] 上放了出來。這個演講視頻是關於如何編寫好的 Go 測試的,Russ Cox 介紹了 20 個實用建議,非常值得 G ⌘ Read more
Vortex Cooled Ceramic Rocket Tested with FIRE! ⌘ Read more
Pinellas County - Easy: 5.04 miles, 00:08:55 average pace, 00:44:59 duration
testing out the knee and leg. nothing too crazy but should probably take it easy tomorrow as well in anticipation for the long run. stopped halfway through when someone pointed out one of the local gators.
#running
ProcessOne: Automatic schema update in ejabberd
ejabberd 23.10 has a new feature that is currently in beta testing:
Automatic relational schema creation and update.
Previously, if you were using ejabberd with an external relational database, you might have to manually apply some schema changes that come with new features when you upgrade to a new ejabberd release. ejabberd can now handle this schema upgrade automat … ⌘ Read more
Gotta admin that Ms’s Playwright test framework is really powerful.