« first day (1698 days earlier)      last day (3257 days later) » 

12:24 PM
fvck my life. really.
who can summarize for me what spring and hibernate is. are they on the same league (sense of use)?
 
no..
hibernate is a O/R M
and Spring is an MVC framework..
 
@LeeJeong u can integrate hibernate with spring
 
@LeeJeong in simpler words, Hibernate provides easyness of access to databases. Spring provides wiring for many different components (among other things). It also used to be everyone's weapon of choice for dependency injection
 
are there alternatives to Spring? and are they worth the use? @Vogel612 @Gaurav
 
@LeeJeong spring has various facets
 
12:35 PM
@LeeJeong regarding DI, there is Guice, Dart and a few others I do not remember
 
which facet do you need to subsitute
 
uhm maybe just the MVC part of things.
 
@Gaurav i managed on my own to resolve the issue.
 
im not sure what is facet that your talking about
 
i have a question now. I have this value 2.78667264E8 that represent the utilization of the cpu, how i can convert it to determine the real % of use?
 
12:38 PM
@LeeJeong regarding MVC, there's Struts, GWT, Grails, Vaadin...
plenty of choice
 
@Tavo what's your preferred choice?
 
none, I'm mostly a core backend dev. In terms of popularity I would say it's Spring (avoid it at all costs), Struts (never used it) and GWT (which seems to be very popular these days)
 
@LeeJeong spring
only learnt this and struts
 
but maybe you want to try something newer/less mainstream like Vaadin or Grails
 
spring basically have aop
 
12:42 PM
@Tavo you mean Spring is the most popular, but you avoid it, correct?
 
which is used in most of the projs
 
whats AOP?
 
for MVC I'd just try to rely on JSF
 
@LeeJeong yeah
 
AOP -> Aspect Oriented Programming
 
12:42 PM
@Vogel612 summary of what that is?
 
@LeeJeong @Vogel612's suggestion is quite good as well
 
@Vogel612 JSF as well is on same league with Spring?
 
no no..
 
is it any easy to begin with @Vogel?
 
JSF is something like ... jsp in waaaaayy cooler without Servlets and dead simple..
@Tavo well.. the project I was working on a while ago was JSF (with primefaces).
 
12:45 PM
@Vogel612 that sounds like a no :P
 
and... we basically created a new maven project with an archetype and were... ready to go
 
ah, ok
 
I didnt get my answer for AOP
 
for AOP?
 
you did, look above
 
12:45 PM
In computing, aspect-oriented programming (AOP) is a patented programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. It does so by adding additional behavior to existing code (an advice) without modifying the code itself, instead separately specifying which code is modified via a "pointcut" specification, such as "log all function calls when the function's name begins with 'set'". This allows behaviors that are not central to the business logic (such as logging) to be added to a program without cluttering the code core to the functionality. AOP...
 
lol
 
and I didnt get as well what was JSF or its advantage with Spring
 
the other on wasn't enough
 
@Vogel612 dude, i dont want that. i want your classy short and simple answers.
 
Spring is dead-complex to get started with
 
12:46 PM
@Tavo @LeeJeong dontknw who wants the answer to aop
i ll answer it anyhow
 
@Tavo i guess that closes it. haha.
 
@LeeJeong I've never used it, classy and short answers often require in-depth knowledge
 
@Vogel612 claims JSF is much simpler
 
well you guys do answer that way, along with Unihedron, Gemstatic and fge
 
mostly because you don't have quite that much magic.
 
12:47 PM
ahhh.. I see. does desktop applications still have any future?
 
@LeeJeong good question
 
T.T
@LeeJeong just check the transcript of this room for that very question
 
@LeeJeong Yes.
 
very open to debate these days here in London, as I've bumped into a few startups that are going down that road nowadays
 
if I have a prog with 200 setters
I have a requirtement to log every setter fn
instead of changing every setter fn , just use aop
and it will automatically add logger fn
no need to hardcode
 
12:49 PM
@Vogel612 the description of the room is quite garbled on my browser, some phrases are like square boxes.. so what's your answer?
 
@LeeJeong The description is perfectly fine. You're using windows?
 
@Tavo what are they up to, desktop apps? seems like everything is going web, and now im going crazy here trying to maintain a web app with at most 217 combinations for support for type of device, browser type, browser version, OS and other shits.
@Unihedron yes, using windows. can you tell me what does the line before the parenthesized clause is?
 
irrelevant to the current discussion ...
 
@Vogel612 please just tell me.
 
also transcript != description
 
12:51 PM
Hey @LeeJeong
 
oh sorry..
@wonderb0lt hey dude!
 
@LeeJeong as a token, there's a company (I would not give the name as I don't want to do advertising) that is building a piece of software that lets you create an API out of a web page
 
transcripts are located where?
 
That's your fault, really. Also, it says "Android is not Java".
 
all done as a stand alone, desktop app
 
12:52 PM
@LeeJeong Upper right corner -> room -> full transcript
 
thats the transcript @Unihedron correct?
im so noob.
 
no... that's the description....
 
@LeeJeong That's the description.
 
@Tavo sorry what?
 
12:53 PM
would you mind drinking a coffee, please?
 
It's the one that appears here:
 
and plug in your brain
 

Java

Dedicated to the discussion of the Java programming language a...
 
interesting...
YACEB
 
fge
Hoo, it appears that there's a bug with code points outside the BMP in room descriptions
 
12:54 PM
((Consumer<Coffee>)@LeeJeong)
 
@Vogel612 dude, im really like this. ignorant, thats why i hangout here to reduce my ignorance and get more awesome like you guys. xD
 
!urban YACEB
/help
 
Commands=====================
/about     Displays information about this bot.
/define    Displays word definitions from the dictionary.
/help      Displays this help message.
/http      Displays information about HTTP status codes and methods.
/javadoc   Displays class documentation from the Javadocs.
/shutdown  Terminates the bot (admins only).
/tag       Displays the description of a StackOverflow tag (acts like a Computer Science urban dictionary).
/urban     Retrieves definitions from urbandictionary.com
/wiki      Displays a one-box for a Wikipedia page.

Listeners====================
mention   Sends a reply message when someone mentions the bot's name.
 
ah
silly me
/urban YACEB
 
@wonderb0lt No definition found.
 
12:56 PM
!!urban YACEB
 
@Tavo No definition found for YACEB
 
neither
 
I'm confused
 
:D
 
fge
12:56 PM
Stream.of(CAFFEINE).parallel().map(IvProvider::create).forEach(developer::injec‌​t)
7
 
sorry.. 2nd monitor carried over.
 
@fge Injecting... Caffeine...
 
@fge love the "inject"
 
brilliant
 
-> Yet another character encoding bug
 
12:57 PM
Yeah that's in the interface for every developer, injecting things...
 
are most of us here developing java for web apps?
 
Haha developing with java
I wish :D
 
For definitions of most that excludes me, sure,.
 
I'd not go so far as to call what I do "developing" anymore
 
oh! needs really caffeine
 
12:59 PM
@fge you should really pool your IvProviders...
 
@Vogel612 "monkey patching"?
 
are most of us here uses java for developing web apps?
 
@MadaraUchiha at most..
if not "risk-management and zombie research"
 
fge
@Vogel612 that's a static factory method :p
 
hi guys
 
1:33 PM
rolls into the room nasdnfnfnghnnnnnngh
Morning, Java
Ugh. Natural start to the morning, Eclipse keeps going not responding
 
@Nexion give it more memory..
 
It has 2gb...
 
At my old company I was told to stay away from other people's PC because everyone's eclipse froze when I was near it :(
 
@Nexion that's cute...
I allocate that much as minimum mem...
and I close all projects I'm not currently working on..
 
Yup. I only have two projects open.
Its not a memory thing, I think java is just angry this morning
 
1:37 PM
16 source-files 2 projects, JUnit, Outline with varying amounts of nodes, project explorer, type hierarchy ...
about 5 different filetypes, almost all files beyond the 2k LoC...
 
yay, now it wanted to start
 
fge
Aaah, documentation
 
1:49 PM
Good morning java-nam!
 
waves at @Dustiny
Really, you're going to parse out my @ because it was in italics? Weak.
 
hu @Dustiny
 
Hey @Dustiny
 
How's everyone's mornings/evenings going?
 
slowly moving forward...
very slowly
 
1:57 PM
After nearly killing everyone on the road this morning...
I am very groggy
 
its fvcked up like shit.. im so fed up with this ticket.
 
@Tavo Like molasses sliding down a 10 degree slope?
@Nexion That's funny because I almost got killed by atleast 3 asians on the way here, not too bad considering
 
@Dustiny why would they do that? where'd you live?
 
That moment when your company commons code isn't documented enough to figure out how it posts a Request Parameter...
 
@Dustiny like Sisyphus pushing the rock uphill
 
2:00 PM
@LeeJeong Toronto, Canada
they kept throwing hadoukens at me
 
dies
Omg lol
 
@Tavo Just don't slip and let the rock crush you!
 
@Dustiny that got an audible sigh out of my coworker who is the king of dad jokes
 
I'll take what I can get I guess haha
 
ok, IntelliJ just went mental. It's highlighting System in red...
 
2:03 PM
And you're also only about 4.5 hours away from me!
 
40% of my jokes in real life are for pure shock value, so I'm used to people just staring, or cringing
@Tavo o.o SYSTEM MELTDOWN
@Nexion OH nice! you're in new york somewhere I'm assuming? possibly buffalo or detroit area?
 
I'm kicking my computer, but doesn't seem to work...
 
anyway, does anyone have any idea of how to get the unknown fields from an ObjectMapper that transforms a json String using a schema?
 
Are you all canadians in here now? (except for Lee)
 
2:07 PM
it's throwing an exception, and I would like to log the fields that don't match the schema. objectMapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES‌​, false); doesn't do that, just avoids failing
 
Detroit is in the USA and Tavo is spanish, so I think its just me
 
wait, detroit an't canada
 
@Gemtastic I live in London
and fge was living in Italy afaik
 
@Tavo Phew. I thought we suddenly went canadian in here with kamikaze chinese and shocking jokes and bad romances
fge is french
But he's not in here chatting atm
 
few kamikaze Chinese in Spain, but plenty of shocking jokes and awful romances
 
2:09 PM
@Gemtastic Most Canadians are nicer than I am haha
 
I'm not a swedish representative either
 
@Tavo I miss spanish girls..*sigh*
 
@Dustiny I don't :P
 
@Dustiny you miss any pretty girl
 
Haha yah they are hairy, but fun.. as far as what I gathered in my three weeks there (which probably isn't enough)
 
2:10 PM
@Gemtastic in what sense? Not sure what's the Swedish standard
@Dustiny hairy is not the real problem, although I agree with @Gemtastic
 
@Gemtastic nailed it.
 
and I would remove the "pretty"
 
Unlike @Dustiny rimshot
badjokehuskey.jpg
 
lmao hides in a corner
 
*pokes badjokehuskey.jpg"
 
2:12 PM
How the crap do you get a MultipartEntity out of an HttpServletRequest?
 
@Tavo Polite, afraid of conflict, sociable, pruder eh uh.. it's hard to generalize...
 
I will admit my mind is pretty dominated with thoughts of girls, I blame the media.. totally not my fault..
 
pfft
@Nexion Work spaghetti?
 
Indeed.
 
0
Q: Get list of unknown fields from Jackson

TavoI have a JSON schema, and a json string that matches the schema, except it might have a few extra fields. Jackson will throw an exception if those fields are there if I don't add objectMapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);. Is there a way to obtain a c...

 
2:18 PM
@Nexion You're gonna get fat if you keep having all that pasta ;P
 
Ugh I hate when a bug doesn't make sense and you can't quite pinpoint the exact spot causing it, but you can perform a "rabbit-pull" and get it to work
 
I'm already getting fat XD
 
I think pasta is the least of your concerns in the USA is it not? haha
 
@Gemtastic fair enough. There's normally a stereotype for every country or area within a country. I was just curious
 
@Tavo well, the stereotypes of the countrie's populations are usually other countrie's stereotypes
 
2:19 PM
I watch enough dinners, drive-ins, and dives to realize that 80% of everything is deep fried in the states lmao
 
@Gemtastic indeed. Swedish women in Spain are very stereotyped due to movies in the 70s
 
Sweden is pretty prude actually
 
but I think I know what people think about Spaniards in other countries
 
though you can't really tell when the swede goes to vacation. Tourists are always a pain, regardless of nativity XD
 
@Dustiny generalizing Guy Fierri to the general US population is insulting, lol
 
2:21 PM
@Gemtastic they tend to become quite red when they go to the beach :P
 
yup. Good ol' crabs
 
but Swedes are not the worst tourists by far
 
@Nexion Hehehe it was a joke !
 
Lies!
 
We're not used to sun, despite the ozone hole we can still eat every drop of sun and barely even get kissed by the sun. Then we go abroad and turn into crabs XD
 
fge
2:25 PM
<-- impatient to move to Spain
I've had it of rain and cold temperatures
 
@Tavo I actually love spanish people, personally
 
@fge where?
 
It's fun to call them Mexicans though if you really want to piss them off lol
 
fge
@Tavo most probably Sant Cugat Del Valles
 
@Dustiny that just continues the stereotype of ignorant Americans
 
fge
2:27 PM
Close to Barcelona and not even remotely as noisy as Barcelona is
 
yeah, but it's not by the sea
 
@Tavo Yah, its like a last resort insult sort of thing. I personally wouldn't but I've seen it done before
 
fge
@Tavo I don't care; it's not even an hour to get there if I want to
 
@Dustiny You're so offensive :')
 
@fge more like 20 mins :)
 
fge
2:28 PM
Well, yeah, that's not an hour, right? :p
 
hahaha
indeed
@Dustiny I don't feel offended for things like that, but in Europe we tend to think that most Americans are completely ignorant about geography
 
@Gemtastic O:). I'm pretty hard skinned so I usually just assume everyone else is lol.
 
@Tavo He's canadian
 
@Tavo From what I can tell, and statistically speaking, a lot of them are. I'm Canadian though
 
Soo, no excuse there :P
 
fge
2:30 PM
Hey, American is not a synonym for "US citizen"
Mexicans are Americans too
And so are Canadians for that matter, or Brazilians, or Peruvians
 
Someone in the room with experience on JNI C++ to Java? I'm trying to send images and almost got it working, please take a look here and make my day: stackoverflow.com/questions/…
0
Q: JNI C++ to Java 32 bit image not showing properly

MicroHat11I have the following C++ code for JNI JNIEXPORT jbyteArray JNICALL Java_client_jni_NativeWindow_getBitmapData(JNIEnv *env, jclass c, jint hWnd) { HWND hwnd = (HWND)hWnd; HDC hdcScreen = GetDC(hwnd); HDC hdcMemDC = CreateCompatibleDC(hdcScreen); RECT rcClient; GetClientRect(hwnd, &rcClient); HB...

 
@fge Technically speaking, sure. But in reality, no.
 
fge
@MicroHat11 let me have a guess; endianness problems?
 
Could be
I don't really know what's wrong
 
fge
I can't tell either; I'm not into graphics at all
@Tavo by the way, I have a really hard time with Spanish :/
 
2:32 PM
@fge True, very true, but sadly, the US citizens have stolen the name "americans" for themselves :P
 
Awe man
 
^Exactly
 
So I'm posting some XML in a huge string, I can get it on the server but it has a bunch of other random Request metadata on it
 
O.o
 
Anyone use Color() here?
For the life of me I can't figure out the single int sRGB version of white, it's starting to get annoying
 
fge
2:37 PM
No, I'm too dull for that; my life is black and white and anywhere inbetween :p
 
@Dustiny: -1 is transparent, good enough?
 
LOL.
Yeah i'll give it a shot, the docs are misleading by saying it only goes from 0-255 lol
 
@fge why so? You speak French and Italian, right?
 
fge
Yes I do, and that doesn't help in the slightest
 
@Gemtastic still counts as American right?
 
fge
2:39 PM
In particular with the basic pronunciation
 
@Dustiny what about 0? Or is 0 black?
 
@MicroHat11 Thanks, that worked. 0 is black
 
@Tavo Now you get in on it
 
@fge yeah, French have a hard time pronouncing Spanish and viceversa
@Gemtastic I can be offensive too :P
 
@Tavo I could see that, French is very nose-based is it not? And spanish, kind of tongue based? or am I out to lunch
 
2:41 PM
I was just taking the piss a bit
 
@Tavo No, please, it's enough as it is
 
One of my biggest pet peeves is when people are offended by the possibility of someone getting offended.
 
fge
@Tavo well, I can pronounce Italian quite well (without boasting) but Spanish eludes me :/ For instance the 'g' in 'tecnologia' I still have trouble understanding how it sounds any different than the j in, say, 'trabajo'
 
@fge it doesn't
 
fge
Ah...
Well, that is indeed a fundamental difference between Spanish and Italian :p
 
2:42 PM
hahaha
indeed
 
fge
And Spanish has dead letters too; Italian doesn't
 
also, there's no difference (in Spain, there is in Latinamerica) between 'll' and 'y'
@fge not where I'm from :P
 
fge
Really?
 
in the south of Spain we pronounce the 'h' as a mild 'j'
 
fge
So you do accentuate the 'h' in "ahora"?
 
2:44 PM
in that case, very mildly
but you can tell it's not silent
 
fge
Ahwell, I guess I'll make out the differences when I actually live there
 
yes. But no worry, the northern accent is easier :)
 
