51552
Programming & AI: Tips 💡 Articles 📕 Resources 👾 Design Patterns 💎 Software Principles ✅ 🇳🇱 Contact: @MoienTajik 🎯 Buy ads: https://telega.io/c/ProgrammingTip
Amazon Interview Questions: The Ultimate Preparation Guide 🔖
Getting an interview at Amazon is a major accomplishment. With thousands of applicants every year and intense competition, securing an interview slot is an achievement in itself. Now you need to put in the work to make sure you ace the interview process. ✔️
In this comprehensive guide, we will cover everything you need to know to crush your Amazon interviews. ⚡️
[ Article ] : https://www.designgurus.io/blog/amazon-interview-questions-guide
〰️〰️〰️〰️〰️〰️
#Interview #Amazon
@ProgrammingTip
Vuestic Admin 3.0 🔑
Vuestic Admin is an open-source admin template based on Vue 3, Vite, Pinia, and Tailwind CSS, developed and supported by the Epicmax Team. It’s no longer just a collection of components; now, it’s packed with engaging, interactive pages designed to enhance your projects. 🚀
What pages do developers most often need? Dashboard, Settings Page, Profile, User and Project List, Login, Billing, Pricing Plans — they are all already in Vuestic Admin. ✔️
Features 🔧:
• Vue 3, Vite, Pinia, and Tailwind CSS - Fast and efficient development
• Dark Theme - Modern and eye-catching
• Global Configuration - Effortless customization
• Accessibility - Inclusive and user-friendly
• i18n Integration - Easy localization for global reach
• Educational Resource - Ideal for learning and improving skills
• Responsive Design - Adapts seamlessly to all devices
• Professional Support - Reliable help from the experts
• Highly Customizable - Tailor to your project’s style
[ Live Demo ] : https://admin.vuestic.dev
[ GitHub ] : https://github.com/epicmaxco/vuestic-admin
〰️〰️〰️〰️〰️〰️
#Vue #Vuestic #AdminPanel #Dashboard
@ProgrammingTip
The ultimate guide for making the best career choices in Tech 🧑🏻💻
Denilson Nastacio shares a structured framework for career success, likening it to Maslow's Hierarchy of Needs. He highlights the importance of aligning one's career with personal values and market demands, offering insights into the tech industry's evolving landscape. ✔️
Key Takeaways 🔑:
• Employability is foundational, emphasizing education, skills, and market relevance.
• Compensation & Stability ensure job adequacy and a supportive environment.
• Growth & Development demand continuous learning and skill enhancement.
• Work-Life Balance & Well-Being focus on mental and physical health.
• Purpose & Meaning represent the pinnacle, aligning personal values with professional careers.
[ Article ] : dnastacio/c18768d32598" rel="nofollow">https://medium.com/@dnastacio/c18768d32598
〰️〰️〰️〰️〰️〰️
#Tech #CareerPath #Growth
@ProgrammingTip
Spotube 🎸
Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile! 🎧
Features ✔️:
• 🚫 No ads
• ⬇️ Downloadable tracks
• 🖥 📱 Cross-platform support
• 🪶 Small size & less data usage
• 🕵️ Anonymous/guest login
• 🕒 Time synced lyrics
• ✋ No telemetry, diagnostics or user data collection
• 🚀 Native performance
• 📖 Open source/libre software
• 🔉 Playback control is done locally, not on the server
[ GitHub ] : https://github.com/KRTirtho/spotube
〰️〰️〰️〰️〰️〰️
#OpenSource #Spotify
@ProgrammingTip
🔍 Challenge: Create a compact Maze Game in C# under 2KB without .NET Runtime, Small enough to fit in a QR Code 🤔
👨💻 Process:
• Self-Contained: Includes all necessary components to run on any OS. ✔️
• Game Type: A graphical maze, utilizing Win32 APIs, avoiding WinForms. ⭐️
• Size Reduction Steps:
1- Initial Size: 64MB (with CoreCLR)
2- Post-Compression: 35.2MB
3- IL Trimming Applied: 10MB
4- Native AOT Compilation: 1.13MB
5- Removing Unused Features: 923KB
6- Using bflat Compiler: 882KB
7- bflat with Zerolib: 9KB
8- Direct PInvoke: 8KB
9- Eliminating Debugging and Relocations: 7KB
10- Targeting x86 Architecture: 6.5KB
11- Final Step with Crinkler Linker: 1,936 Bytes
🎉 Outcome: Achieved a C# game small enough to fit in a QR code!
[ Full Article 🔗 ] : https://migeel.sk/blog/2024/01/02/building-a-self-contained-game-in-csharp-under-2-kilobytes
〰️〰️〰️〰️〰️〰️
#CSharp #DotNet #Optimization #LowLevel
@ProgrammingTip
📉 BTC above $44k – time for a big short?
Many public traders have become emotional, so I want you to see a different perspective. 50 Satoshi identified several strong signals indicating a soon correction.
He is sharing this info for free. Follow his channel to stay informed - @fifty_satoshi
Introducing .NET Aspire: Simplifying Cloud-Native Development with .NET 8 🔥
.NET Aspire is an opinionated stack for building resilient, observable, and configurable cloud-native applications with .NET. It includes a curated set of components enhanced for cloud-native by including service discovery, telemetry, resilience, and health checks by default. 👍
Sample Usage:
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddRedisContainer("cache");
var apiservice = builder.AddProject<Projects.AspireApp_ApiService>("apiservice");
builder.AddProject<Projects.AspireApp_Web>("webfrontend")
.WithReference(cache)
.WithReference(apiservice);
builder.Build().Run();
🚀 For those aiming to manage web & mobile apps in their .NET project, discover Bit. Experience seamless integration, PWA, SSR, SEO-friendly, optimized project templates, and a set of standard components. An open-source gem with an MIT license, tailored just for C# .NET enthusiasts.
Love it? Check out their GitHub repo and give them a ⭐!
Repository Link
Raycast 🔥
Raycast is a blazingly fast, totally extendable launcher for MacOS. It lets you use AI (ChatGPT) directly from your launcher, complete tasks, calculate, share common links, and much more. 🔝
[ Website ] : https://www.raycast.com
〰️〰️〰️〰️〰️〰️
#MacOS #Launcher #RayCast
@ProgrammingTip
WireMock.NET 😮
WireMock.NET is a .NET library for stubbing and mocking HTTP services. With WireMock.NET, you can define the expected responses for particular requests, and the library will intercept and manage those requests for you. ✔️
This allows for easy testing of the code that makes HTTP requests, without having to rely on the actual external service being available and without hacking HttpClient. 🆒
Sample code snippet:
[Test][ Blog ] : https://cezarypiatek.github.io/post/mocking-outgoing-http-requests-p1
public async Task sample_WireMock_usage()
{
// Setup WireMock.Net server
using var wireMock = WireMockServer.StartWithAdminInterface(port: 1080, ssl: false);
// Setup WebApplicationFactory
await using var appFactory = new WebApplicationFactory<Program>().WithWebHostBuilder(builder =>
{
builder.ConfigureAppConfiguration(configurationBuilder =>
{
// Override downstream service addresses pointing to WireMock address
configurationBuilder.AddInMemoryCollection(new Dictionary<string, string>
{
["ExternalServices:WeatherService"] = "http://localhost:1080"
});
});
});
// Prepare stub for outgoing request
wireMock
.Given(
Request.Create()
.WithPath("/api/v1.0/weather")
.WithParam("lat", "10.99")
.WithParam("lon", "44.34")
.UsingGet()
)
.RespondWith(
Response.Create()
.WithStatusCode(200)
.WithHeader("Content-Type", "application/json; charset=utf-8")
.WithBodyAsJson(new
{
temp = 298.48,
feels_like = 298.74,
temp_min = 297.56,
temp_max = 300.05,
pressure = 1015,
humidity = 64
})
);
// Automate tested app
}
ASP.NET Core Developer Roadmap in 2023 🔝
Roadmap to becoming an ASP.NET Core developer in 2023 🚀
[ GitHub ] : https://github.com/MoienTajik/AspNetCore-Developer-Roadmap
〰️〰️〰️〰️〰️〰️
#AspNetCore #DotNet #DotNetCore #CSharp
@ProgrammingTip
ChilliCream GraphQL Platform 🌶
The ChilliCream GraphQL Platform, at its core, is a new way to create powerful Backends. HotChocolate, .NET GraphQL server, connects any service or data source and creates a cohesive service to offer your consumers a unified API. 💎
Hot Chocolate: GraphQL server to create GraphQL endpoints and merge schemas. ✅
Banana Cake Pop: GraphQL IDE to explore, request and analyze any GraphQL endpoint. 🌐
Strawberry Shake: GraphQL client to fetch data from any GraphQL endpoint. 🔁
Green Donut: DataLoader to solve the N+1 problem. 🔂
[ GitHub ] : github.com/ChilliCream/hotchocolate
〰️〰️〰️〰️〰️〰️
#GraphQL #DotNet #AspNetCore
@ProgrammingTip
Newsletter 🗞
In this newsletter, we will talk about the following:
• Retry patterns ♻️
• Evolution of the Netflix API architecture 🔝
• How does stop loss work❓
• Chaos Engineering 🤯
[ Article ] : https://kutt.it/newsletter1
〰️〰️〰️〰️〰️〰️
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
Nuke Build 🗂
As C# developers, we are spoiled with a great language and awesome IDEs.
Why do most automation systems never really match the level of convenience and integration that we're used to?
NUKE is different. 💎
It is fully based on C# console applications and uses the type system to its full extent.
You want your auto-completion, package management, debugging, refactorings, formatting, and navigation back? It’s available right there❗️
[ Website ] : https://nuke.build/
[ GitHub ] : github.com/nuke-build/nuke
〰️〰️〰️〰️〰️〰️
#CSharp #Dotnet #BuildSystem
@ProgrammingTip
Looking inside ConfigurationManager in .NET 6 ✅ConfigurationManager was added to support ASP.NET Core's new WebApplication model, used for simplifying the ASP.NET Core startup code. 🧹
However ConfigurationManager is very much an implementation detail. It was introduced to optimise a specific scenario (which I'll describe shortly), but for the most part, you don't need to (and won't) know you're using it.
In this post, We take a look at the ConfigurationManager class, why it was added, and some of the code used to implement it.
[ Article ] : https://kutt.it/cfg-mgr
〰️〰️〰️〰️〰️〰️
#DotNet #AspNetCore
@ProgrammingTip
Bloom Filters 🆒
Imagine ensuring web safety by identifying malicious links without storing massive data. Traditional methods involve keeping a huge list of bad links, consuming substantial storage and bandwidth. Enter Bloom Filters - a genius method allowing us to significantly reduce storage needs (up to 82% smaller) with a minimal error rate. 👾
For instance, instead of a 20MB list for 1,000,000 links, a Bloom Filter achieves this with just 3.59MB, accepting a tiny error chance (0.0001%). Even more impressive, with a 0.1% error tolerance, the size shrinks to 1.8MB. This technique was even utilized by Google Chrome until 2012. ✔️
Bloom Filters offer a balance between efficiency and accuracy. For critical checks, it pairs with a database API for zero false positives. A practical, space-saving solution for modern web browsers! ⚡️
[ Article ] : https://samwho.dev/bloom-filters
〰️〰️〰️〰️〰️〰️
#Algorithm #BloomFilters
@ProgrammingTip
Browserless | Headless browser automation, without the hosting headaches 🆒
Browserless allows remote clients to connect and execute headless work, all inside of docker. It supports the standard, unforked Puppeteer and Playwright libraries, as well offering REST-based APIs for common actions like data collection, PDF generation and more. ✔
Sample 🐞:
import puppeteer from "puppeteer";
// Try changing this! 👇
const URL = "/channel/s/ProgrammingTip";
const main = async () => {
const browser = await puppeteer.connect({
browserWSEndpoint: `wss://chrome.browserless.io`,
});
const page = await browser.newPage();
await page.goto(URL);
return page.screenshot();
}
0xCAFE ☕️
Your daily dose of tech and science, tailored for the curious minds of software developers and tech enthusiasts! 🌐🚀
Features ✔️:
• 📰 Latest tech and science news
• 🛠️ Insights and in-depth analysis
• 👨💻 For software developers & tech buffs
• 🤖 Curated with the help of AI technology
• 🧠 Thought-provoking content
• 🗓️ Daily delivery to your inbox
• 📚 Access to newsletter archive
• 🌟 No spam, just quality content
Stay updated, stay ahead! 🚀
🔗 Subscribe here: https://0xcafe.news
🆕 Latest edition: https://archive.0xcafe.news/29-Jan-2024
〰️〰️〰️〰️〰️〰️
#TechNews #SoftwareDevelopment #Science
MeiliSearch: The Fast, Open-Source Search Engine 🔍🚀
MeiliSearch is a powerful, open-source search engine written in Rust. Designed for speed and ease of use, it's the perfect choice for developers looking to implement search capabilities in their applications. 🔝
Key Features:
• Lightning-fast search responses ⚡️
• Typo-tolerance for better user experience ✔️
• Simple to set up and integrate 🛠
• Customizable ranking rules for tailored search results 🔧
• Open-source and fully documented 📚
[ GitHub ] : https://github.com/meilisearch/meilisearch
〰️〰️〰️〰️〰️〰️
#MeiliSearch #SearchEngine
@ProgrammingTip
The System Design Primer ✔️
System design is a broad topic. There is a vast amount of resources scattered throughout the web on system design principles. 🎨
This repo is an organized collection of resources to help you learn how to build systems at scale.
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards. 🆒
[ GitHub ] : https://github.com/donnemartin/system-design-primer
〰️〰️〰️〰️〰️〰️
#SystemDesign #Design #Scale #Interview
@ProgrammingTip
Finding developer jobs abroad 🌍
A friend of mine is operating the job board Relocate.me. The website is built around and focused entirely on tech jobs that offer visa/relocation assistance.
If working abroad is something you're interested in, consider checking it out.
Here's the link to view available international job opps:
🔗 https://relocate.me/search/
Also, make sure to subscribe to their Telegram channel to get alerts of new jobs, useful relevant tips, and more:
👉 @relocateme
⏳ "The future is purchased by the present." - Samuel Johnson
Are you simply spending today, or investing in tomorrow? With Oliver's three decades of trading insights, transform each financial decision into a step toward a brighter, self-crafted future.
⛓ Every day, messages pour in from followers who've broken their job chains thanks to my guidance. Isn't that the best thanks for my hard work?
🔗 Shape your tomorrow. Dive into Oliver's realm.
/channel/+PhUXi7FlaTlmYjQ0
.NET 8 - Keyed service dependency injection container support 🔝
Keyed services are useful when you have an interface/service with multiple implementations that you want to use in your app. What's more, you need to use each of those implementations in different places in your app. ☄️
Sample:var builder = WebApplication.CreateBuilder(args);[ Article ] : https://andrewlock.net/exploring-the-dotnet-8-preview-keyed-services-dependency-injection-support
builder.Services.AddKeyedSingleton<INotificationService, SmsNotificationService>("sms");
builder.Services.AddKeyedSingleton<INotificationService, EmailNotificationService>("email");
builder.Services.AddKeyedSingleton<INotificationService, PushNotificationService>("push");
〰️〰️〰️〰️〰️〰️
#DotNet #DotNetCore #AspNetCore #CSharp
@ProgrammingTip
Check out new C# 12 preview features! ⚡️
Three new features for C# 12 😮 :
1️⃣- Primary constructors for non-record classes and structs :
public class Student(int id, string name, IEnumerable<decimal> grades)2️⃣- Using aliases for any type:
{
public Student(int id, string name) : this(id, name, Enumerable.Empty<decimal>()) { }
public int Id => id;
public string Name { get; set; } = name.Trim();
public decimal GPA => grades.Any() ? grades.Average() : 4.0m;
}
using Measurement = (string, int);3️⃣- Default values for lambda expression parameters:
public void F(Measurement x)
{ }
var addWithDefault = (int addTo = 2) => addTo + 1;
addWithDefault(); // 3
addWithDefault(5); // 6
[ Article ] : https://devblogs.microsoft.com/dotnet/check-out-csharp-12-preview
GitHub Copilot X: The AI-powered developer experience 🏳️
GitHub Copilot is evolving to bring chat and voice interfaces, support pull requests, answer questions on docs, and adopt OpenAI’s GPT-4 for a more personalized developer experience. 🆒
[ Article ] : https://kutt.it/CopilotX
〰️〰️〰️〰️〰️〰️
#GitHub #AI #ChatGPT
@ProgrammingTip
WebChatGPT 🔝
This browser extension adds web access capability to ChatGPT. Get much more relevant and up-to-date answers from the chatbot! 🆒
[ GitHub ] : github.com/qunash/chatgpt-advanced
〰️〰️〰️〰️〰️〰️
#ChatGPT
@ProgrammingTip
Diagrams - Diagram as Code for prototyping cloud system architectures 🎨
Diagrams lets you draw the cloud system architecture in Python code. It was born for prototyping a new system architecture design without any design tools. ✅
You can also describe or visualize the existing system architecture as well. Diagrams currently supports main major providers including: AWS, Azure, GCP, Kubernetes, Alibaba Cloud, Oracle Cloud etc ...
It also supports On-Premise nodes, SaaS and major Programming frameworks and languages. 🌀
[ GitHub ] : github.com/mingrammer/diagrams
〰️〰️〰️〰️〰️〰️
#Diagram #Architecture #DiagramAsCode
@ProgrammingTip
Source Link 🐞
Source Link is a language- and source-control agnostic system for providing first-class source debugging experiences for binaries.
The goal of the project is to enable anyone building NuGet libraries to provide source debugging for their users with almost no effort.
Microsoft libraries, such as .NET Core and Roslyn have enabled Source Link.
Source Link is supported by Microsoft. ✅
〰️〰️〰️〰️〰️〰️
#DotNet #CSharp #Debugging
@ProgrammingTip
Functional architecture - The pits of success ✅
Object-oriented architects and developers have, over the years, learned many hard lessons about successfully designing systems with object-oriented programming. This has led to a plethora of ‘best practices’ that are painfully passed on from older to younger generations via books, lectures, consulting, blog posts, etc.
Many of these ‘best practices’ must be explicitly taught, because they don’t evolve naturally from object-oriented programming. Surprisingly, many of these hard-won ‘best practices’ fall naturally into place when applying functional programming.
Instead of deliberate design, functional programming forms pits of success where you naturally fall into the same ‘best practices’ that you have to deliberately work for in object-oriented programming.
In this session, you’ll learn about a handful of such ‘best practices’, and how functional programming automatically leads you there, without your explicit effort.
[ YouTube ]: youtu.be/US8QG9I1XW0
〰️〰️〰️〰️〰️〰️
#Architecture #Functional #Paradigms
@ProgrammingTip
Lowering in C#: What's really going on in your code? 👾
If you're attending NDC you probably think you know what a foreach loop does - it iterates over a collection, right? ✅
BUT do you know how? Do you know what the C# compiler does when you write a foreach loop? What about a lambda expression? Or the re-entrant magic that is a yield return statement❓
In this session we'll dive into Roslyn, the C# compiler, and learn about lowering and how it helps the compiler do its job, and what it does to your code. In the process you'll gain the skills to identify some of the common performance pitfalls of .NET, as well as just get a deeper understanding of what the code you write really does. 💎
[ YouTube ] : https://youtu.be/gc1AxbNybvw
〰️〰️〰️〰️〰️〰️
#CSharp #LowLevel #Compiler #Roslyn
@ProgrammingTip