- https://repology.org/
- doesn’t notify maintainers
- provides a view of which packages are out of date
- Till has a prototype that will bump versions “the forge” / activity pub
- Docs - priority is to guide new people into the process of contributing in various ways process
- OminoOS uses a patched version of illumos, including patches for linux branded zones
- These apparently did not meet the requirements of getting upstreamed to illumos
- Two diverging versions of IPS (with OI and OmniOS), but only two directories are a problem.
- Dependency trees wouldn’t resolve
- Rust version is on the backburner - as it was figured out what the slow issue was in IPS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolvers ++= Seq( | |
"jitpack.io" at "https://jitpack.io/", | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"io.github.bbarker" %% "zio-diffx" % "0.0.4" % Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList<JavaBean<Object>> beanList1 = new ArrayList(Arrays.asList(bean1, bean2, bean3)); | |
public <A> void polySetAllBeansToFirst(List<JavaBean<A>> beanList) { | |
beanList.forEach((bean) -> bean.setTheA(beanList.get(0).getTheA())); | |
} | |
polySetAllBeansToFirst(beanList1); | |
// ^ We can't do this in Scala, because we can't even construct beanList1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def exSetAllBeansToFirst(beanList: List[ScalaBean[?]]): Unit = | |
val firstBean = beanList.head // bad: don't use head if the list may be empty | |
beanList.foreach{bean => | |
bean.setTheA(firstBean.getTheA) | |
// ❌ Found: firstBean.A | |
// Required: bean.A | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def exSetAllBeansTo(beanList: List[ScalaBean[?]], initBean: ScalaBean[?]): Unit = | |
beanList.foreach{bean => | |
bean.setTheA(initBean.getTheA) | |
// ❌ Found: initBean.A | |
// Required: bean.A | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def polySetAllBeansTo[A](beanList: List[ScalaBean[A]], initBean: ScalaBean[A]): Unit = | |
beanList.foreach{bean => | |
bean.setTheA(initBean.getTheA) | |
} | |
polySetAllBeansTo(beanList3, bean1) | |
// everything is now set to bean1's value | |
println(beanList2.map(_.getTheA)) | |
polySetAllBeansTo(beanList2, bean1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List(1, 2) | |
List(2, 3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println(beanList3.map(_.getTheA)) | |
beanList3.foreach{bean => | |
bean.setTheA(bean.getTheA+1) | |
} | |
println(beanList3.map(_.getTheA)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val anyBean: ScalaBean[Any] = bean1 |
NewerOlder