Android Development

natnai

Supremacy Member
Joined
Nov 6, 2007
Messages
8,020
Reaction score
1
Interfaces is what brings a lot of dynamism into the language. Much of the flexibility in a strictly typed class system is using the basic inheritance model. Without it, the language is pretty much as static as it seems on the code level. The indirectness offered by the inheritance model is the abstraction and vagueness to encourage logic encapsulation between modules in the ecosystem.

Java alone didn't really fill the space with complexities, I must say frameworks like Spring really _helped_ to add on the complexities with tons of XML, Annotation and properties files :)

Spring seems pretty similar to Symfony. It seems like Symfony was modelled on Spring's architecture, especially the IoC, loads of annotations, and the config files. The config files are just...:/ XML is so verbose, in Symfony I always just used YAML. XML is just....:/

Maybe there's some Gradle plugin I can use to parse YAML into XML. I'll have to look into that. Saves the trouble of having to type so much.

I never liked using them in Symfony. So far Spring hasn't done anything particularly bad to me, but then this isn't even close to a working prototype yet, so I'll reserve my comments. The other thing I want to try out is how WebSocket support is in Java. It's really very simple in a Node server, but something tells me it won't be so simple in a Java environment. Looking forward to it anyway.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
Spring seems pretty similar to Symfony. It seems like Symfony was modelled on Spring's architecture, especially the IoC, loads of annotations, and the config files. The config files are just...:/ XML is so verbose, in Symfony I always just used YAML. XML is just....:/

Maybe there's some Gradle plugin I can use to parse YAML into XML. I'll have to look into that. Saves the trouble of having to type so much.

I never liked using them in Symfony. So far Spring hasn't done anything particularly bad to me, but then this isn't even close to a working prototype yet, so I'll reserve my comments. The other thing I want to try out is how WebSocket support is in Java. It's really very simple in a Node server, but something tells me it won't be so simple in a Java environment. Looking forward to it anyway.

Apache Tomcat 7/8 has already implemented JSR-356 on Websockets, take a look at it. For Spring, I will recommend you take a look at Spring Boot.
 

natnai

Supremacy Member
Joined
Nov 6, 2007
Messages
8,020
Reaction score
1
Apache Tomcat 7/8 has already implemented JSR-356 on Websockets, take a look at it. For Spring, I will recommend you take a look at Spring Boot.

Wow, Spring Boot looks like a lifesaver. Embedded Tomcat too...nice! Read through the article on implementing a webservice, looks easy enough. Nothing too difficult.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
Wow, Spring Boot looks like a lifesaver. Embedded Tomcat too...nice! Read through the article on implementing a webservice, looks easy enough. Nothing too difficult.

Embedded Servlet container, can be Tomcat or Jetty in Spring Boot allows you to bring up your service for development or testing fast.

When you need to deploy into your staging or production environment, you can just build into a war file and deploy as accordingly.

Spring Boot save you a lot of configuration if you stick with the usual components, which in fact, most of the projects are using very standard components from Spring. For the exceptional cases, you are always free to venture outside, that's where your knowledge on standard Spring setup will come in useful.
 

Daimon

Banned
Joined
Oct 26, 2011
Messages
10,301
Reaction score
0
So nice of you, I call those bullshxt

Sorry but this is the absolute worst use of O notation I have ever seen.

I mean it in its simplest form - fun, stimulating, I like.

Wait. We have a tree of consciousness now?

Are you sure you are not just butchering the asymptotic notations? :o

I don't expect many people to understand the path of thoughts that I have travelled. Like I mentioned, you need to understand philosophy to see my meaning. So far I only found one person in US (with CS and Philosophy background) who can see meaning to it. You need at least >5 years of studying in Library reading books and writing.
 
Last edited:

Daimon

Banned
Joined
Oct 26, 2011
Messages
10,301
Reaction score
0
Alternatively, if like dwelling in the realm of meta-thinking, you can start with discrete mathematics. Induction is a very interesting subject. Show your first proof and I will concede that you are actually doing something productive.

Logic has presuppositions. I am exploring a way to go presuppositionless...
 

KnightNiwrem

Senior Member
Joined
Jun 1, 2014
Messages
1,057
Reaction score
0
I don't expect many people to understand the path of thoughts that I have travelled. Like I mentioned, you need to understand philosophy to see my meaning. So far I only found one person in US (with CS and Philosophy background) who can see meaning to it. You need at least >5 years of studying in Library reading books and writing.

Or you could just post your proof to show that your use of the big-O notation is correct - show that it is bounded by the order of growth that you claim it to be.
 

Daimon

Banned
Joined
Oct 26, 2011
Messages
10,301
Reaction score
0
Or you could just post your proof to show that your use of the big-O notation is correct - show that it is bounded by the order of growth that you claim it to be.

I made a mistake. When I think further, the way we create meaning is unbounded.
 

ykgoh

Master Member
Joined
Jan 1, 2000
Messages
2,782
Reaction score
0
Most importantly...

4 pages liao, and where is TS? :s11: Ask a question then disappear?
 

natnai

Supremacy Member
Joined
Nov 6, 2007
Messages
8,020
Reaction score
1
Or you could just post your proof to show that your use of the big-O notation is correct - show that it is bounded by the order of growth that you claim it to be.

It will probably go something like this:

Assume Theorem 1 ... Theorem n

QED.
 

KnightNiwrem

Senior Member
Joined
Jun 1, 2014
Messages
1,057
Reaction score
0
I made a mistake. When I think further, the way we create meaning is unbounded.

I guess your alleged "CS + Philosophy background friend with >5 years of library reading books and writing" was just... "humoring" you. :o
 

Daimon

Banned
Joined
Oct 26, 2011
Messages
10,301
Reaction score
0
I guess your alleged "CS + Philosophy background friend with >5 years of library reading books and writing" was just... "humoring" you. :o

I wouldn't said such a thing.

It's my mistake. There's no need to attack my friend for being insincere..
 

natnai

Supremacy Member
Joined
Nov 6, 2007
Messages
8,020
Reaction score
1
I wouldn't said such a thing.

It's my mistake. There's no need to attack my friend for being insincere..

Ok. The million dollar question is, have YOU done anything yet? I mean whether it's writing philosophy papers or programmes. I mean, have you PRODUCED anything? Or have you just been CONSUMING?
 

turnerner

Member
Joined
Nov 4, 2006
Messages
316
Reaction score
1
custom rom

hi guys,

i had a custom rom on my android device.
am trying to get virtual call to work but on some devices it work but most of the device doesnt work. dont know where goes wrong. when i swop the sim card from a non working device to a working device it work, so not sim card issue. the rom is the same.

any idea
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top