programmingtip | Technologies

Telegram-канал programmingtip - Programming Tips 💡

52347

Programming: Tips 💡 Articles 📕 Resources 👾 Design Patterns 💎 Software Principles ✅ 🇳🇱 Contact & Ads: @MoienTajik

Subscribe to a channel

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

​​"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

Читать полностью…

Programming Tips 💡

.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);
builder.Services.AddKeyedSingleton<INotificationService, SmsNotificationService>("sms");
builder.Services.AddKeyedSingleton<INotificationService, EmailNotificationService>("email");
builder.Services.AddKeyedSingleton<INotificationService, PushNotificationService>("push");


[ Article ] : https://andrewlock.net/exploring-the-dotnet-8-preview-keyed-services-dependency-injection-support

〰️〰️〰️〰️〰️〰️
#DotNet #DotNetCore #AspNetCore #CSharp
@ProgrammingTip

Читать полностью…

Programming Tips 💡

​​TONBanking Bug Bounty Program
PHASE II
💎

We are glad to announce our Smart Contracts Bug Bounty program and invite developers and security experts to participate and assist us.

Scope, rewards, duration:

• Scope: Smart contracts
• Severity levels: Low, Medium, High
• Phase II Prize pool: $10,000 (TONB equivalent)
• Total Prize pool: $30,000 (TONB equivalent)
• Duration of Phase II: 2 weeks

How to participate:

1. Register in the TONBanking Core chat in Telegram.

2. Get access to Smart Contracts in GitLab.

3. Select the smart contract(s) you wish to test from the list.

4. Review the code.

5. Report bugs via @tonbanking_bot.

6. Receive a reward once the bug is confirmed. 🙌


Key Links for TONBanking Bug Bounty Program:

1. Join devs community TONBanking CORE:
/channel/+cos1sHpRlxIzYjVi

For the complete TONBanking Bug Bounty Program rules, please visit the following link:
https://telegra.ph/TONBanking-SC-Bounty-Program-05-29

Читать полностью…

Programming Tips 💡

Check out https://chadview.com

It’s ChatGPT-powered copilot for Job Interviews, Technical Sales, and Voice support. Extension listens to your Zoom, Google Meet, and Teams calls in real-time and answers any questions instantly.

During the video call, simply press the "Ask" button, and you will receive answers to any questions. The extension continuously records the conversation. When you press the "Ask", it reviews the previous 30 seconds, identifies the question, and generates a response in 3-4 seconds.

They give a 15-minute free trial, which you can use to practice on a Zoom call or on any interview on YouTube. Then they charge a small fee $5 for every 30 minutes.
⏱💰🎉

Subscribe at @chadview

Читать полностью…

Programming Tips 💡

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)
{
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;
}


2️⃣- Using aliases for any type:
using Measurement = (string, int);

public void F(Measurement x)
{ }


3️⃣- Default values for lambda expression parameters:
var addWithDefault = (int addTo = 2) => addTo + 1;
addWithDefault(); // 3
addWithDefault(5); // 6


[ Article ] : https://devblogs.microsoft.com/dotnet/check-out-csharp-12-preview

〰️〰️〰️〰️〰️〰️
#CSharp #DotNet
@ProgrammingTip

Читать полностью…

Programming Tips 💡

​​class Coding game TONight:
def init(Write code, Have fun, Earn crypto):
self.Write code = Write code
self.Have fun = Have fun
self.Earn crypto = Earn crypto

print(You woke up on January 19, 2038 and realized that the world has changed a lot. Gaming NPC need the help of a person who knows Programming language and they will reward with crypto TON)


Follow the link and start the game right now:
👉🏻 https://cutt.ly/47eIY4e

Читать полностью…

Programming Tips 💡

How to start making $5,000 a week in trading from anywhere in the world? 🌏

And the secret: you don't even have to learn it🤫

“But how is it possible?” - you may ask.

For this Lisa created her own Telegram channel, where every day in real-time trading sessions and signals for FREE —> /channel/+QvB41QiV1Ls5YWFh

Her subscribers have already earned more than $500,000 thanks to her signals 🔥

