• Uncategorized
  • humor
  • finance
  • lifehack
  • trends
  • trading
  • culture
  • tech
  • aide-memoire
  • programming

Infinite Curiosity

~ Exploring ideas related to tech, code, finance, markets, adtech, AI, humor and more!

Category Archives: aide-memoire

Enterprise / Server Cloud Storage (not “Personal” cloud storage)

02 Saturday Jan 2021

Posted by Grynn in aide-memoire, programming, tech

≈ Leave a comment

  • google / gcloud
    • 1 Tb  => $10/mo ($120/pa)
    • Nearline (USA): 1000 * 0.01 => $10/mo (Using prices for nearline storage, South Carolina data center)
    • Nearline (Mumbai): 1000 * $0.016 = $16/mo ($200/pa)
    • Nearline has some charges if stored for less than 30d (min term). So could be a bit more than $10 (perhaps the same as S3’s intelligent tiering)
  • amazon / s3
    • 1 Tb => $12.5/mo  (between $12.5 and $20 because intelligent tiering will take some time to kick in).
    • Using prices for S3 Intelligent Tiering, USA data center: 1000 * 0.0125 => $12.5
  • Digital Ocean / volumes: (Block storage built on Ceph)
    • 1 Tb => $100/mo (approx 10x S3 prices, yiiikes.)
  • Digital Ocean / spaces: $0.02 gb/mo (S3 Compatible File Storage)
    • 1 Tb => $20/mo (about the same as S3 without intelligent tiering)

Max value

Store HOT on Digital Ocean spaces (save on bandwidth)

Move older items to gcloud nearline or lower tier

10 Tb Transfer (assumed) => 10000 * 0.02 = $200 => This can be substantially more than storage. Never put anything internet facing on S3

#[[Hosting / Servers / Cloud Guide]]

“Free” SQL Databases

29 Tuesday Dec 2020

Posted by Grynn in aide-memoire, programming, tech

≈ Leave a comment

  • Heroku Postgres
    • Good & simple
  • IBM DB2: No credit card required, re-activate by email every 90 days
    • 200 MB of data storage
    • 15 simultaneous connections
    • Shared multitenant system
  • “Always free” Oracle Cloud instance (ptooie, slow as molasses) + apt install postgres
  • Supabase: Postgres, realtime, kinda like Firebase but with SQL and a real postgres instance. Free while in beta
  • Recommendations:
    • If “free” is the overriding factor, Heroku Postgres.
    • If you can live with a small cost, its simple & reliable to create a Digital Ocean Droplet using a ready made template. Example, this high quality template from Supabase: https://marketplace.digitalocean.com/apps/supabase-postgres. Use my referral link to get $100 free!!
    • Any cPanel hosting provider – some can be super low cost (see lowendhost.com)

Timeseries Databases

20 Sunday Dec 2020

Posted by Grynn in aide-memoire, programming

≈ Leave a comment

Tags

choice, database

tl;dr use Timescale (open source extensions to postgres) – All the power, expressivity and ease of SQL w/horizontal scalability via partitioning. Like your own, Amazon RedShift. Faster and obvs. much cheaper than RedShit.

Other options:

  • InfluxDb (and cloud) – simplicity of ingest
  • ElasticSearch – needs a custom browse component (Kibana too complex)
  • Clickhouse, Vertica, Pilosa and others – “exotic” options, not really worth the effort, esp. given how good TimescaleDb is.

How to ingest:

  • v0: statsD -> influx (fast, cheap, quick, scalable)
  • v2 rsyslog (on each server) => central rsyslog => beanstalkd / kafka => (fan out) postgres (timescaledb) + mongo + influx + es

(Virtual) Server Pricing

04 Tuesday Jun 2019

Posted by Grynn in aide-memoire, tech, Uncategorized

≈ Leave a comment

My goto services:

#FREE => Heroku (but only one “VM” is free, then $7/mo for a 512Mb “Dyno”)

Super Cheap => OVH
don’t have an affiliate program AFAIK, cuz they’re so low cost 😦

Blend => Digital Ocean
Use my aff. link to sign up, you get $100, I get $10, everyone’s happy 🙂
Here => https://m.do.co/c/728c8434e1b1

Digital Ocean
Special sauce: Incredible UI/UX, super fun to use. I’ve stopped thinking about it anymore, when I need a VM, I just go to DO.

Downsides: Many (probably most?) of the IPs are blacklisted for email. Most aren’t great exits for VPN services either for the same reason.

