What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
0
0

연합우주에 들어와서 메인 SNS로 쓰기 시작한지 2년...

일본 타임라인은 아직도 유저층이 바뀌지 않고 점점 늘어나고 있으나 한국 타임라인은 어째서인지 싸우거나 해서 사람들이 줄어들고 알맹이만 남은 채로 서버장들도 지쳐가고 있는 아포칼립스에 가까워지고 있다...
:ablobcatuwucoffee:

0
0
0
0
0
1
0
0
0
1
0
0

I'm hosting the blogging carnival in June! (It's June 1 some places in the world right now)

This month's theme is "Take Two" as in, what a director shouts for a do-over.

Also, time travel! I really want to read some speculative blog posts this month.

I invite you to explore this month's theme and send me links to your work: nicksimson.com/posts/2025-indi

0
0
0
  • 출근할 때 새로 산 키보드 가지고 하면 기분이 좋다 유효 시간: 1시간
5

i am getting very tired of anubis (the anti-scraping thing a bunch of sites are using these days, if you've seen a splash screen with an anime girl and a progress bar it's that thing) and i cannot wait until the scrapers learn how to do the proof-of-work challenges so we can throw this shit away and do something reasonable instead

currently attempting to read a page where all the images are broken because the anubis cookie is fucked up in a way where firefox refuses to fetch them unless i right click each one and open it in a new tab. congratulations, you have invented gemini but worse

0
0
0
0
0
0
0
1
0
0
1
0
0

막말로 1번이 드럼통인지 뭔지 공산당 만든다니 하는건 실현된적이 없겠지만 2번놈 당은 당장 몇달전에 사람 시체가방에 집어넣으려했고 정적을 제거하려고 국회에 군부대까지 끌고가려고 했음 이제 누가 빨갱이지?

0
0
0
0
0
0
0
0
1

覺得寫作很重要,讓大家了解研究內容的重要性,才會有人一起討論。
之前科學人雜誌編輯受訪時也有提到,很多科學家會花時間在教育上,讓因為有些研究需要幾十年才有可能完成,讓學生對科學有興趣,研究內容才有可能由其他人接受繼續。
cobolsu.blogspot.com/2025/05/b

0

Ancient Northern peoples had dozens or hundreds of words for snow and ice because they were intimately familiar with it.

Ancient programmers from the twenty-first century had many terms for good software:

* boring tech
* robust-first
* humane
* indie
* small/smol
* sustainable
* permacomputing
* spartan
* cold-blooded software
* tadi
* freewheeling
* tomodashi

But these were terms born from absence, endless attempts to escape the desert their society found itself in.

0
0
0
0
19
0

覺得寫作很重要,讓大家了解研究內容的重要性,才會有人一起討論。
之前科學人雜誌編輯受訪時也有提到,很多科學家會花時間在教育上,讓因為有些研究需要幾十年才有可能完成,讓學生對科學有興趣,研究內容才有可能由其他人接受繼續。
cobolsu.blogspot.com/2025/05/b

0

良い記事

>「嫌韓」と明らかに異なるのは、韓国で「反日」「抗日」という言葉が使われる時は、「好き・嫌い」という感情に基づくものではないということです。非常に論理的で、帝国主義や植民地主義批判に基づくものであって、その矛先は日本だけではなく、韓国人にも向きます。

韓国を「親日・反日」で語ることの何が問題か。二元論で報じてきたメディアの責任と、その弊害【韓国大統領選】
huffingtonpost.jp/entry/story_

0
1
0
0
0

High temperatures in and around Alaska in May. Complete lack of really warm weather. The highest reliable temperature in the state 71F (Ft. Yukon, Tanana, others) is the lowest May Alaska high temp since 1971. Deadhorse/Prudhoe Bay this is the first May since obs began in 1969 without a temp above freezing. Fairbanks first May to fail to get to 70F since 2001. @anisianBill Witte @Climatologist49Brian Brettschneider @mivoxmivox is exhausted :ri:

Map centered on Alaska showing site-specific high temperatures (ºF) during May 2025.  Plotted temperature range from 32F at Deadhorse and Utqiaġvik to 71F at Ft. Yukon, Tanana and Kaltag.
0
0
0
0
0

i've upgraded the SWD probe for to be able to use 48 MHz SWCLK and now probe-rs benchmarks show 1.7 MB/s reads and 1.9 MB/s writes!

as it turns out, i've accidentally beaten every single probe in the probe-rs performance comparison (9names.github.io/embedded/rust) without even really trying to

PR at github.com/GlasgowEmbedded/gla

CMSIS-DAP debug probe performance

