teleren/devto huggingface dataset:
How to Setup Belkin N300 Range Extender?
Tags: belkinsetupn300, belkinrange, resetbelkinextender
Published: 2019-04-19 09:31:49

---
title: How to Setup Belkin N300 Range Extender?
published: True
description: Check out all information Relating How to setup Belkin N300 Or N600 Dual-band Range Extender.
tags: #BelkinSetupN300 #belkinrange #reset_Belkin_extender
---
1- Plug the range extender to the Power Outlet.

2-Open the Computer & refresh the network List to Find Belkin.setup Network & Connect With it.

3. Now Open the Browser & Type [https //belkin.range](https://fixingblog.com/how-to-setup-or-reset-the-belkin-range-extender/) & Press Enter

4- Follow the On-screen instructions to Select Your Main Router Name & Type the Existing wireless Password to Join the Extender With Router.

5- setup the password & Network name sapretley for Belkin extender if you want Or Just choose the same network Name with _xt.
save the settings & Restart the Extender. 

Hope this Works
My problem with React Hooks!
Published: 2019-04-19 08:20:00

---
title: My problem with React Hooks!
published: true
---
Hi,

Recently, I was writing a new electron app with react. I decided to write it using Hooks. From my experience, I found that hooks are great for the most part. There are however some issues with using it in certain cases. In such cases, I find using classes more useful.

The one pattern that I found very painful to code in Hooks is when I want to write a custom hook that is passed a callback which it needs to call on certain conditions. I have found that if this callback uses a state variable or more. For every update of the state of this variable, I will have to pass my new callback to the hook. 

This causes two issues. 
1. I have to remember every prop and state change that will be used by a function and write a useEffect hook to change the callback.

2. The callback might be used in a complicated way inside the hook and it might be a pain to update it again and again.

I don't know if that makes sense, so let me give you an example.

I have written a hook that is responsible for handling an eventsource and invoking a callback whenever it receives a message. Let's call this useEventSourceManager.
I like the idea of useEventSourceManager because it gives me the ability to refactor all eventSource management into one hook. 
Now, useEventSoucreManager is passed a callback "handleMessage" which is used to render ui for the new messages received.

My problem with hooks is basically that the following code won't work:

    const someFunction = props => {
      const [condition, setCondition] = useState(false);
      useEventSoureManager(...someProps, ...someStateVariable, handleMessage);
    
      some other code that will change state of condition variable

      function handleMessage(){
        if(condition){ do something...}
        else{ do something else...}
      }
    }

The above code doesn't work because the handleMessage instance passed to useEventSourceManager always has the state variable "condition" set to false.

Also, I get why this happens. And the way to get around is to refresh the callback function. What I trying to point out is that that same code is much easier to write in classes.
Visual Studio Conditional Breakpoints
Tags: csharp, tutorial, beginners
Published: 2019-06-18 15:14:47

---
title: Visual Studio Conditional Breakpoints
series: C# for Beginners
published: true
tags: csharp,tutorial,beginners
cover_image: https://wellsb.com/csharp/wp-content/uploads/sites/2/2019/04/beginners-breakpoints-featured-min.png
---

In this tutorial, you will learn about conditional breakpoints in Visual Studio. Breakpoints are an important debugging feature, and the Visual Studio IDE allows you to set up triggers on your breakpoints. A breakpoint is a debugging tool that allows you to pause the execution of your code at specific points. The most common type of breakpoint is one that will pause your program at a specific line...

[Source](https://wellsb.com/csharp/beginners/visual-studio-conditional-breakpoints/)
Try to imagine Laravel in the present, without adopting Vue.js in the past
Tags: laravel, php, vue
Published: 2019-04-19 07:48:33

---
title: Try to imagine Laravel in the present, without adopting Vue.js in the past
published: true
description: Laravel brought PHP into modern technology through Vue. I wonder :)
tags: laravel, php, vue
---

I'm using Laravel / Vue.js in my projects. This is definitely a winner. Vue.js is a rising star, and Laravel can easily cover all backend issues.


I wonder, without the Vuejs adoption, Laravel was following a downward path, like CodeIgniter & the gang?

Thanks
The Fast Track to Serverless Security on AWS
Tags: serverless, security, aws, devops
Published: 2019-04-19 03:56:48

---
title: The Fast Track to Serverless Security on AWS
published: true
description: 
tags: serverless, security, aws, devops
--- 

My AWS Security talk was popular and I was asked to do a Serverless Security talk for Serverless Toronto User Group and so here it is.



[![](https://thepracticaldev.s3.amazonaws.com/i/vv703gp9saxo6wkvfyxj.png)](https://www.youtube.com/watch?v=lERw93Vk0No)

[![](https://thepracticaldev.s3.amazonaws.com/i/hzfrknxqcedhlls428tq.png)](https://www.youtube.com/watch?v=lERw93Vk0No)

[![](https://thepracticaldev.s3.amazonaws.com/i/48vwpgdvnjoyz026j10a.png)](https://www.youtube.com/watch?v=lERw93Vk0No)

#### Referenced Resources
* [Serverless Toronto User Group](https://www.youtube.com/redirect?v=lERw93Vk0No&redir_token=gmC_-2-MKfVfKjnodpmJ-K1lim98MTU1NTczMTM0MkAxNTU1NjQ0OTQy&q=https%3A%2F%2Fwww.meetup.com%2FServerless-Toronto%2F&event=video_description)
* [OWASP Top 10](https://www.youtube.com/redirect?v=lERw93Vk0No&redir_token=gmC_-2-MKfVfKjnodpmJ-K1lim98MTU1NTczMTM0MkAxNTU1NjQ0OTQy&q=https%3A%2F%2Fwww.owasp.org%2Fimages%2F7%2F72%2FOWASP_Top_10-2017_%2528en%2529.pdf.pdf&event=video_description)
* [WAF AWS CloudFormation Template](https://www.youtube.com/redirect?v=lERw93Vk0No&redir_token=gmC_-2-MKfVfKjnodpmJ-K1lim98MTU1NTczMTM0MkAxNTU1NjQ0OTQy&q=https%3A%2F%2Fdocs.aws.amazon.com%2Fsolutions%2Flatest%2Faws-waf-security-automations%2Ftemplate.html&event=video_description)
* [PureSec](https://www.puresec.io/)
* [WhitePaper - Use AWS WAF to Mitigate OWASP’s Top 10 Web Application Vulnerabilities](https://www.youtube.com/redirect?v=lERw93Vk0No&redir_token=gmC_-2-MKfVfKjnodpmJ-K1lim98MTU1NTczMTM0MkAxNTU1NjQ0OTQy&q=https%3A%2F%2Fd0.awsstatic.com%2Fwhitepapers%2FSecurity%2Faws-waf-owasp.pdf&event=video_description)
* [Snyk - Scan 3rd Party Dependencies for Vulnerabilities](https://snyk.io/)
Blazor now in official preview!
Tags: dotnet, csharp, webdev, opensource
Published: 2019-04-19 07:40:41

---
title: Blazor now in official preview!
published: true
description: Blazor now in official preview!
tags: #dotnet, #csharp, #webdev, #opensource
---

Hi people, I've got some exciting news for all .NET enthusiast out there. Blazor, a component-based .NET framework is now in official preview!

See the [Official Announcement](https://devblogs.microsoft.com/aspnet/blazor-now-in-official-preview/)
Check out the [GitHub](https://github.com/aspnet/Blazor) repository
Check out the [documentation](https://dotnet.microsoft.com/apps/aspnet/web-apps/client)
Useful [links and tools](https://github.com/AdrienTorris/awesome-blazor)
feedback for speedle open source project
Tags: accesscontrol, security, authorization, opensource
Published: 2019-04-19 06:09:14

---
title: feedback for speedle open source project
published: true
description: 
tags: accesscontrol, security, authorization, opensource
---

Hi folks, 

recently we published an open source project for access control. It is hosted at https://github.com/oracle/speedle. Website: https://speedle.io, blog: https://blog.speedle.io

The project offers a user-friendly policy definition language called SPDL, policy management service, a highly efficient/scalable authorization decision service, and a commandline tool. Users can easily integrate their systems with Speedle. If you get a chance, can you help to review the project and/or try it out directly? Wanted to hear the feedback, especially criticism, from the community. 

Sorry for the interruption and have a nice day!
Did Functional Programming Get it Wrong?
Tags: monads, categorytheory, functional
Published: 2019-04-19 06:32:23

---
title: Did Functional Programming Get it Wrong?
published: true
description: Why do monads feel so clumsy?
tags: #monads #categorytheory #fp #functionalprogramming
---
If FP is based on such solid math, why does it feel so strange?

Isn't there a far more natural way to do this... that we already know?

Time to revisit category theory for some unexpected answers

More info here:
https://medium.com/@reinman/monoids-to-groupoids-492c35105113
AppEngine unit testing made easy with JUnit Rules
Tags: programming, appengine, java, junit
Published: 2019-04-19 06:23:05

---
title: AppEngine unit testing made easy with JUnit Rules
published: true
description: Setup test configurations for AppEngine services using JUnit Rules
tags: programming,appengine,java,junit
cover_image: https://cdn-images-1.medium.com/max/1600/1*V2EDFPlZSdQQSVyKn6I68w.png
---

If you are using AppEngine for hosting your application, then you will be using one or more of their services like Datastore, Memcache, TaskQueues, UserService, etc.

And you will be needing to write unit tests to make sure your application functionality is working as expected with these services. For that, you need to set up some configurations to test these services in your local environment.


[Read more...](https://medium.freecodecamp.org/appengine-unit-testing-made-easy-with-junit-rules-97c2127a161a)
Last Day - Engborg
Tags: selforganization, remote, culture, leadership
Published: 2019-04-19 05:18:00

---
title: Last Day - Engborg
published: true
description: It has been a crazy adventure taking the engineering department of a software first consultancy from day one zero revenue to a multi million dollar sustainable hard tech venture.
tags: self organization, remote, culture, leadership
cover_image: https://thepracticaldev.s3.amazonaws.com/i/r9pp1cuq51bkyibduzde.jpg
---

```
Collective of minds
Speak to one ear and all hear
We are single voice
```

# Servant Leadership - [First Day](https://dev.to/dev3l/first-day-at-skip-list-41d3)

A vision of technical excellence, autonomy, and service for the greater good

`A student of principles; an imperfect practitioner`

# Self Organization

When inverting the pyramid of power, those near the top act irrational
Human decisions in sake of legal, growth, and strategic partnerships

# Culture

"**Bad for culture**" is subjective to perspective

- Never was a single commitment missed in over a year
- Never was a command given for extra work
- Long term performance trends do not lie
- No one individual quit (or was left behind, until now)
- *Only order ever given was for one to slow down*

### Steward of Industry Trends

One time is a coincidence
Second time, a pattern?

- [Saw Time](https://dev.to/dev3l/we-call-it-saw-time)
- [Run the Business](https://dev.to/dev3l/we-call-it-run-the-business-42bc)

### Book Club #readingrainbow

- [Atomic Habits](https://trello.com/b/zJlYCl3w/bookclub-atomic-habits)
- [Deep Work](https://trello.com/b/LUgk3ypQ/bookclub-deep-work)
- [It Doesn't Have To Be Crazy At Work](https://trello.com/b/Pl5LeWES/bookclub-it-doesnt-have-to-be-crazy-at-work)
- Nine other books at OnShift **#mockingjaysalute**

![OnShift Book Club](https://thepracticaldev.s3.amazonaws.com/i/uwvpvah4zamt01shuzks.jpg)

# Free Agent

As of today I am a *free agent*
I have never had space between employers

It has been a crazy adventure taking the engineering department of a software first consultancy from day one zero revenue to a multi million dollar sustainable hard tech venture. I am grateful for the opportunity to make a thoughtful decision on the next big thing.

# Toxic?

- Is your time worth more than anyone else's?
- Do you embody and promote a growth mindset?
- Do you see (modern) agile leading a team to success?

I am a rebel by nature - there are no gray lines in these questions

# Principles

- **Mastery**, **Freedom**, and **Honor** are *my* motivations
- Obfuscation hurts
- I am crazy, not stupid
- Don't do anything I wouldn't do, *twice*

### Happy Cows

[Happy Cows Produce More Milk](https://www.scientistlive.com/content/happy-cows-produce-more-milk)
"A cow with a name produces more milk than one without..."

People work on the ground floor
When motivated, those individuals know how to the job better than anyone

# Next Steps

1. Spend a month tinkering
`don't tell tinker bell not to tinker`

2. I have ideas, I'll link a few here soon

3. Find a company (my own?) worth waking up in the morning for

#### Cheers to all the unsung hero's of the world!
Debugging Python applications (plus free cheat sheet)
Tags: python, debug, debugger, pdb
Published: 2019-04-19 09:18:21

---
title: Debugging Python applications (plus free cheat sheet)
published: true
tags: python,debug,debugger,pdb
canonical_url: https://flaviabastos.ca/2019/04/19/debugging-python-applications-plus-free-cheat-sheet/
---

My primary debugging tool is to add print statements to my programs</confession\_time>. Print statements are very easy to use and they work well for any simple scripts. But that’s the catch: if you’re debugging an application and/or a test file, print statements won’t be enough or will just not work (in the case if tests files).

For those cases, I find that _pdb_, the [debugger that is part of Python’s standard library](https://docs.python.org/3/library/pdb.html), is the next best thing: also very simple to use but gives you more insight on what’s going on in your program.

All you have to do is to invoke _pdb_ to enter in debug mode. It’s possible to either call the script with _pdb_ as in:

```
python3 -m pdb myscript.py
```

or call _pdb_ inside the script where you want to stop regular execution and start debugging – for python 3.6 and older:

```
import pdb; pdb.set_trace() # python 3.6 and older
```

Or for python 3.7 and up:

```
breakpoint() # python 3.7
```

When in debugging mode you have access to the _pbd_ console, where you can use _pdb_ commands (listed below) and also inspect your script – like printing variable contents, for example (just type the variable’s name in the console).

#### Example:

```
    number = '123456' total = 0 import pdb; pdb.set\_trace() for nb in number: total += int(nb)
```

In the short script above, once the debugger console is launched, you can hit ‘n’ to reach the next line, then type ‘nb’ to read its value at that point of execution.

Personally, the most used _pdb_ commands are the listed below but you can find the full list in the [official documentation](https://docs.python.org/3/library/pdb.html) or in [this free cheat sheet](https://drive.google.com/file/d/1TRhDf0XuImgCTgkwwviu0V4c7c-NfVHL/view?usp=sharing):

**s(tep)**: Execute the current line, stop at the first possible occasion

**c(ont(inue))**: Continue execution, only stop when a breakpoint is encountered.

**n(ext)**: Continue execution until the next line in the current function is reached or it returns

**r(eturn)**:  Continue execution until the current function returns.**q(uit)**: Quit from the debugger. The program being executed is aborted.

_The post_ [_Debugging Python applications (plus free cheat sheet)_](https://wp.me/pa0b0y-3n) _was originally published at_ [flaviabastos.ca](https://flaviabastos.ca/)
A community driven blog: Full-Stack With Benefits
Tags: showdev, javascript, react, gatsby
Published: 2019-04-19 04:45:28

---
title: A community driven blog: Full-Stack With Benefits
published: true
tags: showdev, javascript, react, gatsby
cover_image: https://repository-images.githubusercontent.com/168996701/4fdefc80-6220-11e9-9478-d950de64c690
---

There are a few words which can describe the feeling of accomplishment caused by placing the cornerstone of one of your products. 

My English is awful, so I really don't know any of them.

However, I am excited to share with you the first draft of my community driven blog: [Full-Stack with Benefits](https://withbenefits.dev).

## The Name

Well, there is no Rated R background, but it's still worth sharing the story.

Some months ago a new member of the Design Team joined the company I am currently working for. During the introductory round of presentations, someone was trying to explain what I do on a daily basis. We all agreed that full-stack was not enough, so Luke, a coworker of mine, came up with this title: full-stack with benefits.

## The history

This is the result of what I started sharing with you here

{% link https://dev.to/shikaan/being-your-own-product-owner-59de %}

A few things changed in the meantime. 

Since the bureaucracy I was introducing in the process I described in the other article was actually just slowing me down without any concrete benefit, I just decided to shave that off and think about an effective process if and only if I will start having steady collaborators.

The biggest change though has been the branding. As you might have noticed, the blog had to change name and pretty much all the design compared to what you have there, because apparently Coffee Driven Developer was not the most original name in the world. Try googling it to know why...

## The future

The Trello board I shared in the other article still holds true and actually hosts almost all the features I want to put into this product, as soon as I have time.

Content-wise, the blog is meant to be a bit wider spectrum compared to my contributions to the Dev community. Most probably I will write about other important things in my life as music, mathematics, travels and Badu, my dog. 

By the way, I am already mentioning Badu there. Did you spot her?

Code-wise, the idea is to keep the development of this product open and eventually turn it into a community: you can already contribute to the articles and to the features by submitting a PR here

{% github shikaan/full-stack-with-benefits %}

Next thing is the pipeline is writing proper documentation and contributions guideline, but in the meantime you can start digging into it.

## Conclusion

You can check out the blog [here](https://withbenefits.dev).

I guess this is it. I just want to thank in advance whomever will be spending some time browsing it and as always feel free to reach out should you have any suggestion.

Until next time!
Flask vs Django
Tags: python, webdev, django
Published: 2019-04-18 19:32:19

---
title: Flask vs Django
published: true
description: Flask and Django are popular Python web frameworks with some key differences. Learn about the differences, like how each framework handles forms, databases, and authentication. 
tags: python, webdev, django
canonical_url: https://kite.com/blog/python/flask-vs-django-python/
---

![Flask vs Django] (https://thepracticaldev.s3.amazonaws.com/i/360dq8z7m7rfqy7m47hr.jpg)

## Flask or Django?
According to the [2018 Python Developers Survey] (https://www.jetbrains.com/research/python-developers-survey-2018/), Flask and Django are, by far, the most popular web frameworks for Python developers. You’ll hardly go wrong with either framework if you’re deciding which one to use for a new web application. While it’s up to you to figure out which one works best for what you’re trying to accomplish, there’s a few major differences you should be aware of when making the decision. Regardless of which framework you end up using, both are very well documented and widely used, so they have ample active and supportive communities. So, without further ado, let’s take a look at what each framework offers and highlight some of their differences and similarities.


## TL;DR Flask vs Django Differences
Flask and Django are mature, extensible web frameworks that, at their core, offer similar functionality in handling requests and serving up documents, but differ in their scope of responsibility. Most of the differences between the 2 frameworks stem from this different approach although some also stem from some different core design decisions. Here is a short list of key differences that might impact your decision:
  * The Request Object - Flask uses thread-locals while Django passes the request around where it’s needed.
  * Forms - Django comes with them built-in and they integrate with the ORM and the admin site. Flask has no default support for forms, but you can use WTForms to fill the gap.
  * The Database - Django comes with the Django ORM and a migration system that wants to manage your database. Flask makes no assumptions about a database, but there are tools out there, like SQLAlchemy that provide similar functionality (perhaps more).
  * Authentication & Permissions - Django comes with an authentication app that gives a default implementation for user management and permissions. Flask provides secure cookies as a tool for your own implementation.
  * Admin Site - Django comes with a fully integrated admin interface for managing application data. Flask doesn’t come with anything like it, but Flask-Admin is a popular extension that can be used to create a similar admin tool.


Read more [on the Kite blog] (https://kite.com/blog/python/flask-vs-django-python)!
Should I Get a Master's Degree in Computer Science?
Published: 2019-04-18 23:22:35

---
title: Should I Get a Master's Degree in Computer Science?
published: true
description: Bobby Davis weighs in on Ali Spittel's decision to pursue an MS in CS.
tags: 
---

Ali Spittel wrote on Twitter:

{% twitter 1117955327180386306 %}


[Bobby Davis](http://coderfoundry.com) shared a story of when he wanted to get a Master's degree in Computer Science, even though he owned three software companies.

He warns that his advice to Ali is different for aspiring developers.

{% youtube WYu_EERJwAs %}
Study of Programming Languages Not to Learn in 2019
Tags: language, ruby, elixir, erlang
Published: 2019-04-18 23:19:56

---
title: Study of Programming Languages Not to Learn in 2019
published: true
description: 
tags: language, ruby, elixir, erlang
---

Ruby rank #18，Elixir #7， Erlang #3

![](https://process.filestackapi.com/cache=expiry:max/NUTYOay0RiC1KTztmkNn)

What does tech stacks mean in following pic?

![](https://process.filestackapi.com/cache=expiry:max/AScGwzg7RRi49Fojljbv)

[-->link](https://www.codementor.io/blog/worst-languages-2019-6mvbfg3w9x)