CLI tool (doctl) has pretty shit UX; could have been so much better. But still it’s there and works in a pinch
$5/GB of RAM
Linode$5/GB of RAM
OVH
Special sauce: The lowest cost option, but it’s Canada and Europe only. No SE Asia, no USA.
$1.68/GB of RAM
Yep it’s 66% cheaper than everyone else.
Vultr
Special sauce: awesome plans with $2.50 for a node with IPv6 only, 512Mb RAM.
$5/Gb
Amazon LightSail
Special Sauce: oh well, it’s the IBM of servers, so I might as well document it here: They have this clone of Digital Ocean, called LightSail, that s3cks, obvs. It’s the same price as Linode/DO/Vultr. Available in a few more locations than most of the above (incl. Mumbai; Digital Ocean has Bangalore).

When to use: All the rest of your infra is on Amazon Cloud and you’re pathethic.
$5/GB of RAM
Heroku #FREE (owned by Salesforce, not indie and chill like they pretend)
Incredibly good tooling; 1x 512Mb Dyno is free (1000 Hours/mo if you verify with a credit card). Gets very expensive very fast though — because you are subsidising the development of developer tools and the “free” tier.
$14-$50/Gb of RAM
Prices as of June 5, 2019.

I may update this page someday, but then again I may not 🙂 Bookmark if you’re adventurous (ctrl + d, or cmd + d)

Online IDEs for quick prototypes

09 Tuesday Apr 2019

Posted by Grynn in aide-memoire, lifehack, programming, tech

≈ Leave a comment

Tags

tools

#Frontend

Codepen.io: Really great for prototyping layouts and CSS in general.
Recently added Flutter support

  • React: ✔
  • Svelte: x
  • Flutter: ✔
  • JS: ✔ (but not very good …)
  • Private Pens: ✔ (Paid)
  • Secrets: x
  • Deploy to Netlify (or now.sh): x

Codesandbox.io: Webpack + VS Code as an online IDE

#Fullstack (include a VM/Container for development)

Glitch.com: #fullstack, #millenial, #awesome, #secrets

Glitch + Fly.io is very fly!

Repl.it: #fullstack, #secrets, #paid-for-private-repls
Has secrets (.env file that is only accessible by repl owner)

Runkit: The best way to hack nodejs ‘scripts’, IMHO
#backend

Codeanywhere, $8/mo

Stackblitz:
VSCode in the Cloud

#secrets  = .env file that is only accessible by repl owner

Archived

C9.io: Was really nice, but it’s been bought by Amazon; not free anymore, unless you use AWS 😭

Do you know others that should be on this list? Like, subscribe and Leave a comment below!

 

Top Extension Categories

09 Tuesday Apr 2019

Posted by Grynn in aide-memoire, Uncategorized

≈ Leave a comment

(From IE Edge Chromium Store April 2019)

  • Adblockers and password managers
  • Education
  • Social and entertainment
  • Shopping
  • Productivity
  • For developers

Gmail iOS URL Schemes

10 Monday Sep 2018

Posted by Grynn in aide-memoire, Uncategorized

≈ Leave a comment

Open specific message

googlegmail:///cv=13eafcee7cc82901/accountId=1&create-new-tab

Open compose message

googlegmail:///co?subject=<subject text>&body=<body text>&to=

For Google Inbox use inbox-gmail:/// instead of googlemail:///

macOS Productivity Apps every dev needs!

10 Monday Sep 2018

Posted by Grynn in aide-memoire, Uncategorized

≈ Leave a comment

Window Management/Misc Util

Spectacle, Free, Open Source
BetterTouchTool, Donationware
Magnet , Mac App Store, about $2.

Winner: BetterTouchTool

Spectacle App is really, really good window management; shortcuts to dock windows to left/right half (or quadrants, or top/bottom) of screen. Some stuff, like hitting the ‘dock right’ shortcut (ctrl + cmd + right) twice makes a window use the right third then right half then right 3/4ths etc. It’s just magically good. Having said that you can replicate (95%) the functionality of Spectacle App with BTT and since BTT does Window Management and Keyboard/Mouse Remapping and so much more – it makes sense to use BTT alone. 

Magnet is Spectacle App with the added ability to dock windows on drag (i.e. drag to top of screen to make a window full screen). BTT does this out of the box too; but takes it further… BTT lets you define snap areas / layouts and activate them using the mouse alone!

BTT does not come batteries included, so you have to make your own shortcuts and assign window management operations to them. There’s a community forum for sharing presets but it’s still a chore. Also BTT can do Touchbar based Window Management (though I’ve not found that very useful; and I hate the touchbar anyways).

Application Launcher / Search Everywhere

Alfred, Freemium

Better spotlight, including deep integration with Google / Gmail / Drive and other custom searches (via plugins). Really good, no competition here. No discussion, just install it and thank me later.

