teleren/devto huggingface dataset:
My Squash vs That Squash
Tags: git
Published: 2017-10-12 15:02:28

---
title: My Squash vs That Squash
published: true
description: Different methods of Squashing
tags: git
cover_image: https://image.slidesharecdn.com/code-reviews-vs-pull-requests-160920222402/95/code-reviews-vs-pull-requests-80-638.jpg?cb=1474410317
---

Recently I moved up to higher stakes in my training to be a good junior developer. I was placed in a team that values conventions set and would comment and mark pull requests as critical (this meaning it has to be sorted immediately). One unwritten rule that is not found on our Wiki is squashing commits. Its funny though because the team lead mentioned that our commits should not pass 5 commits. A peer developer, JK, commented on my pull request and told me that I had violated the 3 
commit limit. I therefore went to our old friend Google. After opening and closing several Stack Overflow tabs, scanning through the git help pages I was ready to try out something. I decide to play around with a project I had made before. I did not want to screw up in any way the project, branches and commits I had already.(Just being safe, Junior dev fears)

I changed directory to a bucketlist app I had and then did a `git log` to see the last few commits I had. I then typed the following

```
# Reset the current branch to the commit just before the last 2:
git reset --hard HEAD~2

# HEAD@{1} is where the branch was just before the previous command
# This command sets the state of the index to be as it would just
# after a merge from that commit:
git merge --squash HEAD@{1}

# Now commit those squashed changes. The commit message will be helpfully
# pre-populated with the commit messages of all the squashed commits:
git commit
```

This worked well for me.

Another friend of mine, BT, who joined later, was tasked with configuring continuous deployment on our project, wanted to open a pull request. I was standing next to him as he explained the nightmare he had but managed to get things running. JK came from a meeting and sat next to BT and asked if he had any issues with making a pull request. BT mentioned he did not know how to squash. JK said its simple and opening his laptop JK typed the command below on this laptop. I decide to lay back as I was still new.

```
git reset --soft HEAD~3
```

He then explained that the number represented the number of commits you want to squash. In the above case 3 represents the last 3 commits you want to squash.

I was curious and I engaged JK about the above command and he explained his reasons.

1) My question is which command is easier? 
2) Or is this the wrong question to ask? 
3) Are these commands dependent on the project

I liked the command JK used despite having the satisfaction of finding a different answer to the same problem.

What do you use when squashing commits?

Thanks to Mark LongAir's [answer on Stack Overflow](https://stackoverflow.com/a/5190323)
Why programmers should try online poker
Tags: programming, onlinepoker
Published: 2017-10-12 13:13:48

---
title: Why programmers should try online poker
published: true
description:  I’m finding poker very relaxing and I also find some similarities between online poker and programming
tags: programming, online poker
---

Recently I found a new hobby: **online texas hold’em**. 

I’m not spending big money on it (I mostly play free tournaments in an italian poker room and a free online game on my iPhone) but I’m finding poker very relaxing and I also find some similarities between online poker and programming, plus something more… **Poker teaches you to be a better programmer…** 

**There’s always someone better than you** 
You can be the best coder among your friends and colleagues, but you’re not for sure the best developer around. The same happens in poker: you can be the best player in your friends pool, but you’re not the best player in the world. Remember to code, code, code, exercise and study, try and fail. This is the only way to improve yourself and prove you are the best. 

