Hacker Newsnew | past | comments | ask | show | jobs | submit | rafaelgoncalves's commentslogin

so sad, hope the family get some kind of closure (never will be enough with an lost life)


on postgres I can update a field easily and atomically with transactions (or there is something I don't know about?), like (postgresql 14)[0]:

   UPDATE users SET profile = profile || '{"lastname":"Washington"}' WHERE profile->>'name' = 'George Washington';
[0] https://stackoverflow.com/a/38045827


Nope. If two writes happen concurrently on different fields you'll lose one write, unless you lock. The storage layer just stores the data as a blob that gets overwritten every time, it doesn't support partial updates.


Of course it supports partial updates. It just requires you to know the difference between a document and a field, and model your data appropriately.


so nice memories, and the same occurred to me, but was writing macros and hotkeys for Ragnarok Online (in Pascal/Delphi and VB/6)


got here to comment on that, hella impressive and looks so simple and clean.


whoa, didn't know PonyORM, looks really neat! thanks for showing


wow, impressive! this game bring so many good memories.


i have the same sentiment, and for me systemd was getting so slow and hard to tshoot (the tools to analyze boot graphs and sequence showed service sequence breakage, some times there is no problem, sometimes sequence changed and problem happened) and i just changed for another distro without systemd and boom, startup in seconds no problem at all.


Which distro did you land on?


I switched to Void Linux, have been great so far.


lol, so true, and that both are really good malware attack vectors (chrome/vscode extensions, etc.)


the creator even acknowledged the risk in the sample... but i do not understand why not create a more secure sample first time? since people will absolutely copy to test.


totally agree and i have this same feeling. An the fact they provide this "updates" and doubling down the same points is unnerving.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: