teleren/devto huggingface dataset:
Suggest funny development related comic strips!
Tags: comics, development, fun
Published: 2017-11-06 18:58:41

---
title: Suggest funny development related comic strips!
published: true
description: Need to find funny dev comics
tags: comics, development, fun
---

Sometimes you need to switch off your brain and relax... view some dev related comic strips for example. I happend to see a funny comics created by [Toggl](https://toggl.com) team member Mart Virkus.

https://blog.toggl.com/world-created-programmer
![If The World Was Created By A Programmer](https://blog.toggl.com/wp-content/uploads/2017/10/toggl-if-the-world-was-created-by-a-programmer.jpg) *You can find links to his other comics below the blog post (link above).*

I also know [xkcd](https://xkcd.com) (not just dev related).


Anything else? Suggestions?
Speed up SQLite with Write-Ahead Logging (WAL)
Tags: sqlite, database
Published: 2017-11-06 17:07:13

---
title: Speed up SQLite with Write-Ahead Logging (WAL)
published: true
description: Make SQLite work even better for you by speeding it up using write-ahead logging.
tags: sqlite, database
---

When you update a [SQLite](https://www.sqlite.org) Database within a transaction, the standard behavior is that the original data is copied to a separate rollback file and the new data is written directly to the DB file. This is reliable, but it results in two disk writes for every DB change. When you COMMIT, the rollback file is removed since it is no longer needed. Should you instead ROLLBACK, then the data is restored to the DB file from the rollback file.

To make SQLite even faster you can enable a feature called Write-Ahead Logging (aka WAL). WAL can be faster because it reverses the behavior described above. With WAL, instead of modifying the DB file itself and maintaining a separate rollback file, each change to the SQLite Database is written to a separate "write-ahead logging file" (which typically ends in "-wal"). This results in just a single disk write.

Additionally, because of the separate files, an app with multiple threads is able to read from the DB while it is being written to. And vice versa. This is an especially nice benefit for web apps that need a DB, but do not require a full-featured database server.

To enable WAL, you can use the SQLite Pragma command:

    PRAGMA journal_mode=WAL;

In [Xojo](http://www.xojo.com) code, you send the Pragma command to the SQLite DB using the SQLExecute method:

    DB.SQLExecute("PRAGMA journal_mode=WAL;")

Or more simply you can set the SQLiteDatabase.MultiUser property to True:

    DB.MultiUser = True

The data in the separate WAL file will at some point have to be transferred back to the original database. This is called a "checkpoint". You can do these manually or let SQLite handle them automatically, which [according to the SQLite docs](https://www.sqlite.org/wal.html) happens when the WAL file reaches a threshold of 1000 pages.

You can manually initiate a checkpoint using the wal_checkpoint Pragma command:

    PRAGMA schema.wal_checkpoint;

In Xojo code, you can send this Pragma command to the DB using the SQLExecute method:

    DB.SQLExecute("PRAGMA schema.wal_checkpoint;")

There are downsides to using WAL. Performance for reads can suffer when there is a large WAL file because data has to be searched in two places. The [official SQLite docs on WAL](https://www.sqlite.org/wal.html) also list some of the other downsides.

But for most types of usage, WAL is worth using. Try it with your apps to see if they get a benefit.

*This article original appeared here: [SQLite Write-Ahead Logging](http://developer.xojo.com/userguide/sqlite-write-ahead-logging)*
Giving context - a small thing that can make a big difference
Tags: meeting
Published: 2017-11-06 17:06:30

---
title: Giving context - a small thing that can make a big difference
published: true
description: 
tags: meeting, 
---
For those of you in management roles, I'd like to recommend a small tip:

> Any time you want to talk to someone, give some context for what the discussion will be about.

This holds true for in-person conversations as well as Email, Slack, scheduled meeting invites, or whatever other communication mediums you use.  (If it a meeting invite, you really should be providing even more context in the form of an agenda!)

This little bit of context can make the difference between someone waiting in fear for the discussion, or putting someone at ease.

For example, rather than saying "Hey Anne, can I talk to you?" say "Hey Anne, can I talk to you about that last pull request you created?" or "Hey Anne, I have a question for you about that last pull request.  Got a minute to talk about it?".  Adding that little bit of context can really help put people at ease - especially for anyone who has ever been let go from a job.  I'd say that a majority of developers that I've worked with are easily spooked by an ominous sounding "I want to talk to you", especially if it comes from someone up the management tree.  Consider it to be proper etiquette for engaging in a conversation, no matter the medium.
Kitchen-Sink-As-A-Service
Tags: iot, discuss, cloud
Published: 2017-11-06 16:21:02

---
title: Kitchen-Sink-As-A-Service
published: true
description: Does cloud and the IOT will make our toasters or fridges have a dashboard in order for them to work?
tags: IOT, discuss, cloud
---

Or KSaaS alternatively. Name it whatever you want.

I was just wondering the other day, in the era of cloud computing, machine learning and the IOT its possible to hook your kitchen appliances and develop a dashboard to control it via the cloud. You can make all sorts of crazy control engineering scenarios. It's not rocket science any more.

I'd love to hear your thoughts about this. Will your toaster really need its own Cloud dashboard?
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2017-11-06 13:17:05

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xsr1z6iqv0pd7p3s6ns3.png
---

#1. The _tada_ moment

From task management software to pen & paper, nothing kept JoÃ£o organized until he realized that he could use GitHub in his personal life, too!

{% link https://dev.to/und0ck3d/organizing-your-life-using-github-6an %}

#2. You only have so much room to sell yourself ðŸ’°

Kim shares seven tips to level up your resume.

{% link https://dev.to/kimberlypilbeam/resum-4eg %}

#3. Ask Jess Lee, Anything!

We had an AMA with Jess Lee, one of the co-founders of dev.to -- she shares her nontraditional journey into tech along with some new features she's excited about.

{% link https://dev.to/jess/im-a-co-founder-of-devto-this-website-ask-me-anything-6om %}


#4. What's redux?

Aurel defines redux and shares a single page app tutorial using vanilla JavaScript (and redux), so we can really understand how it all works. 

{% link https://dev.to/aurelkurtula/introduction-to-redux-1g3 %}


#5. What's fast, typeless, cross-platform, and more?!

SQLite. In this post, Paul tells us why we should all be using SQLite.

{% link https://dev.to/lefebvre/sqlite-rocks-and-heres-why-6ch %}

#6. You are not so smart.

Max reminds us that our minds are limited and shares the benefits of note taking.

{% link https://dev.to/maxwell_dev/takes-notes-on-everything-3io %}

#7. Here to stay

If you thought mainframes were in the past, you're wrong. Adam shares his perspective on why mainframes are here to stay.

{% link https://dev.to/adambrandizzi/the-surprising-longevity-of-mainframes-57e %}

_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
Book Recommendations
Tags: programming
Published: 2017-11-06 13:16:39

---
title: Book Recommendations
published: true
description: Books related to software development.
tags: programming
---

Here are some books that I highly recommend.

For C++, there is the curated list on StackOverflow:  [The Definitive C++ Book Guide and List](https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list).  Nothing I could add to that list, or take away.

For JavaScript (ES6), I've been out of the loop too long.  I suspect books like [Eloquent JavaScript](http://eloquentjavascript.net/) and [JavaScript: The Good Parts](http://shop.oreilly.com/product/9780596517748.do) are out of date, but I found them to be a great help back in the day.

For F#, I've read about a dozen books on the topic.  Only *one* book have I found to be useful so far:
* [The Book of F#](https://www.amazon.com/dp/1593275528), by Dave Fancher, a fantastically fabulous book
* disclaimer: I haven't read "Expert F# 4.0" yet, which I hope and expect will be good, even if the reviews call it "preachy"

For agile, I've really enjoyed these books:
* [The Scrum Guide](https://www.scrum.org/resources/scrum-guide), by Schwaber and Sutherland, is nice, very short, definitive, and free (PDF)
* [Succeeding With Agile](https://www.mountaingoatsoftware.com/books/succeeding-with-agile-software-development-using-scrum), by Mike Cohn, is a "must have" book for agile
* [How To Implement Scrum in 10 Easy Steps](https://www.101ways.com/how-to-implement-scrum-in-10-easy-steps/), by Kelly Waters, is an online *article*, but I'd be remiss if I didn't call it out here.  Scrum really is that simple... *in theory*.

For general development, I have these heavily dog-eared books on my top shelf:
* [Writing Solid Code](https://www.amazon.com/dp/1570740550), by Steve Maguire
* [Code Complete](https://www.amazon.com/dp/0735619670), by Steve McConnell
* [Clean Code](https://www.amazon.com/dp/0132350882), by Robert C. Martin
* [Design Patterns](https://www.amazon.com/dp/0201633612), by Gamma, Helm, Johnson, and Vlissides
* [AntiPatterns](https://www.amazon.com/dp/0471197130), by Brown, Malveau, McCormick, and Mowbray

On my short queue of books to read that have been highly recommended to me:
* [Refactoring](https://www.amazon.com/dp/0201485672), by Martin Fowler, et al
* [The Pragmatic Programmer](https://www.amazon.com/dp/020161622X), by Hunt and Thomas
* [Growing Object-Oriented Software, Guided by Tests](https://www.amazon.com/dp/0321503627), by Freeman and Pryce

**What are some book recommendations you would like to share?**
Think, plan THEN code!
Published: 2017-11-06 13:03:52

---
title: Think, plan THEN code!
published: true
description: 
tags: 
---

If you have a professional experience of a few years, you might think that you’ll be able to comfortably start a project from scratch, investing in your own skills to reach the desired results.

Maybe you’d think you’d even have no problems developping a project with new programming language counting on your sheer will and experience. Maybe you can but it won’t be easy. No matter how willing you are, nothing tops a good planning before initiating the developing phase of the project.

I know the feeling, when you jump straight to the programming phase because you can imagine the idea clearly in your mind, but it’s not too late that problems start to appear making it hard to tell what exactly should be the right step. So it is obviously better to have a good plan from the start.

Having a plan at the beginning does not mean that you need to think about the whole framework or scenario, but having a more or less clear idea at an early stage is a must. It allows you to predict the possible complications and makes you feel comfortable as you progress in the project.
MinGW pronunciation
Tags: discuss, beginners, funny
Published: 2017-11-06 12:40:35

---
title: MinGW pronunciation 
published: true
tags: discuss, beginner, funny
---

This week, we started talking about C++ in my school.
I did write a few lines in C++ before but it was all on my own and I never had to speak about it with someone unless it was by written exchanges.

The problem is that between students, teachers and internet, there are a lot of different pronunciations for `mingw` (as [gif] and [jif] I suppose).

If there is any C++ dev who read this post, what is the "correct" way to pronounce it?
Should I dive deep into blockchain and ethereum development? I'm thinking of Machine Learning vs Blockchain
Tags: discuss
Published: 2017-11-06 11:57:23

---
title: Should I dive deep into blockchain and ethereum development? I'm thinking of Machine Learning vs Blockchain
published: true
tags: discuss
---

I believe blockchain is not just a hype, yet another language. It's a long lasting trend emerging to bring up new disruptive tech stack. I wanted to study python,android etc. I'm 27 and need to specialize finally! I realize finally - I can't know a bit of everything and know nothing in depth.

What is ur opinion of blockchain as a career? Is it worth it to dive & invest heavily into it?
🖐️ Hi, I'm Brett
Tags: hello, introduction, bio, whoami
Published: 2017-11-06 08:21:05

---
title: ðŸ–ï¸ Hi, I'm Brett
published: true
description: 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/bmarqq1776fu4uhul628.jpg
tags: hello, introduction, bio, whoami
---


Hi, my name is Brett and I'm a Computer Science student and Open-source developer with a passion for design and a propensity for run-on sentences.
After spending the last couple weeks enjoying the community and contents of this site I've stumbling upon a few introduction posts, so I figured that writing my own introduction would be a good start.
While I was first introduced to programming using Java and C++, my perpetual curiosity has since led me to explore Python, Lua, Perl, and most recently Javascript. More specifically, I've recently been exploring the capabilities of Node.js and creating cross-platform desktop applications using Javascript. This has led to my most recent project, [Hyde](http://brettstevenson.io/Hyde), a markdown editor that aims to improve the accessibility of creating beautiful markdown documents for developers and non-developers, alike.

I'm always interested in talking to other developers and collaborating or contributing to new projects, so feel free to contact me on any of the following platforms if you're interested in working together or just want to say hi!
  

[Website](http://brettstevenson.io/) â€Œâ€¢ [GitHub](https://github.com/JonSn0w) â€Œâ€¢ [Twitter](https://twitter.com/bstevensondev) â€Œâ€¢ [deviantArt](https://bstevenson.deviantart.com/gallery/)
SQL with Visual Studio Code
Tags: softwaredevelopment, code, database, development
Published: 2020-01-27 22:16:02

---
title: SQL with Visual Studio Code
published: true
date: 2017-11-06 08:00:34 UTC
tags: Software Development,code,database,development
canonical_url: https://www.funkysi1701.com/2017/11/06/sql-visual-studio-code/
---

Writing SQL queries is typically done with SQL Management Studio (SSMS). However this tool is a bit of a beast so let’s look at how you could use Visual Studio Code instead.

Visual Studio Code is a free text editor but it is so much more than just a text editor. VS Code can be downloaded from [https://code.visualstudio.com/Download](https://code.visualstudio.com/Download)

To work with SQL Server download the mssql extension. Press  **CTRL+SHIFT+P** and then Select  **Install Extension**  and type  **mssql**.

Intellisense in Visual Studio Code is brilliant, better than SSMS. Lets look at how to get it all set up.

Create a new file and set the language type to SQL (Press  **CTRL+K,M** )

Open the command palette, **CTRL+SHIFT+P ** and type SQL to show the mssql commands. Select the Connect command.

Then select **Create Connection Profile** , this creates a profile to connect with your SQL Server. Follow the prompts to get it all setup.

Look in the bottom right corner of the status bar and you should see you are connected.

Now if you type sql you will see a long list of SQL code snippets that you could use.

![](https://i1.wp.com/www.funkysi1701.com/wp-content/uploads/2017/11/vscode-sql-snippets.png?resize=662%2C348&ssl=1)

Choose a snippet to create, and edit it as required. When you are happy press  **CTRL+SHIFT+E ** to execute.

This is basically all there is to it. However this is an incredibly powerful way of working, the intellisense instantly tells you what database objects you can use in your query and there is a wealth of different snippets you can use.

When returning data you get a similar view to SSMS but you can save as Excel, CSV or JSON.

SSMS is a very graphical way of doing things, you can double click a table and see its columns or indexes. VS Code relies on TSQL commands but you have access to exactly the same information.

For more information about VS Code and the mssql extension check out [https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-develop-use-vscode](https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-develop-use-vscode)

The post [SQL with Visual Studio Code](https://www.funkysi1701.com/2017/11/06/sql-visual-studio-code/) appeared first on [Funky Si's Tech Talk](https://www.funkysi1701.com).
What do you think of Open Source Sustainability?
Tags: opensource, sustainability, discuss
Published: 2017-11-06 05:48:40

---
title: What do you think of Open Source Sustainability?
published: true
description: Open Source Sustainability
tags: opensource, sustainability, discuss
---

First of all, thanks to all the people who've made OSS possible. The fact that development is easier today is thanks to the years of efforts that you've put into making this possible. 

In the recent past, I've been researching the various ways that OSS projects try to achieve sustainability. I've realized it means different things to different people. To some, it means that they can quit their full-time job and support their families through their work on OSS. To others, it just means continuity of the project after their eventual burn-out or disinterest. 

Time and again, I've also heard that funding is the biggest source of pain for OSS projects. Initiatives like Patreon, OpenCollective, BountySource etc seem to be the main platforms that are leveraged to raise funding.

I'd love to hear from the community and especially OSS maintainers, how they think of this? If you've raised some funds, how'd you go about it? How was Patreon or OpenCollective?
Obtaining immutable operations with native ES6 function.
Tags: javascript, datastructures
Published: 2017-11-06 04:49:38

---
title: Obtaining immutable operations with native ES6 function.
published: true
description: 
tags: JavaScript, Data Structures
---

Mostly we write programs that deal with changing data.The way we change values of variables can lead to unexpected bugs in a software project. If you are dealing with primitive data types then there is no need to worry. In cases where you are working with referential data types, then care must be taken to avoid unnecessary bugs. 
Let's look at the code below:

{% gist https://gist.github.com/OMENSAH/8bd883b43ecdd33bca336aa0abc93414 %}

From the above code, b references a primitive value. We then assign c to the same value as b. The value of c was change and it did not affect that of b because both are primitive types and changes affect the values.

Unlike variable m and n.  we assign m to n and the change made to n affects m. This is because arrays are non-primitive hence they are copied to the same reference object, so changes will affect each other. 

You might want to have a copy of m for n and we can change one without affecting the other. Some solutions like using immutable data structures created by Immutable.js or using JavaScript libraries such as Underscore and Lodash to execute immutable operations.

ES6 brings on board native functions to execute immutable operations and that is the solution we will use to solve the mutability issue of object assignments.

{% gist https://gist.github.com/OMENSAH/47be20ce019130ea8751f2063a157828 %}


NB: Please Read and critique on how the article can be made better.
Adopting Kotlin: Udacity Engineering
Tags: android, kotlin
Published: 2017-11-06 02:56:42

---
title: "Adopting Kotlin: Udacity Engineering"
published: true
description: "See how we've been using Kotlin for Android development on the mobile team Udacity"
tags: Android, Kotlin
---

See how we've been using Kotlin for Android development on the mobile team Udacity
https://engineering.udacity.com/adopting-kotlin-c12f10fd85d1


---
I love to talk Android, tech, or geekery, so if you have feedback or want to chat you can follow me on [Twitter](https://twitter.com/n8ebel), here on [dev.to](https://dev.to/n8ebel), or check out [my blog](www.n8ebel.com).
Hey!  I'm Nate
Tags: introduction
Published: 2017-11-06 02:49:45

---
title: Hey!  I'm Nate
published: true
description: 
tags: introduction
---

I'm currently an Android Developer at **Udacity**.

I've been working with the Android platform since version 2.2

I live in **Seattle**

You can find me on online as @n8ebel: [Twitter](https://twitter.com/n8ebel?lang=en), [GitHub](https://github.com/n8ebel), [My Blog](https://n8ebel.com/)


Looking forward to sharing & learning ðŸ™‚
I'm glad I'm not doing hardware
Tags: programming
Published: 2017-11-06 01:54:16

---
title: I'm glad I'm not doing hardware
published: true
description: As hard as software is...
tags: programming
canonical_url: https://listed.standardnotes.org/@mo/292/i-m-glad-i-m-not-doing-hardware
---

Anyone who builds software knows how hard it is. I'm referring not to the initial building of software—that's the easy part. What's hard is actually keeping software afloat and healthy for long periods of time, while making it work for millions of people with thousands of different environments.

I've recently been trying to debug a certain race condition that has been driving me absolutely mad. Doing so has lead me into a mysterious world which I thought I knew like my own name; after all, it made perfect sense while I was building it. In trying to track down this issue, I've encountered areas of code that question my sanity. But, this is code, and we constantly transcend ourselves with every passing look-over. It's how we get better. And—not to worry; just fix and deploy with seamless OTA updates.

Hardware, on the other hand? Now that looks tough. I know very little of the hardware world. In this world, you'd be battling constantly not with a user's machine environment, but with non-negotiable physics. And if, after spending millions or billions of dollars, you find there's a defect, you can't just deploy a hotfix. You now have millions of complicated devices that will need human servicing in order to repair.

However hard software is, I can only imagine hardware is 100x more difficult.

And if you're like Apple who builds some of the most complex pieces of hardware *and* software, then god speed. Your fate with entropy awaits.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Higher than usual failure rate in my Twitter feed this year; three nonworking front cameras, two non-working touchscreens. Bleeding edge. <a href="https://t.co/O2UxezFx9Y">https://t.co/O2UxezFx9Y</a></p>&mdash; Steve T-S (@stroughtonsmith) <a href="https://twitter.com/stroughtonsmith/status/926843394479067136?ref_src=twsrc%5Etfw">November 4, 2017</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

---

_I try to write frequently on the topic of building a business as a developer, and other random musings. You can follow along on [Twitter](https://twitter.com/bitario)._
Should you learn more than one language at the same time?
Tags: learning, career, begginers, discuss
Published: 2017-11-06 01:51:42

---
title: Should you learn more than one language at the same time?
published: true
description: 
tags: #learning #career #begginers #discussion
---

After a period of inactive code learning or practicing, I achieved to spare some time of my day to get back on track. 

The thing is that I've always learned one programming language at a time but, would you find it bad or inefficient to learn more than one simultaneously? And by "simultaneously" I mean, for example, one day for JavaScript, next day is for PHP, next day for Python, and so on...