AndreyK1984
AndreyK1984 on Hacker News
Posted by
AndreyK1984 on Monday October 05, 2026 @12:41PM
from the show-hn dept.
https://playgama.ai/play/55p62bkfsc
I published it to playgama, but first want to say how it helped me. One of my ideas was to make something like X-Com but provide an indirect control - you control the leader, and your squad members make the turns themselves, based on their intelligence stats! If they get alive over battles - they learn how to play smarter, not just to get MORE hp!Now the most interesting part - the development....
good enough for simple tasks.
Now please, start researching TRT too. Just go to pubmed and make a meta analysis of all advantages and disadvantages.
Why not to have timestamp-uuid instead ?
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.
CamuFox will fix it easy peasy.
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
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.
I was exactly going to shot Tesla. Is Tesla more like Elon meme ?
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 ?
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.
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
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.
Posted by
AndreyK1984 on Friday January 16, 2026 @06:55AM
from the self-post dept.
Hi folks! I have huge success on a prototype of this approach:- Store all data as json- App loads: load full json on a client- Something changes by user - change json locally and every 10 seconds save whole json to backend as a single json file- also every 10 seconds load the updated json from backend to client.Yes, I know, parallel access problems, lack of schema, lack of db, using file to...
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.
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.