Skip to content

Commit

Permalink
Remove stats collection code measuring how often Tweets from specific…
Browse files Browse the repository at this point in the history
… user groups are served
  • Loading branch information
twitter-team committed Mar 31, 2023
1 parent 64e7548 commit ec83d01
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 66 deletions.
Expand Up @@ -220,30 +220,7 @@ object HomeTweetTypePredicates {
_.getOrElse(ConversationModule2DisplayedTweetsFeature, false)),

This comment has been minimized.

Copy link
@CollectionAgency

CollectionAgency Apr 1, 2023

Welcome to history folks.
Smile to the camera, because we caught it in 4K📸
cristiano-camera

This comment has been minimized.

Copy link
@byronbytes

byronbytes Apr 1, 2023

📸
Wanna bet this is going to get into a SOG video?

This comment has been minimized.

Copy link
@Raid55

Raid55 Apr 1, 2023

underrated comment

This comment has been minimized.

Copy link
@jingyuexing

jingyuexing Apr 1, 2023

📸

This comment has been minimized.

Copy link
@Adamkaram

Adamkaram Apr 1, 2023

This comment has been minimized.

Copy link
@apteryxxyz

apteryxxyz Apr 1, 2023

I was here!

This comment has been minimized.

Copy link
@nigelreign

nigelreign Apr 1, 2023

I was here

All the way from Zimbabwe

This comment has been minimized.

Copy link
@saiqulhaq

saiqulhaq Apr 1, 2023

all comments will disappear in the next forced push commit
TimeToCommitSomeSinsLannanEacottGIF

This comment has been minimized.

Copy link
@oyepriyansh

oyepriyansh Apr 1, 2023

lmao, you guys chilling on github

This comment has been minimized.

Copy link
@Pragalbha-Patil

Pragalbha-Patil Apr 1, 2023

Is it what I think it is 👀

This comment has been minimized.

Copy link
@hotspotbro

hotspotbro Apr 1, 2023

Me looking at the code be like
FB_IMG_16785493938170970

This comment has been minimized.

Copy link
@salman-ahmed979

salman-ahmed979 Apr 1, 2023

Twitter please hire me. PLease. Sir Elon Musk

This comment has been minimized.

Copy link
@Ranieeery

Ranieeery Apr 1, 2023

Twitter if you want a trainee I'm here

This comment has been minimized.

Copy link
@SeanFree

SeanFree Apr 1, 2023

Y'all know this isn't reddit right?

Edit: That is to say - no one is impressed by your memes.

This comment has been minimized.

Copy link
@RFS-ADRENO

RFS-ADRENO Apr 1, 2023

🤨📸

This comment has been minimized.

Copy link
@Veixlix

Veixlix Apr 1, 2023

this isn't reddit but twitter read the room

This comment has been minimized.

Copy link
@SeanFree

SeanFree Apr 1, 2023

this isn't reddit but twitter read the room

It's not Twitter either, this is GitHub. I'd really like to read the code here but it's inundated with ppl like you thinking they're the funniest person on the internet.

This comment has been minimized.

Copy link
@CesiumCs

CesiumCs Apr 1, 2023

imagine being mad about people commenting on a github commit lmfao go pick your wedgie

This comment has been minimized.

Copy link
@SeanFree

SeanFree Apr 1, 2023

imagine being mad about people commenting on a github commit lmfao go pick your wedgie

Commenting !== Shitposting.

You wanna shitpost and get some attention? Go to Twitter, Reddit, etc.

Edit: TIL about the "Show Comments" option for PRs. If you're like me and you opened this file to ya know actually read the code (crazy concept on GitHub of all places I know) and you didn't know about it, go ahead and click that ellipsis on the file and un-check hide comments. Roast me if you want, I've never had a problem with comments on this platform until literally 20 mins ago when I decided to check this out.

This comment has been minimized.

Copy link
@KhaiNguyenDuc

KhaiNguyenDuc Apr 1, 2023

Hello I'm here :)

This comment has been minimized.

Copy link
@BRAVO68WEB

BRAVO68WEB Apr 1, 2023

gg

This comment has been minimized.

Copy link
@ledlamp

ledlamp Apr 1, 2023

why so many

This comment has been minimized.

Copy link
@sanamhub

sanamhub Apr 2, 2023

why so many

what?

This comment has been minimized.

Copy link
@sanamhub

sanamhub Apr 2, 2023

image

This comment has been minimized.

Copy link
@jd-apprentice

jd-apprentice Apr 3, 2023

regales

This comment has been minimized.

Copy link
@JaviCeRodriguez

JaviCeRodriguez Apr 3, 2023

giphy.mp4

This comment has been minimized.

Copy link
@kurbus

kurbus Apr 5, 2023

Commenting !== Shitposting.

You wanna shitpost and get some attention? Go to Twitter, Reddit, etc.

Man come on it’s just comments on a commit

("conversation_module_has_gap", _.getOrElse(ConversationModuleHasGapFeature, false)),
("served_in_recap_tweet_candidate_module_injection", _ => false),
("served_in_threaded_conversation_module", _ => false),
(

This comment has been minimized.

Copy link
@BankkRoll

BankkRoll Apr 1, 2023

  "author_is_not_elon",

This comment has been minimized.

Copy link
@rafaelbeckel

rafaelbeckel Apr 1, 2023

If you're a human reading this from Mars in 3023, consider this as my cave painting: 👐

This comment has been minimized.

Copy link
@Paxsma

Paxsma Apr 1, 2023

cf90f47206ae061630708d1b22c4dcd6

This comment has been minimized.

Copy link
@firstkingofrome

firstkingofrome Apr 1, 2023

I want to make fun of it, but I still respect them a lot for publishing it.

This comment has been minimized.

Copy link
@Adamkaram

Adamkaram Apr 1, 2023

human from 2100 wish me RIP

This comment has been minimized.

Copy link
@abhinavsp0730

abhinavsp0730 Apr 1, 2023

Yo

This comment has been minimized.

Copy link
@utf7

utf7 Apr 1, 2023

LGTM

This comment has been minimized.

Copy link
@sanamhub

sanamhub Apr 1, 2023

image

"author_is_elon",

This comment has been minimized.

Copy link
@karolsw3

karolsw3 Mar 31, 2023

👀 📸🤨

This comment has been minimized.

Copy link
@iib0011

iib0011 Mar 31, 2023

lol

This comment has been minimized.

Copy link
@TesDevelopment

TesDevelopment Mar 31, 2023

LMAO

This comment has been minimized.

Copy link
@RevolvingDCON

RevolvingDCON Mar 31, 2023

Embarrassing.

This comment has been minimized.

Copy link
@Shreenabh664

Shreenabh664 Mar 31, 2023

lmao

This comment has been minimized.

Copy link
@edmundpf

edmundpf Mar 31, 2023

this will go down in history as the most meme Github commit of all time

This comment has been minimized.

Copy link
@dolfies

dolfies Mar 31, 2023

That's just sad ngl

This comment has been minimized.

Copy link
@RevolvingDCON

RevolvingDCON Mar 31, 2023

Tracking metrics on an individual user and hard-coding them into the source is the cringiest, most insecure, egotistical thing I've ever seen. How weak do you need to be as a person to instruct your developers to build you a personal dashboard just so you can track how liked you are in real time?

This comment has been minimized.

Copy link
@McShauno

McShauno Mar 31, 2023

This line. Right here. Hilarious.

This comment has been minimized.

Copy link
@sy1vi3

sy1vi3 Mar 31, 2023

lmfao

This comment has been minimized.

Copy link
@samedovzaur

samedovzaur Mar 31, 2023

lmfaoo

This comment has been minimized.

Copy link
@avin-kavish

avin-kavish Mar 31, 2023

Tracking metrics on an individual user and hard-coding them into the source is the cringiest, most insecure, egotistical thing I've ever seen

This looks like an experiment to measure the impact on code changes on the distribution of tweets of different user groups. (comment down below confirms it). Elon is a good candidate for the test because he is the most followed user, controversial and can provide consent to collection.

This comment has been minimized.

Copy link
@cosmtrek

cosmtrek Apr 1, 2023

hhh

This comment has been minimized.

Copy link
@baldoOsu

baldoOsu Apr 1, 2023

HAHAHAHAHAHA

This comment has been minimized.

Copy link
@kleberbaum

kleberbaum Apr 1, 2023

lgmt 🚀

This comment has been minimized.

Copy link
@brandensilva

brandensilva Apr 1, 2023

Elon's reputation proceeds him...

This comment has been minimized.

Copy link
@AL1L

AL1L Apr 1, 2023

Totally not biased

This comment has been minimized.

Copy link
@itsbapic

itsbapic Apr 1, 2023

This line is definitely going down in history hahahah

This comment has been minimized.

Copy link
@aorjoa

aorjoa Apr 1, 2023

(ノ°Д°)ノ︵ ┻━┻

This comment has been minimized.

Copy link
@VortexHero

VortexHero Apr 1, 2023

4k

This comment has been minimized.

Copy link
@parsakhaz

parsakhaz Apr 1, 2023

caught in 4k📸

This comment has been minimized.

Copy link
@Javier-Machin

Javier-Machin Apr 1, 2023

💀💀💀

This comment has been minimized.

Copy link
@kurbus

kurbus Apr 1, 2023

this will go down in history as the most meme Github commit of all time

more than the blame-someone-else Torvalds commit?

This comment has been minimized.

Copy link
@Hurricane996

Hurricane996 Apr 1, 2023

lol lmao

This comment has been minimized.

Copy link
@rodsan0

rodsan0 Apr 1, 2023

LMFAO 💀💀💀

This comment has been minimized.

Copy link
@Yarizk

Yarizk Apr 1, 2023

nahh💀💀💀

This comment has been minimized.

Copy link
@7flash

7flash Apr 1, 2023

couldn't you just do force-push?

This comment has been minimized.

Copy link
@gorgonaut04

gorgonaut04 Apr 1, 2023

Tracking metrics on an individual user and hard-coding them into the source is the cringiest, most insecure, egotistical thing I've ever seen

This looks like an experiment to measure the impact on code changes on the distribution of tweets of different user groups. (comment down below confirms it). Elon is a good candidate for the test because he is the most followed user, controversial and can provide consent to collection.

Yea, or because he told his employees to do it, sheesh

This comment has been minimized.

Copy link
@flamyoad

flamyoad Apr 1, 2023

Sussy commit on Aprils Fool. But then elon itself is already a big joke.

This comment has been minimized.

Copy link
@rifusaki

rifusaki Apr 1, 2023

this is amazing 😂

This comment has been minimized.

Copy link
@harrisonlingren

harrisonlingren Apr 1, 2023

i was here

This comment has been minimized.

Copy link
@AlotOfBlahaj

AlotOfBlahaj Apr 1, 2023

👀📸

This comment has been minimized.

Copy link
@hdntc

hdntc Apr 1, 2023

Lol

This comment has been minimized.

Copy link
@emso-c

emso-c Apr 1, 2023

Bro got caught in 4K 📸📸

This comment has been minimized.

Copy link
@0x5ca1ab1e

0x5ca1ab1e Apr 1, 2023

LMFAO
image

This comment has been minimized.

Copy link
@FrAndroidd

FrAndroidd Apr 1, 2023

📸

This comment has been minimized.

Copy link
@manuelpires

manuelpires Apr 1, 2023

I was here 📸💀

E94CfAzXIAAsSmC

This comment has been minimized.

Copy link
@0x346e3730

0x346e3730 Apr 1, 2023

For history.

This comment has been minimized.

Copy link
@mansguiche

mansguiche Apr 1, 2023

Oh boi
baby-oh-boy

This comment has been minimized.

Copy link
@GemedetAdept

GemedetAdept Apr 1, 2023

Imagine thinking it was a good idea to try to hide code by deleting it with Git, but also specifically write a commit message akin to a glowing neon sign. Galaxy brain.

This comment has been minimized.

Copy link
@lumeyisnotyou

lumeyisnotyou Apr 1, 2023

this is one of the most commits

This comment has been minimized.

Copy link
@fsktom

fsktom Apr 1, 2023

Hilarious stuff

This comment has been minimized.

Copy link
@chrisban

chrisban Apr 1, 2023

Interesting 📸

This comment has been minimized.

Copy link
@Nebula-Developer

Nebula-Developer Apr 1, 2023

They did it

This comment has been minimized.

Copy link
@chupasaurus

chupasaurus Apr 1, 2023

this will go down in history as the most meme Github commit of all time

Bumblebee's /usr evaporation is laughing from it's mountain.

This comment has been minimized.

Copy link
@nanyang24

nanyang24 Apr 1, 2023

🤣zoom in 👀👀👀

This comment has been minimized.

Copy link
@matinzd

matinzd Apr 1, 2023

At least do a force-push bro :))

