Spyke

Posts

programming·Programmingbystevecrox

Lightweight document store

Does anyone know of a document store than can run in memory like HsqlDB or configured to run on little resources (similar to postgres)?

I have written a dockerised set of Java services, most of them have fixed data structures and so I have used Hibernate with HsqlDB/Postgres for them, however..

The idea is to construct dynamic data processing pipelines which each add microformats for analysis if this takes place.

This means the resulting objects can be quite different, normally I would use a document store like MonogoDB or Elastic Search but...

I want developers/data scientists to be able to spin everything up on their development machine and machine learning models are often insanely RAM intensive.

So I want something I can use that keeps its memory/cpu footprint low, it doesn't need to be performant since its for development and the production instance can use something better.

View original on kbin.social
2
selfhosted·Selfhostingbystevecrox

How are people doing HTTPS?

I have a PC I have installed Portainer on, with various docker services (home assistant, jellyfin, etc..) with an ISP supplied router fixing various device IP addresses and reaching out to dyndns.

I really want to move everything over to HTTPS connections by supplying certificates, tls termination, etc .
The issue I have is self signed certificates mean I have to manage certificate deployment to everything in the house.

I figure I need to link a domain to the DynDNS entry and arrange certs for the domain. However I can't make the link function and everywhere wants >£100 to generate a certificate.

How are people solving this issue?

View original on kbin.social
kbinMeta·/kbin metabystevecrox

Does anyone else feel the general lemmy instances are noise?

I quite value content from targetted instances, but most of the "general" instances seem to be memes, posts on boosting lemmy, memes, reddit, memes bot posts, memes, reddit, memes, discussion on lemmy mobile applications, memes reddit, memes, and people talking about how the lemmy changed their lives oh and memes.

I would browse hot on reddit as a way to see things outside my subscribed bubble but I have given up. The signal to noise ratio is terrible.

Is anyone else experiencing this? How are you discovering magazines?

View original on kbin.social
51
webdev·WebDevbystevecrox

I am trying to write a Bootstrap equivalent to Material React Table using the Bootstrap framework.

I am trying to write a Bootstrap equivalent to Material React Table using the Bootstrap framework.

As part of that I want to implement a series of Storybook examples to confirm I haven't broken rendering. But I am hitting an issue.

I am using generics to define the table objects so I can setup more complex calls and operations like so:

export type RBTColumnDefs<TData extends Record<string, any> = {}> = RBTColumnSizing & { accessorFn?: (originalRow: TData) => string; accessorKey?: keyof TData; }

I've created a basic data object type and constructed test data, however when I use storybook e.g.:

const meta = { title: 'react-bootstrap-table/Table Menu Bar', component: RBTMenuBar, tags: ['autodocs'], args: { ...searchableArgsRBTData, }, } satisfies Meta<typeof RBTMenuBar>;

Storybook will instantiate RBTMenuBar with the generic type {}, instead of the generic type I want the default arguments to contain.

Does anyone know how you get around this?

#react #storybook #webdev #bootstrap

View original on kbin.social
1
gaming·Gamingbystevecrox

Stellaris Sale, what would you pick up?

I enjoy playing Stellaris, I have the base game and have slowly been learning how to while not win .. not loose horribly.

There is mountains of DLC and most of it is on sale. Is there anything people particularly recommend?

My focus has always been evolving through the tech tree and trying to build good enough defenses to hold the enemy at bay (learning you could customise ships was a game changer for me).

View original on kbin.social
7

You reached the end