I'd love to see a writeup of doing something like this but without any of the balena cloud stuff.
HN user
wheresvic1
https://smalldata.tech
Why not linux? :(
For Node.js servers running on express, check out helmet[1] which adds a lot of these headers for you :)
I think you can be honest without badmouthing anyone necessarily: "startup went bankrupt due to reasons beyond my control".
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!"
Awesome thanks!
I'm asking this here because I don't really know where else to do so: I'm trying to compile a binary from a js source that uses the standard modules (they are loaded by default if you run the interpreter) so the following works:
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...This sounds pretty cool but tbh, if I'm willing to try out a beta product with all my images (and the risk of losing them due to some bug or any other risk) and provide feedback, I'd like to have a bigger carrot than just using the product for free in beta only :)
Professionally, I'm really lucky as I am working in R&D at a university hospital and I have a couple of cool projects going:
- 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...
Great list! I was surprised to see that wesnoth is not tagged as playable though!
This is absolutely brilliant - I think that this is the way to go for hiring tests! Either that or you get paid for the hours you put in.
Very neat! How can we get this on bash (ubuntu)?
very interesting read - for an alternative interface to email, try mutt[1]
Aha that's a great point, will update!
I can highly recommend migadu for a very low cost professional setup with a custom domain!
That's awesome, I'll update the article to reflect this!
Aha yes you are correct - it outputs an ISO string at the very least but does not parse it back to a date. I will update the article to reflect this!
I saw many examples on the net of people putting role/authorization and various other types of session information within the JWT and it just looked insane to me.
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.
I would love to just read a summary of the talks - has anyone done something like that?
If you're looking for a similar from scratch tutorial in Java, check this one out: https://smalldata.tech/blog/2016/05/03/building-a-simple-neu...
Totally agree with the author, for my side projects in Node.js, I use the following:
- 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 :)
This is a wonderful article and interestingly one of the more poignant bits is a quote from someone in the film industry (to paraphrase):
"We meet with a lot of startups and the only question is 'Can this be done?' Nobody is stopping to ask questions regarding the ethics."
That being said however, it is really tricky to come to any easy conclusions. We live in a complex world and it's not clear even after exhaustive questioning what damage could be done with the work that one is doing.
Fire was one of man's greatest discoveries - but if you stop and look at all the dangerous uses it could have been put to, it is quite possible we would not be sitting here today on HN...
Aha, you are correct - this is only JVM related.
In theory, the changes should really be minimal but to be sure we would need to have a very strong CI and stress testing platform to be sure about upgrading.
All good projects should have this in place anyways.
I'm not sure Java is worth the effort at this point. If I'm going to have to keep updating every 6 months, I would rather use Go, which seems to have all that Java has to offer + the backing of a huge corporation.
I can also second Zoho. It's primary target is small business and they have a massive suite of features but I'm just using their email and calendar.
Their web interface is a bit annoying as you need to make a couple of clicks to get to the email but they provide mobile apps as well as IMAP access.
So far I have not had any issues so I cannot say what their support is like.
While this is pretty cool, it's also not all that much of an effort to setup https using certbot and have it automatically configure nginx: https://smalldata.tech/blog/2015/12/29/nginx-nodejs-and-http...
Setting up the renew job is also a very simple cron job.
Moreover, something that one forgets is that once you have your posts, comments and any sort of data, you need to have backups and other sysadminy stuff.
Personally, I enjoyed learning about this while setting up my blog :)
Gitlab also provides hosting and free private repos.
This is offtopic but I just have a small suggestion for Hue - When I checked it out, it required me to login/register right away. It would be nice if you could provide a demo version where one can check out the service without having to register first.
Shameless plug: Here's a little tutorial that shows you how you can write your own Static site generator in around 100 lines of code!
https://smalldata.tech/blog/2018/08/16/building-a-simple-sta...
The first image is really cool, would be great if you could share your code or just the idea behind it!
This is quite unsubstantiated but I have a feeling that the trend is moving towards other Fb owned properties like Whatsapp and Instagram so I wouldn't be worrying about Facebook's profitability anytime soon.
Moreover, deleting the Facebook app from the phone does not mean that they are not simply using the web version. Although, apparently a majority of revenue was coming from the mobile ads.