« first day (1860 days earlier)      last day (3075 days later) » 

3:00 AM
@MadaraUchiha My Felicitations ! You made it. Good luck. Hope you will do a good job to the community as you always did.
@Vogel612 Nice !
@Vogel612 I love the theme :)
 
 
2 hours later…
4:50 AM
@Vogel612 gZ!
@Michael Java is already in a broken state :P
 
5:49 AM
@Vogel612 I saw, the design looks sweet :D
Can't wait to get some for Anime & Manga
 
 
1 hour later…
fge
7:00 AM
@ItachiUchiha this one is for you
 
7:51 AM
Morning.
 
Morning
 
fge
Buon giorno
:p
 
Ohayou fge-san
 
fge
Buenos dias, bonjour, etc etc
Hmm
I'll open a bug with Jetbrains for that "type intersection problem" I guess
 
@fge What does that mean? Stream.<X>of
The generic on the interface method?
 
fge
@MadaraUchiha that is forced type inference
No idea why that works in this case, though
But basically, say you have Base, then NotSoBase inheriting Base, then C1 and C2 both inheriting base
If you have c1 of type C1 and c2 of type C2, then Arrays.asList(c1, c2) will return a List<NotSoBase>
By doing Arrays.<Base>asList(c1, c2) then you get a List<Base>
I use the same trick here to force the compiler to generate a Stream<X>
 
8:28 AM
I see
 
morn
 
@fge relevant: ImmutableList.<Integer>of(1, 2, 3)
 
9:23 AM
good morning
 
morning
 
fge
Hmm, how many bugs in the JDK have I found so far?
Or rediscovered
 
<- hasn't written any Java code at his new Java job yet
 
9:40 AM
That's a bit funny
What have you been doing?
 
Mostly research and administrative stuff, tiny bit of C#
 
hello
i have a java code which gets XML and appends i into string and then parses it.. But the euro sign € will be converted to Ôé¼
how can i fix this
 
get your encodings straight
 
how
the encodings
this java will output to a lotus client
this program has no encodings
to set straight
 
What encoding does it expect to get in? There's no such thing as "no encoding"
 
9:45 AM
@wonderb0lt unfortunately...
 
fge
@Tavo eh? How can you reliably parse any text without knowing the encoding?
There's no such thing as "text" over the wire; it is always bytes
 
no, no. That's not what I meant. What I meant is that the world would be so much easier if there we no encodings (just one)
 
fge
Too late for that :p
 
as I said, unfortunately :D
 
if (character == '€') {
result.append("&euro;");
}
maybe i can do this
?
 
fge
9:51 AM
@bboni no, that's not the problem here
The problem is that you don't decode the incoming byte stream correctly
Show the code
 
ok
I receive XML in to a string:

if(XmlTU != "")
{
RichTextItem xml = RequestDoc.createRichTextItem("XmlTU");
xml.appendText(XmlTU);
RequestDoc.save();
//Parse xml
domdoc = xml.parseXML(false);
 
It's a double wrong to use ==
== compares the references not the content
 
fge
What is more, the problem is with "receive XML into a String" part
This is the code that is wrong here
In addition to what @Gemtastic says
 
The design in itself is bad. I'd implement an ENUM for currency and the € is only ever printed to the client, never a variable in the code.
 
fge
And why is it that in 2015, people still haven't learned that you can't use ==/!= for comparing Strings in Java?
That is beyond me
 
9:53 AM
Because JavaScript
 
omg
what do i need to do now then -.-
 
And possibly other scripting languages
 
fge
Yeah, perl is like that too
 
varable.equals("content string") is the java way to compare content
 
@fge there's people that still drink&drive so...
 
9:55 AM
achoo
 
It can also be object.equals(otherObj.variable)
 
not looking at you @wond :P
 
how can i change this euro sign thing
XD
-1
Q: How to escape a few special characters in a string while Encoding. URL need not be encoded, only the string which has to be appended to the URL

sheetalOriginal string "<bodytext>@#$%&</bodytext>" Needed after encoding %3CbodyText%3E%40%23%24%25%26amp%3B%3C%2FbodyText%3E What I am getting after ASCII or UTF-8 encoding %3CbodyText%3E%40%23%24%25%26%3C%2FbodyText%3E My piece of code ASCII:URLEncoder.encode(mystring, "US_ASCII").replac...

i see on stack this one
 
Please use something like pastebin.com
 
ah! unformatted code! and tons of stuff at once!
capital sin!
 
fge
9:56 AM
@bboni didn't you hear what I said? You first need to read your aText correctly
That is the root of your problem
 
i dont get you
 
fge
sigh
 
1 message moved to Trash can
 
fge
OK, let's make it short
There is no such thing as a 1 to 1 mapping between char and byte
Is that more clear?
 
ok
 
fge
9:58 AM
You read a stream of bytes; you want to convert that into a stream of chars; you need a mechanism for that, and that mechanism is the character coding
And here you choose the wrong one
 
Step one should be to not have a character as a form of validation in the first place
The design is bad
 
so this is wrong:
public static String forHTML(String aText){
final StringBuilder result = new StringBuilder();
final StringCharacterIterator iterator = new StringCharacterIterator(aText);
char character = iterator.current();
while (character != CharacterIterator.DONE ){
if (character == '<') {
result.append("&lt;");
 
fge
No, this is not the part that is wrong
 
if(XmlTU != "")
{
RichTextItem xml = RequestDoc.createRichTextItem("XmlTU");
xml.appendText(XmlTU);
RequestDoc.save();
//Parse xml
domdoc = xml.parseXML(false);
this part
 
fge
Again, the problem is the way you obtain your aText
 
9:59 AM
ugh
 
fge
THIS is the wrong part
 
@bboni Please don't paste code in here, use a pastebin.com or similar service to paste code.
 
ok
 
@Gemtastic I've read that before :P
 
Yes, I just said it
It's an official warning soon
Unformatted code is annoying to read
 
fge
10:01 AM
@bboni read this
All of it
 
i cut and copied, plus this is a java agent inside Lotus so also mixed with lotus
 
@fge one constructive comment over that post?
 
fge
@Tavo do tell
 
10:04 AM
Needs more pictures
 
Needs more ponies
 
Seriously! Make this an illustration:
        SENDER            |          RECEIVER
        encodes           |           decodes
char[] --------> byte[] ----> byte[] --------> char[]
 
char[] --------> byte[] ----> byte[] --------> char[] -> this is brilliant. But you could add a real example
like: € ---> 10101010 ----> 10101010 ---> €
 
Great minds think alike eh @Tavo
 
fge
@Gemtastic my ability to draw anything diagram tends to minus infinity
 
10:06 AM
Then outsource it
 
fge
ASCII art I can mangage but that's about it
 
let gem do it (tm)
 
I don't have time though
Or maybe I do..
 
shoot me
 
and then do something like € ---- > 101010101 ----> 10101010 ---> I have a different encoding, hence: E
not sure if I made my point, but I think an example would be useful
 
10:07 AM
what is the problem if i save an XML to string
nothing it works
 
fge
@Tavo yeah, I agree
 
happy to help :)
 
no prob:)
 
@Gemtastic heh. I've always been a fan or ASCII art
I'm old
 
it has its charms but not as illustrations
 
fge
10:11 AM
What is more ASCII art pretty much requires that you use a fixed width font
 
Yup
 
10:24 AM
Has any one used Hadoop or have experience with Big Data?
 
@MyDaftQuestions I do. a bit
 
@Tavo, can I quiz you... a lot :)
 
you can try
 
I'm looking into big data, but I'm concerned about the term. Is Big Data essentially a distributed system for processing the data with a central repoistory
Or do they all treat/work differently
 
Big Data is a name to sell stuff to people
 
fge
10:31 AM
Oh, that's true... Einstein's paper on general relativity is 100 years old as of Nov 25th
 
if you are talking about NoSQL databases, they all work differently
 
I guessed so @Tavo.
 
I can more or less explain to you how Hadoop works, but I don't think this is the right channel
 
Let me explain our set up. We have data coming in over TCP/IP (from hardware), which can spill out 10tb after 72 hours logging. The idea is to store this in a database
The problem is, the data comes across in raw binary
 
Hadoop, as any other database, doesn't care about what sort of data you want to store
 
10:33 AM
So I'm trying to think about the best way. Should the data be read and converted into somethign readable by software, then pushed to a GUI for real time analytics and the database for post processing
or can the data be pushed direct into the database for real time processing and pushing to GUI
I thought Hadoop was a framework, not a database
 
hadoop is an ecosystem
 
Oh, so the database is included? I thought something like HBase was a popular DB for it
 
ok, afaik, Hadoop is an ecosystem that uses HDFS as a storage system
also, Hadoop provides tons of extra tools, like layers to query the database using SQL
or integration with Kafka
just to name a few
but the basics are: HDFS, an implementation of MapReduce and YARN (the engine)
@MyDaftQuestions you can run HBase on top of Hadoop as well, it's another layer you can add
so instead of using the HDFS, you can use HBase as input for MapReduce jobs
I watched a video on SkillsMatter a while ago about Hadoop. Take a look there, they might help you clarify the basics
 
Hi
Does anyone know how to dynamically add and remove rows in a JXTreeTable by swingX?
I'm using a Model that extends AbstractTreeTableModel
 
11:01 AM
\o/
Smoko is selling its USB toast hand warmers again! I just bought two pairs!
 
11:45 AM
Sorry @Tovo, I got called to a meeting, sorry for just going quiet on you :(
 
@Tovo? that's new :D
 
12:17 PM
they are selling them with a magazine here in the UK
it's out of stock :(
I never thought of creating an RPI cluster because of costs. But with this one... I am tempted
 
Just do it.
@fge whoa you have a blog!
last updated: 5 May '14
awww
 
12:44 PM
Wie gewonnen so zeronnen
 
fge
12:57 PM
wonders about buying a pi zero
4 euros for a full fledged computer
Meh
I keep finding bugs :(
 
1:54 PM
Morning, Java!
 
hey michael
 
Hey @wonderb0lt.
xD
 
2:15 PM
Morning coffee chat
 
Hey Dusty
 
fge
Hmm, what do you call a "substed drive" in Windows?
 
How's it goin my man?
 
@fge Virtual drive?
 
fge
@wonderb0lt yeah, looks like it
 
2:21 PM
@Ballbreaker Outstandingly good
 
Awesome! That's good to hear
 
@Ballbreaker Yup. How's it going in loonie land?
 
WOOHOO!!!! I got the highest grade in the previous course in school! So far I'm 8/9 courses highest grade and a passing grade on the 9th one. I know it doesn't mean much, but it feels good! does a little dance
 
Things got loonier, but I'm firmly grounded in reality, so that's good lol.
 
joins dancing because he's scored 92% on a certification
@Ballbreaker If you want we can elaborate in WhatsApp ^^
 
2:25 PM
does a little dance because he feels like dancing
 
@wonderb0lt congrats!
 
@Gemtastic congrats to you too
 
Still though... I can't believe that hackjob get me the highest grade though. I could have done it soooo much better
I was expecting to have to do a do-over :P
 
2:44 PM
yo @Balls
 
@Gemtastic I thought I sucked too, but in the end I only got 4 out of 40 questions wrong
 
and here I am, fearing to take an IELTS exam to be able to apply for the British citizenship
 
@wonderb0lt what certification? :O
 
@Unihedron ISTQB Foundation Level (Testing)
 
That's nice. Huzzah for positive self-understimation ;P
 
2:49 PM
:)
 
@wonderb0lt that's UK-based
 
@Tavo Hahahaha. Yo man
 
The International Software Testing Qualifications Board (ISTQB) is a software testing qualification certification organisation that operates internationally. Founded in Edinburgh in November 2002, ISTQB is a non-profit association legally registered in Belgium. ISTQB® Certified Tester is a standardized qualification for software testers and the certification is offered by the ISTQB. The qualifications are based on a syllabus, and there is a hierarchy of qualifications and guidelines for accreditation and examination. The ISTQB® is a software testing qualification certification organization having...
weird
not UK based, you are right
 
huh
I always thought they were a subsidary of isqi
 
2:53 PM
but I knew it was UK-related
 
I watched an interview with Eagles of Death Metal last night :\ it was heavy shit
 
@wonderb0lt it's confusing anyway
 
yeah
we can agree on that
 
UK-based confusing :P
@Ballbreaker I've heard they want to play again in the reopening of the place
 
@Tavo Yeah they were mentioning it in the interview. It was hard to watch
 
2:57 PM
How awesome would it be if they just kept on playing where they stopped?
Just as a little fuck you to terrorism?
on the other hand that might be morbid
 
thin line there
 
Yeah that would be hard to do lol
They were barely keeping it together in the interview
 
there was a professor in a Spanish university that was taken from a class and put in jail for many years. When he was released and went back to teaching in the university, he started the class saying "as we said the last day..."
 
The part that got me was them saying how they keep hearing stories of people who died and they force themselves to read through it all and they keep writing the names down and making a list of them
Like they feel somewhat responsible for it
(they didn't directly say it) but you could see it in their faces and how they were talking
Anyways, that's enough of that from me :p
 
I was on a concert where I wasn't shot this weekend, which was nice
 
3:01 PM
I want to do certifications but I don't think I'll pass
 
This one was pretty easy, all things considered
 
@Gemtastic I have the CCNA certification to be done in like.. 3-4 months I think
Apparently there are full year college/university courses on it :\ so that should be interesting
 
I'm sceptical towards schooling. Very often it's a monney-grabber on the school's part
 
For the most part
I also have 2, 800 page textbooks to read for this lol
 
@Gemtastic java certs for instance
 
3:07 PM
There are year long courses in doing the university entrance test here in sweden; a test you can ace just by being well versed in senior high-level knowledge.
@tavo yup. I'm on a 2 year vocational degree in Java ;P
 
random thought: I want biscuits
 
@Gemtastic That's dumb
 
It depends. Education is usually free for us here, but we're still paying since it's our tax-money that finance private commercial schools :P
 
I mean the fact that there are courses to take a university entrance test
That completely defeats the purpose
Of an entrance test
Although I guess there are MCAT, LCAT, etc courses, it just seems stupid to me
Then again, the whole system is flawed so I guess it doesn't matter if I say just one aspect of it is stupid
I feel like 80% of university is teaching you how to learn, not teaching you the subjects you're required to learn. The way it's done pretty much forces you to forget things. 1.5 years out of university, and I basically remember nothing I was taught lol
 
@Ballbreaker that's accurate
 
3:18 PM
Someone who put in ~500 more hours of work into it ends up with the same job and same pay as me, but a higher grade. What did that grade get them? Exactly nothing
 
and I believe a big part of university is to teach you how to think and how to approach problems, at least in engineering
 
^Oh yeah for sure
Also to layer stress on to teach you how to handle being under massive amounts of pressure
 
the entrance test is a universal test
you get a good grade there and you can get into ANY school you want in sweden
 
@Gemtastic I wasn't saying the test was pointless (probably is) but the course to take the test is pointless
 
'Well, what can I say? Most people are...
 
3:21 PM
From the perspective of the universities at least, what does one test really tell you about a persons intelligence especially when they can take a year long course just for one test
That's all I'm trying to say
 
on average the score is about 0,9 and the highest score is 2,0
ergo; lots of people need to study for it. I do; I forgot some of the math and while I'm not bad at math, I'm slow at it.
But I'd never waste a school year on it :')
(you're not allowed a calculator at the test)
 
lol. The head of tech support at Hortonworks is called Brent. That's why nothing works :D
 
3:39 PM
lol
 
4:01 PM
I'm not happy
 
Why not?
 
4:22 PM
My "girlfriend" just got adressed commercial
taken from the national registry of dogowners
The dog was euthanized 1½ year ago, we've moved since and the adresse is updated, but "her" name is still female
Why is "she" even still in there?!
 
Sorry, what? I don't understand
The use of quotations makes it even more confusing for me lol
 
"So we got notice that the dog is dead and the chip is ashes along with the dog, but we'll keep your data and update it anyway"
They for some reason got the name wrong
It's a female version of my partner's name
They can update our adress post when they should have removed us from the registry
but they can't get the name of the person right
 
Yay government! xD
 
Oh I see..
So your postal address got updated because your partner who is "not female" owned a dog and was on some registry.. where they got the address from, a registry which he shouldn't even be on in the first place
 
I suppose it's nice that they don't care for the gender of names vs the legal gender, but what's the point of having the register if they don't have the right names?
which he shouldn't even be on any more.
 
4:29 PM
I suppose that could be considered a silver-lining if you cared about such a thing.
I don't really understand the point of having the register in the first place
Is it incase your dog kills somebody?
 
It's law
Every dog has to be chipped and registered.
It's to prevent a lot of things; strays, people abandoning their dogs, dogs getting lost and impounded and euthanized while the owner is searching everywhere for it...
And, if your dog causes damage to property or person, they can connect it to the owner which is by law always responsible for the dog
 
Interesting
I guess it makes sense, but seems to me like it makes having a dog which is already a hassle, more of a hassle
 
That's the point
So that people won't get a dog irresponsibly
Number of stray dogs in Sweden: 0
Cats don't have the same law, number of stray cats in sweden: thousands.
 
I want to say it's the same in Canada without that registry, but I'm guessing if there were any they would just die during the winter
 
A lot of them freeze to death in winter, but not all of them.
They huddle together in warmer areas and give birth to thousands of new kittens that will freeze to death next winter...
 
4:36 PM
Eh, the circle of life lol
I don't really see the issue with stray cats, personally. I mean, it's just one more pest
Can't be any worse than a raccoon (trash panda)
 
We don't have racoons
 
but I get that it's not desirable
Oh wow, lucky
do you have skunks?
 
And raccoons aren't domesticated.
No skunks either but we have wolverienes and stouts and whtever the feral ferret is called
 
Ohhh those things are nasty lol
In my old rural city we had basically everything.. but Toronto is just smaller pests
 
not really. They live in the wild, they're meant to live in the wild. Cats aren't
 
4:40 PM
@Gemtastic My cat would disagree, but yeah I suppose so. Not for the past few thousand years at least
 
Cats suffer. They can probably hunt somewhat ok to feed them selves, but starvation and cold kills them by the thousands
Your cats can still come home when they're cold
cats aren't as dumb as dogs though, so there are survivors
 
I didn't really mean to say that I disagree, just my cat would lol he thinks he owns the wild
 
fge
But cats do own the wild
They own the entire universe
 
5:04 PM
Yeah, in their minds
 
\o.o/
meeooww
 
 
1 hour later…
Hi all, hope everyone is having a great thanksgiving
Im looking at applying to Rice university, and the computer science department offers a BA and BS
they say that their BA offers breadth, and with a BS you go indepth into one area of Comp Sci. I know a lot of you work in the industry, and I wanted to know what yall think is better as far as making myself marketable in the industry- breadth or indepth knowledge of one area of comp sci
 
Happy celebrate genocide day!
 
6:49 PM
@JohnnyCoder I'm an engineer, and therefore hold bias against going into a BA
@Gemtastic It was more incidental than purposeful
 
I dare you to tell a real american about that.
But meh, let's leave that discussion
 
I'm Canadian, and I have.
 
There are real americans in Canada too.
 
The fact that you said "real" american is hilarious
 
But they are
 
6:59 PM
Bottom line is that history would dictate that everyone was at one point from a different area
You could say modern day Swedish people aren't "real" Swedes
 
We aren't
The sami people are.
 
What is real isn't dictated from the past. Reality isn't what was but what is
My origins are British/Welsh lol but thanks for that
 
Isn't it nice to get a taste of what others live with daily?
 
It's pretty sad if that would bother somebody
Taking personal offence to the ignorance of others is like being mad that the sun is bright, or that it's raining outside
Trying to change people is like trying to form a mountain by piling rocks
 
Let's leave the convo though
 
7:06 PM
http://www.commitstrip.com/en/2015/11/26/search-engines/
CommitStrip
Search engines
CommitStrip
1448564609
 
@Gemtastic lolz k
 
So Java huh?
How about them nullpointers?
 
 
2 hours later…
9:35 PM
Heya
 
 
1 hour later…
10:39 PM
Scientists must keep up to date with the latest research. Engineers must be familiar with knowledge that has already proven to be reliable and effective. If you are doing science, you can afford to be narrow and specialized. If you are doing engineering, you need a broad understanding of all the factors that affect the product you are designing.
An undergraduate science education prepares students to continue their studies. An undergraduate engineering education prepares students to enter the workforce immediately after completing their studies.
This is an excerpt from an article trying to highlight the differences between comp sci and software engineering
does it appear to be accurate? can anyone add any additional specification onto this?
Im trying to figure out which course i should pursue, comp sci or software engineering, but I dont truly understand the difference
oh, and would a double major in CS and SE be smart? This same article makes it seem as if SEs use existing knowledge, like pulling an algorithm out of a book, instead of making a new algorithm. If that is true, would doing SE as a major stifle the suggested inherent creativity required for CS?
 

« first day (1860 days earlier)      last day (3075 days later) »