CMSIS-DAP debug probe performance There are quite a few CMSIS-DAP USB debug probes in the wild, and a lot of other devices can be converted into CMSIS-DAP debug probes using various firmware projects. Most of these derive a lot of the core debugger functionality from ARM sources, though there are exceptions. These probes typically do not make any performance claims as universal tooling support and easy OS compatibility is a higher priority, but that does make choosing or recommending one over the other more difficult than it needs to be. I could not find any benchmarks of these anywhere, but I do have a small collection of probes and other embedded hardware that can run the open probe firmwares - so I spent a few days running some benchmarks and collecting data! Note: This post has been edited since original posting * 2022-04-18 - rustyprobe was slower than expected because the firmware tested was modified to only enumerate as cmsisdap-v1 * added rust-dap and a non-turbo firmware build of hs-probe to the dataset * added a link to the data in CSV form at the bottom of the page Hardware Test system All tests were performed on a Ryzen 3600 running Ubuntu 20.04 with Linux kernel 5.16 USB performance can vary greatly between Operating Systems - these results may not match yours. Probes The commercial probes I used for testing were: LPC-Link2 MCU-Link (with both official firmare and the latest DAPLink release) J-Link EDU Mini (in J-Link mode for comparison to CMSIS-DAP) STLink v3 (onboard debugger for Nucleo-H743ZI2) (STLink mode for comparison to CMSIS-DAP) Dev boards I also tested for performance: stm32f411 USB-C pill (ARM WeAct CMSIS-DAP firmware) Raspberry Pi Pico (DapperMime, RustyProbe and rust-dap firmware) STLink V2 clone (STLink mode, latest firmware, for comparison to CMSIS-DAP) stm32f103 blue pill DAP42 I also tested the BBC Microbit V2 with its onboard debugger, as this board is one of the recommended boards for folks new to Embedded Rust. Targets I tested each of the above external probes against the following Microcontrollers: RP2040 STM32H743ZI ATSAMD51 The speeds achieved for each target were identical (as you might expect) so I will only show graphs using STM32H7 as a target, since that was supported by the most probes. The MicroBit V2 debugger was tested against NRF52833 (the MCU on the Microbit V2), but is listed in the graphs next to everything else to keep things simple. Software For testing I used the benchmark example from the probe-rs repo. The original version only lets you choose a few SWD frequencies - I removed this check so I could get a few more data points. The list of frequencies tested (in KHz): 100, 200, 300, 600, 1200, 2400, 4800, 10000, 20000, 40000, 80000, 100000, 200000 Note that probes are free to choose their own frequency based on these requests, so sometimes a probe will perform better/worse than you would expect at a particular frequency. Sometimes instead of limiting the frequency the probe rejected it or could not connect at this frequency. At these points the graph will show no data. The RTT tests were done with firmware that effectively boils down to loop { rprint!("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\r\n"); } This may or may not be representative of what is in your code. RTT throughput is measured with a very basic program and should not be considered accurate, but it should be good enough to provide relative performance. https://github.com/9names/stdoutbytecount Results No probe achieved greater performance at a requested speed above 40MHz, so graphs are plotted up to 80MHz. Each graph has either write or read performance, since they are measured seperately and are often different. All probes Full-speed probes It’s very hard to see the performance of the USB Full Speed probes when plotted against the high-speed ones. Here are some graphs with the USB High Speed probes removed. Write performance for USB-C pill and rustyprobe are identical, so they overlap perfectly. rustyprobe is slightly slower on read at lower frequencies. dap42 always uses the same frequency (internally it’s hardcoded to 10Mhz SWD) so performance for that probe is always the same regardless of requested frequency. rust-dap also runs at a fixed frequency. CMSIS-DAP V2 firmware is roughtly twice as fast as CMSIS-DAP V1 firmware on USB Full Speed Comparison against non-CMSIS-DAP probes Since hsprobe is clearly the fastest CMSIS-DAP probe in my testing, I thought it might be interested to compare it’s performance vs the proprietary probes supported by probe-rs. I did not expect either of the STLinks to perform this well, to be honest. It is nice to know you don’t need an expensive probe to get good performance. RTT performance My assumption was that read/write throughput would have a direct correlation with RTT throughput, and that’s mostly true. One outlier here is MCU-Link running DAPLink firmware, which manages to acheive nearly twice the RTT throughput despite having lower read/write performance than the default MCU-Link firmware. Conclusion My main takeaways from this testing: CMSIS-DAP is not a very efficient protocol. The data rates achieved by the high-speed probes are below what could be achieved over USB Full Speed, and the Full Speed ones are even slower. There are plenty of gains to be had by adding extensions like the hardware vendors do, while still preserving the universal compatibility of the standard. The performance of all USB Full Speed CMSIS-DAP V1 probes are basically equivalent, and the same seems to be true for V2 though my sample size is small here. I would not recommend DAP42 or rust-dap if care about low-speed connections (long wires, etc) since it won’t honour the requested speeds. HSProbe is the fastest CMSIS-DAP probe that I own STLink performance is better than expected. The USB Full Speed STLink V2 being almost the same performance class as the cheaper USB High Speed probes was quite surprising. The V3 being twice as fast as HSProbe is also not what I expected, but obviously the limitation is that you can only debug STM processors with this probe. JLink performance, even without using their DLL or proprietary protocol, is better than I expected. I was anticipating it being beaten by the Full Speed probes, and this is not the case. It’s still not good though. And if you want RTT, there are better CMSIS-DAP options. Data If you’d prefer to see the raw data or make your own graphs, download the data in CSV from here If you have enjoyed this content, please consider sponsoring probe-rs I have no affiliation, but without their software I could not have done any of this testing. Plus, we all benefit when our tools improve. https://github.com/sponsors/probe-rs

9names.github.io · 9names’ projects

0
0
0