teleren/devto huggingface dataset:
TIL: Tell TypeScript not to type check node_modules
Tags: typescript, javascript, todayilearned
Published: 2020-06-17 16:21:55

I am currently working on an Express.js + GraphQL + TypeScript side project for fun. Local development has been great so far, and I have been using `ts-node` while developing locally. 

All my types check out, and everything is looking good, time to build for production! I run `npm run build`, and BAM I got hit with an error!

This is the error I am seeing:

```
> npm -s run clean && tsc

node_modules/apollo-server-express/node_modules/@types/express/index.d.ts:110:54 - error TS2315: Type 'Response' is not generic.

110     export interface Response<ResBody = any> extends core.Response<ResBody> { }
                                                         ~~~~~~~~~~~~~~~~~~~~~~


Found 1 error.
```

What the Heck! I am getting a type error way down in the guts of the `node_module` dependencies that have nothing to do with my code. 

After spending way to much time searching around trying to figure out a fix. It turns out it was under my nose the WHOLE TIME. Just a simple flag to pass to the `tsc` CLI tool, `--skipLibCheck`

I just had to update my build command in my `package.json` and it all builds just fine

```
npm -s run clean && tsc --skipLibCheck
```
 
I hope this saves you some time if your a novice TypeScript developer like myself.
How to connect to MS SQL Server 2000 in PHP7 PDO on CentOS 7
Tags: php
Published: 2020-06-17 16:21:50

As a premise, php and pdo are installed.

At first, install `nixODBC-devel` and `freetds` and `php-odbc`.

```bash
$ sudo yum -y install unixODBC-devel
$ sudo yum -y install freetds
$ sudo yum -y install php-odbc
```

And then, edit `/etc/odbcinst.ini`
```bash
$ sudo vi /etc/odbcinst.ini
```

[/etc/odbcinst.ini]: 
```txt
[FreeTDS]
Description = ODBC for FreeTDS
Driver64    = /usr/lib64/libtdsodbc.so
Setup64     = /usr/lib64/libtdsodbc.so
FileUsage   = 1
```

Finally, create an PDO object as follows.
```php
<?php
    $host = 'xxx.xxx.xxx.xxx';
    $port = '1433';
    $dbname = 'database-name';
    $username = 'username';
    $password = 'password';
    
    $dsn = "odbc:Driver=FreeTDS;" . 
        "SERVER={$host};PORT={$port};DATABASE={$dbname};" . 
        "ClientCharset=UTF-8";
    $pdo = new \PDO($dsn, $username, $password);
```
Using Formik To Build Dynamic Forms In React - Faster & Better
Tags: react, javascript, formik, yup
Published: 2020-06-17 16:21:44

Although React has made client-side development a lot easier, creating dynamic forms in React applications is still very complicated due to challenges, like form verbosity, validations and error handling.

Some engineers even resort to Redux-based solutions like Redux-form to simplify the development but there are still performance issues that make it a “less-than-ideal” solution. Formik however emerged as a clear winner here.

Checkout my blog post on Using Formik to Build Dynamic forms in React - Faster & Better. 

