teleren/devto huggingface dataset:
#2370. Longest Ideal Subsequence
Published: 2024-04-26 03:39:35


https://leetcode.com/problems/longest-ideal-subsequence/?envType=daily-question&envId=2024-04-25

```javascript
var longestIdealString = function(s, k) {
    let dp = new Array(27).fill(0);

    for (let i = 0; i < s.length; i++) {
        let diff = s[i].charCodeAt(0) - 'a'.charCodeAt(0);
        let maxi = Number.MIN_SAFE_INTEGER;

        let left = Math.max(diff - k, 0);
        let right = Math.min(diff + k, 26);

        for (let j = left; j <= right; j++) {
            maxi = Math.max(maxi, dp[j]);
        }

        dp[diff] = maxi + 1;
    }

    let max = Number.MIN_SAFE_INTEGER;
    for (let i = 0; i < 27; i++) {
        if (dp[i] > max)
            max = dp[i];
    }

    return max;
};
```
MMOexp: It combines Wild Strikes or Storm Caller
Tags: games
Published: 2024-04-26 03:37:35


24. Glass Cannon Grand Poo-Bah Build

A high-intelligence build that utilizes Crystallion sorcery for <a href="https://www.mmoexp.com/Elden-ring/Runes.html">Elden Ring Runes</a> potent attacks at close range. It pairs the Carian Regal Scepter with the Crystal Staff for a devastating magical onslaught.

Key Weapons: Carian Regal Scepter, Crystal Staff

Talismans: Magic Scorpion Charm, Graven-Mass Talisman, Ritual Sword Talisman, Urtree's Favor

Flask: Serpent's Amnion (unlimited FP for 15 seconds)

Stats: INT 80, VIG 40

23. Chainilink Flail Build (Frosty Bloody Spinerooski)

A STR/INT build that uses the Chainilink Flail to inflict both bleed and frost effects. It combines Wild Strikes or Storm Caller with a medium shield to stagger enemies and maintain hyper armor.

Key Weapons: Chainilink Flail

Talismans: Curved Sword Talisman, Rotten Winged Insignia

Flask: Thorny Cracked Tear

Stats: Strength with some Intelligence

22. Rivers of Blood Build (Pyro Naughty)

A melee combat build focusing on the Rivers of <a href="https://www.mmoexp.com/Elden-ring/Runes.html">Elden Ring Runes buy</a> Blood katana. This light-rolling, fragile character deals immense damage with optimized DEX and ARC, supported by the Flame, Grant Me Strength spell.

Key Weapons: Rivers of Blood

Talismans: Shard of Alexander, Lord of Blood, Fire Scorpion Charm, Green Turtle Talisman

Flask: Flame, Crack Tear, Dexterity-Knot Crystal Tear

Stats: VIG 35, END 25 (soft cap), DEX 55, ARC 50, FTH 15


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/prhg9dw5wm5gnacliw9c.png)
Former Sun City Group President Talks About Macao's Fierce 'Side Bet' Culture
Published: 2024-04-26 03:06:17

The former president of Macau and local junket operator Suncity Group reportedly claimed all of Enclave's licensed VIP gambling lounges offered some form of illegal "side betting."

Alvin Chow Chuck Wah's claim, pictured, came as part of a businessman's trial for his alleged involvement in money laundering and promoting illegal gambling services there, according to a report by Inside Asian Gaming. The source detailed that the 48-year-old was among 11 people arrested by Chinese police in November and was later transferred to Macau's Coloan prison until formal prosecution began.

**Warning Criticism:
**
Chinese authorities have reportedly detained an additional 10 people on similar charges since Sept. 2 in the trial of 21 defendants, which includes about 10,000 pages of evidence. Macau's public prosecutor's office is now reportedly claiming the group has benefited from illegal gambling practices, including "side bets," which involve making bets that are far larger than those represented by chips on the game table.

**General conditions:
**
However, Chau reportedly told prosecutors that "side bets," known locally as "under the table bets," were prevalent in VIP gambling lounges run by junket companies at casinos located across the street from the former Portuguese residence. In the past, executives reportedly declared that the illegal activity occurred "in all VIP halls and halls of concessions in Macau" and involved punters who were generally surrounded by "many people" and participating

According to reports, Chow is in the prosecution...

"There will be law enforcement officers who will come to the scene and ask if they have kicked out customers or engaged in behind-the-scenes betting, but behind-the-scenes betting is a verbal commitment between a gambler and a junket. Whether the verbal commitment is a cash transaction or not, legal or not, I can't answer that because I'm not a legal professional."