This comment has been minimized.

Copy link
@COAOX

COAOX Apr 1, 2023

📸

This comment has been minimized.

Copy link
@chitang233

chitang233 Apr 1, 2023

Hi history

This comment has been minimized.

Copy link
@Ecter

Ecter Apr 1, 2023

wow, it gets even better after that

This comment has been minimized.

Copy link
@Prakhar896

Prakhar896 Apr 1, 2023

i was here

This comment has been minimized.

Copy link
@BaderBouta

BaderBouta Apr 1, 2023

I wanna be part of history, bing chilling yeet

This comment has been minimized.

Copy link
@bhcompy

bhcompy Apr 1, 2023

1511335726183

This comment has been minimized.

Copy link
@hotspotbro

hotspotbro Apr 1, 2023

Bruh

This comment has been minimized.

Copy link
@mdegis

mdegis Apr 1, 2023

This comment has been minimized.

Copy link
@jl8n

jl8n Apr 1, 2023

Bruh

This comment has been minimized.

Copy link
@spkirby

spkirby Apr 1, 2023

Concerning

This comment has been minimized.

Copy link
@spkirby

spkirby Apr 1, 2023

Looking into it

This comment has been minimized.

Copy link
@ozline

ozline Apr 1, 2023

23333333333333

This comment has been minimized.

Copy link
@OmkarKirpan

OmkarKirpan Apr 1, 2023

LMFAO 💀💀💀

This comment has been minimized.

Copy link
@Radu-D

