Позавчера Еврокомиссия приняла закон, который обязывает все компании без исключения использовать USB Type-C, как основной стандарт для зарядного устройства. С осени 2024 года гаджеты в Европе должны уже полностью перейти на новую схему.
Есть косвенный побочный эффект: выпуск устаревших устройств с Micro USB в Европе будет невозможен. Я вот до сих пор (редко, но бывает) наталкиваюсь на новые устройства, которые можно купить в магазине прямо сейчас, и у которых почему-то Micro USB вместо Type-C. Видимо, какие-то очень древние складские залежи.
Но куда важнее воздействие на компанию Apple. Годами в айфонах упорно отказывались делать единый стандарт зарядки. Годами люди вынуждены были заряжать не-Apple устройства одним способом, а Apple другим. Более того: даже на новых iPad уже Type-C, но на iPhone до сих пор Lightning. Чем только это не оправдывалось: скоростью, безопасностью, экосистемой. Но на самом деле оправданий нет.
Цитата из одного старого поста @amima:
«Пол Грэм, инвестор и основатель самого авторитетного стартап-акселератора YCombinator, как-то писал: «Uber is so obviously a good thing that you can measure how corrupt cities are by how hard they try to suppress it». Есть явления, общественная польза которых настолько очевидна и проверена временем, что они сами по себе являются мерилом нормы.»
Одинаковый стандарт зарядки и порта передачи данных — одна из таких вещей. Начиная от уменьшения количества проводов в каждом доме, и заканчивая возможностью стрельнуть провод вообще у любого человека, у которого он есть с собой. Со стороны Apple было очень по-мудачески годами выдумывать оправдания вместо перехода на Type-C. Ну, теперь, если они хотят продолжать торговать в Европе, у них не останется выхода. Ждём на очередной конференции объявление об этом, как о революционном собственном решении.
#gadgets
The time for fun 🙂 one of the Github users, Sau Sheong Chang (sausheong) ported and build the arcade video game calls ‘Space Invaders’ using GoLang and wrote step-by-step instructions to repeat it. Enjoy a good nostalgy post with code examples, source code, and demo =)
#development#examples
https://github.com/sausheong/invaders/blob/master/README.md
Source code here https://github.com/sausheong/invaders
GoLang + Apache Kafka + Amazon Dynamo DB = ?
A quick-readable article about interesting way of a service architecture (eg. LocationRepository here is). Also in the end of this article you’ll find good links for further reading 😉
#architecture#examples#development
https://medium.com/@self.maurya/building-a-microservice-with-with-golang-kafka-and-dynamodb-part-i-552cc4816ff
https://github.com/andrewgodwin/channels-examples
This is a repository of simple, well-commented #examples of how to implement a few different #site features in #Django Channels.
Do you think about gRPC usage? Here is a great post about step-by-step guide to gRPC framework development. You’ll find here code examples, theory introductions and useful tips. Enjoy learning! 🙂
#manual#development#microservices#examples
https://medium.com/@shijuvar/building-high-performance-apis-in-go-using-grpc-and-protocol-buffers-2eda5b80771b?source=linkShare-b636419a57de-1516656055
#typescript#examples#nextjs#vercel
Vercel offers ready-to-use templates and examples that help you quickly start web projects with best practices and optimized settings, especially for frameworks like Next.js. These templates save you time by handling setup and deployment details, letting you focus on coding. You can also contribute your own examples easily using provided commands and guidelines. Vercel automatically checks your code style and quality before commits, ensuring clean code. Plus, it integrates with Git and runs tests before deployment to catch bugs early. This makes building, deploying, and maintaining fast, reliable web apps much easier and faster for you.
https://github.com/vercel/examples
http://www.giantflyingsaucer.com/blog/?p=5557
In spring 2014 Python 3.4 shipped a provisional package (#asyncio) which according to the docs “provides infrastructure for writing single-threaded #concurrent code using #coroutines, #multiplexing I/O access over #sockets and other resources, running network clients and servers, and other related primitives“. I can’t possibly cover everything in this article but I can introduce some of the things you can do with it. As per my New’s Years resolution I’ll be building these #examples using Python 3.4.2 (Asyncio has been ported back to Python 3.3 now as well).
@lingvanexbot
Qué puede hacer este bot?
Este es un bot traductor de alta calidad basada en redes neuronales para más de 50 idiomas.
➕ Traducir cualquier texto o palabras
➕ Convertir texto a voz
➕ Dar definiciones para cualquier palabra
➕ Diccionario
➕ Buscar por ejemplos de traducciones
Idioma: Múltiple
(visto en @BotsGram_cu)
#linguistic, #translate, #define, #dictionary, #dict, #text2speech, #speech, #examples, #sentence, #words
#markdown#android#bsd#cheatsheet#cheatsheets#command_line#console#documentation#examples#hacktoberfest#help#linux#macos#man_page#manpages#manual#osx#shell#terminal#tldr#windows
The tldr-pages project offers simple, easy-to-understand help pages for command-line tools, focusing on practical examples rather than long, complex manuals. It’s great if you’re new to the command line or forget command options, as it shows the most useful commands clearly. You can access these pages through various clients or online without installing anything. This saves you time and frustration by giving quick, clear guidance on common tasks, making it easier to learn and use command-line tools effectively. Plus, you can contribute by adding or improving pages yourself. This helps you and others get fast, practical help with commands[1][4].
https://github.com/tldr-pages/tldr