To join her VIP club for free, you just need to write her "ACCEPT" to @trader_lisaa and join her channel

There are only 5 places left, hurry up to reach your money goals this year 🚀

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

​​Demand for blockchain developers is on the rise all over the world.

Blockchain developers create new tools to interact with WEB 3.0. This includes deployment of smart contracts and all ways of interacting with them.

▶️ 1 500 Jobs for Solidity Developers (web3career)
▶️ 180 000$ Salary of mid-level Blockchain Developer
▶️ 60% per year Blockchain market growth (YahooFinance)

Kickstart your Web3 journey with “Profession Blockchain Developer” course.

What you get on the course:

✅ Self-paced learning to study at your own speed
✅ World-class portfolio based on real-life web 3 projects
✅ CV enhancement and job interview preparation
✅ NFT Certificate from Web3 Campus powered by Cointelegraph

After completing the course, you will be able to build a career in such companies as Revolut, Google, Binance, OpenSea, Electronic Arts.

Follow the link to sign up for the course

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

📉 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

Читать полностью…

Programming Tips 💡

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();



[ Article ] : https://devblogs.microsoft.com/dotnet/introducing-dotnet-aspire-simplifying-cloud-native-development-with-dotnet-8

〰️〰️〰️〰️〰️〰️
#DotNET #AspNetCore #CSharp #Aspire
@ProgrammingTip

Читать полностью…

Programming Tips 💡

🚀 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

Читать полностью…

Programming Tips 💡

Recently, I've been trying something crazy called ⚡ SuperCoder ⚡

An autonomous AI coding agent built using the SuperAGI framework. Currently, it can build simple coding projects and browser-based games.

As a whole, the SuperAGI open-source project enables users to build, manage and run multiple autonomous AI agents to work for you and interact with everyday tools like Slack, GitHub, DALL-E, etc. It's basically AutoGPT on Steroids

Check out the repo on GitHub (https://github.com/TransformerOptimus/SuperAGI) and Star ⭐ the project if you find it useful.

Here's a working personal finance calculator made using the SupeCoder tool:

https://youtu.be/diwEMh1UH5g

Читать полностью…

Programming Tips 💡

Money doesn't grow on trees, but don't worry friend, it grows on our trading accounts! 🤑

Every day I get messages from my subscribers that they are quitting their jobs because of me. Isn't that the best thanks for my hard work?

🚀 For a limited time only, the first 30 subscribers will have free access to our VIP channel. After that, there will be a fee to enter.

👇 Click on the link below to join our Telegram channel and start trading smarter today!
/channel/+ooEDLZy7E684ZjI0

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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]
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
}


[ Blog ] : https://cezarypiatek.github.io/post/mocking-outgoing-http-requests-p1

〰️〰️〰️〰️〰️〰️
#UnitTest #DotNet #CSharp
@ProgrammingTip

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

We built a 100% open-source, headless React framework(5.2K Stars on GitHub) for CRUD apps, so you can quickly build admin panels and dashboards while still remaining flexible.✨ 

refine seamlessly works with any custom design or UI framework you favor. For convenience, it ships with ready-made integrations for Ant Design SystemMaterial UIMantine, and Chakra UI🚀

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

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

Читать полностью…

Programming Tips 💡

The Soul of Erlang and Elixir • Saša Jurić • GOTO 2019

Whether you're developing a small web site or a large-scale distributed system, Erlang and Elixir are great tools for building server-side systems. Both languages can help you start quickly and deal with highly complex problems at a large scale. 💨

This talk aims to explain what makes Erlang and Elixir suitable for such tasks. We'll look past the syntax and the ecosystem, focusing instead on the concurrency model of these languages.

Combining a bit of high-level theory and a couple of demos, we'll examine some important properties of Erlang/Elixir concurrency, with a special emphasis on why these properties are very relevant when building highly available systems.

The talk targets experienced backend developers, but no knowledge of Erlang or Elixir is required. ✅


[ YouTube ] : youtu.be/JvBT4XBdoUE

〰️〰️〰️〰️〰️〰️
#Concurrency #Erland #Elixir
@ProgrammingTip

Читать полностью…
Subscribe to a channel