« first day (785 days earlier)      last day (108 days later) » 

1:30 AM
0
Q: One connection for multiple object

naruI'am running into trouble implementing a proper code. I have several objects that use a ssh tunnel and I don't want to close and open a new connection each time. So I implemented singleton pattern to get the instance of my connection and I pass it to each object. After readings It seems that sin...

 
 
15 hours later…
4:15 PM
@райтфолд If I wanted to do cross-platform GUIs, but not on the JVM, what would be a sane alternative? JavaScript in the browser?
 
user1804599
@FredOverflow Cross-platform GUIs are always bad.
 
user1804599
Even if not all GUIs were bad.
 
user1804599
The browser is perhaps your best bet since it's a platform that runs on all platforms and that everyone is familiar with.
 
user1804599
> 1 xx * Z+< 0..*
1 2 4 8 16 32 64 128 256 512 1024 2048 ...
 
user1804599
The Haskell equivalent is zipWith shift (repeat 1) [0..]!
 
4:36 PM
I am considering Scala.js...
 

« first day (785 days earlier)      last day (108 days later) »