Dev Miscellaneous – Telegram
Dev Miscellaneous
342 subscribers
884 photos
6 videos
5 files
917 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://news.1rj.ru/str/+r_fUfa1bx1g0MGRk
Download Telegram
Does Your Code Pass The Turkey Test?

The article discusses the importance of writing code that can handle cultural differences, using Turkey as an example. The author highlights several common programming pitfalls that can arise when software is used in Turkey, such as issues with date formatting, decimal separators, and character encoding. The article provides specific examples of these problems and explains how to properly address them by following best practices for internationalization and localization. The key takeaway is that if your code can handle the unique quirks of the Turkish market, it will likely work well in most other regions as well. The article serves as a useful reminder to always consider cultural nuances when developing software for a global audience.

https://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html

@DevMisc
#bugs #csharp #misc
😁5👍1
1😁1🤯1😢1
You wouldn't download an AI

- Artificial Intelligence is increasingly integrated into various applications, particularly by corporations with significant financial resources.
- On-device AI models enhance user experience by providing fast, offline access for tasks like photo filtering and object detection.
- Microsoft's Seeing AI app serves as a notable example, offering accessibility features, including currency detection for visually impaired users.
- Android apps are packaged as APK files, which contain all necessary components, including AI model files.
- The currency detection model within Seeing AI appears to be encrypted, presenting challenges for direct access and analysis.
- Tools like apktool can be used to decompile APKs and inspect their contents, revealing encrypted files and potential AI models.
- TensorFlow Lite is identified as the framework used for running AI models in the Seeing AI app, which facilitates model loading and inference.
- Frida is introduced as a dynamic instrumentation toolkit that allows for the alteration of app behavior and method tracing.
- By using Frida, the author successfully extracted the currency detection model from the app, validating its contents with a neural network visualization tool.
- The article emphasizes the importance of intellectual property rights regarding AI models, advising users to obtain permission before using or modifying extracted models.


https://altayakkus.substack.com/p/you-wouldnt-download-an-ai

@DevMisc (🟠 comments)
#rev #android #misc
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
Pitfalls of Safe Rust 🦀

When people say Rust is a “safe language”, they often mean memory safety. And while memory safety is a great start, it’s far from all it takes to build robust applications.


https://corrode.dev/blog/pitfalls-of-safe-rust/

@DevMisc (🟠 comments)
#rust #security #learn
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Exploiting vulnerabilities in Cellebrite UFED and Physical Analyzer from an app's perspective (2021)

Cellebrite makes software to automate physically extracting and indexing data from mobile devices. They exist within the grey – where enterprise branding joins together with the larcenous to be called “digital intelligence.” Their customer list has included authoritarian regimes in Belarus, Russia, Venezuela, and China; death squads in Bangladesh; military juntas in Myanmar; and those seeking to abuse and oppress in Turkey, UAE, and elsewhere. A few months ago, they announced that they added Signal support to their software.


https://signal.org/blog/cellebrite-vulnerabilities

@DevMisc
#security #signal #writeup
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
Blocky Planet — Making Minecraft Spherical

This tech demo explores creating a destructible, procedurally generated spherical world with Minecraft-style blocks in the Unity engine. The central challenge involves mapping a cubic grid onto a sphere without major distortion, which is solved using a "quad sphere" technique that projects a cube's faces outward. To handle distortion at varying depths, the planet is built from concentric shells, where outer layers have more blocks than inner ones to keep block size consistent. The project also required developing custom player gravity that pulls towards the planet's core, using 3D noise for seamless terrain generation, and creating a system for placing structures that can navigate the complex geometry between the planet's different sectors and shells.


https://www.bowerbyte.com/posts/blocky-planet/

@DevMisc (🟠 comments)
#gamedev #graphics #fun
Please open Telegram to view this post
VIEW IN TELEGRAM