HNHacker News
TopNewBestAskShowJobs

wheresvic1

3,454 karma · joined September 8, 2015

https://smalldata.tech
submissionscomments
wheresvic1··on A Raspberry Pi-powered live train station sign
I'd love to see a writeup of doing something like this but without any of the balena cloud stuff.
wheresvic1··on Fork: A fast and friendly Git client for Mac and Windows
Why not linux? :(
wheresvic1··on HTTP Security Headers – A Complete Guide
For Node.js servers running on express, check out helmet[1] which adds a lot of these headers for you :)

[1] https://www.npmjs.com/package/helmet

wheresvic1··on Ask HN: How do I explain “startup went bankrupt” to family and future employer?
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!"

wheresvic1··on QuickJS JavaScript Engine
Awesome thanks!
wheresvic1··on QuickJS JavaScript Engine
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...
wheresvic1··on Ask HN: What are you working on?
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 :)
wheresvic1··on Ask HN: What are you working on?
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...

wheresvic1··on Open Source Game Clones
Great list! I was surprised to see that wesnoth is not tagged as playable though!
wheresvic1··on I turned my interview task for Google into a startup
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.
wheresvic1··on Show HN: A faster implementation of Git status
Very neat! How can we get this on bash (ubuntu)?
wheresvic1··on Companies may be losing millions due to emails buried in collapsed Gmail threads
very interesting read - for an alternative interface to email, try mutt[1]

[1] https://smalldata.tech/blog/2016/09/10/gmail-with-mutt

wheresvic1··on Node.js Express API development security checklist (2017)
Aha that's a great point, will update!
wheresvic1··on Ask HN: How to deal with losing personal email address?
I can highly recommend migadu for a very low cost professional setup with a custom domain!
wheresvic1··on Copying objects in JavaScript
That's awesome, I'll update the article to reflect this!
wheresvic1··on Copying objects in JavaScript
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!
wheresvic1··on Stop using JWT for sessions (2016)
> 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.

wheresvic1··on Must-See Tech Talks for Every Programmer (2014)
I would love to just read a summary of the talks - has anyone done something like that?
wheresvic1··on How to build your own neural network from scratch in Python
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...
wheresvic1··on Kubernetes for personal projects? No thanks
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 :)

wheresvic1··on But don’t let that distract you; it was designed to kill people (2017)
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...

wheresvic1··on Oracle’s Java 11 trap
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.

wheresvic1··on Oracle’s Java 11 trap
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.
wheresvic1··on Ask HN: Best alternative to Gmail?
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.

wheresvic1··on Host Your Blog on DigitalOcean with Docker, Nginx and Let’s Encrypt
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 :)

wheresvic1··on Host Your Blog on DigitalOcean with Docker, Nginx and Let’s Encrypt
Gitlab also provides hosting and free private repos.
wheresvic1··on The “Developer Experience” Bait-And-Switch
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.
wheresvic1··on Top Open-Source Static Site Generators
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...

wheresvic1··on Programming abstract art
The first image is really cool, would be great if you could share your code or just the idea behind it!
wheresvic1··on More than a quarter of Americans say they’ve deleted Facebook from their phones
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.

Page 1 of 6Next →