Better HN
topnewbestaskshowjobs
Log inSign up

wheresvic1

3,455 karma · joined Sep 8, 2015 (11y ago) · 926 submissions

https://smalldata.tech
Submissions

1.

Self-hosting an AI agent environment with OpenCode and shared memory(smalldata.tech ↗)

3 points · by wheresvic1 · 1mo ago · discuss

2.

Structure Eats Strategy (2017)(janbosch.com ↗)

1 points · by wheresvic1 · 5y ago · discuss

3.

Detecting a permgen memory leak in a Java application(smalldata.tech ↗)

22 points · by wheresvic1 · 5y ago · 14 comments

comment 7y ago · link · parent

I'd love to see a writeup of doing something like this but without any of the balena cloud stuff.

5.

Detecting a permgen memory leak in a Java application(smalldata.tech ↗)

1 points · by wheresvic1 · 7y ago · discuss

6.

Programmer Test Principles(medium.com ↗)

3 points · by wheresvic1 · 7y ago · discuss

7.

Category Theory for Programmers: The Preface(bartoszmilewski.com ↗)

13 points · by wheresvic1 · 7y ago · discuss

8.

For cleaner code, write ugly code(blog.jessitron.com ↗)

3 points · by wheresvic1 · 7y ago · 1 comment

9.

What to expect in a code quality assessment(smalldata.tech ↗)

1 points · by wheresvic1 · 7y ago · discuss

10.

Docker in 10 Minutes(smalldata.tech ↗)

1 points · by wheresvic1 · 7y ago · discuss

comment 7y ago · link · parent

Why not linux? :(

12.

A quick introduction to Go modules(smalldata.tech ↗)

1 points · by wheresvic1 · 7y ago · discuss

13.

The Indian inventor who dazzled London(bbc.com ↗)

2 points · by wheresvic1 · 7y ago · discuss

14.

The Merge Request Checklist(smalldata.tech ↗)

2 points · by wheresvic1 · 7y ago · discuss

comment 7y ago · link · parent

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

16.

Setting up a raspberry pi 4 home server(smalldata.tech ↗)

3 points · by wheresvic1 · 7y ago · discuss

17.

Design patterns in Node.js: a practical guide(blog.logrocket.com ↗)

3 points · by wheresvic1 · 7y ago · discuss

18.

Setting up a raspberry pi 4 home server(smalldata.tech ↗)

3 points · by wheresvic1 · 7y ago · discuss

19.

Clean Code – Notes(smalldata.tech ↗)

2 points · by wheresvic1 · 7y ago · discuss

comment 7y ago · link · parent

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!"

21.

Workers of the World on Getting by in an Era of Wrenching Change(bloomberg.com ↗)

1 points · by wheresvic1 · 7y ago · discuss

22.

Generalise, don't specialise: why focusing too narrowly is bad for us(theguardian.com ↗)

2 points · by wheresvic1 · 7y ago · discuss

23.

NPM Tricks for Faster JavaScript Development(medium.com ↗)

2 points · by wheresvic1 · 7y ago · discuss

24.

ES2019 features you can use today(blog.logrocket.com ↗)

27 points · by wheresvic1 · 7y ago · discuss

25.

JSON Web Tokens vs. Session Cookies: In Practice(ponyfoo.com ↗)

7 points · by wheresvic1 · 7y ago · 1 comment

26.

Setting up a raspberry pi 4 home server(smalldata.tech ↗)

3 points · by wheresvic1 · 7y ago · discuss

comment 7y ago · link · parent

Awesome thanks!

28.

The case for single character Git commit message prefixes(smalldata.tech ↗)

1 points · by wheresvic1 · 7y ago · discuss

comment 7y ago · link · parent

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...
12345
31