HackerLangs
TopNewTrendsCommentsPastAskShowJobs

AndreyK1984

no profile record

Submissions

Tell HN: The way I do simple data management for new prototypes

15 points·by AndreyK1984·6 bulan yang lalu·8 comments

comments

AndreyK1984
·25 hari yang lalu·discuss
good enough for simple tasks.
AndreyK1984
·bulan lalu·discuss
Now please, start researching TRT too. Just go to pubmed and make a meta analysis of all advantages and disadvantages.
AndreyK1984
·2 bulan yang lalu·discuss
Why not to have timestamp-uuid instead ?
AndreyK1984
·3 bulan yang lalu·discuss
What about STORING excess power and delivering it during the day at a same level ? That is a critical part! I remember last time it was too expensive.
AndreyK1984
·3 bulan yang lalu·discuss
CamuFox will fix it easy peasy.
AndreyK1984
·3 bulan yang lalu·discuss
I try a simple absolutely layout (all calculated on a server), and helps me a lot. 1) no reflow 2) very few exceptions 3) WAY EASIER FOR LLMs
AndreyK1984
·4 bulan yang lalu·discuss
I started writing in a Dioxus (rust framework) style. max 1KB of js code. Sending the diff via WebSocket from the rust server, and , what is more important, all code is now on a server, and because of websocket and rust it executes almost same speed as on the client. Back to normal pages sizes. And, of course, virtual scrolling everywhere.
AndreyK1984
·5 bulan yang lalu·discuss
I was exactly going to shot Tesla. Is Tesla more like Elon meme ?
AndreyK1984
·6 bulan yang lalu·discuss
Any chance to see the other side ? I regularly read the opposite side press, their points are basically this:

- get rid of all immigrants (illegal alients)

- get rid of everyone who is against ICE

- take Canada, Greenland, Mexico and Colombia

Thus seriously, any minimal possibility to justify actions of ICE? Scared, non trained, a very stupid agent, whatever ?
AndreyK1984
·6 bulan yang lalu·discuss
Hard feelings here. I like react and have to work with it, still it is all insanely wrong.

The best approach I've found so far is egui , and I hope people are moving that direction. Draw whole frame, collect events, process, update internal state.
AndreyK1984
·6 bulan yang lalu·discuss
Yep. If I have only one express js process - I can just save and load. if it is 1-5 users - lets story all in a single JSON (although sometimes I use excel for storage). People underestimate simplicity
AndreyK1984
·6 bulan yang lalu·discuss
Thank you, yes and indexed db too, as in other comment.

I like to have exactly two API calls.

-- load data (returns json)

-- save data (sends json, returns 200 ok)

That is all! Let frontend bind everything to that json and save it every 1-2 seconds in setInterval.
AndreyK1984
·6 bulan yang lalu·discuss
Thank you all for detailed answers! As I see, if all goes well the problem will be solved in two years (more or less).

Again, no comments regarding if it is good to hunt "illegal aliens" and kick them away - US citizens must decide this themselves.
AndreyK1984
·6 bulan yang lalu·discuss
Can someone tell me three things, please! - is ICE illegal or immoral ? Or it is a good tool used wrong ? - can people vote and make ICE stronger / weaker depending on their choice ? - are non registered people breaking the law or not ? Is it basically bad law or bad people ? I am sure US is republic and democracy together, but everyone here pretends ICE is a tool of dictatorship and should be stopped immediately.

If you ask about my personal opinion - it is an internal problem of US citizens, and they need to fix it.