You can find it at [https://www.velotio.com/engineering-blog/using-formik-to-build-dynamic-forms-in-react](https://www.velotio.com/engineering-blog/using-formik-to-build-dynamic-forms-in-react)
Fivnex Announcement
Tags: showdev, productivity, management
Published: 2020-06-17 16:12:45

No, Fivnex is not another project. It isn't an application, nor an operating system, nor a website with specific functionality. Fivnex is a project host. Fivnex was born to fill the need to maintain my projects.

# What will Fivnex host?
Fivnex will host and maintain the large-scale projects I build. The core projects hosted by Fivnex will be Ubuntu Lumina Remix, MEML, and UPM. Fivnex will also host both short-term and long-term experiments and concepts.

Fivnex will have a website, but nothing special. The Fivnex website will include a summary of every project maintained by Fivnex. Unless having a dedicated website, all the projects hosted by Fivnex will have a landing page that directly connects to Fivnex's URL, but doesn't look like the rest of the site.

The final thing about Fivnex is that it will also use Dev.to for project announcements, tutorials, and technologies that Fivnex supports. The Dev.to organization is why I want to announce it here first.

It's all community based, all volunteer, and all open-source. Another purpose is to better help open-source projects made by independant developers
How to make facebook stylish name
Published: 2020-06-17 16:11:09

Stylish Name List For Facebook. Friends, are you looking for Stylish Name list Facebook? So you have come to the right place. Today I have brought you the Best Facebook Style Name. Using which you can give Facebook profile or group name. Here is the 50+ Facebook Name List. 

Which is an acceptable name? Now you do not need any trick VPN. You can directly change from Simple Stylish Facebook Name list and change from Simple to Stylish. Even you can change the Facebook Page name to Style. You can change Facebook account id name in Stylish.

Along with this, Stylish Name fonts online generator has also been given for you. With the help of which you can make any name Stylish for Facebook. Below is the list for Stylish Name list for Facebook. Whichever Style Name you like, you can copy it and use it for a Facebook name.

 Also how to create a Stylish Name Facebook account and how to use it? Has told about him at the bottom. You can create a Stylish Facebook account name after reading them carefully. Right here, Stylish Name for FB girl, Name for FB Profile, Stylish Name fonts, Fb Stylish Name maker, unique Name for Facebook Profile, Change etc. generator and list.

Stylish Name List For Facebook
έķ νίĻĻάίή
†εrα ßααp hu šααﾚα
тнє ∂αяк нυитєя
вяαи∂є∂ ∂єνιℓ
εк vιℓℓαιη
∂α∂ σғ ∂αvιℓ
αℓσηε ℓσvεя
кιηg σғ кιηg
σүү נααηυ
ραgαℓ ι ℓσvε үσυ
ρүαя тυηε күα кιүα
мαsтι мαzα
тнε мαsтεя мιη∂
∂εvιℓ ιηsι∂ε
ρმცმl hõ ცყმ κყმ
кαмιηε ℓση∂ε
тεяι внαвнι нαι
ђคгค๓кђ๏г
ηαℓαүαк ℓα∂кα
вяαη∂ε∂ кαмιηα
sαя ρнιяα ραтнαη
jιтnι gιrl тerι ғrιendlιѕт мe нaι υѕѕe jyada мerι вlacĸlιѕт мe нaι
нσтsнσт кαмιηα ℓσvεя
3 ι∂ισтs
ℓιғε αη∂ мυsιc
МE ŤEŔÁ ßŐYŦŔĨEŃĎ ŤÚ МEŔĨ ĞĨŔĹŦŔĨEŃĎ
süpärï kïllër
σffícíαl kαmínα
sσul hαckєr
tєrα díwαnα
вadѕнaн
tërmïnätör
ghσst rídєr
ρяιηcε σғ нεℓℓ
Dɘɘwʌŋʌ Mʌstʌŋʌ
Tëra Dïwãñã
кιsι кε кααм ηα ααүεgα үεн ℓα∂кα
Exçušǯ’Mǯ-GirLsNø’Auţøgrãph-płz
ʍµjh€ ώ๏ ℓ๏ǥ ρą$ąɲď hąɨ j๏ ʍµjh€ ρą$ąɲď ɲhɨ Ќąяţą
ράģάĻ ħù мέ ράģάĻ вήά ȡùήģά
fαмσυѕ вяαи∂
cσσl вσчs
wє αrє hulks
hαckєrѕ
ƘíϲƘ ɑՏՏ ҍօվՏ
rσckíng ѕtαrѕ
whєn ís thє pαrtч
nön stöp ćhät
ĎĮĹ ĎĤÃĎЌÃŇẸ ĎỖ
CΉӨCӨLΛTΥ BӨΥS
íntєrnαtíσnαl вlαcklístєd
ѕιlenт нoja warna мe wιlenт нo jaυnga
drιnĸ dυdeѕ
gαngs σf whαtsαppur
ղօղ ѵҽց ƒɾíҽղժՏ
ßhαïα յï šmïﾚε
cнaттer вoх
вєѕt ѕchσσl fríєndѕ
proтocol вlacĸ
тяυє ℓσνє
Ƙɑʍíղօ Ƙɑ ɑժժɑ
íjjαt kαrσ hαmαrí wαrnα вαhєnchσd dєngє tumhαrí
dängëröüs drämä qüëën
dαngєrσus вσчs
¢нαиgυ мαиgυѕyeh
ғαвυℓσυs ғяιεη∂s
ηαмε втα ∂ιүα тσ ραнcнαη вσσяα мαη נαүεgι
if you want more <a href="https://www.stylishname.in">Stylish name</a> then visit Www.stytlishname.in There you got too many stylish name for boys & girls.
Why Does Privacy Matter?
Tags: privacy, hackathon, blockchain, discuss
Published: 2020-06-17 16:09:02

---
title: Why Does Privacy Matter?
published: true
description: From time to time, you will hear people say things like “I have nothing to hide”, until their personal information has been compromised.
tags: #privacy #hackathon #blockchain #discuss
cover_image: https://p21.p4.n0.cdn.getcloudapp.com/items/9ZujXWON/Image%202020-06-17%20at%208.49.43%20AM.png?v=d0d471d5392d8ee50c7f6cbf7b69ffeb
---


It’s hard to imagine that 2 years ago SSL was optional i.e. browsers didn’t make it abundantly clear that the site you are on is [‘Not Secure’](https://www.theverge.com/2018/2/8/16991254/chrome-not-secure-marked-http-encryption-ssl). But with the help of the global developer community and non-profit organizations like Let’s Encrypt, the EFF, and many others, it’s now thankfully taboo to have a site (even personal portfolios) without SSL.

From time to time, you will hear people say things like “I have nothing to hide”, until their personal information has been compromised. This is effectively the approach major tech companies today take, and more people seem to be realizing that this approach to privacy is fundamentally broken.

One part of a solution is building better ways to protect our data and our privacy. As Tim Berners-Lee recently said [the internet should be a universal right](https://www.theguardian.com/commentisfree/2020/jun/04/covid-19-internet-universal-right-lockdown-online). The same goes for privacy. Privacy protects journalists and whistleblowers, it protects activists and dissidents, all of whom are key to defending democracy.

To be sure, I don’t think blockchain is the key to protecting privacy, but it has a large community of enthusiasts who care about these topics and we’re proud to have them involved in our [Protect Privacy](https://gitcoin.co/hackathon/privacy/onboard) hackathon. We have to start somewhere to protect these rights and take control of our data, financial or otherwise, and we’re hopeful this attempt to get more people involved in this conversation, with 11 organizations, including The Tor Project on board, will help. There are over $50,000 in prizes and we’d love to get your feedback on them and have you involved! Let’s find better ways to preserve, protect, and use our data.

If you have any questions, [join us here](https://chat.gitcoin.co/hackathons/channels/general-private). Or just let us know below 💬 - **why does privacy matter to you?**

<hr>

[Photo](https://unsplash.com/photos/-YiTdas-O1c) by [Pierre Bamin](https://unsplash.com/@bamin) on Unsplash
Hello Dev.to!
Published: 2020-06-17 16:08:34

##Motivations
I have joined dev.to to jump back into writing about what I love.  

I used to write quite often. Writing was a way of life for me. After all, I was a English major in college. I would write, write, write all day everyday. I could crank out 20+ pages of content in a single evening. 

Fast forward almost 10 years, a couple job transitions, and 1 career change, I have not written for the sake of writing in likely 8 years. This is the first step in moving back into my head. Writing down the twisted vine of thoughts that sneak around in my head when trying to relax. 

My career has changed a lot in the last 10 years. I plan on exploring how I got here in hopes of inspiring others to do the same. I learned things I never thought was possible for a writing girl. 

##Topics I plan to explore:
- Moving from Technical Writing into coding. 
- Is a master's degree in technology worth it?
- Learning JavaScript, Java, Python, ACL, XSLT, XML
- Imposter syndrome in the tech world
- Cloud computing with AWS
- Learning Linux
- Are certifications worth it? 
- Development in the aviation publication industry


Looking forward to writing and reading with you. 
Mercedez
How to configure Jest on a Next.js project
Tags: react, jest, nextjs
Published: 2020-06-17 16:05:45

You just need to follow few steps to have Jest enabled in your Next.js application.

Let's see how to do this!

## 1. Install the dependencies

```sh
npm i -D babel-jest jest
```

## 2. Add the `test` script to run yor tests

Inside your `package.json` file, add this line in the `scripts` section:

```json
"test": "jest --watch"
```

Now, all you need to do is (after we finish the setup), type `npm test` on you terminal.

## 3. Setup .eslintrc.json

If you are using ESLint, you will need to tell it to stop warning you about Jest functions.

Create a file called `.eslintrc.json` if you don't have one, and add the following code in the `env` section:

```json
{
	"env": {
		"jest": true
	}
}
```

## 4. Final step: .babelrc

Just create a file called `.babelrc` and put this inside of it:

```json
{
  "presets": ["next/babel"]
}
```

And that's it! If you need configure some thing particularly related to your project (like ignore certain folder), you can take a look at [this file](https://github.com/vercel/next.js/blob/canary/examples/with-jest/jest.config.js) and [this folder](https://github.com/vercel/next.js/tree/canary/examples/with-jest).

Bye! 👋
need trello mongodb schema
Tags: help
Published: 2020-06-17 16:04:06

---
title: need trello mongodb schema
published: true
description: help needed
tags: #help
//cover_image: https://direct_url_to_image.jpg
---

So I've been trying to find the schemas that trello use for their backend. I have an assignment in my backend course to create a trello clone but with less features, now all i want to know is if they use arrays to keep references
(Example: boardSchema {title: string,
 Lists[
  mongoose.Types.ObjectId, 
  ref: List
]}) or if they only keep a reference to the parent 
(Example:
 ListSchema {
 Title: string
 BoardId: 
 mongoose.Type.ObjectId,
 Ref: Board
})

Anybody got any ideas?
Making a case for english codebase to my boss
Tags: code, help, codebase
Published: 2020-06-17 16:01:12

---
title: Making a case for english codebase to my boss
published: true
description: Advice needed on making a case for keeping a english codebase in a non-english spoken job
tags: code, help, codebase
//cover_image: https://direct_url_to_image.jpg
---

Hi people :)

I wanted to ask for your advice on a thing that I'm currently struggling with at my job.

For a little context, I'm a web developer from Chile, and currently, I'm in charge of maintaining a very old vanilla PHP codebase. *(How old you say? It still has a __JSON.php__ and a __PHP4 HTML parser__ libraries on its assets that I just can't bear to delete from pure nostalgia. Lucky for me the code was barely refactored previously so It works on PHP 7)*

At the moment I managed to free some time so I can migrate this codebase to a Symfony project, but I'm having trouble trying to find "solid good reasons" to have the codebase entirely in English.

Before this job, I was pretty much used to have my both my code and comments completely in English, and now having to propose this change to the "brass" I find myself without a reason to make this language change other than the classical:

* _"It´s the standard way"_
* _"It kinda makes sense, since the framework is in English"_
* _"No need to think on tilde characters"_ (My heart dies little by little every time I see a _agno_ variable because we should not use _año_

To me, due to the circumstances, these reasons that make all the sense to me seem more like "aesthetic reasons" for this case, mainly because:

* It's very likely that the code won´t be made public.
* It's even more likely that the dev team will be all "Chilean Spoken Natives" (Mandatory "Chilean Spanish is a different Spanish" reference xd).

But still, deep in my heart, I know that __at least__ the codebase should be in English :(

So I ask you, dear dev community :)

Have you ever had to make this choice?
What reasons drove you to start/change to an all English codebase?
has anyone failed on a similar issue? Why?

Thanks for taking the time to help me with this thing :)
Regarding the #100DaysOfCode challenge
Tags: 100daysofcode
Published: 2020-06-17 15:33:08

I have to switch around some things, in less than 2 weeks, I will be going to Paris for 5 weeks of construction work, it will be hard and won't be able to take my computer with me, so during that time I will be mostly on my phone, so I will be installing SoloLearn so I can keep the 1 hour code a day in check and do something that most of us forget on purpose. I'm talking about literature (I know it's slow and boring, but it's as important as coding it self). Since I want to learn Rust language I will be reading the “the book” and before I will read some book about programing in general (still need to decide on that, so if you have any suggestions, fell free to comment).

So instead of quitting the challenge or put it on hold I will be doing a little twist.

I will still be coding 1 hour a day, just not in the most comfortable of platforms 🤣 pen and paper will be my note taking mate instead of my .txt filled folder I have 🤔 note for a close future (make an notebook app windows / android that uses .txt and .md files).

This meaning for a while updates on the #100DaysOfCode will be only on Twitter (@Glitching_World that's my handle there) and here and on the [GitHub Repository](https://github.com/glitching-world/100-days-of-code) I made for it will be only updated later.
Untangle async calls from the try/catch block
Tags: javascript, await, async, promises
Published: 2020-06-17 15:33:06

Promises are resolved using a then/catch block like so:

```javascript
myPromise
  .then((data) => {
    // promise resolved
    doStuff(data);
  })
  .catch((error) => {
    // promise rejected
    throw error;
  });
```

The async/await keywords came along, and handling promises became a little easier, the code above can now be written like this:

```javascript
try {
  const data = await myPromise;
  // promise resolved
  doStuff(data);
} catch (error) {
  // promise rejected
  throw error;
}
```

While this is arguably better, the try/catch block becomes really tiring to write after a while, so I've taken some inspiration from node to simplify this code a little bit. Node uses an idiomatic pattern called [Error-first callbacks](https://nodejs.org/api/errors.html#errors_error_first_callbacks). By convention, callbacks get two parameters: the first one is the error, and the second one is the data. Our examples above also have an error and a data, so let's see how we can rewrite this:

```javascript
const doAwait = async (promise) => {
  try {
    const data = await promise;
    return [undefined, data];
  } catch (error) {
    return [error, undefined];
  }
};
```

The `doAwait` function takes a promise, and returns an array with two elements, the first one is the error, and the second one is the data.

Using this simple function spares developers from writing try/catch blocks over and over again, and can just destructure the returned value into an array, and handle the error in a way that is similar to how callbacks are written in node:

```javascript
const [error, result] = await doAwait(myPromise);

if (error) {
  throw error;
}

doStuff(result);
```

I find this little function quite handy, and the npm package [to-await](https://www.npmjs.com/package/to-await) actually does just that, and it also provides a handy utility to resolve an array of promises! Visit its [README](https://github.com/aeciolevy/to-await#readme) for more code examples.
Meet a New EntityDAC with Support for Delphi 10.4
Tags: delphi, linq, orm, database
Published: 2020-06-17 15:29:50

---
title: Meet a New EntityDAC with Support for Delphi 10.4
published: true
description:Devart released the new version of EntityDAC v.2.4, an object-relational mapping tool for Delphi, with support for RAD Studio 10.4 Sydney. 
tags: Delphi, LINQ, ORM, Database
---
*Devart released the new version of [EntityDAC v.2.4](https://www.devart.com/entitydac/), an object-relational mapping tool for Delphi, with support for RAD Studio 10.4 Sydney.*

Devart, the leading provider of database connectivity solutions for Embarcadero Delphi and Microsoft .NET development platforms, released the new version of its EntityDAC v,2,4 with support for Delphi 10.4.
It has to be mentioned that the new RAD Studio 10.4 Sydney delivers significantly enhanced high-performance native Windows support, increased productivity with blazing fast code completion, faster code with managed records, and enhanced parallel tasks on modern multi-core CPUs. Devart aims to stay on top of software development, thus the timely support for new RAD Studio in EntityDAC was one of the mandatory updates.

**EntityDAC** is an ORM for Delphi with LINQ support. It provides a powerful framework that allows performing object-relational mapping of database objects to Delphi classes with full support for encapsulation, inheritance, polymorphism, and other OOP features. In addition, there is a feature-rich ORM modeling tool available — Entity Developer that allows you to create and edit your ORM models visually, and generate Delphi entity classes by this model automatically.
The newest version of EntityDAC can be downloaded at https://www.devart.com/entitydac/download.html

**About Devart**

Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects.
For additional information about Devart, visit https://www.devart.com/
Planguage Wiz - Google Assistant
Tags: chatbot, googleassistant
Published: 2020-06-17 15:29:20

Hello Fellow developers,

I'm happy to announce that I have released a Google Assistant bot.

<b><h4>Planguage Wiz</h4></b>

<b>What does this bot do?</b> - It's designed to suggest Programming languages to beginners who have no idea what to choose. It also has links to tutorials to kick start their learning as well.

<b>How to use it?</b>- 
<ul>
<li>Install Google Assistant</li>
<li>Type "Talk to Planguage Wiz"</li>
<li>From there, you will have options to choose from below and you don't have to type at all (Zero typing and only clicking options after that)</li>
<li>Alternatively, you can visit the link: <a href>https://assistant.google.com/services/a/uid/000000e32506082c?hl=en</a> and push it to your device from there</li>
</ul>


One small request, it would be very beneficial if you could visit the below link and add your reviews to the Assistant and provide your feedback as well so I can make it better and smarter with every release.
<b>Your feedback matters</b>

Link - https://assistant.google.com/services/a/uid/000000e32506082c?hl=en

Thank you for reading. Hoping to help people, one step at a time :)

P.S: I will soon write an extensive post on how to develop Google Assistant bots using Dialogflow.
Accelerate Your Machine Learning With The StreamSQL Feature Store - Episode 137
Published: 2020-06-17 15:23:11

<p>Machine learning is a process driven by iteration and experimentation which requires fast and easy access to relevant features of the data being processed. In order to reduce friction in the process of developing and delivering models there has been a recent trend toward building a dedicated feature. In this episode Simba Khadder discusses his work at StreamSQL building a feature store to make creation, discovery, and monitoring of features fast and easy to manage. He describes the architecture of the system, the benefits of streaming data for machine learning, and how a feature store provides a useful interface between data engineers and machine learning engineers to reduce communication overhead.</p><p><a href='https://www.dataengineeringpodcast.com/streamsql-machine-learning-feature-store-episode-137/'>Listen Now!</a></p>