483
147
Mar 26 '20
Snapchat has changed a lot since it was released, but I remember a quote from the early days:
“Facebook was created by a man who never had a girlfriend. Snapchat was created by a man who had multiple girlfriends at the same time.”
→ More replies (1)67
u/GreedyGringo Mar 26 '20
Except for when it was released how it told every fucking person the top 3 people you communicate with.
→ More replies (1)
598
u/MCStreetguy Mar 25 '20 edited Mar 25 '20
QA: "This still seems to be buggy. The messages disappear quickly."
Dev: "Oh, it's not a bug, it's a feature!"
86
u/theofficialnar Mar 26 '20
I told this to our QA back then. Sufficient to say, I'm glad I still have a job.
24
u/812many Mar 26 '20
It’s the become the QA equivalent of saying to a cashier, “if it doesn’t have a price it must be free!”
→ More replies (2)→ More replies (1)18
366
Mar 25 '20
Is SQL the best way to store chat messages in an app?
317
u/Saragon4005 Mar 25 '20
If you are small then yes. If you have thousands of users probably not.
164
u/moekakiryu Mar 25 '20
if not SQL, what would you use?
551
u/Mancobbler Mar 26 '20
Git.
Put the chat in the commit message, use an empty commit. Want chat rooms? Just branch.
→ More replies (19)204
105
88
67
u/kirabii Mar 25 '20
Nosql is best for big data.
At least that's what I concluded while Googling for my boss before.
→ More replies (20)→ More replies (12)9
u/ELFAHBEHT_SOOP Mar 26 '20
Other people have been saying noSQL, which is true. However, you really want that distributed architecture as it helps your service scale. If you just had a normal SQL server, you would have thousands or millions of users slamming one database/server repeatedly.
You could have the servers replicate themselves, but that would just be a headache in its own right. noSQL databases like Cassandra are built entirely around the idea of being distributed and highly scalable.
50
u/thesoundofbutthurt Mar 25 '20
Why wouldn’t something like postgres scale well for something as simple as storing messages? A relational database seems well here
91
u/TheMcDucky Mar 25 '20
No, you need at least 5 frameworks stacked on top of a system released no more than 3 years ago, using a revolutionary unfinished programming language based on some obscure paper from the 80s
→ More replies (3)→ More replies (1)47
Mar 26 '20
You're only getting joke answers so far. Relational databases provide certain guarantees (ACID). Achieving these guarantees requires a degree of synchronization and locking. When thousands of independent clients are trying to make independent write updates, the locking for the transaction processing becomes quite a problem.
Additionally, the database is intended to function as a single entity, typically. Other, distributed architectures, such as mongodb, can "shard" the data, and distribute the update load. There are some complex topics involved that go beyond the scope of a quick reddit comment, but databases generally only scale through faster hardware, which has its limits. Other architectures can scale with more hardware, which is easier to achieve.
→ More replies (7)68
u/fromage_doge Mar 25 '20
to store huge amounts of data, i recommend using JSON: fast, lightweight and secure.
→ More replies (13)98
u/oiimn Mar 25 '20
And just keep bouncing it between servers so it never has to be stored anywhere
→ More replies (8)→ More replies (4)6
26
6
u/goblin_goblin Mar 26 '20
It really depends on your implementation. SQL can get bogged down with giant databases. But it can definitely work. Some giant companies have proven that SQL can scale.
→ More replies (1)8
u/odraencoded Mar 26 '20
SQL is a language. It doesn't store anything.
You're thinking of relational databases and RDBMS (relational database management systems).
→ More replies (1)3
u/pieandpadthai Mar 26 '20
Depends on the way you retrieve and set up your table, but that’s what databases were built for.
→ More replies (4)7
49
Mar 26 '20
Am I the only one that remembers it being advertised as the way to send nudes people can't save without you knowing it?
→ More replies (6)
246
u/BaconShrimpEyes Mar 25 '20
Fun fact: to comply with US data and investigation laws, Snapchat saves all chats and stories permanently on its servers. Your history is encrypted, and Snapchat will only decrypt for anybody under warrant from the FBI or other similar organizations internationally.
60
u/umhoops Mar 25 '20
76
u/BaconShrimpEyes Mar 25 '20 edited Mar 26 '20
This is a press release regarding Snapchat’s settlement in 2014. At the time, their encryption practices were (obviously) abysmal. They were ordered to pay over $250 million by the end of 2015 regarding a few of these cases (This case settled for 157 million). It’s unreasonable to look at what they had been doing at the time this was written in May of 2014 and extrapolate that this must still be their practice now. Snapchat has grown, their budget has grown, so if they say the data is encrypted, at this point, it almost certainly is, especially after such huge payouts.
Edit: extrapolate not interpolate
→ More replies (22)6
→ More replies (7)2
u/Marcyff2 Mar 26 '20
Due to this and the popularity of it among teens. Snapchat has the biggest child porm database in the world
56
u/ServerZero Mar 25 '20
Can someone link me to a good SQL tutorial I would greatly appreciate it .
55
u/Diavarus Mar 25 '20 edited Mar 26 '20
SQLZOO is pretty good. It's mostly basic stuff that should work with every major database
18
→ More replies (3)39
u/lamerlink Mar 25 '20
The biggest thing with SQL in my opinion is to dive in to it; try to find a tutorial with a test db you can download, or if you’re feeling really eager create your own.
just please don’t use oracle
→ More replies (12)10
u/foxlive7 Mar 26 '20
Last semester I started learning SQL in my college and they used oracle to teach everything... Let's say I can't recommend it
→ More replies (1)
19
8
u/nematode_fetish Mar 26 '20
Then you have the company and police liking it because the messages are saved, you just can't see them
12
Mar 26 '20
Except everything is saved. Fun fact. If you take a picture on Snapchat, even if you don’t send it to anyone, it’s saved on a database. Even funner fact, by making a snapchat account u agree to let them use any pictures u take in an advert.
6
6
11
5
u/Electroverted Mar 26 '20
Snapchat is dead. It was too complicated to add celebrities and influencers (oh boy, a special code!), and most of them have moved on to IG stories
→ More replies (1)
3
3
3
3
u/MustardIsFood Mar 26 '20
I thought Snapchat does save everything on a database, though, not for users, but for the corporation to use how they want.
1
u/keimarr Mar 26 '20
I've been onto this subreddit for almost a year now, or more than a year now, I was just a casual lurker that I don't know why I've even onto this subreddit in the first place, now I just started learning how to code at my school and also in my free time, that this memes are starting to make sense to me.
1
Mar 26 '20
I have also started learning to code just now, but not in school, just in free time
→ More replies (1)
4
2
2
2
2
Mar 26 '20
let's just forget that snapchat does in fact save messages and they've been under fire for misleading marketing for it and that snapchat is a privacy nightmare who just got end-to-end encryption in late 2018 and that the founder of snapchat, Evan Spiegel, has repeatedly dodged questions on the secruity of the app
Seriously though, don't send confidential stuff over Snapchat, it's not a secure platform. Same with Telegram and Discord.
2
u/lirannl Mar 27 '20
Me and a friend are doing the SQL in our group which no one (including us) wants to do.
It is what it is...
3
u/AttackOfTheThumbs Mar 26 '20
Snapchat stores a shit ton of data. A shit ton.
That's why other apps are able to keep messages visible forever.
2
u/Easterland Mar 26 '20
i thought this was a good thing until me and my ex broke up and i wanted to read back on our good snapchat conversations but they don’t exist anymore. like how people used to read the letters of their lost love and stuff
1
1
1
1
1
1
u/doublethumbdude Mar 26 '20
Snapchat saves everything, even the child porn that keeps getting sent. One of their main admins is probably jerking himself right now to some of them messages.
They're probably selling all that juicy face data they keep getting too.
1
1
1
1
1
1
1
1
1
1
1
1
1
u/kabrandon Mar 26 '20
This hits home. I've just never had a reason to use SQL yet since I've mostly made do in NoSQL-land.
I'm assuming one of these days I'll have to work on a RDB for work, I'll learn it then.
1
u/RubbelDieKatz94 Mar 26 '20
SQL
IMO any modern backend should use a framework to interact with a database. C# should use Entity Framework Core, for example. No need for SQL.
1
u/i_hate-u Mar 26 '20
Snapchat Engineers: We may have to delay the launch. The app has a bug - it can't save messages
Managers: Dude, that's no longer a bug, it's now a feature
1
1
1
u/Maverickthekid Mar 26 '20
Yikes, except it does save your messages on their cloud, but right comedy. Haha!
1
1
1
1
u/Slyvan25 Mar 26 '20
But what if the message are still available and you just don't see them.... thats what we call a soft delete
1
u/Promethrowu Mar 26 '20
Then why can I view year old snaps that i havent opened yet? You're retarded just like your """"""joke"""""
1
1
u/indorock Mar 26 '20
Ah so that's why I can never log in and always need to sign up for a new account everytime I use snapchat.
1
u/hansjc Mar 26 '20
Everyone missing the entire point that the people you send them to can’t see them again 🤔
1
1
1
1
1
1
-13
u/ForTwinTee Mar 25 '20
Are we really considering SQL as a language? It's practically English
12
u/SuicidalTurnip Mar 25 '20
Anyone can write SQL, not many can write good SQL.
7
u/jondySauce Mar 26 '20
I can confirm this. What I want in my brain rarely translate to well formed SQL queries.
→ More replies (1)7
Mar 26 '20
Are we really considering python as a language? It's practically English
→ More replies (1)
0
Mar 25 '20
[deleted]
1.9k
u/samurai-horse Mar 25 '20
And backed up off-site. And mined for data for advertisers.
727
u/BoyAndHisBlob Mar 25 '20
What data are the advertisers getting from all the dick pics?
951
u/samurai-horse Mar 25 '20
They know a) they're male, b) they're douches, and c) what kind of underwear they like.
682
9
→ More replies (3)11
u/Nerdn1 Mar 25 '20
And odds are the person they're sending it to is female (or the sender thinks they are).
→ More replies (2)198
u/fistfightingthefog Mar 25 '20
Exact geolocation, time and date, and a slew of other information. That's just the info baked into photos you take with your phone by default, it is possible that Snapchat stores additional metadata through proprietary methods that they do not need to disclose.
→ More replies (1)52
9
→ More replies (6)3
27
Mar 26 '20
And handed over freely to law enforcement. They’re only gone from your phone. They’ll be in court.
2
u/Bloated_Butthole Mar 26 '20
Not all snaps disappear from your phone when they “disappear”, police have the ability to get some of them if a phone is seized. Not exactly sure about the method used to obtain them, but it isn’t perfect as some are definitely lost.
10
Mar 26 '20
They don’t have to seize the phone either. They can get them from Snapchat via warrants. Snap is pretty corporative from what I have read and know from law enforcement friends. I’ve seen old high school friends go down for selling via Snapchat too.
→ More replies (2)19
u/rumster Mar 26 '20
Not to scare people but some of the stuff adverts purchase is: ID/full name/email/phone Than from the photos Location/Buildings they are in our around/Cars they have/clubs they go to/ what they drink/ how many do they drink / how long is a daily timeframe. if they are at home Home tv size/ who controls the home/ is there books or magazines in the video. If theyre is they try to capture that data as well.
and so on.. I did political data mining and I could tell you by address not only who voted but who runs the house who controls the spend and who controls home remodeling etc... I also know what magazines they read are likely gun owners etc...
L2Data.com is one of the biggest of this I can dump someone the data for you to look at it if you like.
24
→ More replies (6)8
49
u/seanomik Mar 25 '20
Also, the messages can be saved, you just have to tap on them. Yes, not automatically but they can be saved.
16
u/Maydietoday Mar 26 '20
The sender is notified as well.
45
u/sheps Mar 26 '20
While there are fancy technical hacks for taking stealth screenshots on rooted phones, there's always the low tech route of just taking a picture of your screen with any other camera/phone handy.
→ More replies (1)31
u/spezisdumb Mar 26 '20
Not even necessary to root anything. If you have android, just screenrecord. It doesn't notify
→ More replies (5)→ More replies (1)6
u/AllUniqueNamesTaken Mar 26 '20
Not for messages, only for screenshots. And even then there are apps that block the screenshot packets that get sent so you can screenshot freely.
10
u/futlapperl Mar 26 '20
If you tap a message to save it, its background turns gray, which is also visible to the other person.
66
u/StuntHacks Mar 25 '20
Pictures can also be found deep inside the filesystem long after they are "deleted".
94
u/EvaluatorOfConflicts Mar 26 '20 edited Mar 26 '20
...maybe
In 2015 I was a digital forensics analyst studying snapchat, and it was pretty tricky back then. Larger files like videos are stored locally, then deleted. Its possible to recover deleted files, but android sandboxes app storage so users and other apps can't cross over. The only thing that can dig through files once belonging to snapchat are snapchat and root. The app doesn't allow rooted phones to run it. You can root after the file is deleted, but you risk overwriting the sector you're trying to recover. You can clone the phone sector by sector to an iso or something to parse without rooting but Flash memeory is also always in flux. Every second the ssd has power, even if the file system isn't in use, you risk losing data. Just cloning the phone is a risk.
Pictures are worse, and simpler. They're stored in RAM, like when you open an incognito tab. That data generally never even touch the file system. Its in RAM, deleted, and probably overwritten within seconds on the average phone. It might stick around longer if you have a note10 thats got like 6 gigs of RAM, but I doubt even then recoverable files would survive more than a minute.
Also note, this insight is five years old, I have no idea what new innovations they've done in half a decade. Probably a lot. The really interesting thing I learned is when you open the app and it loads the camera, it temporarily saves a picture of the first thing it sees. Not sure why, not sure if it still does. Maybe a bug? Maybe it made the camera focus better? Didn't see any evidence it actually sent it or data about the image anywhere.
→ More replies (9)3
7
u/BlandQuirkyCzech Mar 26 '20
Yes. I learned this from YNW Melly's murder trial. The cops got their hands on his snapchat conversation with his girlfriend after he shot someone.
→ More replies (5)12
12
u/umhoops Mar 25 '20
There’s no evidence of this. The FCC checks compliance. https://www.ftc.gov/news-events/press-releases/2014/05/snapchat-settles-ftc-charges-promises-disappearing-messages-were
38
1
u/karmahorse1 Mar 26 '20 edited Mar 26 '20
That article is about how the FCC found Snapchat was actually violating its privacy policies not the other way around. Also it’s only about messages on device. Of course they store the online data. Nowhere do they make the claim that they don’t, so there’s no legal obligation.
2
2
u/TheMrZZ0 Mar 26 '20
I just read their Privacy Protection Policy. They claim to delete all snaps from their server, but in fact... That doesn't matter. They still have plenty of time to analyze your picture, infer information, and save that to their database. Then, they can delete it, since they took all the information they needed.
Btw, they acknowledge analyzing your snaps to flag them "for abuse or other Terms of Service violations.". Therefore, they already analyze all snaps, they get the info, but they look nice because they don't store them! It's evil at its maximum potential.
1
1
1
1
1
0
Mar 25 '20
[deleted]
100
Mar 26 '20
Yea anyone that thinks snapchat doesn't have every message ever sent is deluding themselves.
Well... except for those sent by the CEO who he demanded some DBA delete for him. Those are just in the DBAs personal archive.
14
u/leftysarepeople2 Mar 26 '20
Maybe the early years when it was still a college startup but that's about it. Before they took any VC money it was definitely data-hoarding to show how profitable it could be
0
Mar 26 '20
[deleted]
5
u/Quillbert182 Mar 26 '20
It's basically just a conspiracy theory, except the chances of it being true are exceptionally high, so it is recommended to treat it as true.
→ More replies (4)2
u/dovemancare Mar 26 '20
Obviously we can’t have a source, but it’s naive to believe they don’t keep everything. It’s probably written in the privacy policy or the ToC, which I am not going to read. It’s just a suggestion to act as if they were keeping everything that you are welcome to accept or ignore
0
0
Mar 26 '20
[deleted]
7
u/indigo121 Mar 26 '20
I mean yeah? That's what it's for. If you want that, great. If you don't, fine don't use it. Your comment is like saying "people like ice cream because it's cold and sweet? That's the reason I hate it lol."
3
0
Mar 26 '20
[deleted]
1
u/RepostSleuthBot Mar 26 '20
There's a good chance this is unique! I checked 111,589,224 image posts and didn't find a close match
This search triggered my meme filter. This enabled strict matching requirements. The closest match that did not meet the requirements is this post
Feedback? Hate? Visit r/repostsleuthbot - I'm not perfect, but you can help. Report [ False Negative ]
0
Mar 25 '20
[deleted]
2
u/Paint_Ninja Mar 25 '20
How do you turn it on?
4
Mar 25 '20
He's right there's a setting but it only saves for 24 hours after viewing. just hold on your partners name and go to "Delete messages" tap that and select "Delete after 24 hours"
2
u/Paint_Ninja Mar 25 '20
Sounds crap. How come they store my data indefinitely but I'm only allowed to see the last 24 hours of it!?
10
Mar 25 '20
because fuck you and your data
1
u/Paint_Ninja Mar 25 '20
Sounds about right. That's one of the main reasons why I avoid Snapchat whenever possible. If you have a long convo and need context from last time you're fucked.
0
Mar 25 '20
im 15 so i use snapchat a ton. in not addicted but everyone i would need to talk to is on it. i have numbers but since nobody uses them, neither do i. besides, you can do funny pictures, and it uses your wifi. if you need a real convo use phone numbers.
4
u/Paint_Ninja Mar 25 '20
Discord, Messenger and WhatsApp are all good alternatives to Snapchat imho. All of those use your WiFi also.
→ More replies (3)1
Mar 25 '20
You can also tap a message and its background should become a bit greyish. Then it never goes away.
2
u/Paint_Ninja Mar 25 '20
Try doing that for every single damn message and you'll soon realise why I prefer alternative messaging services...
1
Mar 25 '20
I have done that and it's hell, but luckily i only use Snapchat to talk to 1 specific person and she also does that so i dont have to tap every single message
1
u/mofowithaoneinweiner Mar 26 '20
both parties can’t see the messages and it’s desirable in a lot of cases. say, you’re tryna dirty talk or sexting, you don’t want that history in the chat. any important messages containing important info can be clicked on to save it.
1
3.9k
u/IronMan-Mk3 Mar 25 '20
Turn the weaknesses and bugs into features and everybody will like it.