285
u/NotMilitaryAI Feb 13 '19
I work in a research facility. One of my coworkers had that experience.
Researcher: My computer is broken. It takes 10 minutes to open Excel.
Coworker: <Checks system, everything seems fine.>
Coworker: Is it any particular file that causes the issue?
Researcher: Yeah. seems to mainly happen with this one.
Coworker: <Examines file... It's a 12GB Excel file.>
They've been simply appending data to the same file for likely over a decade and never thought to check if there was a better solution available until their systems literally could not handle it anymore.
125
Feb 13 '19
And then your coworker just asks for a more powerful computer, because they cannot be bothered to fix the process?
87
u/MattieShoes Feb 13 '19
my favorite is when they want to drop a berjillion dollars on bigger better exchange servers because they can't be arsed to delete email from the 90's.
→ More replies (1)33
Feb 13 '19 edited Feb 13 '19
I have seen single local PST files over 100gb. There is a reason that I left IT and that I am leaving academia.
→ More replies (8)12
u/NotMilitaryAI Feb 13 '19
Haha, nah. He submitted a request to get them a database. He works in the business department, so it's not as though he actually had to build it, just recognize that it'd be appropriate.
→ More replies (1)5
u/WelsyCZ Feb 13 '19
Honestly, they might not even recognize it as a problem. These people usually think they do their stuff right.
16
u/AgAero Feb 13 '19
Storytime!
I have a friend who studies a particular sort of plant as part of his PhD program. Occasionally he shares things he's doing through instagram. A couple of times, he has shared some sort of genetic data he was working on from these plants he's been growing and it is absolutely absurd how much data he was trying to churn through in an excel file!
I just dug back through the conversation trying to figure out the topic. He had something like 800 plants that were arranged in 15 groups, and he was trying to do a sort of cross-correlation analysis to see if the 15 groups were labeled properly. Each plant had between 40,000 and 60,000 markers which could be categorized into an element of a small set(A, C, T, G, A/T...).
Anyways, he was bringing this massive workstation he had access to to its knees with >20 minute runtimes everytime he changed something, and making use of about 15GB of RAM for this analysis. I did some rough estimation and figured he could get it down to maybe 400-600MB using something like a Flyweight pattern or a simple character mapping.
I'm not sure if he ever took my advice. I kind of wanted to do it for him tbh. Seeing what sort of speedup is achievable would be very satisfying. :D
→ More replies (3)5
Feb 14 '19
Excel spreadsheets can end up with a ton of blank space inside just doing save all the time, doing a simple save-as to a new filename will discard and compress it down.
→ More replies (1)2
→ More replies (5)2
u/Jacksonho Feb 14 '19
If Microsoft made access more user friendly than we wouldn't have excel become the dominant way to work with data in the workforce.
100
u/jonusventure Feb 13 '19
I support office 365 for a living and this is why I hate my life.
54
u/v1dal Feb 13 '19
Wow I feel so sorry, really, I mean I could read about natural disasters and thousands of deaths and not even blink, but suport office 365 for a living just wow, thats worse than hell
14
→ More replies (2)2
74
u/usesbiggerwords Feb 13 '19
Because there is a large need to create and maintain data in a tabular/columnar format, but few people have the time or wherewithal to learn to create and maintain a proper database. That, and corporate IT is generally loathe to allow the unwashed masses access to a machine running SQL Server/MySQL/other. When all you have is a hammer...
35
Feb 13 '19
Absolutely. I’ve gone from a role where I was essentially a SQL Server developer to one where I have to use Access/VBA to do data crunching because our IT department doesn’t like people having the tools to do their job & would rather have Oracle come in to sell expensive promises that may be delivered sometime before Christmas (which Christmas that is is always left vague).
13
u/SJDidge Feb 14 '19
I am literally building excel spreadsheets with VBA macros to pull data, because they won’t give me access to SQL at work. It’s really quite frustrating lol.
→ More replies (4)→ More replies (3)6
16
u/snaynay Feb 13 '19
This is what Access is for...
Ducks to avoid a barrage of coffee cups
8
u/Sip_the_bleach Feb 14 '19
Me: saves table
Me: tries to edit different table
Access: YOU CANNOT EXIT WITHOUT SAVING THE CURRENT TABLE.
→ More replies (1)3
u/usesbiggerwords Feb 13 '19
I can't before you even mentioned that piece of garbage. But, you made me laugh. Have an upvote.
→ More replies (2)3
u/blue_horse_shoe Feb 14 '19
I won't be throwing my coffee cup. I think Access is great. I miss the days when Excel only had bandwidth for 65,000 rows of data so people we forced into respective data structures in Access.
→ More replies (3)
43
u/Psykopatate Feb 13 '19
Why use such complexity, keep everything in .csv files, it's easier to read and write!
23
u/DoctorWhatIf Feb 13 '19
Yes, Excel. That's what I said!
20
u/blackdonkey Feb 14 '19
Haa, you have no idea how many times a conversation goes like this...
Me - "The csv file contains X and will be imported into Y."
Business people (and even some "tech" people) - "Aha yes, the Excel file."
10
u/blue_horse_shoe Feb 14 '19
please no, this is all too real for me.
our team (before I started mind you) decided to procure data from a large web aggregator. The current arrangements has DB extracts sent to us in XML format.
After the first batch of 5GB files, "what, we can't open this in Excel? help!"
Worst thing is, they pay a LUDICROUS amount of money for the extracts, but won't put any cash towards a SQL server to host it on.
→ More replies (1)5
5
u/apathy-sofa Feb 14 '19
With delimiters? That's a waste of valuable storage space. Binary encode that DB and keep a piece of paper around with tips and tricks for reading it in your text editor.
37
u/IAMNOTACANOPENER Feb 13 '19
Oh it can get worse. I maintain thousands of databases representing petabytes of data and I get requests all the time export an entire database into excel for review.
14
u/Danima1 Feb 13 '19
Similar situation with a client. They asked for a .csv file for each table because the excel would crash because of too many rows.
24
u/IAMNOTACANOPENER Feb 13 '19
Right I’ve had that I wanted to see their face when I told them the database in question had 300k tables and almost a trillion records total.
Honest question; what the actual fuck does a user intend to do with that much data in front of them? See how fast their scroll wheel on their mouse spins?13
u/b00n Feb 13 '19
Wtf 300k tables? I can believe 1 trillion record... We have a normal SQL table wifh 85 billion records. Cross site replication is difficult with that many writes...
→ More replies (1)→ More replies (1)5
u/asdfman123 Feb 14 '19
My friend is an accountant. He says some of the old timers, instead of taking an Excel file which they can use to paste data into whatever application they're using, prefer that he print out the spreadsheet data so they can enter it manually. They think reentering the data is somehow better.
→ More replies (1)2
u/ladezudu Feb 14 '19
What do you think about Tableau or PowerBI as a front end so you don't have to export?
→ More replies (1)
32
u/CatOfGrey Feb 13 '19
This is what determines how I classify the size of projects:
"Small" is up to about 200,000 records. At that point, Excel starts to groan, even on my fairly souped-up machine.
"Medium" is up to about 750,000 records. At that point, the file might be 100's of MB, and the analysis file might not open in Excel.
"Large" is definitely over 1,000,000 records - won't fit in Excel at all. So I might just convert the data to .csv files and use Python for processing.
"Extra Large" is when I no longer have the choice between 'a few .csv files' and 'I have to use a database'.
On the other hand, my clients think that 100,000 records is "Gargantuan" or "Insane", because it crashes Excel 97.
16
u/blue_horse_shoe Feb 14 '19
i know a company who's staff went on a one day strike because they didn't want to migrate over to MS Office 2008.
5
u/callinthekettleblack Feb 14 '19
Lol too real. I have a school assignment using airline data... Opening one month .CSV of data in Excel was slow and we're talk ~1mil records. Parsed each file together via Python in about a minute or so. Surprisingly Tableau will handle that file quite easily.
26
Feb 13 '19
opens massive Google sheets file that we have for each student
screams into the void for five minutes
sheet still isnt responding
screams into the void for five minutes
8
63
u/simonwgill Feb 13 '19
Stop. No. Bad user. No biscuit!
25
11
u/Ambroos Feb 13 '19
The other way around, all my friends think Excel is the only way to create tables (including those just with text) and then always come ask me for help when their table formatting is fucked after pasting it in Word. MAKE YOUR TABLES FOR WORD IN WORD LIKE I TELL YOU EVERY SINGLE TIME YOU DAFT IDIOTS .
7
Feb 13 '19
I just pasted the tables in as images like a madlad
10
10
u/crashspringfield Feb 13 '19
TFW a customer wants to use a google sheet as a database and has enough know-how to know it's technically possible but not enough to understand why it's a bad idea.....
10
Feb 13 '19
Reading a few comments here I see multiple people have suffered in companies where a spreadsheet is the tool of choice for nearly every damn thing. I fell into a dark deep hole of a task once to migrate a spreadsheet tool to a web app. Just a horrific experience. However I did learn that a spreadsheet is just a zip file.
→ More replies (1)5
u/monotux Feb 13 '19
Not sure if companies using PowerPoint for writing reports is better or worse...
7
u/b4ux1t3 Feb 14 '19
Worse. Excel is designed to store and manipulate data. Some people don't understand where the line should be drawn, but they're not technicallymisusing the product.
PowerPoint is not designed handle thousand-page reports. You know what is? Word. Which is often right next to PowerPoint on the desktops of the people I've seen using PowerPoint to maintain reports on months-long engagements.
10
u/iComeInPeices Feb 13 '19
Worked in a company that kept all their product availability numbers in liked excel documents. They were horrifically out of date, some people had removed the links in a few that kept them updated and so priced and quantities were off. Basically came down to one person to manually fix the reports with their years of knowledge.
Turns out the warehouse was run by a system that had a really good database, that I could access. Worked it as a little pet project and used it to warn my boss a few times that we just put an item up for sale on our site that had no quantity at the warehouse, or orders coming. So orders were going to be delayed, and we had an issue with back ordering and customers canceling cause of it. Finally someone asked about where I got my info, I pulled up an internal site I made that had all the info and could generate the same reports that took a 5 person team to generate. And this is how I pissed off every co-worker by being the reason 5 people were let go.
10
Feb 13 '19
Things people use excel at my work for:
Project management
Task management
Documentation
Budget
RFP
Forms
Everything. Literally fucking everything.
6
u/CollinHell Feb 13 '19
*scoffs in PowerQuery*
5
4
u/Hevaesi Feb 13 '19
I'm guilty of this.
I don't have traffic of thousands of users to warrant getting a website.
But the thing is that I wrote a wrapper around my google sheets so it won't be so hard to move (if ever).
4
4
Feb 13 '19
I've already had to write several integrations that allow some of our largest clients to interact with my company's suite of software via Excel sheets.
Please kill me.
4
u/code_monkey_001 Feb 13 '19
Working for a smaller company years back I was building web apps to replace Excel "databases". Told the BA (that's right - one BA, I was developer/dba) that if any team handed us a spreadsheet with the any entry reading "see line above" they'd be sent to the back of the fucking line and told to clean up their data.
They thought I was kidding.
4
u/rodinj Feb 13 '19
"No but Access 98 is"
Some client of the company I work for
2
u/Ourous Feb 14 '19
If I can get people to concede to use Access it's a good day. Because then they thing they're using access but it's actually just being a frontend for the (sanely structured! relationship enforced!) sqlite file that lives where the spreadsheet used to.
→ More replies (1)
4
u/___Ambarussa___ Feb 13 '19
I’ve seen Word used as a database. shudder
4
u/DOOManiac Feb 14 '19
We have an intern who uses Word to write his SQL queries.
Yeah.
→ More replies (2)
3
u/morningsdaughter Feb 14 '19
Can someone make this with an access logo? You can keep all the Karma, I just want to see it.
2
Feb 13 '19
One time I've seen a colleague using Excel for designing presentation slides. I asked why. Answer was, it is easier to align stuff in those cells.
2
2
u/b4ux1t3 Feb 14 '19
To be fair,a large part of the programming I do is basically implementing a subset of Excel's features relevant to a specific problem. I don't think I've ever written something that couldn't be done with Excel.
Can Excel make HTTP requests? Respond to them?
→ More replies (1)2
u/acedanger Feb 14 '19
3
u/b4ux1t3 Feb 14 '19
Yep. I've literally never written something that Excel couldn't do. Though, VBA is kind of cheating.
2
2
2
2
1
1
1
1
1
1
Feb 13 '19
In my database class there was an assignment where we literally had to import the ENTIRE table of the school’s database of courses into an excel sheet. We were then supposed to get excel to, given a room, produce a weekly schedule for that room and a separate schedule of open time slots.
1
1
u/lucidspoon Feb 14 '19
My first internship was before I ever had a database course. I used CSVs as tables...
1
1
1
1
1
u/Kinglink Feb 14 '19
At least we aren't still talking about access. Yes it was a real database and that was the problem.
1
1
1
1
Feb 14 '19
I've seen it used for storing procedures and documentation. 75% text in paragraph or bulleted form, 24% screenshots, 1% basic arithmetic.
1
u/codingkiddotninja Feb 14 '19
Microsoft PowerApps lets you use an Excel file stored in someone's OneDrive as a database.
It's terrible.
1
Feb 14 '19
Anyone recommend good RDBMS course? MySQL would be ideal, but I'm trying to figure out how to take my works excel "databases" now and improve them.
1
u/AttackOfTheThumbs Feb 14 '19
We just turned a spreadsheet into a real implementation. Nothing but push back so far. Sorry for creating a real process that means you don't lose thousands of dollars because you fucked up.
1
1
1
1
u/maximum_powerblast Feb 14 '19
Ah yes like most corporations worldwide the IT department at my work lets any user set up a new database
1
u/call_me_cookie Feb 14 '19
I'm a data engineer / BI lead developer, and I spent all of Tuesday at our head office working with the accounts/finance guys.
We've moved to a proper BI platform, and are slowly deprecating everyone else's shitty little siloed data sources, and oh boy what a mess.
We went through about 15 distinct Access databases they use for various processes, trying to unpick all the "logic" and "reasons" behind them (and I do use those terms lightly).
Turns out they only use about 4 tables from our CRM, and they manage to turn those 4 into about a week's worth of work. Each Access db consists of about a dozen queries which MUST be run in order, each with a chunk of arbitrary dates and product codes hard coded.
If I hadn't handed my notice in a fortnight ago, I would've found it all terribly depressing. Thankfully that now falls to the other BI dev.
Don't let accountants build their own systems, guys, it's irresponsible.
1
u/MrEmouse Feb 14 '19
Ouch, hits too close to home for me. I was part of a start up company, and I told the former IT dept (literally one guy. His only superior was the owner of the company) we should be using a database for our stores to order product from central distributing. Told him to integrate the POS systems to keep track of product sales for inventory and to create an estimated order for the stores to have as a starting point.
2 years later he has quit the company. Last I heard they're still emailing excel order forms every day.
To be expected really... the company owner is over 70 and still wants everything done on paper.
1
1
u/TomasNavarro Feb 14 '19
It's OK, our company has moved from excel to Google sheets, so I guess I need to learn java or something
1
u/eitherrideordie Feb 14 '19
This is sooo bad
Client: we want you to make us an API
Us: okay sure, who holds the data? What's it like?
Client: oh my mate Jim will send you through excel spreadsheets periodically, all you'll have to do is get rid of all the redundant fields, sanitize all dates and mobile numbers, check to see whether we actually sent you the correct data and add that to the previous data, but only if it doesn't copy over somE of the previous data and convert it to whatever so we can use it as an API. Here's like no money because API calls are cheap right?
Us: ermmm yeah no.
1
1
u/Jafi_Svanhild Feb 14 '19
Worked in the department of education for my state and we stored all student record errors and information in an ‘excel database’ with its own GUI built into a sheet and everything
1
1
1
1
u/snaynay Feb 13 '19
Developing a reporting project for a client. Need to run reports manually because of old-data that we aren't taking on to our system, so manual entry into a little dev system...
5pm today I get a transactions file of more than 10,000 rows, 30 columns, poor layout choices, manual editing/highlighting going on and illogical places for comments. Deperately trying to import that bugger into SQL cleanly.
Run the report thing. K. Thx. Bye.
1
409
Feb 13 '19
[removed] — view removed comment
64
Feb 13 '19
Why not at least use a json file or something? Only reason I could imagine is that you're dealing with a stupid amount of data and don't wanna use up disk space wherever you're hosting it
50
u/nickleformypickle Feb 13 '19
I guess JSON isn't really the issue, but rather the fact that it's a file database.
One thing about these file based databases is that they are a lot more prone to corruption than a proper database like MySQL/PostGres, or Mongo and Redis.
Another is that file based databases get exponentially slower as more things read from it and as more data gets written. Unless you're streaming the JSON file (which adds more complexity), you're loading ALL of the data into memory before you can retrieve 1 field. As you can tell, this will probably fuck up badly if you were to scale.
JSON databases also don't support relational data (Mongo/Redis too I guess), which kinda sucks if your data/app was to have any sort of complexity.
39
u/lengau Feb 13 '19
Honestly, SQLite is a nice intermediate for a lot of things like this. It gives you a fairly simple SQL database, so while your app/data are tiny and easy to manage with just a file, sqlite gives you a simple solution. Likewise, if your database ever gets big enough that you really need to move it into a full RDBMS, your work is probably easier because the data is already structured in a way to make that easy.
→ More replies (5)28
u/MoroseBurrito Feb 13 '19
Proper database
Mongo
Pick one
15
→ More replies (2)11
u/sourcecodesurgeon Feb 13 '19
Google Sheets has a reasonably tolerable API, its free, trivial to set up, and you can easily manage the data by hand from your phone/tablet.
I've used it as a proof of concept for toy projects before and didn't think it was a terrible experience.
17
u/Superpickle18 Feb 13 '19
Google did support SQL queries for google sheets... soooooo
5
u/blue_horse_shoe Feb 14 '19
right on, good for google.
i was using a raspberry pi to write sensor data to google sheets. i'd take extracts of the sheet and import them into a db. if this api was available then, it would've been amazing!
4
u/Superpickle18 Feb 14 '19
it's been available for years (since 2009?), my friend. It's being discontinued now.
5
12
u/Mehekoro Feb 14 '19
I'm new to this sub and programming and all that jazz, but I think your badges mean you know c++, c#, and Python? If you do, I was wondering which one you started with. I want to learn c++, but it's very difficult so I'm starting with Python instead. I was thinking of going to c# next and then c++. Is this a good idea?
2
u/asdfman123 Feb 14 '19
Just learn one language for now. If your goal is to eventually get a programming job, specialize in a language that's widely used in your area.
2
2
u/CSW806 Feb 14 '19
CS student senior year here. I think python would be a great place to start. Not much syntax to distract you so you can really learn the fundamentals of programming. Get yourself familiar with variables, if/else statements, loops, arrays, recursion and functions. Then make the switch to an object oriented programming language like Java or C++. Personally I learned Java. You will learn how similar the previous concepts are to implement in the new language with minor syntax adjustments. Now build your knowledge and learn how to create objects, use more complex data structures like linked lists for example. Once you feel comfortable at this level of programming, move to a lower level programming language like C. The biggest and hardest thing you will have to wrap your head around here are pointers. Playing around in C will make you miss a lot of the features that higher level languages have built in like memory allocation. Each language you start learning will have it's own unique quirks. Learn them, because they might allow you to do things differently, and possibly better, than other programming languages.
This is how my uni exposed me to programming. I learned python and thought I was the shit. Then I jumped over to Java and was quickly humbled. But as things stand now I'm fairly confident in my programming ability and pass my programming assignments with ease.
Lastly, never be ashamed if you find yourself googling how to do things in different languages. No one is able to write code without a few syntax errors especially if they are jumping around a lot of languages. So don't use that as a metric to grade yourself by. Also googling your problems often results in more efficient solutions and exposes you to best practices.
Hopefully this helps, this is in no way a comprehensive check list of things you should learn with each of the languages I've listed. It's just a general idea or roadmap you could try and follow. Best of luck!
15
1
1
1
1
u/maybe_awake Feb 14 '19
Slaps roof of google sheets API “this bad boy can replace so many motherfucking servers”
88
Feb 13 '19
[removed] — view removed comment
46
u/crashspringfield Feb 13 '19
liking this b/c i hate that you're right
20
Feb 13 '19
[removed] — view removed comment
7
u/MattieShoes Feb 13 '19
the light bulb moment for SQL for me was when you leave out join types and extra clauses. Like:
SELECT <things> from table_a, table_b;and you get every single fucking permutation of table_a rows attached to table_b rows.
And then you understand why SQL optimization is important -- because generating every possible combination of rows is soooooo fucking bad. If each have 1000 rows, you just generated a million row table, FFS. Get more joins in there and christ, who thought relational databases were a good idea?
→ More replies (1)10
u/DilettanteGonePro Feb 13 '19
That’s what is so powerful about relational databases for the right job, in the hands of a developer who knows their shit. Once you’re comfortable with the set-theory aspect of sql code there’s a lot of cool stuff you can do with it, but every entry-level analyst on your team can and will tank your sql server without even knowing it. That gets old fast.
4
u/MattieShoes Feb 13 '19
Yeah, scalability is just so rough with that like nm shit going on, it's amazing they work at all even with moderate sized tables.
11
7
u/Duese Feb 14 '19
It's also easily portable and everyone has excel.
It's only slightly different than using MS Access. Both of them can do a lot and have fully capable programming languages. They are also both slow as hell trying to do anything though.
14
38
u/DamnItDev Feb 13 '19
Dealt with this. Not excel, but access. Client was a union training facility that kept all records from the last 30 years in an ancient access "database". Students table had 250+ columns, and many of those columns were semi-colon lists.
It was my job to take that data out of the access database and create a web-portal for them. MySQL refused to create the table with 250+ columns, so I spent weeks writing thousands of lines of VB6 to normalize the data before I could even get it into MySQL.
And that was just the beginning of the headaches of that client...