« first day (1598 days earlier)      last day (3567 days later) » 
00:00 - 16:0016:00 - 22:00

16:00
Nah.
it is already done with
dv'd
Codementor.io makes you write so much about your experiences.
If I were to list everything I've contributed to, that would make a long list.
Sam
Sam
@Unihedro CV'd.
16:06
guys... how can I change the theme if JFrame
It's dead. Thanks!
and the realms of [minecraft] [bukkit] remains peaceful for another day
Sam
Sam
np
xD
is thr any 3rd party library
We really should destroy [bukkit], it's fill of rtfm and obsolete concerns :/
Can anyone tell me what bad character: n means? I'm using Processing 2.2.1. Thank you
16:09
@Unihedro
Oh, I haven't checked by [regex] for a while.
@SuroorAhmmad Yes?
69 review tasks only, amazed
@Unihedro guys... how can I change the theme if JFrame
@SuroorAhmmad come again?
-Answer post.null.description callback() [() -> null]
(not answer post dot null dot description function callback zero arity to null return value)
No but seriously, I have no idea what you're asking.
16:15
lol
@SuroorAhmmad By chance do you mean you're looking to change the appearance of a JFrame?
.getContentPane().setBackground(desiredColor);
something like that, it's all documented
@Unihedro i need some clarification using databases with java may i take you're time for a moment to shoot some question i have?
so.. i was developing with PHP in the past few years , everything i needed to store would go into my MYSQL db
does that work with JAVA as well or do i store it on txt files
A flat file database is a database which, when not being used, is stored on its host computer system as an ordinary, non-indexed "flat" file. To access the structure of the data and manipulate it, the file must be read in its entirety into the computer's memory. Upon completion of the database operations, the file is again written out in its entirety to the host's file system. In this stored mode, the database has no structure which can be seen external to the file and thus is referred to as a "flat file." The term has generally implied a small, simple database. As computer memory has gotten cheaper...
This would be what you're using if you use an ordinary file.
16:21
i mean , lets say i make an application that work with the user only and not communicate with a server
Also, while you're at it, get a functional database like MongoDB or PostgreSQL if you like an efficient stack. MySQL is bad in many ways. Read:
checking it ~ be right back
> MySQL is bad at storage.
MySQL is bad at data processing.
MySQL is bad by design.
[...]
pfft I go away for a little and you have an interesting conversation in here :P
sorry :(
16:33
It's ok pat pat
D'aaw
user4202350
Hi Gem,
user4202350
from last few days you were chatting about JOB,. is the job hunt still on?
16:45
@Unihedro no bro! I wanted to changed whole appearance
I got the ans for it :)
You wanted to changed... What?!
mind = blown
Also, I'm not your bro.
clears throat
pluggable look and feel
Silly question, is there a simple native way to return multiple values from a function?
An array?
Funny that, I'm using X2 2D arrays in this method
Well I say using, more like pupulating
16:56
Throw it all out and start over again. The single responsibility principle (of SOLID) states that each method should only be responsible for one task. You're breaking it.
Ah fair does, thanks :3
You're probably overengineering a method, which only makes it harder to build upon, to document, reuse or to make working. It's also where bugs float from.
Throughout my life, no matter how many obstacles and resistance I have to go through to succeed in my career of choice, I wish to experience its entirety and feel worthwhile. I don't ask for fame or riches, I just want to survive if I could and be able to recognize myself in the mirror that I'm still me, the person trying to make things happen. I don't get why this order of self recognition is so rare now. Maybe it's just me.
Bye for now, then.
My thought behind it is that I have X2 2D String arrays populated from the same database table with the same information. One table will remain unchanged, the other will be manupulated. These will then be compared and the editable one will be used to overwrite the table. I know it would be much simpler to edit the table directly, BUT this is an on-the-job learning task
If it's a learning task please forget whatever I say. You probably do need an array.
It's bad practice and you'll probably regret, but it looks prettier.
I already regret it lol, I can't use anything from the Collections class for editing, so removing a row means creating a new 2D array and iterating over it, adding each array to the new one but the specified row
17:09
Sounds about right
Document doc = Jsoup.connect("http://www.espnfc.us/scores").get();
throws an IOException why?
import org.jsoup.Jsoup;
is at the top
The exception message should tell you what was wrong. Using that information, run a debugger.
How to ask for help: the way Michael is doing it.

How not to ask for help:
- "tell me how it's done!"
- "it says in the manual..."
- "YOU'RE SO UNHELPFUL!"
2
user4202350
@DonLarynx Check logs. Or the stacktrace should help you.
5
Q: How can I use both method and class type parameters in single constraint?

