Dev Miscellaneous
358 subscribers
883 photos
6 videos
5 files
912 links
A channel where you can find developer tips, tools, APIs, resources, memes and interesting contents.

Join our comments chat for more.

Comments chat (friendly :D)
https://t.me/+r_fUfa1bx1g0MGRk
Download Telegram
@.png
717.9 KB
👏1🐳1
I found a bug in SQLite

If you didn’t code it in C, it didn’t happen.

https://www.philipotoole.com/how-i-found-a-bug-in-sqlite

@DevMisc
#sqlite #c #misc
👍4
🤯10🤔1
Assertions are pessimistic, assumptions are optimistic

https://blog.regehr.org/archives/1096

@DevMisc
#c #learn #misc
👍41🖕1
Writing a Physics Engine from scratch - collision detection optimization

https://youtu.be/9IULfQH7E90

@DevMisc
#c #gamedev #learn
1🖕1
Catch-23: The New C Standard Sets the World on Fire

https://queue.acm.org/detail.cfm?id=3588242

@DevMisc
#c #learn #misc
4🖕1
🤯72😁1
Swap_8_and_9

A simple import can modify the Python interpreter.

https://kenschutte.com/python-swap-ints/

@DevMisc
#python #c #fun
🤯3🥴1
😁1
TOTP tokens on my wrist with the smartest dumb watch

- The author has replaced the logic board of a classic Casio F-91W watch with a new ARM Cortex M0+ powered board from Sensor Watch.
- The new board allows the watch to be programmed and customized, including adding features like TOTP (time-based one-time password) support for two-factor authentication.
- The author was able to set up TOTP support for their Google and GitHub accounts, allowing them to access the OTP codes directly on their wrist.
- The author also created a new "ratemeter" watchface that can be used to measure rates, such as rowing strokes or cadence.
- The document provides detailed instructions on how to add TOTP secrets to the watchface code and how the ratemeter watchface was implemented.
- The Sensor Watch project provides a clean and easy to modify set of watchfaces and complications that can be customized.
- The F-91W watch case, combined with the new programmable board, offers a powerful and hackable platform with long battery life.
- The author highlights the availability of a WASM-based emulator that makes it easy to test and play with the custom builds.
- The document mentions other interesting watchfaces available in the Sensor Watch project, including a pulsometer and orrery.
- The author recommends getting a Sensor Watch from Oddly Specific Objects, though they have no affiliation with the company.


https://blog.singleton.io/posts/2022-10-17-otp-on-wrist/

@DevMisc (🟠 comments)
#c #fun #misc
Please open Telegram to view this post
VIEW IN TELEGRAM
I Write Type Safe Generic Data Structures in C

I write type safe generic data structures in C using a technique that I haven't seen elsewhere. It involves unions and typeof, but we'll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list.


https://danielchasehooper.com/posts/typechecked-generic-c-data-structures/

@DevMisc (🟠 comments)
#c #generics #learn
Please open Telegram to view this post
VIEW IN TELEGRAM
1