fge
One thing that really didn't help is that a lot of signs were written in Catalan and not Spanish!
 
hah
in Catalá
 
I've wanted to learn Spanish for a while now. Issue is you don't really learn much until you ingulf yourself in the language
 
2:45 PM
:P
 
fge
I can make out Italian dialects all right, but in Italy, even in provinces with strong lingual culture, all signs are in Italian
No signs in Neapoletan or Sicilian, for instance
 
@Dustiny Spanish is quite hard to learn to be honest. But give it a go, it's an useful language
@fge there are many reasons for that, many of them historical, many of them political
 
fge
Indeed it is; if my memory serves correctly it's the third most spoken language in the world (after Chinese and English in that order)
 
but yes, it's a bit absurd sometimes
 
fge
But my data may be outdated
 
2:48 PM
when I moved to Barcelona ages ago, I saw a lot of shops named "perruqueria". I thought it was a clever name for a "peluqueria" for "perros". Turns out it's the name for "peluqueria" in Catalan
(facepalm)
just for everyone else: peluqueria -> hairdresser. perro -> dog
 
fge
Heh, there is my Italian influence again
Each time I read 'qu' I expect it to be pronounced like Italian's 'qu'; but no
Four in Italian is "quattro", in Spanish it's "cuatro"
Spanish's "cu" is Italian's "qu"
Italian's "ch" is Spanish's "qu"
That's confusing :/
@Tavo while we're at it, is there any difference in pronunciation between the 'z' in "quinze" and the 'c' in "precio"?
 
nope
same phonetic symbol
but it's quince
 
ni hao - wuo men yao geo! Porque no quiero todos los arboles.
 
you mean 'z' in 'zapato' for instance
:)
 
I have a question, If facebook were to use a storage system for their servers , what would be better for them-- Nutanix or Nexenta ??
 
2:55 PM
They have their servers in Kiruna, sweden
 
translated: hi - we want alcohol! but I don't want all the trees.
 
Nutanix is a hyperconverged solution , whereas Nexenta is a 100% software solution (Software Defined Storage)
 
heading to a 2-hours meeting
:(
see you tomorrow!
 
Enjoy @Tavo !
 
yeah, but if they were to use one of these two, then?
 
2:56 PM
@Dustiny I'd rather hit my teeth with a hammer... But I'll try not to look at my mobile too often
niters!
 
@Tavo That would be an acceptable excuse for missing a meeting
 
fge
@Tavo oops
 
~screams
 
fge
I even learned about the formal way of speaking
Usted (singular), ustedes (plural)
 
@Woodrow Lol what does that even mean?
 
2:58 PM
@fge useful for work, indeed
slightly different from the Italian polite form
 
fge
And that when addressing a group of people, if all are female, "we" is said "nosotras" but otherwise it's "nosotros"!
 
idk things get odd when I play with other languages @Dust
 
bravo!
 
fge
Yes, in Italian it's "lei" and "loro"
(and same for "vosotras" and "vosotros")
 
The first half was chinese (pinyin), and the 2nd half was spanish.
 
2:59 PM
checks to see if he's in the Java room
 
fge
@Unihedron sorry :p
 

« first day (1698 days earlier)      last day (3257 days later) »