**Math is useful** 
I see a lot of people around telling “I don’t need math”. In poker (and in programming) you need a lot of math, even for simple operations. Maybe you already know that, but pick five minutes to test (and improve) your math skills. You can find some tests and exercises [here](https://www.math-drills.com). 

**Be fast and precise** 
In online poker you can’t think hours for your next move. If you are a programmer you should be fast-thinking and precise. Fast and no errors. Simple, isn’t it? 

**Apply lateral thinking to approach your problem** 
Sometimes the best solution is just around the corner. Be creative! 

If you want to try poker there are a lot of free poker games on Facebook, iPhone, etc… **Don’t waste your money. The fun is the same**. 

**P.s.** Online gaming is an hobby, **but it could easily ruin your life**. If you have problems with gaming & gambling [visit this site](http://www.gamblersanonymous.org/ga/).
Gender, app dev and perspectives
Tags: gender, equality, discuss, woman
Published: 2017-10-12 09:22:17

---
title: Gender, app dev and perspectives
published: true
description: Asking your perspective in a gender issue that came out in an app development.
tags: gender, equality, discuss, woman
---

Since I started engineering I barely noticed the fact I'm a woman and most of my classmates or coworkers aren't. This is because, apart from the fact I feel comfortable surrounded by guys and doesn't make me feel anxious (this is a problem that, unfortunately, some women have in these cases), these guys never seemed to care about my gender at all, they blamed at me for working in PHP some months (they'll never forget that), which indent style should a programmer use (careful with this, I suggest having a weapon at hand), or _emacs_ vs _atom_ (I just have one thing to say about this, POWER MODE ACTIVATE), but not my gender.

![](https://images.duckduckgo.com/iu/?u=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoSqcbdIJ6Lo%2Fmaxresdefault.jpg&f=1)

Even tho, realizing there are a **significant less number of girls** in computer engineering, I tried to do my best to solve it participating as a tutor for girl teens, kids, write an university thesis on the issue, and such. But I had a huge luck my gender barely confronted my career for now. But not long ago, a classmate asked me something, that generated some debate afterward with friends, and thought it would be nice to share it here and ask for your opinion.

The context was an application development in group, our team had to create an app for a museum and we were studying the museum itself to check our client limitations. We were deciding the methodology, the languages, the frameworks, I particulary suggested some preferences, and a classmate asked me to give my "_woman perspective_" on the issue as it may enrich the project. I didn't answer at first as I was absolutely surprised, I never thought about being different in the group due to my gender, and honestly (even tho my classmate intention was to be nice) it made me feel really bad. I'm glad about giving my perspective as a developer, programmer, speaker, or open software fanatic, but not about my gender, mostly because I don't know how does it affect to my work, if it does.

Gals and guys over here, **what do you think about this perspective? Do you think my gender has anything to do with my job as a developer?**
Combine your SVGs
Tags: svg, performances, web
Published: 2017-10-12 08:30:41

---
title: Combine your SVGs
published: true
description: Less http request = faster website!
tags: svg, performances, web
---

SVG images are awesome, I absolutely love it (and who doesn't). A great thing about them is that you can combine them very easily, and use integrate them *into* your web page in single line. 

It makes your website faster since you only make one HTTP request instead of <number of SVG icons you were using>.

A quick read about how to do that over at [math2001.github.io/post/combine-svgs](https://math2001.github.io/post/combine-svgs/)
Explain Backpropagation like I'm Five
Tags: explainlikeimfive, deeplearning, backpropagation, discuss
Published: 2017-10-12 06:55:56

---
title: Explain Backpropagation like I'm Five
published: true
description: Understanding Backpropagation in the easiest way possible.
tags: explainlikeimfive, deeplearning, backpropagation, #discuss
---

Can anyone help me understand backpropagation? I'm having difficulty getting it.
模块设计(Spring Cloud)
Tags: moduledesign
Published: 2017-10-10 07:04:44

---
title: æ¨¡å—è®¾è®¡(Spring Cloud)
published: true
description: å®šä¹‰ä¸€ä¸ªé¡¹ç›®ä¸­çš„å„ä¸ªæ¨¡å—åŠå…¶å…³ç³»
tags: module design
---

å¼•è‡ªï¼š http://skaka.me/blog/2016/08/10/springcloud3/
> ä¸€ä¸ªå®Œæ•´ç³»ç»Ÿçš„å„æ¨¡å—å…³ç³»ç¤ºä¾‹ã€‚æ¯ä¸ªæœåŠ¡éƒ½åº”å½“æ˜¯ä¸€ä¸ªç‹¬ç«‹çš„é¡¹ç›®, å½¼æ­¤ä¹‹é—´åªæ˜¯é€šè¿‡ pom å¼•ç”¨ã€‚

###æ™®é€šç›®å½•
* docs: å­˜æ”¾æ–‡æ¡£èµ„æ–™, ä¾‹å¦‚æ•°æ®åº“è„šæœ¬, astah æ–‡ä»¶ (UML å·¥å…·) ç­‰.
* logs: è¿è¡Œæ—¥å¿—å­˜æ”¾ç›®å½•.

###å…¬å…±æ¨¡å—
* apiutils: api æ¨¡å—å…¬å…±çˆ¶æ¨¡å—.
* common: æœåŠ¡æ¨¡å—å…¬å…±çˆ¶æ¨¡å—, å­˜æ”¾å¾®æœåŠ¡å…±åŒä¾èµ–çš„é€»è¾‘, ä¾‹å¦‚äº‹ä»¶å¤„ç†, å®šæ—¶ä»»åŠ¡ç­‰.
* utils: å·¥å…·ç±»æ¨¡å—.

###åŸºç¡€æœåŠ¡æ¨¡å—
* eureka: eureka æœåŠ¡. æä¾›æœåŠ¡æ³¨å†Œä¸ŽæœåŠ¡å‘çŽ°
* config: config æœåŠ¡. æä¾›é…ç½®ç®¡ç†æœåŠ¡
* turbine: hystrix æœåŠ¡ç›‘æŽ§

###æœåŠ¡æ¨¡å—
* account: è´¦æˆ·æœåŠ¡.
* coupon: ä¼˜æƒ åˆ¸æœåŠ¡.
* order: è®¢å•æœåŠ¡.
* product: äº§å“æœåŠ¡.
* user: ç”¨æˆ·æœåŠ¡.

###å…¶ä»–æ¨¡å—
* integration-test: é›†æˆæµ‹è¯•æ¨¡å—.

###æ¨¡å—å†…éƒ¨ç»“æž„
* api: api æŽ¥å£æ¨¡å—. å…¶ä»–ä¾èµ– user æœåŠ¡çš„æœåŠ¡ä¼šä¾èµ–è¿™ä¸ªæ¨¡å—.
* core: user æœåŠ¡å®žçŽ°æ¨¡å—.
* api å’Œ core æ¨¡å—å†…å®¹éƒ½æ˜¯æ ‡å‡†çš„ maven é¡¹ç›®ç»“æž„, å…¶ä¸­ core æ¨¡å—ä¸»è¦æœ‰è¿™ä¹ˆä¸€äº›å­ç›®å½•:
 * context: å­˜æ”¾ Spring Boot å¯åŠ¨ç±».
 * dao: DAO å±‚.
 * domain: Model å±‚. service: Service å±‚.
 * web: å­˜æ”¾ Spring MVC Controller.

![æ¨¡å—å…³ç³»](https://thepracticaldev.s3.amazonaws.com/i/6709scr6xuqa4p6um9xn.png)
What reference books should devs have handy on different CS subfields?
Tags: discuss, career, compsci
Published: 2017-10-12 04:05:21

---
title: What reference books should devs have handy on different CS subfields?
published: true
description: For example, databases, software engineering in general, etc
tags: #discuss #career #compsci
---

Say you were starting a new role soon, what CS books should you always have as a reference?
Mr. Robot - 3x01 Discussion (spoilers)
Tags: mrrobot, discuss
Published: 2017-10-12 03:56:22

---
title: Mr. Robot - 3x01 Discussion (spoilers)
published: true
description: 
tags: mrrobot, discuss
cover_image: https://media.gq.com/photos/59a723c7d823707cfac229dd/16:9/pass/mr-robot-season-3.jpg
---

What did folks think of the premiere?
Java 小工具
Tags: jmh, logback, validation, transactional
Published: 2017-10-12 03:52:47

---
title: Java å°å·¥å…·
published: true
description: ä»‹ç» Java/Spring ç›¸å…³æŠ€æœ¯ã€çŸ¥è¯†ã€å·¥å…·ã€‚
tags: jmh, logback, validation, transactional
---

###[JMH](http://blog.dyngr.com/blog/2016/10/29/introduction-of-jmh/)
Another tutorial: [JMH - Java Microbenchmark Harness](http://tutorials.jenkov.com/java-performance/jmh.html) see: [Java Samples](http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/)
JMH æ˜¯ä¸€ä¸ªç”± OpenJDK/Oracle é‡Œé¢é‚£ç¾¤å¼€å‘äº† Java ç¼–è¯‘å™¨çš„å¤§ç‰›ä»¬æ‰€å¼€å‘çš„ Micro Benchmark Framework ã€‚ä½•è°“ Micro Benchmark å‘¢ï¼Ÿç®€å•åœ°è¯´å°±æ˜¯åœ¨ method å±‚é¢ä¸Šçš„ benchmarkï¼Œç²¾åº¦å¯ä»¥ç²¾ç¡®åˆ°å¾®ç§’çº§ã€‚å¯ä»¥çœ‹å‡º JMH ä¸»è¦ä½¿ç”¨åœ¨å½“ä½ å·²ç»æ‰¾å‡ºäº†çƒ­ç‚¹å‡½æ•°ï¼Œè€Œéœ€è¦å¯¹çƒ­ç‚¹å‡½æ•°è¿›è¡Œè¿›ä¸€æ­¥çš„ä¼˜åŒ–æ—¶ï¼Œå°±å¯ä»¥ä½¿ç”¨ JMH å¯¹ä¼˜åŒ–çš„æ•ˆæžœè¿›è¡Œå®šé‡çš„åˆ†æžã€‚

æ¯”è¾ƒå…¸åž‹çš„ä½¿ç”¨åœºæ™¯è¿˜æœ‰ï¼š

* æƒ³å®šé‡åœ°çŸ¥é“æŸä¸ªå‡½æ•°éœ€è¦æ‰§è¡Œå¤šé•¿æ—¶é—´ï¼Œä»¥åŠæ‰§è¡Œæ—¶é—´å’Œè¾“å…¥ n çš„ç›¸å…³æ€§
* ä¸€ä¸ªå‡½æ•°æœ‰ä¸¤ç§ä¸åŒå®žçŽ°ï¼ˆä¾‹å¦‚å®žçŽ° A ä½¿ç”¨äº† FixedThreadPoolï¼Œå®žçŽ° B ä½¿ç”¨äº† ForkJoinPoolï¼‰ï¼Œä¸çŸ¥é“å“ªç§å®žçŽ°æ€§èƒ½æ›´å¥½

###[logback é…ç½®è§£æž](http://tengj.top/2017/04/05/springboot7/)
* å¦‚ä½•å¼•å…¥æ—¥å¿—ï¼Ÿ
* æ—¥å¿—è¾“å‡ºæ ¼å¼ä»¥åŠè¾“å‡ºæ–¹å¼å¦‚ä½•é…ç½®ï¼Ÿ
* ä»£ç ä¸­å¦‚ä½•ä½¿ç”¨ï¼Ÿ

###Validation
* @NotNull //ä¸å…è®¸ä¸ºç©º
* @Size //é•¿åº¦æˆ–å¤§å°èŒƒå›´```@Size(min = 1, max = 20)
private String name;```
* @NotNull(groups = ValidationService.Save.class) // ä¿å­˜æ—¶ä¸å…è®¸ä¸ºç©ºï¼Œæ›´æ–°æ—¶å…è®¸ä¸ºç©º ï¼Œè¡¨ç¤ºä¸æ›´æ–°è¯¥å­—æ®µ
* @Pattern```@Pattern(regexp = "^\\s*\\w+(?:\\.{0,1}[\\w-]+)*@[a-zA-Z0-9]+(?:[-.][a-zA-Z0-9]+)*\\.[a-zA-Z]+\\s*$")
private String email;```
* @Min(18) //æœ€å°å€¼
* @Max //æœ€å¤§å€¼```@Max(100) private int age;```
* @Past //å¿…é¡»ä¸ºä¸€ä¸ªè¿‡åŽ»çš„æ—¶é—´```@Past private Date loginDate;```
* @Future //å¿…é¡»ä¸ºä¸€ä¸ªæœªæ¥çš„æ—¶é—´```@Future private Date expiryDate;```

###Transactionalï¼ˆæ¥æºï¼š[Spring @Transactional åŽŸç†åŠä½¿ç”¨](http://tech.lede.com/2017/02/06/rd/server/SpringTransactional/)ï¼‰
* äº‹åŠ¡ä¼ æ’­è¡Œä¸º
![äº‹åŠ¡ä¼ æ’­è¡Œä¸º](https://thepracticaldev.s3.amazonaws.com/i/9w53hdr651whnztc3bu8.png)
* äº‹åŠ¡éš”ç¦»çº§åˆ«
![äº‹åŠ¡éš”ç¦»çº§åˆ«](https://thepracticaldev.s3.amazonaws.com/i/9a9c9m398sclxmt2hcmj.png)
 * è„è¯» : ä¸€ä¸ªäº‹åŠ¡è¯»å–åˆ°å¦ä¸€äº‹åŠ¡æœªæäº¤çš„æ›´æ–°æ•°æ®
 * ä¸å¯é‡å¤è¯» : åœ¨åŒä¸€äº‹åŠ¡ä¸­ï¼Œ å¤šæ¬¡è¯»å–åŒä¸€æ•°æ®è¿”å›žçš„ç»“æžœæœ‰æ‰€ä¸åŒï¼Œ æ¢å¥è¯è¯´ï¼Œ åŽç»­è¯»å–å¯ä»¥è¯»åˆ°å¦ä¸€äº‹åŠ¡å·²æäº¤çš„æ›´æ–°æ•°æ®ã€‚ç›¸åï¼Œâ€ å¯é‡å¤è¯»â€ åœ¨åŒä¸€äº‹åŠ¡ä¸­å¤šæ¬¡è¯»å–æ•°æ®æ—¶ï¼Œèƒ½å¤Ÿä¿è¯æ‰€è¯»æ•°æ®ä¸€æ ·ï¼Œä¹Ÿå°±æ˜¯åŽç»­è¯»å–ä¸èƒ½è¯»åˆ°å¦ä¸€äº‹åŠ¡å·²æäº¤çš„æ›´æ–°æ•°æ®
 * å¹»è¯» : ä¸€ä¸ªäº‹åŠ¡è¯»åˆ°å¦ä¸€ä¸ªäº‹åŠ¡å·²æäº¤çš„ insert æ•°æ®
* å±žæ€§
![å±žæ€§](https://thepracticaldev.s3.amazonaws.com/i/q8tff8ygfyf6aegkopkv.png)
Slack Stranger Bot in Go
Tags: go, slack, bot
Published: 2017-10-12 03:46:18

---
title: Slack Stranger Bot in Go
published: true
description: Meet strangers in your company, explore new people. Fully anonymous and secure, bot doesn't store any data.
tags: go,slack,bot
---

![wizeline-random](http://pliutau.com/wizeline-random.png)

I am enjoying writing programs in a short time, like in a Hackathon way. Here in Vietnam we don't have Hackathons often, so yesterday I decided to make one for myself with a time limit in 3 hours. The goal was to build/deploy something that will work and people can try it. I decided to go with Bot for Slack (or another messenger in the future).

So I wrote this Stranger Bot to meet strangers in your Slack, explore new people. It's anonymous and private, Bot doesn't store any data.

### How it works?

 - The User opens a private conversation with Stranger Bot.
 - Types `Hi`.
 - Stranger Bot finds random active user who doesn't participate currently in Stranger conversation.
 - Bot will forward all next messages sent by user to Bot to the Stranger user. Without mentioning who sent this message.
 - Any user can type `Bye` to finish the conversation, and type `Hi` again to start a new random one.

Here is an example of how it works at Wizeline:

> **alex.pliutau** [10:29 PM]
>
> hi
>
> **Random WizelinerAPP** [10:29 PM]
>
> Connecting to a random Stranger ...
>
> Stranger found! Say hello, and please be polite. Type "bye" to finish the conversation
>
> hola!!
>
> **alex.pliutau** [10:31 PM]
>
> Nice, super private
>
> So it will work to find random person to talk
>
> **Random WizelinerAPP** [10:31 PM]
>
> wat
>
> hahaha
>
> **alex.pliutau** [10:31 PM]
>
> bye
>
> **Random WizelinerAPP** [10:31 PM]
>
> Bye! You finished conversation with the Stranger. Type hi again if you want to start a new random one.
>
> **Random WizelinerAPP** [10:31 PM]
>
> Bye! You finished conversation with the Stranger. Type "hi" again if you want to start a new random one.

### Try it

- Clone [slack-stranger-bot](https://github.com/wizeline/slack-stranger-bot)
- Create App in Slack and copy `API Token`
- Install [Docker](https://docs.docker.com/engine/installation/)
- Run `docker build -t stranger . && docker run stranger -e SLACK_TOKEN=<token>` with a valid token

### Contribute

All code is open sourced. Feel free to [contribute](https://github.com/wizeline/slack-stranger-bot/pulls) or raise an [issue](https://github.com/wizeline/slack-stranger-bot/issues).

[Original post in my Blog](http://pliutau.com/slack-stranger-bot-in-go/)
How to teach DNS and DHCP
Tags: discuss, teaching, network
Published: 2017-10-11 20:37:54

---
title: How to teach DNS and DHCP
published: true
description: 
tags: discuss, teaching, network
---

I'm going to do a small talk/workshop/class to teach DNS and DHCP basics to the new members of our small sysadmin-like lab at my university. The main objective is to give the basics concepts, how to setup, and how to properly maintain an existing domain. So I was wondering what was the best way (or well, your way) to approach this and any tips/recommendations you had.
架构设计摘录
Tags: rest, cqrs
Published: 2017-10-10 06:57:36

---
title: æž¶æž„è®¾è®¡æ‘˜å½•
published: true
description: REST è®¾è®¡ï¼ŒæœåŠ¡æ‹†åˆ†ä¸Žæž¶æž„æ¼”è¿›ï¼ŒCQRS
tags: REST, CQRS
---

[REST](http://skaka.me/blog/2016/08/25/springcloud4/)
> REST æŽ¥å£ä¸€èˆ¬æ›´é€‚åˆç”¨æ¥å®žçŽ°æŸ¥è¯¢æˆ–å…¶ä»–ä¸éœ€è¦äº‹åŠ¡çš„æ“ä½œã€‚è€Œæ¶‰åŠåˆ°æ•°æ®ä¿®æ”¹ï¼Œå¾€å¾€é€šè¿‡äº‹ä»¶æ¥å®Œæˆã€‚

[æœåŠ¡æ‹†åˆ†ä¸Žæž¶æž„æ¼”è¿›](http://www.infoq.com/cn/articles/service-split-and-architecture-evolution)

* å¦‚ä½•æ‹†ï¼Ÿå³å¦‚ä½•æ­£ç¡®ç†è§£ä¸šåŠ¡ï¼Œå°†å•ä½“ç»“æž„æ‹†åˆ†ä¸ºæœåŠ¡åŒ–æž¶æž„ï¼Ÿ
* æ‹†å®ŒåŽä¸šåŠ¡å˜äº†å¢žåŠ äº†æ€Žä¹ˆåŠžï¼Ÿå³åœ¨ä¸šåŠ¡éœ€æ±‚ä¸æ–­å‘å±•å˜åŒ–çš„å‰æä¸‹ï¼Œå¦‚ä½•æŒç»­å¿«é€Ÿåœ°æ¼”è¿›ï¼Ÿ
* å¦‚ä½•å®‰å…¨åœ°æŒç»­åœ°æ‹†ï¼Ÿå³å¦‚ä½•åœ¨ä¸å½±å“å½“ä¸‹ç³»ç»Ÿè¿è¡ŒçŠ¶æ€çš„å‰æä¸‹ï¼ŒæŒç»­å®‰å…¨åœ°æ¼”è¿›ï¼Ÿ
* å¦‚ä½•ä¿è¯æ‹†å¯¹äº†ï¼Ÿ
* æ‹†å®Œäº†æ€Žä¹ˆä¿è¯ä¸è¢«ç ´åï¼Ÿ

[å‘½ä»¤æŸ¥è¯¢èŒè´£åˆ†ç¦» (CQRS) æ¨¡å¼](http://www.cnblogs.com/yangecnu/p/Introduction-CQRS.html)
> å‡å¦‚ä½ å¯¹ CRUD æ¨¡å¼å¸¦å‡ºçš„é—®é¢˜æ„Ÿåˆ°ç–‘æƒ‘ä¸Žçƒ¦æ¼ï¼ŒæŽ¨èä½ é˜…è¯»è¿™ç¯‡æ–‡å­—ã€‚å½“ç„¶ï¼Œæœ¬æ–‡è®²äº†æ›´å¤šä¸œè¥¿ï¼Œä¸ä»…ä»…åªæ˜¯ä¸ºäº†è§£å†³ CRUD ç›¸å…³çš„é—®é¢˜ã€‚

* ä½¿ç”¨åŒä¸€ä¸ªå¯¹è±¡å®žä½“æ¥è¿›è¡Œæ•°æ®åº“è¯»å†™å¯èƒ½ä¼šå¤ªç²—ç³™ï¼Œå¤§å¤šæ•°æƒ…å†µä¸‹ï¼Œæ¯”å¦‚ç¼–è¾‘çš„æ—¶å€™å¯èƒ½åªéœ€è¦æ›´æ–°ä¸ªåˆ«å­—æ®µï¼Œä½†æ˜¯å´éœ€è¦å°†æ•´ä¸ªå¯¹è±¡éƒ½ç©¿è¿›åŽ»ï¼Œæœ‰äº›å­—æ®µå…¶å®žæ˜¯ä¸éœ€è¦æ›´æ–°çš„ã€‚åœ¨æŸ¥è¯¢çš„æ—¶å€™åœ¨è¡¨çŽ°å±‚å¯èƒ½åªéœ€è¦ä¸ªåˆ«å­—æ®µï¼Œä½†æ˜¯éœ€è¦æŸ¥è¯¢å’Œè¿”å›žæ•´ä¸ªå®žä½“å¯¹è±¡ã€‚
* ä½¿ç”¨åŒä¸€å®žä½“å¯¹è±¡å¯¹åŒä¸€æ•°æ®è¿›è¡Œè¯»å†™æ“ä½œçš„æ—¶å€™ï¼Œå¯èƒ½ä¼šé‡åˆ°èµ„æºç«žäº‰çš„æƒ…å†µï¼Œç»å¸¸è¦å¤„ç†çš„é”çš„é—®é¢˜ï¼Œåœ¨å†™å…¥æ•°æ®çš„æ—¶å€™ï¼Œéœ€è¦åŠ é”ã€‚è¯»å–æ•°æ®çš„æ—¶å€™éœ€è¦åˆ¤æ–­æ˜¯å¦å…è®¸è„è¯»ã€‚è¿™æ ·ä½¿å¾—ç³»ç»Ÿçš„é€»è¾‘æ€§å’Œå¤æ‚æ€§å¢žåŠ ï¼Œå¹¶ä¸”ä¼šå¯¹ç³»ç»Ÿåžåé‡çš„å¢žé•¿ä¼šäº§ç”Ÿå½±å“ã€‚
* åŒæ­¥çš„ï¼Œç›´æŽ¥ä¸Žæ•°æ®åº“è¿›è¡Œäº¤äº’åœ¨å¤§æ•°æ®é‡åŒæ—¶è®¿é—®çš„æƒ…å†µä¸‹å¯èƒ½ä¼šå½±å“æ€§èƒ½å’Œå“åº”æ€§ï¼Œå¹¶ä¸”å¯èƒ½ä¼šäº§ç”Ÿæ€§èƒ½ç“¶é¢ˆã€‚
* ç”±äºŽåŒä¸€å®žä½“å¯¹è±¡éƒ½ä¼šåœ¨è¯»å†™æ“ä½œä¸­ç”¨åˆ°ï¼Œæ‰€ä»¥å¯¹äºŽå®‰å…¨å’Œæƒé™çš„ç®¡ç†ä¼šå˜å¾—æ¯”è¾ƒå¤æ‚ã€‚
My 100DaysofCode Experience — The Good, The Bad and The Ugly.
Tags: 100daysofcode, womenwhocode, consistency, beginners
Published: 2017-10-11 19:48:06

---
title: My 100DaysofCode Experience — The Good, The Bad and The Ugly.
published: true
description: 
cover_image: https://cdn-images-1.medium.com/max/2000/1*aIVhLd97ytqffc2GwwupKQ.jpeg
tags: #100DaysofCode, #womenwhocode #consistency #beginner
---
My Experience during this period has been overwhelming. Did I think I'll ever make it to Day 100? No, I didn’t.

### My Journey
On 25th of June, I decided to commit to the #100DaysofCode challenge. Making that decision has been one of the best I have made this year. #100DaysofCode is an initiative by Alexander Kallaway to help people learning how to code to be more consistent. The goal is to code every day for at least an hour for 100 days. Interesting right?
![Alt text of image](https://cdn-images-1.medium.com/max/800/1*PQHEYyZtt7Z9FfTI2kX_yw.gif)

### My Struggles / Failures
I started all excited, super pumped but guess it didn’t turn out to be all that. I got frustrated at some point trying to keep up with challenge and not just that I also discovered that coding is not for the weak-minded. there were times where I would say no I ain’t doing this no more but I had a goal to reach so I buckled up. Freecodecamp had me at my worst times because I found some challenges hard, spent a couple of days on some but the good news is I pulled through.

*Failure will hit you but don’t give up when this happens — Gift*

### What This Challenge Taught Me

*That all that glitters is not gold* — Yes literally i see ads like learn this in 6 weeks and become a Pro and I'm like Yeah I can do that, but sincerely I doubt that’s possible because I spent over 13 weeks doing this challenge and I don’t see myself as a Pro yet except I'm getting there. So if you really want to learn stick to a goal and make sure you pull it off.

*That Consistency is a gift* — The power of consistency can never be overemphasized it takes will and power to stick to a goal especially one like this.

*That Rome wasn’t built in a day* — Yes you have to work hard to complete this challenge times will come when you want to give up but one key to success is consistency and self-discipline.

*That The Community will sustain you*— I had down times, times when I just want to go home and sleep but when I remember I have to update my progress on twitter or check other people update to see how far they have gone I just had to push myself and then the wonderful community just pushes and supports you every single time you feel like giving up.

This is a Journey for me and I'm glad I picked up the courage to start. A little advice to my friends already doing #100DaysofCode or basically people that might be interested in taking on this challenge.

*Just start…and when you do, STAY MOTIVATED don’t give up.*

_[Original Post on Medium](https://code.likeagirl.io/my-100daysofcode-experience-the-good-the-bad-and-the-ugly-ee1263131f15)_
I maintain webpack, ask me anything!
Tags: ama, webpack, javascript
Published: 2017-10-11 16:47:06

---
title: I maintain webpack, ask me anything!
published: true
description: Sean Larkin maintains webpack and works on Microsoft Edge DevTools. 
tags: ama, webpack, javascript
cover_image: https://thepracticaldev.s3.amazonaws.com/i/bcru7g4hp9a1tp74ceyf.jpeg
---

I'm Sean,

I maintain webpack.

I work on Microsoft Edge DevTools. 

I love ðŸ”s.

Ask.

Me.

Anything.


:-D
Should/can employees ignore the social views of their coworkers and bosses?
Tags: discuss
Published: 2017-10-11 13:57:59

---
title: Should/can employees ignore the social views of their coworkers and bosses?
published: true
tags: discuss
cover_image: https://thepracticaldev.s3.amazonaws.com/i/eaq9nsv1hafkjqumk78v.png
canonical_url: https://www.sumeetjain.com/posts/social-views-in-the-workplace/
---

Especially for those views that one sees as dangerous to their existence, is it reasonable to tell an employee to ignore their coworkers'/bosses' social ideologies?

I know thinking in the abstract can be difficult, so here are _some_ examples among many to start the conversation:

- A Muslim employee sees their Facebook 'Friend' vehemently defend a travel ban that is preventing their family from joining them in the US.
- A Mexican employee sees a coworker post meme after meme about how people of Mexican heritage are lazy.
- A woman (or anyone, for that matter) sees their boss fighting for a universal ban on the right to have an abortion for any reason.

I'm not suggesting that one investigate to discover these beliefs. But in this modern era of personal/professional mixing, coworkers 'Friend' each other on Facebook and follow each other on Twitter. They often hang out after work (and failing to do so, if we're being honest, will have _some_ impact on one's advancement).

**So if someone is broadcasting social views that an employee feels personally threatened by, what should the employee do?**