This file contains hidden or 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
| diff --git c/Dockerfile i/Dockerfile | |
| index 36cff7bc7..39378fd12 100644 | |
| --- c/Dockerfile | |
| +++ i/Dockerfile | |
| @@ -34,5 +34,6 @@ COPY --from=java-deps /app/target/*.jar /app/target/ | |
| COPY --from=python-deps /usr/local /usr/local | |
| COPY .bigqueryrc /root/ | |
| COPY . . | |
| +RUN pip-sync --pip-args=--no-deps requirements.txt | |
| RUN pip install . |
This file contains hidden or 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 std::env; | |
| use std::fs; | |
| pub fn read_file(day: u8) -> String { | |
| let cwd = env::current_dir().unwrap(); | |
| let filepath = cwd | |
| .join("inputs") | |
| .join(format!("day{:02}.txt", day)); |
This file contains hidden or 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
| ➜ draw-names node draw.js | |
| Draw Names Iteration 0 for group [ 'wil', 'rachel', 'jess', 'sam', 'anna', 'scram' ] | |
| available names for wil: [ 'rachel', 'sam', 'scram' ] | |
| available names for rachel: [ 'wil', 'jess', 'anna' ] | |
| available names for jess: [ 'sam', 'anna' ] | |
| available names for sam: [ 'wil', 'rachel' ] | |
| available names for anna: [ 'wil' ] | |
| available names for scram: [ 'sam' ] | |
| wil -> scram | |
| rachel -> jess |
This file contains hidden or 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
| ➜ draw-names node draw.js | |
| Draw Names Iteration 0 for group [ 'wil', 'rachel', 'jess', 'sam', 'anna', 'scram' ] | |
| available names for wil: [ 'rachel', 'sam', 'scram' ] | |
| available names for rachel: [ 'wil', 'jess', 'anna' ] | |
| available names for jess: [ 'sam', 'anna' ] | |
| available names for sam: [ 'wil', 'rachel' ] | |
| available names for anna: [ 'wil' ] | |
| available names for scram: [ 'sam' ] | |
| wil -> scram | |
| rachel -> jess |
This file contains hidden or 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
| diff --git i/Dockerfile w/Dockerfile | |
| index a77b7e581..27f1f6434 100644 | |
| --- i/Dockerfile | |
| +++ w/Dockerfile | |
| @@ -11,8 +11,8 @@ WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONFAULTHANDLER=1 \ | |
| - PYSETUP_PATH="/opt/pysetup" \ | |
| - VENV_PATH="/opt/pysetup/.venv" \ |
This file contains hidden or 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
| #!/bin/bash | |
| set -ux | |
| PROJECT="contextual-services-dev" | |
| JOB_NAME="contextual-services-reporter-$(whoami)" | |
| mvn compile exec:java -Dexec.mainClass=com.mozilla.telemetry.ContextualServicesReporter -Dexec.args="\ | |
| --runner=Dataflow \ | |
| --jobName=$JOB_NAME \ |
This file contains hidden or 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
| diff --git i/browser/components/urlbar/UrlbarPrefs.sys.mjs w/browser/components/urlbar/UrlbarPrefs.sys.mjs | |
| index 29df6877b0138..5b9cea35a1db8 100644 | |
| --- i/browser/components/urlbar/UrlbarPrefs.sys.mjs | |
| +++ w/browser/components/urlbar/UrlbarPrefs.sys.mjs | |
| @@ -272,6 +272,14 @@ const PREF_URLBAR_DEFAULTS = new Map([ | |
| // weather suggestions are turned on. | |
| ["suggest.weather", true], | |
| + // Comma-separated list of `source.providers` combinations, that are used to determine if an exposure event should be fired. | |
| + // This is a fallback for a nimbus variable and should be set from nimbus experiment configuration. |
This file contains hidden or 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
| diff --git i/browser/components/urlbar/UrlbarProviderQuickSuggest.sys.mjs w/browser/components/urlbar/UrlbarProviderQuickSuggest.sys.mjs | |
| index a8226a637f87d..b9792aa2e695d 100644 | |
| --- i/browser/components/urlbar/UrlbarProviderQuickSuggest.sys.mjs | |
| +++ w/browser/components/urlbar/UrlbarProviderQuickSuggest.sys.mjs | |
| @@ -227,6 +227,7 @@ class ProviderQuickSuggest extends UrlbarProvider { | |
| : "firefox-suggest-urlbar-block", | |
| }, | |
| source: suggestion.source, | |
| + qsProvider: suggestion.provider, | |
| requestId: suggestion.request_id, |
This file contains hidden or 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
| diff --git i/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql w/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| index 037f63650..431b07ee6 100644 | |
| --- i/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| +++ w/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| @@ -42,12 +42,16 @@ AS | |
| .map((kv) => kv.split(/=(.*)/s)) | |
| .reduce((acc, [key, value]) => { | |
| key = key.trim("\\n"); | |
| + value = value.trim(); | |
| if (key == "submissionTimestamp") { |
This file contains hidden or 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
| diff --git i/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql w/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| index 037f63650..b0b088d2c 100644 | |
| --- i/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| +++ w/sql/moz-fx-data-shared-prod/udf_js/parse_sponsored_interaction/udf.sql | |
| @@ -42,12 +42,16 @@ AS | |
| .map((kv) => kv.split(/=(.*)/s)) | |
| .reduce((acc, [key, value]) => { | |
| key = key.trim("\\n"); | |
| + value = value.trim(); | |
| if (key == "submissionTimestamp") { |