Alfred Workflows

  • Alfred Workflow Todoist
  • Dash

Note Taking

OneNote, Free, Proprietary 

The best note taking app out there. Period. I’d say Apple Notes is now the best note taking app out there, because it’s so fast and has great integration with iOS & macOS. The web version is not too shabby either. It’s not very cross platform though and if you have thousands of notes (as I do) sync breaks every now and then. It doesn’t have all the “nice” touches of OneNote – like napkin math or keyboard shortcuts to apply styles like Heading 1, Heading 2 etc.

Screen Sharing / Collaboration

ScreenHero (now owned/murdered by Slack)

AnyDesk

TeamViewer: The free version just randomly stops workign for me — it says commercial use detected and stops. So AnyDesk, though TeamViewer is very good.

Other:

CleanMyMacX, Freemium 

Itsycal, Freemium

Developer Tools 

  • PHPStorm
  • Visual Studio Code
  • Homebrew,

Homebrew packages/bottles: 

brew install php swaks htop telnet ffmpeg mysql pstree aria2 pv q jq autojump keychain nmap readline node redis beanstalkd ripgrep rsnapshot wget rsync bzip2 git xz yarn speedtest-cli parallel composer go sqlite curl grep sshfs coreutils

Other Stuff

Google Chrome, FireFox, Microsoft Edge (Chrome)

XCode

Office 365

Parallels Desktop

Coconut Battery

WhatsApp (Desktop)

Blackmagic Speed Test

Amphetamine

Reeder

Dropbox

Tinkerwell

VLC

Beyond Compare: Don’t leave home without this!

Paw

SuperDuper

(Git) Tower 2

Docker

Pocket

SecurePDF

XQuartz

Calibre

Intel Power Gadget

Mailplane

Backup and Sync from Google

MacDown

WireGuard

MySQL Workbench

Skype

OpenAudible

Resolutionator

Local By Flywheel

JetBrains Toolbox

Trello

GIPHY Capture

Yoink!

OpenInTerminal

MacsFanControl

Trader Workstation (IB)

 

Install nodejs 5.x on Ubuntu 14.04

07 Sunday Feb 2016

Posted by Grynn in aide-memoire, programming, Uncategorized

≈ Leave a comment

#install nodejs > 5.0
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -qy nodejs
view raw install-nodejs.sh hosted with ❤ by GitHub

Docker ❤️ Parallels ❤️ OS X (El-Capitan)

11 Wednesday Nov 2015

Posted by Grynn in aide-memoire, programming, tech

≈ Leave a comment

Tags

docker, homebrew, osx, parallels

Getting started with Docker + Parallels on OS X (using Homebrew)

Update: Sep 2016: This is no longer relevant; best to download Docker for Mac which uses xhyve to virtualize the Docker Engine environment and Linux kernel-specific features on OS X. This allows for much easier sharing of files between your local machine and docker containers.

Want to use Docker on OS X? At the moment, the OS X kernel does not directly support containers like Docker or OpenVZ. So you have to run a VM with docker installed. You then use the Docker CLI to interact with the Docker (daemon) running on the VM. The whole process is actually very easy to setup now that Docker Machine supports the Parallels driver.

Assumptions: You already have Parallels (11, Business or Pro Edition) and Homebrew installed.

$> brew update  # need to brew with a recent version
$> brew upgrade
$> brew install docker docker-machine docker-machine-parallels
… grab some coffee…
$> docker-machine create -d parallels dev1
$> eval `docker-machine env dev1`
$> docker run hello-world

All done!

You are now ready to use Docker, Docker Composer and even Docker Swarm.

← Older posts

Pages

  • About

Recent Posts

  • Enterprise / Server Cloud Storage (not “Personal” cloud storage)
  • “Free” SQL Databases
  • Timeseries Databases
  • June 2020 🔥🔥 New JS Bundlers/Builders
  • Quarantine one liners that will crack you up!

Twitter Stream

  • RT @ctrlshifti: developer: so i have good news and bad news manager: what's the good news? developer: i've discovered that the "5 second… 8 hours ago
  • AMD Ryzen 9 5900HX tops the list in PassMark database. Go $AMD go. dvhardware.net/article74639.h… 9 hours ago
  • Alexa is just so goood, esp. compared to Siri. Just walk up to the speaker and say Alexa please connect to my iPhon… twitter.com/i/web/status/1… 14 hours ago
  • @DeepXP Very good, to the point I’ve stopped thinking about it. My AirPods battery degraded very quickly I think. T… twitter.com/i/web/status/1… 14 hours ago
  • RT @KimMangone: BREAKING: Biden’s secretary of education had paused student loan payments and put interest rate at 0% 14 hours ago

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy