teleren/devto huggingface dataset:
Using GitHub as a Flat Data Store and AWS Lambda to Update it
Tags: python, javascript, aws, lambda
Published: 2019-07-05 03:25:46

---
title: Using GitHub as a Flat Data Store and AWS Lambda to Update it
published: true
tags: python, javascript, aws, lambda
canonical_url: https://tryexceptpass.org/article/using-github-as-flat-data-store/
cover_image: https://tryexceptpass.org/article/using-github-as-flat-data-store/
---

I spend most of my day, every day, knee deep in code. Optimizing, building, fixing and thinking through workflows can be taxing. This means that the last thing I want to do when I come home is deal with _more_ programming. But I also like learning new things and communicating my experiences so they can help others. I do that through the posts in this website.

Maintaining a web presence without dealing with code means you get to use as many off-the-shelf components as possible. You consider things like WordPress or static site generators that let you concentrate on content, while handling the user interface for you. Write in markdown, build the website, rinse repeat with updates. It’s all very easy, until you need a little more interactivity, like a comments section, or a newsletter signup.

[Read on ...](https://tryexceptpass.org/article/using-github-as-flat-data-store/)
Fanbot Needs Your Quirky Compliments
Tags: discuss, python, wholesome, showdev
Published: 2018-01-05 03:31:40

---
title: Fanbot Needs Your Quirky Compliments
published: true
description: I have a twitter bot that tweets compliments at my brother because he is a good boy.  Help me, help it, help him!
tags: discuss, python, wholesome, showdev
cover_image: https://thepracticaldev.s3.amazonaws.com/i/lp2ixogsn4wa3puy5hdg.png
---

Hi!  I created [Fanbot](https://github.com/rpalo/fanbot), who is a twitter bot to tweet compliments at people.  Specifically, I created [this particular fanbot](https://twitter.com/TylersPositive) to tweet compliments at my brother.

![Brother's headshot](https://thepracticaldev.s3.amazonaws.com/i/6s7svghbmdbge2dngs3a.jpg)

*Look at that smolder.*

This is my brother.  [He's a theatre actor!](https://twitter.com/Tpaylo)  A good one!  But he has lots of stress.  So I made the bot to tweet compliments at him so he wouldn't forget that he is good at things.  Here's the catch.

 > I only preloaded the bot with ~300 compliments.

It's been about 6 months or so since my last commit, and we're starting to get repeat compliments, so I wanted to ask you all to help me add some.  I'm specifically looking for compliments that are just a little odd.  Here are some of my favorites, to get your creative juices flowing.

{% twitter 948503837781803008 %}

{% twitter 946329330371592192 %}

{% twitter 937636426488803328 %}

Go ahead and leave them in the comments if you want.  If you've never contributed to open source before and are hesitant to do so because you don't know what to contribute to, I would love to have you [submit your suggestions by creating a pull request!](https://github.com/rpalo/fanbot/pulls)  If you're not sure how or need some help (or just want to chat), [my DM's are open](https://twitter.com/paytastic).  😬

A couple of caveats:

 1. Let's keep it PG.  My mom follows this bot, okay?
 2. Depending on how many ideas people have, I may have to get choosy, so don't feel bad.  I'll keep track of all of the submissions as candidates for the next round.

Thanks again!
Explore Bucharest -- Dorobanti And Victoriei
Tags: bucharest, explore, dorobanti, victoriei
Published: 2019-01-20 15:22:09

---
title: Explore Bucharest -- Dorobanti And Victoriei
published: true
tags: bucharest,explore,dorobanti,victoriei
canonical_url: https://horia141.com/explore-bucharest-dorobanti-victoriei.html
---

![Dorobanti And Victoriei 1](https://horia141.com/assets/dorobanti-victoriei-1.jpg)

![Dorobanti And Victoriei 2](https://horia141.com/assets/dorobanti-victoriei-2.jpg)

![Dorobanti And Victoriei 3](https://horia141.com/assets/dorobanti-victoriei-3.jpg)

![Dorobanti And Victoriei 4](https://horia141.com/assets/dorobanti-victoriei-4.jpg)

![Dorobanti And Victoriei 5](https://horia141.com/assets/dorobanti-victoriei-5.jpg)

![Dorobanti And Victoriei 6](https://horia141.com/assets/dorobanti-victoriei-6.jpg)

![Dorobanti And Victoriei 7](https://horia141.com/assets/dorobanti-victoriei-7.jpg)

![Dorobanti And Victoriei 8](https://horia141.com/assets/dorobanti-victoriei-8.jpg)

![Dorobanti And Victoriei 9](https://horia141.com/assets/dorobanti-victoriei-9.jpg)

![Dorobanti And Victoriei 10](https://horia141.com/assets/dorobanti-victoriei-10.jpg)

![Dorobanti And Victoriei 11](https://horia141.com/assets/dorobanti-victoriei-11.jpg)

![Dorobanti And Victoriei 12](https://horia141.com/assets/dorobanti-victoriei-12.jpg)

![Dorobanti And Victoriei 13](https://horia141.com/assets/dorobanti-victoriei-13.jpg)
Explore Bucharest -- Cismigiu
Tags: bucharest, explore, cismigiu, post
Published: 2019-01-20 15:22:06

---
title: Explore Bucharest -- Cismigiu
published: true
tags: bucharest,explore,cismigiu,post
canonical_url: https://horia141.com/explore-bucharest-cismigiu.html
---

![Cismigiu 1](https://horia141.com/assets/cismigiu-1.jpg)

![Cismigiu 2](https://horia141.com/assets/cismigiu-2.jpg)

![Cismigiu 3](https://horia141.com/assets/cismigiu-3.jpg)

![Cismigiu 4](https://horia141.com/assets/cismigiu-4.jpg)

![Cismigiu 5](https://horia141.com/assets/cismigiu-5.jpg)
Milestone anniversary
Tags: life, anniversary, married, megan
Published: 2018-01-05 18:26:00

---
title: "Milestone anniversary"
published: true
tags: Life,anniversary,married,Megan
canonical_url: http://www.heidiwaterhouse.com/2018/01/04/milestone-anniversary/
---

We’ve been married 20 years today!

![Megan kissing Heidi on the cheek](http://www.heidiwaterhouse.com/wp-content/uploads/2018/01/smooch-225x300.jpg)

My wife and I got married on a snowy January day, 20 years ago. We were young, and broke, and hopeful. It turns out, our hope was justified. Here are a few of our accomplishments:

- We still enjoy being married to each other
- One bachelor’s degree for each of us
- Two amazing kids
- 2 cross-country moves and 6 local moves
- Resolved arguments about blankets, computers, keyboards, money, parenting, and when to open Christmas presents
- Supported each other through good and bad jobs, injuries, illnesses, and movies that really should have been better

I’m looking forward to at least as many good years in the future.

I love you, Megan!
Announcing Rust 1.23
Tags: news, rust
Published: 2018-01-04 18:09:13

---
title: Announcing Rust 1.23
published: true
description: Rust 1.23 is out!
tags: news,rust
---

To update, run `rustup update stable`.

* `rustc` avoids unnecessary memory copies in certain situations `->` 5-10% less memory usage
* CommonMark for `rustdoc`
* http://doc.crates.io `->` https://doc.rust-lang.org/cargo
* `std::ascii::AsciiExt` is deprecated because methods of the trait are directly defined for `u8`, `char`, `[u8]`, and `str`
* Atomic types implement `::From` their non-atomic types, e.g.: `let x = AtomicBool::From(true)`
* [`()` now implements `FromIterator<()>`](https://github.com/rust-lang/rust/pull/45379)
* [RwLock<T> has had its Send restriction lifted](https://github.com/rust-lang/rust/pull/45682)
* [`cargo check` can check your unit tests](https://github.com/rust-lang/cargo/pull/4592)
* [`cargo uninstall` can now uninstall more than one package in one command](https://github.com/rust-lang/cargo/pull/4561)


https://blog.rust-lang.org/2018/01/04/Rust-1.23.html
There's no such thing as app ideas
Tags: startup, marketing
Published: 2018-01-04 17:30:02

---
title: There's no such thing as app ideas
published: true
description: Here's what you can say the next time someone tells you they have an app idea.
tags: startup, marketing
canonical_url: https://listed.standardnotes.org/@mo/682/there-s-no-such-thing-as-app-ideas
---

I realize that most people are distracted by cryptocurrencies to be bothered to think about _app ideas_ anymore, but I still get the occasional “hey, I have an app idea!” from the casual layman, be it at a family dinner or reunion of friends. Of course, out of sheer dumb curiosity, I’ll say, “what is it?”, but I’m finding it might be time to start telling these people the truth:

There is no such thing as app ideas.

It’s a fable. A fantasy. A story passed down from generation to generation. That all you need is an app idea. And fate handles the rest.

\*Leans into mic\* _Wrong._

App ideas are not a thing anymore. When you think “app idea” you hear $$$$$, but try rephrasing it as such and see if you’re still interested: “I’ve identified a gap in the market, and believe I am uniquely suited to build a solution. I am willing to spend the next 5-10 years of my life slaving completely in the dark to build this product, and no matter how difficult it gets (it will get difficult), I will not give up. I realize that the product I build at first will probably suck, and will not be what customers want, so I will spend the next several years painstakingly refining it, talking to customers, poring through books, consulting with experts, all while confessing that I had no idea how difficult this was going to be. I’ve also accounted for the financial costs associated with building an app business, and am ready to quit my full-time job when needed to focus full time on this endeavor. Here is my product, here is the problem it solves, here is the market, and here is how I plan to acquire customers.”

Not so sexy now, is it?

How 'bout that Ripple? Been goin up like crazy.

_P.S. I wrote a follow up here that expands on this a little more: [Pricing cannot be an afterthought.](https://dev.to/bitario/pricing-cannot-be-an-afterthought-5fa5)_
Symfony Tutorial: Building a Blog (Part 2)
Tags: php, symfony, auth0
Published: 2018-01-04 16:25:27

---
title: "Symfony Tutorial: Building a Blog (Part 2)"
published: true
description: Let's create a secure blog engine with Symfony.
tags: #php #symfony #auth0
canonical_url: https://auth0.com/blog/creating-symfony-blog-part-2/
---

Symfony is a PHP framework as well as a set of reusable PHP components and libraries. It uses the Model-View-Controller design pattern and can be scaled to be used in any requirement. It aims to speed up the creation and maintenance of web applications, replacing repetitive code.

In this part of the tutorial, we will cover installing Bootstrap, a UI framework for web applications, to make the blog engine look nicer visually.

[Read on 🎼](https://auth0.com/blog/creating-symfony-blog-part-2/?utm_source=dev&utm_medium=sc&utm_campaign=symfony_blog)
Processor Security Flaws
Tags: security, webdev
Published: 2018-01-04 14:55:28

---
title: Processor Security Flaws
published: true
description: 
tags: security, webdev
---

Two security flaws in Intel, AMD and ARM processors were discovered. These flaws allow malicious users to read memory and access secrets, like passwords.

[Security flaws put virtually all phones, computers at risk](https://www.reuters.com/article/us-cyber-intel/security-flaws-put-virtually-all-phones-computers-at-risk-idUSKBN1ES1BO?utm_source=Sailthru&utm_medium=email&utm_campaign=US%20Reuters%20News%20Now%202018-01-04&utm_term=US%20Reuters%20News%20Now)

[Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign](https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/)

Update your devices as soon as possible.
Your experience with embedded JS code snippets
Tags: discuss, webdev, javascript
Published: 2018-01-04 12:03:48

---
title: Your experience with embedded JS code snippets
published: true
description: Discussion about experience and performance of embedded JS code snippets
tags: discuss, webdev, javascript
---

I am building a simple website with small but useful code examples of how javascript works for people that are new to the language. It is nothing fancy but I ran into the problem of showing lots and lots of code snippets on my page. Since there were many I needed to find the right service that would load a lot of code snippets FAST. I tried JSFiddle, GitHubGist and CodePen. These are my findings:

[JSFiddle](https://jsfiddle.net/):
 - Simple and elegant design
 - Nice code color theme
 - takes two-three seconds for loading 10 snippets
 - The link changes depending on the number of times you changed the snippet
 - Nice and spacious UI for creating html, js and css at the same time

[GitHubGist](https://gist.github.com/):
 - A bit bulky in design but can be edited with a [gist-embed](https://github.com/blairvanderhoof/gist-embed) library
 - Takes 1 second or less to load 10 snippets
 - Does not have "Result" tab that shows compiled result of the code snippet
 - Multiple files such as JS, CSS, HTML show as multiple snippets
 - A very good and fast updating and tracking of changes system

[CodePen](https://codepen.io/):
 - The slowest of the bunch ( for me at least ) 3+ seconds loading
 - Nice way to toggle on or off code and see result
 - Has a nice option of saving the code snippet as a gist
 - Editable without extra effort ( external libraries )
 - Lot of help while typing even if its not vanilla JS

GitHubGist is not the prettiest and I really miss the "Result" button and the multiple screens for multiple documents, but I think I will use it for my project because it is the fastest and I can track and change my snippets easily. People can also contribute by directly sending changes or fixing some mistakes in the code. 

I would love to hear your experiences and thoughts on this. Also if you have any idea of a better service that is not mentioned above or a suggestion on how to use the above mentioned services better feel free to share it.
Client and Server API Protection
Tags: discuss, security
Published: 2018-01-04 11:41:20

---
title: Client and Server API Protection
published: true
description: Open discussion regarding what are the best and recommended practices in securing a public API.
tags: discussion, security
---

I'm setting about implementing a very basic API which takes a POST request from a web form and crunches some calculations server side before responding with the output of the calculation in the API response which is then rendered by the client.

The form appears on a statically generated website, with heavy traffic and therefore there is no server side rendering to hide credentials behind. I'd love an open discussion and any reference to good resources which would help to increase my knowledge on what level of API security should be in place when dealing with static websites requesting against server APIs. I've come from a typical MVC world where the server would take the request, render the template and ultimately provide the whole page back to the user. 

General Questions:

- When this end point is simply serving as a back end calculator, what level of authentication should my front end and server be concerned with? I'm thinking along the lines of pinning against my domain for a start but what else?

- Would the usage of API token have any relevance in this scenario? Since the information is purely public I don't have a use case that would require a look up of a user or similar, but do API tokens/keys have a usage here that I haven't thought about?

- What measures of protection should live on the client side? Right now I believe that whilst I know my implementation is a web form, I should really ignore the TYPE of client since anyone can spoof a browser to make a request. Is this valid and therefore I should focus on the security at the API gateway instead of the client?

- What measure of server side protection should be in place? CORS? Rate limiting / Throttling?
Programming tasks
Published: 2018-01-04 10:56:50

---
title: Programming tasks
published: True
description: Need help 
tags: 
---


Hi everyone this is encouraging , I am a Kenyan i would like to be exposed to real project development. I have been studying the programming for 2 years learning PhP, MYSQL, C# and scripting language. i am yet to be involved in real project. 

Any one with an idea where i can volunteer for online programming jobs just to get my skills ready for any upcoming project.
5 Useful IBM DB2 Queries
Tags: database, db2, ibm, ibmdb2
Published: 2021-08-05 05:01:41

---
title: 5 Useful IBM DB2 Queries
published: true
date: 2018-01-04 05:22:20 UTC
tags: Database,Db2,IBM,IBMDB2
canonical_url: https://blog.bipinr.com/5-useful-db2-queries/
---

 ![5 Useful DB2 Queries](https://blog.bipinr.com/content/images/wordpress/2018/01/ibm_db2.png)

Here are some IBM DB2 queries that can be very useful.

#### Query to identify Stores Procedures that is using a particular table
{% gist https://gist.github.com/rbipin/3d09c6a19d96149c0f3d7db54ee68c2d file=SPTables.sql %}


#### Identify Schema used by a Stored Procedures

{% gist https://gist.github.com/rbipin/3d09c6a19d96149c0f3d7db54ee68c2d file=schematable.sql %}

#### Identify Primary Key of a table

{% gist https://gist.github.com/rbipin/3d09c6a19d96149c0f3d7db54ee68c2d file=PrimaryKey.sql %}

#### Identify Foreign key of a table

{% gist https://gist.github.com/rbipin/3d09c6a19d96149c0f3d7db54ee68c2d file=Foreignkey.sql %}

#### View used by table

{% gist https://gist.github.com/rbipin/3d09c6a19d96149c0f3d7db54ee68c2d file=viewtable.sql %}
<!--kg-card-end: html-->
Git Rebase Workflow to Github
Tags: git, github
Published: 2018-01-04 04:23:04

---
title: Git Rebase Workflow to Github
published: true
description: I use this workflow when working in a team in github
tags: git, github
---

I wish to share a useful git gist that I use on my workflow. I saw this on [meagar's gist](https://gist.github.com/meagar/ae2c7f1b200d7fa52508) few years ago

### **Rebase "feature/my_branch" onto master**

#### *if you work solo on the branch...*

```
$ git checkout feature/my_branch # make sure you're on the right branch
$ git fetch # update remote refs
$ git rebase origin/master # perform the rebase from master
  # for each conflict, edit file, resolve conflicts, git add -u <file>, git rebase --continue
$ git push -f origin feature/my_branch # overwrite remote branch with newly rebased branch
```

#### *if you work with someone else on a branch...*
Don't rebase!, The author who is working on the branch follows the steps above, then all other contributors do this...

```
$ git checkout feature/my_branch # make sure you're on the right branch
$ git fetch # update remote refs
$ git reset --hard origin/feature/my_branch # discard the state of your branch, move to the newly rebased branch
```

### **Rebase "feature/my_branch" onto master, squashing all commits**

```
$ git checkout feature/my_branch
$ git fetch
$ git reset --hard origin/master # move your branch to the current state of master
$ git merge --squash head@{1} # merge all changes from your branch into the index
$ git status # verify changes to be committed
$ git commit # edit all commit messages from previous commits down to a single sane commit message
$ git push -f feature/my_branch # overwrite remote branch with newly rebase branch
```
Executing an SQL Query Directly from ActiveRecord
Tags: rails, ruby
Published: 2018-01-04 04:19:36

---
title: Executing an SQL Query Directly from ActiveRecord
published: true
description: 
tags: #rails #ruby
---

You can execute sql queries directly from ActiveRecord

### #execute

```
users = ActiveRecord::Base.connection.execute("SELECT id, first_name, created_at FROM users WHERE id=1")

users[0]
{
  "id"         => "1",
  "first_name" => "Ren",
  "created_at" => "2017-01-01 12:23:67.425118"
}
```
It's Just Syntactic Sugar
Tags: discuss, language, syntacticsugar
Published: 2018-01-04 02:49:13

---
title: It's Just Syntactic Sugar
published: true
tags: #discuss #language #syntacticsugar
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xrow8k8olw2rob6zvqeq.jpg
---

I've read/heard people express themselves like this many times when talking about certain languages or language's features.

> "It's _just_ syntactic sugar." - Someone Somewhere.

But I wonder if they really know what does it mean.

> _Syntactic sugar_ is syntax within a programming language that is designed to make things easier to read or to express. It makes the language "sweeter" for human use: things can be expressed more clearly, more concisely, or in an alternative style that some may prefer.

I was listening to a podcast episode (I think it was from one of the Kotlin episodes from [Fragmented](http://fragmentedpodcast.com)) a few months ago where they discussed this same topic and one of the speakers said something along the lines:

> "Many people say 'oh this is syntactic sugar over this other thing or language', but if you _really_ think about it... Every programming language _is_ syntactic sugar over all the 1's and 0's that the computer actually understands. It doesn't know keywords and operators, it's all _just_ 1's and 0's."

Which brings me to another topic:

## Who do you code for?

- Users
- Manager
- Boss
- Quality Assurance
- Yourself
- Browsers
- Mobile devices
- Desktops
- Aliens

If you picked any of those options, then you probably are in the wrong neighborhood.

**We should code for other programmers, including our future self.**

Sure, you want your code to be compiled/interpreted correctly and run smoothly without bugs, but your code can be so much more powerful if it can be _read like a book_.

It's good and all if you can type as fast as lighting, but at the end of the day developers get paid for solving problems, not the amount of keys they press per minute.
How to handle Explanation Point in a Batch file
Tags: batchcode, weird, windows, username
Published: 2018-01-03 22:34:00

---
title: How to handle Explanation Point in a Batch file
published: true
description: A weird error with windows
tags: Batch Code, Weird, Windows, Username, !
---

Hello Everyone, Today I come to you with another strange problem. My friend Josiah has a username which gets him into a lot of trouble. His username is "Josiah!". The problem with this username is that in a batch file where you do something like
    ```Start "C:\Users\%username%\Desktop\File.exe"```
it uses the ! in his username and that crashes the prompt. I was wondering if anyone knew a way around it? Thanks! -Luke.
How do you use GitHub?
Tags: github, learning, explainlikeimfive
Published: 2018-01-03 17:43:34

---
title: How do you use GitHub?
published: true
description: 
tags: Github, learning, explainlikeimfive
---


Hello, 

I am really new with Github,I don't have any project or team to use it but I think it can be used in order to learn or improve programming skills.



I want to get advantage of github repositories in order to improve my problem solving skills.

I want to learn the following:

-Android
-Selenium
-Algorithm

[I found this useful] (https://www.quora.com/How-do-I-make-the-best-use-of-my-GitHub-account)



Thank you for your time !
Serializing the dice data
Tags: video, coding, ui, data
Published: 2018-01-03 16:07:44

---
title: Serializing the dice data
published: true
description: Serializing data to the local storage area using Fuse.
tags: video, coding, ui, data
---

{% youtube nwPKNftfRJI %}

I revisit our dice application and add serialization of the data. This will perists the users changes. I cover the basics of FileSystem and go over some of the architecture of saving such data.

Watch my streams live on [Twitch - Mortoray](https://www.twitch.tv/mortoray)