Skip to content

Instantly share code, notes, and snippets.

Some info about Rust

RUST came out from Firefox to solve problem related to: performance and security.

Why Rust is "faster" compared to C++, C or other compiled language?

  • Similar to these languages
  • Strong Type System
  • Rust compiler uses LLVM suite: Rust compiles to LLVM bytecode and then to assembly language
  • You can write less code compared to other programming language

Notes from Purple Cow

Purple Cow: Transform Your Business by Being Remarkable

  • create remarkable products that people seek out.
  • no one is going to eagerly adapt to your product.
  • ideas that spread are more likely to succeed than those that don't.
  • services that are worth talking about get talked about.
  • it is useless to advertise to anyone (except interested sneezers with influence).
  • is not marketing done to a product. The marketing is the product, and vice versa.

Takeaways from TDD and Software Design

video

  • TDD by its own CANNOT leads to good design, obviously
  • TDD as a mechanism to help us to learn more about good design
  • Software is "Soft" just because it can be changed, it is not meant to be settled in the stone
  • Test-first programming can help the team to reduce defects but it will not lead to good design

Code qualities

@joebew42
joebew42 / arch-linux
Last active September 24, 2017 18:06 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
# Installation on Dell XPS
# Please also consult official docu:
# https://wiki.archlinux.org/index.php/Installation_Guide
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
# Disable the secure boot
# F2 to enter to UEFI setup, check `disable secure boot` under the `secure boot` section
# Save settings and exit

Setup:

apt-get update; apt-get install nodejs net-tools

Configuration:

export DISPLAY=:99
@joebew42
joebew42 / service-checklist.md
Created December 22, 2016 22:38 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
node('', {
def url = new URL('http://www.google.com')
def httpCon = (HttpURLConnection) url.openConnection();
httpCon.setRequestMethod('POST')
})
node('', {
def version = "1.${env.BUILD_NUMBER}"
stage 'Checkout and Build'
git url: 'https://github.com/joebew42/daily-activity-log-to-rss.git'
sh "git tag ${version}"
createVirtualEnv 'env'