971 reputation
515
bio website
location
age
visits member for 3 years, 1 month
seen Apr 24 at 13:23

May
25
awarded  Yearling
Apr
12
revised how to design a stack without using java library or using list
added 239 characters in body
Apr
12
answered how to design a stack without using java library or using list
Apr
6
revised What are the perks and drawbacks of using html templates versus building the html in-code
added 29 characters in body
Apr
6
answered What are the perks and drawbacks of using html templates versus building the html in-code
Apr
6
comment What are the perks and drawbacks of using html templates versus building the html in-code
I see that you're mentioning frameworks that target functional languages. Are you specifically targeting functional languages, or are other languages welcome as well?
Mar
31
awarded  Notable Question
Mar
31
revised What are the valid test cases for method calls within if-else condition
added 132 characters in body
Mar
31
revised What are the valid test cases for method calls within if-else condition
deleted 6 characters in body
Mar
31
revised What are the valid test cases for method calls within if-else condition
added 102 characters in body
Mar
31
answered What are the valid test cases for method calls within if-else condition
Mar
31
comment Is the flyweight pattern a good security choice for managing permissions?
I've made an edit to make the limit on the scope of the answers look less dramatic (At least, I hope it does that) Thank you for pointing out the effect of that particular line
Mar
31
revised Is the flyweight pattern a good security choice for managing permissions?
added 60 characters in body
Mar
31
comment Is the flyweight pattern a good security choice for managing permissions?
Well I wanted to avoid getting slammed with the type of answers/comments that basically tell me to go learn security for security's sake, and that don't deal with my use of flyweight for permissions.
Mar
31
revised Is the flyweight pattern a good security choice for managing permissions?
edited title
Mar
31
revised Is the flyweight pattern a good security choice for managing permissions?
added 191 characters in body
Mar
31
revised Is the flyweight pattern a good security choice for managing permissions?
added 191 characters in body
Mar
31
comment Is the flyweight pattern a good security choice for managing permissions?
I don't want to bash you, but the security is at the heart of this question. However, I'm well aware of the purpose of the flyweight as a memory saving pattern, and that this might not be its ideal case. I thought that if you'd have 1k people loaded in the system, then it might be a factor. I was worried about the security aspect specifically though, the rest is all up for debate, really. Currently there are about 10 different kinds of permission planned, and it needs to be very expandable for new operations that might be added later. Flyweight came to mind as a flexible way of managing those.
Mar
31
comment Make a java program use more processors
If you don't want to use J8 for some reason, a tread pool is also a good alternative. It limits the max number of threads being executed to the level of your choice. Of course, there will always be the handling of the data to deal with. (issues of atomicity and synchronisation)
Mar
31
comment Make a java program use more processors
I'd start reading up on concurrent programming (CP) if I were you. CP is a very broad topic that you can take quite a bit of time to master. If you haven't got any clue, start with the basics. There's quite a bit of theory to master to get a grip on the matter. A book like Modern Operating Systems by A. Tanenbaum is a good foundation to build on. en.wikipedia.org/wiki/Modern_Operating_Systems