teleren/devto huggingface dataset:
Java and BCP 47 Language Tags
Tags: java, i18n
Published: 2017-02-22 00:28:41

---
title: Java and BCP 47 Language Tags
published: true
description: 
cover_image: https://c2.staticflickr.com/6/5493/11472011684_17b5f946d8_b.jpg
tags: java, i18n
---

Since Java 7, Java's Locale object has been updated to take on the role of a language tag as identified in [RFC 5646](https://medium.com/r/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Frfc5646) and BCP 47 specs. The newer language tag support gives developers the ability to be more precise in identifying language resources. The new Locale, used as a language tag, can be used to identify languages in this general form:

```
language[-script][-region]*(-variant)*(-extension)[-privateuse]
```

Of course, you can continue to think of locale as a `lang_region_variant` identifier, but Java now uses the RFC 5646 spec to enhance the Locale class to support language, script, broader regions, and even newer extensions if needed. And if the rules for generating this string of identifiers seems intimidating, you can use the `Locale.Builder` class to build up the tag without worries of creating a malformed tag.

The primary _language identifier_ is the almost the same item you've always known; it's an `ISO 639` 2-letter code _or 3-letter code_. The spec recommends using the shortest id possible.

The _script_ is new. You can now add a proper script identifier that specifies the writing system used for the language. People can use multiple writing systems to write languages. For example, Japanese speakers/writers can use 3 or more different scripts for Japanese: kanji, hiragana, katakana, and even “romaji” or Latin script. Serbian is another language often written in either Latin or Cyrillic characters.

The _region_ identifier was once limited to 2-letter ISO 3166 codes, but now you can also use the United Nations 3-digit macro geographical region codes in the region portion of a language tag. A macro geographical region identifies a larger region that comprises more than one country. For example, the UN currently defines `Eastern Europe` to be macro region `151` and includes 10 countries within it.

