2,060 karma · joined Feb 24, 2022 (4y ago) · 981 submissions
comment 4y ago · link · parent
If I were an outside investor in my startup, I would demand this. If a founder was living high off my dime I would be very worried that they would cut and run the moment the gravy train dried up. Startups run better when all the players have significant 'skin in the game'.
comment 4y ago · link · parent
My Didgets tool lets you create pivot tables against relational database tables, even very large ones. For the pivot values, you can choose to just count the occurrence of each value or if it is a number type you can add them up. You can also add up the values in a separate number column. Here is a quick demo video: https://www.youtube.com/watch?v=2ScBd-71OLQ
When adding up numbers in a separate column, I had just a few lines of unnecessary code that ended up being called exponentially. For smaller tables it was barely noticeable, but for tables with 30 million+ rows it really bogged down.
A simple fix to the affected lines caused a certain test against a large table to go from over 10 minutes down to under 20 seconds. The effects of just a few lines of code when applied to a big enough data set can really impact performance. It is the old Einstein equation E=mc2 in effect which is discussed here: https://didgets.substack.com/p/musings-from-an-old-programme...
comment 4y ago · link · parent
I wrote an article this past year that talks about silent bugs that slowly eat resources and collectively can be very expensive in terms of wasted time and energy: https://didgets.substack.com/p/finding-and-fixing-a-billion-...
comment 4y ago · link · parent
I downloaded both CSV files (geometry and simulations) and built a couple relational tables with them in a few minutes. I am confused by a few things. There are 42,207 unique values in the 'apartment_id' column. The most common one is d41d8cd98f00b204e9800998ecf8427e which is referenced 1451 times. At first I thought that it might actually be some kind of 'plan_id' where the same plan was used to build multiple apartments (this id is associated with 13 different 'building_id' values) but drilling down to each one reveals some very different features.
It is certainly possible that the same plan could be used with slight variations (e.g. one has a tub in the bathroom while another had a shower installed), but some of the features were very unique. For example there are 26 different KITCHEN areas associated with the id, but only 21 LIVING_DINING areas.
My tool is great for finding and fixing anomalies in data sets if they exist. This one is a bit confusing about what some elements mean and the site doesn't explain them very well.
If the same plan is being used across multiple buildings, it might be interesting to see how the amount of light entering the building differs based on if the same plan was used to build an apartment on the north side of a building vs the south side.
comment 4y ago · link · parent
comment 4y ago · link · parent
I could also relate a few stories about how I was not treated well and selectively include only the parts that make me look good and my nemesis look bad; but that would just be self-serving. That is not to say that there are not many examples of bad behavior out there that should be exposed and lessons learned; but I am just trying to figure out what the lesson is in this case.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
If I was copying an important file into an unprotected environment, I could change how it was handled (likewise if I was downloading some huge video I didn't care about into a system where the default protection was set to high).
I agree that if you have 100 million files, then it could be nearly impossible to classify every single one of them correctly.
comment 4y ago · link · parent
Getting each piece of data properly classified will always be a challenge (AI or other tools may help with that), but it would still be nice to be able to do it. If I have a 50GB video file that I could easily re-download off the Internet, it would be nice to be able to turn off any security, redundancy, or integrity features for it.
I wonder how many petabytes of storage space is being wasted by having multiple backups of all the operating system files that could be easily downloaded from multiple websites. Do I really need to encrypt that GB file that 10 million people also have a copy of? Am I worried if a single pixel in that high resolution photo has changed due to bit rot?
comment 4y ago · link · parent
We now have storage systems (even SSDs) that are big enough to hold hundreds of millions of files. Those files can be a mix of small files, big files, temp files, personal files, and public files. Yet every file system must treat your precious thesis paper the same way it treats a huge cat video you downloaded off the Internet.
We need some kind of 'object store' where each object can be given a set of attributes that govern how the file system treats it. Backup, encryption, COW, checksums, and other operations should not be wasted on a bunch of data that no one really cares about.
I have been working on a kind of object file system that addresses this problem.
comment 4y ago · link · parent
For example, my new data management system can also do many traditional relational database table operations. If you want to do fast analytics or queries, then it can do it better than the competition. For basic stuff, other RDBMS solutions will surely get the job done; but if you want to build a pivot table against values in a 10M row relational table then this is the tool you want: https://www.youtube.com/watch?v=2ScBd-71OLQ
comment 4y ago · link · parent
comment 4y ago · link · parent
Any wonder why everyone claims 'I know nothing about that!' when a problem pops up in some peripheral system that no one is in charge of.
comment 4y ago · link · parent
I learned about it years later when I saw a documentary on it. I realized that I was in Brussels Belgium on that day and would likely have been vaporized in an attack.
comment 4y ago · link · parent
My first job at Novell in 1988 was testing their OS/2 driver. In order to get OS/2 up and running, they had to buy a 4MB memory expansion card for my 386 box. IIRC it cost about $2000 at the time.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Partitioning a big table is definitely on my TODO list. How big does a typical table need to grow before partitioning is seen as a 'necessity'? What are some ways current partitioning strategies have made things too difficult?
comment 4y ago · link · parent
comment 4y ago · link · parent
Each tool should be evaluated (and periodically re-evaluated) to see what its 'leverage factor' is for your situation. For every unit you put into it (time, effort, money) how much do you get out of it? The best tools give you a 10x or better leverage factor. If a tool gets in the way (i.e. it has a 1x or lower leverage factor) then it should be ignored.
Some tools are just bad (they take more time and effort to learn and to use than they save you) and are generally weeded out. Some are great for certain situations but bad for others.
If sprints (or any other tool) are not helping you and your team, then try to figure out why. Is the tool just not a great fit for our situation (e.g. using a hammer to try and fix a car engine)? Are we using it wrong? Is there something better?
Too many companies and managers go for the 'one size fits all' approach. "This worked at my last company so it must work here too!"
comment 4y ago · link · parent
comment 4y ago · link · parent
It is difficult to raise awareness for it. Newsletters, blogs, demo videos, presenting at conferences, etc. are all means for trying to spread the word. I have considered taking out some paid advertisements, but you wonder if anyone but bots will actually see them.
comment 4y ago · link · parent
I have kids now in high school and when I help them with some math problems some of it comes back to me, but many of the formulas I memorized so many years ago are long gone from my memory. But that is ok.