Radu-D Apr 1, 2023

💣

This comment has been minimized.

Copy link
@harish-datla

harish-datla Apr 1, 2023

Tracking metrics on an individual user and hard-coding them into the source is the cringiest, most insecure, egotistical thing I've ever seen

This looks like an experiment to measure the impact on code changes on the distribution of tweets of different user groups. (comment down below confirms it). Elon is a good candidate for the test because he is the most followed user, controversial and can provide consent to collection.

My guy, according to twitters own admission in the same comment you are talking about, it clearly says in t he last sentence, "if any changes negatively affects these groups one over the other , those changes will not be pushed" (only elon is included as a separate category, the rest of the categories are groups of individuals, which makes no sense as he should be already part of VITS), so yes, since there are media reports that reported that he specifically fired a developer for showing how his popularity is in general decline after the acquisition in google trends, there is a very high chance that this is done under his command during the same day he fired that engineer.

So this is either a big april fool prank that is executed so poorly and hence missing the point of Aprils fools prank.
Or
Don't stan someone to this extreme degree that you are ignoring the evidence at hand.

This comment has been minimized.

Copy link
@ofenbach

ofenbach Apr 1, 2023

I was here future historians!

This comment has been minimized.

Copy link
@MertBalkan

MertBalkan Apr 1, 2023

nope

This comment has been minimized.

Copy link
@gptlang

gptlang Apr 1, 2023

Do people not understand April fools?

This comment has been minimized.

Copy link
@GraphicsMonster

GraphicsMonster Apr 1, 2023

It has been perfectly staged for a perfect April fool's prank lmao

This comment has been minimized.

Copy link
@HFRleto

HFRleto Apr 1, 2023

Ahahahha, that was fun

This comment has been minimized.

Copy link
@masa83

masa83 Apr 1, 2023

GOOD JOB!!!!
LoveCuteGIF

This comment has been minimized.

Copy link
@0xgirish

0xgirish Apr 1, 2023

😄

This comment has been minimized.

Copy link
@boogheta

boogheta Apr 1, 2023

OMG

This comment has been minimized.

Copy link
@nguyentrieuanduong

nguyentrieuanduong Apr 1, 2023

lmao =")))))

This comment has been minimized.

Copy link
@MaddyKakkoHeart

MaddyKakkoHeart Apr 1, 2023

elon, no one loves you and trans rights are human rights.

This comment has been minimized.

Copy link
@huuhieu17

huuhieu17 Apr 1, 2023

This code is worth 44 billion USD

This comment has been minimized.

Copy link
@vuanhson

vuanhson Apr 1, 2023

I was here :lmao:

This comment has been minimized.

Copy link
@ben1009

ben1009 Apr 1, 2023

666

This comment has been minimized.

Copy link
@nicognaW

nicognaW Apr 1, 2023

LMAO GitHub plz send this to the antarctica

This comment has been minimized.

Copy link
@JayDerderian

JayDerderian Apr 1, 2023

Lmao hollly shit

This comment has been minimized.

Copy link
@FHZergursh

FHZergursh Apr 1, 2023

No wonder they made this public on April Fools💀

This comment has been minimized.

Copy link
@moofmurphy

moofmurphy Apr 1, 2023

This code is worth 44 billion USD

Damn that's an expensive plate of transphobic spaghetti

This comment has been minimized.

Copy link
@kodalli

kodalli Apr 1, 2023

Bruh ain't now way 💀

This comment has been minimized.

Copy link
@cyantiz

cyantiz Apr 2, 2023

sir buy a big social network and add own supreme role into it 💀

This comment has been minimized.

Copy link
@funguy-tech

This comment has been minimized.

Copy link
@srahkmli

srahkmli Apr 2, 2023

May the past remembered ;)

This comment has been minimized.

Copy link
@Donovan-Shahly

Donovan-Shahly Apr 3, 2023

👏👏👏

This comment has been minimized.

Copy link
@hieuls369

hieuls369 Apr 3, 2023

I was here

This comment has been minimized.

Copy link
@characTooling

characTooling Apr 3, 2023

The most expensive single line of useless code on Earth

This comment has been minimized.

Copy link
@qwenw57

qwenw57 Apr 4, 2023

lgtm!

candidate =>
candidate
.getOrElse(AuthorIdFeature, None).contains(candidate.getOrElse(DDGStatsElonFeature, 0L))),
(
"author_is_power_user",
candidate =>
candidate
.getOrElse(AuthorIdFeature, None)
.exists(candidate.getOrElse(DDGStatsVitsFeature, Set.empty[Long]).contains)),
(
"author_is_democrat",

This comment has been minimized.

Copy link
@DatoAkobiaQualcommAtheros

DatoAkobiaQualcommAtheros Mar 31, 2023

NO WAY THIS IS REAL 😭

This comment has been minimized.

Copy link
@tomaszpieczykolan

tomaszpieczykolan Mar 31, 2023

there's also author_is_republican

This comment has been minimized.

Copy link
@bennash

bennash Mar 31, 2023

I submitted a PR to add libertarians. They closed it. And then this!!

This comment has been minimized.

Copy link
@sy1vi3

sy1vi3 Mar 31, 2023

aint no way

This comment has been minimized.

Copy link
@tomaszpieczykolan

tomaszpieczykolan Apr 1, 2023

apparently it was just used for logging

This comment has been minimized.

Copy link
@FrAndroidd

FrAndroidd Apr 1, 2023

what

This comment has been minimized.

Copy link
@GeorgeShao

GeorgeShao Apr 1, 2023

This is gold, idek if this is an April Fools joke anymore based on the serious answer they gave on the Twitter call

This comment has been minimized.

Copy link
@Prakhar896

Prakhar896 Apr 1, 2023

yassss biassss ✨

This comment has been minimized.

Copy link
@Radu-D

Radu-D Apr 1, 2023

👍

candidate =>
candidate
.getOrElse(AuthorIdFeature, None)
.exists(candidate.getOrElse(DDGStatsDemocratsFeature, Set.empty[Long]).contains)),
(
"author_is_republican",
candidate =>
candidate
.getOrElse(AuthorIdFeature, None)
.exists(candidate.getOrElse(DDGStatsRepublicansFeature, Set.empty[Long]).contains)),
("served_in_threaded_conversation_module", _ => false)

This comment has been minimized.

Copy link
@StormyDragon

StormyDragon Mar 31, 2023

Didn't leave a trailing comma.

This comment has been minimized.

Copy link
@gussegovia98

gussegovia98 Mar 31, 2023

absolutely terrible delete the whole repo

This comment has been minimized.

Copy link
@vmfunc

vmfunc Mar 31, 2023

skull emoji

This comment has been minimized.

Copy link
@RubberDuckShobe

RubberDuckShobe Mar 31, 2023

bruh momentum

This comment has been minimized.

Copy link
@NicholasDominici

NicholasDominici Mar 31, 2023

lgtm

This comment has been minimized.

Copy link
@whit3st

whit3st Mar 31, 2023

AHAHAH BROOO

This comment has been minimized.

Copy link
@HotNoob

HotNoob Mar 31, 2023

scroll down

This comment has been minimized.

Copy link
@BankkRoll

BankkRoll Mar 31, 2023

There should not be a trailing comma on line 223. Adding a trailing comma would result in a syntax error.

This comment has been minimized.

Copy link
@luduvigo

luduvigo Apr 1, 2023

Nice April Fool

This comment has been minimized.

Copy link
@jesseruu

jesseruu Apr 1, 2023

No way lmao

This comment has been minimized.

Copy link
@Raid55

Raid55 Apr 1, 2023

I think this is a good opportunity to rewrite the whole thing in Rust, can I get a thumbs up?

This comment has been minimized.

Copy link
@SliderOnTheBlack

SliderOnTheBlack Apr 1, 2023

I think this is a good opportunity to rewrite the whole thing in Rust, can I get a thumbs up?

People rewriting earth in rust
download

This comment has been minimized.

Copy link
@Radu-D

Radu-D Apr 1, 2023

👌

)

val PredicateMap = CandidatePredicates.toMap
Expand Down
@@ -1,12 +1,10 @@
package com.twitter.home_mixer.functional_component.feature_hydrator

import com.twitter.config.yaml.YamlMap
import com.twitter.finagle.tracing.Annotation.BinaryAnnotation
import com.twitter.finagle.tracing.ForwardAnnotation
import com.twitter.home_mixer.model.HomeFeatures._
import com.twitter.home_mixer.model.request.DeviceContext.RequestContext
import com.twitter.home_mixer.model.request.HasDeviceContext
import com.twitter.home_mixer.param.HomeMixerInjectionNames.DDGStatsAuthors
import com.twitter.joinkey.context.RequestJoinKeyContext
import com.twitter.product_mixer.component_library.model.cursor.UrtOrderedCursor
import com.twitter.product_mixer.core.feature.Feature
Expand All @@ -24,22 +22,16 @@ import com.twitter.snowflake.id.SnowflakeId
import com.twitter.stitch.Stitch
import java.util.UUID
import javax.inject.Inject
import javax.inject.Named
import javax.inject.Singleton

@Singleton
class RequestQueryFeatureHydrator[
Query <: PipelineQuery with HasPipelineCursor[UrtOrderedCursor] with HasDeviceContext] @Inject() (
@Named(DDGStatsAuthors) ddgStatsAuthors: YamlMap)
extends QueryFeatureHydrator[Query] {
) extends QueryFeatureHydrator[Query] {

This comment has been minimized.

Copy link
@ankitson

ankitson Apr 1, 2023

i love me some hydration 💦💦💦🥹😇


override val features: Set[Feature[_, _]] = Set(
AccountAgeFeature,
ClientIdFeature,
DDGStatsDemocratsFeature,
DDGStatsRepublicansFeature,
DDGStatsElonFeature,

This comment has been minimized.

Copy link
@jkfzero

jkfzero Apr 1, 2023

Boss feature😂

DDGStatsVitsFeature,

This comment has been minimized.

Copy link
@LrWm3

LrWm3 Apr 1, 2023

vits is love, vits is life 🐸

DeviceLanguageFeature,
GetInitialFeature,
GetMiddleFeature,
Expand All @@ -59,10 +51,6 @@ class RequestQueryFeatureHydrator[
override val identifier: FeatureHydratorIdentifier = FeatureHydratorIdentifier("Request")

private val DarkRequestAnnotation = "clnt/has_dark_request"
private val Democrats = "democrats"
private val Republicans = "republicans"
private val Elon = "elon"

This comment has been minimized.

Copy link
@VortexHero

VortexHero Apr 1, 2023

noooooooo not the elon variable 😭😭😭

anything but the elon variable 😭😭😭

PepeHands

This comment has been minimized.

Copy link
@CozyMeli-gitv2

CozyMeli-gitv2 Apr 1, 2023

bro has his own fucking variable 💀

This comment has been minimized.

Copy link
@MaG21

MaG21 Apr 1, 2023

non-blocking: Should be private val Elon = "Elon" String literal should have capital E otherwise LGTM. :shipit:

This comment has been minimized.

Copy link
@rifusaki

rifusaki Apr 1, 2023

watching history unfold folks 💀

This comment has been minimized.

Copy link
@justintroy

justintroy Apr 1, 2023

im here

This comment has been minimized.

Copy link
@Raid55

Raid55 Apr 1, 2023

the new youtube comment section github features are finally here!

This comment has been minimized.

Copy link
@WTFender

WTFender Apr 1, 2023

Oh my...

This comment has been minimized.

Copy link
@aldotobing

aldotobing Apr 1, 2023

Wth😩😩😩😩

This comment has been minimized.

Copy link
@spaceyspacestar

spaceyspacestar Apr 1, 2023

i can't believe they robbed my boy elon like that 😢

This comment has been minimized.

Copy link
@urpayn

urpayn Apr 1, 2023

Lol

This comment has been minimized.

Copy link
@LucasSpeer

LucasSpeer Apr 1, 2023

Elon elon = new Elon.long();

This comment has been minimized.

Copy link
@dev0T

dev0T Apr 1, 2023

the good old true = "true"

This comment has been minimized.

Copy link
@Maxwell-Fisher

Maxwell-Fisher Apr 1, 2023

Ah yes, the 3 genders

This comment has been minimized.

Copy link
@proactive-solutions

proactive-solutions Apr 1, 2023

Elon was doing pair programming

This comment has been minimized.

Copy link
@Radu-D

Radu-D Apr 1, 2023

😮

This comment has been minimized.

Copy link
@Merzaad

Merzaad Apr 1, 2023

D:

This comment has been minimized.

Copy link
@IgorKowalczyk

IgorKowalczyk Apr 1, 2023

We lost Elon.... 😭

This comment has been minimized.

Copy link
@nguyentrieuanduong

nguyentrieuanduong Apr 1, 2023

I laughed so hard and got so far ="))))))))))))

This comment has been minimized.

Copy link
@phucbienvan

phucbienvan Apr 1, 2023

lmao

This comment has been minimized.

Copy link
@aoshfan

aoshfan Apr 1, 2023

lol elon variable is real.

This comment has been minimized.

Copy link
@sunbqxyz

sunbqxyz Apr 1, 2023

lol

This comment has been minimized.

Copy link
@davidbepo

davidbepo Apr 1, 2023

e L on

This comment has been minimized.

Copy link
@kemono

kemono Apr 1, 2023

Elon isn't private now.
With this commit he was unleashed from twitter😨

This comment has been minimized.

Copy link
@Maverick7

Maverick7 Apr 2, 2023

Seriously , deliberately, Elon must be kidding

This comment has been minimized.

Copy link
@wiserdivisor

wiserdivisor Apr 7, 2023

Absolutely B A R B A R I C
image

This comment has been minimized.

Copy link
@bigboss3

bigboss3 Apr 19, 2023

interesting

This comment has been minimized.

Copy link
@philip-nomad

philip-nomad Apr 12, 2024

WOW

private val Vits = "vits"

This comment has been minimized.

Copy link
@particledecay

particledecay Apr 1, 2023

RIP the Vits 😭

This comment has been minimized.

Copy link
@pictta-mac

pictta-mac Apr 1, 2023

lmao

This comment has been minimized.

Copy link
@Hydraxonn

Hydraxonn Apr 3, 2023

Looks like those tweeters aren't very important anymore...


// Convert Language code to ISO 639-3 format
private def getLanguageISOFormatByCode(languageCode: String): String =
Expand All @@ -83,16 +71,6 @@ class RequestQueryFeatureHydrator[
val featureMap = FeatureMapBuilder()
.add(AccountAgeFeature, query.getOptionalUserId.flatMap(SnowflakeId.timeFromIdOpt))
.add(ClientIdFeature, query.clientContext.appId)
/**
* These author ID lists are used purely for metrics collection. We track how often we are
* serving Tweets from these authors and how often their tweets are being impressed by users.
* This helps us validate in our A/B experimentation platform that we do not ship changes
* that negatively impacts one group over others.
*/

This comment has been minimized.

Copy link
@MrCheeze

MrCheeze Apr 1, 2023

In plain english: If your change makes elon get forced onto everyone's feed it will be approved, if your change reduces that it will be rejected.

This comment has been minimized.

Copy link
@WTFender

WTFender Apr 1, 2023

History in the making

This comment has been minimized.

Copy link
@null4bl3

null4bl3 Apr 2, 2023

Atleast they named it 'snowflake'

.add(DDGStatsDemocratsFeature, ddgStatsAuthors.longSeq(Democrats).toSet)
.add(DDGStatsRepublicansFeature, ddgStatsAuthors.longSeq(Republicans).toSet)
.add(DDGStatsVitsFeature, ddgStatsAuthors.longSeq(Vits).toSet)
.add(DDGStatsElonFeature, ddgStatsAuthors.longValue(Elon))

This comment has been minimized.

Copy link
@zachnorman02

zachnorman02 Apr 1, 2023

Twitter wanted to be the public square, but turns out it was GitHub all along.

This comment has been minimized.

Copy link
@austinhuang0131

austinhuang0131 Apr 1, 2023

"Public square" is just a place where people gather, it could be anywhere

.add(DeviceLanguageFeature, query.getLanguageCode.map(getLanguageISOFormatByCode))
.add(
GetInitialFeature,
Expand Down
Expand Up @@ -176,10 +176,6 @@ object HomeFeatures {
override def personalDataTypes: Set[pd.PersonalDataType] = Set(pd.PersonalDataType.ClientType)
}
object CachedScoredTweetsFeature extends Feature[PipelineQuery, Seq[hmt.CachedScoredTweet]]
object DDGStatsElonFeature extends Feature[PipelineQuery, Long]

This comment has been minimized.

Copy link
@gptlang

gptlang Apr 1, 2023

👀

This comment has been minimized.

Copy link
@magemore

magemore Apr 1, 2023

So what role of DDGStatsElonFeature was? What did it specially for Elon?

object DDGStatsVitsFeature extends Feature[PipelineQuery, Set[Long]]
object DDGStatsDemocratsFeature extends Feature[PipelineQuery, Set[Long]]
object DDGStatsRepublicansFeature extends Feature[PipelineQuery, Set[Long]]
object DeviceLanguageFeature extends Feature[PipelineQuery, Option[String]]
object DismissInfoFeature
extends FeatureWithDefaultOnFailure[PipelineQuery, Map[st.SuggestType, Option[DismissInfo]]] {
Expand Down
@@ -1,18 +1,5 @@
package com.twitter.home_mixer.module

import com.google.inject.Provides
import com.twitter.config.yaml.YamlMap
import com.twitter.home_mixer.param.HomeMixerInjectionNames.DDGStatsAuthors
import com.twitter.inject.TwitterModule
import javax.inject.Named
import javax.inject.Singleton

object HomeMixerResourcesModule extends TwitterModule {

private val AuthorsFile = "/config/authors.yml"

This comment has been minimized.

Copy link
@harish-datla

harish-datla Apr 1, 2023

open source this file


@Provides
@Singleton
@Named(DDGStatsAuthors)
def providesDDGStatsAuthors(): YamlMap = YamlMap.load(AuthorsFile)
}
object HomeMixerResourcesModule extends TwitterModule {}

This comment has been minimized.

Copy link
@unixzii

unixzii Apr 1, 2023

Do we still need this module? Is there anyone who can teach me dependency injection?

Expand Up @@ -4,7 +4,6 @@ object HomeMixerInjectionNames {
final val AuthorFeatureRepository = "AuthorFeatureRepository"
final val CandidateFeaturesScribeEventPublisher = "CandidateFeaturesScribeEventPublisher"
final val CommonFeaturesScribeEventPublisher = "CommonFeaturesScribeEventPublisher"
final val DDGStatsAuthors = "DDGStatsAuthors"
final val EarlybirdRepository = "EarlybirdRepository"
final val EngagementsReceivedByAuthorCache = "EngagementsReceivedByAuthorCache"
final val GraphTwoHopRepository = "GraphTwoHopRepository"
Expand Down

177 comments on commit ec83d01

@ayebrian
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bruh

@LeanKhan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ha

@itssomething
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TTours

@pmt99
Copy link

@pmt99 pmt99 commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiến đẹp trai đã ghé thăm!!!

@firminunderscore
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GG

@guibaq
Copy link

@guibaq guibaq commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment!

@bayasgalanpf
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GG

@Foretack
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

320344561_703952531104962_3894141500063996982_n

@MaddyKakkoHeart
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@dubi0us
Copy link

@dubi0us dubi0us commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay

@gorgonaut04
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we’re learning that these comments present a O = n^2 problem

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@delgh1
Copy link

@delgh1 delgh1 commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO YOU PEOPLE REALIZE HOW LONG DOES IT TAKE TO LOAD THIS PAGE??
MORE!!!!!!!!!!!!!!!

@polybiusproxy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the hell is happening here

@null-char
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@revelsix from a quick glance it seems that these are only used for analytics purposes, not actually affecting the algo

      /**
       * These author ID lists are used purely for metrics collection. We track how often we are
       * serving Tweets from these authors and how often their tweets are being impressed by users.
       * This helps us validate in our A/B experimentation platform that we do not ship changes
       * that negatively impacts one group over others.
       */

Can you read, sir? This allows them to validate that any/all changes have the desired effect. Boosting Elon. They can claim it’s so they don’t negatively impact one group over others all they want, but their actions do not have to actually reflect this.

Are you sure it was boosting Elon? Maybe it did something else. It's not clear from source code how Elon Musk was special.

Assuming this isn't sarcasm, the comment explains that the intent behind collecting those analytics is to ensure a change doesn't advantage one group over another. Elon hilariously having his own group.

@revelsix
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

holy shit please get me out of the quote chain I've unsubscribed from email notifications 5 times now and they keep coming back

@MaddyKakkoHeart
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're trapped in here with us

@null-char
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

holy shit please get me out of the quote chain I've unsubscribed from email notifications 5 times now and they keep coming back

You cannot escape Elon.

@poleshe
Copy link

@poleshe poleshe commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@EK720
Copy link

@EK720 EK720 commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me on my way to commit twittercide:

@tuanvumaihuynh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meolol

@jainpranayr
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elon

@hackertron
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯👀

@ishaantiwari
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was here. History being made as the richest man tries to get his engineers to make him more popular.
Just run the emerald mine, dawg. Heard those are really hip.

@MaddyKakkoHeart
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All you faggots go back to reddit and/or twitter. You will never learn to program and you will never be funny.

elon won't sleep with you, give it up

@sapphiregaze
Copy link

@sapphiregaze sapphiregaze commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All you faggots go back to reddit and/or twitter. You will never learn to program and you will never be funny.

keep crying about it :)

@ShubhamKG1999
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is weird.

@SippinOnJuiceBox
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ynissar
💀

@logitechf
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, Elon.

@BelmoMusta
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi twitter dudes

@alii
Copy link

@alii alii commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commenting because i was here

@kkarhan
Copy link

@kkarhan kkarhan commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anyone pulled a fork? cuz AFAICT once their AGPLv3'd code is forked, they'll have to FLOSS their entire API!

@nhdez
Copy link

@nhdez nhdez commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1611949233210

@ledlamp
Copy link

@ledlamp ledlamp commented on ec83d01 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

one is enough would you stop this

@sanamhub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

one is enough would you stop this

ok

@kit-repo-depot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey guys just so you know force pushing a new initial commit doesn’t get rid of the old ones

@aichitoufu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

: )

@PalAditya
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting because why not? :)

@collinsauve
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anyone pulled a fork? cuz AFAICT once their AGPLv3'd code is forked, they'll have to FLOSS their entire API!

That's not how this works. They still hold their original copyright.

@BlackHatWriter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it

@dmaicher
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@GabSnow24
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving my mark here in history!

@adithyaakrishna
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adithya was here on 02/04/2022

@dyanikoglu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe, I was here :)

@Sevanpence
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sevanpence_Elon_musk_this_is_fine_meme_6f42dbdf-e84c-4a10-9e10-fceebb120f55

"This is fine."

@juliuszhang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting

@goverdhan07
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@zpeng2022
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, history!

@aaryandewan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just commenting on this thread because of FOMO ahahha

@MatrixV01
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@intincrab
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panieldark
Copy link

@panieldark panieldark commented on ec83d01 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add author_is_trump
pepepls

@iErcann
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wtf is this thread 💀💀

@Veixlix
Copy link

@Veixlix Veixlix commented on ec83d01 May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this entire commit takes 10 seconds to load in

@MayCXC
Copy link

@MayCXC MayCXC commented on ec83d01 Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Please sign in to comment.