teleren/devto huggingface dataset:
The H1 Design Dilemma with SEO
Tags: seo, h1tags
Published: 2019-10-24 18:03:08

---
title: The H1 Design Dilemma with SEO
published: true
description: I rarely design homepages with a clear title in the design. This is an idea on how to overcome that.
tags: SEO, H1 Tags
---

I have rarely designed homepages with clear "titles" in the design. It's usually a navigation, a banner, then some intro content. So I came up with an idea to overcome this problem. Create an H1 that has no height or width and is absolutely positioned.

I haven't figured out if this will effect SEO but I think it raises a valid point that SEO shouldn't be more important than the user experience because that would stifle innovation and creativity. So what if we changed the standard? I'm not sure where to make that a reality. I imagine it has to do with submitting something to the w3c but I figured I'd start here.
Urgent Assistant on this IOS CODE, stuck
Tags: swift, struct
Published: 2019-10-24 17:09:22

Given the struct below in the editor, we want to add a method that returns the person’s full name. Declare a method named fullName() that returns a string containing the person’s full name. Note: Make sure to allow for a space between the first and last name.


 func getFullName() -> String {
    return "\(firstName) \(lastName)"
  }
}

******************
where am i getting it wrong
React Conf 2019 Live stream
Tags: react, announcement
Published: 2019-10-24 16:53:10

---
title: React Conf 2019 Live stream
published: true
description: Links to React Conf 2019 live stream
tags: react, announcement
---

