teleren/devto huggingface dataset:
New beginning
Tags: developer, personal, improvement
Published: 2019-11-13 03:46:45

---
title: "New beginning"
published: true
description: "Challenge as a developer"
tags: Developer, personal, improvement
---

![Where?](https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcR6rOKthYUWPAHrr3f3yYUyrIBqby6Z0__5QEGcPfZYUCz5V0h7)

#Yes, still a beginner#

This is my second blog from my post [Beginners Life](https://dev.to/crispaulcastaneda/beginners-life-23o6)

And yea, that is connected to it... And I'm going back again as a beginner. 

I quit my first job as an IT Support at a Private School where I can't handle my own time, I used to work on the things that don't relate to my job. I also work as a Custodian, I support the Multimedia Students to borrow things they need. Every day I tried to survive to the work I've been through, I'm happy, and I socialize to the students to the point that I want to learn photography and edit photos & videos. Still, being dedicated to a dream that I need, I realize programming is the career I want to pursue.

Going back to my post and totally decided to work on my skills first as a Developer. I think this is a good investment for me to start again to continue what I started.

And btw, one channel helped me from self-improvement is to listen from [Matt D'Avella](https://www.youtube.com/channel/UCJ24N4O0bP7LGLBDvye7oCA). I just want to share it with you.

Before I close this blog, I want some advice from you guys. I appreciate your time and attention from this post. Hoping to give it back soon to contribute what I can in our community. 

✌ to us!
Vectorized SQL in CockroachDB
Tags: sql, database, go
Published: 2019-11-13 03:32:23

---
title: Vectorized SQL in CockroachDB
published: true
description: Learn how we vectorized our SQL engine in CockroachDB to make it run analytic queries faster
tags: sql,databases,golang
---

Some of you know my team at Cockroach Labs and I have been working on a cool thing called "Vectorized SQL Execution" for a while now. It's about making analytic queries in CockroachDB much faster and more CPU-efficient. I'm happy to announce that it just hit production in CockroachDB's 19.2 release. Check out the post written by my awesome teammates Alfonso Subiotto Marqués and Rafi Shamim:

https://www.cockroachlabs.com/blog/how-we-built-a-vectorized-sql-engine/

Check it out and let me know what you think! And, join the conversation on Hacker News: https://news.ycombinator.com/item?id=21506588
Automate Your Server Security With GrapheneX
Published: 2019-11-13 02:58:47

<p>The internet is rife with bots and bad actors trying to compromise your servers. To counteract these threats it is necessary to diligently harden your systems to improve server security. Unfortunately, the hardening process can be complex or confusing. In this week's episode 18 year old Orhun Parmaksiz shares the story of how he and his friends created the GrapheneX framework to simplify the process of securing and maintaining your servers using the power and flexibility of Python. If you run your own software then this is definitely worth a listen.</p><p><a href='https://www.pythonpodcast.com/graphenex-server-security-episode-237/'>Listen Now!</a></p>
Day1:Print - 100DayOfRust
Tags: rust
Published: 2019-11-13 02:39:59

## 1, Print

```rust
fn main() {
    println!("hello world");
    println!("{} and {}", "Alice", "Bob");
    println!("hello {name}", name="Bo");
    println!("{} of {:b} people know bin", 1, 2);
}
```

Result:
```
hello world
Alice and Bob
hello Bo
1 of 10 people know bin
```

## 2, Print self-defined structure

```rust
#[derive(Debug)]
struct Person<'a> {
    name: &'a str,
    age: u8
}

fn main() {
    let name = "Peter";
    let age = 27;
    let peter = Person {name, age};
    println!("Person is {:#?}", peter);
}
```

Result:
```
Person is Person {
    name: "Peter",
    age: 27,
}
```

## 3, Implement Display traits for print

```rust
use std::fmt;

struct Point {
    x: i32,
    y: i32,
}

impl fmt::Display for Point {
    fn fmt(&self, f:&mut fmt::Formatter) -> fmt::Result {
        write!(f, "Point ({}, {})", self.x, self.y)
    }
}

fn main() {
    let p = Point {x: 3, y: 4};
    println!("Point is {}", p);
}
```

Result:
```
Point is Point (3, 4)
```
Responsive website design
Tags: css, html, webdev, flask
Published: 2019-11-13 02:26:55

I found a wonderful article on responsive website design when doing some research for a new admin panel I’m building.

I’ve found all admin templates are too complex. I’m building a very simple one in flask. I’ll publish it when I’m done, but I want to do it right and this will help get me started. I hope you find this useful.

https://internetingishard.com/html-and-css/responsive-design/
Day 14 - Project - NYT Article - Part 1
Tags: html, css, selftaught, codenewbie
Published: 2019-11-13 02:19:29

It's now time to practice again all that I have learned.

The goal is to recreate this [NYT article page](https://www.nytimes.com/2014/03/18/science/space/detection-of-waves-in-space-buttresses-landmark-theory-of-big-bang.html?_r=0).

With my last project, I realized that it was better to think about what I wanted to accomplish before I started coding. I created from mockup on paper and it forced me to taking into account how I was going to position some elements and see if I was missing containers. By the time I was done with the mockup, coding was easier and faster.

This time I used Figma on the recommendation of a Twitter friend and this is what I have so far. 

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/2j0emzh6giz2ooavdqgh.png)

I am deciding whether to use the Grid as it would be easy to make the page responsive using <code>grid-template-areas</code>.

I will be using .svg for the icons and see what's different.

Anyhow, have to be up early. I will start coding tomorrow and I can't wait to see what I learn.
Setting Apollo Context from HTTP Headers in a Meteor Application
Tags: javascript, meteor, apollo, graphql
Published: 2019-11-22 23:58:41

---
title: Setting Apollo Context from HTTP Headers in a Meteor Application
published: true
date: 2019-11-13 00:00:00 UTC
tags: Javascript,Meteor,Apollo,GraphQL
canonical_url: http://www.petecorey.com/blog/2019/11/13/setting-apollo-context-from-http-headers-in-a-meteor-application/
---

I was recently tasked with modifying an [Apollo](https://www.apollographql.com/)-based GraphQL endpoint served by a [Meteor](https://www.meteor.com/) application to set a field in the resolvers’ context based on a HTTP header pulled out of the incoming GraphQL request.

This should be an easy, well-documented ask.

Unfortunately, Meteor’s Apollo integration seems to exist in an awkward, undocumented state. The `createApolloServer` function exposed by [the `meteor/apollo` package](https://atmospherejs.com/meteor/apollo) doesn’t seem to have any real documentation anywhere I could find, and [the Github repository](https://github.com/apollographql/meteor-integration) linked to by the package doesn’t seem to relate to the code in question.

How can I access the current HTTP request when building my resolvers’ context?

With no documentation to guide me, I dove into the package’s source code on my machine to find answers. The source for the package in question lives in `~/.meteor/packages/apollo/<version>/os/src/main-server.js` on my machine. The `createApolloServer` function accepts a `customOptions` object as its first argument. I quickly learned after digging through the source that if `customOptions` is a function, `createApolloServer` will call that function with the current request (`req`) as its only argument, and use the function call’s result as the value of `customOptions`:

```

const customOptionsObject =
  typeof customOptions === 'function'
    ? customOptions(req) 
	: customOptions;

```

This means we need to change our current call to `createApolloServer` from something like this:

```

import { createApolloServer } from "meteor/apollo";

createApolloServer({ schema }, { path });

```

To something like this:

```

createApolloServer(
  req => ({
    context: {
      someValue: req.headers['some-value']
    },
    schema
  }),
  { path }
);

```

This information is probably only pertinent to myself and an ever-shrinking number of people, but if you’re one of those people, I hope this helps.
Volume2 - A logarithmic volume controller for Windows
Tags: windows, volume, logarithmic, mixer
Published: 2019-11-12 23:54:19

---
title: Volume2 - A logarithmic volume controller for Windows
published: true
description: Finally i found a logarithmic volume controller for windows
tags: #windows, #volume, #logarithmic, #mixer
cover_image: https://thepracticaldev.s3.amazonaws.com/i/tnps1319smsujvdlns9f.jpg
---
in the past i used winamp as audio player, i really loved it but after justin frankel sold it/left the company (can't remember) i tried to move to open source software and picked foobar2000.

the thing i really missed was the logarithmic volume controller. one big issue of all modern devices (mp3 player, mobile phones, computers, ...) is the missing of a logarithmic vc. most of the time "volume 1" is much to loud if you want to listen to music to sleep... a logarithmic vc is a much better way to fine tune your desired volume.

today i found volume2 (i was searching for a mixer alternative) and then noticed that i can choose logarithmic as control method. soooo awesome.

![Volume2 Options Logarithmic](https://thepracticaldev.s3.amazonaws.com/i/dulgrn1a6iakvuv70xun.png)

additionaly it can define two audio devices which both can be controlled with it. i picked the same audio device for both, the audio device and the alternative audio device. the clue is that i can pick different targets to change the volume for. so i have choosen "Actice application" for one and "System" for the other. now i click on one application and with win + mouse wheel i can change the volume for this application and also can use my volume wheel on my keyboard to change the complete system volume.

![Volume2 Options Alternative Device](https://thepracticaldev.s3.amazonaws.com/i/ya6p57cnke2jd61qxvlp.png)

get it on https://irzyxa.blogspot.com/

really awesome :D <3


(frankel thanks for winamp, thanks for waste <3)
links:

- cover image by geralt https://pixabay.com/illustrations/logarithm-board-mathematics-pay-1544756/
- https://github.com/irzyxa/Volume2
- https://irzyxa.blogspot.com/
- https://www.foobar2000.org/
- https://en.wikipedia.org/wiki/Winamp
- http://waste.sourceforge.net/
Day 32 : Oh No
Tags: hiphop, code, coding, lifelongdev
Published: 2019-11-12 23:30:32

_liner notes_:

- Professional : Finally was able to recreate, I think, the issue a user was having in the community forms. I was going to ask for help from team members if I couldn't get pass an error by a certain time. As the time drew closer, I was like 'Oh No!' but then saw what the issue was got it working. haha So I finished building the applications and saw where maybe the community member may have switched around some values. Since we aren't in the same timezone, I won't know till tomorrow morning the earliest. Also, I deployed the previous app that was built for contests to Heroku, but could not figure out how to get it running. Also did some research on how I want my application to work.

- Personal : Last night, I was able to get the map on my Sapper / Svelte side project to render. Going to see if I can get map markers on the map and animate the map between them. I also want to go through some tracks for this week's radio show.

![Mountain views above the clouds of Mt. Teide, Canary Islands](https://thepracticaldev.s3.amazonaws.com/i/48fgzh3gfy7tqbstyxse.jpg)

Tomorrow, I want to get something on the screen for the application I'm building for work. Take a look back at the previous app and see if I can get it working. As for my side project, hoping to make some more progress on it by adding some pages.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube JHQMqZP4tZk %}
What's up with the pronouns?
Tags: career, hiring, community
Published: 2019-11-12 22:31:23

Recently I noticed the trend of adding pronouns to profiles.

`Jane Doe (she/her)`

While I understand that this is a political statement supporting transgendered people, I fail to understand how that supports/helps.

Here are my questions/considerations:

## Suggestion or demand?

As of now, we are facing two problems when it comes to non binary identification. First, there is no established grammatical solution that would be accepted/used by people not defining themselves as one of the biological genders. The plural use has its pitfalls when actually referring to multiple individuals and other suggestions have yet to be adopted as usable alternatives. The second problem is the border between common sense and legal right. While it is logical to respect one's personal preference to a certain degree, a general right to be called however one wants to must have its limits (unless you all agree that I am "his holy excellency" form now on and whoever fails to call me like that must face legal repercussions). And it seems like society is generally ready to have this discussion. Unfortunately, starting such trends as to generally post pronouns quickly becomes a demanded label.
What do I mean by that? If you live in the US, you will notice that filling out forms means that in the name of equality we need to label ourselves all the time.
What race do you belong to? Are you Hispanic? Protected veteran, maybe? 

Why are those questions on every form? Well, to make sure it does not matter?!?

And I am perfectly aware of another question on every form that most of us easily answer, but others don't: male or female?

I guess what I am saying is that we are trying to solve for a social problem with the methods that haven't solved comparable problems in the past. As a matter of fact, if we really wanted equality, the opposite should be done. We should all fill out forms like this (unless it's medical - you better let your doctor know):

What race do you identify as? - decline to answer
Are you Hispanic? - decline to answer
Part of another protected minority? - decline to answer
Male/female - decline to answer

## Impact

So what is the impact on sharing your pronouns? Well, in one scenario, there is no impact. People will either use your pronouns, make a mistake or disregard your wishes intentionally. In the worst case scenario you face discrimination. But what is the best case scenario? Is it that everybody has pronouns in their signature? Will there be a time where you will automatically be considered a bigot if you don't? And probably more realistic: Are there recruiters adding pronouns to their profiles right now to "grab an untouched market of transgender developers"?

In conclusion, I want to gather some opinions here. I understand that we want to be inclusive and supportive. My question is: Is this the right way?
GitTips
Published: 2019-11-12 23:08:25

This my own tips through my experience with Git I am glad to share with you these tips. have fun.
I just published Git Tips

this link here https://medium.com/@abuoop123/git-tips-99c24d3ec8bf?source=friends_link&sk=499bfa47bba1e74575cec1ce577c70d5
Arreglos en Javascript
Tags: arreglos, javascript
Published: 2019-11-12 23:02:08

---
title: Arreglos en Javascript
published: true
description: Arreglos en Javascript
tags: arreglos, javascript
---

Hola nuevamente, como el título lo dice, hoy vamos a hablar de Arreglos o Arrays (en inglés).


https://medium.com/@rodrwan/arreglos-en-javascript-4c9164e12a16
Yes I am that nuts
Tags: officedrama
Published: 2019-11-12 23:00:03

A new project got approved for my dev team. Okay, it's not _my_ dev team. I'm a senior member but not the lead. Anyhoo.

I got assigned to the data modeling aspect. You know, design and build the database? I'm a self-styled "full stack developer," since I handle a little of everything -- front-end, back-end, database. I do it all, but I prefer front-end, but I do have a soft spot in my heart for building database designs.

So in a team meeting, we were discussing the new project. I said I was looking forward to working on the data model, and my boss looked at me like I was nuts.

If that's how you like it, then heck yeah I am. Yeah, this is the job that pays my bills, but that doesn't mean I can't love the crap out of it sometimes. I guess the moral of this little anecdote is:

**Don't let people shame you about what you love. Own it. Make it yours. Love your job, if you're so inclined, and always love yourself.**
Announcing the Design Doc Podcast
Tags: podcast, designdoc, firstpost
Published: 2019-11-12 22:28:10

---
title: Announcing the Design Doc Podcast
published: true
description: Announcing the Design Doc Podcast - A podcast where experienced developers talk about how they build their own projects, tools, and technologies.
tags: podcast, designdoc, firstpost
cover_image: https://s3-us-west-2.amazonaws.com/anchor-generated-image-bank/production/podcast_uploaded400/1975435/1975435-1561678560877-75bffad2b651c.jpg
---

Hey there! I'm a bit ashamed to say that my first Dev.to post is self-promotion, but this is the first big thing that felt worth sharing! I just launched a Podcast! It's called Design Doc, and the goal is to help more junior developers gain knowledge around project development, tools, and technologies.

The vision involves showing how experienced developers do their work, often in their spare time. This highlights the idea that, when trying to ship something, it's often okay to skimp on the nine-to-five requirements like tests, CI/CD, etc.

My first interview is with a long-time friend and engineer at LinkedIn. We talk about one of his personal projects and how he's built it. We cover the tech side as well as the project side so developers can get some insights into building their own product.

I'd really appreciate it if you'd check out the first episode and let me know your thoughts :)

https://anchor.fm/design-doc
Feeling excluded and sad for not getting positive feedback - How should I react?
Tags: career, discuss, anonymous
Published: 2019-11-12 21:49:24

---
title: Feeling excluded and sad for not getting positive feedback - How should I react?
published: true
description: 
tags: #career, #discussion, #anonymous
---

I am in a situation where I feel very bad, excluded and sad.

I work in a small team on projects for clients. The team consists of three frontend developers, a designer, and our project manager. My role is more backend and ops (typical DevOps job).

It has happened many times now that our project manager and the client praise our work. Unfortunately, this praise is only given to the designer and the frontend developers (they are addressed directly). I'm starting to feel very upset because I think I'm doing a lot to make the application run smoothly and the servers stable.

Yesterday, another subproject was launched and again only the frontend developers were praised for their work. Although I have also contributed a large part and even supported during an illness from home.

I really like working in this company and don't want to quit and look for a new employer, but it feels very demotivating for me.

I also know that software projects can only be successful as a team and support colleagues and clients where I can, but slowly I start to doubt myself and my abilities.

How would you react in my situation? What are your suggestions?
Implementing Google Maps to your projects
Published: 2019-11-12 21:40:48

Google map is very useful because if you have an application that needs some sort of location finder, you can just use google maps api. The first step is to first get your API key from developers.google.com. There you can click on overview and click get started. 
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/vawd2dzmf45p0boi4qq3.png)
From there, just finish the process to get your API key. You'll want to save it somewhere private just in case. Now all you'll need to do is reference google maps in your HTML file and give it your API key in order to be able to customize a map of your own. 
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/fnsv0zh39peatzfp3g5u.png)
Next, you can start creating the actual map itself and give it a size of whatever you want. 
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/edid7t5amq44sv5g96nc.png)
You can even give it a position that you want the map to be in. Like this. 
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/e8iocq999kph8n60l7z2.png)
After you've done all those steps, you should have a working map. It also comes with a marker! 
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/ts60nbmz5urwka5urrcp.png)
Now you can start using your google map for projects like Geo Guesser and such.
A sneak peek from a backend system architecture guide - feedback request
Tags: serverless, ruby, architecture, aws
Published: 2019-11-12 21:36:45

You probably know this whole class of queries "What backend architecture should I...?" which always results in the same boring answer: 
"it depends".🙈

There are tons of great resources online, and the problem is how to read them all in multiple tabs simultaneously. 🙃

My dear friend Tomasz Antas, CTO of Altalogy, is curating "The ultimate comparison of web app backend architectures" in a form a long blog post with lots of charts, infographics, insights and advices.

I'm posting a sneak peek here for two reasons:

1) If there's anything you would change in the illustration below, I'd love to know now
1) Tomasz got fewer followers than me, so I'm posting on his behalf 😂

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/ph4y6qk45frhwul29kuu.png)



