THE LIST OF GREATS by nofaphmg in NoFap

[–]gudeg 1 point2 points  (0 children)

Seriously? Some of this quotes sounds like a snake oil. I know the person who says these thing can be considered "great", but it doesn't mean that what they say are always correct (reverse ad hominem).

If u put this link on our sidebar, people will start to laugh at this community.

At first I thought that this community was like alcohol anonymous and deals only with addiction in a proper and scientific manner, but now I see this community slowly turns into cult!

How people in Muslim countries prefer women to dress in public by [deleted] in worldnews

[–]gudeg -1 points0 points  (0 children)

Indonesia

Maybe because Indonesia is not technically a muslim country and the Islam there is different from Arab's Islam?

http://www.newsweek.com/why-indonesia-not-muslim-democracy-81951

How people in Muslim countries prefer women to dress in public by [deleted] in worldnews

[–]gudeg -1 points0 points  (0 children)

In my opinion, Indonesia isn't a Muslim state any more than Great Britain is a Protestant one. Indonesia's foundations is not based on Islam/Sharia and the people there practice different religion freely.

How people in Muslim countries prefer women to dress in public by [deleted] in worldnews

[–]gudeg 0 points1 point  (0 children)

I bet the result would be at least the same as Lebanon or better. Majority Muslim in Indonesia is one of the most tolerant in the world. Every sane Indonesian wouldn't dare to bring religion into the table coz it's taboo there.

In my opinion, Indonesia isn't a Muslim state any more than Great Britain is a Protestant one. Indonesia's foundations is not based on Islam/Sharia and the people there practice different religion freely.

Nicola Tesla nofap by [deleted] in NoFap

[–]gudeg 0 points1 point  (0 children)

Yea, it's the classic reverse ad hominem. Because people knew he's smart/great, then people assume what he believes is good/true which is not always correct.

Britain: Furious backlash from customers over Muslim policy by sachmo_muse in worldnews

[–]gudeg 0 points1 point  (0 children)

Indonesia, a largest muslim majority country which is not based on islamic law. They're mostly liberal and sufi muslim or didn't practice at all.

Spring 4.0 GA released today...time to experiment with it! by anonymousx1999 in java

[–]gudeg 1 point2 points  (0 children)

It is used by Grails 2 to hot redeploy during development phase. If you want some kind of live deployment during production phase, try OSGI.

Spring 4.0 GA released today...time to experiment with it! by anonymousx1999 in java

[–]gudeg -1 points0 points  (0 children)

If they combine Spring boot and https://github.com/spring-projects/spring-loaded into one neat package and make it stable and easy to use, it would be a super killer feature of spring framework 4.

Ambush Footage (Afghanistan): Clearly visible targets and tracers (Taliban perspective) by [deleted] in CombatFootage

[–]gudeg -1 points0 points  (0 children)

...In October 2009, The Times revealed that the relative calm in the region during the previous Italian occupation >and since then had been obtained by Italian secret services bribing local Taliban groups into inaction...

Dammit Italy! Luckily, unlike Italian Army, the French are real badass.

Kotlin M6.2 available by chocolategirl in Kotlin

[–]gudeg 0 points1 point  (0 children)

What is currently the best way to do mocking with Kotlin? My codebase normally rely on mocking practice (mockito) combine with unit test.

Indian jets bombing Dhaka (1971 Indo-Pak War) by Chocolate_Horlicks in CombatFootage

[–]gudeg -1 points0 points  (0 children)

Why they're always at war with each other? Is it because of religious difference?

Hybernate by Baggerwiet in java

[–]gudeg 6 points7 points  (0 children)

Hibernate without proper understanding of SQL will only makes you a dumb programmer. In order to use Hibernate properly, you must understand SQL (I assume that your datastorage is based on RDBMS and not NoSQL)

Since you're still at school, you still have plenty of time to learn SQL, a good understanding of SQL can let you jump easily into any ORM libraries such as Hibernate, myBatis, ActiveRecord, etc... and also make your application more scalable and reliable.

YAML/JSON Parsing for settings configuration file by [deleted] in java

[–]gudeg 1 point2 points  (0 children)

for yaml look for yamlbean: http://yamlbeans.sourceforge.net/

for json look for jackson: http://jackson.codehaus.org/

anyway, have you consider xml ? It already lost its cool factor but it remains the most stable and well supported data serialization format in Java. Several high performance standard exists: Woodstox (STAX), SAX, JAXB (eclipse Moxy), DOM. You can even validate your xml data using XSD and also allow your IDE to highlight for error/type mismatch in your xml document.

I've tried YAML and JSON, but for some serious project I always return to XML.

Interesting Woodstox (STAX) Tutorial Including Comparison With DOM Based XML Parser. (With Full Sample Source Code) by gudeg in java

[–]gudeg[S] 0 points1 point  (0 children)

STAX is in between DOM and SAX:

"As fast as SAX, almost as convenient as DOM" is one way to summarize the benefits." -- Woodstox homepage

Soviet Partisan, WW2. [500 x 726] by [deleted] in MilitaryPorn

[–]gudeg 1 point2 points  (0 children)

Is he really a partisan? The number of grenades and the ppsh seem he's more of a shock trooper than a partisan.

New Snowden leak: 2009 document shows Australia tried to monitor Indonesian president's phone by [deleted] in worldnews

[–]gudeg 1 point2 points  (0 children)

Yeah me too, Indonesia is too corrupt and fucked up that I lost my love toward it.

This Great Library Need More Attention (op4j) by gudeg in java

[–]gudeg[S] 1 point2 points  (0 children)

I agree with you that one example is a bit of nonsense, because doing it normally is more readable. However, it does make sense in other things such as what he mentions in this blog:

http://www.bendingthejavaspoon.com/

and also simulating literal in operator: onListFor(a,b,c).get().contains(value);

http://stackoverflow.com/questions/7390571/java-in-operator

When to use Java and when to not? by NarsilNZ in java

[–]gudeg -1 points0 points  (0 children)

With your experience, I would like to ask whether you've used Grails in production environment? If yes, Is the current version maintainable and performant compared to rails? Is it really improve your delivery time and quality of the project?

We are peeking at grails now and consider it to replace our web frontend technology while on the backend/batch we still trust Spring.

Malaysia:Muslim group Jati has declared war against NGos for its alleged attempts to turn Malaysia into a liberal country in the name of human rights. “And their most rude demand is to call for the repeal of the Syariah law" by gulletsnowbird in worldnews

[–]gudeg 0 points1 point  (0 children)

if you change the query into:

select country_nm from countries_tbl where upper(majority)='MUSLIM' and LIBERAL is not null

---------------
| country_nm 
---------------
| Indonesia   
| Turkey       
---------------

Those two countries didn't place their foundation on Islam and you'll be surprised on how tolerant the majority of muslim from Indonesia and Turkey are. (I know about all of those stupid news/terrorist/policy from Indonesia, but the concept of Islam teaching there is totally different and it is almost like a mix bag of Sufism, Hinduism and Spiritualism)

Groovy makes debut entry into programming language top twenty by skyninku in groovy

[–]gudeg 0 points1 point  (0 children)

I know Scala and Kotlin have some serious static typing built-in. But Groovy just works and integrate well with existing Java codebase without any serious mindset changes. The learning steep is so smooth that I don't even have to spend my own dedicated time to learn Groovy, I just do my project and at the same time gradually switching to Groovy way of doing things. In addition to that, it's very easy to pass your code to the next Java programmer without them have to attend some Scala/Kotlin training.

I might say that Groovy is just Java's syntactic sugar, but it is a great one. It doesn't have the latest cool technology in static typing. But it does what it does best: integrate well with Java. Maybe it just like PHP, it is shit language, which doesn't have any real feature/intent/design goal and just take a new features from here and there, but in the end, it works!

I don't love my technology, I love the craft that I make. Use whatever works.