« first day (1274 days earlier)      last day (3182 days later) » 

8:25 AM
@vzn have you tried putting constructor in destructor in Java?
 
 
7 hours later…
vzn
3:06 PM
@EvilJS ? java doesnt have "destructors". reminds me of a recent question
10
Q: Why is the object destructor paradigm in garbage collected languages pervasively absent?

dbcbLooking for insight into decisions around garbage collected language design. Perhaps a language expert could enlighten me? I come from a C++ background, so this area is baffling to me. It seems nearly all modern garbage collected languages with OOPy object support like Ruby, Javascript/ES6/ES7, ...

 
3:17 PM
Ok, on finalize when it is collected
PHP, C#, even JS can be enforced to dispose and collect
I was testing strange behaviours to implement own collector, they seem to utilize resources and crash
Poor question, sorry, ontopic now are starting classes PDP ;)
 
 
2 hours later…
5:12 PM
"What are ways to make sorting stable, is there extension to smooth sort?" would be valid question?
I know there are hacky methods like modifing keys, or adding structures for duplicates, but those are hacky and inefficient methods. I haven't seen any attempts to make smooth sort stable.
Also should I post question which I asked here and got answer?
If somebody ask about algorithm, working example as code is good answer, just attachment to answer or should I avoid it?
Are you playing some code wars? Games that have some finite toroid space, defined language and execution specification, everybody write own program (warrior) and than there are thousands of rounds and winner is the most efficient program to get rid of rivals?
 
vzn
5:58 PM
why do you want to make sorting stable?
 
@vzn I asked about games : are you playing, to make some matchbor something.
I have two dimmensional data, I want to sort it on one dim, but the order of elements on the other is important to be safed.
*saved
 
6:13 PM
And Smooth sort - curiosity, couldn't find any resources on that
 
vzn
@EvilJS what is "matchbor"? check out that site you might find some stuff you like. they have some halfway decent competitions at times.
 
Play match, play game, 'b' instead of ' '.
 
vzn
@EvilJS sounds like good way to kill time :)
 
@vzn try to prepare somebody for experiment, put EEG on the head and leave room for one hour, six times in row, but still stay nearby ;)
 
6:36 PM
I asked about question because it seems too broad, too localised, but there is good reception of quite similar problems. And still to be determined - repost questions from here?
 
7:11 PM
@vzn oh my so you reposted in comment presentation about algorithms that I deleted lol
About Four Russians algorithm xD
 

« first day (1274 days earlier)      last day (3182 days later) »