BY: **[릴게임사이트](https://www.reelgame.site
)**
Gavangtv - Nâng tầm trải nghiệm xem bóng đá trực tuyến của bạn
Tags: gavangtv
Published: 2024-04-26 03:03:18


[Ga vang tv](https://tylekeo.world/gavangtv/) là nền tảng trực tuyến uy tín hàng đầu dành cho những tín đồ đam mê trái bóng tròn, mang đến cho bạn cơ hội thưởng thức những trận cầu đỉnh cao mọi lúc mọi nơi. Với kho dữ liệu khổng lồ và đa dạng các tính năng vượt trội, Gavangtv hứa hẹn sẽ mang đến cho bạn trải nghiệm xem bóng đá trực tuyến hoàn hảo nhất.

**1. Kho tàng giải đấu và trận đấu phong phú:**

Gavatv sở hữu bản quyền phát sóng trực tiếp hàng loạt giải đấu bóng đá hàng đầu thế giới, bao gồm Ngoại hạng Anh, La Liga, Serie A, Bundesliga, Champions League, Europa League, World Cup, Euro, Copa America, v.v. Cập nhật liên tục lịch thi đấu và thông tin chi tiết về các trận đấu, giúp bạn không bỏ lỡ bất kỳ khoảnh khắc nào của đội bóng yêu thích.

**2. Chất lượng hình ảnh và âm thanh đẳng cấp:**

[Gavang tv](https://gettogether.community/gavangtv-thi%C3%AAn-%C4%91%C6%B0%E1%BB%9Dng-cho-nh%E1%BB%AFng-t%C3%ADn-%C4%91%E1%BB%93-b%C3%B3ng-%C4%91%C3%A1-%C4%91%E1%BA%AFm-ch%C3%ACm-trong-th%E1%BA%BF-gi%E1%BB%9Bi-b%C3%B3ng-%C4%91%C3%A1-%C4%91%E1%BB%89nh-cao/) sử dụng công nghệ truyền dẫn hiện đại, mang đến cho người xem hình ảnh sắc nét, sống động như đang theo dõi trực tiếp tại sân vận động. Âm thanh sống động, chân thực giúp bạn hòa mình vào bầu không khí cuồng nhiệt của trận đấu.

**3. Bình luận chuyên nghiệp và đội ngũ BLV dày dặn kinh nghiệm:**

Đội ngũ bình luận viên dày dặn kinh nghiệm và chuyên môn cao của Gavangtv sẽ đồng hành cùng bạn trong suốt trận đấu, mang đến những phân tích chuyên sâu, những bình luận hấp dẫn và những góc nhìn độc đáo về diễn biến trận đấu.

**4. Đa dạng tính năng tiện ích:**

* **Tua nhanh tua chậm:** Cho phép bạn quay lại những pha bóng đẹp hoặc tua nhanh đến những thời điểm quan trọng của trận đấu.
* **Xem lại trận đấu:** Bạn có thể xem lại bất kỳ trận đấu nào đã diễn ra trên Gavangtv, giúp bạn không bỏ lỡ bất kỳ khoảnh khắc nào.
* **Highlight các pha bóng đẹp:** [Gavangtv](https://pinshape.com/users/4113171-gavangtv#designs-tab-open) sẽ tự động ghi lại những pha bóng đẹp, những tình huống đáng chú ý trong trận đấu để bạn dễ dàng xem lại.
* **So sánh thống kê:** Cung cấp đầy đủ các số liệu thống kê chi tiết về trận đấu như tỷ lệ cầm bóng, số pha dứt điểm, số pha phạm lỗi, v.v. giúp bạn đánh giá toàn diện diễn biến trận đấu.
* **Cộng đồng bóng đá sôi động:** Tham gia cộng đồng Gavangtv để chia sẻ niềm đam mê bóng đá với hàng triệu người hâm mộ khác trên thế giới, bình luận, thảo luận về các trận đấu và cập nhật những tin tức bóng đá mới nhất.

**5. Giá cả hợp lý và nhiều gói cước đa dạng:**

Gavatv cung cấp nhiều gói cước đa dạng với giá cả hợp lý, phù hợp với nhu cầu và khả năng tài chính của mọi đối tượng người dùng. Bạn có thể lựa chọn gói cước theo tháng, theo mùa hoặc theo giải đấu mà bạn yêu thích.

**6. Hỗ trợ khách hàng tận tâm:**

Đội ngũ hỗ trợ khách hàng chuyên nghiệp của Gavangtv luôn sẵn sàng giải đáp mọi thắc mắc và hỗ trợ bạn sử dụng dịch vụ một cách tốt nhất.

**Hãy truy cập Gavangtv ngay hôm nay để trải nghiệm những trận cầu đỉnh cao và tận hưởng niềm đam mê bóng đá của bạn!**
winglang
Published: 2024-04-26 02:51:38

# Infrastructure and code in one language

A unified programming model that combines both infrastructure and application code into a single programming language.

1. Compiles to IaC (TF, CDK, etc.) & Javascript
2. Infrastructure resources are first-class citizens
3. Automatic IAM policies and other cloud mechanics

# Local simulation

Stay in your creative flow with minimal context switching and immediate feedback
‍
1. Run your cloud application in your local environment
2. Visualize, interact, and debug locally
3. Write unit test for complete cloud architectures

# Apply DevOps at the right level

Use any cloud service and compile to multiple cloud providers and provisioning engines, with full control over how your infrastructure is configured and deployed
‍
1. Cloud-agnostic SDK for maximum portability
2. Customizable infrastructure through plugins
3. Supports any provider in the Terraform ecosystem

# Designed for humans

Easy to learn and interoperates with existing stacks and tools
‍
1. Syntax inspired by modern application development languages like TypeScript, JavaScript, Swift, and more
2. Statically-typed and simple language with powerful IDE tooling
3. Interoperates with npm modules, CDK constructs and Terraform providers

#devops #winglang
Sort one column by another column in powerBI
Tags: datascience, learning, writing, machinelearning
Published: 2024-04-26 02:49:35

When you are given a task to complete and you find out that you need to sort a column by another column, for example, sorting the month name by the month number, this is what to do.

After you have added the month name to a visual, sometimes, it will be in alphabetical order; April, August, December and so on as shown in the picture below. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x7cx5urts5clok8xy5d3.PNG)

Sometimes, it might not be in alphabetical order. Don't panic. Just read on.

## Set the column to use for sorting
To sort a column, you need a column with a number for each month in order to properly carry out the task. Any graphic in the report that has a sorted column will follow the order specified in the sorting. The months in the sample below are arranged alphabetically, but they ought to be arranged chronologically.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lptbf59xslpv8ktx3ot6.PNG)

## Steps to carry out this task:
1. Select the column that you want to sort, in this case, month name. Note that the months in the graph are sorted alphabetically. In the Fields pane, the Column Tools tab becomes active.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6pqyjf4p7nx6y5irxx6h.PNG)

