HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ckmar

no profile record

Submissions

Show HN: Base N Clock - The current time in various number bases

craigmichaelmartin.github.io
4 points·by ckmar·5 tháng trước·2 comments

Ask HN: Join me in making Remix a social platform for apps

1 points·by ckmar·năm ngoái·1 comments

PureORM: An ORM which is only an ORM

github.com
3 points·by ckmar·năm ngoái·0 comments

Show HN: Unfluence – A private social graph for trusted recommendations

unfluence.app
2 points·by ckmar·năm ngoái·1 comments

Strict error handling in JavaScript with a functional try

github.com
1 points·by ckmar·3 năm trước·1 comments

Ask HN: Why is web architecture optimized for writes?

1 points·by ckmar·4 năm trước·1 comments

Show HN: Disappear your web framework with Static Route Generation

github.com
2 points·by ckmar·4 năm trước·1 comments

Cyber attack thread of the ongoing invasion

twitter.com
7 points·by ckmar·4 năm trước·0 comments

comments

ckmar
·năm ngoái·discuss
Have you seen unfluence? https://unfluence.app
ckmar
·năm ngoái·discuss
Read the manifesto [0] or check out the product walkthrough video [1].

[0] https://unfluence.app/about

[1] https://www.youtube.com/watch?v=mFZ8zcF8r8M&ab_channel=Craig...
ckmar
·2 năm trước·discuss
Have you seen Pure ORM? It's an ORM that purely does object relational mapping.

You write SQL but instead of getting back flat and potentially-collided data, you get back pure objects which are properly structured.

https://github.com/craigmichaelmartin/pure-orm
ckmar
·3 năm trước·discuss
> The SQL is not really the point. It's about the rows and objects, moving the data from the objects to the INSERT statement, moving the data from the rows you SELECTed back to the objects.

If anyone is looking for this "pure" ORM (no query builder API) in Node there is https://github.com/craigmichaelmartin/pure-orm
ckmar
·3 năm trước·discuss
One line of code which is specific in what it catches:

    // Either foo or someError will be defined
    const [foo, someError] = itry(someFn, SomeError);
Instead of nine lines which feel like they are working uphill against the language: dealing with variable scoping issues, deeper nesting, and footguns like forgetting to re-throw.

    let foo;
    try {
      foo = someFn();
    } catch (err) {
      if (err instanceof SomeError) {
        // do something with error
      } else {
        throw err;
      }
    }
    // use foo
ckmar
·4 năm trước·discuss
TLDR; Evanesce is a tool to provide Static Route Generation (SRG) by disappearing your web framework for opt-in routes and building the HTML for a route in the background when a dependency of the route changes.
ckmar
·4 năm trước·discuss
I made a platform[0] to support natural "word of mouth" recommendations - where you can discover what your trusted family and friends recommend.

It's called unfluence to connotate the inversion of influence from social media ad networks, to individuals.

[0] https://unfluence.app
ckmar
·4 năm trước·discuss
Big fan of queries being written in SQL and yielding pure, properly structured business objects.

An example of this approach is PureORM[0]

[0]https://github.com/craigmichaelmartin/pure-orm
ckmar
·4 năm trước·discuss
unfluence.app FTW. Search for recommendations in your own trusted network.

[0] https://www.unfluence.app
ckmar
·4 năm trước·discuss
I am soft-launching unfluence.app in the coming weeks. It's live now, though not yet marketed.

It is a platform for finding and sharing recommendations within your own trusted network. I'd love to hear your feedback!

You can read more about it on the home page[0], from its inspiration, comparisons with existing solutions, to a down-the-road monetization model that aligns with the network.

It is being built by Kujo - a brand in the lawn care industry, and so is seeded with products and brands for that community. The initial launch will be within the lawn care community. However, the platform is community-agnostic and supports creating communities for any groups.

[0] https://www.unfluence.app