[React Conf](https://conf.reactjs.org/index.html) is an official React conference held annually.

If you couldn't make it to "React Conf 2019", check out the live stream video on their home page, or on YouTube directly.

React Conf will be held today (2019-10-24) until tomorrow (2019-10-25).

It's live now~

- Home: https://conf.reactjs.org/index.html

## Day 1

https://youtu.be/RCiccdQObpo
{% youtube RCiccdQObpo %}

## Day 2

https://youtu.be/JDDxR1a15Yo
{% youtube JDDxR1a15Yo %}
We're live on Product Hunt!
Tags: aws, producthunt, automation, totalcloud
Published: 2019-10-24 16:48:24

---
title: We're live on Product Hunt!
published: true
description: Hi devops folks, this one's for you! We're now live on Product Hunt. 
tags: AWS, Product Hunt, Automation, TotalCloud
---

Hey guys!


We’re super excited to announce that we just launched on Product Hunt. We showcase our flagship product, the TotalCloud Automation Builder. 

Dev-ops teams spend a lot of time creating, deploying and maintaining scripts and we want to change this. The Builder enables you to automate simple and complex AWS use cases through easy-to-create workflows, eliminating the need to script.  

Here's how it works: https://blog.totalcloud.io/post/putting-devops-on-autopilot-with-lego-like-automation?utm_source=dev-to&utm_medium=syndication&utm_campaign=flagship

We couldn't find a better time to be on Product Hunt because our workflow engine recently underwent a major upgrade which enhances the level of flexibility and customization in the workflow creation process. 

Come check us out, and show us some support. We'd love to get your feedback!

https://www.producthunt.com/posts/aws-automation-builder-by-totalcloud
HELLO DEV COMMUNITY
Tags: firstpost, feelings, happy, experience
Published: 2019-10-24 16:19:16

Hey guysss how are you all?  How its all going on there?I hope going well.
Its my FIRST POST in this,I am very excited to write my first post..
Soooo guyss I am still in learning stage of web and software devolepment..
I started learning web development 1 month ago.Its very very interesting 
though covering tech like html,css,javascript. 

You know learning is a continuos process of acquiring knowledge.HTML gives content of webpages,css makes styling to webpages and javascript makes interactive with others.I learn new tags as going through deep in html ex:marquee tag which the content in it is movable,div tags,section tags..And In CSS some  functions like  FLOAT,DISPLAY,TRANSITION,TRANSFORM,HOVER... makes us interesing in learning this concepts.And I like validations part in js uses regular expression in it.I wanna be FULL STACK DEVOLEPOR.In future I will learn nodejs,reactjs,flutter,angularjs,ruby on rails....

And with this I also interested in cyber security.Mostly kali linux and paroot os are Operating System used for security walls and to be hidden.Just I used this Operating System couple of days thats it.My favourite in that is ANONSURF used to hidden our IP address.As soon as we ON it,changes our IP address.Just I know linux commands in linux terminal.

SOON I will post my First simple project on front end web devolepment. I am gonna wind it up now thats it..

  Every day try to learn something.
  BE POSITIVE.
                       
                      BYEE GUYSSSSS....SEE YOU SOON......
SAP SD Oraganization Structure
Published: 2019-10-24 16:16:48

SAP SD Organizational Structure. In the SAP ERP, several structures can be used to represent the legal and organizational structure of the company. Organizational elements can be structured from the point of view of accounting, materials management and sales and distribution. It is possible to combine these structures. Read More on https://avastips.com/sap/sap-sd-organizational-structure-complete-guide/
A Few Useful Objects Methods, built-ins Part 1
Tags: javascript, objects, tutorial
Published: 2019-10-24 11:54:26

Twitter: @JacobMGEvans
I wrote out some examples of Object methods being used, to get certain data from the objects you feed into them.

```javascript
const starTrekNexGen = {
    Captain: 'Jean Luc Picard',
    ExecutiveOfficer: 'Riker',
    HeadOfSecurityWeaponsOfficer: 'Worf',
    ChiefMedicalOfficer: 'Beverly Crusher',
    ChiefEngineer: 'Geordi La Forge',
    Unknown: 'Data'
};
```
 So we need to define all the positions of the ship, but instead of an array
of the positions of the ship, we were given an object of the positions and who holds it.

```javascript
const positions = Object.keys(starTrekNexGen)
```

Now positions will be the keys from the object that represented the position on the starShip

```javascript
console.log(positions) // [ 'Captain', 'ExecutiveOfficer', 'HeadOfSecurityWeaponsOfficer', 'ChiefMedicalOfficer','ChiefEngineer', 'Unknown' ]
```

 I just need the crew members now for a manifest of crew members
```javascript
const crew = Object.values(starTrekNexGen)
```
Now I have a list of crew members I can use for different things. 
```javascript
console.log(crew) // [ 'Jean Luc Picard', 'Riker', 'Worf', 'Data' ]
```

 Huh, it seems like there is an 'unknown' position but there is a crew member at the same index.
let's find out which crew member has their position unknown... We can do this from the object itself.

```javascript
const crewmemberAssignedPos = Object.entries(starTrekNexGen)
```

 So I have an array of arrays 
```javascript
console.log(crewmemberAssignedPos) 
 [
     [ 'Captain', 'Jean Luc Picard' ],
     [ 'ExecutiveOfficer', 'Riker' ],
     [ 'HeadOfSecurityWeaponsOfficer', 'Worf' ],
     [ 'Unknown', 'Data' ]
  ]
```

 So we want to make sure that Data is assigned to is proper post for work. we don't want him cleaning the latrine by mistake... He would if ordered too so we need to make sure he is posted as Chief Operations Officer.
```javascript
let arr = [];
const updatedCrewList = crewmemberAssignedPos.reduce((prevVal, arrCrewMemPos) => {
    if(arrCrewMemPos[1].includes('Data')) {
        arrCrewMemPos[0] = 'ChiefOperationsOfficer'  
        arr.push(arrCrewMemPos)
    } else {
        arr.push(arrCrewMemPos)
    }
return arr
})
console.log(updatedCrewList)
```
I plan on modifying and improving the last reduce, I definitely feel there's a better way to do that it was just 11pm at the time 😆
Lambda School Data Science Project
Tags: python
Published: 2019-10-24 15:36:18

We recently finished a project for the DSPT2 section of Lambda School's part time data science course.  For my project, I decided to use a Kaggle data set of video game sales. The goal of the project is to predict global sales based on critic score, critic count, publisher, platform, etc.

For this project, I decided to lean heavily on Randomized Search Cross Validation and xgboost's XGBRegressor (using the `mae` `eval_metric`). However, I first started out with a baseline of the average global sales for the entire data set. This led me to a baseline `mae` of `0.6605`.

Then after applying a randomized search cross validation to xgboost's XGBRegressor, I ended up with an `mae` of `0.4875`. This beats the baseline by `0.173`.

I also plotted the permutation importances of all the used features, which can be viewed below:

![permutation_importances](https://dcj24-storage.s3.amazonaws.com/lambda/images/permutation-importances.png "Permutation Importances")

That's it.  Thanks for reading!
C# 8 Null Forgiving Operator
Tags: c, c8
Published: 2021-01-11 00:55:49

---
title: C# 8 Null Forgiving Operator
published: true
date: 2019-10-24 15:00:01 UTC
tags: C,C8
canonical_url: https://jamienordmeyer.net/2019/10/24/c-8-null-forgiving-operator/
---

Yup, that’s actually a thing! I’ve never personally seen it discussed in any of the talks or presentations that I’ve seen on C# 8, but I ran into a scenario last night where it was useful to have, and managed to track it down on Microsoft’s documentation site, which I’ll link to below.

So, the scenario that sent me searching for a solution, and which led me to this little discussed operator, was working with the new Nullable Reference Types in C# 8. More specifically, I was setting up an Entity Framework DbContext:

```
public class ApplicationDbContext : DbContext
{
  public DbSet<Address> Addresses { get; set; }
  ...
}
```

This is valid C# code. However, what I was noticing was that the Addresses property was getting the squiggly indicator that the value hadn’t been initialized. Since I’ve enabled Nullable Reference Types, the compiler thought I was leaving non-null value uninitialized. However, Entity Framework will, at run-time, ensure that this property has a value well before I can use it. So I don’t NEED to initialize it. And I couldn’t even if I wanted to; DbSet does’t have a public constructor.

The solution, it turns out, is to use the Null Forgiving Operator. It looks like this:

```
public class ApplicationDbContext : DbContext
{
  public DbSet<Address> Addresses { get; set; } = null!;
  ...
}
```

The difference is that I initialized my property to _null!_ Technically speaking, the Null Forgiving Operator is actually the exclamation point specifically. But what I’m doing here is deliberately setting the property to null, THEN “promising” the compiler that I KNOW this value will be initialized by some method that the compiler can’t see (in this case, it’s the Entity Framework run-time that will initialize the property). With that change, the squiggly goes away, the code still compiles, and the application still runs.

Having just dove into C# 8 recently, I’m looking forward to finding more of these gems, and changing my coding styles to better use the newer features available. I’ve only used the Nullable Reference Types for a couple days now… but I love ’em!! And if you want to know more about the Null Forgiving Operator, you can find Microsoft’s documentation on it here: [https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-forgiving)
The restart
Published: 2019-10-24 14:56:01

Well, I'm 38 years old at this point.
I graduated in Computer Science in 2002.
I worked in "TI area" from 1999 to 2012. A lot of old technologies, as Visual Basic 4, Visual Basic 6 and that first version of ASP. I worked a lot with PL/SQL and T/SQL and also worked writing and executing tests cases.

But I was lost. I thought the happinnes was inside a office, so I searched a lot for it.

Of course, I did't find.

So I left the area.
I created an online shop then I worked at a woodshop.

In this time, I kind understand better who I was.
And I finally understand that the happinnes should be in me.
And that I should work with some technology that make sense to me.

So, in 2018 I restarted my path.
First with Unity and C#.
Then I get in touch with web development.

Yes, web development, a thing that is there since "forever".

But it never ring my bell that I should try it.....

In 2019 I did the bootcamp of Le Wagon and that was amazing.
A lot of things "clicked" and I was happy coding - a thing that I thought should be impossible in 2012.

So, here I am.

Starting over...
Transitioning from Ubuntu/Windows+WSL to Mac?
Tags: tools, dev, transition
Published: 2019-10-24 14:53:10

---
title: Transitioning from Ubuntu/Windows+WSL to Mac?
published: true
description: 
tags: tools, dev, transition
---

I have accepted a new position, starting next month, and will be issued a MacBook. I have worked from Windows, Solaris or Linux from all of my development career, and have a bag of tricks that is based on that. 

I mean, I've touched Macs, but last time one was close to my daily driver, it was System 7.

Yes, I'm old.

What suggestions do you have for someone moving from Linux on the Desktop (and also Win/WSL) to Mac?
Another Hacktober Newbie: Help?
Tags: hacktoberfest, beginners, codenewbie, discuss
Published: 2019-10-24 14:31:31

Yep, it's another beginner hopping on the Hacktoberfest train!

I feel like a true beginner. I'm slowly combing through the other dev.to beginner posts, and I feel like the extent of my rusty HTML/CSS knowledge can't really help the projects on https://up-for-grabs.net/ or https://www.firsttimersonly.com/.

I'd love to get 4 genuine PRs before the month's up, but I think my only stronger skills are HTML, CSS, and copywriting/writing/editing, and most of the repos I've seen have been self-explanatory. I'll continue to search for beginner-friendly resources for now!

Could anyone help me or shed light on possible things I could help with?
Rl.exchange - rocket league trading
Tags: rocketleague, rlexchange, rocketleaguetrading, rocketleagueexchange
Published: 2019-10-24 14:27:58

Trading in the Rocket League game is one of the important elements of this game. Users can exchange items such as wheels, boxes and skins with each other. Tens of thousands of transactions are made between players every day using the Steam platform. If you are looking for a quick exchange of items with a bot, you can use the rl.exchange page, which allows you to exchange items with an automatic bot, which is available 24/7.

https://rl.exchange/
Google's Natural Language API, Content Classification, in C#
Tags: csharp, naturallanguage, classifytext, api
Published: 2019-10-24 14:24:05

I've written about this before, [in the context of ASP.NET](https://dev.to/bugmagnet/doing-google-s-natural-language-classifytext-in-asp-net-4can). Here's a link to the [revised project on Github](https://github.com/axtens/Classification) from which a DLL may be derived.

We started off with classifying Html and went on to classifying Text. Thus we have 
 * Classify()
 * ClassifyHtml()
 * ClassifyText()
which emit JSON.

Recently we added XML serialization and the functions
 * ClassifyHtmlAsXml()
 * ClassifyTextAsXml()

Both serialization methods emit an `Error`/`Cargo` tuple. If `Error` is null, then there's no error and `Cargo` contains the result of the classification. If `Error` is a string, then there is an error (in `Error`) and `Cargo` is null/indefinite.

Below is from a REPL session in one of our javascript-on-steroids tools, demonstrating the outputs of the DLL:
```javascript
>attach("Classification.DLL","C")
Attached C
Microsoft.ClearScript.VoidResult

>C.Classification.Classifier.ClassifyHtml(CS.System.IO.File.ReadAllText("https_www.sil.org.html"))
{"Error":null,"Cargo":[{"Name":"/Reference/Language Resources","Confidence":0.6}]}

>C.Classification.Classifier.ClassifyHtmlAsXml(CS.System.IO.File.ReadAllText("https_www.sil.org.html"))
<?xml version="1.0" encoding="utf-16"?>
<Classification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Cargo>
    <Cargo>
      <Name>/Reference/Language Resources</Name>
      <Confidence>0.6</Confidence>
    </Cargo>
  </Cargo>
</Classification>
```

Acknowledgements: [Google Cloud Language v1](https://cloud.google.com/natural-language/docs/reference/rpc/google.cloud.language.v1), [Newtonsoft.Json](https://www.newtonsoft.com/json)
Daily Challenge #99 - Balance the Scales
Tags: challenge
Published: 2019-10-24 14:07:55

---
title: Daily Challenge #99 - Balance the Scales
published: true
series: Daily Challenge
description: Balance the scales using the set of weights. 
tags: challenge
---
Write a function that will read `scaleArr`. In this array, there will be two elements. The first will contain two positive integers that represent the left and right sides of a scale respectively. The second array represents the available weights that can be added to either side. 

Balance the scale by using the least amount of weight from the list. You can only use an integer from available weights once. 

For example: If `scaleArr` is ["[9,4]","[1,2,6,7]"], you must add 2 to the left side and 7 to the right side to balance the scale. Both sides will equal 11!

If it is not possible to balance the scale using the weight available, return `not possible`

Test cases:
["[1,2]","[10,3,6,6]"]
["[20,5]","[1,6,10,4]"]
["[0,13]","[4,6,3,7]"]

Good luck, happy coding!

***
_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Can I ask for filling a little survey for web devs?
Tags: webdev
Published: 2019-10-24 14:04:52

I'm writing an article for my first blog post and would like to know what are standards and practices in other IT companies: https://docs.google.com/forms/d/e/1FAIpQLSeWeWJuGt2Qb05qlCdP5nTnAVJ8DojHvAzEpFvbBO8NcVhKXQ/viewform

Thanks!
It's my birthday!
Tags: discuss, birthday
Published: 2019-10-24 13:54:07

---
title: It's my birthday!
published: true
description: 
tags: discuss, birthday
cover_image: https://thepracticaldev.s3.amazonaws.com/i/2mpa8n13e8xsjyg4hzg2.png
---

Hey everyone! I'm turning 36 today, and if you could send me a virtual gift, anything at all, I'd love for you to take some time for yourself. 
Disconnect, ground yourself, do whatever you like instead of working on that side-project. 
Have kids? spend some time with them. A loved one? Same... family? Pay them a visit! Or just sit around, watch a movie, play some video games, read a book... anything.

Just take care of yourself!

Thanks for that!
There's a new DEV theme in town for all you 10x hackers out there (plus one actually useful new feature)
Tags: meta, changelog, css, ux
Published: 2019-10-24 13:52:17

I'm excited to announce a new DEV theme... "Ten X Hacker". It's the only theme you'll use if you are a ninja rockstar magician. It features the iconic green on black text which signifies elite programming skillz.

### **👉 You can change your interface config in [/settings/misc](/settings/misc).**

This is one of three changes to user config. **The second change** is the ability to set `monospace` font for the main body of DEV posts. I felt like this was a necessary complement to the ten x theme. I personally use sans serif, but you do you.

## The third change...

You can now set your navbar to "static" (as opposed to the default of fixed). A lot of folks prefer a navbar which does not stay put at the top of the window. The fixed navbar is great for quick navigation and access to the menu, but some find it distracting while reading. There is no right or wrong in this preference debate, so we are now offering both configurations.

Here is the PR, for your curiosity...

{% github https://github.com/thepracticaldev/dev.to/pull/4462 %}

### **👉 You can change your interface config in [/settings/misc](/settings/misc).**

Happy coding ❤️
Hello World !
Tags: lambda
Published: 2019-10-24 13:45:58

     Hello, Developers out there I am excited to write my first post On dev.to. I am a newbie to this world. Actually I want to learn AWS Lambda functions because I want to build a python REST API with serverless, lambda but right now I am in learning phase. So is there any way to get an free AWS account without credit card information for learning purpose. Please help !!!!!
Why should cryptocurrency investors buy ALWIN Technologies cryptocurrency exchange software?
Tags: cryptocurrency, crypto, blockchain, software
Published: 2019-10-24 13:17:14

---
title: Why should cryptocurrency investors buy ALWIN Technologies cryptocurrency exchange software?
published: true
description: However, the most important drawback for business is obtaining the cryptocurrency exchange software at efficient costs.
tags: #Cryptocurrency #crypto #blockchain #software
---
Young entrepreneurs are trying arduously to start the cryptocurrency exchange business. However, the most important drawback for business is obtaining the cryptocurrency exchange software at efficient costs. Here you can get the best solution for beginning the exchange business at low costs.

Here are some of the points that can assist you in getting started with your cryptocurrency trading business.

There are three types of cryptocurrency exchanges:
A cryptocurrency exchange permits the investors to buy, sell or trade cryptocurrencies (either from fiat to crypto or from crypto to crypto). Explore the below listed are a popular crypto trading platform.

Regular exchange (also sometimes known as as ‘trading platform’)
Centralized exchange: Binance, Bittrex, Poloniex, Bitfinex
Decentralized exchange: IDEX, EtherDelta
Direct trading platform: LocalBitcoins.

If you're looking for cryptocurrency trading business, you can make use of technically advanced cryptocurrency exchange software.

White-label Cryptocurrency Exchange Software Features:
The super-quick matching engine
Tightened with high security
Maximum customization to minimize the complexities
Independent modular design etc

Newbies, if you want to choose the latest <a href="https://cryptoexchange.alwin.io/">cryptocurrency exchange software</a>
which is built by the well bitcoin business industry experts here we are ALWIN Technologies provides a ready-made crypto exchange software, which in turn, makes branding simpler. We have skillful blockchain developers who create solutions for cryptocurrency platforms in a secure way. ALWIN developers are ready to help you to achieve goals.
How I wrote a Telegram bot for Bitbucket using Heroku and Python.
Tags: python, telegrambot, bitbucket, heroku
Published: 2019-10-24 12:58:40

So recently I started working on a group project with some of my friends. We did not want to make it opensource but I wanted to make sure we use a version controlling system but GitHub didn't allow having private organization repos without a cost, so we ended up with BitBucket.

### Things to set up

So we need to set up some things before we go on with writing our app.

- Set up your bot. Read [this](https://www.siteguarding.com/en/how-to-get-telegram-bot-api-token)
- Set up a [Heroku](https://signup.heroku.com/) account, we need that because that's where we are going to deploy the app.

My first attempt at the bot didn't work and it was, TBH wasn't the right way to do it. The second attempt is the proper way to do it.

Read the rest of the article [here](https://deepjyoti30.github.io/blog/how-i-wrote-a-telegram-bot-for-bitbucket)