- Trustworthy Online Controlled Experiments: Five Puzzling Outcomes Explained
- Online Controlled Experiments at Large Scale
- Seven Pitfalls to Avoid in Experiments
- 12 A/B Split Testing Mistakes
- 3 Top Mistakes that Invalidate A/B Test Results
- Seven Rules of Thumb for Web Site Experiments
- Online Experimentation at Microsoft
- [Online Controlled Experiments and A/B Tests](http://www.exp-platform.com/Documents/2015%20Online%20Controlled%20Experiments_EncyclopediaOfMLDM.pd
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
/* | |
* Written by Thomás Horta, 2023-12-21. | |
*/ | |
import androidx.compose.foundation.ScrollState | |
import androidx.compose.foundation.horizontalScroll | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.verticalScroll | |
import androidx.compose.ui.Modifier |
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
(* | |
Toggle GlobalProtect VPN with AppleScript | |
Tested using macOS Ventura 13.4.1 and GlobalProtect version 6.2.0-89 | |
Written by Trevor Manternach, August 2023. | |
*) | |
tell application "System Events" to tell process "GlobalProtect" | |
click menu bar item 1 of menu bar 2 | |
set statusText to name of static text 1 of window 1 | |
if statusText is "Not Connected" then |
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
Abolishing Pedestrian Posturing | |
Abstracting Loading Procedures | |
Activating Deviance Threshold | |
Activating Hotel Staff | |
Activating Story Arc | |
Adapting Behavioral Model | |
Adding Hidden Agendas | |
Adjusting Acceptable Apparel | |
Adjusting Bell Curves | |
Adjusting Emotional Weights |
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
//app build.gradle | |
apply plugin: 'kotlin-kapt' | |
... | |
dependencies { | |
{ | |
//Moshi Core | |
implementation "com.squareup.moshi:moshi:1.8.0" | |
//Moshi Codegen |
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
class RecyclerViewPaginator(val recyclerView: RecyclerView, | |
val isLoading: () -> Boolean, | |
val loadMore: (Int) -> Unit, | |
val onLast: () -> Boolean = { true }): RecyclerView.OnScrollListener() { | |
private val threshold = 10 | |
private var currentPage: Int = 0 | |
init { | |
recyclerView.addOnScrollListener(this) |
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
export default [ | |
"Reticulating splines...", | |
"Generating witty dialog...", | |
"Swapping time and space...", | |
"Spinning violently around the y-axis...", | |
"Tokenizing real life...", | |
"Bending the spoon...", | |
"Filtering morale...", | |
"Don't think of purple hippos...", | |
"We need a new fuse...", |
The official docs are actually useful now, so refer to those for up-to-date information.
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
// use regular Java imports: Kotlin is 100% compatible to Java | |
import org.jgrapht.DirectedGraph | |
import org.jgrapht.Graph | |
import org.jgrapht.graph.SimpleDirectedGraph | |
/** | |
* A class defining an Edge in the Graph. The `val`s are automatically accessible via getters. | |
* Additionally, the annotation `data`automatically generates equals(), hashcode() and more. | |
*/ | |
data class Edge(val source: String, val target: String, val duration: Int) |
NewerOlder