teleren/devto huggingface dataset:
TechnBrains – Dallas's Premier Mobile App Developer!
Published: 2023-12-04 15:59:06

Are you ready to soar to new heights in the digital realm? Look no further! TechnBrains, the leader in Mobile App Development based in Dallas, is your gateway to innovation and market dominance.

**Why Choose TechnBrains?**

**Assemble Your Dream Team:** Our professional Mobile App Developers in Dallas are here to turn your vision into reality. We collaborate with startups and dynamic tech enterprises, crafting cutting-edge iOS and Android applications that are not just ground breaking but market-ready!

**Integrated Excellence:** TechnBrains boasts highly integrated Dallas app development teams, working hand-in-hand with clients to create custom products designed for millions of delighted users daily. From iOS and [Android applications development](https://www.technbrains.com/mobile-application/android-app-development/) to top-notch UI/UX design, our skilled developers make dreams come alive.

**Impeccable Representation:** Witness the magic of our Mobile App Development in Dallas – a perfect blend of clear messaging and captivating designs that embody the essence of your brand. We don't just build apps; we create experiences that establish your brand as a trailblazer in the industry.

**Partner with the Best:** Join the ranks of those who have chosen TechnBrains for top-tier app development. Let's build something extraordinary together! Contact us now and let the journey to digital excellence begin!
AWS SAM CLI - Hello World Nuances (JS)
Tags: beginners, devops, aws, javascript
Published: 2023-12-04 15:56:55

Hey all! I'm new here and to tech. Here's my first post hoping that it'll help newbies like me!

if you follow this link (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html), you'll find AWS' version and while it does work, there are a few things to note: 

when you've reached sso configuration:

```
aws configure sso
```
1. a list of prompts will come up. aws' tutorial provides placeholders that could be misleading. make sure you are logged into your IAM identity center where you must make a user profile for each user who is also added to each group with permissions. this is important to identify who is accessing IAM. 

2. now, when you've reached the prompt that provides an auth code/start url, **instead of using this to deploy, access you IAM identity center dashboard where you will find your AWS user access portal. click there. put in your username (for the user that is accessing IAM (reference #1). you will most likely get an error. go ahead and RESET your password to a different one. (I believe this happens as an additional security check on AWS side). Before returning to your code and trying to access the url, ensure that you have logged on successfully to IAM identity because you will be timed out--you should be able to see if you have any active applications**

Hope this helps!!!
TIL Blog Learn Ruby
Published: 2023-12-04 15:44:57

-Ruby is case sensitive

-Variables, give it a name and set it equal to a value

-6 arithmetic operators (+,-,*,/,**,%

-puts and print is different, puts adds a new blank after printing

-Everything in Ruby is an object

-Methods are like skills

-String Methods:
.length
.reverse
.upcase
.downcase
.capitalize 
-Adding ! at the end of method modifies value contained in variable
-include? method
-gsub! method (global substitution)

-starting with # is how to make comments (single line)
-Multi line comments start with =begin and =end; one line to themselves

-similar syntax with f string in python but no f included and uses # before bracket (string interpolation)
-gets is the method that gets input from user
-chomp removes extra line/whitespace


-Control Flow can select different outcomes
if, elsif, else, end
unless statement, reverse of if, checks for false

-3 Logical/Boolean operators
And(&&), Or(||), and not(!)

-Loops
while
until
for
  2 dots or 3 dots for range, 2 dots includes least and highest, 3 dots means go up to but dont include highest value

-Loop method
can interchange {} with do and end
break 
next keyword- used to skip over steps

-Use of arrays to store multiple values in a variable

-.each operator, apply an expression to each element of an object, same with loop method can make use of {} or do and end.
Iterates over hashes and arrays

-.times operator a super compact for loop

-.split method

-Each element in the array has an index, starts at 0 goes up to arrays length-1

-hashes similar to python dictionaries, key-value pairs, values assigned using =>
Hash.new creates new hash, replaces use of bracket syntax
When using Hash.new, can add new key-value pairs through use of bracket notation ex[key] = value
Access value through key

-.sort_by returns array of arrays
-can covert things to a string by using .to_s

-Methods syntax
Defined using def
Use of end
Similar to functions in python
Use of * means that there can be more than one argument put in

-Return statement

-Blocks are like methods with no name

-How Blocks differ from methods
Methods can be called many times as needed, but blocks only called once given the context

-Combined comparison operator
<=> returns 0, 1, or -1

-Symbols are different from strings, makes use of : before string. Symbols carry only one copy, unlike strings
-Immutable
-Saves memory due to having one copy at a time

-.intern and .to_sym same thing

-Ruby 1.9 syntax - no need for hash rocket anymore, just replace colon at beginning to end, similar to javascript and python

-.select selects certain values in hash

-Case statement, when using multiple conditions, this can be used besides if else, starts with case and variable name, nested when it is when statements that then end with else
Ex) when variable
      when condition
        ..
      else
    end

-CRUD
create read update delete
Actions taken when updating a database
Getting started with NestJS and GraphQL
Tags: nestjs, graphql, dryerjs, node
Published: 2023-12-04 15:34:56

Quick demo video: https://youtu.be/9KKrkOEhd-I

Install nest-cli if needed

```shell
npm i -g @nestjs/cli
```

Create new nest project

```shell
nest new nest-graphql-example
```

Add first resolver

```ts
@Resolver()
class UserResolver {

  @Query(() => GraphQLString)
  hello() {
    return 'World!';
  }
}
```

Start server

```shell
yarn start:dev
```

or

```shell
npm run start:dev
```

First query

```graphql
{
  hello
}
```

User Object Type

```ts
@ObjectType()
class User {
  @Field()
  id: string;

  @Field()
  password: string;

  @Field()
  name: string;

  @Field()
  email: string;
}
```

CreateUserInput

```ts
@InputType()
class CreateUserInput {
  @Field()
  password: string;

  @Field()
  name: string;

  @Field()
  email: string;
}
```

UpdateUserInput

```ts
@InputType()
class UpdateUserInput {
  @Field()
  id: string;

  @Field({ nullable: true })
  password: string;

  @Field({ nullable: true })
  name: string;

  @Field({ nullable: true })
  email: string;
}
```

UserService

```ts
@Injectable()
class UserService {
  private users: User[] = [];

  public createUser(input: CreateUserInput) {
    const user = {
      id: Date.now().toString(),
      ...input,
    };
    this.users.push(user);
    return user;
  }

  public updateUser(input: UpdateUserInput) {
    const user = this.users.find((user) => user.id === input.id);
    if (!user) {
      throw new NotFoundException('User not found');
    }
    if (user) {
      Object.assign(user, input);
    }
    return user;
  }

  public getUser(id: string) {
    const user = this.users.find((user) => user.id === id);
    if (!user) {
      throw new NotFoundException('User not found');
    }
    return user;
  }

  public getUsers() {
    return this.users;
  }
}
```

Final UserResolver

```ts
@Resolver()
class UserResolver {
  constructor(private readonly userService: UserService) {}

  @Query(() => User)
  user(@Args('id') id: string) {
    return this.userService.getUser(id);
  }

  @Mutation(() => User)
  createUser(@Args('input') input: CreateUserInput) {
    return this.userService.createUser(input);
  }

  @Mutation(() => User)
  updateUser(@Args('input') input: UpdateUserInput) {
    return this.userService.updateUser(input);
  }

  @Query(() => [User])
  users() {
    return this.userService.getUsers();
  }
}
```

Final AppModule

```ts
@Module({
  imports: [
    GraphQLModule.forRoot<ApolloDriverConfig>({
      driver: ApolloDriver,
      playground: true,
      autoSchemaFile: true,
    }),
  ],
  controllers: [],
  providers: [UserResolver, UserService],
})
export class AppModule {}
```

Final code:
https://gist.github.com/vanpho93/a2649b7a0deb63c35675362de0999b3b
C# - `Required` Attribute for Non-Nullable Reference Types
Tags: csharp, programming, beginners, tutorial
Published: 2023-12-04 15:30:00

C# 10.0, combined with the introduction of nullable reference types in C# 8.0, allows for more expressive nullability annotations. Particularly noteworthy is the `Required` attribute, which can be used in conjunction with nullable reference types to enforce that a property, although nullable, must be provided (e.g., in JSON deserialization scenarios).

Here's how to apply the `Required` attribute:

1. **Enable Nullable Context:**
   Ensure your project file or source files have nullable context enabled (`<Nullable>enable</Nullable>` in your `.csproj` file or `#nullable enable` in your C# files).

2. **Apply the `Required` Attribute:**
   Use the `Required` attribute from `System.ComponentModel.DataAnnotations` namespace to indicate that a property is expected, even though it's declared as nullable.

Example:

```csharp
#nullable enable
using System.ComponentModel.DataAnnotations;

public class UserProfile
{
    public string? UserId { get; set; }

    [Required]
    public string? UserName { get; set; }
}

public static void Main()
{
    var profile = new UserProfile
    {
        UserId = "12345"
        // UserName is not set, but it's marked as required.
    };

    // Logic to validate the profile...
}
```

In this example, `UserName` is a nullable string, but the `Required` attribute indicates that it must be provided for a `UserProfile` instance to be considered valid. This approach is particularly useful in API development scenarios where you're dealing with data transfer objects (DTOs) that may interact with external data sources like databases or web APIs.

Using the `Required` attribute in this manner adds a layer of validation and clarity to your data models, ensuring that necessary properties are not overlooked despite their nullable type.
Hispanohablantes
Tags: spanish
Published: 2023-12-04 15:24:35

Qué duda cabe de que el English es la lengua predominante en IT (como Javascript lo es a Dev.to) , pero estoy seguro que somos un montón de hispanohablantes aquí que nos gustaría ver más contenido en español

Este es un post para conoceros y poder aumentar mi lista de personas a las que seguir. 

Simplemente reacciona a este post y/o comenta tu opinión al respecto. Soy todo orejas
innerHTML property in JavaScript
Published: 2023-12-04 15:21:42



InnerHTML property in Javascript

For the past few weeks, I have been learning about JavaScript in the context of Web Development.  JavaScript is a very important programming language for the Web.  HTML and CSS can be updated via JavaScript.  It is also the most commonly used programming language world wide. 

InnerHTML property is a method in JavaScript that users use to clear the contents div in HTML.  This method is useful in Web development because it solves a minor issue.  For example, I was working on an assignment, where I encountered an error after writing my code.  The assignment I was working on required me to display details of a certain item when it gets clicked on.  Each time I clicked on a specific item, the page would refresh and display all the details of every item in the list.  

I knew that I was missing something and here is where I figured out  clearing the content of div in HTML.  I then figured out that I needed to add .innerHTML = "". in my function.  This was a great lesson I learned about clearing the contents of a specific div element. 

If for example we are talking about a Robots web page.  And we have a list of Robots, within each Robot name we have a picture of and some details about it.  
This is an example of the index.html file 

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

We can insert a . innerHTML = "" in the displayRobotDetails function.
The function would look something like this : 

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

In this scenario, we are using the .innerHTML = "" in order to clear the content dynamics.  We have to do this so that we get the details/images or other data we want separately.  In this case, when we click on a robot name from the web page, we would only be able to view the details of that specific robot. This method is one of two methods available to clear the contents of the div.
AI and the future of humanity (as seen from the eyes of developers)
Tags: discuss, ai, jobs
Published: 2023-12-04 15:09:50

This is my first post. It's on my mind and probably on other people's minds. I will be thankful if people share their opinion on the matter by commenting.

## What is an AI?

Computing is an art and the AI is its most complicated masterpiece created by groups of intelligent people. Basic automata have existed long time ago in Japan, bringing tea to the masters in the afternoon. Gear mechanisms in ancient times were used to automate. Literally to put "self" in a thing. The "self" of whom?


## The information crisis (TMI)

Back then when I was a teenager, a friend of mine told me about the coming information crisis - that information is going to be generated quicker than a mind's throughput.

In the birth of the information age, people fought for freedom of information. But this paved a way for people to saturate the information space. Due to too much information, people have to spend much time on research when doing their jobs. Further, as mentioned before, people would not be able to cope with everything happening all at once.

Having an AI assistant gives people a way to sort and filter data for further use. However, the AI is also being used to generate more clutter (noise, fake).


## A Better Life, Sustainability

I have observed my working process and have seen how I refactor code to abstract away repetitiveness. I was thinking that this is how coding works, but then I started seeing it - designers also work like that. Why are there so many templates, themes and design solutions? Why are people creating frameworks? It costs a lot to rework the same thing and it's pointless, unless there is a very strict agreement that the code is proprietary and it cannot be EVER used outside of the scope. Developers can reuse code. Designers can reuse design. Business can reuse value.

Value is what is making us important and increases our survivability. To reduce repetitiveness and boredom and **create value** is what we are about. Code is no longer manual labor that only an elite of people can do. Code is something "down there" that realigns and refactors itself fully automated based on the requirements. Smart things, smart cities, smart people.


## Unemployment

The fact that an AI can overtake more and more job responsibilities from the third economic tier leads to more people looking for jobs especially in web development. Unemployment rates will be higher because there aren't new job roles opened to compensate.


## Discussion

Is AI good or bad and how do you think we can overcome obstacles for our future as developers?
Hiring a founding engineer #fullstack #hiringnow
Published: 2023-12-04 15:07:16

**About the product**: A software tool that leverages the power of automation to help influencers land more brand deals. 

**About us**: Two battle-tested co-founders, a product guy and an  account executive, coming out of jobs in Accenture and New Relic.

**About you**: You’re a full-stack web dev with 4+ years experience working across an array of tech stacks. You have grit and love getting your hands dirty, you’re a fast learner, you’re humble yet decisive, and above all you’re kind. 

**Requirements**: Comfortable working with Next.js, TypeScript, Supabase, integrating APIs, working with Stripe. Experience in an early-stage startup is a plus. 

**Location:** We’re a remote team, based between Sydney and Copenhagen. 

**Compensation:** competitive salary + equity

If this sounds exciting then email me at oiq.wright@gmail.com 

Speak soon!
What are your Goals for the week of December 4?
Tags: watercooler, discuss, motivation
Published: 2023-12-04 15:00:00

## What are your goals for this week? 

- Are you building anything you want to talk about? 
- What will be a good result by week's end?
- What events are happening any week? 
  * in person or virtual?
- Any goals for the end of the year?

### Last Week's Goals

- [:white_check_mark:] Continue Job Search.
   I'll apply and network. 
   [:x:] I'll spend time editing resumes, linkedIn, and my personal site.
- [:white_check_mark:] Blogged about Developer advents and CSS Ugly sweater.

{% embed https://dev.to/jarvisscript/2023-developer-advent-calendars-2ijp %}

{% embed https://dev.to/jarvisscript/ugly-sweater-millennium-falcon-46na %}


Last month Virtual Coffee had a challenge to write 100,000 words. We ended with 150,083   
  * Our list of blogs is on [Virtual Cofffe.io](https://virtualcoffee.io/monthlychallenges/nov-2023)
  * My goal was to break my count from last year of 4,528 words. 
 * [:white_check_mark:] Word Goal progress: 5,517/4,528
 * [:white_check_mark:] Personal stretch Goal 5,000 beat it wrote 5,517


- [:white_check_mark:] Project work 
- Events
  * [:white_check_mark:] Thursday Virtual Coffee.
- [:white_check_mark:] Run a weekly Slack thread similar to this post. 
- [:white_check_mark:] Finish Office reset. 
- [:x:] Finish the pictures from the end of October.





### This Week's Goals


- Continue Job Search. 
   * I'll apply and network. 
   * I'll spend time editing resumes, linkedIn, and my personal site.
- Blog. 
- Project work
- Advent Code Challenges 
- Events
  * Thursday Virtual Coffee.
- Run a weekly Slack thread similar to this post. 
- LEGO might led to CSS blog. I did a speed run on the blog last week. 
- Finish the pictures from the end of October.
- Moved my portfolio site earlier this year. The old site had a WP add on blog that didn't move but is still up since I paid for the year. That expires soon so I need if it can be moved.




### Your Goals for the week

Your turn what do you plan to do this week? 

- Are you building anything you want to talk about? 
- What will be a good result by week's end?
- What events are happening any week? 
  * in person or virtual?
- Any goals for the end of the year?


```html
-$JarvisScript git push
```
A Dança do Design: Desvendando a Lei de Conway
Tags: conway, leideconway
Published: 2023-12-04 14:59:00


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


E aí, pessoal! Hoje vamos bater um papo sobre a Lei de Conway, um princípio que afirma que o design de um sistema é influenciado pela estrutura organizacional do grupo que o produz. É como se fosse uma coreografia de dança, entende? 

Então, imagine você e sua equipe formando criando um aplicativo, um jogo, ou algo do tipo. A Lei de Conway entra em cena quando a forma como vocês se comunicam e se organizam começa a ditar como o projeto vai ficar. É como se a "energia" do grupo se materializasse naquilo que vocês estão construindo.

**Pensa assim:** se vocês são super organizados, com uma comunicação nota 10, é bem provável que o projeto final seja todo certinho, sem muitos improvisos. Agora, se o grupo é meio bagunçado, talvez o projeto também tenha um toque de "bagunça", sabem?


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4tj1lklhs6b1g19eyjkl.png)



A sacada é que a arquitetura do que vocês estão criando reflete os limites sociais da turma. Isso quer dizer que se tem uma barreira de comunicação, ela vai aparecer no projeto. É quase como se o sistema fosse um espelho da equipe que o criou.

**E daí, como a gente lida com isso?**
A Lei de Conway nos lembra de dar uma olhadinha no nosso modo de se organizar. Às vezes, só de ajustar a forma como a comunicação rola, dá para melhorar o projeto. É tipo mudar a coreografia da dança que falei anteriormente!

Então, na próxima vez que estiverem criando algo em equipe, lembrem-se da Lei de Conway. Ela é como a trilha sonora invisível que guia o ritmo do seu projeto. E quem sabe, com um passinho diferente, vocês não criam algo ainda melhor?

E é isso aí, espero quem leu este artigo tenha entendido sobre oque é e como a lei de Conway pode influenciar em seu projeto.

Veja outros artigos em www.brunoc.dev.br
Acesse também nosso instagram: @Dev_em_gotas
Gold Keyz Sample loops Free Download
Tags: synthwave, edm
Published: 2023-12-04 14:35:14

[Gold Keyz](https://audioloops.com/product/gold-keyz/)" is a transformative musical experience that transcends conventional boundaries, offering a collection of meticulously crafted sample loops designed to elevate your compositions to new heights. This exceptional library of sounds embodies the essence of sophistication, infusing your music with a touch of opulence and brilliance.

Immerse yourself in the rich, golden tapestry of melodies, harmonies, and rhythms carefully curated within "[Gold Keyz](https://audioloops.com/product/gold-keyz/)." These loops are a treasure trove of inspiration, meticulously created to evoke emotions ranging from serene tranquility to the grandeur of cinematic soundscapes. The key to unlocking your creative potential lies in the versatile and enchanting nature of these samples, ensuring they seamlessly integrate into various genres and styles.
🔐 Boosting Security Through Efficient Data Management 🔐
Tags: datamanagement, snowflake, datasecurity
Published: 2023-12-04 14:23:31

In today's digital landscape, data is the lifeblood of businesses. But the key to safeguarding this invaluable asset lies not only in robust security measures but also in efficient data management practices. Here’s how a streamlined [data management approach](https://www.softwebsolutions.com/resources/data-security-snowflake-solutions.html) can significantly enhance security:

1️⃣ Minimized Vulnerabilities: Efficient data management involves categorizing and organizing data, enabling better control over access and reducing exposure to vulnerabilities.

2️⃣ Enhanced Compliance: Compliance with regulatory standards is crucial. Efficient data management ensures that sensitive information is handled in accordance with industry regulations, mitigating legal risks.

3️⃣ Proactive Threat Detection: By centralizing data and implementing sophisticated analytics, potential threats can be detected early, allowing proactive measures to be taken before breaches occur.

4️⃣ Improved Incident Response: In the event of a security breach, efficient data management facilitates swift and targeted response, limiting the impact and enabling faster recovery.

Investing in efficient data management isn’t just about organization—it’s a fundamental step toward fortifying your security posture. How does your organization prioritize data management for security? Share your insights! 🛡️💼 

#DataManagement #CyberSecurity #BusinessStrategy