Log of the #fcrepo channel on chat.freenode.net

Using timezone: Eastern Standard Time
* ksclarke joins07:10
* awead joins08:03
* mhwood joins08:17
* dhlamb joins08:31
* ajs6f joins08:37
* github-ff joins
[fcrepo4] ajs6f force-pushed Java8WithEggs from 43e6393 to 0a55206: http://git.io/vt3Ql
fcrepo4/Java8WithEggs 1350ed4 ajs6f: Switching kernel over to use Java 8 types
fcrepo4/Java8WithEggs a596ae0 ajs6f: Introducing Optional and more functional syntax
fcrepo4/Java8WithEggs 0a55206 ajs6f: More meat-axe-ery
* github-ff leaves
<ajs6f>awoods ^^^
* mhwood leaves08:38
* awead leaves08:50
* whikloj joins08:55
* travis-ci joins08:56
fcrepo4/fcrepo4#3780 (Java8WithEggs - 0a55206 : ajs6f): The build passed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/43e63934c3f6...0a55206d1cd9
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/68967995
* travis-ci leaves
* mikeAtUVa joins09:04
* awead joins09:45
* awead leaves09:48
* awead joins09:49
<awoods>ajs6f: Can you point me to the Java8 documentation that describes how the java compiler knows that a lamba expression implements a given interface method, such as what you are doing here: https://github.com/fcrepo4/fcrepo4/pull/824/files#diff-1ac71cdc94cef5a654008603706fe7dbL8710:08
<ajs6f>awoods: I don't know what you are asking: lambdas can _only_ implement SAM types. There is no choice of method to implement.10:09
<awoods>ajs6f: SAM types?10:10
<ajs6f>Single Abstract Method
A type with one and only one abstract method.
awoods: Anything you could legitimately annotate with @FunctionalInterface10:13
awoods: And abstract classes with only one abstract method
<awoods>ajs6f: so in the case referenced above (SinglePrefer), the "create(...)" interface method could be named anything and could contain any number of arguments. A lambda expression would know that that is the method to service.
<ajs6f>awoods: That depends on the interface. For example, Function, BiFunction, Supplier,Consumer, and Collector are all SAMs with very different signatures.10:14
The things that matters is what you are _giving the lambda to_.
You can't hand a Function to a method that expects a Supplier.10:15
<awoods>ajs6f: and if the "ListElementCreator" interface had two or more methods, swapping in a lambda would not work, right?
<ajs6f>But, e.g., you could hand the same lambda to a method that expects a Supplier or a method that expects a Callable.
awoods: Yes. In that case, you could perhaps narrow the type yourself by subtyping and adding a default impl for all but one method (see UncheckedPredicate for an example of that). Or you could do some work with factories (currying the types). Or there are other ways. Think a little bit Lispy and a little bit Smalltalky.10:17
<awoods>ajs6f: thanks. This helps as well: https://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html10:18
<ajs6f>awoods: It's all just computer crap, anyway.10:19
<awoods>ajs6f: is that an original quote?10:20
<ajs6f>awoods: It's something I say a _lot_.
* github-ff joins10:27
[fcrepo4] ajs6f pushed 1 new commit to HttpCommonsPreJava8Stuff: http://git.io/vtMSb
fcrepo4/HttpCommonsPreJava8Stuff 29bcccb ajs6f: Inlining lambda as a constructor ref
* github-ff leaves
<ajs6f>awoods: there you go ^^^
<awoods>ajs6f: thanks
mikeAtUVa: please hit "Start Review" on: https://jira.duraspace.org/browse/FCREPO-157910:54
<mikeAtUVa>awoods: sure thing... sorry I didn't notice it got bumped out of review.10:55
<awoods>mikeAtUVa: I work off of this view: https://jira.duraspace.org/secure/RapidBoard.jspa?rapidView=2710:56
* travis-ci joins10:57
fcrepo4/fcrepo4#3783 (HttpCommonsPreJava8Stuff - 29bcccb : ajs6f): The build passed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/f2b6c341e7c4...29bcccb46aa3
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/68984760
* travis-ci leaves
<awoods>ajs6f/mikeAtUVa/osmandin? Anyone have an interest in responding to the fedora-community post: "Thick Client for Fedora 4 and Content Model Architecture"10:58
<ajs6f>awoods: Sure, AB. He can tell that fellow all about the glorious future.
awoods: Otherwise, isn't he just looking for the basic links?10:59
<awoods>ajs6f: which links?
<ajs6f>awoods: "I cannot find the links that show me datastreams list and methods list like they did in Fedora 3."11:00
awoods; the first is just the basic link to a resource, the second doesn't exist.
<awoods>ajs6f: true. He also needs to be made aware that F4 is not just the next version bump from F3.11:01
<ajs6f>awoods: yeah, the fact that he refers to it as a CMS does not inspire confidence in his deep community roots.11:02
* osmandin leaves11:27
* github-ff joins11:31
[fcrepo4] awoods pushed 1 new commit to master: http://git.io/vtDZF
fcrepo4/master e8b3f63 ajs6f: Minor fcrepo-http-commons code cleanup...
* github-ff leaves
* github-ff joins11:32
[fcrepo4] awoods closed pull request #824: Minor code cleanup (master...HttpCommonsPreJava8Stuff) http://git.io/vtlu3
* github-ff leaves
<awoods>ajs6f/mikeAtUVa/osmandin? Anyone have an interest in responding to the fedora-community post: "Thick Client for Fedora 4 and Content Model Architecture"11:59
<ajs6f>awoods: Same answer as before.12:00
afk on my way to the office, back in a few12:01
* ajs6f leaves
<mikeAtUVa>awoods: I'm not interested, mostly because of competing priorities, and I'm on vacation this week. On the bright side, I did just resubscribe to fedora-community... turns out I haven't gotten e-mails on that list since February.12:02
<awoods>mikeAtUVa: it is good to have you on the list! and I hope you are enjoying your vacation... by rebasing PRs ;)12:03
* ajs6f joins12:04
nm. not going to the office after all.
<awoods>ajs6f: welcome back12:09
<ajs6f>awoods: It's good to be home.12:10
* travis-ci joins12:14
fcrepo4/fcrepo4#3784 (master - e8b3f63 : ajs6f): The build passed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/1f2912474dad...e8b3f63b3dae
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/68995425
* travis-ci leaves
* github-ff joins12:24
[migration-utils] awoods pushed 2 new commits to master: http://git.io/vtDPP
migration-utils/master b98cfab Mike Durbin: Added fedora 4 client abstraction layer.
migration-utils/master 896b2cb Mike Durbin: Add OpaqueIDMapper...
* github-ff leaves
* github-ff joins12:25
[migration-utils] awoods closed pull request #27: Alternate id mapper (master...alternate-id-mapper) http://git.io/vtkwr
* github-ff leaves
* travis-ci joins12:29
fcrepo4-labs/migration-utils#73 (master - 896b2cb : Mike Durbin): The build passed.
Change view : https://github.com/fcrepo4-labs/migration-utils/compare/26f49afbdc6f...896b2cbac048
Build details : https://travis-ci.org/fcrepo4-labs/migration-utils/builds/69003857
* travis-ci leaves
* github-ff joins12:32
[fcrepo4] awoods deleted Java8StuffForJms at eb56a98: http://git.io/vtDDI
* github-ff leaves
* github-ff joins12:41
[fcrepo4] ajs6f pushed 1 new commit to Java8StuffForTransform: http://git.io/vtDHP
fcrepo4/Java8StuffForTransform 657937f ajs6f: Compressing lambdas into contructor refs
* github-ff leaves
<ajs6f>awoods: ^^^12:42
<awoods>ajs6f: thanks
<whikloj>ajs6f: Regarding FCREPO-1594 (Use LDPath Template for HTML views), you want to switch from Velocity to FreeMarker to allow for LDPath?13:14
* travis-ci joins13:16
fcrepo4/fcrepo4#3787 (Java8StuffForTransform - 657937f : ajs6f): The build was fixed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/d498f72e40f4...657937f3d9b9
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/69006273
* travis-ci leaves
* travis-ci joins13:17
fcrepo4/fcrepo4#3785 (master - 5edb21c : Andrew Woods): The build passed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/e8b3f63b3dae...5edb21cd883e
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/69005053
* travis-ci leaves
<ajs6f>whiklj: whatever the ldpath template module uses13:26
<awoods>whikloj ^^13:27
<whikloj>ajs6f:thanks
<awoods>whikloj: does the ldpath template module use FreeMarker?13:28
<whikloj>awoods: yes, https://marmotta.apache.org/ldpath/template.html
awoods: well an "extension", not sure if that means you don't need FreeMarker. My assumption was we would need it.13:29
<ajs6f>prolly13:31
<whikloj>cool, I'm just looking. I don't know much about velocity or freemarker, but low priority tickets are my bread-n-butter :)13:33
<ajs6f>whikloj: Hold on— jrgriffiniii may want that. Talk it over with him first.13:34
whikloj: After the constraints ticket, you deserve a dessert.
<whikloj>ajs6f: yeah, I'm not picking it up. It is interesting, but I'm just looking around. jrgriffiniii is welcome to it.13:35
* github-ff joins13:50
[fcrepo4] awoods pushed 1 new commit to master: http://git.io/vtyBj
fcrepo4/master 1a4cf67 ajs6f: Minor fcrepo-transform code cleanup...
* github-ff leaves
* github-ff joins
[fcrepo4] awoods closed pull request #826: Minor code cleanup (master...Java8StuffForTransform) http://git.io/vt8mI
* github-ff leaves
* github-ff joins
[fcrepo4] awoods deleted Java8StuffForTransform at 657937f: http://git.io/vtyRO
* github-ff leaves
* dwilcox joins14:09
* travis-ci joins14:18
fcrepo4/fcrepo4#3788 (master - 1a4cf67 : ajs6f): The build passed.
Change view : https://github.com/fcrepo4/fcrepo4/compare/5edb21cd883e...1a4cf678bf4a
Build details : https://travis-ci.org/fcrepo4/fcrepo4/builds/69015776
* travis-ci leaves
* dwilcox leaves14:23
<awoods>afk14:29
* ksclarke leaves14:37
* mikeAtUVa leaves14:48
* ksclarke joins14:53
* dhlamb leaves15:52
* ksclarke leaves16:02
<ajs6f>Damn, I hate Spring.16:06
* jmignault joins16:10
<ajs6f>awoods: Do we uunderstand how people are deploying f4? Ae they using Spring files packed into the war file, or out on the filesystem?16:14
* ksclarke joins16:16
<awoods>ajs6f: You are asking how people are deploying f4?16:50
ajs6f: I assume by dropping the war in a servlet container.16:51
* whikloj leaves16:55
* ksclarke leaves17:03
* ksclarke joins17:05
* jmignault leaves17:20
* jrgriffiniii leaves17:31
* jrgriffiniii joins17:33
* jrgriffiniii leaves17:36
<ajs6f>awoods: So the Spring XML is from the classpath, not the filesystem.17:47
<awoods>ajs6f: yes17:56
* ksclarke leaves17:57
<ajs6f>awoods: Urg. That means putting the web app on the class path.18:02
<awoods>ajs6f: hmm, I am not exactly sure what you are trying to achieve, but that sounds odd.18:03
ajs6f: you want to run f4 in an embedded fashion?
<ajs6f>awoods: I want to load beans (Repository and ContainerService) from that wiring mesh. I don't want to rewrite all the crap we wrote to mesh MODE with Spring.18:09
<awoods>ajs6f: Is the following not doing something similar? https://github.com/fcrepo4-labs/fcrepo4-upgrade-utils/blob/tech-md-migrator/src/main/java/org/fcrepo/upgrade/utils/TechnicalMetadataMigrator.java18:12
<ajs6f>awoods: I ave no idea. What is that?18:13
<awoods>ajs6f: It is the standalone project that escowles created to spin up an embedded repository for the purpose of upgrading certain resource properties.18:14
<ajs6f>awoods: Okay, I'll take a look at it tomorrow. Sounds like he might have had to do what I might have to do. If so, we need to talk about how to factor it out. Maybe an "operation framework" for CLI stuff that works against a repo.18:15
<awoods>ajs6f: that would be nice.
<ajs6f>awoods: So would world peace.18:16
<awoods>ajs6f: ice cream, as well.
<ajs6f>awoods: I'm really only a vanilla man. Maybe a dip into butter pecan or pistachio or black walnut if I'm feeling wild.
* awead leaves18:17
* ksclarke joins
<awoods>ajs6f: mostly plain, occasionally nutty... I see.
<ajs6f>awoods: Watch it.18:20
<awoods>;)18:21
<ajs6f>awoods: Factoring out a command framework would actually be a good exercise for right after acoburn feels comfortable with the OSGi metadata stuff. It would tell us about the places we're confuting wiring and config and the ways we've tangled both wiring and config for outer concerns like HTTP with inner concerns like the services. If we have any interest in letting a bean container manage the core types, we'll need to do that, and it's a h18:24
case.
* ajs6f leaves18:36
* dwilcox joins19:01
* dwilcox leaves19:07
* dwilcox joins19:18
* dwilcox leaves19:51
* ksclarke leaves20:07
* dwilcox joins20:10
* dwilcox leaves20:15
* dwilcox joins20:18
* ksclarke joins20:23
* dwilcox leaves20:46
* awead joins21:23
* awead leaves21:24
* awead joins21:25
* awead leaves23:04
* ksclarke leaves23:49
* ksclarke joins00:09
* ksclarke leaves00:21
* ksclarke joins00:23
* ksclarke leaves
* ksclarke joins00:44
* ksclarke leaves00:49
* ksclarke joins
* ksclarke leaves00:55

Generated by Sualtam