HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mypalmike

no profile record

comments

mypalmike
·il y a 3 ans·discuss
Presumably they're talking about the recent so-called "demake".

https://www.vintageisthenewold.com/now-you-can-play-myst-on-...
mypalmike
·il y a 3 ans·discuss
Yet you are reading and posting here when you should be out hiking and planting trees.
mypalmike
·il y a 3 ans·discuss
IIRC, the 1.8 inch drives were designed to take a beating. I think they had circuitry that would actively protect the platters from the drive heads when jostled(?)
mypalmike
·il y a 4 ans·discuss
You say, "you will know that it'll happen at that exact moment". I'm curious what you mean by this.

Do you mean that the user will know? Well sure, that's the pain point to avoid in this case. Anyone who has tried to quit certain versions of various browsers after a long session with many tabs, etc. will know this pain when closing a window. Server side applications can have similar issues.

Or do you mean the code will "know"? That is, the code will need to predict, at runtime, that a code path will be expensive and choose a memory release strategy based on some criteria?

Or do you mean the designer of the code will know, and avoid RC before implementing?

Honest question, I'd like to understand your perspective. Thanks.
mypalmike
·il y a 4 ans·discuss
Agreed. I'm not sure that the shortcut existing in the language is worth the fact that other devs on my team will use it in the former case.
mypalmike
·il y a 4 ans·discuss
But what if my application is say, a diagramming GUI where the user can create many nested items. When they delete a million items by removing a top level item, how are you going to avoid a pause if using single threaded synchronous RC? Per object determinism doesn't mean systemic determinism on a dynamic graph.
mypalmike
·il y a 4 ans·discuss
Yes. And you could use Lombok to do the same before that.

(Though I'm one of the weirdos who likes Java in it's explicitness, which is related directly to its verbosity. I like reading code where I can see what the local variable types are.)
mypalmike
·il y a 4 ans·discuss
Yeah you can't apply C++ style resource management (specifically, calling close() in destructors or expecting cascading destructors to trigger in sequence) to GC languages. Object lifetime in a GC languages does not generally align with desired resource lifetimes. You have to be explicit. This often means creating your own public close methods when wrapping a resource in a class.
mypalmike
·il y a 5 ans·discuss
Even in 100 year old brick houses (like the 1920s craftsman I once owned), the brick is almost always non-structural. Only in old urban commercial buildings do you typically find structural bricks.
mypalmike
·il y a 5 ans·discuss
In addition, office workers have the option of engaging in exercise during their off time to compensate for the sedentary aspect of desk work.
mypalmike
·il y a 5 ans·discuss
In case you didn't know, you can reasonably use sublime text for commit messages by making your editor "subl -w".
mypalmike
·il y a 5 ans·discuss
What's the specific mechanism of data capture you would be worried about?
mypalmike
·il y a 5 ans·discuss
What data would they even want? My WiFi password? My PPPoE password? All my https packets?