« first day (2515 days earlier)      last day (2444 days later) » 

1:01 AM
morn
 
1:52 AM
Welp, my computer can't connect to the internet.
 
2:10 AM
It's like the router isn't connected to the internet or something
 
 
2 hours later…
4:00 AM
"Climb the mountains and get their good tidings. Nature's peace will flow into you as sunshine flows into trees. The winds will blow their own freshness into you, and the storms their energy, while cares will drop away from you like the leaves of Autumn." -John Muir (source)
 
 
3 hours later…
7:12 AM
o/
 
\o
 
 
2 hours later…
8:51 AM
so, anyone doing anything interesting?
 
I want to start getting a neural network to recognize bassdrums in a piece of music...
Issues remaining:
- I need training data
- I need test data
- I need a neural network
 
and did you succeed?
 
Haven't even started yet :D
 
:/
 
9:22 AM
you can't fail if you don't try
 
Yeah I am currently preparing 100 kickdrum samples... I hope I find a way to automate it. Else I have to throw them into audacity one after another and make them mono from stereo and save it again
woohoo ffmpeg to the rescue :D
 
 
3 hours later…
12:13 PM
The internet works again, yay! :D
 
nice
 
@JennaSloan did you have to survive without interwebz?
a few days ago, I didnt have power for 2 days...
at least afternoon to early evening
 
hey does any1 know what free implementation of JavaEE is reliable?
 
@Wietlol I just used my phone as a Wi-Fi hotspot while it was broken, but it was extremely slow.
 
Any creative suggestions for my dinner today?
 
12:19 PM
@geisterfurz007 Pasta
 
yup paella
or chicken
 
Oh yeah. I think I will go for curry chicken and rice! Thank you both :)
 
:)
 
Now I'm hungry...
 
Sorry :/
 
12:22 PM
lol
 
1:22 PM
if String is not a primitive type in java, why can i delcare it with = i.e String a = "name", why don't i have to use the new keyword, like for the rest of the object types
 
@ВсеЕдно Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
@ВсеЕдно Maybe it's because a String is stored internally as a char array?
 
ASR
can any one tell me why the need of serialization? how it will work?
 
@ВсеЕдно String is a primitive type by definition
In computer science, primitive data type is either of the following:
- a basic type is a data type provided by a programming language as a basic building block. Most languages allow more complicated composite types to be recursively constructed starting from basic types.
- a built-in type is a data type for which the programming language provides built-in support.
java.lang.String follows the second criteria
@JennaSloan and that is not really true
Strings will be stored as byte array in future Java releases (from J9 onwards iirc)
@ASR sometimes you want to keep objects for future runs even if the application shuts down and restarts
even if the machine is shut down
or maybe to communicate between different applications
a database is also a form of serialization
but then with a little middleware in between to do optimizations
 
1:37 PM
> "For example, the java.awt.Button class implements the Serializable interface, so you can serialize a java.awt.Button object and store that serialized state in a file. Later, you can read back the serialized state and deserialize into a java.awt.Button object."
 
 
3 hours later…
ASR
4:27 PM
@Wietlol thank you for your knowledge, I have a doubt regarding communication between applications. without serialization can't we pass information from over the network?, what I understood is , in network, data is always pass in the form of bytes only, to pass the information over the network, we need to use serialization to makes information as bytes, please correct me if I am wrong.
@JennaSloan I understood thank you, could you tell me one example scenario where you were used exactly?
 
I've actually never used sterilization in any of my code.
I haven't ever run into a situation where I needed to turn objects into byte streams.
This says, "Serialization is used for lightweight persistence and for communication via sockets or Java Remote Method Invocation (Java RMI)."
 
 
1 hour later…
5:52 PM
lol those last 20 seconds :)
 
 
4 hours later…
9:28 PM
@ASR in network communication, most data is passed as bytes indeed
in simple terms, everything is bytes in the end, but sometimes the bytes can only represent one thing
in an url, the bytes cannot represent anything else than a string
in networking, there are a few different ways to communicate,
in http requests (most addictive way of network communication), the body is data in bytes
the data could mean anything
the url however (which is part of the sender's communication data) is data as a string (bytes in the end, but always represents a string)
mostly when doing http requests, people forget that the body is just bytes and you can specify what the bytes represent because implicitly, the body is being read as a string
 

« first day (2515 days earlier)      last day (2444 days later) »