greptilian logo

IRC log for #friendlyjava, 2017-12-04

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:20 aditsu pdurbin: hey, I'm finally watching the clip you mentioned (past the intro) - http://irclog.greptilian.com/friendlyjava/2017-05-01#i_206157
00:21 aditsu protobufs are great, but it seems that gRPC is the real deal
00:21 aditsu and I didn't get to the kubernetes part yet
00:42 aditsu ok, kubernetes is for deployment, different stuff
01:41 pdurbin aditsu: cool, I thought that was a good video?
01:42 aditsu yeah, I didn't quite follow what he was saying sometimes, but overall it was good
01:45 pdurbin I guess for me the main takeaway was that a lot of time can be spend in processing JSON.
01:48 aditsu that was the "duh" part for me :p
01:52 aditsu he also gave a quick argument for docker, which was somewhat better than everything I've heard about it before
01:58 pdurbin I think I'm already somewhat sold on containers. The concept anyway. Who knows when we actually will start using them at work.
02:08 aditsu I thought you were totally sold; I'm not though, but I might look into it someday
02:10 pdurbin Our customers aren't really asking for our app to run in containers yet.
07:33 abba joined ##friendlyjava
08:03 abba joined ##friendlyjava
08:26 abba_ joined ##friendlyjava
08:27 abba joined ##friendlyjava
08:54 kirua joined ##friendlyjava
12:01 mr_lou joined ##friendlyjava
18:50 CatButts joined ##friendlyjava
18:50 CatButts hai guise
18:50 CatButts I'm looking for a midi player or sequencer for Java
18:51 CatButts I am looking forward to taking J2SE Embedded's Gervil for a spin
19:00 CatButts hmmm, no
19:00 CatButts I am mistaken
19:00 CatButts Gervil is only part of OpenJDK
19:01 CatButts and is also usable as a separate lib
19:12 aditsu media playing in java has always been kinda shoddy
19:13 CatButts does J2SE have built-in midi player + default soundbank?
19:13 pulsar there was that JME thing...
19:13 CatButts like my memory tells me
19:13 CatButts ?
19:13 pulsar i guess its long dead in the water
19:13 pulsar java media someting
19:14 pulsar jmf even
19:14 pulsar http://www.oracle.com/technetwork/articles/javase/index-jsp-140239.html
19:15 aditsu not familiar with midi, but google is your friend
19:16 pulsar there is also this https://docs.oracle.com/javase/tutorial/sound/MIDI-synth.html
19:16 pulsar i should start charging for googling up simple questions :)
19:19 * CatButts pokes in rt.jar instead
19:20 CatButts C:\Program Files\Java\jre1.8.0_151\lib\​rt.jar\com\sun\media\sound\
19:20 CatButts here we habe
19:20 CatButts *have
19:20 CatButts classes pertaining to DLS format
19:21 CatButts SF2 too
19:21 CatButts SMFParser
19:21 CatButts that be the midi format
19:22 aditsu note that com.sun is not part of the public API
19:33 CatButts well, yes, aditsu
19:33 mr_lou joined ##friendlyjava
19:33 CatButts but it's used by something that IS exposed to public, yes?
19:33 CatButts midi and soundbank handling
19:33 CatButts in Java
19:33 CatButts am I correct?
19:33 aditsu most probably
19:34 mr_lou No computers have a MIDI sound bank anymore.
19:34 mr_lou That's why you use DLS or SF2 files instead.
19:34 mr_lou DLS = DownLoadable Soundfont.
19:34 CatButts jokes on you, I have GM.DLS :P
19:34 mr_lou SF2 = Sound Font 2
19:34 CatButts I never got around to learning to make my own soundfonts
19:34 CatButts too bad
19:35 mr_lou MIDI + DLS is almost like a FastTracker II file. :->
19:35 CatButts cause I have a few things I want to preserve
19:35 aditsu I remember buying my first sound card, it was an AdLib :)
19:35 CatButts does midi have 0xx command?
19:35 CatButts :P
19:35 mr_lou Un4Seen has made a very old utility called 2MIDI. It lets you convert a module, MOD or XM or IT or S3M into a MIDI + DLS or SF2 file.
19:35 CatButts http://cat.butt.care:3434/priv/know_your_arpeggios.gif
19:36 mr_lou Check diz: http://www.indiegamemusic.com/viewtrack.php?id=372
19:36 mr_lou No wait.
19:36 mr_lou Not that one.
19:37 mr_lou This one: http://www.indiegamemusic.com/viewtrack.php?id=84
19:37 mr_lou Amiga MOD file originally. Converted to MIDI+DLS with 2MIDI and assembled into an XMF using another tool I had.
19:37 mr_lou The XMF file will actually play on modern cellphones even today. Sounds like a MOD.
19:37 mr_lou Using native players.
19:39 aditsu I wrote a few mod/s3m/it songs back in the day :p
19:39 mr_lou aditsu, Put them on IndieGameMusic.com :-)
19:39 CatButts sell them for 4 bucks
19:39 mr_lou aditsu, I once sold 11 of my old Amiga MOD files to a Windows game-developer there, because he "preferred the oldskool sound".
19:39 CatButts have paypal take half the money
19:39 CatButts :P
19:40 CatButts wankers
19:40 aditsu wat, people buy them?
19:40 mr_lou They buy resale licenses.
19:40 CatButts apparently so
19:40 mr_lou Game-devs.
19:43 mr_lou aditsu, Custom game music is very expensive. So cheap ready-to-use tracks can be attractive.
19:44 CatButts I vaguely touched tracked music making
19:44 CatButts I mostly do mechanical covers, note-for-note
19:44 CatButts instrument for instrument
19:46 aditsu I have to see if I can find them again..
19:46 mr_lou :-)
19:46 mr_lou aditsu, Just remember to also provide an mp3 and/or ogg versino too.
19:46 mr_lou Most gamedevs sadly still prefer the streamed versions.
19:47 mr_lou I wish more gamedevs would return to the tracked formats. They are optimal for games.
19:49 aditsu I emailed them to a friend once, found the email :)
19:49 CatButts I am curious, aditsu
19:50 aditsu file dates are from 1999
19:50 aditsu but I wrote them before that
19:50 aditsu *made them
19:51 aditsu let me see how to play them..
19:58 CatButts are you windows user, aditsu?
19:58 CatButts if so, modplug tracker
20:00 aditsu no, Linux
20:01 aditsu according to my older notes, amarok works, but I don't feel like installing it
20:03 aditsu wonder why xmp is not in portage..
20:04 aditsu ok, milkytracker can handle it
20:11 aditsu oh, there's also "dumb" and "modplug", let me see
20:13 CatButts http://www.les-stooges.org:80/pascal/midiswing/index.php this has been a dissapointment on the n900
20:14 CatButts know any other java midi sequencers/players?
20:14 CatButts short of me getting of me bum and compiling an example
20:16 CatButts I don't even care about programming for this
20:16 CatButts I just want to test the J2SE Embedded and the phone
20:29 aditsu ok, here's one of my creations: http://www.aditsu.net/ASPIRINA.ogg
20:36 mr_lou Will have to listen tomorrow aditsu
20:36 mr_lou Bedtime here.
20:36 mr_lou G'nite !
20:36 aditsu bah, night sleeper
20:52 CatButts I have concluded that java softsynth playback of midi is useless on J2SE Embedded + n900
20:53 CatButts http://www.jsresources.org/examples/SimpleMidiPlayer.java.html
20:54 CatButts I tried this example
20:54 CatButts I removed the bit after
20:54 CatButts if (! (sm_sequencer instanceof Synthesizer))
20:54 CatButts resulted in two playing instances
21:02 pulsar why do you bother doing midi stuff in java again?
21:03 CatButts I wanna try it out and see what it's made of
21:05 CatButts it's kinda crappy
21:05 CatButts in places
21:06 pulsar do it with style then.
21:06 pulsar using windows me or something to run it :)
21:06 pulsar and publish your applet on geocities afterwards.
21:06 CatButts oh shit
21:06 CatButts OpenJDK's implementation actually plays correctly than Sun's
21:07 CatButts OpenJDK is better at something compared to official implementation
21:07 CatButts who would have thought
21:08 CatButts hold on, let me check again
21:08 CatButts no, it's me being a dumbass
21:09 CatButts and midi playing program being buggy
21:11 CatButts [23:02] <pulsar> why do you bother doing midi stuff in java again?
21:11 CatButts I have a phone that can run j2se
21:12 CatButts and I am throwing applications at it in a bid to make it useful
21:12 pulsar if i dig deep enough in my junk drawer... i might find one too :)
21:12 CatButts you are thinking j2me
21:12 pulsar yeah
21:13 CatButts this is j2se
21:13 CatButts embedded
21:13 pulsar what profile is that?
21:13 pulsar and language level
21:14 CatButts http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/index.html
21:14 CatButts I think it's on par with J2SE, with some extra APIs added
21:15 CatButts or is it?
21:15 CatButts hmmmm
21:16 CatButts http://www.oracle.com/us/technologies/java/oracle-javase-embedded-ds-365290.pdf?ssSourceSiteId=otnen
21:17 pulsar no reflection, no lambdas
21:17 pulsar different jit vm
23:37 CatButts oh hey, apparently there's JDK for ARM too

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode