teleren/devto huggingface dataset:
[suggestion] Joomla! pourrait devenir un CMS "headless" agnostique, peut-être dans Joomla 4.5?
Tags: suggestion, headless, cms, joomla
Published: 2019-07-28 22:02:01

---
title: [suggestion] Joomla! pourrait devenir un CMS "headless" agnostique, peut-être dans Joomla 4.5?
published: true
tags: suggestion,headless,cms,joomla
canonical_url: 
---

Je suis tombé plus ou moins récemment sur le "CMS headless" où le contenu réel est complètement séparé des actions que l'on peut faire pour "manipuler" ou "agir sur" le contenu à l'aide d'une API.

Je sais que les Webservices arriveront dans Joomla 4 bientôt, mais je me demandais si un "CMS headless" à part entière pourrait être la solution pour aider Joomla! redevenir populaire auprès de plus de développeurs.

Pour moi, si plus de développeurs font plus de choses pour Joomla! et contribuer, toute la communauté Joomla en bénéficiera.

Le principal avantage de "CMS headless", à mon humble avis, est d’abaisser la barrière de communication et de s’étendre à d’autres bibliothèques php, en créant des applications mobiles pour interagir facilement avec Joomla! Ou des applications CLI pour devops, etc ...

Qu'en pensez-vous? Est-ce que ça vaut le coup?
AngularDart Tutorial: Let's Build a Bookmark Manager (Part 1)
Tags: dart, angular, webdev, beginners
Published: 2019-03-25 12:13:08