Let me know if such an infographic is clear and informative to you. Thanks! 🙏
my #100DaysOfCode Challenge
Tags: 100daysofcode, challenge
Published: 2019-11-12 21:02:43

Hey DEV.to community 👋🏻

this is my first post published here on DEV.to and I thought I use it to announce my "contribution" to the #100DaysOfCode Challenge. 

But I have to make a view changes ...

1. I most likely will not be able to code 100 Days strait but I will code as often as possible.
2. I will not only focus on learning new techniques, but improving skills in Technology I already know (in my case, mostly PHP / FatFreeFramework) 

But I will document the whole challenge as good as possible on my Twitter account (@JPrzymusinski) and here on DEV 

Thanks for you're time :)

Ps. if you have any ideas on projects I can do, please let me know. I have a view in mind but it wouldn't hurt to have more :)
And please forgive any Spelling / grammar mistakes in Posts here and on Twitter, if you find some, please let me know in the comments. Thanks
FOUR SECRET KEY OF PROGRAMMING
Published: 2019-11-12 20:35:34

1.Interest:💖
This is where everything begins!interest will help you in difficult situations!
a quality that attracts your attention and makes you want to learn more about something.
2.Passion:🔥
passion in life gives you something to build rest of your life around.
Passion is the thing that will help you to build awesome apps and experience new thing!
3.Patience:🕐
Patience is the quality of waiting calmly without complaining.
you need more time to make it happen!
Patience will help you to achieve your goals!
4.Flexibility:🤸‍♀️
Flexibility  is the ability to change, to bend,or to persuade.
Change in our field is constant!
Flexibility will help you adapt to new technologies!
DevTo top 12 articles in every new tab
Tags: chrome, javascript, html, devto
Published: 2019-11-12 19:37:23

This is my first post here, so hello everyone! I've made a simple chrome extension that shows 12 top articles from dev.to every time you open a new tab on google chrome. I've used dev.to API (https://docs.dev.to/api/) to obtain top articles for the last day. This post is directly inspired by this other post-> https://dev.to/jakeprins/how-to-create-and-publish-a-chrome-extension-in-20-minutes-4m7p , so go there if you want to try yourself!

You can check code on github:
https://github.com/bristoll/devToTab

Hope you like it, I'm thinking of publishing it on chrome store