Info

Login

Channels

APIs

Credits

  • cheeser
  • ernimril
  • joed
  • kinabalu
  • lunk
  • ojacobson
  • r0bby
  • ThaDon
  • ricky_clarkson
  • topriddy

« 2019-08-12

2019-08-13

2019-08-14 »

Nick Message Date
bitcycle [bitcycle!~sochoa@97-113-200-212.tukw.qwest.net] has joined ##java [12:01]
bitcycle [bitcycle!~sochoa@160.34.93.150] has joined ##java [12:14]
macroprep__ [macroprep__!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [12:16]
knited [knited!~knited@unaffiliated/knited] has joined ##java [12:27]
bitwinery [bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net] has joined ##java [12:27]
Me4502 [Me4502!~quassel@unaffiliated/me4502] has joined ##java [12:27]
djhworld [djhworld!~djhworld@90.252.112.212] has joined ##java [12:41]
bitcycle [bitcycle!~sochoa@160.34.93.150] has joined ##java [12:43]
bitcycle Hey all. Why is mocking so stinking difficult? All I want to do is take a class that has a static method and mock it so that when I call it during a unit test it returns a specific value. Is Mockito the wrong library for that? [12:44]
keepLearning512 [keepLearning512!~keepLearn@106.51.235.188] has joined ##java [12:55]
lalitmee [lalitmee!~lalitmee@106.51.71.179] has joined ##java [01:00]
therue [therue!~rue@2001-b011-1000-1650-c430-c7fa-9ae5-0836.dynamic-ip6.hinet.net] has joined ##java [01:15]
exonity01 [exonity01!uid364582@gateway/web/irccloud.com/x-ogynpefgychjhpmh] has joined ##java [01:16]
Enkidu_ak [Enkidu_ak!~abrown@unaffiliated/enkidu-ak/x-8729472] has joined ##java [01:16]
macroprep [macroprep!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [01:19]
DiabloD3 [DiabloD3!foobar@exelion.net] has joined ##java [01:20]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [01:28]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [01:39]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [01:42]
indistylo [indistylo!~aruns_@49.205.218.181] has joined ##java [01:52]
kicked indistylo (Banned: please fix your connection. you're bouncing in and out. this ban will expire after 30d) [01:52]
macroprep_ [macroprep_!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [01:53]
puppy_za [puppy_za!uid277586@gateway/web/irccloud.com/x-sjakltsprvwgvfty] has joined ##java [02:10]
acidjnk [acidjnk!~acid@i577BCAEF.versanet.de] has joined ##java [02:13]
Sauvin [Sauvin!sauvin@about/linux/staff/sauvin] has joined ##java [02:15]
v01d4lph4 [v01d4lph4!~v01d4lph4@125.16.234.60] has joined ##java [02:16]
keepLearning512 [keepLearning512!~keepLearn@106.51.235.188] has joined ##java [02:18]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [02:28]
g00s [g00s!~g00s@unaffiliated/g00s] has joined ##java [02:35]
immibis [immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz] has joined ##java [02:37]
sunrunner20 [sunrunner20!~sunrunner@unaffiliated/sunrunner20] has joined ##java [02:44]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined ##java [02:48]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [02:50]
mildlettuce [mildlettuce!~mildlettu@unaffiliated/mildlettuce] has joined ##java [02:54]
sdu [sdu!d4fb6b53@givos1.ath.forthnet.gr] has joined ##java [02:59]
coalado1 [coalado1!~Thomas@unaffiliated/coalado] has joined ##java [02:59]
Tichodroma [Tichodroma!~lutz@fsf/member/Tichodroma] has joined ##java [03:01]
ottoshmidt [ottoshmidt!~ottoshmid@77-92-245-34.dsl.utg.ge] has joined ##java [03:09]
ottoshmidt [ottoshmidt!~ottoshmid@77-92-245-34.dsl.utg.ge] has joined ##java [03:10]
skrol [skrol!599ed44e@89-158-212-78.rev.numericable.fr] has joined ##java [03:12]
macroprep [macroprep!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [03:17]
bendem thank god odinsbane and surial, finally got the jfx app to launch from intellij. Currently from the classpath using a main class that doesn't extend jfx.Application, I'll keep pushing dependencies to support modules until I can go full modules and use jlink (one can hope) [03:31]
palasso [palasso!~palasso@unaffiliated/palasso] has joined ##java [03:32]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [03:32]
Chuguniy [Chuguniy!~Chuguniy@80.232.218.96] has joined ##java [03:43]
progart [progart!~kamee@46.241.190.159] has joined ##java [03:59]
lalitmee [lalitmee!~lalitmee@106.51.71.179] has joined ##java [04:00]
RazielZ [RazielZ!~Raziel@unaffiliated/raziel] has joined ##java [04:08]
macroprep_ [macroprep_!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [04:13]
DiabloD3 [DiabloD3!foobar@exelion.net] has joined ##java [04:18]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined ##java [04:19]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [04:20]
progart [progart!~kamee@46.241.190.159] has joined ##java [04:22]
macroprep__ [macroprep__!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [04:23]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [04:29]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:f44b:3f50:4d79:58fa] has joined ##java [04:31]
mz` [mz`!~mz@gandi/mz] has joined ##java [04:32]
ravenousmoose [ravenousmoose!~ravenousm@194.78.35.195] has joined ##java [04:38]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [04:39]
Secret-Fire [Secret-Fire!~Secret-Fi@97.115.226.110] has joined ##java [04:58]
Secret-Fire [Secret-Fire!~Secret-Fi@97.115.226.110] has joined ##java [04:59]
magz [magz!~magz@68-168-184-223.fttp.usinternet.com] has joined ##java [05:01]
mz` [mz`!~mz@gandi/mz] has joined ##java [05:03]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [05:07]
somazero [somazero!~somazero@2600:8805:100:112:a599:53d6:69b:d561] has joined ##java [05:14]
mevodad [mevodad!~jottinger@unaffiliated/dreamreal] has joined ##java [05:20]
royal_screwup21 [royal_screwup21!d98a3b22@gateway/web/cgi-irc/kiwiirc.com/ip.217.138.59.34] has joined ##java [05:23]
progart [progart!~kamee@46.241.190.159] has joined ##java [05:25]
Anticom [Anticom!~Anticom@87.190.49.75] has joined ##java [05:25]
igeni how can i make this use a background thread on each function https://dpaste.de/OCsJ [05:40]
igeni i t ried to use new Thread(new Runnable() { [05:40]
mevodad create an executor and have each function submit to that executor. This is probably unwise, though. [05:40]
igeni but then i cant pass variables to it [05:40]
Maldivia sure you can [05:40]
mevodad what would prevent you from passing variables to it? [05:41]
igeni let me show u a exmple [05:41]
mevodad why do you want to do this, anyway, though? [05:41]
igeni https://dpaste.de/xUsc [05:41]
igeni my mainthread gets locked when i do a long run update from a json opject i insert data into it with volley [05:42]
mevodad don't do THAT code, gross [05:42]
mevodad any time you do new Thread() you're doing it wrong [05:42]
Maldivia also, doesn't work/compile [05:42]
igeni what is a beter way todo it [05:43]
mevodad create an executor and have each function submit to that executor. This is probably unwise, though. [05:43]
mevodad ^^^ what I already said [05:43]
igeni ok i dont completly understand what u mean with that [05:43]
mevodad note also that this means detaching from the results of the call. You'll want a callback, or to return a Future<> [05:43]
mevodad executor [05:43]
mevodad mevodad, what does that even *mean*? [05:43]
mevodad executorservice [05:44]
mevodad mevodad, what does that even *mean*? [05:44]
mevodad really. [05:44]
mevodad javadoc Executor [05:44]
mevodad mevodad: http://bit.ly/33xsZRV [JDK: java.util.concurrent.Executor] [05:44]
igeni doc doesnt exist let me look it up [05:44]
igeni https://developer.android.com/reference/java/util/concurrent/Executor [05:45]
igeni igeni's title: "Executor | Android Developers" [05:45]
mevodad ... ah, I was afraid of that. [05:45]
mevodad igeni: ask #android-dev. This is not a java question at this point [05:45]
igeni k [05:46]
mevodad android may have a way to address it that the jvm does not and does not need [05:46]
igeni mevo can u show me how u would be able to pass variable in this bad situation, just to learn :D https://dpaste.de/xUsc [05:47]
mevodad what does the compiler tell you [05:47]
mevodad and what do you mean by "pass variable?" If you're talking about *returning* a value, Runnable is the wrong class: you'd want Callable [05:48]
igeni how do i get String wkid into the public void run [05:49]
mevodad what does the compiler tell you [05:49]
igeni k [05:49]
mevodad (for the second time in a row) [05:49]
DiabloD3 [DiabloD3!foobar@exelion.net] has joined ##java [05:49]
igeni unexspected value [05:49]
Raging_Hog [Raging_Hog!~heikki@82-181-38-176.bb.dnainternet.fi] has joined ##java [05:50]
igeni and cannot find symbol getWritableDatabase [05:50]
mevodad well, the "this" refers to the Runnable in scope [05:50]
deebo hes an android PHONY! [05:55]
somazero [somazero!~somazero@2600:8805:100:112:c0bd:413a:4973:5e6a] has joined ##java [05:55]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [06:00]
Xatenev [Xatenev!~I@87.190.19.178] has joined ##java [06:06]
progart [progart!~kamee@46.241.190.159] has joined ##java [06:07]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [06:10]
intellect [intellect!uid258908@gateway/web/irccloud.com/x-qpbqamylttavazra] has joined ##java [06:12]
[twisti] for our integration tests, i would like to override JDBIs transaction management. the end goal is that for any given test, we can start a transaction, do the test, then roll the transaction back in order to quickly clean up the database. but we already use JDBIs transaction management in our code, so is there any way around that ? [06:19]
[twisti] surial, you got anything on that for me ? [06:19]
deebo spring allows using @transactional on test classes or methods, so i guess it's some trivial junit feature [06:20]
[twisti] the problem is that the test cases then themself call methods that have different @Transaction settings on them [06:21]
deebo starts a new transaction instead of using the parent? i actually have no idea if there's some actual hierarchy to transactions like that, if the parent rolls back, will the nested one roll back too [06:23]
[twisti] thats a good question, i ought to make a test case for that or something [06:24]
[twisti] we only use one 'level' of transactions, so we never ran into that [06:24]
deebo unless you have Propagation=NEW, you should be fine, it'll just use the transaction that the testcase provides [06:25]
[twisti] i imagine it would speed up our ITs a shitload. currently after each test we have a script that drops all databases and reimports a 50mb sql file, which, you know. horrible. horrible. horrible. [06:25]
deebo yeah i did that for some of our test cases, instead of recreating db for each test method, we just use @Transactional now [06:25]
deebo one init per test class [06:25]
Me4502 [Me4502!~quassel@unaffiliated/me4502] has joined ##java [06:27]
[twisti] fuck me, this class has two @BeforeClass's. i swear, i dont even know how half of this shit compiles, let alone works [06:32]
Bombe I have a couple of @Entity classes (JPA in Spring-Boot), with @Repositorys and a couple of integration tests and everything was fine. Now I added a @OneToMany on one field of an entity and the matching @ManyToOne on the other entity and whenever a access the field I get a ?no database selected? error. [06:38]
Bombe (Underlying database is MySQL, tables are in two different catalogs and the @Entity annotations are configured accordingly.) [06:39]
bolovanos [bolovanos!~bolovanos@ctrli.eu] has joined ##java [06:43]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [06:48]
sonOfRa Is there some decent tutorial to read into for getting started with some EJB stuff? Never done this stuff before, and it seems to be recommended for writing Providers for Keycloak, looking at this tutorial: https://github.com/keycloak/keycloak-quickstarts/blob/latest/user-storage-jpa. They have this class here: https://github.com/keycloak/keycloak-quickstarts/blob/latest/user-storage-jpa/src/main/java/org/keycloak/quickstart/storage/user/EjbExampleUs [06:50]
sonOfRa erStorageProvider.java So I started out with an essentially verbatim copy of that class to build mine. However, once I've enabled EJB support in IDEA, it complains that the class "should be an interface", rather than a class. Why? [06:50]
mildlettuce [mildlettuce!~mildlettu@unaffiliated/mildlettuce] has joined ##java [06:52]
sonOfRa And it's not one of IDEA's "yellow/warning" inspections, it's a "red/error" one which makes me concerned that there's actually something wrong here [06:53]
surial [twisti]: dbs have this notion of 'save points', and it kinda sorta almost entirely but nooot quite 100% is 'transactions in transactions'. A key problem is that the syntax is different; therefore, the call .startTransaction() or whatever, and the call .commit(), need to result in SQL being sent over the wire that is not 'START TRANSACTION;' and 'COMMIT;'. [06:57]
[twisti] what does that mean for my question ? are you saying its something i should be looking up ? [06:59]
surial no, more laying the groundwork. [06:59]
Xatenev do you guys write full java doc blocks to everything even for stuff like [06:59]
Xatenev BookmarkService /** * Create a bookmark */ void createBookmark() [07:00]
Xatenev feels so useless somehow [07:00]
Xatenev D [07:00]
surial Like, that's what MIGHT be supported, and that gives you a few handholds for googling and the like perhaps. Or maybe someone else now goes: ooohhhh yeaaahhh you do this and this. [07:00]
[twisti] i see, thanks [07:00]
surial [twisti]: if you start a savepoint and then run 'COMMIT', you commit the savepoint and the entire deal. So COMMIT is a loser right there. but I can see how if I were writing JDBI (which, note, I 'rewrote' 10 years ago before it existed and I still use my take on this, hence why I lack the specific familiarity), I'd add support for this if I cared. But I didn't; it's kinda an exotic notion, transactions-in-transactions. [07:01]
surial Xatenev: no. [07:01]
surial Xatenev: documentation is evil. A very, very minor evil, but every character is a maintenance drag. You can't test it. [07:01]
Xatenev surial, do you still add @param @return annotations? [07:01]
surial Xatenev: so, this: /** Returns the name. @return the name. */ public String getName(){} is fucking idiotic. [07:01]
Xatenev surial, ikr [07:02]
surial No, and this is one of those 'the world is fucking WRONG, surial is right' things I get passionate about. THe correct documentation for a method called .getName' is literally 0 characters. [07:02]
Xatenev surial, what about @throws annotations? [07:02]
Xatenev thats one thing that seems useful to me. [07:02]
Xatenev since you'd have to actually skim through the implementation to see what it might throw [07:02]
Xatenev and it cant be directly seen in the function prototype [07:02]
surial unless you have something to add. Here is an example of a good javadoc for it: class Person { /** Returns the name of the person in the order they prefer it be written as for official purposes. For example, western names are rendered as 'FirstName LastName', icelandic names as 'FirstName Patronymic', russian names using their actual last name and not their patronymic, and asian names as 'LastName FirstName', and so on. */ public [07:03]
surial String getName() { ... }} [07:03]
surial note how I DID include a first line ("returns the name of the person in ....") and sometimes those are the fuckin' duh line of 'returns the <nameofgetter>', because in javadoc everything up to the first dot is 'magical' and is taken as the summary description. Those should still, in general, be simple. I did not include a @return because there'd be no point to it, and having it there doesn't make the javadoc look way better or [07:04]
surial anything. [07:04]
Xatenev i see [07:05]
Xatenev surial, whats ur take on @throws stuff [07:05]
Xatenev our pr's are automatically rejected from checkstyle if the javadoc doesnt have an ending dot [07:05]
Xatenev that always kills me [07:05]
Xatenev D [07:05]
surial you should include in your 'throws' method sig (so not the javadoc) any exceptions you feel are worth mentioning, notably including unchecked exceptions. You should document with @throws only if you have something to add beyond what the name of the exception already communicates. [07:05]
surial Xatenev: no, but that is a good rule. [07:06]
surial What is a really bad rule is something that rejects PRs if a public/protected member doesn't have any javadoc. [07:06]
surial but IF you're going to bother writing javadoc at all, write proper javadoc. [07:06]
Xatenev surial, I see, we don't really use throws actually [07:06]
Xatenev we just annotate the stuff as @throws, obv doesnt make a lot of sense [07:06]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [07:06]
surial note that the javadoc tool will list every exception you list in your signature, and will add the line from the matching @throws bit in the javadoc if it exists, but if it doesn't, the javadoc just says 'throws IllegalArgumentException' and leaves it there. [07:06]
surial throws, like just about everything else in javadoc, is if you need to add _MORE_ than what the names already convey. [07:07]
Xatenev surial, ty [07:07]
Xatenev the bad thing is my ide yells about me if i just do /**<enter> [07:08]
Xatenev it generates @param etc [07:08]
surial example of a bad throws: /** @throws NullPointerException if {@code in} is {@code null}. */ public void setName(String in) {} [07:08]
Xatenev and requires me to have a description for every single param [07:08]
Xatenev so i end up withj stuff like [07:08]
surial example of a good throws: public void setName(String in) throws NullPointerException /* no javadoc */ [07:08]
Xatenev /** * @param id id */ void deleteBookmark(int id) [07:08]
Xatenev lmao [07:08]
surial Xatenev: you can tell your IDE not to do that. it's quite simple, and you have now won the right to receive my fucking ire. [07:08]
surial It's an IDE. A TOOL. configure the mother fucker, jesus. [07:08]
Xatenev I dont know what ire means :( [07:08]
surial how much time do you write spending code? Take an hour out of your day to improve the thing you're going to use for like 50000 hours in the next decade, what the fuck is wrong with you? [07:09]
surial Xatenev: anger [07:09]
Xatenev ah [07:09]
Xatenev hides [07:09]
surial learn to use the debugger. etc. [07:10]
Xatenev well i cant do it that fast [07:11]
Xatenev we have a global configuration file that we import via idea [07:11]
mildlettuce is this a java tutorial now? :) [07:11]
Xatenev so these are just our code styles [07:11]
Xatenev p [07:11]
Xatenev including stuff like every @param requires a description [07:11]
surial If the brass enforces silly rules on you, that's its own can of worms. [07:11]
Xatenev but i'll try to talk about it in some meetnig [07:12]
surial but before you start flaming the brass, make sure they are actually 'NO! YOU MUST! REQUIRED!'. Usually it's just a guideline. [07:12]
surial or possibly something that never was given a particularly large amount of thought. [07:12]
macroprep_ [macroprep_!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [07:16]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [07:19]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:31]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [07:37]
codecutter [codecutter!~anon@host86-187-160-248.range86-187.btcentralplus.com] has joined ##java [07:39]
codecutter difference between Callable and completablefuture? [07:39]
Bombe One is named ?Callabel,? the other ?CompletableFuture.? [07:40]
Bombe s/el/le/ [07:40]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:41]
adadelta Anybody that can recommend a library that works like WireMock but works for Junit 5? Not looking to use anything that forces you to use RestTemplate or something like that (e.g. MockRestServiceServer) [07:42]
conan [conan!~conan@mdproctor.plus.com] has joined ##java [07:46]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:51]
surial codecutter: Callable is a functional interface representing some code that just runs. Takes no parameters, returns something. can throw. [07:53]
surial codecutter: a CompletableFuture on the other hand, has eighteen bazillion methods and extends 2 other interfaces. [07:54]
surial codecutter: why don't you ask about 'what's the difference between guns and grandmas'? [07:54]
codecutter ) [07:54]
codecutter like bringing a knife to gun fight [07:55]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:01]
Xatenev can someone help me,. does anyone know where i can configure the "," to be on the line before [08:10]
Xatenev https://bpaste.net/show/G_lr [08:10]
Xatenev in intellij idea [08:10]
Xatenev I configured it to auto-wrap at 120 [08:10]
Xatenev on reformat [08:10]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:11]
kh [kh!~hk@unaffiliated/kh] has joined ##java [08:12]
Jantz [Jantz!~IceChat9@2407:7000:8d04:100:f44b:3f50:4d79:58fa] has joined ##java [08:13]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined ##java [08:19]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:22]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [08:22]
yokel [yokel!~yokel@unaffiliated/contempt] has joined ##java [08:23]
Frobozz [Frobozz!~Frobozz@unaffiliated/frobozz] has joined ##java [08:36]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [08:38]
very_sneaky [very_sneaky!~very_snea@221.121.132.29] has joined ##java [08:39]
zodd_ [zodd_!~Zzzzzzzzz@62-251-21-6.ip.xs4all.nl] has joined ##java [08:40]
mbooth Xatenev: Better ask in #idea-users [08:45]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [08:47]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [08:48]
CookieM [CookieM!~tomek@afaz42.neoplus.adsl.tpnet.pl] has joined ##java [08:49]
OiannisJVM [OiannisJVM!d4fb6b53@gateway/web/cgi-irc/kiwiirc.com/ip.212.251.107.83] has joined ##java [08:53]
Flaghacker [Flaghacker!~Flaghacke@imec-outbound-pub-ip.imec.be] has joined ##java [08:57]
Chuguniy [Chuguniy!~Chuguniy@81.198.210.68] has joined ##java [08:58]
impermanence [impermanence!c01c0125@gateway/web/cgi-irc/kiwiirc.com/ip.192.28.1.37] has joined ##java [09:01]
SJr Anyone have any idea where I would look at exploits that have been successful against Java and the JVM that are remotely exploitable, historically but lets say within Java 8 or later. [09:16]
mildlettuce try a penetration testing tool [09:17]
mildlettuce kali [09:17]
SJr The context is that I'm trying to provide some examples of attacks that you get from different levels of isolation in a multi-tenant environment, so tenants split with in the application, tenants split by process, tenants split by docker container, tenants split by VM and tenants split by machine. [09:17]
ernimril SJr, look up ysoserial [09:17]
SJr So I would be looking for something like heard bleed, or whatever. Or specific examples of JVM attacks in say Java 8u04 or something, jsut an example of what's possible. [09:19]
mildlettuce you want JRE exploits or software exploits (e.g. jboss) [09:19]
SJr Thanks ernimril [09:19]
SJr Either or, I'm just trying to provide examples of where application level isolation would fail. [09:19]
SJr So some remote code exploit against something recent is sufficient. [09:19]
ernimril SJr, that one was quite serious, anyone with apache-commons in the classpath and using serialization (most webapp containers) could be forced to run anything [09:19]
SJr Interesting, thanks ernimril. [09:20]
mildlettuce ernimril: how do you get it to deserialize the payload remotely? [09:20]
SJr Holy crap, digging into this, this is serious :), thank you ernimril. [09:21]
ernimril mildlettuce, go read up on it. It has been fixed with recent versions of the library [09:21]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [09:22]
mbooth SJr: Jackson Databind has "patched" a deser vulnerability about 2 dozen times: https://github.com/FasterXML/jackson-databind/issues/1599 [09:28]
mbooth mbooth's title: "Jackson Deserializer security vulnerability via default typing (CVE-2017-7525) Issue #1599 FasterXML/jackson-databind GitHub" [09:28]
GingerGeek [GingerGeek!~Zed@unaffiliated/gingergeek] has joined ##java [09:29]
acidjnk SJr, much older, but particularly famous was that exploit in Java WebStart, where the reporter even had a demo website that started calc.exe on Windows. [09:29]
acidjnk I think that contributed a lot to the final strikes against client-side Java / fat clients. [09:30]
freeone3000 ah, by blacklisting what you can deserialize. [09:30]
mbooth freeone3000: Yeah. Every few months they add new stuff to the blacklist. It seems.... Sub-optimal. [09:31]
SupaHam [SupaHam!~SupaHam@supaham.com] has joined ##java [09:31]
freeone3000 well the issue is that they're creating a class and running the default constructor, there's no way to do that safely, that's RCE by design. [09:31]
mbooth Hence my scare quotes around "patch" [09:32]
taxon [taxon!~taxon@p549676B7.dip0.t-ipconnect.de] has joined ##java [09:32]
SJr Yeah I'm more looking for remote exploits against an application server. [09:39]
SJr But that is all super neat. [09:39]
mildlettuce load one up, go to the admin page, and then googlehack :) [09:43]
SJr Is there a term for artifacts that leak through an abstraction or interface. Say for instance an ORM. If I send the Java interface an invalid string value that is meant to be an enum. If the back end is MySQL it might store it as empty string and be successful but with PostGres I would get an error (for example). So even though I have an abstraction layer there are ______ that are exposed from the underlying abstractions. [09:44]
SJr It's kind of related to say OS fingerprinting in nmap, pecularities in the implementation. Maybe implementation artifacts? I dunno. [09:45]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [09:48]
mbooth SJr: "Leaky abstraction" *is* the term, no? [09:48]
LSCody [LSCody!~textual@pool-98-116-99-175.nycmny.fios.verizon.net] has joined ##java [09:48]
stryek [stryek!uid332574@gateway/web/irccloud.com/x-qzkrbvmigotryrlh] has joined ##java [09:51]
surial SJr: https://en.wikipedia.org/wiki/Artifact_(error) [09:52]
surial My instincts are telling me it's written as 'artefact' more when the intent is these errors. For example, weird blocky objects on a screen which are an artefact of dropped MPG packets. [09:52]
surial These 'give away' info about the underlying algorithm being used in the compression. Feels similar, no? They aren't supposed to be there, and they give insights into underlying things you wouldn't have seen had there been no bugs/issues. [09:53]
surial it's perhaps a bit too specified as related to signal processing (images, audio, etc). [09:53]
surial fingerprints? [09:54]
V-Vega [V-Vega!~vvega@pool-100-35-222-120.nwrknj.fios.verizon.net] has joined ##java [09:55]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [09:56]
q9929t [q9929t!~Thunderbi@115.99.218.91] has joined ##java [10:02]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [10:06]
Chuguniy [Chuguniy!~Chuguniy@80.232.218.96] has joined ##java [10:06]
royal_screwup21 [royal_screwup21!d98a3b22@gateway/web/cgi-irc/kiwiirc.com/ip.217.138.59.34] has joined ##java [10:09]
SJr Thanks surial I think that works, as does leaky abstraction mbooth [10:09]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [10:10]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [10:11]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [10:13]
shirafuno [shirafuno!~shirafuno@217.38.31.123] has joined ##java [10:13]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined ##java [10:16]
sosheskaz [sosheskaz!~sosheskaz@208.46.32.4] has joined ##java [10:19]
jak2000 [jak2000!~jak2000@189.237.145.101] has joined ##java [10:21]
jak2000 hi all [10:21]
jak2000 how to install java 8 151 on a debian 11? any advice? [10:22]
cheeser downloads [10:22]
cheeser Find the current LTS (OpenJDK 11) release for Java at https://adoptopenjdk.net/releases.html?variant=openjdk11 . The latest version (OpenJDK 12) is available at https://adoptopenjdk.net/releases.html?variant=openjdk12 . For alternative vendors see ~alternative jdk [10:22]
jak2000 alternative jdk [10:26]
jak2000 See ~zulu, ~openjdk, ~adoptopenjdk, ~corretto, ~oraclejdk, ~ibmjdk, ~openj9, ~sapmachine or ~liberica for alternatives [10:26]
jak2000 cheese, recommend me? ~openjdk ? [10:26]
jak2000 openjdk [10:26]
jak2000 jak2000, openjdk is two things: It's the name of the GPL (open source) source code, maintained by oracle, from which builds are made (these are the things you download and use to program and/or run java code), found at http://openjdk.java.net/ - it's also the name of the GPLled build produced by oracle, free for use, but not supported for long. Download at http://jdk.java.net/ - ~jdk builds for alternatives. [10:26]
Maldivia jak2000: getting 8u151 might be hard, why exactly that versions ? [10:27]
Maldivia latest Java 8 is 8u222 [10:27]
jak2000 Maldivia remember i have a provlem sending emails? [10:27]
jak2000 wit 8u222 i have same problem and recommend me use 8u151 [10:27]
jak2000 see my error: [10:27]
led_dark_1 [led_dark_1!~Thunderbi@217.66.160.14] has joined ##java [10:28]
mevodad why stick with java 8? [10:29]
jak2000 mevodad wait a moment i explain.... [10:29]
mbooth holds his breath [10:30]
jak2000 ) Maldivia: https://paste.debian.net/1095623/ [10:31]
bluezone [bluezone!uid104970@gateway/web/irccloud.com/x-hqwkpcqgvapzfids] has joined ##java [10:31]
jak2000 the error is: java.lang.NoSuchMethodError: sun.security.ssl.SSLSessionImpl.<init>(Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/CipherSuite;Ljava/util/Collection;Lsun/security/ssl/SessionId;Ljava/lang/String;I)V [10:31]
jak2000 and here: https://stackoverflow.com/questions/49383650/sun-security-ssl-sslsessionimpl-not-found recommend use 8u151 [10:32]
jak2000 jak2000's title: "java - sun.security.ssl.SSLSessionImpl not found - Stack Overflow" [10:32]
jak2000 i have installed: java version "1.8.0_211" [10:32]
freeone3000 jak2000: sun.* classes are subject to change. Do you have the code for servletExpExcelAduanaPT? [10:32]
cheeser sounds like you need to update your code [10:32]
jak2000 yes i have the code... [10:32]
Maldivia ahh, this issue -- have you tried 222, because I think it was fixed in u222 [10:33]
cheeser then update it to java 11! easy. [10:33]
jak2000 upgrading to 8u222 [10:34]
Maldivia ah ok, was thinking of a different issue [10:35]
Maldivia the issue here looks to be that you have some classes in a dependency that is compiled using internal classes from a java 8u150-ish. in 8u191 they changed the class in question to go from a 7-args constructor to an 8-args constructor, so things compiled against the old internal class won't work on those versions [10:36]
Maldivia might be that your glassfish provides its own jsse ? [10:39]
kappa1 [kappa1!~kappa@unaffiliated/kappa1] has joined ##java [10:39]
kappa1 how can I pass a List to a method that receives vararg (Boolean... args) [10:40]
cheeser call toArray(new Boolean[0]) on the list [10:40]
cheeser iirc [10:40]
jak2000 here my java code: https://paste.debian.net/1095628/ [10:41]
Maldivia jak2000: I'm more interested in your dependencies -- are you deploying on a glassfish, which version? etc [10:42]
freeone3000 jak2000: Hey, line 10. [10:42]
jak2000 freeone3000: changed no problem :) [10:43]
jak2000 Maldivia... i used glassfish5 [10:44]
Maldivia hmm, anyone here tried to run a spring-boot app as JPMS? [10:44]
Maldivia jak2000: which version of GF5 [10:44]
jak2000 5.0 [10:44]
sunri5e_ [sunri5e_!~sunri5e@unaffiliated/sunri5e] has joined ##java [10:45]
jak2000 if in debian i type: apt install jdk <--- this install jdk 11 and when create a glassfish domain.. i get errors.. with jdk 8 not... [10:45]
jak2000 mbooth here the problem... [10:45]
Maldivia jak2000: GF5 doesn't support JDK11 [10:46]
dez [dez!uid92154@fedora/deSouza] has joined ##java [10:46]
jak2000 wich version of glassfish recommend me? [10:48]
Maldivia if you want to run on JDK11, GlassFish 5.1 will probably work, or Payara 5.192 supports it [10:49]
Maldivia but why GlassFish at all? [10:49]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [10:49]
jak2000 Maldivia wich other? [10:50]
Maldivia jak2000: depends... what do you need? a servlet container or an app server? [10:50]
Maldivia wildfly if you need an app server, or if just a simple servlet container, jetty [10:51]
cheeser nods. [10:51]
jak2000 ok, by moment is har to change... [10:52]
jak2000 need continue trying install jdk 8u222 (if solve the problem) [10:52]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [10:54]
RedSoxFan07 [RedSoxFan07!~Thunderbi@d-137-103-109-45.ct.cpe.atlanticbb.net] has joined ##java [10:55]
x256 [x256!~marc@x4dbd49db.dyn.telefonica.de] has joined ##java [10:59]
kappa1 in Java 8 how can I filter out animals? How can I negate this: .filter(Animal.class::isInstance) [11:01]
[twisti] you cant negate method references [11:02]
[twisti] youll have to go with something like .filter(animal -> !(animal instanceof Animal.class)) [11:02]
Xatenev [twisti], surE? [11:02]
Xatenev Predicate.not does that i think? [11:03]
[twisti] pretty sure [11:03]
Xatenev filter(Predicate.not(Animal.class::isInstance)) [11:03]
Xatenev i dont know if its java 8 though [11:03]
[twisti] ah, i was not aware of that [11:03]
Xatenev might also be newer not sure [11:03]
kappa1 I only have access to Predicate.isEqual [11:05]
Xatenev then use what [twisti] said :] [11:06]
jak2000 [jak2000!~jak2000@189.237.145.101] has joined ##java [11:06]
kappa1 ok [11:06]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [11:06]
sosheskaz [sosheskaz!~sosheskaz@208.46.32.4] has joined ##java [11:11]
jak2000 need continue trying install jdk 8u222 (if solve the problem)... [11:12]
x256 Would "((Predicate<Object>) Animal.class::isInstance).negate()" work? [11:13]
cheeser tias [11:13]
cheeser Try it and see. You learn much more by experimentation than by asking without having even tried. [11:13]
progart [progart!~kamee@5.77.185.182] has joined ##java [11:14]
x256 Let me rephrase: I think "((Predicate<Object>) Animal.class::isInstance).negate()" does what kappa1 wants, but I can't test it right now. [11:15]
progart [progart!~kamee@5.77.185.182] has joined ##java [11:16]
renlo [renlo!~lhoward@104.247.44.90] has joined ##java [11:17]
sbalmos [sbalmos!~sbalmos@cpe-98-30-198-117.columbus.res.rr.com] has joined ##java [11:17]
macroprep__ [macroprep__!~smallvill@cpe-172-193-55-193.qld.foxtel.net.au] has joined ##java [11:19]
Frobozz_ [Frobozz_!~Frobozz@unaffiliated/frobozz] has joined ##java [11:19]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [11:22]
surial x256: yes; that's since 8. [11:29]
LtHummus [LtHummus!~lthummus@75-172-101-121.tukw.qwest.net] has joined ##java [11:30]
shirafuno [shirafuno!~shirafuno@217.38.31.123] has joined ##java [11:31]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [11:39]
acidjnk [acidjnk!~acid@i577BCAEF.versanet.de] has joined ##java [11:42]
keepLearning512 [keepLearning512!~keepLearn@49.204.75.26] has joined ##java [11:43]
SwiftMatt [SwiftMatt!~Objective@2601:282:4300:3e:e0b4:12c1:f3ca:204d] has joined ##java [11:46]
Xiti [Xiti!~Xiti-@unaffiliated/xiti] has joined ##java [11:48]
Korbenik [Korbenik!~Korbenik@200.23.43.15] has joined ##java [11:50]
manualcrank [manualcrank!~manualcra@bras-base-mtrlpq2718w-grc-11-70-24-187-214.dsl.bell.ca] has joined ##java [11:50]
Deacyde [Deacyde!~Deacyde@unaffiliated/deacyde] has joined ##java [12:15]
avalchev [avalchev!~user@46.238.21.2] has joined ##java [12:19]
ItsNotRSX [ItsNotRSX!~ItsNotRSX@cpc116232-linc14-2-0-cust695.12-1.cable.virginm.net] has joined ##java [12:23]
LunarJetman [LunarJetman!LunarJetma@176.248.197.112] has joined ##java [12:23]
Lildirt [Lildirt!~Lildirt@mail.lildirt.com] has joined ##java [12:41]
LtHummus [LtHummus!~lthummus@97-113-58-153.tukw.qwest.net] has joined ##java [12:42]
jrzz [jrzz!~jrzz@51.15.20.28] has joined ##java [12:51]
megaTherion [megaTherion!~therion@unix.io] has joined ##java [12:57]
Chuguniy [Chuguniy!~Chuguniy@212.3.196.20] has joined ##java [01:03]
v01d4lph4 [v01d4lph4!~v01d4lph4@49.207.55.7] has joined ##java [01:04]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined ##java [01:11]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [01:19]
v01d4lph4 [v01d4lph4!~v01d4lph4@49.207.55.7] has joined ##java [01:21]
noodlepie [noodlepie!~phillip@77.44.49.73] has joined ##java [01:27]
matbia [matbia!c263694c@194.99.105.76] has joined ##java [01:36]
sysmox_ [sysmox_!~mox@gateway/tor-sasl/sysmox] has joined ##java [01:51]
viju [viju!~viju@103.132.173.65] has joined ##java [01:52]
code_zombie [code_zombie!~code_zomb@2605:a601:aa1:da00:387a:d8f9:96b9:fb09] has joined ##java [01:52]
code_zombie [code_zombie!~code_zomb@2605:a601:aa1:da00:ccee:4f28:55c9:f37] has joined ##java [02:00]
Sasazuka [Sasazuka!~Sasazuka@unaffiliated/sasazuka] has joined ##java [02:01]
Orlando^ [Orlando^!~kenny@178.74.12.163] has joined ##java [02:07]
upd [upd!~upd@unaffiliated/upd] has joined ##java [02:09]
Sheilong [Sheilong!uid293653@gateway/web/irccloud.com/x-twiyvykjqgqvhjdy] has joined ##java [02:13]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [02:14]
sdu [sdu!~doo@80.107.69.41] has joined ##java [02:18]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [02:23]
ertiportline [ertiportline!~ertiportl@unaffiliated/ertiportline] has joined ##java [02:23]
itoikenza [itoikenza!uid15992@gateway/web/irccloud.com/x-jsbnqeszxlauizug] has joined ##java [02:30]
cksum [cksum!~cksum@host81-132-188-79.range81-132.btcentralplus.com] has joined ##java [02:31]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [02:32]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [02:33]
extor [extor!~extor@unaffiliated/extor] has joined ##java [02:38]
extor [extor!~extor@unaffiliated/extor] has joined ##java [02:43]
nickel8448 [nickel8448!~rahul@2a02:8084:26e3:5580:e2b6:c3bb:53c4:2e59] has joined ##java [02:53]
Gazooo [Gazooo!~Gazooo@142.196.183.136] has joined ##java [03:07]
Simonsen [Simonsen!~Simonsen@unaffiliated/simonsen] has joined ##java [03:20]
WWMB [WWMB!44e70784@ip68-231-7-132.ph.ph.cox.net] has joined ##java [03:21]
WWMB Is there a channel specifically for Kotlin? I am working with Maven and Kotlin in Eclipse and am trying to identify the source of "No Location [03:28]
WWMB ERROR: No source files" in kotlin's console when I run as a java or kotlin application. I tracked down the line "messageCollector.report(ERROR, "No source files")" in kotlin's compiler on GitHub,so I know that "if (environment.getSourceFiles().isEmpty() && !arguments.allowNoSourceFiles && buildFile == null) {" [03:28]
WWMB is true. But I'm not certain how to debug further. [03:29]
mevodad #kotlin [03:29]
WWMB Thanks [03:29]
cheeser blinks [03:47]
x256 Great we could help! [03:49]
sbalmos [sbalmos!~sbalmos@cpe-98-30-198-117.columbus.res.rr.com] has joined ##java [03:51]
jamezp [jamezp!~jamezp@redhat/jboss/jamezp] has joined ##java [03:58]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [04:02]
Iolo [Iolo!~iolo@dsl-tkubng22-58c023-38.dhcp.inet.fi] has joined ##java [04:06]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [04:13]
gareppa [gareppa!~gareppa@unaffiliated/gareppa] has joined ##java [04:13]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [04:18]
Korbenik [Korbenik!~Korbenik@200.23.43.15] has joined ##java [04:21]
phoenixdeac [phoenixdeac!~phoenixde@2600:1700:850:edd0:40b8:9c52:42a7:dada] has joined ##java [04:22]
mindCrime [mindCrime!~mindCrime@216.85.170.148] has joined ##java [04:29]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [04:29]
cliluw [cliluw!~cliluw@unaffiliated/cliluw] has joined ##java [04:49]
alexanderbarbosa [alexanderbarbosa!~user@2804:7f3:8387:aac6:2ad2:44ff:fe0e:5276] has joined ##java [04:52]
immibis [immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz] has joined ##java [05:00]
mindCrime_ [mindCrime_!~mindCrime@216.85.170.148] has joined ##java [05:00]
keepLearning512 [keepLearning512!~keepLearn@106.51.235.188] has joined ##java [05:05]
AcTiVaTe [AcTiVaTe!~activate@host-m7ku8h.tnz1.zeelandnet.nl] has joined ##java [05:34]
somazero [somazero!~somazero@2600:8805:100:112:cc7d:7d20:6a08:3b55] has joined ##java [05:36]
eof [eof!~eof@static.170.252.47.78.clients.your-server.de] has joined ##java [05:45]
phoenixdeac [phoenixdeac!~phoenixde@adsl-75-60-246-19.dsl.wotnoh.sbcglobal.net] has joined ##java [05:51]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [05:59]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [06:15]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:8d73:1522:7d5d:7e37] has joined ##java [06:20]
somazero [somazero!~somazero@2600:8805:100:112:c0df:f891:59b3:33aa] has joined ##java [06:21]
phoenixdeac [phoenixdeac!~phoenixde@adsl-75-60-246-19.dsl.wotnoh.sbcglobal.net] has joined ##java [06:27]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [06:27]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [06:29]
whaley [whaley!~whaley@192.133.78.17] has joined ##java [06:31]
waz [waz!~waz@pdpc/supporter/active/waz] has joined ##java [06:32]
Jigsy [Jigsy!~Jigsy@unaffiliated/jigsy] has joined ##java [06:37]
LSCody [LSCody!~textual@pool-98-116-99-175.nycmny.fios.verizon.net] has joined ##java [06:42]
dez [dez!uid92154@fedora/deSouza] has joined ##java [07:06]
Guest45933 [Guest45933!~Jigsy@unaffiliated/jigsy] has joined ##java [07:11]
troulouliou_div2 [troulouliou_div2!~troulouli@unaffiliated/troulouliou-div2/x-0271439] has joined ##java [07:13]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:13]
Jigsy` [Jigsy`!~Jigsy@unaffiliated/jigsy] has joined ##java [07:14]
abf_ [abf_!~abf@2601:404:c101:234::84cf] has joined ##java [07:15]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:23]
Soni how do I convert anything to 192kHz 32-bit floats? [07:30]
Soni does java have built-in resampling? [07:30]
Soni (it's fine if it's slow) [07:31]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [07:34]
nokdoot [nokdoot!~nokdoot@211.205.207.39] has joined ##java [07:44]
V-Vega [V-Vega!~vvega@pool-100-35-222-120.nwrknj.fios.verizon.net] has joined ##java [07:51]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined ##java [07:52]
Zoinks [Zoinks!~shiranpur@unaffiliated/shiranpuri] has joined ##java [07:58]
javango [javango!~javango@188.244.142.69] has joined ##java [08:07]
Anthaas [Anthaas!~Anthaas@unaffiliated/anthaas] has joined ##java [08:07]
javango [javango!~javango@188.244.142.69] has joined ##java [08:12]
yawkat [yawkat!~yawkat@cats.coffee] has joined ##java [08:18]
Bebef [Bebef!sbreit@phobos.bebef.de] has joined ##java [08:22]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:24]
mildlettuce [mildlettuce!~mildlettu@unaffiliated/mildlettuce] has joined ##java [08:34]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:34]
Peste_Bubonica [Peste_Bubonica!~Peste_Bub@unaffiliated/peste-bubonica/x-4612396] has joined ##java [08:41]
mevodad [mevodad!~jottinger@unaffiliated/dreamreal] has joined ##java [08:43]
Diablo-D3 [Diablo-D3!foobar@exelion.net] has joined ##java [08:44]
jdfthetech [jdfthetech!~jdfthetec@cpe-104-174-3-76.socal.res.rr.com] has joined ##java [08:47]
zeden [zeden!~user@unaffiliated/zeden] has joined ##java [08:47]
tristianc [tristianc!~tristianc@pool-72-83-128-193.washdc.fios.verizon.net] has joined ##java [08:51]
FreEm1nD [FreEm1nD!~freemindm@179.219.80.9] has joined ##java [08:58]
alexanderbarbosa [alexanderbarbosa!~user@2804:7f3:8387:aac6:2ad2:44ff:fe0e:5276] has joined ##java [08:59]
Soni can we flood #terasology so they'll give me System.arraycopy in their sandbox so I can efficiently move my samples into the audio output buffer? I'm having a really hard time trying to explain why you'd want to pass in an audio output buffer that gets filled by the callee when working with 192kHz audio instead of returning a new array every time. [09:10]
Soni the GC is cool and all but there are a few things you're not supposed to rely on the GC for [09:10]
javango [javango!~javango@188.244.142.69] has joined ##java [09:12]
Diablo-D3 wait [09:14]
Diablo-D3 did someone make a deepthink bot to synthesize dumb ##java comments? because if they did, thats pretty good [09:14]
Soni public int write(int srcoffset, float[] dest) { [09:15]
Soni they're arguing I'm drooling morons because I wrote this in my code [09:15]
Soni even tho it seems to be a pretty common pattern for this audio stuff https://github.com/ChenThread/dfpwm/blob/master/1a/DFPWM.java#L62 https://github.com/ChenThread/dfpwm/blob/master/1a/DFPWM.java#L88 [09:15]
Soni Soni's titles: "dfpwm/DFPWM.java at master ChenThread/dfpwm GitHub" | "dfpwm/DFPWM.java at master ChenThread/dfpwm GitHub" [09:15]
Soni but idk anything about audio stuff, right? [09:16]
Soni it doesn't matter that I'm literally writing a DAW from scratch, I can't possibly know anything, right?! [09:16]
surial Soni: I hope you feel better after that rant :P [09:26]
wedr [wedr!484a82af@pool-72-74-130-175.bstnma.fios.verizon.net] has joined ##java [09:31]
javango [javango!~javango@188.244.142.69] has joined ##java [09:42]
javango [javango!~javango@188.244.142.69] has joined ##java [09:50]
RedSoxFan07 [RedSoxFan07!~Thunderbi@d-137-103-109-45.ct.cpe.atlanticbb.net] has joined ##java [09:54]
bitwinery [bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net] has joined ##java [09:57]
hypc1 [hypc1!~Thunderbi@221.180.240.125] has joined ##java [09:57]
LSCody [LSCody!~textual@pool-98-116-99-175.nycmny.fios.verizon.net] has joined ##java [09:58]
TlrDr [TlrDr!~tlrdr@122-168-35-213.dyn.estpak.ee] has joined ##java [10:03]
thebope [thebope!~thebope@pdpc/supporter/student/thebope] has joined ##java [10:06]
begui [begui!~begui@108-200-216-48.lightspeed.dybhfl.sbcglobal.net] has joined ##java [10:13]
Kundry_Wag [Kundry_Wag!~Kundry_Wa@152.249.108.22] has joined ##java [10:15]
keepLearning512 [keepLearning512!~keepLearn@106.51.235.188] has joined ##java [10:17]
Kundry_Wag [Kundry_Wag!~Kundry_Wa@152.249.108.22] has joined ##java [10:29]
tassee [tassee!~tasse@55d44e03.access.ecotel.net] has joined ##java [10:30]
keepLearning512 [keepLearning512!~keepLearn@106.51.235.188] has joined ##java [10:32]
phoenixdeac [phoenixdeac!~phoenixde@adsl-75-60-246-19.dsl.wotnoh.sbcglobal.net] has joined ##java [10:34]
t2mkn [t2mkn!~t2mkn@43.226.2.65] has joined ##java [10:40]
Hanii [Hanii!~Hanii@2a00:23c5:c587:a800:ed18:e3d1:6dc:c605] has joined ##java [10:42]
Rue [Rue!~rue@2001-b011-1000-1a40-952c-9edc-2e3b-9253.dynamic-ip6.hinet.net] has joined ##java [10:45]
dez [dez!uid92154@fedora/deSouza] has joined ##java [10:52]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd165662a4d.vs.shawcable.net] has joined ##java [10:55]
Goplat [Goplat!~Goplat@reactos/developer/Goplat] has joined ##java [11:03]
knited [knited!~knited@unaffiliated/knited] has joined ##java [11:05]
adder` [adder`!~adder@gateway/tor-sasl/adder] has joined ##java [11:07]
DonRichie [DonRichie!~DonRichie@ricl.de] has joined ##java [11:10]
comrad [comrad!~quassel@holarse/core/comrad] has joined ##java [11:11]
i7c [i7c!lFWUROBUm7@unaffiliated/i7c] has joined ##java [11:12]
NorthwestVegan [NorthwestVegan!~Northwest@gateway/tor-sasl/northwestvegan] has joined ##java [11:13]
skycoltninja [skycoltninja!~skycoltni@c-73-175-57-71.hsd1.pa.comcast.net] has joined ##java [11:13]
knited [knited!~knited@unaffiliated/knited] has joined ##java [11:15]
Anthaas_ [Anthaas_!~Anthaas@unaffiliated/anthaas] has joined ##java [11:41]
Nicmavr [Nicmavr!~Nicmavr@unaffiliated/nicmavr] has joined ##java [11:44]
gabizou [gabizou!~gabizou@irc.spongepowered.org] has joined ##java [11:47]
DonRichie [DonRichie!~DonRichie@ricl.de] has joined ##java [11:47]
ijmad [ijmad!~ian@latte.stronger.coffee] has joined ##java [11:48]
RedSoxFan07 [RedSoxFan07!~Thunderbi@137.103.109.45] has joined ##java [11:59]