wheresvic1 | 6 years ago | on: A Raspberry Pi-powered live train station sign
wheresvic1's comments
wheresvic1 | 6 years ago | on: Fork: A fast and friendly Git client for Mac and Windows
wheresvic1 | 6 years ago | on: HTTP Security Headers – A Complete Guide
wheresvic1 | 6 years ago | on: Ask HN: How do I explain “startup went bankrupt” to family and future employer?
As for letting your startup founders know why you're leaving - it really depends on your relationship with them but i would got for a professional - "i'd like to expole other opportunities and i wish you all the very best!"
wheresvic1 | 6 years ago | on: QuickJS JavaScript Engine
wheresvic1 | 6 years ago | on: QuickJS JavaScript Engine
std.printf("%d\n", 1);
std.printf("%s\n", os.platform);
However it does not compile to a binary and doing something like: import std from "std";
import os from "os";
std.printf("%d\n", 1);
std.printf("%s\n", os.platform);
compiles via `./qjsc -m -o default_modules examples/default_modules.js` however does not execute: $ ./default_modules
SyntaxError: export 'default' in module 'std' is ambiguous
Source: https://github.com/smalldatatech/quickjs/blob/master/example...wheresvic1 | 6 years ago | on: Ask HN: What are you working on?
wheresvic1 | 6 years ago | on: Ask HN: What are you working on?
- The current medical application used in our hospital does not have a way to track if a case is a re-admission or not. This information is very important in surgery and urology. The doctors are using an excel file to track this information at the moment and we are building an app so that this information gets put into a database and will also later be integrated into the main medical system.
- Currently, students in radiology do not get very many chances to actually look at images to practice so we are building a crowdsourcing platform for radiology images. This will also be useful for interviewing or general practice for professionals.
On the side, I've been working on https://ewolo.fitness - a workout tracking app that also has running and weight tracking built-in. I found all existing solutions too gimmicky and annoying - a workout tracker should be as flexible as possible and let you add your data and get out of your way...
wheresvic1 | 6 years ago | on: Open Source Game Clones
wheresvic1 | 6 years ago | on: I turned my interview task for Google into a startup
wheresvic1 | 7 years ago | on: Show HN: A faster implementation of Git status
wheresvic1 | 7 years ago | on: Companies may be losing millions due to emails buried in collapsed Gmail threads
wheresvic1 | 7 years ago | on: Node.js Express API development security checklist (2017)
wheresvic1 | 7 years ago | on: Ask HN: How to deal with losing personal email address?
wheresvic1 | 7 years ago | on: Copying objects in JavaScript
wheresvic1 | 7 years ago | on: Copying objects in JavaScript
wheresvic1 | 7 years ago | on: Stop using JWT for sessions (2016)
Why is this crazy? If you encrypt your JWT with a private key that is only known to the server, then any modification to the JWT will lead to an invalid token.
The only thing here is that the list of roles granted is visible to the user if they were to decode the JWT, which is something you might not be entirely comfortable with but I don't think it's totally crazy.
wheresvic1 | 7 years ago | on: Must-See Tech Talks for Every Programmer (2014)
wheresvic1 | 7 years ago | on: How to build your own neural network from scratch in Python
wheresvic1 | 7 years ago | on: Kubernetes for personal projects? No thanks
- pm2 for uptime (pm2 itself is setup as a systemd serivce, it's really simple to do and pm2 can install itself as a systemd service)
- I create and tag a release using git
- on the production server, I have a little script that fetches the latest tag, wipes and does a fresh npm install and pm2 restart.
- nginx virtual host with ssl from letsencrypt (setting this stuff was a breeze given the amount of integration and documentation available online)
Ridiculously simple and I only pay for a single micro instance which I can use for multiple things including running my own email server and a git repo!
The only semi-problem that I have is that a release is not automagically deployed, I would have to write a git hook to run my deployment script but in a way I'm happy to do manual deployments as well to keep an eye on how it went :)