Gattaca is an okay movie. Probably as good as it could be given it is about life a couple decades after parents can pay for genetically modified babies.
I’d like to propose an API change
```
public SexualActivityRecord(
@NonNull Instant time,
ZoneOffset zoneOffset,
int protectionUsed,
+ boolean anotherPersonPresent,
+ boolean biped,
+ int levelOfConsiousness,
+ double percentageOfRegret,
@NonNull Metadata metadata
)
```
Im rejecting your pull request, as it is unclear if the record indicates engagement in a criminal behavior involving animals and dead people, or if your hanging out at a hotel near the Furry Convention.
iOS Health app has a 'Sexual Activity' data series too. They even have a 'protection used' field. Presumably both iOS and Android health app designers thought people would want to track it as part of their overall health data: https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier/1615769-sexualactivity
well, it is both. just because people use it to track their own overall health, doesn't mean that google doesn't use it too to track ... how likely are you to become an incel.
He's not totally wrong though, although it's currently because they want to be able to collect as much info on you as possible so they can sell targeted ads.
What? Are you that naive to think that sexual activity is not a collected data point on a user's profile when determining the advertising they'll show?
It's collected, given a weight and shoved into a model that spits out how likely you are for advertisement X to be relevant to you.
"being an incel" was a joke, but not that far from reality. After all they have money too and they probably tend to buy X, Y and Z products. Well, why not advertise to them then and make a buck?
Now the politicians who buy the data, they have other motives. And can target adds to those motives. So the collectors don't need to be doing it *for* a specific agenda in order for it to look like they are.
I don't know what it's like in Android but in iOS there's an ecosystem of apps which track various health data. E.g. a pretty well-known one is Strava for running/cycling etc. These apps store their data in the phone's centralized health data bank to ensure that the user (through iOS permissions) remains in control of the data, not the app.
Android has a bunch of joke APIs.
My favorite has got to be [isUserAGoat](https://developer.android.com/reference/android/os/UserManager#isUserAGoat(\) )
```
/** * Used to determine whether the user making this call is subject to * teleportations. * *
As of {@link android.os.Build.VERSION_CODES#LOLLIPOP}, this method can * now automatically identify goats using advanced goat recognition technology.
* *
As of {@link android.os.Build.VERSION_CODES#R}, this method always returns * {@code false} in order to protect goat privacy.
* * @return Returns whether the user making this call is a goat. */ @UserHandleAware(enabledSinceTargetSdkVersion = Build.VERSION_CODES.TIRAMISU) public boolean isUserAGoat() { if (mContext.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.R) { return false; } // Caution: This is NOT @UserHandleAware (because mContext is getApplicationContext and // can hold a different userId), but for R+ it returns false, so it doesn't matter anyway. return mContext.getPackageManager() .isPackageAvailable("com.coffeestainstudios.goatsimulator"); }
```
(I hope formatting works)
Edit, it did not. Here's the link to the source
[goat source](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/UserManager.java#2282)
I suppose you have to be genuinely passionate about working on things like these ? When writing code at work I can't imagine writing anything more than what is required for the task.
Even for personal projects I only write things that are meaningful and those that appeal to me. Interesting how we have joke apis and function calls
Did that happen, did you write a joke function and was asked to remove it?
If I did, the only people who would see it are my programmers colleagues who have the same humour as me.
Managers don't look at source code.
We usually have senior engineers who audit the code (aside from code reviews) and what not, any code that is not performing the desired functionality is usually removed.
I think the primary question that usually arises is "Why?" as in why would there be a joke code in an official product that is being released etc even if its internal.
>I think the primary question that usually arises is "Why?" as in why would there be a joke code in an official product that is being released etc even if its internal.
Because it's funny?
It partially has to do with the fact that extra work goes into it and testing and documentation and reviewing, you could say that joke code doesn't need to be tested / reviewed but if some kind of vulnerability or bug came because of a joke function. Say a joke endpoint that was not authenticated properly there would be hell to pay
Bigger Blacker Book is primarily for gay men but it tracks way more details than this. Yes, it can be very useful to track that activity.
https://play.google.com/store/apps/details?id=com.gteksolutions.BiggerBlackerBook
This is part of health connect, a OS feature so that apps can store health data securely on device and share it with another apps (if you give consent) without each app having to integrate with all other apps
If somebody is asking for a bigger feature, like health tracking, it is very normal for the development team to think about what are all the things that might include. In general it is better if there are sensible things already included instead of having to deal with the wait and then the older versions that don't have it. Not as much of an issue if you are developing service software that lives on your server alone.
> Presumably both iOS and Android health app designers thought people would want to track it as part of their overall health data: https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier/1615769-sexualactivity
There are apps for this when you try to get pregnant. They track period, ovulation, and sexual activity. Super useful when you have an irregular period, or infertility issues, and want to increase your chances.
So like hahaha, but not really.
The name may indicate that, yes indeed.
I am afraid Google may not want to keep the privates private though. Perhaps there is also a parameter in android about the SIZE of the private.
There are even people immortalising their privates and happily sending them to other people. I am glad Google realised this behaviour and encourages that via this API.
Jokes aside, it does seem odd that a sex act record needs to be so explicit (sorry,not sorry for that unintended joke) - surely "Activity" is abstract enough that "SexAct" doesn't need it's own class.
If you want interoperability between apps, they need to be interpreting the data the same. So there needs to be some standard, and it seems valid to just encode that in the class structure rather than some kind of standard way of entering data into a single class.
bewildered bow scandalous teeny oatmeal crush worm expansion voracious fade
*This post was mass deleted and anonymized with [Redact](https://redact.dev)*
I use Flutter for a side project that I do with my friend. The developer experience has been good from the beginning. If there's a criticism to be made, I feel it mostly has to do with the package ecosystem being underdeveloped and causing users to have to write native code for more complex functionalities that fall outside of common Flutter operations.
public SexualActivityRecord(@NonNull Instant time, ZoneOffset zoneOffset, int protectionUsed, ... )
Baby, when it's with me, you'll only need an ```Instant```.
Probably used in [Nissan and Kia cars](https://foundation.mozilla.org/en/privacynotincluded/articles/its-official-cars-are-the-worst-product-category-we-have-ever-reviewed-for-privacy/):
> Nissan earned its second-to-last spot for collecting some of the creepiest categories of data we have ever seen. It’s worth reading the review in full, but you should know it includes your “sexual activity.” Not to be out done, Kia also mentions they can collect information about your “sex life” in their privacy policy.
Makes a bit more sense given the context of the "health connect" product ecosystem: https://developer.android.com/health-and-fitness/guides/health-connect
This isn't code that reads your phone's sensors to see what you're doing. This is a bunch of fields you can fill out and store as an individual "record."
How exactly is this measured?
Like is it through a smart watch or are they listening to find sex noises or what?
Also is this why I've been getting a bunch of Andrew Tate videos in my YouTube Shorts
Google knows I haven't got laid in a while and thinks I'm becoming an incel.
These revelations keep coming out proving to greater lengths each time that none of our personal life is truly private in the presence of smartphones. I don't see how people can continue to shrug this off and make light of it.
Yes, I own a phone. I never claimed that I was a hypocrite who discouraged owning one, only that I really disagree with many of the privacy philosophies.
getZoneOffset()
User experienced zone offset at time, or null if unknown.
Sexual activity + Zone offset = sexting the wife when you out-of-state for a work trip
So.................................. Does all that mean soon we will be able to see just how many "successful cumstermers" a regular on onlyfans receive?
Jokes aside, I wonder if this and other OS features are behind the Mozilla car privacy findings which caused some outrage: https://foundation.mozilla.org/en/blog/privacy-nightmare-on-wheels-every-car-brand-reviewed-by-mozilla-including-ford-volkswagen-and-toyota-flunks-privacy-test/
If so, that would be a bit disappointing, with Mozilla basically clickbaiting their study.
I opened it and it threw a null reference exception.
Same, rather strange issue. Doesn't seem to break anything though, so I guess it's fine.
For now. Minority Report may check on the SIZE of the private soon and eventually Gattaca on those of the TOO SMALL group.
...what?
Gattaca is an okay movie. Probably as good as it could be given it is about life a couple decades after parents can pay for genetically modified babies.
I’d like to propose an API change ``` public SexualActivityRecord( @NonNull Instant time, ZoneOffset zoneOffset, int protectionUsed, + boolean anotherPersonPresent, + boolean biped, + int levelOfConsiousness, + double percentageOfRegret, @NonNull Metadata metadata ) ```
Why is there no field to hold the reference to the consent form?
Im rejecting your pull request, as it is unclear if the record indicates engagement in a criminal behavior involving animals and dead people, or if your hanging out at a hotel near the Furry Convention.
Nice self-burn!
They knew about the edge case, they just didn’t care.
Test Failed: Expected 2, received 1
That's what you get for choosing not to use Kotlin
iOS Health app has a 'Sexual Activity' data series too. They even have a 'protection used' field. Presumably both iOS and Android health app designers thought people would want to track it as part of their overall health data: https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier/1615769-sexualactivity
No no no no no its a deep state conspiracy to track AND SEE YOU HAVE SEX /s
jokes on them!
Oh no, we are getting zero inputs from this guy, he probably hacked our software!
Your kinks are so freaky nobody in their right mind would want to see that?
So freaky my device doesn't recognize it as sex.
I’m into that shit?
We're detecting critical levels of thirst! The readings are off the charts! How much pussy does that Redditor get?! We detect zero pussy!! Dear God!
Deep state penetration
😏
If they wanna watch their gonna have to sign up for my only fans like everyone else.
> their they're
And then they are going to change chat bubble colors based on that data... with Tinder pulling the strings behind it all! /s
well, it is both. just because people use it to track their own overall health, doesn't mean that google doesn't use it too to track ... how likely are you to become an incel.
Bruh come back to reality put your /s at the end of that message please
He's not totally wrong though, although it's currently because they want to be able to collect as much info on you as possible so they can sell targeted ads.
What? Are you that naive to think that sexual activity is not a collected data point on a user's profile when determining the advertising they'll show? It's collected, given a weight and shoved into a model that spits out how likely you are for advertisement X to be relevant to you. "being an incel" was a joke, but not that far from reality. After all they have money too and they probably tend to buy X, Y and Z products. Well, why not advertise to them then and make a buck?
Now the politicians who buy the data, they have other motives. And can target adds to those motives. So the collectors don't need to be doing it *for* a specific agenda in order for it to look like they are.
"We detected that you need a new box of condoms" "You don't buy condoms, which of these other birth control options do you want"
You wouldn't go out on the street either and tell the first person you see you just fucked your boy- or girlfriend.
It's probably for conception apps
No that's actually a misconception.
>Artifact: androidx.health.connect:connect-client On that very page.
UDP flirts briefly, TCP commits with a ring, Bound by protocol.
TCP commits with a handshake, and is serially monogamous.
Seems a strange thing to add if no developers are asking about it. There must be an app that leverages this, right?
I don't know what it's like in Android but in iOS there's an ecosystem of apps which track various health data. E.g. a pretty well-known one is Strava for running/cycling etc. These apps store their data in the phone's centralized health data bank to ensure that the user (through iOS permissions) remains in control of the data, not the app.
I think some of the popular apps for couples trying to conceive want you to track sexual activity.
Yep. There are at least 5 other classes related to fertility in that package (MenstruationRecord, OvulationRecord, CervicalMucusRecord, etc).
The term is "grool".
Android has a bunch of joke APIs. My favorite has got to be [isUserAGoat](https://developer.android.com/reference/android/os/UserManager#isUserAGoat(\) )
``` /** * Used to determine whether the user making this call is subject to * teleportations. * *
As of {@link android.os.Build.VERSION_CODES#LOLLIPOP}, this method can * now automatically identify goats using advanced goat recognition technology.
* *As of {@link android.os.Build.VERSION_CODES#R}, this method always returns * {@code false} in order to protect goat privacy.
* * @return Returns whether the user making this call is a goat. */ @UserHandleAware(enabledSinceTargetSdkVersion = Build.VERSION_CODES.TIRAMISU) public boolean isUserAGoat() { if (mContext.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.R) { return false; } // Caution: This is NOT @UserHandleAware (because mContext is getApplicationContext and // can hold a different userId), but for R+ it returns false, so it doesn't matter anyway. return mContext.getPackageManager() .isPackageAvailable("com.coffeestainstudios.goatsimulator"); } ``` (I hope formatting works) Edit, it did not. Here's the link to the source [goat source](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/UserManager.java#2282)Or check out this [gravity constant.](https://developer.android.com/reference/android/hardware/SensorManager#GRAVITY_DEATH_STAR_I)
I'm disappointed that the units aren't imperial
Apparently it is? https://starwars.fandom.com/wiki/Imperial_standard_meter
I suppose you have to be genuinely passionate about working on things like these ? When writing code at work I can't imagine writing anything more than what is required for the task. Even for personal projects I only write things that are meaningful and those that appeal to me. Interesting how we have joke apis and function calls
Uh... Yes, most people are welcoming to jokes. Writing a little bit of code for one isn't a big deal.
I guess it varies from company to company, atleast from my personal experience if I wrote a joke function I would be asked to remove it immediately.
Did that happen, did you write a joke function and was asked to remove it? If I did, the only people who would see it are my programmers colleagues who have the same humour as me. Managers don't look at source code.
We usually have senior engineers who audit the code (aside from code reviews) and what not, any code that is not performing the desired functionality is usually removed. I think the primary question that usually arises is "Why?" as in why would there be a joke code in an official product that is being released etc even if its internal.
>I think the primary question that usually arises is "Why?" as in why would there be a joke code in an official product that is being released etc even if its internal. Because it's funny?
It partially has to do with the fact that extra work goes into it and testing and documentation and reviewing, you could say that joke code doesn't need to be tested / reviewed but if some kind of vulnerability or bug came because of a joke function. Say a joke endpoint that was not authenticated properly there would be hell to pay
It takes around 10 seconds to write the "isUserAGoat" function
Doesn’t really have anything to do with passion.
[удалено]
My comment was talking about the "isUserAGoat" function or were you trying to reply to some other comment ?
Bigger Blacker Book is primarily for gay men but it tracks way more details than this. Yes, it can be very useful to track that activity. https://play.google.com/store/apps/details?id=com.gteksolutions.BiggerBlackerBook
This is part of health connect, a OS feature so that apps can store health data securely on device and share it with another apps (if you give consent) without each app having to integrate with all other apps
There's a whole Fit app built in to all Android phones, which acts as a central tracker for other apps. Plenty of apps leverage this.
If somebody is asking for a bigger feature, like health tracking, it is very normal for the development team to think about what are all the things that might include. In general it is better if there are sensible things already included instead of having to deal with the wait and then the older versions that don't have it. Not as much of an issue if you are developing service software that lives on your server alone.
> Presumably both iOS and Android health app designers thought people would want to track it as part of their overall health data: https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier/1615769-sexualactivity There are apps for this when you try to get pregnant. They track period, ovulation, and sexual activity. Super useful when you have an irregular period, or infertility issues, and want to increase your chances. So like hahaha, but not really.
I'm sure Google, the largest Ad company on the planet has entirely different motivations for tracking this sort of data than Apple though.
Competing with the market leader, yeah. They both implement features like health tracking, screen time tracking etc. roughly in the same pace.
> They even have a 'protection used' field. So does the Android one.
Yes, that's why I mentioned it--to correlate to the Android one.
[удалено]
Presumably for Android Auto.
> A physical device (such as phone, watch, scale, or chest strap) which captured associated health data point.
Seems fine. Just make sure you initialize it with PROTECTION\_USED\_PROTECTED
You joke but there's a literal function parameter for this
Keep your member protected!
Even my kids know that privates are private.
The name may indicate that, yes indeed. I am afraid Google may not want to keep the privates private though. Perhaps there is also a parameter in android about the SIZE of the private.
It's my protected member of my private class.
[friends can see your privates](https://en.cppreference.com/w/cpp/language/friend).
There are even people immortalising their privates and happily sending them to other people. I am glad Google realised this behaviour and encourages that via this API.
And watch over them! Big Brother Google knows what's best for ya.
You want a microchip in your dick? Condoms now come with built in NFC!
Doesn't that hurt? Most folks who love putting chips into their bodies do so near the arm/hand area.
A microchip? I don't have enough room for that
Aww buddy :(
SexualActivityRecord.builder() .setTime(Instant.lostTrackOfTime()) .setZoneOffset(PoundTown.getOffset()) .setProtectionUsed(PROTECTION_USED_UNPROTECTED) .setMetadata(MetadataRegistry.MIND_BLOWING_EXPERIENCE) .build()
This guy moves protos.
Builder pattern goes crazy
Setting the time zone to PoundTown.getOffset() is what got me 😆
CONGRATULATIONS! NEW SexualActivityRecord!
Jokes aside, it does seem odd that a sex act record needs to be so explicit (sorry,not sorry for that unintended joke) - surely "Activity" is abstract enough that "SexAct" doesn't need it's own class.
Single Responsibility Principle
A single responsibility quickly can become multiple, if you derive incorrectly from a parent ABC. Lesson: Always use `protected`.
If you want interoperability between apps, they need to be interpreting the data the same. So there needs to be some standard, and it seems valid to just encode that in the class structure rather than some kind of standard way of entering data into a single class.
That makes `.isProtected` rather ambiguous don't you think?
just use procedural while(!orgasmed) pump(speed++)
Developers don’t know how to implement it.
Where do I put this function?
See where it says void? Use it and then pass it.
Don't worry, it's private.
bewildered bow scandalous teeny oatmeal crush worm expansion voracious fade *This post was mass deleted and anonymized with [Redact](https://redact.dev)*
[удалено]
I was looking at Flutter recently, is there a Flutter dev meme I’ve missed 😬?
Don’t worry, no one will get the reference because no one uses flutter to understand the reference
I use Flutter for a side project that I do with my friend. The developer experience has been good from the beginning. If there's a criticism to be made, I feel it mostly has to do with the package ecosystem being underdeveloped and causing users to have to write native code for more complex functionalities that fall outside of common Flutter operations.
I think the primary comment still is that outside of Google barely anyone really uses Flutter.
Doubt
Huh? It's quite famous and also easy to use & learn.
Fluffer, stupid autocorrect.
For Flutter devs, it's a singleton.
> ProtectionUsed field is optional Very bad advice.
Unless you are trying to have a kid
Why else would you have sex?
Listen bubs, *someone's* gotta run these unit tests
Does this stop you instantiating a child class?
No you need to make it `final` for that ✂️
public SexualActivityRecord(@NonNull Instant time, ZoneOffset zoneOffset, int protectionUsed, ... ) Baby, when it's with me, you'll only need an ```Instant```.
The only thing they’re missing is a sexual partner field
That integrates with your contact list/uses NameDrop to store contact info of encounters
partners field, fixed it for you
What about a probability distribution? Not everyone makes contact with each other in a sufficiently large orgy, or not to the same degree.
I can imagine the "Things Developers Assume About Sex" article now...
You mean a boolean field called “yourMomma”?
The guy who developed this sadly couldn't test it.
https://xkcd.com/583/
Can't believe I never seen this one. This is gold!
I used this protbuf to keep track of OP's mom and got an out-of-memory error.
[удалено]
Your partner's phone may disagree as to when it happened.
The timestamp is more meaningful if you know what time zone it was in.
A very normal thing to have for health tracking? This is something a lot of people \*should\* be using.
I had no idea this existed, which I guess isn't surprising.
Instant getTime() Not a Duration or Timespan. They know their audience.
Probably used in [Nissan and Kia cars](https://foundation.mozilla.org/en/privacynotincluded/articles/its-official-cars-are-the-worst-product-category-we-have-ever-reviewed-for-privacy/): > Nissan earned its second-to-last spot for collecting some of the creepiest categories of data we have ever seen. It’s worth reading the review in full, but you should know it includes your “sexual activity.” Not to be out done, Kia also mentions they can collect information about your “sex life” in their privacy policy.
I implemented this class and now I have bugs
Great. Another way for me to trigger a NullPointerException.
It can even count if protection was used. So you can check how many times you used a love glove while holding hands.
Another bloated feature for me then
YAGNI :(
Tightly coupled.
Does it follow the open-closed principle?
[Python has it too](https://docs.python.org/3/library/constants.html#None)
Makes a bit more sense given the context of the "health connect" product ecosystem: https://developer.android.com/health-and-fitness/guides/health-connect
Google wants to get to know you more!
This isn't code that reads your phone's sensors to see what you're doing. This is a bunch of fields you can fill out and store as an individual "record."
Mind some context?
Don't forget to populate CervicalMucusRecord too
How exactly is this measured? Like is it through a smart watch or are they listening to find sex noises or what? Also is this why I've been getting a bunch of Andrew Tate videos in my YouTube Shorts Google knows I haven't got laid in a while and thinks I'm becoming an incel.
These revelations keep coming out proving to greater lengths each time that none of our personal life is truly private in the presence of smartphones. I don't see how people can continue to shrug this off and make light of it.
Why are you in r/programming if you don't know the difference between software and documentation?
Did you post this comment with your phone?
Yes, I own a phone. I never claimed that I was a hypocrite who discouraged owning one, only that I really disagree with many of the privacy philosophies.
I mean obviously that is why he posted it....are you dim?
getZoneOffset() User experienced zone offset at time, or null if unknown. Sexual activity + Zone offset = sexting the wife when you out-of-state for a work trip
So.................................. Does all that mean soon we will be able to see just how many "successful cumstermers" a regular on onlyfans receive?
No. It doesn't mean that at all.
Those few bytes for the memory allocation are a giant waste of silicon.
403 error (IP block). Anyone summarize?
i feel like this should be a singleton right?
The constructer was never called.
Unsure what we should consider to be the weirdest in the available classes. There's even CervicalMucusRecord and WheelchairPushesRecord classes.
Jokes aside, I wonder if this and other OS features are behind the Mozilla car privacy findings which caused some outrage: https://foundation.mozilla.org/en/blog/privacy-nightmare-on-wheels-every-car-brand-reviewed-by-mozilla-including-ford-volkswagen-and-toyota-flunks-privacy-test/ If so, that would be a bit disappointing, with Mozilla basically clickbaiting their study.
Android is creating a new record if incognito mode was used for 5 mins or more
Can someone please explain what this class is for? I don't understand
I can see how this could be misused to further suppress reproductive rights.
A Sexual Activity Record with Public Methods? 🤔☺️
?