2. Select Sort by Column, then select the field you want to sort the other field by, which is, Month Number in this case.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kgx0ihjp2zr9lafhfvyg.PNG)

3. The graph automatically sorts chronologically by the number of months in a year.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qlz1xp2sxqkspd7jb6pm.PNG)
Flow Engineering : Why It’s Future of Coding in the Age of AI
Tags: machinelearning, llm, rag, development
Published: 2024-04-26 02:47:43

Revolutionary approach to reshape the way we write code with the aid of AI

[Full Article](https://medium.com/@learn-simplified/flow-engineering-why-its-future-of-coding-in-the-age-of-ai-a397fe93a77a)

Img Source : https://arxiv.org/pdf/2401.08500.pdf

• What's this Article About?
This article introduces the concept of "Flow Engineering," a new approach to leveraging AI for code generation that addresses the limitations of traditional prompt engineering methods.

• Why not just Prompt LLM for Code Generation?
Large language models (LLMs) struggle with the precise syntax and nuances required for complex code generation tasks. Traditional prompt engineering methods are proving inadequate for tackling such challenges.

• Beyond Prompts: Flow Engineering for Code Generation
Flow engineering, pioneered by researchers at CodiumAI, proposes a test-based, multi-stage, iterative approach called AlphaCodium to overcome the limitations of prompt engineering for code generation.

• How does this flow engineering really work?
Flow engineering involves two main phases:
1. Problem Understanding: The AI summarizes the challenge, analyzes test cases, and brainstorms potential solutions.
2. Building and Refining with AI: The AI generates new test cases, writes an initial code draft, and engages in an iterative feedback loop of testing, analysis, and code refinement.

• What does it mean for a developer and our future of programming?
Flow engineering represents a significant shift in how code is written and software is developed. It introduces a cooperative relationship between human developers and AI coding assistants, potentially speeding up development cycles, reducing bugs, and fostering a more collaborative and efficient coding environment.

• My Most Important Take Away from the Paper
A key insight behind AlphaCodium's design is leveraging AI's strength in generating additional test cases, which improves the chances of catching edge cases and corner scenarios. The system employs various innovative techniques, such as structured output, semantic reasoning, modular code generation, and exploration-encouraging strategies, contributing to its remarkable performance.

• Closing Thoughts
Flow engineering changes the way we think about coding with AI. Instead of expecting AI to solve the entire problem at once, it teaches us to work with AI, breaking the coding problem into smaller steps, guiding the AI through tests and iterations, and ultimately leading to better results.
Ricco Hải Dương cung cấp sản phẩm gạch ốp lát chính hãng giá tốt tại Hải Dương và Hưng Yên
Tags: webdev, javascript, beginners, programming
Published: 2024-04-26 02:26:44

"Ricco Hải Dương phân phối các mẫu gạch ốp lát đẹp loại ưu đến từ các nhà sản xuất, thương hiệu nổi tiếng nhất hiện nay và phân loại sản phẩm rõ ràng 
để khách hàng dễ dàng lựa chọn. Gạch ốp lát do Ricco Hải Dương cung cấp đã được tin tưởng sử dụng tại hàng nghìn công trình trên toàn quốc: 
từ những công trình dân sinh đến những công trình trọng điểm, tầm cỡ lớn."											
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41dj34jewbufd2wjpclb.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yexxhxfzry3ph3nu1ho1.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3q7gj7o4wtvluwps6epw.jpg)
Car buying
Published: 2024-04-11 18:34:38

Embarking on the journey of [car buying](https://clearcar.ca/) can be both exciting and overwhelming. At our dealership, we strive to simplify this process and make it an enjoyable experience for you. With a vast inventory of vehicles spanning various makes, models, and price ranges, we offer something for every taste and budget.

Our team of knowledgeable and friendly sales professionals is here to assist you every step of the way. Whether you're a first-time buyer or a seasoned car enthusiast, we're committed to understanding your needs and helping you find the perfect vehicle to suit your lifestyle.

We understand that purchasing a car is a significant investment, which is why we prioritize transparency and integrity in all our dealings. You can trust us to provide accurate information about our vehicles, including their features, history, and pricing. Our goal is to ensure that you have all the information you need to make an informed decision.

Once you've found the car of your dreams, our finance experts will work with you to explore your financing options and secure a loan that fits your budget. We have strong relationships with leading lenders, allowing us to offer competitive rates and flexible terms.

But our commitment to you doesn't end when you drive off the lot. We stand behind the quality of our vehicles and offer comprehensive warranties and service plans to provide you with peace of mind long after your purchase. Our state-of-the-art service center is staffed by skilled technicians who will keep your car running smoothly for years to come.

At our dealership, we're more than just a place to buy a car – we're your trusted automotive partner. Visit us today and experience the difference for yourself. Let us help you find the perfect car to fuel your adventures and make memories that will last a lifetime.
xcrun: Error: Invalid Active Developer Path?
Tags: git, macos
Published: 2024-04-26 01:32:41

It’s _xcrun_ not _scrum_… but some people will say both are not good things to come across in life. 😛

Well, after you update your Mac OS this error may show up when you try to use git:

`xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun` 

The way to solve this problem is to run the command to install command line tools:

`xcode-select --install`

-- Daniel Wildt
Tospicy.com is the best alternative for yelp
Tags: tospicy, food, restaurants, advertising
Published: 2024-04-26 01:28:24

[Tospicy.com](https://tospicy.com) is a fantastic platform that offers a range of free features for businesses in the food industry. It serves as an excellent alternative to popular websites like Yelp and TripAdvisor, providing a unique space for businesses to showcase their offerings and engage with their target audience.

One of the standout features of Tospicy.com is the ability to create detailed business profiles. This allows businesses to provide comprehensive information about their services, including menus, pricing, contact details, and more. By having a well-crafted profile, businesses can attract potential customers and effectively communicate their brand identity.

Another great feature offered by Tospicy.com is the ability to post content about your business. This can include updates, promotions, special offers, and even behind-the-scenes insights. By regularly sharing engaging content, businesses can maintain a strong online presence and keep their audience informed about the latest happenings.

Furthermore, Tospicy.com provides the opportunity to share business announcements, press releases, and articles. This enables businesses to gain maximum visibility and reach a wider audience. By leveraging this platform, businesses can effectively promote their products and services, boosting their online presence and attracting more customers.

Tospicy.com is an excellent choice for businesses in the food industry looking to enhance their online visibility and engage with their target audience. With its user-friendly interface and range of free features, it provides a valuable platform for businesses to showcase their offerings and connect with customers. Whether you're a restaurant owner, a food blogger, or a culinary enthusiast, Tospicy.com offers a wealth of opportunities to promote and share your passion for food.
Monad: Diving Deep into the L1 Choice
Tags: evm, blockchain, ethereum, monad
Published: 2024-04-26 01:10:24

**Monad's scorching transaction speeds have sparked a question: why build on L1 instead of L2? Both L1 and L2 solutions offer unique advantages, so let's unpack the reasoning behind Monad's decision and explore the heart of the Monadverse!**

1. <u>**Decentralization: The Core Principle**</u>

For Monad, decentralization reigns supreme. The L1 architecture allows for completely trustless block production, ensuring power remains distributed across the entire network. While L2 solutions offer fantastic scaling potential, they can sometimes rely on a main chain for security. This introduces a single point of potential vulnerability – something Monad strives to avoid.

2. <u>**Shooting for the Stars (_and Beyond!_)**</u>

Monad has set its sights on astronomical goals – a whopping 10,000 transactions per second (TPS)! The team believes that L1 architecture, coupled with innovative features like parallelized execution, can achieve this ambitious target more effectively than scaling existing chains. L1 allows for more fundamental changes to core functionalities, potentially unlocking a higher scalability ceiling.

3. <u>**The Blockchain Balancing Act**</u>

There's no magic formula in the world of blockchain! Both L1 and L2 approaches come with their own set of trade-offs. L2 solutions can offer faster speeds and lower fees compared to base-layer blockchains, but they may introduce additional complexity and potential security risks. Monad's team has strategically chosen the L1 path, prioritizing maximum decentralization while pushing the boundaries of scalability through groundbreaking L1 advancements.

4. <u>**The Future of Blockchain: A Conversation Starter**</u>

The L1 vs. L2 debate is a fascinating one, and the ideal solution may vary depending on the specific project's needs. Monad's decision to focus on L1 reflects its commitment to both decentralization and achieving groundbreaking transaction speeds.

**What are your thoughts?**

Do you believe L1 is the future of blockchain, or will L2 solutions take center stage? Share your insights in the comments below and join the conversation!
Building a review site for specialty coffee
Published: 2024-04-26 00:49:45

When I first launched [Coffee Roast](https://coffeeroast.com), it sprang from a confluence of my passions—coffee, technology, and community building. Although my love for beer and wine had been strong, health reasons led me to shift my focus away from these beverages. This transition fueled my desire to dive into coffee with the same enthusiasm. My experiences with [RateBeer](https://ratebeer.com), a site where beer enthusiasts gather to share their reviews and discoveries, inspired me to create a similar platform for coffee lovers. I envisioned a community where aficionados could explore, rate, and discuss their favorite brews—a niche I felt was notably absent.

As I immersed myself in the coffee culture, I began to adapt the things I admired about RateBeer, despite the site waning in 2020 after its acquisition by InBev. I wanted CoffeeRoast.com to be a lively hub for coffee enthusiasts, much like RateBeer had been for beer lovers. I secured a domain that played on the word "roast," aiming to highlight exceptional coffees in a spirited, engaging manner.

Since 2016, I have been casually tracking the coffees I sampled, often jotting down notes on my iPhone or via email. The challenge was to craft informative yet engaging content, reflecting the voice of a community I was now deeply part of. I decided to stick with my natural style, creating reviews that ranged from short and succinct to more detailed explorations, always aiming to be direct and accessible.

The technical aspect of building the site required robust solutions. Leveraging my Python skills, I developed custom scripts to handle complex user interactions, data storage, and queries. Python’s adaptability was perfect for incorporating features like user ratings, comments, and a dynamic recommendation system tailored to individual preferences.

The backbone of CoffeeRoast.com is its data architecture, designed to efficiently store and retrieve vast amounts of data useful for analysis. This setup has allowed us to analyze trends, understand user behavior, and continuously refine our content and recommendations based on user feedback.

Developing the [roasting rating system](https://coffeeroast.com/roaster) was particularly intriguing. I wanted it to be straightforward yet detailed enough to capture the nuances of coffee flavors. This required a deep dive into coffee science and user experience, ensuring the ratings were user-friendly and genuinely reflective of quality.

Overall, the development of Coffee Roast.com has been more than just a technical project; it's been a journey into the heart of the coffee community. It has challenged my abilities and pushed me to blend my analytical and creative skills to create a platform that I hope will resonate as deeply with coffee lovers as RateBeer once did with beer enthusiasts.