teleren/devto huggingface dataset:
OpenNMS Meridian 2017.1.21 Released
Tags: news, meridian, release
Published: 2020-04-20 21:01:41

---
title: OpenNMS Meridian 2017.1.21 Released
published: true
date: 2020-03-03 21:12:04 UTC
tags: News,Meridian,Release
canonical_url: https://www.opennms.com/en/blog/2020-03-03-opennms-meridian-2017-1-21-released/
cover_image: https://i.imgur.com/74fmzvG.png
---

Release 2017.1.21 is a small update to 2017.1.20 that fixes an HQL injection issue that affects most current OpenNMS releases. Hat tip to Johannes Moritz for reporting this.

The codename for 2017.1.21 is _Capitol meridian_.

Bug

- HQL Injection (Issue [NMS-12572](http://issues.opennms.org/browse/NMS-12572))
Using Sitecore Install Assistant Behind a Proxy
Tags: sitecore, dotnet, csharp
Published: 2020-03-03 20:50:13



Setting up Sitecore has always been a little more painful than developers may have wished. To ease this pain we've had the Sitecore Installation Manager for many years and more recently the Sitecore Installation Framework (SIF). The latest iteration is called the Sitecore Install Assistant and was introduced in Sitecore 9.2. 

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

We are in the process of a long awaited upgrade from Sitecore 8.0 to 9.3 and simplifying the process of setting up a developer environment is critical in the smooth transition to the new version. SIA seems like a great option to make this easy for developers who already complain about complex environments.

##The Proxy Problem

When attempting to use SIA the following error was reported:

```
No match was found for the specified search criteria and module name 'PowerShellGet'. Try Get-PSRepository to see all available registered module repositories.
Unable to find module repositories.
The specified Uri 'https://sitecore.myget.org/F/sc-powershell/api/v2' for parameter 'SourceLocation' is an invalid Web Uri. Please ensure that it meets the Web Uri requirements.
The specified module 'SitecoreInstallFramework' with version '2.2.0' was not loaded because no valid module file was found in any module directory.
```

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


SIF has similar problems and requires you to specify proxy credentials in powershell so I assumed this was proxy related. One Sitecore support ticket later and I discover that SIA does not support use behind a proxy. I recall a similar response for SIF. 

## The Solution

Please. There is ALWAYS a hack.

I created a class library project that implements IWebProxy and specify the proxy and credentials there. A small tweak to the setup.exe.config for SIA and viola, SIA is able to communicate with the outside world.

The code and details are here:

[GitHub - ProxyInjector](https://github.com/danielrolfe/ProxyInjector)


SIF and SIA are excellent tools and I appreciate that Sitecore has created them but I do wonder how many of their customers are stuck with a proxy in the mix... just sayin.
I'm Paul Hallett, and I support women devs.
Tags: wecoded
Published: 2020-03-03 20:40:51

## Equality in tech looks like… 

A progressive and beautiful world. 

Equality should mean all people, of all genders, religions, and beliefs, all contribute and gain equally from working together in technology. 

Not just from being a developer in a team, but also equal gain from the products that are built with technology.

## I will advocate for equality by… 

continuing to highlight the work done by lesser represented people within my team and within the technology community. 

I will continue to offer mentoring and support to lesser represented people who deserve equal opportunity in tech.

## My advice for fellow allies to support self-identifying women and non-binary folks who code is...

Treat people with compassion. We are human, and we all make mistakes. 

Find opportunities to give lesser represented people a chance to build something new, or learn something new, and coach them through it. Encourage and show them that they are capable. 

Highlight their successes and their efforts, and give them a high five when they succeed!
Nevertheless, Lorna Jane Mitchell Coded
Tags: wecoded
Published: 2020-03-03 20:37:27

## I continued to code in 2019 because...

Coding is both my profession and my passion. By day I'm a Developer Advocate, working on APIs for developers, contributing to the OpenAPI spec, and helping improve the tutorials and code libraries (all open source). By night I maintain a couple of open source projects and generally try to do good in the world.

## I deserve credit for...

Continuing to share my knowledge and skills with wider communities by writing and speaking. I've been a software developer for a long time and I'm giving myself credit for continuing to pick up new technologies and skills!

## I hope to see my tech community...

My biggest hope is that my tech community starts to understand that diversity is more than a woman included in a conference lineup. Communities need to hear voices from all sorts of different backgrounds, and include them as contributors and maintainers - not just one-off event decoration.
Nevertheless, Diana Coded
Tags: wecoded, gratitude, career
Published: 2020-03-03 20:36:21


## Where do I begin?…

My background isn’t conventional. I grew up with an amazing family of nerds who bought programming, computer, and gaming magazines. Those were the magazines I scribbled and drew on whenever I got hold of marker pens. 

My mother worked in a corporate computer supplier and she often brought “samplers” back home. The day she brought a new Commodore-64, my life changed forever. Copying game codes from magazines wasn’t a hassle for me, I found it fascinating and cathartic at the same time. I was 6 years old. With time, she saw my interest and taught me the basic things that made a difference: basic, assembler, and then Python. With time it became a normal thing and part of my conversations. I was lucky to find supportive classmates in school. I will always be grateful for the support I got from my parents. 

I started “formally” coding at the age of 14 and grew up with much interest and work on infrastructure and backend. Throughout my entire career, I saw the good and the ugly in terms of diversity and inclusion, so I decided to take action and work with my environment, later with communities and worked(still working!) hard to get as far as I could, and help others. I wanted to be part of the solution. I wanted to help open programming gates to women and underrepresented communities. 

## The Biggest Challenge I Faced Was…

… At 18 years old. My first data centre job. Walked in ready to assemble racks and do the networking side of the operation. I was mocked and mistaken for a lost marketing intern. Then the men present assumed I was there to bring them refreshments and their tools. I had to prove not only that I was perfectly fit for the job but also prove my knowledge and I was often ridiculed or ignored for being too young… and a woman. This fueled my desire to overcome those barriers and help pave the way for others, at least wherever I went.

## The Most Rewarding Thing This Year…

Getting my dream job. I am super happy to be in charge of the Nexmo Python SDK. This job combines my passions: Python and public speaking/writing content. Never have I felt so welcomed and so supported. I am definitely looking forward to what’s coming this year!!

## My Message for Others…
You are awesome. We are all different and diversity is what keeps the world rocking! , Bbe yourself, celebrate, praise yourself and help others as you grow!

And like Brian May sings in “Good Company” :
> _“Take care of those you call your own and keep good company.”_
JQuery Interview Questions
Tags: jquery
Published: 2020-03-03 20:31:22

<h2>Q What is Jquery?</h2>
<b>Ans. </b>JQuery is not a programming language, but it is a well-written form of Javascript language.
<h2>Q What are the features of Jquery?</h2>
<b>Ans. </b> Jquery provides the features as follow:
<ul>
 	<li>Fast Execution</li>
 	<li>Less Coding</li>
 	<li>AJAX support</li>
 	<li>DOM Selection</li>
 	<li>Changing CSS</li>
 	<li>Event Handling</li>
 	<li>Easily implementation of animations and effects</li>
</ul>
<h2>Q Enlist the different types of selectors in Jquery?</h2>
<b>Ans. </b>Jquery has three types of selectors.
<ul>
 	<li>Custom Selector</li>
 	<li>CSS Selector</li>
 	<li>XPath Selector</li>
</ul>
READ MORE: <a href="https://errorsea.com/top-25-jquery-interview-questions/">Most Commonly Asked JQuery Interview Questions</a>
WK 1 Lesson 15 Discussion Question
Published: 2020-03-03 20:06:17

1.	Explain in your own words the lesson.<b> In this lesson we learned about creating new structures to customize their properties and functions to better suit our individual needs.</b>
2.	Include the following questions:
	What is the difference between a function and a method?<b> These two are the same for the most part with the difference that in a method belong to classes, structs, and enums, while functions do not.</b>
	Why are structures a better way to define data than just declaring a series of variables?<b> By defining a structure and assigning the data value within it, you are able to save time. You can also refer to only specific information within that structure and create many more things.</b>
RealCodeCamp is opensource bootcamp
Tags: github, blockchain
Published: 2020-03-03 20:01:09

### The Problem

There are currently thousands of developers starting their careers, not knowing where to start and to start this developer needs a large amount of available time and money to pay for courses that cost up to $ 11,000 a year. This is very expensive for a young person who is starting a career or for someone who is changing areas and migrating to a career in technology.
The market is very heated and this gives rise to N platforms, frameworks, companies etc.
But with all this information, the young man asks himself, “Where can I start? Do I need to study python? Do I need to study algorithms?”

We can focus on some important issues:
- price
- idiom
- learning curve
- new languages.

### Solution

Real Code Camp is a mentoring platform “on the road” which means “on the move”.
We are attentive to the market and the changes that occur on a daily basis and our main focus is to encourage developers to develop technology for web 3.0 and web 4.0, so we will go through all branches of technology working with real projects.
Today there are thousands of issues open on github. Among these issues there are problems that pay for each solution. We at Real Code Camp help developers to contribute to the open source world and get paid for it. We believe that a more inclusive and participatory movement begins to transform the technology of the future once and for all.

#### Skills needed
Willingness to learn and share

#### Similar projects
Ironhack
AppAcademy
Bloc
freecodecamp
RocketSeat
Real Code Camp
learning code, teaching code and earn money
[Discord](http://bit.ly/DiscordRealCodeCamp) | [whitepaper](http://bit.ly/RealCodeCampVersion-01) | [Gitcoin — Grants](http://bit.ly/gitcoinRealCodeCamp) | [Gitcoin — Cadastro](http://bit.ly/gitcoinBRIT-UK)
Open Source Adventures With Gitcoin 🚀
Tags: blockchain, beginners, todayilearned, opensource
Published: 2020-03-03 19:45:44


I am grateful to have found Gitcoin. Gitcoin is on a mission to grow and sustain Open Source. Its mission is its north star, leading it to deliver impact. 

After a while of using Gitcoin, it became apparent to me that I was interacting with an open source platform where you can work on Web 3 and other blockchain led projects. I was excited by possibilities. 

As a newbie to Web3 and Ethereum, I have been able to gain deeper understanding of areas of decentralised technology that interest me. The platform has different products which are fun to use. There is a quest section which gives you quizzes to learn about decentralised technologies. 

There is also a bounty section which allows for one to contribute to awesome projects in the blockchain sector. 

Among other incredible feats, Gitcoin has been able to create better social networks where more incentives are given to bring us together. 

Gitcoin has been on a quest to BUIDL a better social network. It is building a place where social currency is scarce (Eth, not likes) and problems are solved not created. 

It is behind a decentralised movement that is redefining what it means to work and also making it easy to find work in software. 

On Gitcoin, incentives are aligned for the good of the users. It has core beliefs which shape the futures of its users:

😊 It believes ICO and tokenization is not the best business model for its decentralised application

😊 Gitcoin believes in open standards and fair protocols

😊 Blockchain is a game-changer for funding of Open-Source 

Over the past week, Gitcoin has been leveraging quadratic funding to fund public goods on the Gitcoin network. 

I also recently discovered the Gitcoin chat section. It is really awesome.Now, I have an additional source to learn about blockchain technology and also contribute to the progressive movement taking place on the web. My discovery took place a few days after I managed to complete my first task on the platform. It has given me more hope that some day I'll be able to contribute more to Open Source. 

For a while, I have been looking for a way to learn more about blockchain and also contribute more to the space and Open Source. I am grateful to have found Gitcoin.
How to use Hotjar JavaScript triggers on Angular
Tags: hotjar, angular, javascript, triggers
Published: 2020-03-03 19:30:02

JavaScript triggers are the most useful feature for using Hotjar HeatMaps in one page applications, because without that you can't create HeatMaps on dynamic content or modals, dropdowns, etc.
So i will show you how i made it work on an Angular project.
I'm making the assumption that you already have an Hotjar account and initialize a project.

# Include Hotjar in your project
First we need to include the tracking code in our `index.html`

```html
<!-- Hotjar Tracking Code for https://yourpage.com/ -->
<script>
   (function(h,o,t,j,a,r){
       h.hj = h.hj || function(){ ( h.hj.q = h.hj.q || []).push(arguments) };
       h._hjSettings = { hjid:xxxxxxx, hjsv:x };
       a = o.getElementsByTagName('head')[0];
       r = o.createElement('script'); r.async = 1;
       r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
       a.appendChild(r);
   })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
```
With that we already have the hj function on our window object.

# Hotjar Service
Now my goal was to make the access to the hj function reliable and mantainable across the Angular aplication, so i made a service:

```typescript
@Injectable()
export class HotjarService {
  public getInstance() {
    return window['hj'] = window['hj'] || this.getHotjarQueue(); 
  }

  public trigger(eventName: string) {
    try {
      this.getInstance()('trigger', eventName);
    } catch (err) {
      console.error(err);
    }
  }

  public vpv(url: string) {
    try {
      this.getInstance()('vpv', url);
    } catch (err) {
      console.error(err);
    }
  }

  private getHotjarQueue() {
    return function () {
      (window['hj']['q'] = window['hj']['q'] || []).push(arguments);
    };
  }
}
```
Here we have the `trigger` function that allows us to register a new HeatMap, and the `vpv` function that register a new virtual page. The `getInstance` and the `getHotjarQueue` expose the `window.hj` if available to the service.

# Conclusion
Making this little wrapper to the `windows.hj` we can make the use of Hotjar a lot more readable and mantainable in a big project. Using the function directly from the `window` object in frameworks as Angular is dangerous because of side effects and untraceable errors.
Javascript String primitives vs String objects.
Tags: javascripttips, webdev, javascript, frontenddev
Published: 2020-03-09 21:00:13

---
title: Javascript String primitives vs String objects.
published: true
date: 2020-03-03 19:06:01 UTC
tags: javascript-tips,web-development,javascript,front-end-developmen
canonical_url: 
---

[![](https://cdn-images-1.medium.com/max/1920/1*CCczdvxXblsLyeOzrQo6Yg.jpeg)](https://medium.com/@deeksha.sharma25/javascript-string-primitives-vs-string-objects-9e069f35a201?source=rss-4dc7d01b74e------2)

Learn about the difference between Javascript String primitives and String objects.

[Continue reading on Medium »](https://medium.com/@deeksha.sharma25/javascript-string-primitives-vs-string-objects-9e069f35a201?source=rss-4dc7d01b74e------2)
Questions about OOP , basics, OOPS?
Tags: csharp, help
Published: 2020-03-03 18:53:40

Hi guys!

I'm about to have a Personal Assessment Test on Thursday...Long story short:

They will ask me questions. I would like to get ready for it, and know most of it...

So, please post me questions about:

1.Object Oriented Programming

2.the basics (of c#)

3.Any questions you had to answer for an interview for example.


And if you can, please post the answers to the questions.
Team UI:-Call to Join Opensource Project : OSINT for Epidemics and Virus outbreaks like Corona Virus
Tags: css, javascript, php, angular
Published: 2020-03-03 18:47:40

**Team UI:** ***USER INTERFACE***

No. of backers required: 5-10 (senior level)
Mid level / Junior level : Open

Task: To draw user friendly UI for OSINT that will be used by Universities/ Medical Associations/ pharmaceuticals / governments and common people.

UI Requirements will be finalised in consultation with research labs / medical professors.

***About*** ----------- 

I am planning to bring some good developers, universities, research institutes  on board to develop an OSINT ( Open Source Intelligent System) for Human Race Health issues. Whatever your expertise, I believe you can contribute. 

Further, I am contacting different institutions for funding this open source project and help financially to  backers and developers involved in this project.

This project is opened in  Github Official Opensource repo.
{% github https://github.com/open-source-ideas/open-source-ideas/issues/227 %}

If you are on board, comment below that I am in . Lets create a core team who can visualize and answer various queries on github.
Blog Vent 2 (Actions & Outlets)
Tags: swift, actions, outletforoutlets
Published: 2020-03-03 18:40:42

This time around, I learned how to connect my code to the views and controls created in the storyboard so that they respond to user actions. There are two kinds of connections between storyboards and code; actions and outlets. Outlets connect variables in your code to objects in your storyboard in order to access those objects within your code and get information or make changes when the app is running. Actions connect controls like switches and buttons to methods in your code. I put this in to practice by building the color mix app. This app has a display screen at the upmost part of the screen. Below, three buttons and three sliders, each one assigned a color between red, blue and green. The display screen and sliders are outlets and the buttons are actions. As the button is pressed, the display screen will show the color associated with that button, the slider is the intensity of the color from min to max. The sliders can be in a number of positions and the buttons can be combined by only having blue and green on or red and blue, etc. After, I polished the interface and gave it a clean look. The background is silver, the buttons are black except when pressed, then they change accordingly to their color and the sliders color changes according to how much of the min/max is showing. 

I almost forgot; I also added a reset button that does exactly that. The buttons are enabled when the switch is on, otherwise they are nonfunctional.
Write More, Write Small
Tags: writing
Published: 2020-02-27 03:26:11

When I sit down to write a blog post, like this one for instance, I often struggle with getting started. It can feel daunting and overwhelming. The blank page stares back at me and the ideas, especially the starting point, feel out of reach.

> Getting something that is already written into another written piece is incomparably easier than assembling everything in your mind and retrieving it from there.
-[How to Take Smart Notes](https://twitter.com/jbrancha/status/1216126634563997698?s=20)

The point then is to not start with a blank page, but to always be writing. All that writing will build up into a repository of ideas. Ideas that can be turned into blog posts much more easily than some ephemeral thoughts. Blog posts in turn can be leveraged into courses and books.

Write more often and keep each bit of writing small and concise.

This is what I've done with [my TIL GitHub repo](https://github.com/jbranchaud/til). By keeping each post small and focused -- very narrow topics always under 200 words -- I've been able to skirt past the intimidation of standard blog posts. In a matter of years, I've published over 900 of these posts.

There are [all sorts of everyday opportunities](https://twitter.com/jbrancha/status/1215081271207976960) to keep your writing small and frequent. Beyond a TIL repo, you can keep a daily work log, exchange topical emails with a friend, and compile literature notes from books and articles you read.

Here is another suggestion from Ali Spittel:

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Okay I’ve been doing more twitter threads instead of blog posts and honestly they just feel so much lower pressure to me so they’re easier to put out. <br><br>I’m going to keep doing them with the goal of rewriting them as blog posts down the road.</p>&mdash; Ali Spittel 🐞 (@ASpittel) <a href="https://twitter.com/ASpittel/status/1215065585995874305?ref_src=twsrc%5Etfw">January 9, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

I have a goal of writing bigger and more impactful things. That has to start with writing more and writing small.
Top 5 DEV Comments from the Past Week
Tags: bestofdev
Published: 2020-03-03 18:22:34

---
title: Top 5 DEV Comments from the Past Week
published: true
description: Highlighting some of the best DEV comments from the past week.
tags: bestofdev
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7VrAA2ln--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/qmb5wkoeywj06pd7p8ku.png
---

This is a weekly roundup of awesome DEV comments that you may have missed.  You are welcome and encouraged to boost posts and comments yourself using the **[#bestofdev](/t/bestofdev)** tag.

@tylerlwsmith adds an additional tip to **[Like `console.log` But Better](https://dev.to/leirasanchez/like-console-log-but-better-nhm)**:
{% devcomment m2pf %}

@nmuta responds thoroughly to the prompt of **[Why would people hate React (or JSX), but not Vue SFC, or even Angular?](https://dev.to/patarapolw/why-would-people-hate-react-or-jsx-but-not-vue-sfc-or-even-angular-o4a)**:
{% devcomment m4a1 %}

@themobiledev resplies to **[10 reasons to choose Linux](https://dev.to/wolfiton/10-reasons-to-choose-linux-452o)** with their experience:
{% devcomment m1k3 %}

@peledzohar adds some helpful context as a follow-up reply to **[One minute tips : Less noise in SQL joins](https://dev.to/gokuldroid/one-minute-tips-less-noise-in-sql-joins-247k)**:
{% devcomment m1e2 %}

@elmuerte shares a number of great suggestions in **[What's on your reading list and why?](https://dev.to/jcowie/what-s-on-your-reading-list-and-why-fib)**:
{% devcomment m1eg %}

See you next week for more great comments ✌