teleren/devto huggingface dataset:
Languages that create compiled output
Tags: distribute, compile, bundle, distribution
Published: 2020-10-27 14:49:38

This is context for the previous post in the series, for areas I know of in programming where it makes sense to create an output distribution file.

## Compiled languages

For C, C++, Rust and Go, one might want to distribute a pre-built executable binary. I want to get into Go and so want to see a good approach for sharing my projects. 

From [Hello world](https://gobyexample.com/hello-world) example:

```sh
$ go build hello-world.go
$ ls
hello-world    hello-world.go
```

For C:

```sh
$ cc -O -c main.c
```

Rust:

```sh
$ cargo build
```

## Zip a package

In the case of a VS Code extension (typically made in TypeScript) or a Ruby gem, one creates a zipped archive like `.vsix` or `.gem` which contains selected files to be distributed. 

Then this file could be uploaded to GitHub or a provider (like VS Code Marketplace or RubyGems), so others can install your project.

For example, I create a local archive of my VS Code extension and add it to a release under _Assets_.

https://github.com/MichaelCurrin/auto-commit-msg/releases

## Dist directory for JS

For JavaScript projects, one might have a `src` directory of source code (e.g. TypeScript) and a `dist` directory of compiled JavaScript (vanilla JS, possible minified and bundled as a single JS file or a multiple files). This directory might be versioned or not in the repo. It might be available on the NPM registry or a CDN.

For example, here are some Vue JS files available in a `dist` on `cdn.jsdelivr.net`.

https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/

That seems to match the versioned `dist` directory on GitHub.

https://github.com/vuejs/vue/tree/dev/dist

Or you can use a single Production CDN JS file:

https://cdn.jsdelivr.net/npm/vue@2.6.12
From Model to Code

Published: 2020-10-27 14:48:20

Designing an application can be a significant challenge. Many times we start the process right away with code, without truly focusing on the design of our application. The question of changing/evolving features/requirements, scalability, cost, etc. come much later in the process. By then, we may find ourselves frustrated with where to begin or even if there is a way to start implementing the changes and requirements.

Event Modeling was officially introduced by Adam Dymmitruk in 2018, who brought up the importance of designing a model for applications and systems first. The model is easily read and edited by various personnel in an organization in order to achieve business goals. This concept introduces TIME as the important factor when designing an application. The swimlanes show the development of a system through time. This idea was built on the structural designs of CQRS and Event Sourcing, where the events are at the heart of an application.

First in this blog series, I will examine building an application with a different approach of designing the model first, then translating it into code. I will be explaining the concept of Event Modeling in detail and introduce the ways that Axon Framework (and later on, Axon Server) can help with coding and scaling the application/system.

To see the full blog, please visit: https://axoniq.io/blog-overview/event-modeling--axon-framework#0

Twitter: @saratorrey
LinkedIn: https://www.linkedin.com/in/sara-torrey-a63a2a39/
GitHub: https://github.com/SaraTorrey

More information about AxonIQ:
Website: https://axoniq.io/
Youtube channel: https://www.youtube.com/c/AxonIQ
Reference Guide: https://docs.axoniq.io/reference-guide
AxonIQ
Axon Framework and Axon Server (Enterprise) for event-driven microservices.
Automated system for online advertising
Tags: ruby, python, react, devops
Published: 2020-10-27 14:46:59

The client who approached us was engaged in SEO since the beginning of the 2000s. As the company grew, the number of employees and projects increased, and the amount of routine work that had to be performed to meet the requirements of search engines grew notably.

At that time, Evrone already had experience in developing automated systems for website promotion, including such services as PromoPult (ex. SeoPult), SeoPult.PRO, Linkfeed.ru, and Trustlink.ru.

[Learn more](https://evrone.com/uptopromo) about how the development of the automated system for website promotion and link building.
Is there a makefile alternative where we can run code in python?
Tags: python, help, discuss
Published: 2020-10-27 14:45:18

Makefiles are fantastic tools. They help us automate stuff.

I often run commands  like : `make epub` or `make docs` or `make site` etc

I have a simple makefile where I write in shell code. And `make` simplifies my life

The commands we write inside makefile are actually shell commands.

Is there a way to write a python file. and run its functions like make.

For example:

Makefile

```
hi:
   echo hi this is makefile 

func:
   # ... some work
```

- We can run `make` which would execute stuff under hi, 
- while running `make func` would execute lines under func.
- If there is no Makefile, make would do nothing

----

Now A python alternative would look like this

```python

'''
hi this is python do file
'''

def func():
   # stuff here
 
```

- Running `ado` would print the docstring.
- and running `ado func` would run func.

- If there is no do.py file in current directory then ado would do nothing


https://stackoverflow.com/questions/64556791/is-there-a-makefile-alternative-where-we-can-run-code-in-python
Identity for Ruby developers conference
Tags: conference, ruby, design, writing
Published: 2020-10-27 14:41:08

Meet RubyRussia — the leading conference in Russia devoted to the Ruby programming language. A conference is a unique place where you can chat with colleagues, share experiences, meet old friends, and learn something new. The world-famous speakers who are well-known in the Ruby community come to present their speeches at the conference.

[Learn more](https://evrone.com/rubyrussia) about how we developed a bright branding identity for the main Ruby conference in Russia
How do you distribute your binaries?
Tags: question, ask, discuss, distribution
Published: 2020-10-27 14:37:55

For some programming languages, it makes sense to bundle your application as a single binary file that can be downloaded by someone. So they don't have to compile it themselves or install all the dev dependencies.

For example, a compiled binary executable (made with C, Rust or Go). Or a zipped archive of a package that contains only files needed for installing and running the package.

What is your approach to distributing your binary file and why? 

Some more specific prompts:

- Do add your binary to version control? 
- Do build a release locally and attach it to a GH release?
- Do you use a CI tool to accomplish either of the above? It is more maintainable to use an Action on GH Actions, or to just write a few steps by hand?

## Credits

Cover image by [@mathyaskurmann](https://unsplash.com/photos/fb7yNPbT0l8) on Unsplash.
I’m Levi Sharpe, Senior Podcast Producer at DEV/Forem- AMA
Tags: ama, meta, design, hacktoberfest
Published: 2020-10-27 14:37:07

Hi! I’m [Levi Sharpe](https://dev.to/levisharpe), Senior Podcast Producer and Sound Designer at Forem.

I’ll be joining [Nick Taylor](https://dev.to/nickytonline) and [Christina Gorton](https://dev.to/coffeecraftcode) on Friday, October 30th at 1pm EDT on thePracticalDev [Twitch](https://www.twitch.tv/thepracticaldev) stream to talk about podcasting and what I do as a podcast producer at Forem.

> ### **I would love to answer any questions you have about producing podcasts, my current and past projects, and more.** 

For some context, I currently produce, edit, and mix DEV’s CodeNewbie, DevDiscuss, and DevNews podcasts. You can listen to them right here on DEV or wherever you get your podcasts!

Previous to working at Forem, I was lead podcast producer at Gizmodo Media Group, where I helped launch their podcast unit, producing and editing Lifehacker’s Webby-nominated podcast, The Upgrade, as well as Jezebel's pop culture podcast DirtCast and their politics show Big Time Dicks. And previous to that I worked at Marketplace, and mainly produced stuff for Marketplace Tech.

As a passion project, I sound design and mix the narrative fiction podcast Roommate From Hell, which is about a girl named Claire who moves in with a demon from hell, they become friends, and antics ensue.

I received my master’s from the CUNY Graduate School of Journalism, and other places his work has been featured include Marketplace Weekend, Codebreaker, Actuality, The Takeaway, Word of Mouth, and Popular Science.

**Feel free to ask any questions you have about podcast production, the value of podcasts for developers, any of the DEV shows… or really anything in the discussion thread below!** 

![alt text](https://media.giphy.com/media/dhCx7EyeGYD7O/source.gif)

Follow [ThePracticalDev Twitch](https://www.twitch.tv/thepracticaldev) channel to watch this stream, get notified when streaming begins, and more!
Previewing Content in Agility CMS
Tags: cms, webdev
Published: 2020-10-27 14:28:34

If there’s a universal truth about building websites, it’s that you can’t trust things will look right at the first try. Even the most meticulous developer can make a mistake. Now imagine what could happen if you enter non-technical content editors into the equation. The chances of something breaking can suddenly increase. 

That’s where content preview comes to the rescue, giving editors an instance where they can preview their work before it’s live. It’s the editors’ safety net; it provides them with the visibility they need to fix issues before visitors spot them.

[Keep reading!](https://agilitycms.com/resources/guide/agilitycms-content-preview)
How Agility CMS Modules Work
Tags: cms, learn, webdev
Published: 2020-10-27 14:26:59

‘Module’ is one of those words that can have different meanings in the software world. In the content management system space, a module is a collection of code files that enables developers to add features to your website. 

Modules allow developers to install extra capabilities to the digital experiences you create, augmenting the functionality of your installation. They also allow you to customize your deployment and give your website or app. 

Modules are a fundamental part of creating a digital experience in Agility CMS. In this series of Agility Sneak Peeks, we will show some of our features and explain how you can use them. 

Let’s take a closer look at how modules work and learn how developers and marketers can leverage their functionality to create memorable digital experiences.  

[Keep reading!](https://agilitycms.com/resources/guide/agility-cms-modules)
My first pull request
Tags: hacktoberfest
Published: 2020-10-27 13:06:06

### About Myself
Hello, I am Nipun Rautela. I am pretty new to DEV, I got to know about it due to the hacktoberfest 2020. I am a first-year university student doing a Computer Science and Engineering course with specialization in Artificial Intelligence and Machine Learning.

### Background
I am pretty new to programming/coding as a whole. I haven't made any big projects yet and I am still trying to understand Github fully. I love to code or play video games in my free time.

### Progress
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4ed814tihoetambp0s06.jpg)
I've completed the Hacktoberfest2020, with 5 pull requests in total. It was amazing, I only made my first contribution this month and now I have 5. It felt so good when I saw the filled PR count bar on the main website. 

### Reflections
The Event was amazing as I already said, I learned a lot during this, realized how PRs are reviewed and how the process goes on. I'd love to contribute to bigger projects when I am capable.
Hacktoberfest - Week 3
Tags: hacktoberfest, opensource, github, javascript
Published: 2020-10-25 22:32:13

The third week of Hacktoberfest! Hooray!

This week I'm trying something new, jQuery. I know it is a popular Javascript library but I just never get a chance to dig into it. The challenge that I gave myself this week is to learn the basic jQuery knowledge and complete a pull request by working on jQuery.

In the first week of the open-source course, I mentioned that I have an interest in working on browser extensions. My professor sent me an issue of a repo and encourage me to try it. At that time, I just quickly viewed the repo and realize it is too big for me and I don't have any experience working on jQuery. This week, I was thinking that since I have some experience working on browser extensions and have enough time and confidence, I should pick up this repo and solve an issue.

This repo is a [browser extension for Twitter called refined-twitter](https://github.com/sindresorhus/refined-twitter). It helps users to customize their pages by hiding the components that they don't want to see such as sidebars, promoted ads. 

The issue I choose to solve is ["Search function gone with 'What's Happening' and 'Who To Follow' boxes"](https://github.com/sindresorhus/refined-twitter/issues/197). They used to have different options for removing the "trending" and "who to follow" components. However, after Twitter changed the UI, these 2 options no longer worked. They created a new option for hiding these 2 components but this also takes the search tab away. 

After watching jQuery tutorial videos and check the documentation of jQuery, I started to look into the repo. I started by checking other options' js files and use keywords search to see the related files. For solving this issue, it doesn't have to make changes for other files since this option has already existed in the current panel. I only need to modify the content.

The current line of code to remove the components is to hide the whole sidebar. Instead, I just make the "What's happening" and "Who to follow" boxes hidden. In this way, the footer including copyright and navigations of Twitter and the Search tab will still remain on the page. 

This PR took me 2 days to learn jQuery, 1 day to read the repo, and only 3 hours to solve the issue. It reminds me of what my professor said, "Programming is 90% reading, 1% writing, 9% debugging." Especially, when we work as a team or contribute to open-source projects, we need to spend time reading other people's code and try to understand and adopt the way they code. This can also teach us new skills, tools that we never thought about. For example, in the repo that I worked on last week, they use ESLint to maintain the code. I've never thought about using tools to remain consistent and how important this is in a group project.  

Looking forward to having more surprises in the next PR!
NodeJS LinkedIn unofficial API
Tags: javascript, node, opensource, tutorial
Published: 2020-10-27 14:19:39

Hey all,

I want to share with you a new GitHub project. This is a NodeJS API wrapper for LinkedIn unofficial API.

This project helps developers building some cool LinkedIn bots/services.
All you need is a working LinkedIn account and some basic knowledge of Javascript/NodeJS/TypeScript

Those are the features my API provides (so far):
* Search for people, companies, and connections
* View profiles
* View sent and received invitations and send new invitations to any profile.
* Navigate between conversations and scroll messages.
* Send new messages.

Note: A lot of new abilities will be added soon :) 

Here is a medium post that describes how I used this API to build a LinkedIn bot for one of my use cases: https://codeburst.io/how-i-nailed-a-job-with-this-nodejs-linkedin-bot-6fcada2afbe1

You can find the GitHub project here:  https://github.com/eilonmore/linkedin-private-api
How we create and manage a ReasonML Code Style Guide at Avo in a democratic and open way
Tags: reason, codequality, javascript, opensource
Published: 2020-10-27 14:17:36

At Avo we write most of our code in ReasonML, a strongly-typed functional language operating on top of the Javascript ecosystem. It’s a great tool (a strongly-typed functional language operating on top of the Javascript ecosystem, you know) that also has its challenges.



Two challenges we’ll cover here are bringing new people into the project and improving code quality. Both are not new and are relevant to any programming language, but given the nature of ReasonML, building tools to address them becomes crucial for the effectiveness of the product development.



Luckily, there is an old and proven way to address those challenges - [a code style guide](https://codestyle.co/about/). But, if a good code style for a popular language like Javascript or C++ is easy to find, when you work with a niche language like ReasonML you are left to create the code style on your own (or [adopt ours](https://github.com/avohq/reasonml-code-style-guide) 😉).



##How Avo built a democratic approach to our code style##
Here’s how we approach it at Avo. In our first attempt at defining a code style the project was already a few years old and we were 4 developers. 



We started out making a list of issues we face daily in the codebase. It was a collaborative document, everyone could submit there. Next, we discussed it at our developer roundtable. It's a meeting we hold every 3 weeks where all developers discuss matters related to engineering. 



One of the topics on that particular roundtable was our code style. We spent an hour going through the list of suggested ideas and ended the roundtable with an actionable - one of our engineers would make a subset of the discussed topics that everyone agrees on that would become the first iteration of our official Code Style Guide. The Avo ReasonML Style Guide was born. It felt great to have a code style. On the other hand it was small and definitely incomplete, that’s why we labeled it v0.1. We had to iterate and improve, so we designed a process for that.



We use Asana to manage topics to discuss in our developer roundtable, and we have an ongoing topic for code style contenders. There anyone can suggest a new rule for the code style. Then all the contenders are discussed at the meeting and the items we agree on go into the code style. We really like this approach because it democratizes our code style and brings all new issues to the attention of all developers, so everyone knows the latest state!



Today we open our code style to the public, you can find it [in this GitHub repo](https://github.com/avohq/reasonml-code-style-guide/). Please share your ideas of new items to add to the guide in the issues section!
How to manage more, more and more in the new digital ecosystem?
Tags: ecosystem, digital
Published: 2020-10-27 14:16:02

Amazing work on how to manage more in the new digital #ecosystems. 
Check it out https://www.youtube.com/watch?v=0JcbRzXSA8Q
Thank you Rob Akershoek
{% youtube 0JcbRzXSA8Q %}
Advance CSS resources
Tags: help
Published: 2020-10-27 14:10:26

So recently I realised that I am still little weak in CSS, when it comes to advanced concepts, including animations, building very complex pages and all. I looked over the internet and all I find the same things taught by everyone. 

Example:
- nth-child
- ::before , ::after
etc.

Any advice where should I look over and what should I do.

Thank you!
💡UX Tip: Every pixel in your UI should have a purpose
Tags: ux, beginners, uiweekly, tutorial
Published: 2020-10-27 14:08:53

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/dt6ppkic2px0stv7i8k6.png)

When building a screen, make sure to ask yourself "Why?" before you add a component. 

It's easy to unconsciously add components we don't need, just because we saw them somewhere or are included in a UI kit we use.
What are the best books to learn Bitcoin?
Tags: blockchain, tecnology, bitcoin, cryptocurrency
Published: 2020-10-27 18:40:27

---
title: What are the best books to learn Bitcoin?
published: true
date: 2020-10-27 13:54:07 UTC
tags: blockchain,tecnology,bitcoin,cryptocurrency
canonical_url: https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b
---

[![](https://cdn-images-1.medium.com/max/1280/1*0oOQLclH8IGtkAXRHh1njA.png)](https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b?source=rss----721b17443fd5---4)

Let’s find out what are the best physical and online resources to learn Bitcoin, how it works and its ideologies

[Continue reading on Coinmonks »](https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b?source=rss----721b17443fd5---4)
How to deal with information asymmetry with outsourcing providers in tech? 
Tags: management, discuss, todayisearched
Published: 2020-10-27 13:46:03

In my many conversations with leaders of development teams I have experienced all kinds of development constellations. One that many felt most satisfied with was the outsourcing of an entire dedicated development team. This is cost-effective, flexible and fits more easily into the overall company structure. 

![JonnyGit_Outsourcing-Management](https://dev-to-uploads.s3.amazonaws.com/i/i1f0eaeb004ur5i8oz1q.png)

The main advantage is that these people are fully committed to your cause and feel part of the whole organization. 

If this is something you are considering, this article might help you: https://medium.com/devtechtoday/dedicated-software-development-team-a-winning-approach-for-outsourcing-c0874141291c

There is one issue that is often problematic, and it is related to the systematic distrust of working with outsourcing providers. Maybe you have heard of the principal-agent-theory and it covers exactly this. You have to get a grip on the information asymmetry. 

What is your opinion on this? How do you tackle this at your organization?
Using Django Filters
Tags: django, javascript
Published: 2020-10-27 13:45:16

Get the header image? Cause it's a Coffee filter... and I'm talking about Django filters. Plus, I like coffee.

Anyways... on to the point.

I recently was working on a page and implemented some basic filters to set things based on city / state and thought it would be of interest to some. 

The page featured select boxes where you can choose each and then go to a city or state specific page. For instance, this page features [car shows in Houston](https://www.topmarq.com/car-shows/tx/houston). You can see each selection is active. 

![Screen Shot 2020-10-27 at 8.32.06 AM](https://dev-to-uploads.s3.amazonaws.com/i/64a58kke3kcw395xsne9.png)

So the first step here is to create the form on the front end (using templates or whatever your stack is) for the states. 

`<div class="form-inline" id="locationFilter" data-cities-url="{% url 'events:load_cities' %}">
<select id="id_state" name="state" class="form-control ml-2 mb-2"> 
  <option value="">Select State</option>
... add options ...
</select>`

Then leave the city one blank to start, and fill it dynamically based on the state selection. 

`<select id="id_city" name="city" class="form-control ml-2 mb-2">
<option value="">Select City&nbsp;&nbsp</option>
</select>`

Then you want to use JS to load the city list once a state is created. Here you just use the `data-cities-url` attribute and send an AJAX or API call to get the list of cities and update that list with the elements. 

`def load_cities(request):`
`Locality.objects.filter(state__code=state).order_by('name').values_list('name', flat=True).distinct()`
`return render(request, 'events/city_dropdown_list_options.html', {'cities': cities})`

Here I use a template that contains the basic code for generating the dropdown list given the cities and you're good to go!

We have found this basic city state filter really helps our users quickly find things based on their area. It is also beneficial for SEO because you can segment content that may be location based into  groups. So our users who may be looking for a [cars and coffee houston](https://www.topmarq.com/articles/cars-and-coffee-houston-caffeine-meets-horsepower-in-your-favorite-auto-event-68) meetup don't have to sift through all the options from across the country. 

Eventually I want to add a self-completing text field so you don't have to use the dropdowns. Especially for the city selection as there can end up being quite a few of those.