_Originally posted on [my blog](https://creativebracket.com/angulardart-tutorial-lets-build-a-bookmark-manager-1/)_

{% youtube 9X88k6kTuNw %}

In this video series we will be looking at the AngularDart framework, building a Bookmark Manager to store our favourite clippings from the web. This single page app will allow us to perform the usual CRUD operations. At the end of this video, we will have the skeleton for our app, displaying a list of bookmarks with delete functionality.

→ [**Watch on YouTube**](https://youtu.be/9X88k6kTuNw)
→ [**Get the source code**](https://github.com/graphicbeacon/angulardart-bookmark-manager)

## Further reading
1. [**Angular Tutorial:** Let's Build a Bookmark Manager (**Part 2**)](https://youtu.be/l8GYVH4vMXc)
2. [**AngularDart Guide**](https://webdev.dartlang.org/angular/guide)
3. [Free **Get started with Dart** Egghead.io course](https://egghead.io/courses/get-started-wtih-dart)

---

## Sharing is caring 🤗

If you enjoyed reading this post, please share this through the various social channels. Also, check out and [**subscribe to my YouTube channel**](https://youtube.com/c/CreativeBracket) (hit the bell icon too) for videos on Dart.

Watch my [Free **Get started with Dart** course](https://egghead.io/courses/get-started-with-dart) on Egghead.io and [**Subscribe to my email newsletter**](http://eepurl.com/gipQBX) to download my Free 35-page **Get started with Dart** eBook and to be notified when new content is released.

**Like, share and [follow me](https://twitter.com/creativ_bracket)** 😍 for more content on Dart.
I'm a Software Architect, Microsoft MVP, DDD-Cloud Enthusiast, built web applications with 100+ millions users. Ask me anything!
Tags: ama, cloud, csharp, dotnet
Published: 2019-03-25 12:04:27

---
title: I'm a Software Architect, Microsoft MVP, DDD-Cloud Enthusiast, built web applications with 100+ millions users. Ask me anything!
published: true
description: 
tags: ama, cloud, csharp, dotnet
---

I've been loving, living, eating .net framework since it's inception year 2002. 

I'm hugely obsessed writing beautiful code and often publish as [open source](https://github.com/EISK/eisk.webapi).

I believe the world is suffering because of duplicate code and millions of people's life can be improved if the evil of duplicate code can be fought right. 

Been awarded as [Most Valuable Professional](https://mvp.microsoft.com/en-us/PublicProfile/37586) by Microsoft for a few times, judge in [Microsoft Imagine Cup](https://imaginecup.microsoft.com/en-us/Events?id=0), mentioned in Microsoft [Channel 9](https://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-June-21-2013), written technical paper in [IEEE Computer Society publications](https://ieeexplore.ieee.org/document/1286688?arnumber=1286688). 


I've specialization in designing and building high-performance web applications in cloud computing environment. I [helped](https://www.linkedin.com/in/mohammadashrafulalam/) big companies building and scaling their web applications with 100+ millions users.

Besides technical stuffs, I'm a short story and essay writer, try-to-be a good father, son, husband and friend. When alone I simply go from long walk, think about life from a philosophic view.

Would love to answer any question, from technical to literature, philosophy, mindfulness, success, ambition, helping community, making the world a better place.

Ask me anything!
Keep coding if that's what makes you feel alive
Tags: wecoded
Published: 2019-03-25 11:53:02

---
title: Keep coding if that's what makes you feel alive 
published: true
tags: shecoded
---


Here's why I'm writing this post. 
It is a message for you, the person reading this, no matter what you've gone through. You'll be fine. You're not behind anyone.Just keep coding. Everyone is behind someone else one way or the other. There's always room to learn new stuff. 

## I continued to code in 2019 because I love it.
SQL: Como adicionar uma quebra de linha em uma query
Tags: sql, ptbr
Published: 2019-03-25 11:51:37

---
title: 'SQL: Como adicionar uma quebra de linha em uma query'
published: true
description: 
tags: sql, ptbr
---

Veja abaixo dois exemplos. Um para PostgreSQL e outro para SQL Server.

```sql
-- Exemplo para PostgreSQL
SELECT 'Primeira Linha' || Chr(13) ||'Segunda Linha';

-- Exemplo para SQL Server
SELECT 'Primeira Linha' + CHAR(13)+CHAR(10) + 'Segunda Linha';
```

`CHAR(13)` é o equivalente ao `CR`. Para seguir o estilo `CRLF` do DOS/Windows, é necessário o `CHAR(13)+CHAR(10)`.

Quando executamos a query, ela adiciona as quebras de linha, seja do windows, seja do Unix. Mas, visualizar estas quebras depende da ferramenta que usamos para executá-la. Veja os exemplos abaixo:

#### SQL Server

Ao executar as queries no Management Studio, temos duas forma de visualizar os resultados: em modo grid, e em modo texto.

Quando visualizamos em modo grid, o Management Studio não mostra as quebras de linha:

![](https://avila.net.br/assets/sqlserver-result-to-grid.png)

Mas, quando visualizamos em modo texto, ele faz a quebra, como deve ser:

![](https://avila.net.br/assets/sqlserver-result-to-text.png)


#### PostgreSQL

Ao visualizar usando o `psql`, ele mostra o `\r`, que é a representação do caractere de quebra de linha:

![](https://avila.net.br/assets/pgsql-terminal.png)

Já quando visualizamos pelo PgAdmin, ele faz a quebra, como deve ser:

![](https://avila.net.br/assets/pgsql-pgadmin.png)


#### Mas, e o meu aplicativo?

Se você utiliza esta dica em um aplicativo desenvolvido por você, você precisará tratar o resultado da query, e mostrar os caracteres de quebra de linha da forma como quiser. Por exemplo, se estiver desenvolvendo um app web, você pode, na camada de visualização, substituir as quebras de linha por `<br/>`.
Introducing Majestic, A Zero Config GUI for Jest
Tags: jest, tools, dx
Published: 2019-03-25 11:33:15

---
title: Introducing Majestic, A Zero Config GUI for Jest
published: true
description: Majestic is a GUI for Jest
tags: jest,tools,dx
cover_image: https://thepracticaldev.s3.amazonaws.com/i/qd4h9oleu8fnt4vgnc6v.png
---

[Jest](https://jestjs.io/) really made testing painless and, like many tools in the Javascript ecosystem, the default interface to interact with Jest is via the CLI. And it's one of the best CLI out there. But what if Jest comes with a GUI interface as well?

### 🕑 A while ago

A year ago [I released](https://twitter.com/raathigesh/status/948150176622960640) an open-source side project of called **Majestic**, A GUI for Jest. It was an electron app which interacted with the Jest CLI on behalf of you. It worked as a proof of concept but it was far away from what a tool like that could be. But I learned a lot about the technical and design decisions made and wanted to star over from scratch.

### 🎉 An all-new Majestic

{% twitter 1110138948259467264 %}

[**Today I'm extremely happy to introduce you to the all-new Majestic and it's just a single command, `npx majestic`, away.**](https://github.com/Raathigesh/majestic/)


![Majestic 1.0](https://thepracticaldev.s3.amazonaws.com/i/wvjoidi4yxapejb0ncgd.gif)


Majestic is no longer an electron app but a npm module. Go into your project which has Jest configured and run `npx majestic` in your terminal and you will see the UI open in your default browser.


The all-new Majestic would allow you to
- ✅ Run all the tests or a single file
- ⏱ Toggle watch mode
- 📸 Update snapshots
- ❌ Examine test failures as they happen
- ⏲ Console.log() to the GUI for debugging
- 🔍 Search tests



All these with almost zero additional configuration.


### 🤝 Help us make it better

{% github Raathigesh/majestic %}

If you are interested in contributing or just wondering what powers Majestic under the hood,

- Majestic frontend is written in React JS and Appolo qrahphQL 
- The local backend runs a NodeJS qrahphQL server and spins up Jest as a child process and interacts with it

Give it a try. If you have a feature request or ran into an issue, either create an issue in the [github repository](https://github.com/Raathigesh/majestic/) or drop by our community chat https://spectrum.chat/majestic


Cheers
Update "router-view" when Vue route changes
Tags: vue, webdev, beginners, learning
Published: 2019-03-25 11:08:03

---
title: Update "router-view" when Vue route changes
published: true
description: A simple technique to tell the Vue "router view" to refresh when the route changes
tags: Vue, webdev, beginners, learning
---


Sometimes, your Vue route will change, but will not trigger your `router-view` to update. 

There is a simple way to tell the `router-view`, or any component, to update. Just bind the component `key` property to a reactive data source. In the case of router changes, you can bind the `router-view` to the `$route.fullPath` as follows:

```html
<router-view :key="$route.fullPath"></router-view>
<!-- more verbose with v-bind:key -->
<router-view v-bind:key="$route.fullPath"></router-view>
```

Now, any time the full path changes, the `router-view` will be updated.

<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
Functors Compose, Monads Do Not
Tags: purescript, functional
Published: 2019-04-14 19:43:28

---
title: Functors Compose, Monads Do Not
published: true
description: The title says it all ;)
tags: purescript,functional
canonical_url: https://odone.io/posts/2019-03-25-functors-compose-monads-do-not.html
---

You can keep reading here or [jump to my blog](https://odone.io/posts/2019-03-25-functors-compose-monads-do-not.html) to get the full experience, including the wonderful pink, blue and white palette.

---

<img class="cover" src="https://cdn-images-1.medium.com/max/1024/1*QM3gGl2zlucMsox-1WNirQ.jpeg"></img>

## Functor Composition

Let’s start with a refresher of `map`:

```haskell
map :: forall a b. (a -> b) -> f a -> f b
```

In other words, map takes a function `a -> b` and gives us a function `f a -> f b`. For that reason, we can take any two nested functors (e.g. `Array` and `Maybe`) and run a function on the nested values by putting two `map`s together:

```haskell
v :: Array (Maybe Int)
v = [Just 1, Nothing, Just 3]

f1 :: Int -> String
f1 = show

main :: Effect Unit
main = do
 logShow $ map (map f1) v

-- [(Just "1"),Nothing,(Just "3")]
```

## Monad Composition

This time we want to take a look at `bind`:

```haskell
bind :: forall a b. m a -> (a -> m b) -> m b
```

If we tried to compose the same way we did with functors, we would notice the code does not compile:

```haskell
v :: Array (Maybe Int)
v = [Just 1, Nothing, Just 3]

f2 :: Int -> Array (Maybe String)
f2 i = [Just $ show i]

main :: Effect Unit
main = do
 logShow $ bind v (\x -> bind x f2) -- DOES NOT COMPILE!!
```

The problem here is in the nested `bind`:

```haskell
bind v (\x -> bind x f2)
     ^ Maybe Int
       ^ Int -> Array (Maybe String)
```

In fact, `Maybe Int -> (Int -> Array (Maybe String)) -> ??` is not what `bind` expects: the first argument seems to indicate that `m` is `Maybe` but the second seems to indicate that `m` is `Array`. This does not compile since the monad `m` is supposed to be the same.

To make the program compile we have to make use of a function (i.e. `maybe`) specific to the monad we are dealing with (i.e. `Maybe`):

```haskell
main :: Effect Unit
main = do
 -- logShow $ bind v (\x -> bind x f2) -- DOES NOT COMPILE!!
 logShow $ bind v (maybe (pure Nothing) f2)
```

Or we could use the `MaybeT` monad transformer:

```haskell
v2 :: MaybeT Array Int
v2 = MaybeT [Just 1, Nothing, Just 3]

f3 :: Int -> MaybeT Array String
f3 i = MaybeT [Just $ show i]

main :: Effect Unit
main = do
 --logShow $ bind v (\x -> bind x f2)
 logShow $ bind v (maybe [Nothing] f2)
 logShow $ runMaybeT $ bind v2 f3
```

## Outro

I’ve blatantly copied the content of this blog post out of a talk by Tony Morris. So be sure to check the [original stuff](https://vimeo.com/73648150) out!

---

Get the latest content via email from me personally. Reply with your thoughts. Let's learn from each other. Subscribe to my [PinkLetter](https://odone.io#newsletter)!
Introducing Tartiflette: dailymotion's Open Source GraphQL Implementation for Python 3.6+
Tags: graphql, python
Published: 2019-03-25 10:40:54

---
title: Introducing Tartiflette: dailymotion's Open Source GraphQL Implementation for Python 3.6+
published: true
description: “SDL First” GraphQL engine built for Python by dailymotion
tags: graphql, python
---


Tartiflette is a brand new [GraphQL Implementation](https://github.com/dailymotion/tartiflette) built with and for python 3.6+, based on dailymotion’s experience of running a GraphQL API in production for 2.5 years.

[Tartiflette](https://github.com/dailymotion/tartiflette) intensively uses the SDL of GraphQL. Give it a spin, it tastes good.

[Know more about the story of tartiflette on medium](https://medium.com/dailymotion/tartiflette-graphql-api-engine-python-open-source-a200c5bbc477).
How to Install Atom Editor in Ubuntu Linux.
Tags: opensource, howto, linux
Published: 2019-07-12 09:42:51

---
title: How to Install Atom Editor in Ubuntu Linux.
published: true 
tags: FOSS,HowTo,Linux,open source
canonical_url: https://fossnaija.com/install-atom-editor-ubuntu-linux/
---

## _A Hackable text editor for the 21st Century!_

Atom is an [open source](https://fossnaija.com/open-source-really-matter-control-not-code/) text editor for all your text needs. But its mostly used and suited for programming and development (coding). A very functional and feature-rich text editor is an invaluable component of a developer toolbox.

![atom welcome page fossnaija](https://i0.wp.com/fossnaija.com/wp-content/uploads/2019/03/atom-home-fossnaija.png?w=665&ssl=1)

Atomis open-source(if you have the skills you can help improve it on github)and free of charge, you can just download, install and get right towork immediately.

### **FEATURES**

- _ **Cross-platform:** _It is available for Linux, Mac OS and Windows operating system.

- _ **Aesthetics:** _atom is beautiful by it self, but you can modify the look and feelto your personal taste or preference using different openlyavailable themes.
- _ **Speed:** _atom is relatively fast being a light-weight application built onJavaScript. It can also make you type fast with built-in intelligentauto-complete feature.

- _ **Extensible:** _ you can extend the features of atom with thousands of freely available packages to add additional functionalities. 

![atom_editor_code_fossnaija](https://i0.wp.com/fossnaija.com/wp-content/uploads/2019/03/atom_editor_code_fossnaija.png?resize=665%2C353&ssl=1)

In this post we’re going to see how to install this popular and modern text-editor in [Ubuntu](https://dev.to/xeroxism/new-release-ubuntu-linux-1804-long-term-support--bionic-beaver-14j8-temp-slug-9633755) [Linux](https://fossnaija.com/linux-installation-dual-booting-with-windows-7/).

### **METHOD1: Using PPA:**

Addthe PPA to your system:

`
sudo add-apt-repository ppa:webupd8team/atom
`

Updatethe system package list:

` sudo apt update`

Andyou can now install atom:

`sudo apt install atom`

### **METHOD2: – Download the Atom package.**

Download the atom installation package from their website.

![atom download page fossnaija](https://i2.wp.com/fossnaija.com/wp-content/uploads/2019/03/atom-download-page-fossnaija.png?w=665&ssl=1)

## **Use** _ **dpkg** _ **Command:**

` 
sudo dpkg -i /path/to/atom.deb
`

Then install;

`
sudo apt-get install -f
`

Oryou can open t he package with Ubuntu software center

Toremove atom from your system, use the command:

`
sudo apt-remove --purge atom
`

**Happy Linux’NG!**

**Followus on** [**Facebook**](https://www.facebook.com/fossnaija) **,** [**Twitter**](https://twitter.com/fossnaija) **,and** [**Instagram**](https://www.instagram.com/fossnaija/) **.**

The post [How to Install Atom Editor in Ubuntu Linux.](https://fossnaija.com/install-atom-editor-ubuntu-linux/) appeared first on [Foss Naija](https://fossnaija.com).
Need tips for implementing paypal checkout
Tags: paypal
Published: 2019-03-25 08:17:40

---
title: Need tips for implementing paypal checkout
published: true
description: To devs who have implemented paypal in their applications who would like to share a thing or ten that would like to share good begginer advice
tags: paypal
---

Hi,


Like the title says I'm looking for some tips on how to implement paypal checkout.
You know, those things you wish you knew before your first implementation.

The reason behind this is that in the near future I'll be integrating paypal as a type of payment for a client of mine and I would really like to get it right the first try, so I'm calling out all devs who would like to share their experience so I(and all readers) can learn from them.
The best developer conferences
Tags: conferences, beginners, developer
Published: 2019-03-25 07:34:58

---
title: The best developer conferences
published: true
description: Conferences are a great place to network with like-minded professionals as well as learn about technologies and best practices. There are thousands of conferences happening around the world, but not all of them are equally good. Below is my ultimate list of the best vendor-independent engineering conferences. I personally attended every conference on the list.
tags: conferences, beginner, developer
---

Conferences are a great place to network with like-minded professionals as well as learn about technologies and best practices. There are thousands of conferences happening around the world, but not all of them are equally good. Below is my ultimate list of the best vendor-independent engineering conferences. **I personally attended every conference on the list**.

---

## DevTernity (🏅 Top 3 in Europe)

**Audience**: developers, architects ·  **Location:** Riga, Latvia · **Date**: 3–4 December 2020

[![Conference](https://avatars.io/twitter/devternity)](https://devternity.com)

**[DevTernity](https://devternity.com)** is the top 3 international software development conference in Europe. Located in the heart of Europe, in a beautiful city of Riga, this well-organized conference focuses on the core skills paramount to your success – code design, software architecture and leadership. Organizers promise no agile bulsh\*\*t or marketing talks. **This is a must-see event!**


**[See the full list](https://sizovs.net/2019/03/21/the-best-developer-conferences/)**
Boot Camp 6-8 Months
Tags: bootcamp
Published: 2019-03-25 05:54:11

---
title: Boot Camp 6-8 Months
published: true
description: Starting boot camp 
tags: #bootcamp
--- 

I am starting boot camp today. At the end of the boot camp I'm supposed to have enough knowledge and experience to become an junior full stack dev. I already have some experience from self study and building projects but the curriculum the school has is more robust than what I could have put together. The school also gives you an remote buddy and has stand up meetings etc which I believe suppose  to mimic a real dev job experience. They also provide career coaches and groom to get a job only.I have enough dicipline to do Deep work and grind by myself, but I believe doing it with others will get me acquainted with the workflow of a remote dev.Its a big sacrifice I'm making and I hoping that it's going to be for the best.

What do you guys think of bootcamps in these current times with all the easy access to infomation?
React & Node Starter For Full Stack Development
Tags: beginners, javascript, react, node
Published: 2019-03-25 05:01:25

---
title: React & Node Starter For Full Stack Development
published: true
description: A quick tutorial on how to assemble a full stack starter for web development using React.js and Node.js/Express.js together
tags: beginners, javascript, react, node
---

In this video I demonstrate how you can assemble a simple full stack starter for web development using React.js and Node.js (Express.js), as well as a couple tips to improve your development workflow!

{% youtube X9Od_5FubC8 %}
Redundant 'return' detected - Ruby Programming.
Tags: ruby, rspec, programming, code
Published: 2019-03-25 04:15:11

---
title: Redundant 'return' detected - Ruby Programming.
published: true
description: Explanation of return keyword in Ruby Programming.
tags: #ruby,#rspec,#programming,#code
---

Being a Software Developer we are expected to work on new technology irrespective of language that we have previous work experience in. It's not a big deal as long as we are familiarised with the syntax of the new language. 

I recently switched the job and was expected to work on ruby on rails.

I was working on a code and returning a value from a function and I don't see any error or warning in that until I used lint to check my code quality. It threw me the warning,

`Redundant 'return' detected`

I had no clue about this as I was sure that my code is fine. After intense googling, I found that by default ruby doesn't expect a function to return some value.

You can check the issue from this question in StackOverflow: https://stackoverflow.com/questions/1023146/is-it-good-style-to-explicitly-return-in-ruby

After modification my function looked something like this:

```
def some_function(x)
  y = 33
  unless x.blank?
    y = if x == 3
          10
        elsif x == 5
          16
        else
          nil
        end
  end
end

```

The Drive code:
```
x = ''
z = some_function(x)
print z
```

Even after modification my function didn't return the expected value. It was expected to return the `y value as '33'` which is set by default once it enters the function.

It returned `nil` instead of the expected `output : '33'`
I got confused and started debugging the code. Later I found out the problem.
The problem is, we should return the final variable in order for the function to return a value. 

So instead of using `'return'` keyword we can simply use the variable name at the end like this:
```
def some_function(x)
  y = 33
  unless x.blank?
    y = if x == 3
          10
        elsif x == 5
          16
        else
          nil
        end
  end
  y #change made here to return the final value of y
end

```
 so that whatever the final value of the variable is, it will be returned and this solves the issue.