east825I'll try to illustrate my problem in the following simplified example: public class DataHolder<T> { private final T myValue; public DataHolder(T value) { myValue = value; } public T get() { return myValue; } // Won't compile public <R> DataHolder<R super T> firstNotNull(...

interested to know the answer for this
17:42
Me too, it's a great question, but out of my league
Can't fall asleep for some weird reason :/
I noticed that u cant really use a type with super, it must be ? super Something, idk if its for every case though
That's how the syntax works.
Yeah, so that just kills his question. but why is it like that? fuck knows lol
super is a bounding type, it also can only be used with a capture, hence ? super T
I didn't even know theres super wildcard until today tbh
17:45
It's in JLS. Somewhere. Hard to look up on mobile.
But extends is bounding too, and you definitely can do R extends T
That's because you're not capturing with R extends T, that's a declaration
All N super T are effectively stupid, think about it
N is either T or Object, or somewhere in between
thats what i wanted to say
not sure why he needs super in his case tho
That's why it's syntactically incorrect. You don't need N super T, you need Object. Or an upper bound, where ? super T
For example, passing Number into ? super Integer is only correct because of its contract
but in his example, how can he make R be ? super T?
17:51
The one time i open the door for a stranger, it's a nutjob >_>
"The government is putting me under terrible violence!"
@Ben: Object
He was wearing a jacket similar to the one the people working with administrative work around fires do, so I thought it was someone related to the fire that happened last week Z_Z
then whats the point of his whole spaghetti
no point, look at how List has it
contains(Object), indexOf(Object)
So there you go.
17:57
So he is just overcomplicating things
=javadoc List#contains
Which one do you mean? (type the number)
1. java.util.List#contains(Object)
2. java.awt.List#contains(int, int)
3. java.awt.List#contains(Point)
@Unihedro boolean contains(Object o): Returns true if this list contains the specified element. More formally, returns true if and only if this list contains at least one element e such that (o==null ? e==null : o.equals(e)).
See
@BenBeri Nah, he's just doing the impossible
Java generics are inherently broken in the sense that it is an abstraction that doesn't work on inference or vague bounding.
Not that generics are ever great language features.
When what you need isn't there, learn from existing code and go alternatives
18:15
http://www.commitstrip.com/en/2015/03/09/coders-childhood-when-you-absolutely-need-free-space/
CommitStrip - Blog relating the daily life of web agencies developers
Coder’s childhood : when you absolutely need free space
CommitStrip
1425924579
Guys, not getting much attention on a question
how can I attract more attention to it?
pretty important question: stackoverflow.com/questions/28947767/…
Step 1. Try to get a relevant title; most people will look at the title to decide if they even want to look at it.
2. Write a well formulated question with as much relevant information as you can get, show your own attempt and be clear about your actual question. Good grammar and spelling helps.
3. Tag your question properly. More versed users sort questions they see by relevant tags. No tags, no appearance in their sorted lists of questions they may be interested in.
Hey, Uni.
@JamieReid Improve your question to a state where the people with knowledge to answer actually wants to write one
Hiya @aliteralmind! :D
18:21
(Not to anyone in particular...) I just learned something. Studying up on multithreading. When you call a synchronized function, then all synchronized functions in that class are locked against use, until that one function is exited...because the class instance itself is the intrinsic lock.
All functions are locked while any one is called? I get that it protects the object's state, but it's a little shocking. Makes the decision to use synchronized pretty important...
Where and how much to use it, I mean. Not to be taken lightly.
StringBuffer
synchronized methods are mostly locking the class because its primary purpose is to ensure its state does mot experience thread racing while these methods are called.
Thanks @gemtastic
thanks @Unihedro
Object STATE_LOCK = new Object();
Object IO_LOCK = new Object();
Right. Multi-threading is completely new to me. Never programmed for it before.
Ah, right...
18:27
From there you can use synchronized(IO_LOCK) if they can operate in parallel.
Or even use a Lock object.
Right. I understand the concept. Decreasing the lock's scope.
=javadoc Lock
@Unihedro java.util.concurrent.locks.Lock: Lock implementations provide more extensive locking operations than can be obtained using synchronized methods and statements. They allow more flexible structuring, may have quite different properties, and may support multiple associated Condition objects. (1/16)
My favorite:
=javadoc ReentrantLock
@Unihedro java.util.concurrent.locks.ReentrantLock: A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor lock accessed using synchronized methods and statements, but with extended capabilities. (1/9)
18:29
Huh!! A bot!! Sweeeet.
=about
OakBot v0.0.2 by Michael | source code | built: About a week ago. | started up: Yesterday at 11:06 AM
There's a primary channel bot (javabot) being developed as well, but it's currently in the garage.
Wow. Excellent.
!!help
18:30
@Unihedro Information on interacting with me can be found at this page
Until then we have the Javascript channel's bot visiting :p
Anyway, good luck!
Thanks! How is it hooked into the room?
Michael's one uses Apache HTTP lib and the chat interface, where Cap runs on a browser thru websockets
Javabot runs on HtmlUnit but will be migrated to JChatExchange when it's functional.
And probably Michael's one as well. It's up to him. I'd be happy if he were to though.
That's really neat. I gotta go pick up my boys.
(Now I love my boys, but sometimes I sure just wish I could just plug away all day...)
Will look a little closer at the links. See you later!
Enjoy your day!
19:03
@Unihedro A try-catch block fixed it.
19:28
@Unihedro n00b
I remember the days where a 7MB game was considered far too large for me to download and install.
I remember the days where downloading a game from the interwebz was considered quite a privilege.
(And I'm not that old :D)
19:58
I remember when you counted your internet cost in minutes because you were charged by the minute and data.
@Gemtastic Dark times.
Or when you couldn't get online because your parents were on the phone.
Or worse! Someone lift the phone while you were in the middle of something and everything broke...
Back when we lift the phones and actually rolled down the windows
And the save icon actually put stuff on a floppy
XD
Kids today will never know what the save icon means.
Well duh! It means save!
20:12
heyyaa
o/
How are you doing?
im good thanks you?
Great :)
You serving yet?
nope, but you was right
I got 2 miunim related to computers now
one i passed 2 tests (gamma cyber, i got an interview now)
and another one idk the name of, they didnt give, i have to be there at 12:45 tomorrow
:) Great, they both sound good
20:14
yeah the another one is gamma too, but they dont say what is it
idk why
military full of mysteries :P
vOv there are classified places in gamma, probably one of them
but i think im so lucky, i got these miunim with kaba 45 lol..
heh, programmers are in high demand.
hmm.. ya... military full of mysteries...
now why would that be
Second, you were in modein?
20:25
@BenBeri No, airforce.
i see
 
2 hours later…
21:59
hello
00:00 - 16:0016:00 - 22:00

« first day (1598 days earlier)      last day (3567 days later) »