Finally, you can use _variant_, _extension_, and _privateuse_ sub-tags to provide even more context for a language tag. See [RFC 5646](https://medium.com/r/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Frfc5646) for more details on these. I suggest that you also use the `Locale.Builder` class to assist if you need to use this level of detail.

Take a look at the [Locale documentation](https://medium.com/r/?url=http%3A%2F%2Fdocs.oracle.com%2Fjavase%2F8%2Fdocs%2Fapi%2Fjava%2Futil%2FLocale.html) for all the details on using these new features. They definitely give you much more control of how you identify and use language resources in your internationalized applications.
Why Pair Programming?
Published: 2017-02-21 22:39:35

---
title: Why Pair Programming?
published: true
description: The main benefits of pair programming
cover_image: https://cdn-images-1.medium.com/max/1600/1*TkWn185JvS4YFcemjGZhYw.jpeg
tags: 
---

Ultimately I have heard a lot of discussions about pair programming, usually contesting its importance, when it is necessary and if could be replaced by code review.
Thus in this post I will give you my thoughts and experiences about that.

Commonly the results of Pair Programming are associated with code quality but from my experience I would say for sure that it are not the main benefits of it, there are 3 other results that are much more importante and irreplaceable:

1. **Enable new members of a team be productive in the first day of work:** Even technically capable of contribute, new members of a team do not have the business domain context necessary to fix bugs or develop new features for a product so pairing with a team developer enable the new member to contribute at first day and also speed up his on boarding process.  
2. **Avoid silos of knowledge:** When a team have at least 2 developers working in determined part of the code or business context it, enables developers to have some days off without block the team since always will have other person with the necessary context to continue the work.
3. **Unblock developers stuck in some problem:** As a developers, there are times we need to solve complex problems and when it happens is extremely helpful have other person to help find a solution. Just know that you are not alone sometimes is enough to gives you the courage to challenge the problem.

Do you realized that the 3 main benefits presented are related to share knowledge and not about quality code?

**Thus, if you ask me:**

What is the importance of Pair Programming?  
**Answer:** Share knowledge!

Is Pair Programming replaceable by Code Review?  
**Answer:** No, because code review do not enable new members of a team be productive in the first day of work, do not avoid silos of knowledge and do not unblock developers stuck in some problem.

When should I use Pair Programming?  
**Answer:** Everytime that share context or knowledge could help solve a problem.

Well, thatâ€™s it folks, if you find it useful, click on the heart and share to help spread the word, and leave a comment below, I will be happy to know your thoughts about.

> **Geison Goes**  
Senior Consulting Engineer at ThoughtWorks  
**Email** geisonfgf@gmail.com  
**Twiter** @geisonfgfg  
**Medium** @geisonfgfg
Hi, I'm Fernando Paredes
Tags: introductions
Published: 2017-02-21 22:18:18

---
title: Hi, I'm Fernando Paredes
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 10 years professionally, 6 years of tinkering.

You can find me on GitHub as [nanoxd](https://github.com/nanoxd)

I live in Seattle.

I mostly program in these languages: Swift, Kotlin, and JavaScript. Currently working on two side projects in Rust, Elm and Elixir.

I am currently learning more about all of the things.

Nice to meet you.
Hi, I'm Kalle Ott
Tags: introductions
Published: 2017-02-21 21:39:35

---
title: Hi, I'm Kalle Ott
published: true
description: My introduction post
cover_image: https://pbs.twimg.com/profile_banners/1013806472/1463749782/1500x500
tags: introductions
---
I am a Softwaredeveloper from Kiel in northern Germany, most of the time I'm creating Frontends and mobile Apps with react and react-native. When it's windy I try to get on the water to windsurf as often as possible.

You can find me on Twitter as [@kaoDev](https://twitter.com/kaoDev) on GitHub also as [kaoDev](https://github.com/kaoDev)


Nice to meet you.
Hi, I'm Walker!
Tags: introductions
Published: 2017-02-21 21:29:10

---
title: Hi, I'm Walker!
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I'm on the dev.to team! I'm a data and analytics junkie and I also help out on the business side. I met [Ben](https://dev.to/ben) while we were both working for Texts.com and Argo HQ.

I like to blog about statistics, and try to post every week on my Medium publication, [perplex.city](https://perplex.city/). I'm looking to move some of my content to dev.to soon though.

I have experience in Python, R, and SQL. You can find me on GitHub as [@PerplexCity](https://github.com/PerplexCity).

You'll see me around the site welcoming new members and encouraging discussion, more posts, more podcasts...more everything! Shoot me an email at <mailto:walker@dev.to> for any dev.to related questions.

Thanks!
Hi, I'm Geison
Tags: introductions
Published: 2017-02-21 21:17:18

---
title: Hi, I'm Geison
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 12 years.

You can find me on Twitter as [@geisonfgfg](https://twitter.com/geisonfgfg)

I live in Porto Alegre/Brazil with my family and dogs.

I like travel, good food and music and some drink to relax.

I work for ThoughtWorks

I mostly program in these languages: Swift, Javascript, Java, Ruby, Python and Go.

I am currently learning more about Swift protocols and distributed computing.

Nice to meet you.
Hi, I'm Ben Collins
Tags: introductions
Published: 2017-02-21 20:36:29

---
title: Hi, I'm Ben Collins
published: true 
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 18 years.

You can find me on GitHub as [aggieben](https://github.com/aggieben)

I live in Greenville, Texas.

I work for Olo.

I mostly program in these languages: C#, JavaScript, F#, TypeScript.

I am currently learning more about ASP.NET Core, maching learning, F#, C++.

Nice to meet you.

Also, for anyone curious: No, I'm not [that](http://bencollins.com) [Ben](http://www.red-bean.com/sussman/) [Collins](http://bencollins.org).
Hi, I'm David Vincent Gagne
Tags: introductions
Published: 2017-02-21 14:53:56

---
title: Hi, I'm David Vincent Gagne
published: true
description: My introduction post
cover_image: https://www.davidgagne.net/wp-content/themes/slate/images/los-angeles.jpg
tags: introductions
---

I have been coding for 20+ years.

You can find me on Twitter as [@davidgagne](https://twitter.com/davidgagne)

I miss living in Los Angeles.

I work for Brandissimo!, Inc.(http://www.brandissimo.com/)

I mostly program in these languages: PHP, Swift.

I am currently learning more about containers.

Nice to meet you.
Hi, I'm Rosscotini
Tags: introductions
Published: 2017-02-21 11:21:16

---
title: Hi, I'm Rosscotini
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [Rosscotini](https://github.com/Rosscotini)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
Hi, I'm ayush18verma
Tags: introductions
Published: 2017-02-21 08:52:16

---
title: Hi, I'm ayush18verma
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 3 years.

You can find me on GitHub as [ayush18verma](https://github.com/ayush18verma)

I live in Bengaluru.

I work for Sri Sai Tech

I mostly program in these languages: JAVA, C, C++, SWIFT.

I am currently learning more about Kotlin.

Nice to meet you.
Hi, I'm Oren Reuveni
Tags: introductions
Published: 2017-02-21 07:13:49

---
title: Hi, I'm Oren Reuveni
published: true
description: My introduction post
cover_image: 
tags: introductions
---

A born again developer who discovered code 4 years ago.
Consulting and hacking from Tel Aviv.
Co-Founder of [Webscope](https://webscopeapp.com)
[@orenr](https://twitter.com/orenr)
Hi, I'm Carlos E. Tejada
Tags: introductions
Published: 2017-02-21 00:33:02

---
title: Hi, I'm Carlos E. Tejada
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I am currently a PhD student in Computer and Information Sciences. My research focuses on enabling novel interfaces with as few instrumentation as possible. I have been coding for 8 years.

You can find me on Twitter as [@ctejada10](https://twitter.com/ctejada10)

I live in Rochester, NY.

I mostly program in these languages: Python.

I am currently learning more about Machine Learning and Digital Signal Processing.

Nice to meet you.
Hi, I'm Mark Coates
Tags: introductions, new, ruby, javascript
Published: 2017-02-20 21:55:09

---
title: Hi, I'm Mark Coates
published: true
description: Hello, World!
cover_image: http://www.ercellyildiz.com/wp-content/uploads/2016/01/5a29ec9c683fb52770498c62d3a2a9e7f3afe074.jpg
tags: introductions, new, Ruby, JavaScript
---

I have been coding for *20+ years*.

You can find me on GitHub as [oddlyzen](http://oddlyzen.github.io).

I live in Providence, RI.

I'm currently entertaining opportunities.

I mostly program in these languages: Ruby, JavaScript, Python, and Java.

I am currently learning more about language design and implementation.

**Nice to meet you! ;-)**
Hi, I'm Steve Domino
Tags: introductions
Published: 2017-02-20 21:49:23

---
title: Hi, I'm Steve Domino
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 10+ years.

You can find me on [Twitter](https://twitter.com/skdomino) and [Medium](https://medium.com/@skdomino) as @skdomino.

I live in Salt Lake City, UT.

I am an engineer and core team member at [Divvy](https://getdivvy.com).

I mostly program in these languages: Golang, Elixir, Python, Javascript.

I am currently learning more about Elixir, and Containerization (Docker, K8s, etc.)

Nice to meet you.
Hi, I'm Richard Robbins
Tags: introductions
Published: 2017-02-20 21:46:34

---
title: Hi, I'm Richard Robbins
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 18 years...off and on between managing the ecommerce stores I've built. I created a Udemy course to document how I built and marketed my stores: https://www.udemy.com/build-a-60k-annual-profit-online-store/

You can find me on GitHub as thetechnologyvault - (https://github.com/thetechnologyvault)

I live in San Jose, Costa Rica (temporarily), Lehi, Utah on a more permanent basis.

I work for Nanobox, the ideal platform for developers: http://nanobox.io. We're a startup company with a new kind of product that we call a micro-PaaS. It acts as a platform for isolating dev environments, automating deployment and making application monitoring and management very easy.

I mostly program in these languages: PHP, Javascript, some C++ and Java.

I am currently learning more about Docker and containerization (software related). I am also learning Spanish.

Nice to meet you.

Feel free to introduce yourself. I'm happy to help you with whatever I might know that would benefit you.
Hi, I'm Mac Siri
Tags: introductions
Published: 2017-02-20 16:18:25

---
title: Hi, I'm Mac Siri
published: true
description: My introduction post
cover_image: 
tags: introductions
show_comments: false
---

I have been coding for 1 year.

You can find me on GitHub as [maestromac](https://github.com/maestromac)

I live in Queens, NY.

I work for dev.to/ArgoHQ

I mostly program in these languages: JavaScript, Ruby.

I am currently learning more about Caching.

Nice to meet you.
Hi, I'm Seth M. Larson
Tags: introductions
Published: 2017-02-20 02:20:52

---
title: Hi, I'm Seth M. Larson
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 12 years.

You can find me on GitHub as [SethMichaelLarson](https://github.com/SethMichaelLarson)

I live in Minneapolis.

I work for Abott Laboratories

I mostly program in these languages: Python.

I am currently learning more about Virtualization.

Nice to meet you.
[Devtools] Edit any text on page
Tags: devtools, console, javascript
Published: 2017-02-20 15:00:00

---
title: "[Devtools] Edit any text on page"
published: true
description: "Wanna test UI on your page when changing your text?
Wanna edit some text directly in the browser itself?"
cover_image: 
tags: devtools, console, javascript
---

Wanna test UI on your page when changing your text?
Wanna edit some text directly in the browser itself?

Now with `designMode` you can use your browser as a text editor.

Go to console and type:

`document.designMode = 'on'`

to turn it on. Valid values are `'on'` and `'off'`, default is `'off'` in almost browsers.

You can now edit almost anything and everything in the DOM.

Happy Debugging!

*Originally posted on my blog [here](https://hienvd.com/2017/02/17/DevTools-Edit-any-text-on-page/)*
Hi, I'm joaof
Tags: introductions
Published: 2017-02-20 06:35:05

---
title: Hi, I'm joaof
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [joaof](https://github.com/joaof)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
Hi, I'm Leighton Darkins
Tags: introductions
Published: 2017-02-20 04:51:28

---
title: Hi, I'm Leighton Darkins
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I code, consult and make noise for [ThoughtWorks](https://www.thoughtworks.com/)

I spend most of my time fiddling with: Java, JS (Node, React and some Angular) and Elm.

You can find me on Twitter as [@LeightonDarkins](https://twitter.com/LeightonDarkins) and GitHub as [LeightonDarkins](https://github.com/leightondarkins)
Where Should Tests Live?
Tags: testing, tests, questions
Published: 2017-02-20 00:31:32

---
title: Where Should Tests Live?
published: true
description: In a separate folder? In the same folder as the source code they test? In the same file?
cover_image: 
tags: testing, tests, questions
---

I came across a design question when working on [elm-test](https://github.com/elm-community/elm-test/) recently:

*What if you could write tests in the same file as the code they're testing?*

There are a few testing systems that support this:

* [`clojure.spec`](https://clojure.org/about/spec#_for_testing) (to vastly oversimplify) [lets you define tests inline](http://stackoverflow.com/questions/37942495/where-to-put-specs-for-clojure-spec) in the same file as your business logic.
* [Rust](https://doc.rust-lang.org/book/testing.html) allows putting tests in the same file as the code being tested, although the documentation recommends putting them in a separate file (without elaboration as to why).
* Doctests (such as in [Python](https://docs.python.org/2/library/doctest.html), [Elixir](http://elixir-lang.org/getting-started/mix-otp/docs-tests-and-with.html#doctests), [Go](https://blog.golang.org/examples), and [Haskell](https://hackage.haskell.org/package/doctest)) allow writing tests in the same file—theoretically for documentation purposes, although potentially for testing purposes instead.
* [`EUnit`](http://erlang.org/doc/apps/eunit/chapter.html) in Erlang runs all functions in a given module that end in `_test` as tests, including business logic modules.
* [Racket](https://groups.google.com/forum/#!topic/racket-users/awkxA9_Ye5I) supports inline tests.
* [Pyret](https://www.pyret.org/docs/latest/testing.html) supports "testing blocks" which can live in any source file.
* [`Test::Inline`](http://search.cpan.org/~adamk/Test-Inline-2.213/lib/Test/Inline.pm) adds support for this to Perl.

I've never used any of these, but I'm wondering how the experience would be in practice. Is it amazing? Unexciting? An outright bad idea? What are the pros and cons compared to putting tests in a separate file?

If you've tried writing tests like this before, what did you think?
Hi, I'm snarkypenguin
Tags: introductions
Published: 2017-02-19 22:58:28

---
title: Hi, I'm snarkypenguin
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for ~31 years.

You can find me on GitHub as https://github.com/snarkypenguin or as Randall Gray on researchgate.

My preferred languages are C and Scheme, but I've done most of my work in C++.

I am currently exploring alternative ways of constructing models of complex systems.

Cheers!
Hi, I'm biz man
Tags: introductions
Published: 2017-02-19 20:27:01

---
title: Hi, I'm biz man
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2+ years.

You can find me on Twitter as [@bizworld](https://twitter.com/bizworld)

I live in the US.

I work for Myself

I mostly program in these languages: HTML, CSS, JavaScript, Python, Ruby, PHP, and Java.

I am currently learning more about Java.

Nice to meet you.
Hi, I'm Ronni Egeriis Persson
Tags: introductions
Published: 2017-02-19 20:18:35

---
title: Hi, I'm Ronni Egeriis Persson
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 21 years.

You can find me on GitHub as [egeriis](https://github.com/egeriis)

I live in Copenhagen, Denmark.

I work for Dixie, which I've co-founded. 

I mostly program in these languages: JavaScript & PHP. 

I am currently learning more about websockets and automatic updating of Redux state. 

Nice to meet you.
Hi, I'm Eugenio Monforte
Tags: introductions
Published: 2017-02-19 20:04:45

---
title: Hi, I'm Eugenio Monforte
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years.

You can find me on GitHub as [tipoqueno](https://github.com/tipoqueno)

I live in ViÃ±a del Mar, Chile.

I work freelancing to clients around the world.

I mostly program in these languages: JS.

I am currently learning more about JS and Vue.

Nice to meet you.
The peace of not coding
Tags: coding, programming
Published: 2017-02-19 17:15:08

---
title: The peace of not coding
published: true
description: 
cover_image: https://static.pexels.com/photos/4164/landscape-mountains-nature-mountain.jpeg
tags: coding, programming
---

*This was first published on my blog [jonstodle.com](https://blog.jonstodle.com/the-peace-of-not-coding/)*

For the last few years, I've had this notion that I need to work on some side project in my spare time. I need to be working on something. Write some code. Every spare minute I have.

For the most part, this has worked well. No problem.

However. The last few months have not been so good. I'm constantly thinking that I should be programming, but I'm not. I sit with my laptop and I'm not writing any code. I can do this for hours.

Instead of coding, I'm watching tv shows, interesting tech talks or reading interesting blog posts. But I'm not coding. And as it turns out, that stressed me. I didn't realize until I, one month ago, said to myself: “You know what? There's no point in me sitting with my laptop, trying to figure out a new side project for the single purpose of coding. I'm doing something else.”

All of a sudden I have a lot of spare time on my hands to do some of the stuff I haven't gotten around to earlier: I finally chopped that wood in the garage; I tidied up in the garage; I started tidying up in the second garage. (It kind of sounds like I'm living in a palace).

The best part is: it's really been a freeing experience. I didn't realize how much I was stressing and building up tension because of my perceived failure of not coding. Now that I've finally let that go, I notice how much lighter I feel. I'm surprised at how much better I'm feeling. It even helps on my bad conscience of not chopping that wood.

Of course, once I freed myself from the need to code, I've actually started picking it up again; but only when I feel like it…
Hi, I'm Leslie
Tags: introductions
Published: 2017-02-19 10:51:05

---
title: Hi, I'm Leslie
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [3] years.

You can find me on GitHub as [Burugux](https://github.com/Burugux)

I live in [Nairobi].

I mostly program in these languages: [C,golang].

I am currently learning more about [computer science].

Nice to meet you.
Hi, I'm Cristian
Tags: introductions
Published: 2017-02-19 03:37:21

---
title: Hi, I'm Cristian
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 7 years.

You can find me on GitHub as [Olivia101](https://github.com/Olivia101)

I live in Auckland.

I mostly program in these languages: PHP, JS.

I am currently learning more about React.

Nice to meet you.
Are you attending any conferences soon? Which ones?!
Tags: discuss
Published: 2017-02-19 03:03:36

---
title: Are you attending any conferences soon? Which ones?!
published: true
cover_image: https://b.fastcompany.net/multisite_files/fastcompany/imagecache/1280/poster/2015/11/3052877-poster-p-3-goodwill-goals-and-greed-what-actually-works-to-recruit-and-keep-women-in-tech.jpg
tags: discuss
---